1 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3 * factory.C: submenu for Note/Comment/Greyedout
5 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
8 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
11 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
14 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
15 greyedout. Patch provided by Jürgen Spitzmüller.
17 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
19 * kbmap.C (read): fix error message when reading bind files
21 2003-07-29 Angus Leeming <leeming@lyx.org>
23 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
24 certainly does not do what it purports to do. I am doing it, and
25 us, a favour by killing it.
27 2003-07-28 José Matos <jamatos@lyx.org>
29 * buffer.C (readBody, do_writeFile):
30 * paragraph.C(readParagraph): \end_document replaces \the_end.
32 2003-07-29 André Pönitz <poenitz@gmx.net>
35 * BufferView_pimpl.[Ch]:
39 * textcursor.[Ch]: remove toggleToggle & Co
41 2003-07-28 José Matos <jamatos@fep.up.pt>
43 * buffer.C (readParagraph):
44 * params_func (readParToken, readParagraph):
45 * paragraph.C (write): \layout -> \begin_layout.
47 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
49 * lyxlex_pimpl.C (setFile): clean up slightly.
51 * bufferparams.h: add compressed var
53 * buffer_funcs.C (readFile): adjust for LyXLex change
54 (newFile): ditto + simplify
56 * buffer.C (writeFile): handle writing of compressed files
58 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
59 Check if the file is compressed and set a bufferparm if so.
61 * Makefile.am (lyx_LDADD): remove explicit -lz
63 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
65 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
66 makeDocBookFile): put the real LyX version in the first line of
70 * version.C.in: remove lyx_docversion
72 * tabular.C (write_attribute): add a template-based version to
75 2003-07-28 André Pönitz <poenitz@gmx.net>
80 * text3.C: use doubles again for x-coordinates. They are needed.
82 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
84 * messages.C (getLocaleDir): use lyx_localedir()
86 * lyxlex_pimpl.C (setFile): compress stuff
88 * buffer.C (writeFile): add some compression stuff
89 (do_writeFile): new func, dont call expliti close... will this
92 * Makefile.am (lyx_LDADD): add -lz
94 2003-07-28 José Matos <jamatos@fep.up.pt>
96 * buffer.C: increment file format.
97 * paragraph_funcs (readParagraph, readParToken):
98 * paragraph.C (readParagraph): add \end_layout.
100 2003-07-27 Angus Leeming <leeming@lyx.org>
102 * Makefile.am: remove special casing for configure-time setting of
103 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
105 * lyx_main.C (init): remove all Jean-Marc's magic setting of
106 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
108 2003-07-26 André Pönitz <poenitz@gmx.net>
110 * paragraph_func.[Ch]:
111 * paragraph.C (realizeFont): inline it whereever it is used
116 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
119 2003-07-26 André Pönitz <poenitz@gmx.net>
123 * text2.C: get rid of LyXText::need_break_row
125 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
127 * toc.[Ch]: put namespace toc inside namespace lyx
129 * MenuBackend.C (expandToc2): adjust for lyx::toc
132 * lyxfunc.C (dispatch): adjust for lyx::find
134 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
135 lyx::find instead. Reorganize a bit.
136 (LyXReplace): rename to replace
137 (LyXFind): rename to find
139 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
142 2003-07-26 André Pönitz <poenitz@gmx.net>
144 * text.C (setHeightOfRow): restrict scope of temporary variable
146 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
147 code (never has been used?)
149 2003-07-27 Asger Alstrup <alstrup@local>
151 * text.C (fill): Optimise algorithm to exploit that we can reuse
152 the LyXFont for many characters.
153 (setHeightOfRow): Same thing.
154 (rowBreakPoint): Same thing.
156 2003-07-26 Asger Alstrup <alstrup@local>
158 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
160 * text.C (singleWidth): Spurious font copying in hot-spot
161 singleWidth avoided. Reorder tests for arabic for efficiency.
163 * text.C (fill): handle empty paragraphs better.
165 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
168 * encoding.h: add includes
170 * lyxrc.C: remove reading of bind files
172 * lyx_main.C (init): setup bindings and menus only if we have a
175 * kbmap.C (read): new method. Do the actual reading of bind
178 * converter.C (dvipdfm_options):
181 (output): adapt PAPER_* enums.
183 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
185 * bufferparams.h: remove paper-related enums from there
187 * paper.h: New file. A trivial header file to hold paper-related
188 enums. It should later expand to contain many paper-related
191 * lyxrc.C: declare extern displayTranslator
193 2003-07-27 José Matos <jamatos@fep.up.pt>
195 * tabular.[Ch] (linuxdoc): add support for tables and figures
198 2003-07-27 José Matos <jamatos@fep.up.pt>
200 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
201 consistency in both functions.
202 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
204 2003-07-26 Asger Alstrup <alstrup@local>
206 * rowpainter.C (paintRows): Change algorithm to work directly on
207 the insets rather than asking every character in the document
208 whether its an inset.
210 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
212 * buffer.C (openFileWrite): factorize some code
214 2003-07-26 Angus Leeming <leeming@lyx.org>
217 * lyx_main.[Ch]: replace occurances of system_tempdir with
220 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
222 * rename Inset to InsetOld
224 2003-07-25 Asger Alstrup <alstrup@diku.dk>
226 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
227 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
228 which I think is a bit clearer. EDIT is gone, since it was
229 premature optimisation, and broken for mathed anyway.
230 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
231 with cursor positioning in insets as well (math insets still do not
232 work, but that's a different story anyway.) It mysteriously
233 crashes sometimes with undo in the first paragraph, but I'm fairly
234 confident that this is a compiler bug.
236 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
238 * paragraph.C (Paragraph): adjust for new clone return type
240 (copyIntoMinibuffer): ditto
242 2003-07-25 Asger Alstrup <alstrup@lyx.org>
244 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
245 by not having a special case, and always doing a full rebreak of
246 the document after undo.
248 2003-07-23 Angus Leeming <leeming@lyx.org>
250 * factory.C (createInset): InsetExternal::setParams now takes a
253 2003-07-23 Angus Leeming <leeming@lyx.org>
255 * factory.C (createInset): changed interface to the external and
256 graphics mailers' string2params functions.
258 2003-07-23 Angus Leeming <leeming@lyx.org>
260 * factory.C (createInset): pass a
261 Buffer const * parameter to InsetExternalMailer's string2params.
263 2003-07-22 John Levon <levon@movementarian.org>
265 * Thesaurus.h: include the right aiksaurus header
267 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
269 * MenuBackend.C (expand): check menu shortcuts unconditionally
271 2003-07-21 Angus Leeming <leeming@lyx.org>
273 * factory.C (createInset): pass a
274 buffer_path parameter to InsetGraphicsMailer's string2params.
276 2003-07-21 Angus Leeming <leeming@lyx.org>
278 * BufferView_pimpl.C (buffer):
281 * lyxfunc.C (dispatch):
282 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
283 rather than the grfx shortcut.
285 2003-07-21 André Pönitz <poenitz@gmx.net>
287 * rowpainter.C: remove unused variables
290 * tabular_funcs.h: move to tabular.C
291 * Makefile.am: adjust
293 * tabular.[Ch]: basic optical cleaning
295 * author.h: pass references, not values
297 2003-07-18 André Pönitz <poenitz@gmx.net>
305 * text3.C: two-phase drawing for InsetText and InsetTabular
306 some float -> int changes.
308 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
310 * lyx_main.C: fix the fix
312 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
314 * lyx_main.C: fix a crash in batch mode if no files specified
317 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
319 * format.[Ch] (papersize): moved to BufferParams
320 * converter.[Ch] (dvips_options): moved to BufferParams
321 (dvipdfm_options): moved to anon namespace
322 * bufferparams.[Ch]: added above functions.
324 2003-07-17 André Pönitz <poenitz@gmx.net>
328 * text2.C: don't call inset->update() anymore
330 * metricsinfo.[Ch]: add convenience constructor
332 2003-07-16 André Pönitz <poenitz@gmx.net>
337 * text2.C: replace the LyXCursor::irow_ member with
338 on-demand computation of the value
340 2003-07-16 John Levon <levon@movementarian.org>
342 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
344 2003-07-15 André Pönitz <poenitz@gmx.net>
347 * text2.C: remove no more needed refresh_row
349 2003-07-15 André Pönitz <poenitz@gmx.net>
354 * text3.C: refresh_status tristate -> need_update bool
356 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
358 * lyxtext.h (init): remove reinit argument (act as if always true)
359 * text2.C: adjust to that
361 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
363 * bufferview_funcs.[Ch]: introduce function replaceSelection()
364 * text3.C: use it to delete selections in some cases
365 (bugs 441, 673, 702, 954).
367 2003-07-14 André Pönitz <poenitz@gmx.net>
369 * rowpainter.[Ch]: reduce interface
371 2003-07-14 André Pönitz <poenitz@gmx.net>
373 * BufferView_pimpl.C:
374 * text2.C: adjust after removing unused BufferView * argument
376 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
378 * text2.C (init): fix a crash fired on resize
380 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
382 * buffer.[Ch]: added new closing signal
383 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
384 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
385 BufferView::Pimpl via the closing the signal
387 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
389 * buffer.[Ch]: take out all bv-related from buffer
391 * BufferView_pimpl.[Ch]: connect to new signals
392 * CutAndPaste.C: removed useless asserts
393 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
396 * lyxfunc.C: moved view-related funciontality from vc here
397 * paragraph.C: removed outdated comments
400 2003-07-10 André Pönitz <poenitz@gmx.net>
402 * BufferView_pimpl.C:
406 * text2.C: remove InsetText::InnerCache, clean up consequences
408 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
410 * ispell.C: fix two typos in error messages
412 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
414 * Extend Note inset to other forms of annotation like Comment
415 and Greyedout. Right button click gives dialog.
417 Files modified or added (+):
423 * Makefile.am in frontends/xforms, frontends/xforms/forms,
424 frontends/controllers
428 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
430 * aspell.C: add missing namespace lyx::support
432 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
434 * BufferView.[Ch] (newFile): Add
435 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
436 * LaTeX.[Ch] (message): added this signal and use it
437 * buffer.[Ch] (busy, message): added these signals and use them
438 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
442 * importer.C: use buffer signals instead of direct bv calling
443 * lyx_cb.[Ch] (ShowMessage): removed
447 * text2.C: use buffer signals
449 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
451 * introduce namespace lyx::graphics
453 2003-07-02 André Pönitz <poenitz@gmx.net>
455 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
457 2003-07-01 André Pönitz <poenitz@gmx.net>
464 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
465 text*.C to text_func.C
467 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
469 * introduce namespace lyx::support
471 2003-06-30 André Pönitz <poenitz@gmx.net>
476 * text.C: re-enable --with-included-string
478 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
480 * textcursor.C: add <config.h>
482 * text.C (getWord): remove const from word_location arg
484 * lyxvc.C (getLogFile): fix const type order
486 * lyxtext.h: remove const from word_location arg, add arg name
488 * lyxlayout.h: currect type on labeltype.
490 * importer.C: correct \file
492 * converter.C (intToFormat): use std:: on ret val, ws changes
494 * bufferlist.h: correct \file
496 * buffer.C (makeLinuxDocFile): fix const type order
497 (makeDocBookFile): ditto
498 (fillWithBibKeys): use std:: on stdlib args.
500 * CutAndPaste.C: fix authors.
501 (availableSelections): use std:: on return vector
503 2003-06-27 André Pönitz <poenitz@gmx.net>
505 * BufferView_pimpl.C:
506 * bufferview_funcs.C:
514 * text3.C: remove LyXCursor::row_ member
517 * text.C: rename fullRebreak() to partialRebreak() and implement
518 a fullRebreak() that really bereks fully
520 * textcursor.h: new struct for cursor-related data
522 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
524 * lyx_main.C (LyX): get full path of document loaded on the
527 2003-06-26 André Pönitz <poenitz@gmx.net>
529 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
530 remove unused/broken operator>,<,>=.
532 * text.C: remove only use of broken operator<= in an Assert().
534 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
536 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
537 moved errorlist_.clear to showErrorList
539 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
541 * converter.C (scanLog, runLaTeX):
542 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
543 move the bv->showErrorList call to the callers
544 * lyxfunc.C: i.e. here...
546 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
547 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
548 namespace, the second to...
549 * buffer_funcs (BufferFormat, parseErrors): added
550 * errorlist.C (ErrorList(TeXErrors const &)): removed
552 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
554 * ToolbarBackend.C (getIcon): complain when icon cannot be found
556 2003-06-24 "Garst R. Reese" <reese@isn.net>
560 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
562 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
564 * version.C.in: change docversion to 1.4
566 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
568 * buffer.C: fix a bug just introduced
570 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
572 * buffer.[Ch]: added the parseError signal and use it, removed
574 * BufferView.[Ch] (addError): moved to ...
575 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
576 to the Buffer::parseError signal to catch (guess what) parse errors
577 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
579 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
581 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
582 ability to create a buffer and to return an existing one from
583 the list. Moved these functions to...
584 * buffer_funcs.[Ch]: added
585 * BufferView.[Ch] (loadLyXFile): added
586 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
587 job removed from bufferlist::loadLyXFile.
588 * buffer.C (setReadOnly): make it work without view
589 (i.e added an if (users))
591 2003-06-19 Angus Leeming <leeming@lyx.org>
594 * LyXAction.C (init):
595 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
596 with LFUN_DIALOG_SHOW <name> <data>.
598 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
600 * CutAndPaste.C (availableSelections): small compilation fix for
601 ancient (gcc 2.9x) compilers
603 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
605 * text3.C (cursorNext): add tmp var
607 * text2.C (updateCounters): for function calling out of for clause
608 (replaceSelectionWithString): ditto
609 (insertStringAsParagraphs): ditto
610 (getColumnNearX): add tmp var
611 (setCursorFromCoordinates): add tmp var
612 (cursorDownParagraph): add tmp var
613 (deleteEmptyParagraphMechanism): add tmp var
615 * text.C (insertChar): add tmp var
617 * rowpainter.C (paintDepthBar): add tmp var
619 * CutAndPaste.C (availableSelections): potentially check all
620 paragraphs in a cut to fill the shown strings.
622 2003-06-18 André Pönitz <poenitz@gmx.net>
624 * kbmap.[Ch]: use vector<> instead of list<>
626 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
628 * text3.C (dispatch): handle arg to LFUN_PASTE, call
629 pasteSelection with index
631 * text2.C (pasteSelection): modify, call pasteSelection with index
633 * paragraph.C (asString): reimplement version with no interval to
634 call the one with interval.
636 * lyxtext.h: add index arg to pasteSelection
638 * MenuBackend.C (MenuItem): handle PasteRecent
639 (Menu::read::Menutags): add md_pasterecent
641 (expandPasteRecent): new function
644 * MenuBackend.h: add PasteRecent to MenuItem::Kind
646 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
648 (availableSelections): new function
650 2003-06-17 Angus Leeming <leeming@lyx.org>
652 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
654 2003-06-17 Angus Leeming <leeming@lyx.org>
657 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
659 * lyxfunc.C (dispatch): invoke it.
661 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
663 * iterators.C (operator++, ParPosition): reintroduce some
664 const_cast for the benefit of older compilers.
666 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
668 * text3.C (dispatch): do not modify clipboard when doing
669 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
670 LFUN_DELETE_SKIP on a selection selection
672 2003-06-16 André Pönitz <poenitz@gmx.net>
678 * tabular.[Ch]: IU of clone() and getLabelList();
680 2003-06-13 André Pönitz <poenitz@gmx.net>
682 * tabular.h: compactification
684 2003-06-12 André Pönitz <poenitz@gmx.net>
688 * tabular_funcs.h: some renaming plus whitespace
690 2003-06-12 André Pönitz <poenitz@gmx.net>
693 * BufferView_pimpl.C:
699 * toc.C: Return a Paragraph & for ParIterator::operator*()
701 2003-06-11 John Levon <levon@movementarian.org>
705 * ToolbarBackend.C: add "Toolbars" section and
708 2003-06-10 Angus Leeming <leeming@lyx.org>
711 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
713 * lyxfunc.C (dispatch): invoke it.
715 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
717 * main.C: protect <ios> with HAVE_IOS
718 (main): protect sync_with_stdio with HAVE_IOS
720 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
722 * text2.C (cutSelection): adjust
723 (pasteSelection): adjust
725 * messages.C: handle get of empty string
727 * main.C (main): use sync_with_stdio(false)
729 * lyxfunc.C (dispatch): adjust
731 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
732 (WriteAs): remove unneeded BufferView arg.
734 * bufferparams.h: use correct types on papersize, papersize2 and
737 * bufferparams.C (readToken): adjust for type
738 (writeLaTeX): add missing cases to switch.
740 * bufferlist.C (quitWriteBuffer): adjust
743 * buffer.C (asciiParagraph): remove some commented code.
745 * CutAndPaste.C: remove current_view extern variable.
746 (cutSelection): add BufferParams arg.
747 (eraseSelection): add BufferParams arg.
748 (pasteSelection): add Buffer const & arg
750 2003-06-07 John Levon <levon@movementarian.org>
758 * paragraph.C: allow InsetERT to freely space lines,
759 and some consolidation of code
761 2003-06-06 José Matos <jamatos@fep.up.pt>
763 * buffer.C (makeDocBookFile): fix bug #821
765 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
767 * BufferView_pimpl.C (dispatch): use Dialogs::visible
769 2003-06-04 Angus Leeming <leeming@lyx.org>
771 * buffer.C: bump format to 224.
773 2003-06-05 André Pönitz <poenitz@gmx.net>
775 * text2.C (redoParagraphs): remove two const_cast<>
777 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
779 * ParagraphList.h: remove last remnants of NO_STD_LIST
781 2003-06-03 Angus Leeming <leeming@lyx.org>
783 * factory.C (createInset): small change to the way InsetExternal's params
786 2003-06-04 André Pönitz <poenitz@gmx.net>
788 * buffer.h: use Undo directly instead of shared_ptr<Undo>
791 * paragraph.[Ch]: some Inset -> UpdatableInset changes
793 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
795 * undo_funcs.C: make some simple cases of undo work again
797 2003-06-03 John Levon <levon@movementarian.org>
799 * ispell.C: HPUX doesn't have sys/select.h
802 2003-06-03 John Levon <levon@movementarian.org>
804 * CutAndPaste.C: update tabular and include inset
809 * paragraph.C: remove owningBuffer(), don't pass Buffer
812 * factory.C: insetGraphicsParams changed
814 2003-06-02 John Levon <levon@movementarian.org>
820 * text3.C: remove insetparent
822 2003-06-02 John Levon <levon@movementarian.org>
825 * buffer.C: fix inset_iterator.end(), move out of line
828 2003-06-01 John Levon <levon@movementarian.org>
830 * text3.C: use a proper cut/paste when doing inset
831 insert (from Jürgen Spitzmüller)
833 2003-06-01 John Levon <levon@movementarian.org>
835 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
837 2003-05-30 André Pönitz <poenitz@gmx.net>
839 * rowpainter.C: unify second drawing phase
841 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
843 * trans_mgr.C: remove one case of current_view
845 * text2.C (cursorBottom): delete NO_STD_LIST stuff
847 * paragraph_funcs.h: remove paragraph.h include
849 * paragraph.h: delete NO_STD_LIST stuff
851 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
853 * buffer.h: remove paragraph.h include
855 * ParagraphList.C: delete file
857 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
859 * toc.C (getTocList): adjust
861 * paragraph_pimpl.C (validate): adjust
863 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
865 * paragraph.C (Paragraph): adjust
866 (getPositionOfInset): use const_iterator, adjust
867 (bibitem): use const_iterator, adjust
868 (setInsetOwner): adjust
870 * iterators.C (operator++): adjust
872 * InsetList.[Ch]: Replace selfmade iterator with standard
873 vector::iterator also introduce const_iterator. Remove getPos,
874 getInset and setInset from InsetTable. Adjust accordingly.
876 * BufferView.C (lockInset): adjust
877 (ChangeInsets): adjust
879 * tabular.[Ch]: delete commented same_id functions
881 2003-05-28 John Levon <levon@movementarian.org>
883 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
885 2003-05-28 André Pönitz <poenitz@gmx.net>
887 * metricsinfo.[Ch]: remove 'fullredraw' member
889 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
891 * lyxtextclass.C (operator): remove caching.
893 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
897 * text2.C (cursorBottom): adjust
898 (setCounter): use ParagraphList::find, adjust
900 * text.C (workWidth): use ParagraphList::find, adjust
902 * lyxcursor.C (LyXCursor): adjust
904 * buffer.C (inset_iterator): adjust
906 * ParagraphList.h: make iterator(value_type) private, make
907 ParagraphList a friend of iterator.
909 * ParagraphList.C (find): new function
911 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
913 2003-05-27 André Pönitz <poenitz@gmx.net>
915 * dimension.[Ch]: a -> asc, d -> des, w -> wid
917 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
919 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
921 2003-05-26 John Levon <levon@movementarian.org>
923 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
925 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
927 * remove same_id from function signatures, adjust.
929 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
931 * undo_funcs.C (createUndo): use the id functions directly, adjust.
933 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
935 * paragraph.C (Paragraph): get rid of same_ids parameter
937 * ParagraphList.C (insert): adjust
940 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
942 * paragraph_funcs.C (breakParagraph): adjust
943 (breakParagraphConservative): adjust
945 * buffer.C (readParagraph): adjust
947 * ParagraphList.C (insert): take a reference instead of a pointer
950 * paragraph.[Ch] (id): new function
952 * bufferlist.C (newFile): adjust
954 * ParagraphList.C (ParagraphList): adjust
956 (push_back): take a reference instead of a pointer.
958 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
960 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
963 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
964 set else use old code.
966 * ParagraphList.C: remove all NO_NEXT code and only compile this
967 code of NO_STD_LIST is set.
969 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
971 * BufferView_pimpl.C:
981 * graphics/GraphicsConverter.C:
982 * graphics/PreviewLoader.C: header adjustment
984 2003-05-23 Angus Leeming <leeming@lyx.org>
986 * LaTeXFeatures.[Ch] (useBabel): new method.
987 * bufferparams.C (writeLaTeX): use it.
989 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
991 * ParagraphList.h (set): remove unused function.
993 2003-05-23 André Pönitz <poenitz@gmx.net>
996 * BufferView_pimpl.C:
1000 * undo_funcs.C: setUndo reworked
1002 * iterators.[Ch]: add access to topmost ParagraphList
1004 * lyxtext.[Ch] (workWidth): add a const
1006 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1008 * texrow.[Ch] (increasePos): remove function
1009 * exporter.C (export): removed unused var and outdated comment
1011 2003-05-23 Angus Leeming <leeming@lyx.org>
1013 * latexrunparams.h: rename fragile as moving_arg.
1014 * paragraph.C (simpleTeXOnePar): ditto.
1015 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
1017 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1019 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
1021 (textUndoOrRedo): comment out a currently unused var.
1023 * paragraph.h (NO_NEXT): enable NO_NEXT
1025 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
1027 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
1029 * exporter.C (Export): adjust for removeAutoInsets removal.
1031 * buffer.C (runChktex): adjust for removeAutoInsets removal.
1033 * LyXAction.C (init): remove LFUN_REMOVEERRORS
1035 * BufferView.[Ch] (removeAutoInsets): delete function
1037 2003-05-22 Angus Leeming <leeming@lyx.org>
1039 * latexrunparams.h: add a free_spacing variable.
1041 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
1042 to pass moving_arg, as the data is stored in runparams.fragile.
1044 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
1045 to Inset::latexOptional or to simpleTeXOnePar.
1047 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
1048 free_spacing arg to Inset::latexOptional.
1050 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1053 2003-05-22 Angus Leeming <leeming@lyx.org>
1055 * latexrunparams.h: add fragile and use_babel variables.
1057 * bufferparams.[Ch] (writeLaTeX): return use_babel.
1058 * buffer.C (makeLaTeXFile): store this returned value in
1059 runparams.use_babel, thus passing it to the inset::latex methods.
1061 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
1062 simpleTeXSpecialChars as it is now stored in runparams.fragile.
1064 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
1065 longer has a fragile arg, as it is stored in runparams.fragile.
1067 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
1068 moving_arg parameter as the data is stored in runparams.fragile.
1070 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1071 a fragile parameter as the data is stored in runparams.fragile.
1073 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1075 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
1077 2003-05-22 Angus Leeming <leeming@lyx.org>
1079 * latexrunparams.h: add a 'bool nice' which defaults to false.
1081 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
1082 now encapsulated within runparams.
1084 * bufferlist.C (updateIncludedTeXfiles):
1085 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
1087 2003-05-22 Angus Leeming <leeming@lyx.org>
1089 * latexrunparams.h: new file containing struct LatexRunParams.
1090 * Makefile.am: add new file.
1092 * LaTeX.[Ch] (c-tor, run):
1093 * buffer.[Ch] (makeLaTeXFile):
1094 * bufferlist.[Ch] (updateIncludedTeXfiles):
1095 * converter.C (convert, scanLog):
1096 * converter.[Ch] (runLaTeX):
1097 * exporter.C (Export):
1098 * paragraph.[Ch] (simpleTeXOnePar):
1099 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
1100 * paragraph_funcs.[Ch] (latexParagraphs):
1101 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
1102 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
1103 pass around a LatexRunParams parameter.
1105 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1107 * paragraph.[Ch]: remove unused constructor
1109 * ParagraphList.C (erase): new function, taking two iterators
1111 2003-05-22 André Pönitz <poenitz@gmx.net>
1113 * undo_funcs.C: remove duplicated code
1115 * iterator.[Ch]: operator=
1117 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1119 * tabular.C (SetMultiColumn): ws changes
1121 * rowpainter.C (paintFirst): get rid of a ->previous
1123 * lyx_cb.C (getPossibleLabel): parlist simplification
1125 * BufferView.C (ChangeInsets): simplify slightly.
1127 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1129 * LyXAction.C: new lfun space-insert, kill protected-space-insert
1130 * lfuns.h: new LFUN_SPACE
1131 * lyxfunc.C: protected space has a new lfun
1132 * paragraph_funcs.C: read new space insets
1134 * factory.C: handle new space insets
1136 2003-05-22 André Pönitz <poenitz@gmx.net>
1139 * BufferView_pimpl.C:
1142 * undo_funcs.C: return a ParIterator from getParFromID.
1144 * iterators.[Ch]: add two const's
1146 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1148 * toc.C (getTocList): adjust
1150 * iterators.[Ch]: rework for parlist
1152 * buffer.C (par_iterator_begin): adjust
1153 (par_iterator_end): adjust
1155 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
1157 * BufferView.C (removeAutoInsets): adjust
1158 (ChangeInsets): adjust
1160 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
1162 * text.C (top_y): fix bug 1110
1164 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
1166 * errorlist.[Ch]: added
1169 * BufferView_pimpl.C:
1170 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
1173 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1175 * Makefile.am: ensure that lyx is relinked upon changes to the
1176 various "convenience" libs.
1178 2003-05-20 Angus Leeming <leeming@lyx.org>
1180 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
1181 files are compiled in alphabetical order again.
1183 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
1185 2003-05-19 Angus Leeming <leeming@lyx.org>
1187 * gettext.[Ch]: remove "char const * _(char const *)".
1189 2003-05-19 André Pönitz <poenitz@gmx.net>
1191 * dimension.[Ch]: promote from mathed/dimension.[Ch]
1200 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
1202 2003-05-19 André Pönitz <poenitz@gmx.net>
1206 * lyxtextclass.[Ch]:
1208 * paragraph_funcs.[Ch]:
1210 * text3.C: more insetenv work
1212 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
1214 * ParagraphParameters.C (params2string): small bug fixed
1216 2003-05-16 André Pönitz <poenitz@gmx.net>
1219 * bufferview_funcs.C: patch from Kornel Benko to prevent
1220 crash when _(...) is called twice in a statement
1222 2003-05-16 André Pönitz <poenitz@gmx.net>
1229 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
1231 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
1233 * lyx_main.C (init): remove spurious static_cast
1235 2003-05-14 André Pönitz <poenitz@gmx.net>
1237 * BufferView.C: fix format string
1239 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
1241 * BufferView.[Ch] (insertErrors): removed
1242 * BufferView.[Ch] (showErrorList): added
1243 * buffer.C (runChkTeX):
1244 * converter.C (scanLog): call showErrorList instead of inserterrors
1246 2003-05-13 André Pönitz <poenitz@gmx.net>
1248 * BufferView_pimpl.C:
1250 * bufferview_func.C:
1257 * tabular_funcs.h: tostr() from its own header
1259 * ParagraphParameters.C:
1264 * text3.C: STRCONV()
1266 2003-05-12 André Pönitz <poenitz@gmx.net>
1269 * BufferView_pimpl.C:
1273 * ParagraphParameters.C:
1277 * bufferview_funcs.C:
1290 * paragraph_funcs.C:
1294 * text3.C: boost::format -> bformat all over the place
1297 2003-05-09 André Pönitz <poenitz@gmx.net>
1299 * LColor.[Ch]: Pimpl the #include <map> away
1301 2003-05-09 John Levon <levon@movementarian.org>
1303 * bufferlist.C: never remove emergency saves
1305 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1307 * Makefile.am: better lib building
1309 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1311 * texrow.[Ch]: remove dependency on Paragraph and just store a id
1313 * paragraph_pimpl.C (simpleTeXBlanks): adjust
1314 (simpleTeXSpecialChars): adjust
1315 (simpleTeXSpecialChars): adjust
1316 * paragraph.C (simpleTeXOnePar): adjust
1317 * buffer.C (makeLaTeXFile): adjust
1319 * Makefile.am (BOOST_LIBS): allow boost as system lib.
1321 * text2.C (changeDepth): parlist cleanup
1322 (getColumnNearX): ditto
1324 * rowpainter.C (getLabelFont): parlist cleanup
1326 * bufferlist.C (newFile): parlist cleanup
1328 * CutAndPaste.C (eraseSelection): parlist cleanup
1330 * BufferView_pimpl.C (trackChanges): parlist cleanup
1333 * BufferView.C (lockInset): parlist cleanup.
1334 (ChangeInsets): ditto
1336 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1338 * CutAndPaste.h: Update file header.
1340 * CutAndPaste.C: Update file header.
1341 Store the parts cut out of the Document in a limited_stack.
1342 (copySelection): adjust
1343 (pasteSelection): new function, takes the index in the limited stack.
1344 (nrOfParagraphs): adjust
1345 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
1346 simplify error inset insertion.
1347 (checkPastePossible): adjust
1349 2003-05-06 John Levon <levon@movementarian.org>
1351 * text2.C: don't cast wrap inset to float
1353 2003-05-05 André Pönitz <poenitz@gmx.net>
1356 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
1358 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
1359 few naked Paragraph *.
1361 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
1363 * bufferparams.C: Output warning if a document with missing
1364 TeX document class is loaded
1365 * exporter.C: Disable TeX exports if the document class is missing
1368 * lyxtextclasslist.C: Handle new textclass.lst format; new method
1369 isTeXClassAvailable()
1371 2003-05-03 John Levon <levon@movementarian.org>
1374 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
1375 explicit cursor show/hide
1377 * BufferView_pimpl.h:
1378 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
1379 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
1381 * lyxfunc.C: hide cursor before dispatching.
1386 * text3.C: remove explicit cursor hides
1388 2003-05-02 André Pönitz <poenitz@gmx.net>
1390 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
1393 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
1396 * text2.C: tiny whitespace
1398 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1400 * undo_funcs.C: almost only ws changes.
1402 * ParagraphList.C (splice): just return if pl is empty.
1404 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1406 * ParagraphList.C (splice): new function.
1408 * CutAndPaste.C (pasteSelection): use it
1410 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1412 * CutAndPaste.C (pasteSelection): remove the last next and
1413 previous from this file.
1415 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1417 * CutAndPaste.C (pasteSelection): more clean up, user proper
1418 ParagraphList functions for pasteing.
1420 * ParagraphList.C (insert): new function, three arg insert
1422 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1424 * ParagraphList.C (insert): new function, three arg insert
1426 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
1429 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1431 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
1433 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1435 * CutAndPaste.C (pasteSelection): remove some unneeded code.
1437 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1439 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
1440 (copySelection): clean up a bit.
1441 (pasteSelection): use make_pair
1443 * ParagraphList.C (ParagraphList): implement copy constructor
1444 (operator=): implement, base on copy constructor.
1447 * paragraph.C (erase): return a bool
1449 * paragraph_pimpl.C (erasePos): remove function, move contents...
1450 (erase): ... here. Return a bool.
1451 (erase): call erase instead of erasePos.
1453 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
1455 * ParagraphList.h: define PitPosPair
1456 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
1457 ParagraphList, fix a bug on pasting multiple pars
1458 * text2.C: change interface to C&P
1460 2003-04-30 André Pönitz <poenitz@gmx.net>
1462 * undo_func.C: revert part of yesterday's patch 2
1464 2003-04-30 John Levon <levon@movementarian.org>
1466 * LColor.C: s/tabular/table/
1468 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1470 * text3.C (dispatch): do not convert iterator -> pointer
1471 * undo_funcs.C (setCursorParUndo): ditto
1472 * text_funcs.C (transposeChars): ditto
1474 * text2.C (setLayout): ws changes only
1476 * text.C (breakParagraph): do not convert iterator -> pointer
1478 (acceptChange): ditto
1479 (rejectChange): ditto
1484 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
1487 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1489 * text3.C (gotoInset): YABG (yet another bad getChar)
1491 2003-04-29 André Pönitz <poenitz@gmx.net>
1493 * paragraph.h: make operator= private unimplemented as long as
1496 * ParagraphList.C: whitespace
1499 * paragraph_pimpl.[Ch]:
1500 * paragraph_funcs.C:
1502 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
1505 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
1507 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1509 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
1510 * paragraph.[Ch] (erase):
1511 * paragraph_pimpl.[Ch] (erase): change return type and value
1512 * text2.C (cutSelection): some rework
1514 2003-04-28 John Levon <levon@movementarian.org>
1516 * bufferlist.C: changes for unsaved changes dialog
1518 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1520 * bufferlist.C (newFile): set language (messages_) for new
1523 * buffer.C (readFile): ws changes only.
1525 2003-04-28 André Pönitz <poenitz@gmx.net>
1530 * BufferView_pimpl.C:
1531 * BufferView.C: getParFromID related ParagraphList::iterator changes
1533 2003-04-28 André Pönitz <poenitz@gmx.net>
1535 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1538 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1540 * messages.C: remove one more localedir class variable.
1542 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1544 * messages.C (getLocaleDir): singleton generation function
1546 (Messages): add a default constructor.
1548 * main.C (main): do not setup localedir here, do not call
1551 * gettext.C (_): use it.
1552 (gettext_init): delete funciton
1554 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1556 * gettext.C (getLyXMessages): new singleton generating function.
1558 * buffer.C (updateDocLang): adjust
1560 * Makefile.am (messages.o): add target
1561 (main.o): remove target
1563 2003-04-27 John Levon <levon@movementarian.org>
1568 * lyxvc.C: specify cancel button in Alert::prompt
1570 2003-04-26 John Levon <levon@movementarian.org>
1575 * LyXAction.C: add LFUN_INSET_SETTINGS
1577 * lyxfunc.C: don't enable tabular-feature when there's
1578 just any locking inset
1580 2003-04-26 John Levon <levon@movementarian.org>
1582 * bufferlist.C: re-add Cancel to buffer close question
1584 * lyxfunc.C: fix import UI a bit
1586 2003-04-25 John Levon <levon@movementarian.org>
1588 * gettext.C: remove the broken asserts for now
1590 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1592 * messages.C: make case where setlocale cannot comply work better.
1594 * buffer.C (updateDocLang): new function
1595 (changeLanguage): use it
1598 * text2.C (setCounter): use B_ a bit.
1600 * lyxlayout.C (Read): be sure to trim the label strings.
1602 * messages.C (Messages): fix typo in comment
1604 * buffer.C (readFile): set message_ after file is loaded.
1605 (makeDocBookFile): remove double return
1606 (changeLanguage): reset message_ upon language change.
1607 (B_): new func, use this to get translated buffer strings.
1609 * main.C: add myself and Jean Marc as authors.
1611 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1613 * messages.[hC]: pimplify Messages, and three different pimpls to be
1614 used in different circumstances.
1616 * gettext.[Ch]: change for use with new message code.
1618 2003-04-24 André Pönitz <poenitz@gmx.net>
1620 * factory.C: support for eqref
1622 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1624 * messages.[Ch]: add missing char
1626 * Makefile.am (lyx_SOURCES): add messages.[Ch]
1628 * messages.[Ch]: New files
1630 2003-04-18 John Levon <levon@movementarian.org>
1634 * BufferView_pimpl.C:
1638 * text2.C: remove layout-copy/paste (bug 778)
1640 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1642 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1644 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1646 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1647 if they succeed. Act accordingly.
1649 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1651 * text2.C (setCharFont): adjust
1652 (setCounter): adjust
1653 (insertStringAsLines): adjust
1655 * text.C (leftMargin): adjust
1656 (setHeightOfRow): adjust
1658 * rowpainter.C (paintFirst): adjust
1661 * paragraph_funcs.C (depthHook): ParagraphList::iterators
1663 (isFirstInSequence): ditto
1664 (getEndLabel): ditto
1667 * paragraph.C (getParLanguage): comment out some hard stuff.
1669 * buffer.C (insertStringAsLines): take a ParagraphList as arg
1671 (simpleDocBookOnePar): ditto
1672 (makeDocBookFile): use ParagraphList::iterator
1674 * CutAndPaste.C (pasteSelection): adjust
1676 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1678 * text2.C (getFont): adjust
1679 (getLayoutFont): adjust
1680 (getLabelFont): adjust
1682 * paragraph_funcs.C (TeXOnePar): adjust
1684 * buffer.C (simpleLinuxDocOnePar): adjust
1685 (simpleDocBookOnePar): adjust
1687 * CutAndPaste.C (pasteSelection): adjust
1689 * BufferView.C (getEncoding): adjust
1691 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1693 2003-04-16 John Levon <levon@movementarian.org>
1695 * lyxfind.C: use parlist stuff for search/changes
1697 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1699 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1701 * text2.C (deleteEmptyParagraphMechanism): adjust
1703 * text2.[Ch] (ownerParagraph): delete func (both of them
1705 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1707 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1709 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1711 * ParagraphList.C: prepare for NO_NEXT
1713 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1715 * text2.C (getFont): adjust
1716 (getLayoutFont): adjust
1717 (getLabelFont): adjust
1719 * paragraph.C (getFont): adjust
1720 (getLabelFont): adjust
1721 (getLayoutFont): adjust
1723 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1725 2003-04-15 John Levon <levon@movementarian.org>
1729 * lyx_main.C: handle Include in .ui files
1731 2003-04-15 John Levon <levon@movementarian.org>
1733 * MenuBackend.C: make the doc files length shorter
1736 * ToolbarBackend.C: handle toolbar placement flags,
1739 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1741 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1744 * paragraph_funcs.C (TeXOnePar): adjust
1746 * paragraph.C (getLabelFont): add outerfont arg, adjust
1747 (getLayoutFont): ditto
1748 (simpleTeXOnePar): adjust
1750 * paragraph_pimpl.C (realizeFont): delete func
1752 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1754 * text2.C (beforeFullRowInset): added a bad getchar check, removed
1755 row argument, constify cur argument.
1757 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1759 * text2.C (getFont): adjust
1760 (getLayoutFont): adjust
1761 (getLabelFont): adjust
1763 * paragraph_funcs.C (TeXOnePar): adjust
1764 (outerFont): new func...
1765 (realizeFont): ...moved out from here, changed this to facilitate
1768 * paragraph.C (getFont): take outerfont as arg, adjust
1769 (simpleTeXOnePar): add outerfont arg, adjust
1771 * buffer.C (simpleLinuxDocOnePar): adjust
1772 (simpleDocBookOnePar): adjust
1774 * CutAndPaste.C (pasteSelection): adjust
1776 * BufferView.C (getEncoding): adjust
1778 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1780 * text2.C (setCharFont): adjust
1781 (setCounter): adjust
1783 * text.C (leftMargin): adjust
1784 (setHeightOfRow): adjust
1786 * rowpainter.C (paintFirst): adjust
1789 * paragraph_pimpl.C (realizeFont): adjust
1791 * paragraph.C (isFirstInSequence): move from here...
1792 * paragraph_funcs.C (isFirstInSequence): ...to here
1794 * paragraph.C (outerHook): move from here...
1795 * paragraph_funcs.C (outerHook): ...to here
1797 * paragraph.C (depthHook): move from here...
1798 * paragraph_funcs.C (depthHook): ...to here
1800 * paragraph.C (getEndLabel): move from here...
1801 * paragraph_funcs.C (getEndLabel): ...to here
1803 * text2.C (realizeFont): move from here...
1804 * paragraph_funcs.C (realizeFont): ...to here
1806 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1808 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1810 2003-04-14 Angus Leeming <leeming@lyx.org>
1812 * LColor.[Ch]: scrap LColor mathcursor.
1814 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1816 * lyxlex.[Ch] (text): delete function
1817 * trans.C (Load): adjust
1818 * paragraph_funcs.C (readParToken): adjust
1820 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1822 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1823 vector<char> instead of a char[].
1825 * lyxlex_pimpl.C (getString): adjust
1827 (lex): use getString
1831 * lyxlex.C (text): use pimpl_->getString()
1835 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1837 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1838 (makeFontEntriesLayoutSpecific): temp var for par.size()
1839 (setLayout): temp var for ownerParagraphs().end()
1840 (fullRebreak): temp var for rows().end()
1841 (selectionAsString): temp var for boost::next(startpit), realize
1842 that the while really is a regular for loop.
1843 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1844 setCursor in one place.
1845 (setParagraph): temp vr for ownerParagraphs().end()
1846 (updateCounters): make the while loop a for loop
1847 (cutSelection): temp var for ownerParagraphs().end()
1848 (updateInset): make the do {} while() a regular for loop
1849 (getCursorX): use temp vars
1850 (setCurrentFont): use temp vars
1851 (getColumnNearX): use temp vars
1853 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1855 * text.C (transformChar): use temp var for getChar
1856 (computeBidiTables): use temp var for row->par()
1857 (fill): move temp vars for row->par() and pit->layout() earlier in
1859 (labelFill): use temp var for row->par()
1860 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1861 asc and desc, realize that pit never changes and that firstpit is
1862 just a duplicate and not needed. Exchange rit->par() with pit in a
1864 (breakAgain): use a temp var for boost::next(rit)
1865 (breakAgainOneRow): ditto
1866 (breakParagraph): use a temp var for rows().begin()
1867 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1868 (cursorRightOneWord): use temp var for cursor.par() and
1869 cursor.pos(), remove usage of tmpcursor.
1870 (cursorLeftOneWord): use temp var for cursor.par() and
1871 cursor.pos() only set cur at end of function.
1873 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1875 * text.C, text2.C: exchange all usage of Paragraph::next with
1876 boost::next(ParagraphList::iterator)
1878 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1880 * text2.C (cursorTop): simplify implementation
1881 (cursorBottom): ditto
1882 (setParagraph): use ParagraphList::iterator
1883 (setCurrentFont): adjust
1884 (getColumnNearX): adjust
1885 (cursorRight): adjust
1886 (cursorLeft): remove usage of Paragraph::previous
1887 (cursorUpParagraph): ditto
1888 (deleteEmptyParagraphMechanism): slight cleanup
1890 * text.C (isBoundary): take a Paragraph const & instead of a
1892 (addressBreakPoint): ditto
1893 (leftMargin): remove usage of Paragraph::previous.
1894 (setHeightOfRow): ditto
1895 (cursorLeftOneWord): ditto
1896 (selectNextWordToSpellcheck): ditto
1899 (breakParagraph): remove one usage of Paragraph::next
1900 (redoParagraph): ditto
1901 (acceptChange): ditto
1902 (insertChar): adjust
1903 (rowBreakPoint): adjust
1905 * bufferview_funcs.C (toggleAndShow): adjust
1907 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
1909 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1910 methods to access it.
1912 * text.C: Added updateRowPositions to compute all row positions.
1913 Make top_y and getRowNearY() to use the cached y position
1915 2003-04-11 John Levon <levon@movementarian.org>
1917 * text.C (rowBreakPoint): reintroduce the labelEnd
1918 checks, code copied from the row fill stuff. Deep voodoo.
1920 * text.C (fill): add a comment and debugging for the
1923 2003-04-11 John Levon <levon@movementarian.org>
1925 * text.C: make sure fullrow insets get wrapped to the next line,
1926 even when they're in a manual label
1928 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1930 * text2.C (insertParagraph): make it take ParagraphList::iterator
1932 (setLayout): make it return ParagraphList::iterator
1933 (redoParagraphs): ditto
1935 (checkParagraph): ditto
1937 * text.C (getRow): make getrow take ParagraphList::iterator as arg
1939 * text2.C: adjust several funcs.
1940 (realizeFont): take a ParagraphList::iterator as arg.
1941 (getLayoutFont): ditto
1942 (getLabelFont): ditto
1943 (setCharFont): ditto
1945 * text.C: adjust several funcs.
1947 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1949 * text.C (selectNextWordToSpellcheck): don't accidentally
1952 2003-04-10 John Levon <levon@movementarian.org>
1954 * ToolbarBackend.C (getIcon): special handling for
1957 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1959 * text2.C (cursorRight): a getChar assert fixed
1961 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1963 * text2.C (getFont): change to take a ParagraphList::iterator
1964 instead of Paragraph*
1965 Adjust several functions.
1967 * text.C (transformChar): change to take a ParagraphList::iterator
1968 instead of Paragraph*
1969 (singleWidth): ditto
1970 Adjust several functions.
1972 * rowpainter.C: adjust several functions
1973 * rowpainter.h:store a ParagraphList::iterator and not a
1977 2003-04-09 John Levon <levon@movementarian.org>
1982 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
1983 and the "help" bits as well
1985 2003-04-09 John Levon <levon@movementarian.org>
1988 * ToolbarBackend.C: allow multiple toolbars
1990 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1992 * undo_funcs.C (setCursorParUndo): adjust
1994 * text_funcs.C (transposeChars): adjust
1996 * text3.C (gotoNextInset): adjust
1999 * text2.C (setLayout): adjust
2000 (changeDepth): adjust
2002 (redoParagraphs): adjust
2003 (selectionAsString): adjust
2004 (setParagraph): adjust
2005 (insertInset): adjust
2006 (cutSelection): adjust
2007 (copySelection): adjust
2008 (pasteSelection): adjust
2009 (insertStringAsLines): adjust
2010 (updateInset): adjust
2011 (setCursor): change to take a ParagraphList::iterator parameter
2012 (setCursorIntern): change to take a ParagraphList::iterator parameter
2013 (setCurrentFont): adjust
2014 (cursorLeft): adjust
2015 (cursorRight): adjust
2016 (deleteEmptyParagraphMechanism): adjust
2018 * text.C (breakParagraph): adjust
2019 (insertChar): adjust
2020 (acceptChange): adjust
2021 (rejectChange): adjust
2022 (selectNextWordToSpellcheck): adjust
2023 (changeCase): adjust
2027 * lyxfind.C (SearchForward): adjust
2028 (SearchBackward): adjust
2029 (nextChange): adjust
2031 * lyxcursor.C (par): adjust
2033 * lyxcursor.h: store a ParagraphList::iterator instead of a
2036 * lyx_cb.C (getPossibleLabel): adjust
2038 * bufferview_funcs.C (toggleAndShow): adjust
2040 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2043 * BufferView.C (removeAutoInsets): adjust
2044 (lockedInsetStoreUndo): adjust
2046 2003-04-09 John Levon <levon@movementarian.org>
2048 * ToolbarBackend.C: try icon without argument
2049 if with argument fails
2051 2003-04-08 John Levon <levon@movementarian.org>
2054 * ToolbarBackend.C: add getIcon(), handle tooltip,
2055 and change from "Icon" to "Item".
2057 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2059 * BufferView.C (lockInset): another bad getchar crunched
2061 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2063 * text2.C (changeDepth): do not setUndo on test_only (make undo work
2066 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2068 * lyxfind.C (searchForward, searchBackwards): bug 782
2070 2003-04-07 John Levon <levon@movementarian.org>
2072 * paragraph.C: remove dead comment
2074 * text.C: remove troublesome depth-fiddling code
2075 in leftMargin() and rightMargin() (bug 1017)
2077 * text.C: fix breaking of rows in nested lists
2080 * text2.C (updateCounters): fix up depth values
2083 2003-04-07 John Levon <levon@movementarian.org>
2085 * BufferView_pimpl.C: clear message when doc finishes resizing,
2086 and after a mouse event
2088 * lyxfunc.C: clear message after exiting inset
2090 2003-04-07 John Levon <levon@movementarian.org>
2092 * bufferview_funcs.C: show math status not outside
2093 status in the statusbar
2095 2003-04-07 John Levon <levon@movementarian.org>
2097 * lyxfunc.C: note status changed after a depth change
2099 2003-04-04 Angus Leeming <angus@localhost.localdomain>
2101 * LaTeX.h: move AuxInfo operator==, != out of line.
2102 Remove LaTeX virtual destructor; nothing derives from it.
2103 Move operator()() out of public area and rename it startscript().
2104 Change protected for private.
2106 2003-04-04 Angus Leeming <leeming@lyx.org>
2109 * text2.C: remove unneeded #includes.
2111 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2113 * text2.C (dEPM): fix the heigth of the next row
2115 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2117 * text.C: squashed an invalid getChar requester + some ws changes
2119 2003-04-03 John Levon <levon@movementarian.org>
2121 * bufferview_funcs.h:
2122 * bufferview_funcs.C:
2125 * text2.C: make getStatus work for the env depth lfuns
2127 2003-04-03 John Levon <levon@movementarian.org>
2129 * bufferview_funcs.h:
2130 * bufferview_funcs.C:
2133 * text2.C: parlistize decDepth(), by merging it with incDepth()
2135 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2137 * lyxrow.h: store a ParagraphList::iterator instead of a
2138 Paragraph* and adjust other class functions to suit.
2140 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
2143 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2145 * text2.C (setCursor): do not anchor to cursor row for the time being
2147 2003-04-02 John Levon <levon@movementarian.org>
2154 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
2156 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2158 * paragraph.h: make ParagraphList and ParagraphList::iterator
2159 friends of Paragraph.
2161 * buffer.C (makeLinuxDocFile): move towards ParagraphList
2163 * ParagraphList.C: Use the private next_ and previous_ from
2166 2003-04-01 John Levon <levon@movementarian.org>
2170 * Makefile.am: rename, remove defaults gunk
2173 * MenuBackend.C: remove defaults gunk
2176 * Languages.C: remove defaults gunk
2179 * lyx_main.C: error out if files couldn't be found.
2181 2003-04-02 John Levon <levon@movementarian.org>
2183 * text2.C: make incDepth() use parlist
2185 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2187 * undo_funcs.C (firstUndoParagraph): adjust
2189 * text3.C (gotoInset): adjust
2190 (dispatch): adjust, and rewrite loop.
2192 * text2.C (init): adjust, and rewrite loop.
2193 (redoParagraphs): adjust
2194 (updateInset): adjust, and rewrite loop.
2195 (deleteEmptyParagraphMechanism): adjust
2197 * tabular.C (LyXTabular): adjust
2198 (SetMultiColumn): adjust
2201 * lyxtext.[Ch] (ownerParagraph): delete function
2202 (ownerParagraphs): new function returns a ParagraphList.
2204 * BufferView.C (removeAutoInsets): adjust
2205 (insertErrors): adjust
2206 (setCursorFromRow): adjust
2208 2003-04-01 Angus Leeming <leeming@lyx.org>
2210 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
2213 2003-04-02 John Levon <levon@movementarian.org>
2219 * text_funcs.C: make transposeChars a free function
2221 * lyxrow_funcs.C: remove wrong comment
2223 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2226 * rowpainter.C: adjust
2231 * lyxrow_funcs. [Ch]: new files
2233 * lyxrow.[Ch]: remove next and previous pointers
2234 (next,previous): remove accessor functions
2235 (isParEnd): move to lyxrow_funcs
2236 (lastPos): move to lyxrow_funcs
2237 (nextRowIsAllInset): move to lyxrow_funcs
2238 (lastPrintablePos): move to lyxrow_funcs
2239 (numberOfSeparators): move to lyxrow_funcs
2240 (numberOfHfills): move to lyxrow_funcs
2241 (numberOfLabelHfills): move to lyxrow_funcs
2242 (hfillExpansion): move to lyxrow_funcs
2246 * bufferview_funcs.C (toggleAndShow): adjust
2248 * RowList.h: Remove class RowList from file leave just a
2251 * RowList.C: delete file
2253 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
2256 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2258 * text3.C (cursorPrevious): adjust
2259 (cursorNext): adjust
2262 * text2.C (redoHeightOfParagraph): adjust
2263 (redoDrawingOfParagraph): adjust
2266 * text.C (breakParagraph): adjust
2267 (insertChar): adjust
2270 * rowpainter.C (RowPainter): adjust
2271 (leftMargin): simplify and adjust
2272 (most rowpainter functions): adjust.
2274 * rowpainter.h: store the row as RowList::iterator not as Row*
2276 * lyxcursor.C (row): taka RowList::iterator as arg
2279 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
2282 2003-04-01 Angus Leeming <leeming@lyx.org>
2284 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
2285 stuff like bool Bool.
2287 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2289 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
2292 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2294 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
2297 * lyxtext.h (rows): drop one version and leve a const variant that
2298 returns a RowList::iterator.
2300 2003-03-31 Angus Leeming <leeming@lyx.org>
2302 * text.C (fill): ensure that the signature is the same as that in the
2305 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
2307 * text2.C (redoParagraphs): adjust
2308 (updateCounters): adjust
2309 (checkParagraph): adjust
2310 (getColumnNearX): adjust and reformat a bit.
2312 * text.C (top_y): adjust
2314 (leftMargin): adjust
2315 (prepareToPrint): adjust
2317 (getRowNearY): adjust
2319 * lyxtext.h: make rowlist_ mutable.
2321 * RowList.h: add const_iterator
2322 * RowList.C: adjust for RowList::const_iterator.
2324 * text2.C (getCursorX): make it take a RowList::iterator as arg,
2327 2003-03-31 John Levon <levon@movementarian.org>
2330 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
2332 * lyx_main.C: set default fonts from using lyx_gui funcs
2334 * exporter.C: pdf_mode moved from lyxrc
2337 * lyxfunc.C: changes from above
2339 2003-03-31 John Levon <levon@movementarian.org>
2341 * lyx_main.C: fix to the last fix
2343 2003-03-31 John Levon <levon@movementarian.org>
2345 * bufferlist.C: "Load original" -> "Load Original"
2351 * format.C: more Alert cleanups
2353 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2355 * text2.C (removeParagraph): make it take a RowList::iterator as
2357 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
2358 (postRowPaint): make it take a RowList::iterator as arg, adjust.
2360 * text.C (anchor_row): make it take a RowList::iterator as arg,
2362 (computeBidiTables): make it take a const reference to Row instead
2363 of Row pointer, adjust.
2364 (leftMargin): make it take a RowList::iterator as arg, adjust.
2365 (rowBreakPoint): adjust
2366 (breakAgainOneRow): make it take a RowList::iterator as arg,
2368 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
2370 * bufferview_funcs.C (toggleAndShow): adjust
2372 2003-03-30 John Levon <levon@movementarian.org>
2376 * boost-inst.C: moved to support
2378 * several files: changes as a result
2380 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2382 * text2.C (LyXText): adjust.
2384 (removeRow): make it take a RowList::iterator as arg, adjust.
2385 (fullRebreak): adjust
2386 (deleteEmptyParagraphMechanism): adjust
2387 (clearPaint): adjust
2390 * text.C (top_y): adjust
2391 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
2392 (breakAgain): make it take a RowList::iterator as arg, adjust.
2393 (breakParagraph): adjust
2394 (insertChar): adjust
2397 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
2398 need_break_row, and refresh_row.
2400 * text3.C (dispatch): adjust
2402 * text2.C (checkParagraph): adjust
2404 (setCursorFromCoordinates): adjust
2406 * text.C (top_y): adjust
2408 (getRow): make it return a RowList::iterator, adjust
2409 (getRowNearY): make it return a RowList::iterator, adjust
2411 * text2.C (init): adjust
2412 (insertRow): remove function
2413 (insertParagraph): adjust
2414 (redoParagraphs): adjust
2415 (fullRebreak): adjust
2416 (updateCounters): adjust
2418 * text.C (top_y): rewrite to use RowList iterators.
2420 (setHeightOfRow): rewrite to sue RowList iterators.
2421 (appendParagraph): adjust
2422 (breakAgain): adjust
2423 (breakAgainOneRow): adjust
2424 (breakParagraph): adjust
2426 (getRowNearY): adjust, and remove commented code.
2428 * lyxtext.h (firstRow): delete function
2429 (lastRow): delete function
2430 (rows): new function (const and non-const versions.)
2431 (insertRow): delete function
2433 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
2435 2003-03-29 John Levon <levon@movementarian.org>
2437 * BufferView_pimpl.C: always update scrollbar top
2438 because pasting text when we're anchored could mean we
2439 miss an update altogether
2441 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2443 * text2.C (init): use rowlist_.end() and not 0.
2444 (insertRow): change to take a RowList::iterator as arg, adjust
2446 (insertParagraph): change to take a RowList::iterator as arg,
2448 (redoParagraphs): remove some debug msgs.
2450 * text.C (appendParagraph): change to take a RowList::iterator
2451 arg, adjust for this.
2452 (breakAgain): add an assert
2453 (breakAgainOneRow): ditto
2455 2003-03-29 John Levon <levon@movementarian.org>
2457 * text2.C: do not clear selection after inc/decDepth
2460 2003-03-29 John Levon <levon@movementarian.org>
2463 * buffer.C: fix broken strerrors according to Lars
2465 2003-03-29 John Levon <levon@movementarian.org>
2467 * converters.C: more Alert cleanups
2469 2003-03-29 John Levon <levon@movementarian.org>
2471 * bufferview_funcs.C: remove pointless Alert
2473 * buffer.C: fix confusing error message when
2474 a template is chmoded 000
2476 2003-03-29 John Levon <levon@movementarian.org>
2480 * BufferView_pimpl.C: Alert fixes
2484 * tabular-old.C: remove unused table compat reading
2486 2003-03-29 John Levon <levon@movementarian.org>
2491 * lyx_cb.C: more Alert cleanups
2493 * lyxfunc.C: don't allow chktex if not latex document
2495 2003-03-29 John Levon <levon@movementarian.org>
2499 * buffer.C: warnings pushed down from support/,
2502 2003-03-29 John Levon <levon@movementarian.org>
2504 * lyxfunc.C: safety check for C-r (revert)
2506 2003-03-29 John Levon <levon@movementarian.org>
2509 * bufferlist.C: several UI fixes using Alert::prompt.
2510 Fix the pointless looping quit code. Fix stupid revert
2515 * lyx_cb.C: use Alert::prompt
2517 * lyx_main.C: remove a silly question
2519 * lyxfunc.C: remove a couple of silly questions,
2522 2003-03-28 John Levon <levon@movementarian.org>
2524 * text2.C: fix bug 974 (End on empty par)
2526 2003-03-28 John Levon <levon@movementarian.org>
2528 * BufferView_pimpl.C:
2530 * lfuns.h: remove do-nothing math greek lfuns
2532 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2534 * lyxgluelength.h (isValidGlueLength): add default arg on
2535 parameter 2. Remove default arg from friend in class.
2537 * lyxlength.h (isValidLength): add default arg on parameter 2.
2538 Remove default arg from friend in class.
2540 * text2.C (LyXText): adjust, initialize refresh_row.
2544 (insertParagraph): adjst
2545 (redoParagraphs): adjust
2546 (fullRebreak): adjust
2547 (updateCounters): adjust
2548 (deleteEmptyParagraphMechanism): first attempt at fixing a
2551 * text.C (top_y): adjust
2552 (setHeightOfRow): adjust
2554 (getRowNearY): adjust
2556 * lyxtext.h: include RowList.h
2557 (~LyXText): not needed anymore, deleted.
2558 (firstRow): modify for RowList
2559 (lastRow): new function
2560 Delete firstrow and lastrow class variables, add a Rowlist
2561 rowlist_ class variable.
2563 * lyxrow.C (lastPos): use empty() and not !size() to check if a
2566 * RowList.C (insert): fix case where it == begin().
2568 2003-03-26 Angus Leeming <leeming@lyx.org>
2570 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2571 the thesaurus dialog.
2573 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2575 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2577 * RowList.[Ch]: new files
2579 * ParagraphList.C (erase): handle the case where it == begin
2582 2003-03-25 John Levon <levon@movementarian.org>
2586 * aspell.C: add new aspell support
2589 * lyxrc.C: Make use_pspell be use_spell_lib. Always
2592 2003-03-25 Angus Leeming <leeming@lyx.org>
2595 * LyXAction.C (init): new LFUN_INSET_INSERT.
2597 * BufferView_pimpl.C (dispatch): split out part of the
2598 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2600 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2603 2003-03-25 Angus Leeming <leeming@lyx.org>
2605 * lyxfunc.C (dispatch): changes to the Dialogs interface.
2607 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
2610 * text3.C: remove useless row->height(0)
2612 2003-03-25 John Levon <levon@movementarian.org>
2616 * text3.C: rename the refreshing stuff to better names
2618 2003-03-24 John Levon <levon@movementarian.org>
2620 * BufferView_pimpl.h:
2621 * BufferView_pimpl.C: update layout choice on a mouse
2624 2003-03-23 John Levon <levon@movementarian.org>
2626 * Makefile.am: fix commandtags.h reference
2628 2003-03-22 John Levon <levon@movementarian.org>
2630 * BufferView_pimpl.C:
2635 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2637 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
2640 * text.C: take the rtl methods out of line
2642 2003-03-21 André Pönitz <poenitz@gmx.net>
2644 * metricsinfo.[Ch]: new files containing structures to be passed around
2645 during the two-phase-drawing...
2647 2003-03-21 André Pönitz <poenitz@gmx.net>
2649 * lyxtextclass.C: read 'environment' tag.
2651 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
2653 * text2.C (removeRow): fix bug 964
2655 2003-03-20 John Levon <levon@movementarian.org>
2659 * text2.C: paint cleanups. Inset::update() dropped font
2662 2003-03-19 John Levon <levon@movementarian.org>
2664 * lyxfunc.C: only fitcursor/markDirty if available()
2666 2003-03-19 John Levon <levon@movementarian.org>
2668 * commandtags.h: rename to ...
2670 * lfuns.h: ... this, and renumber / cleanup
2672 2003-03-19 John Levon <levon@movementarian.org>
2674 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2675 fit the cursor after an lfun
2679 * BufferView_pimpl.h:
2680 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2682 * LyXAction.C: layout-character should have ReadOnly
2684 * ParagraphParameters.C:
2686 * bufferview_funcs.C:
2693 * undo_funcs.C: changes from above
2695 2003-03-18 John Levon <levon@movementarian.org>
2697 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2698 remove it from update()
2700 * lyxfunc.C: update layout choice after an lfun
2702 * text3.C: remove extra updateLayoutChoice()s
2704 2003-03-18 John Levon <levon@movementarian.org>
2706 * text.C: top_y change means full repaint, fix
2707 a drawing bug with cursor movement
2709 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2713 * text2.C: anchor row on setCursor
2715 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2717 * lyxtext.h: remove almost all mutable keywords
2720 * text3.C: remove const keywords accordingly
2722 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2724 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2726 (TeXEnvironment): ditto
2729 2003-03-17 John Levon <levon@movementarian.org>
2731 * text.C (rowBreakPoint): remove attempt to fix displayed
2732 math insets inside a manual label
2734 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2736 * lyxtext.h: remove BufferView* as first arg from almost all class
2738 * other files: adjust.
2740 2003-03-17 John Levon <levon@movementarian.org>
2744 * text2.C: more paint cleanups
2746 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2749 * rowpainter.C: remove "smart" background painting code
2751 2003-03-16 John Levon <levon@movementarian.org>
2756 * text3.C: add helper functions for setting refresh_row/y
2758 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
2760 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2761 newline inset which *can* get inserted in the pass_thru layouts.
2762 This is primarily for literate documents.
2764 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
2766 * buffer.C: increment LYX_FORMAT to 223
2768 2003-03-14 André Pönitz <poenitz@gmx.net>
2770 * textclass.h: prepare for environment handling, ws changes
2771 * lyxlayout.C: read latexheader and latexfooter tags
2773 2003-03-14 John Levon <levon@movementarian.org>
2775 * text2.C: rewrite ::status() a bit
2777 2003-03-13 John Levon <levon@movementarian.org>
2779 * lyxtext.h: add some docs
2781 2003-03-13 John Levon <levon@movementarian.org>
2786 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2788 2003-03-13 John Levon <levon@movementarian.org>
2790 * text3.C: fix appendix redrawing
2792 2003-03-13 John Levon <levon@movementarian.org>
2794 * text.C (setHeightOfRow):
2796 * rowpainter.C: make appendix mark have the text
2797 "Appendix" so the user knows what it is
2800 * LColor.C: s/appendixline/appendix/ from above
2802 2003-03-13 John Levon <levon@movementarian.org>
2804 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2806 * text.C: fix a getChar(pos) bug properly
2808 2003-03-13 Angus Leeming <leeming@lyx.org>
2811 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2812 Probably only temporary. Let's see how things pan out.
2814 * BufferView.C (unlockInset):
2815 * BufferView_pimpl.C (fitCursor):
2816 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2818 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2819 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2821 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2822 new functions that convert ParagraphParameters to and from a string.
2824 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2825 BufferView::Pimpl's dispatch.
2826 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2828 2003-03-13 André Pönitz <poenitz@gmx.net>
2832 * factory.C: make it aware of InsetEnv
2834 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2836 * text2.C (setCursor): never ask for one past last
2837 (setCursor): add some debugging messages.
2839 * text.C (singleWidth): never ask for one past last
2840 (singleWidth): ditto
2842 (rightMargin): ditto
2843 (rowBreakPoint): ditto
2844 (setHeightOfRow): ditto
2845 (prepareToPrint): ditto
2847 * rowpainter.C (paintBackground): never ask for one past last
2848 (paintText): never ask for one past last
2850 * paragraph_pimpl.C (getChar): make the assert stricter, never
2851 allow the one past last pos to be taken
2853 * paragraph.C (getChar): ws changes only
2855 * lyxrow.C (nextRowIsAllInset): never ask for one past last
2856 (numberOfSeparators): ditto
2857 (numberOfHfills): ditto
2859 2003-03-12 John Levon <levon@movementarian.org>
2865 * paragraph_funcs.C: fix per-buffer authorlists
2867 2003-03-12 John Levon <levon@movementarian.org>
2869 * text.C: fix newline in right address
2871 2003-03-12 Angus Leeming <leeming@lyx.org>
2873 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2874 duplicate those in LyXFunc::dispatch.
2878 * ToolbarDefaults.C:
2879 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2880 Add LFUN_FONTFREE_UPDATE.
2882 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2883 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2885 * bufferview_func.[Ch]: several new functions to facilliate
2886 transfer of data to and from the character dialog.
2888 2003-03-12 John Levon <levon@movementarian.org>
2893 * paragraph_funcs.C:
2894 * paragraph_pimpl.C:
2898 * text3.C: remove META_NEWLINE in favour of an inset
2901 * rowpainter.C: remove paintNewline (done by inset)
2903 2003-03-12 John Levon <levon@movementarian.org>
2905 * paragraph_pimpl.C: complain about bad getChar()s
2906 for a while at least
2908 2003-03-12 John Levon <levon@movementarian.org>
2911 * buffer.C: move paragraph read into a separate function,
2912 a little renaming to reflect that.
2915 * bufferparams.C: remove the author_ids map, not necessary now
2918 * factory.C: moved Buffer::readInset to here
2920 * paragraph_funcs.h:
2921 * paragraph_funcs.C: readParagraph free function moved from
2924 * tabular.C: name change
2926 2003-03-12 John Levon <levon@movementarian.org>
2929 * ParagraphParameters.C: move par params input to
2932 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2933 behave like a normal read from the stream wrt reading
2934 a line vs. a \\token
2936 2003-03-12 John Levon <levon@movementarian.org>
2939 * ParagraphParameters.h:
2940 * ParagraphParameters.C: move output code to a
2943 2003-03-12 John Levon <levon@movementarian.org>
2945 * BufferView.C (insertLyXFile):
2948 * tabular.C: use a parlist iterator for creating the
2951 2003-03-12 John Levon <levon@movementarian.org>
2953 * buffer.C: make current_change static local not
2956 2003-03-12 John Levon <levon@movementarian.org>
2958 * buffer.C: fix insertStringAsLines for change tracking
2960 2003-03-12 John Levon <levon@movementarian.org>
2967 * bufferparams.C: move author list into params. Rename some
2968 functions. Move the header reading into a separate token
2969 loop. Move the header token reading into BufferParams.
2971 2003-03-12 John Levon <levon@movementarian.org>
2973 * changes.C: put debug inside lyxerr.debugging() checks
2975 2003-03-11 André Pönitz <poenitz@gmx.net>
2977 * factory.C: make it aware of InsetHFill
2979 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2981 * buffer.C (latexParagraphs): move function from here...
2982 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
2985 2003-03-10 Angus Leeming <leeming@lyx.org>
2987 * LyXAction.C (init): fix bug in poplating array with multiple entries
2988 with the same LFUN (spotted by JMarc).
2990 2003-03-10 John Levon <levon@movementarian.org>
2993 * text2.C: move getColumnNearX() near its
2996 2003-03-10 John Levon <levon@movementarian.org>
2998 * text.C: fix break before a minipage
3000 2003-03-10 John Levon <levon@movementarian.org>
3002 * text.C: fix the last commit
3004 2003-03-09 John Levon <levon@movementarian.org>
3008 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
3009 bug 365 (don't break before insets unless needed). Don't
3010 return a value > last under any circumstances.
3012 2003-03-09 Angus Leeming <leeming@lyx.org>
3014 * BufferView_pimpl.C (trackChanges, dispatch): call
3015 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
3017 2003-03-09 Angus Leeming <leeming@lyx.org>
3019 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
3020 than Dialogs::showAboutlyx().
3022 2003-03-09 Angus Leeming <leeming@lyx.org>
3024 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
3025 than Dialogs::showTabularCreate().
3027 2003-03-09 John Levon <levon@movementarian.org>
3031 * text2.C: 3rd arg to nextBreakPoint was always the same.
3034 2003-03-08 John Levon <levon@movementarian.org>
3041 * text2.C: Remove the "main" bit from the "main body"
3044 2003-03-08 John Levon <levon@movementarian.org>
3046 * text.C (leftMargin): The left margin of an empty
3047 manual label paragraph should not include the label width
3050 * text.C (prepareToPrint): don't attempt to measure hfills
3051 for empty manual label paragraphs - the answer should be 0
3053 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3055 * CutAndPaste.C: remove commented code and reindent.
3057 2003-03-08 John Levon <levon@movementarian.org>
3060 * lyxfunc.C: move reloadBuffer()
3063 * BufferView.C: to here
3065 * lyxvc.C: add comment
3068 * vc-backend.C: call bv->reload() to avoid
3069 getStatus() check on MENURELOAD
3071 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
3073 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
3074 to an old format .dep file.
3076 2003-03-07 Angus Leeming <leeming@lyx.org>
3078 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
3079 when the LFUN_MOUSE_RELEASE should have been handled by
3080 inset->localDispatch.
3082 2003-03-07 Angus Leeming <leeming@lyx.org>
3084 * BufferView_pimpl.C (dispatch):
3085 * LyXAction.C (init):
3086 * ToolbarDefaults.C (init):
3088 * lyxfunc.C (getStatus):
3089 remove LFUN_INSET_GRAPHICS.
3091 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
3093 2003-03-07 Angus Leeming <leeming@lyx.org>
3096 * LyXAction.C (init):
3097 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
3099 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
3102 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
3104 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
3105 localDispatch method LFUN_INSET_DIALOG_UPDATE.
3107 2003-03-07 Angus Leeming <leeming@lyx.org>
3109 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
3112 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3114 * ParagraphList.C (front): new function
3117 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3119 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
3120 and top_row_offset_. removed var first_y.
3122 * text2.C (LyXText, removeRow):
3124 * BufferView_pimpl.C:
3125 use these methods instead of using first_y
3127 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3129 * text2.C (pasteSelection): adjust for checkPastePossible
3131 * CutAndPaste.C: remove Paragraph * buf and replace with
3132 ParagraphList paragraphs.
3133 (DeleteBuffer): delete
3134 (cutSelection): change the tc type to textclass_type
3135 (copySelection): change the tc type to textclass_type
3136 (copySelection): adjust for ParagraphList
3137 (pasteSelection): change the tc type to textclass_type
3138 (pasteSelection): adjust for Paragraphlist
3139 (nrOfParagraphs): simplify for ParagraphList
3140 (checkPastePossible): simplify for ParagraphList
3141 (checkPastePossible): remove unused arg
3143 * ParagraphList.C (insert): handle the case where there are no
3146 * CutAndPaste.h: make CutAndPaste a namespace.
3148 * text3.C (dispatch): adjust
3150 * text.C (breakParagraph): add a ParagraphList as arg
3152 * paragraph_funcs.C (breakParagraph): change to take a
3153 BufferParams and a ParagraphList as args.
3154 (breakParagraphConservative): ditto
3155 (mergeParagraph): ditto
3156 (TeXDeeper): add a ParagraphList arg
3157 (TeXEnvironment): ditto
3160 * buffer.C (readLyXformat2): adjust
3161 (insertStringAsLines): adjust
3162 (latexParagraphs): adjust
3164 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
3165 (cutSelection): adjust
3166 (pasteSelection): adjust
3168 * BufferView_pimpl.C (insertInset): adjust
3170 2003-03-05 Angus Leeming <leeming@lyx.org>
3173 * LyXAction.C (init):
3174 * BufferView_pimpl.C (dispatch):
3175 * lyxfunc.C (getStatus):
3176 remove LFUN_CHILD_INSERT.
3178 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
3180 2003-03-05 Angus Leeming <leeming@lyx.org>
3183 * LyXAction.C (init):
3184 * src/factory.C (createInset):
3185 * lyxfunc.C (getStatus):
3186 * text3.C (dispatch):
3187 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
3189 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
3191 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3193 * ParagraphList.C (insert): handle insert right before end()
3194 (erase): fix cases where it can be first or last paragraph.
3196 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3198 * paragraph_funcs.C (TeXEnvironment): remove all usage of
3199 Paragraph::next and Paragraph::previous
3202 * text.C (breakParagraph): adjust
3204 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
3205 BufferParams& as arg.
3206 (breakParagraph): use ParagraphList::insert
3207 (breakParagraphConservative): take a Buffer* instead of a
3208 BufferParams& as arg.
3209 (breakParagraphConservative): use ParagraphList::insert.
3211 * buffer.C (insertStringAsLines): un-const it
3212 (insertStringAsLines): adjust
3214 * ParagraphList.C (insert): new function
3216 * CutAndPaste.C (pasteSelection): adjust
3218 * text.C (backspace): adjust
3220 * tabular.C (SetMultiColumn): adjust
3222 * CutAndPaste.C (cutSelection): adjust
3223 (pasteSelection): adjust
3225 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
3226 Buffer const * as arg
3228 * ParagraphList.C (erase): new function
3229 * paragraph_funcs.C (mergeParagraph): use it
3230 (mergeParagraph): make it take a Buffer* instead of a
3231 BufferParams* as arg
3233 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
3235 (breakParagraphConservative): ditto
3237 * paragraph.h: remove the breakParagraph friend
3239 * paragraph.C (eraseIntern): new function
3240 (setChange): new function
3242 * paragraph_funcs.C (mergeParagraph): make it take a
3243 ParagraphList::iterator instead of a Paragraph *, adjust
3246 * paragraph.h: move an #endif so that the change tracking stuff
3247 also works in the NO_NEXT case.
3249 2003-03-04 Angus Leeming <leeming@lyx.org>
3252 * LyXAction.C: new LFUN_INSET_MODIFY.
3254 * BufferView_pimpl.C (dispatch): if an inset is found to be open
3255 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
3257 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3259 * several files: ws changes only
3261 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
3262 (TeXEnvironment): ditto
3265 * buffer.C (makeLaTeXFile): adjust
3266 (latexParagraphs): make it take ParagraphList::iterator as args
3268 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3270 * buffer.C (latexParagraphs): adjust
3272 * paragraph.C (TeXOnePar): move function...
3273 (optArgInset): move function...
3274 (TeXEnvironment): move function...
3275 * paragraph_pimpl.C (TeXDeeper): move function...
3276 * paragraph_funcs.C: ...here
3278 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
3280 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3282 * buffer.C (readInset): remove compability code for old Figure and
3285 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3287 * buffer.C: ws changes
3290 * BufferView_pimpl.C: ditto
3293 * bufferlist.h: ditto
3297 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3299 * converter.[Ch]: split into itself +
3302 * Makefile.am: += graph.[Ch] + format.[Ch]
3309 * lyxrc.C: added #include "format.h"
3311 2003-02-27 Angus Leeming <leeming@lyx.org>
3313 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
3316 * factory.C (createInset): add "label" to the factory.
3318 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
3319 string and do no more.
3321 2003-02-27 Angus Leeming <leeming@lyx.org>
3324 * LyXAction.C (init):
3325 * factory.C (createInset):
3326 * BufferView_pimpl.C (dispatch):
3327 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3329 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
3331 * lyxfunc.C (dispatch):
3332 * text3.C (dispatch): pass name to params2string.
3334 2003-02-26 Angus Leeming <leeming@lyx.org>
3336 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
3338 Rearrange the ~includes. Strip out the unnecessary ones.
3340 * factory.C (createInset): reformat.
3341 create new insets for the various LFUN_XYZ_APPLY lfuns.
3343 2003-02-26 John Levon <levon@movementarian.org>
3346 * lyxrow.C: add isParStart,isParEnd helpers
3348 * paragraph.h: make isInserted/DeletedText take refs
3350 * paragraph_funcs.h:
3351 * paragraph_funcs.C: remove #if 0'd code
3356 * text.C: use lyxrow helpers above.
3357 Move draw and paint routines to RowPainter.
3358 Make several methods use refs not pointers.
3359 Make backgroundColor() const.
3360 Add markChangeInDraw(), isInInset().
3361 Merge changeRegionCase into changeCase.
3362 Make workWidth() shouldn't-happen code into an Assert.
3365 * rowpainter.C: new class for painting a row.
3368 * vspace.C: make inPixels take a ref
3370 2003-02-26 Angus Leeming <leeming@lyx.org>
3372 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
3375 2003-02-25 John Levon <levon@movementarian.org>
3377 * ispell.C: give the forked command a more accurate name
3379 2003-02-22 John Levon <levon@movementarian.org>
3382 * toc.C: make TocItem store an id not a Paragraph *
3385 2003-02-21 Angus Leeming <leeming@lyx.org>
3387 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
3388 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
3389 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
3390 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
3391 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
3392 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
3394 * BufferView_pimpl.C (dispatch):
3395 * LyXAction.C (init):
3396 * factory.C (createInset):
3397 * lyxfunc.C (getStatus, dispatch):
3398 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
3400 2003-02-21 Angus Leeming <leeming@lyx.org>
3402 * BufferView_pimpl.C (MenuInsertLyXFile):
3403 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3404 * lyxfunc.C (menuNew, open, doImport):
3405 no longer pass a LyXView & to fileDlg.
3407 2003-02-21 Angus Leeming <leeming@lyx.org>
3409 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
3410 * LyXAction.C: change, BIBKEY to BIBITEM.
3411 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
3412 Change InsetBibKey to InsetBibitem.
3413 Change BIBKEY_CODE to BIBITEM_CODE.
3414 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3415 * factory.C: replace insetbib.h with insetbibitem.h.
3416 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3417 * paragraph.C: replace insetbib.h with insetbibitem.h.
3418 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
3419 Change bibkey() to bibitem().
3420 * text.C: remove insetbib.h.
3421 * text2.C: replace insetbib.h with insetbibitem.h.
3422 change bibkey() to bibitem().
3423 * text3.C: remove insetbib.h.
3424 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3426 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3428 * lyxrc.C (output): enclose user email in quotes (in case there are
3431 2003-02-18 John Levon <levon@movementarian.org>
3433 * buffer.h: add std::
3435 2003-02-17 John Levon <levon@movementarian.org>
3441 * pspell.C: reworking. Especially in ispell, a large
3442 number of clean ups and bug fixes.
3444 * lyxfunc.C: fix revert to behave sensibly
3446 2003-02-17 André Pönitz <poenitz@gmx.net>
3449 * commandtags.h: new LFUN_INSERT_BIBKEY
3459 * paragraph_func.C: remove special bibkey handling
3461 2003-02-17 John Levon <levon@movementarian.org>
3463 * text.C (Delete): fix case where delete at the end of
3464 the very first paragraph would not merge the pars
3466 2003-02-17 John Levon <levon@movementarian.org>
3468 * lyxrow.C: fix lastPrintablePos()
3470 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3472 * bufferparams.C (writeLaTeX): add a std:here
3474 * buffer.C: and remove a using directive there
3476 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3478 * buffer.C (makeLaTeXFile): move the code that generates the
3481 * bufferparams.C (writeLaTeX): ... in this new method
3483 * LaTeXFeatures.C (getEncodingSet): make const
3484 (getLanguages): make const
3486 * MenuBackend.C (binding): returns the binding associated to this
3488 (add): sets the status of each item by calling getStatus. Adds
3490 (read): add support for OptSubMenu
3491 (expand): remove extra separator at the end of expanded menu
3493 2003-02-15 John Levon <levon@movementarian.org>
3496 * BufferView_pimpl.C:
3498 * bufferlist.C: remove pointless BufferStorage bloat. Remove
3499 inset code that had no actual effect. Remove unneeded status
3502 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3504 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
3507 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
3509 * text.C (drawLengthMarker): also draw an arrow marker for
3510 symbolic lengths (medskip...)
3512 2003-02-14 John Levon <levon@movementarian.org>
3515 * tabular.C: better method names
3517 2003-02-14 John Levon <levon@movementarian.org>
3519 * BufferView_pimpl.C:
3524 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3525 it's a more accurate name. Remove some pointless uses.
3527 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3529 * text2.C (LyXText): change order of initilizers to shut off
3532 2003-02-14 John Levon <levon@movementarian.org>
3534 * buffer.C: use ParIterator for getParFromID()
3538 * paragraph_pimpl.h:
3539 * paragraph_pimpl.C: remove unused getParFromID()
3541 2003-02-14 John Levon <levon@movementarian.org>
3543 * buffer.C: remove some very old #if 0'd parse code
3545 2003-02-13 John Levon <levon@movementarian.org>
3549 * text2.C: move hfillExpansion(), numberOfSeparators(),
3550 rowLast(), rowLastPrintable(), numberofHfills(),
3551 numberOfLabelHfills() ...
3554 * lyxrow.C: ... to member functions here.
3559 * text.C: remove LyXText::beginningOfMainBody(), and call
3560 p->beginningOfMainBody() directly. Move the check for
3561 LABEL_MANUAL into the latter.
3568 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3574 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3575 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3577 2003-02-13 John Levon <levon@movementarian.org>
3579 * CutAndPaste.C: remove debug
3581 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3583 * paragraph.C (asString): remove two unused variables
3585 * lyxtextclass.C (readTitleType):
3587 (LyXTextClass): handle new members titletype_ and titlename_
3589 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3591 2003-02-09 John Levon <levon@movementarian.org>
3594 * buffer.C: replace hand-coded list with a map for the dep clean
3596 2003-02-08 John Levon <levon@movementarian.org>
3598 * LaTeX.C: consolidate code into showRunMessage() helper
3600 2003-02-08 John Levon <levon@movementarian.org>
3605 * BufferView.C: change setSelectionOverString() to setSelectionRange()
3606 and pass the size in explicitly
3608 * BufferView_pimpl.h:
3609 * BufferView_pimpl.C:
3611 * BufferView.C: add getCurrentChange()
3613 * BufferView_pimpl.h:
3614 * BufferView_pimpl.C: handle change lfuns
3616 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3617 for changes. Mark pasted paragraphs as new.
3619 * support/lyxtime.h:
3620 * support/lyxtime.C:
3621 * DepTable.C: abstract time_t as lyx::time_type
3624 * LColor.C: add colours for new text, deleted text, changebars
3626 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3627 package use "usenames" option.
3631 * LyXAction.C: add change lfuns
3635 * author.C: author handling
3638 * buffer.C: add a per-buffer author list, with first entry as
3639 current author. Handle new .lyx tokens for change tracking. Output
3640 author list to .lyx file. Output dvipost stuff to .tex preamble.
3641 Bump lyx format to 222.
3644 * bufferlist.C: add setCurrentAuthor() to reset current author details
3648 * bufferparams.C: add param for tracking
3650 * bufferview_funcs.C: output change info in minibuffer
3654 * changes.C: add change-tracking structure
3657 * debug.C: add CHANGES debug flag
3660 * lyxfind.C: add code for finding the next change piece
3663 * lyxrc.C: add user_name and user_email
3666 * lyxrow.C: add a metric for the top of the text line
3669 * text.C: implement accept/rejectChange()
3672 * text.C: paint changebars. Paint new/deleted text in the chosen
3673 colours. Strike through deleted text.
3677 * paragraph_pimpl.h:
3678 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3679 in the current change to the insert functions. Rework erase to
3680 mark text as deleted, adding an eraseIntern() and a range-based
3681 erase(). Implement per-paragraph change lookup and
3684 * paragraph_funcs.C: Fixup paste for change tracking.
3686 * tabular.C: mark added row/columns as new.
3688 * text.C: fix rowLast() to never return -1. Don't allow
3689 spellchecking of deleted text. Track transpose changes. Don't
3690 allow paragraph break or merge where appropriate.
3692 * text2.C: leave cursor at end of selection after a cut.
3694 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3696 * text.C (getLengthMarkerHeight):
3697 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3698 visible on screen too.
3700 2003-02-07 John Levon <levon@movementarian.org>
3702 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3704 2003-02-05 Angus Leeming <leeming@lyx.org>
3706 * lyxserver.C (read_ready): revert my patch of 11 September last year
3707 as it sends PC cpu through the roof. Presumably this means that
3708 the lyxserver will no longer run on an Alpha...
3710 2003-01-30 Angus Leeming <leeming@lyx.org>
3712 * factory.C (createInset): create an InsetCommandParam of type "index"
3713 and use it to 'do the right thing'.
3715 * text2.C (getStringToIndex): ensure that cursor position is always
3716 reset to the reset_cursor position.
3718 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3720 * lyxfunc.C (getStatus): "buffer-export custom" should never be
3723 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3727 * lyxfunc.C: Output messages with identical spelling, punctuation,
3730 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
3732 * MenuBackend.C (expandFormats): List only viewable export formats
3735 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3738 * lyxfunc.C (getStatus): Make sure that formats other than
3739 "fax" can also be disabled
3741 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3743 * text3.C (dispatch): put the lfuns that insert insets in 3
3744 groups, and call doInsertInset with appropriate arguments.
3745 (doInsertInset): new function, that creates an inset and inserts
3746 it according to some boolean parameters.
3748 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3750 * buffer.C (readFile): remember to pass on 'par' when calling
3751 readFile recursively.
3753 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3755 * MenuBackend.C (expandFormats): add "..." to import formats.
3757 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
3759 * paragraph.C (asString): Remove XForms RTL hacks.
3761 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
3762 * buffer.C: fix typo
3764 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3766 * Makefile.am (LIBS): delete var
3767 (lyx_LDADD): add @LIBS@ here instead.
3769 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
3771 * Clarify the meaning of "wheel mouse jump"
3773 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3775 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3778 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3780 * importer.C (Loaders): do not preallocate 3 elements in the
3781 vector, since one ends up with 6 elements otherwise
3783 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3785 * DepTable.C (write): write the file name as last element of the
3786 .dep file (because it may contain spaces)
3787 (read): read info in the right order
3789 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3791 * paragraph_pimpl.C (simpleTeXBlanks):
3792 (simpleTeXSpecialChars):
3793 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3795 * tabular.C (latex): add some missing case statements. Reindent.
3797 * MenuBackend.C (expandToc): remove unused variable.
3799 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3808 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3811 2003-01-05 John Levon <levon@movementarian.org>
3814 * BufferView.C: add getEncoding()
3817 * kbsequence.C: do not store last keypress
3820 * lyxfunc.C: store last keypress here instead. Pass encoding
3823 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3825 * lyx_main.C (init): remove annoying error message when following
3826 symbolic links (bug #780)
3828 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3830 * text.C (insertChar):
3831 * lyxrc.C (getDescription): remove extra spaces
3833 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3835 * lyxrc.C (getDescription): remove extra spaces
3837 2002-12-20 John Levon <levon@movementarian.org>
3839 * text3.C: hack fix for page up/down across tall rows
3841 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3843 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3846 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3848 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3849 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3850 thesaurus is not compiled in
3852 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3854 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
3856 2002-12-16 Angus Leeming <leeming@lyx.org>
3859 * lyx_main.C (init): remove override_x_deadkeys stuff.
3861 2002-12-12 John Levon <levon@movementarian.org>
3863 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3864 insert. Only remove shift modifier under strict
3867 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3869 * MenuBackend.C (expandToc): fix crash.
3871 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3873 * MenuBackend.C (expandToc): gettext on float names.
3875 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3877 * lyxlength.[Ch]: set default unit to UNIT_NONE,
3878 implement bool empty() [bug 490]
3880 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3882 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3884 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3886 * several files: ws changes
3888 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3890 * text2.C (setCounter): clean up a bit, use boost.format.
3891 (updateCounters): initialize par upon declaration.
3893 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3894 if the layout exists. We do not just store the layout any more.
3895 (SwitchLayoutsBetweenClasses): use boost.format
3897 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3899 * converter.C (convert): if from and to files are the same, use a
3900 temporary files as intermediary
3902 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3905 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3907 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
3909 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3911 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3913 * tabular.C (asciiPrintCell): use string(size, char) instead of
3916 * sgml.C (openTag): fix order of arguments to string constructor
3919 * lyxfunc.C (dispatch): use boost.format
3921 * lots of files: change "c" -> 'c'
3923 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
3925 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3927 2002-11-25 Angus Leeming <leeming@lyx.org>
3929 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3931 * lyx_main.C (init): compile fix.
3933 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3935 * lyx_cb.C (start): boost.formatify
3936 do not include <iostream>
3938 * lengthcommon.C: ws only
3940 * boost-inst.C,BoostFormat.h: add more explict instantations
3942 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3944 * lots of files: handle USE_BOOST_FORMAT
3946 2002-11-21 John Levon <levon@movementarian.org>
3948 * pspell.C: fix compile
3950 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3952 * lyxfunc.C (dispatch): use boost::format
3956 * lyxfont.C (stateText): use boost::format
3958 * lyx_main.C (LyX): use boost::format
3960 (queryUserLyXDir): ditto
3963 (typedef boost::function): use the recommened syntax.
3965 * importer.C (Import): use boost::format
3967 * debug.C (showLevel): use boost::format
3969 * converter.C (view): use boost::format
3974 * bufferview_funcs.C (currentState): use boost::format
3976 * bufferlist.C (emergencyWrite): use boost::format
3978 * buffer.C (readLyXformat2): use boost::format
3979 (parseSingleLyXformat2Token): ditto
3981 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
3983 * LaTeX.C (run): use boost::format
3985 * Chktex.C (scanLogFile): use boost::format
3987 * BufferView_pimpl.C (savePosition): use boost::format
3988 (restorePosition): ditto
3989 (MenuInsertLyXFile): ditto
3991 * BoostFormat.h: help file for explicit instation.
3993 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3995 * tabular.C (latex): Support for block alignment in fixed width
3998 2002-11-17 John Levon <levon@movementarian.org>
4000 * BufferView_pimpl.C:
4002 * lyxfunc.C: split filedialog into open/save
4004 2002-11-08 Juergen Vigna <jug@sad.it>
4006 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
4007 by my last patch (hopefully).
4009 2002-11-08 John Levon <levon@movementarian.org>
4018 * toc.C: ParConstIterator, and use it (from Lars)
4020 2002-11-07 Ben Stanley <bds02@uow.edu.au>
4022 * lyxtextclass.[Ch]: revise and add doxygen comments
4024 2002-11-07 John Levon <levon@movementarian.org>
4026 * text.C: fix progress value for spellchecker
4028 * toc.C: fix navigate menu for insetwrap inside minipage
4030 * paragraph_funcs.C: added FIXME for suspect code
4032 2002-11-07 John Levon <levon@movementarian.org>
4034 * BufferView_pimpl.C: fix redrawing of insets
4037 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4039 * text2.C (updateCounters): fix bug 668
4041 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
4043 * text3.C (dispatch): Do not make the buffer dirty when moving the
4046 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4048 * vc-backend.C: STRCONV
4051 * text2.C (setCounter): STRCONV
4053 * paragraph.C (asString): STRCONV
4055 * lyxlength.C (asString): STRCONV
4056 (asLatexString): ditto
4058 * lyxgluelength.C (asString): STRCONV
4059 (asLatexString): ditto
4061 * lyxfunc.C (dispatch): STRCONV
4064 * lyxfont.C (stateText): STRCONV
4066 * importer.C (Import): STRCONV
4068 * counters.C (labelItem): STRCONV
4069 (numberLabel): ditto
4070 (numberLabel): remove unused ostringstream o
4075 * bufferview_funcs.C (currentState): STRCONV
4077 * buffer.C (readFile): STRCONV
4078 (asciiParagraph): ditto
4079 (makeLaTeXFile): ditto
4081 * Spacing.C (writeEnvirBegin): STRCONV
4083 * LaTeXFeatures.C (getLanguages): STRCONV
4084 (getPackages): ditto
4086 (getBabelOptions): ditto
4087 (getTClassPreamble): ditto
4088 (getLyXSGMLEntities): ditto
4089 (getIncludedFiles): ditto
4093 (scanAuxFile): ditto
4096 * LString.h: add the STRCONV macros
4098 * BufferView_pimpl.C (savePosition): STRCONV
4099 (restorePosition): ditto
4100 (MenuInsertLyXFile): ditto
4102 * vc-backend.C (scanMaster): change from submatch[...] to
4105 * funcrequest.C: include config.h
4107 * factory.C: include config.h
4109 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
4111 * box.C: include config.h
4113 * LaTeX.C (scanAuxFile): change from submatch[...] to
4117 2002-10-25 Angus Leeming <leeming@lyx.org>
4119 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
4121 * ispell.[Ch] (setError): new method.
4122 * ispell.C (c-tor): move out child process into new class LaunchIspell.
4123 Use setError() insetead of goto END.
4125 * lyx_cb.C (AutoSave): move out child process into new class
4128 2002-10-30 John Levon <levon@movementarian.org>
4130 * text3.C: make start appendix undoable
4132 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
4134 * lyxlength.C (inPixels): Fix returned value.
4136 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
4139 2002-10-24 Angus Leeming <leeming@lyx.org>
4141 * lyxgluelength.h: no need to forward declare BufferParams
4142 or BufferView, so don't.
4144 2002-10-21 John Levon <levon@movementarian.org>
4146 * BufferView.C: menuUndo ->undo, redo
4148 * BufferView.h: document, remove dead, make some methods private
4150 * paragraph_funcs.h:
4151 * paragraph_funcs.C:
4152 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
4157 * sgml.C: move sgml open/close tag into sgml.C
4159 * bufferview_funcs.h: unused prototype
4162 * lyxfunc.C: remove unused
4165 * text.C: remove unused
4167 2002-10-21 John Levon <levon@movementarian.org>
4171 * BufferView_pimpl.h:
4172 * BufferView_pimpl.C: fix mouse wheel handling based on
4173 patch from Darren Freeman
4175 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
4177 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
4179 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
4181 * lyxlength.C (inPixels): Fix hanfling of negative length.
4182 Fix LyXLength::MU case.
4184 2002-10-16 John Levon <levon@movementarian.org>
4186 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
4188 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4190 * converter.C (view): add support for $$i (file name) and $$p
4191 (file path) for the viewer command. If $$i is not specified, then
4192 it is appended to the command (for compatibility with old syntax)
4194 2002-10-14 Juergen Vigna <jug@sad.it>
4196 * undo_funcs.C (textHandleUndo): alter the order in which the
4197 new undopar is added to the LyXText, as we have to set first
4198 the right prev/next and then add it as otherwise the rebuild of
4199 LyXText is not correct. Also reset the cursor to the right paragraph,
4200 with this IMO we could remove the hack in "redoParagraphs()".
4202 2002-10-09 Angus Leeming <leeming@lyx.org>
4204 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
4205 to turn off an optimisation if a new inset is to be inserted.
4207 2002-10-11 André Pönitz <poenitz@gmx.net>
4209 * lyxtext.h: make some functions public to allow access
4210 from inset/lyxtext for handling LFUN_PRIOR/NEXT
4212 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4214 * text3.C (dispatch): when changing layout, avoid an infinite loop
4217 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4219 * lyxrc.C (read): treat a viewer or converter command of "none" as
4222 * MenuBackend.C (expandFormats): for an update, also allow the
4223 formats that are not viewable
4225 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
4226 script if it is newer than the lyxrc.defaults in user directory
4228 2002-10-07 André Pönitz <poenitz@gmx.net>
4230 * text.C: Vitaly Lipatov's small i18n fix
4232 2002-09-25 Angus Leeming <leeming@lyx.org>
4234 * ispell.h: doxygen fix.
4236 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
4238 * buffer.h (readFile): Add a new argument to the method, to allow
4239 reading of old-format templates.
4241 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4243 * toc.C (getTocList): Get TOC from InsetWrap.
4245 2002-09-16 John Levon <levon@movementarian.org>
4247 * lyxfunc.C: check tabular for cut/copy too
4249 2002-09-12 John Levon <levon@movementarian.org>
4254 * factory.C: add header
4256 * paragraph_funcs.h:
4257 * paragraph_funcs.C: cleanup
4259 2002-09-11 John Levon <levon@movementarian.org>
4261 * PrinterParams.h: odd/even default to true
4263 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4265 * PrinterParams.h: update printer parameters for new xforms dialog
4267 2002-09-11 Angus Leeming <leeming@lyx.org>
4269 * lyxserver.C (read_ready): re-write to make it more transparent
4270 and to make it work in coherent fashion under Tru64 Unix.
4272 2002-09-11 André Pönitz <poenitz@gmx.net>
4276 * text3.C: implement LFUN_WORDSEL
4278 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4280 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
4281 make floatlist_ a boost::shared_ptr<FloatList>
4283 * lyxtextclass.C: include FloatList.h
4284 (LyXTextClass): initialize floatlist_
4285 (TextClassTags): add TC_NOFLOAT
4286 (Read): match "nofloat" to TC_NOFLOAT and use it.
4287 (readFloat): modify call to floatlist_
4291 * FloatList.[Ch] (FloatList): remove commented out float
4293 (erase): new function
4295 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4297 * MenuBackend.C (expandToc): fix crash when there is no document
4300 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
4302 * many files: Add insetwrap.
4304 2002-09-09 John Levon <levon@movementarian.org>
4306 * text2.C: remove confusing and awkward depth wraparound
4308 2002-09-09 John Levon <levon@movementarian.org>
4310 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
4313 * buffer.C: remove getIncludeonlyList()
4316 * lyxfunc.C: remove headers
4318 2002-09-09 Juergen Vigna <jug@sad.it>
4320 * text.C (getColumnNearX): fix form Michael this is most
4321 probably a cut&paste bug.
4323 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4325 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
4327 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
4328 references, ws changes.
4330 * text2.C (init): update counters after init
4331 (insertParagraph): no need to set counter on idividual paragraphs.
4332 (setCounter): access the counters object in the textclass object
4333 on in the buffer object.
4334 (updateCounters): ditto
4336 * lyxtextclass.C: include counters.h, add variable ctrs_ as
4337 shared_ptr<Counters> to avoid loading counters.h in all
4339 (LyXTextClass): initialize ctrs_
4340 (TextClassTags): add TC_COUNTER, and ...
4341 (Read): use it here.
4342 (CounterTags): new tags
4343 (readCounter): new function
4344 (counters): new funtion
4345 (defaultLayoutName): return a const reference
4347 * counters.C (Counters): remove contructor
4348 (newCounter): remove a couple of unneeded statements.
4349 (newCounter): simplify a bit.
4350 (numberLabel): some small formatting changes.
4352 * buffer.[Ch]: remove all traces of counters, move the Counters
4353 object to the LyXTextClass.
4355 2002-09-06 Alain Castera <castera@in2p3.fr>
4357 * tabular.C: uses \tabularnewline; uses >{...} construct from array
4358 package to set the horizontal alignment on fixed width columns.
4361 * lyx_sty.h: added tabularnewline macro def.
4363 * LaTeXFeatures.C: added NeedTabularnewline macro feature
4365 2002-09-06 John Levon <levon@movementarian.org>
4367 * LyXAction.C: tooltips for sub/superscript
4369 * MenuBackend.C: a bit more verbose
4371 * lyxfunc.C: tiny clean
4373 * undo_funcs.C: document undo_frozen
4375 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4377 * counters.C (Counters): add missing algorithm counter.
4379 * text2.C (setCounter): lookup the counter with layouts latexname
4380 instead of by section number.
4381 (setCounter): use a hackish way to lookup the correct enum
4383 a float name->type change
4384 reset enum couners with counter name directly instead of depth value.
4386 * counters.C (Counters): remove the push_backs, change to use the
4387 float type not the float name.
4388 (labelItem): remove unused string, float name->type change
4390 * counters.h: don't include vector, loose the enums and sects vectors
4392 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4394 * lyxtextclass.C (TextClassTags): add TC_FLOAT
4395 (Read): add float->TC_FLOAT to textclassTags
4396 (Read): and handle it in the switch
4397 (readFloat): new function
4399 * FloatList.C (FloatList): comment out the hardcoded float
4402 * lyxlayout.h: ws change.
4404 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
4406 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
4408 2002-09-03 Angus Leeming <leeming@lyx.org>
4410 * BufferView_pimpl.h: qualified name is not allowed in member
4411 declaration: WorkArea & Pimpl::workarea() const;
4413 * factory.C: added using std::endl directive.
4415 * text3.C: added using std::find and std::vector directives.
4417 2002-08-29 André Pönitz <poenitz@gmx.net>
4420 * text2.C: remove unused member number_of_rows
4423 * BufferView2.C: remove file, move contents to...
4424 * BufferView.C: ... here
4426 * BufferView_pimpl.C:
4427 * factory.C: move more inset creation to factory
4429 * vspace.C: avoid direct usage of LyXText, ws changes
4432 don't provide direct access to WorkArea, use two simple
4433 acessors haveSelction() and workHeight() instead
4436 2002-08-29 John Levon <levon@movementarian.org>
4438 * BufferView_pimpl.C (dispatch): do not continue when
4441 2002-08-28 André Pönitz <poenitz@gmx.net>
4443 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
4446 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
4448 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4450 * buffer.C: increment LYX_FORMAT to 221
4452 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
4453 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
4455 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
4457 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
4459 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4461 * factory.C (createInset): use LyXTextClass::floats
4463 * MenuBackend.C (expandFloatListInsert):
4464 (expandFloatInsert):
4467 * text2.C (setCounter):
4469 * LaTeXFeatures.C (useFloat):
4470 (getFloatDefinitions):
4472 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
4474 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
4475 floatlist_, with accessor floats().
4477 * FloatList.h: remove global FloatList
4479 2002-08-26 André Pönitz <poenitz@gmx.net>
4481 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
4485 * BufferView_pimpl.C:
4486 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
4488 2002-08-25 John Levon <levon@movementarian.org>
4490 * LyXAction.C: fix margin note description
4492 2002-08-24 John Levon <levon@movementarian.org>
4496 * bufferview_funcs.C:
4498 * undo_funcs.C: cleanups
4500 * lyxfunc.C: disable CUT/COPY when no selection
4502 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4504 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
4505 in "enum UNIT"; e.g. PTW for Percent of TextWidth
4507 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
4508 Add backward compatibility to "mono", "gray" and "no".
4510 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
4512 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
4513 (and file_format >= 200).
4515 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4517 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
4519 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4521 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4523 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
4525 * BufferView_pimpl.C:
4532 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4533 inset and code to make it work with the paragraph code. The inset
4534 can be anywhere in the paragraph, but will only do the expected
4535 thing in LaTeX if the layout file contains the parameter line
4537 (or more generally, a nonzero value) for that layout.
4539 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4541 * paragraph.h: remove the declaration of undefined counters class
4544 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
4546 * text2.C (setCounter): fixed enumeration mis-count as reported by
4547 Dr. Richard Hawkins.
4549 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4551 * paragraph_funcs.h: remove some unneeded includes
4553 * text.C (backspace): pasteParagraph now in global scipe
4555 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
4556 (pasteSelection): ditto
4558 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4559 * paragraph_funcs.C (pasteParagraph): ... here
4561 2002-08-20 André Pönitz <poenitz@gmx.net>
4563 * commandtags.h: new LFUNs for swapping/copying table row/colums
4566 * lyxfunc.C: support for new lfuns
4568 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4571 * buffer.[Ch]: remove NO_COMPABILITY stuff
4573 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
4575 * boost.C (throw_exception): new file, with helper function for
4576 boost compiled without exceptions.
4581 * ParameterStruct.h:
4582 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4584 * bufferlist.C (emergencyWriteAll): use boost bind
4586 * BufferView_pimpl.C (moveCursorUpdate): remove inline
4588 * text.C: include paragraph_funcs.h
4589 (breakParagraph): breakParagraph is now in global scope
4591 * paragraph_funcs.[Ch]: new files
4593 * paragraph.C (breakParagraph,breakParagraphConservative): move to
4596 * buffer.C: include paragraph_funcs.h
4597 (insertStringAsLines): breakParagraph is now in global scope
4599 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4602 * CutAndPaste.C: include paragraph_funcs.h
4603 (cutSelection): breakParagraphConservative is now in global scope
4604 (pasteSelection): ditto
4606 * buffer.h: declare oprator== and operator!= for
4607 Buffer::inset_iterator
4609 * bufferlist.C (emergencyWrite): don't use fmt(...)
4611 * text3.C: add using std::endl
4613 * BufferView.C (moveCursorUpdate): remove default arg
4615 2002-08-20 André Pönitz <poenitz@gmx.net>
4617 * buffer.[Ch]: move inline functions to .C
4620 * BufferView_pimpl.C:
4622 * buffer.[Ch]: use improved inset_iterator
4625 * paragraph.[Ch]: write one paragraph at a time
4627 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
4629 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4630 style if style is not specified.
4632 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4634 * text2.C (setCounter): when searching for right label for a
4635 caption, make sure to recurse to parent insets (so that a caption
4636 in a minipage in a figure float works) (bug #568)
4638 2002-08-20 André Pönitz <poenitz@gmx.net>
4640 * text3.C: new file for LyXText::dispatch() and helpers
4642 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4644 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4646 2002-08-19 André Pönitz <poenitz@gmx.net>
4649 * text.C: new LyXText::dispatch()
4651 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4653 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
4655 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4657 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4660 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4662 * Makefile.am: use $(variables) instead of @substitutions@
4664 2002-08-15 André Pönitz <poenitz@gmx.net>
4667 * BufferView_pimpl.C: streamlining mathed <-> outer world
4671 * LyXAction.C: remove unused LFUN_MATH
4673 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4675 * paragraph.[Ch]: add some NO_NEXT ifdefs.
4677 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4679 * paragraph.C (Paragraph): reformat a bit
4680 (cutIntoMinibuffer): use builtin InsetList function instad of
4684 * buffer.C: include boost/bind.hpp, add using std::for_each
4685 (writeFileAscii): use ParagraphList iterators
4686 (validate): use for_each for validate traversal of paragraphs
4687 (getBibkeyList): use ParagraphList iterators
4688 (resizeInsets): use for_each to resizeInsetsLyXText for all
4690 (getParFromID): use ParagraphList iterators
4692 * BufferView2.C (lockInset): use paragraph list and iterators
4694 2002-08-14 John Levon <levon@movementarian.org>
4696 * lyxserver.C: remove spurious xforms include
4698 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4700 * lyxfunc.C (getStatus): disable math-extern outside of math mode
4702 2002-08-13 André Pönitz <poenitz@gmx.net>
4705 * lyxfunc.C: further cleaning
4707 2002-08-13 André Pönitz <poenitz@gmx.net>
4709 * funcrequest.h: new constructor
4711 * funcrequest.C: move stuff here from .h
4714 * BufferView_pimpl.C:
4717 * lyxfunc.C: subsequent changes
4719 * lyxfunc.h: new view() member function
4721 * lyxfunc.C: subsequent changes
4723 2002-08-13 Angus Leeming <leeming@lyx.org>
4726 * BufferView_pimpl.C:
4734 changes due to the changed LyXView interface that now returns references
4735 to member variables not pointers.
4737 2002-08-13 Angus Leeming <leeming@lyx.org>
4739 * WordLangTuple (word, lang_code): return references to strings,
4744 * lyxtext.h: forward-declare WordLangTuple.
4749 * text.C: #include "WordLangTuple.h".
4752 * text.C: (selectNextWordToSpellcheck): constify return type.
4754 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
4760 * paragraph_pimpl.h:
4763 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4765 Made updateCounter always count from start of buffer, and removed
4766 second argument (par).
4767 Reverted floats number display to '#'. Perhaps I'll try again when the
4768 code base is sanitized a bit.
4770 2002-08-12 Angus Leeming <leeming@lyx.org>
4772 * buffer.[Ch] (getLabelList): constify.
4774 2002-08-07 André Pönitz <poenitz@gmx.net>
4776 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4778 * funcrequest.h: extension to keep mouse (x,y) position
4780 2002-08-12 Juergen Vigna <jug@sad.it>
4782 * BufferView2.C (insertErrors): forbid undo when inserting error
4785 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4787 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4789 * ParagraphList.[Ch]: new files
4791 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4793 * BufferView2.C (lockInset): ParagraphList changes
4796 * bufferlist.C: ditto
4800 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4802 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4803 unused class variable counter_,
4805 * paragraph.[Ch] (getFirstCounter): delete unused function
4807 * counters.C: include LAssert.h
4808 (reset): add a new function with no arg, change other version to
4809 not have def. arg and to not allow empty arg.
4811 * text2.C (setCounter): remove empty arg from call to Counters::reset
4813 2002-08-11 John Levon <levon@movementarian.org>
4815 * Makefile.am: add WordLangTuple.h
4817 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4819 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4820 lyxfunc.C lyxlex_pimpl.C: ws changes only.
4822 * insets/insettext.C: InsetList changes
4824 * graphics/GraphicsSupport.C (operator()): InsetList changes
4826 * toc.C (getTocList): InsetList changes
4828 * paragraph_pimpl.[Ch]: InsetList changes
4830 * paragraph.[Ch]: InsetList changes
4832 * buffer.C (inset_iterator): InsetList changes
4833 (setParagraph): ditto
4834 * buffer.h (inset_iterator): ditto
4835 * iterators.C (operator++): ditto
4836 * iterators.h: ditto
4838 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4840 * InsetList.[Ch]: new files, most InsetList handling moved out of
4843 * BufferView2.C (removeAutoInsets): InsetList changes
4845 (ChangeInsets): ditto
4847 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4849 * paragraph_pimpl.h (empty): new function
4851 * paragraph.[Ch] (empty): new function
4853 * other files: use the new Paragraph::empty function
4855 2002-08-09 John Levon <levon@movementarian.org>
4857 * lyxtext.h: remove unused refresh_height
4859 2002-08-09 John Levon <levon@movementarian.org>
4866 * paragraph.C: move sgml char escaping out of paragraph
4869 * paragraph.C: remove id setter
4873 * paragraph_pimpl.C: remove dead tex_code_break_column
4875 * bufferview_funcs.C: small cleanup
4877 * lyxfunc.C: remove dead proto
4879 * lyxtext.h: make some stuff private. Remove some dead stuff.
4881 * lyxgluelength.C: make as[LyX]String() readable
4883 2002-08-08 John Levon <levon@movementarian.org>
4888 * ToolbarDefaults.C:
4891 * toc.C: lyxaction cleanup
4893 2002-08-08 John Levon <levon@movementarian.org>
4895 * BufferView2.C: small cleanup
4898 * lyxfind.C: move unnecessary header into the .C
4900 2002-08-08 John Levon <levon@movementarian.org>
4902 * funcrequest.h: just tedious nonsense
4905 * lyx_main.C: cleanups
4908 * vspace.C: remove dead header lyx_main.h
4910 2002-08-07 Angus Leeming <leeming@lyx.org>
4913 * paragraph_pimpl.h:
4914 Forward declare class Counters in paragraph.h by moving the ctrs member
4915 variable into Paragraph::Pimpl.
4916 (counters): new method, returning a reference to pimpl_->ctrs.
4918 * text2.C: ensuing changes.
4920 2002-08-07 John Levon <levon@movementarian.org>
4922 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4924 * BufferView_pimpl.C: announce X selection on double/triple
4927 * lyx_main.C: use correct bool in batch dispatch
4929 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4931 2002-08-07 André Pönitz <poenitz@gmx.net>
4933 * funcrequest.h: new class to wrap a kb_action and its argument
4936 * BufferView_pimpl[Ch]:
4940 * lyxrc.C: subsequent changes
4943 2002-08-07 John Levon <levon@movementarian.org>
4945 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4946 document options change.
4948 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4953 * makefile.am: move counters functionality over from
4954 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
4956 2002-08-06 John Levon <levon@movementarian.org>
4958 * WordLangTuple.h: new file for word + language code tuple
4969 * BufferView2.C: use WordLangTuple
4972 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
4974 2002-08-06 John Levon <levon@movementarian.org>
4976 * lyx_main.C: fix cmdline batch handling
4978 2002-08-06 André Pönitz <poenitz@gmx.net>
4980 * lyxrc.C: set default for show_banner to true
4982 2002-08-06 John Levon <levon@movementarian.org>
4984 * pspell.C: fix a crash, and allow new aspell to work
4986 2002-08-06 John Levon <levon@movementarian.org>
4989 * kbmap.C: small cleanup
4992 * vspace.C: add const
4994 2002-08-05 John Levon <levon@movementarian.org>
4996 * LyXAction.C: back to tabular-insert
4998 2002-08-04 John Levon <levon@movementarian.org>
5001 * BufferView.C: cosmetic change
5003 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
5013 * BufferView2.C: purge all "Lyx" not "LyX" strings
5016 * lyxcursor.C: attempt to add some documentation
5021 * ToolbarDefaults.C:
5022 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
5023 merge with LFUN_TABULAR_INSERT
5030 * pspell.C: split up i/pspell implementations into separate
5031 files, many cleanups
5033 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
5035 * text2.C: some cleanup
5037 * lyxfunc.C: don't check for isp_command == "none" any more, it
5038 didn't make any sense
5040 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5045 * makefile.am: move counters functionality over
5046 from text2.C/paragraph.[Ch] to counters.[Ch], and
5048 2002-08-02 John Levon <levon@movementarian.org>
5050 * buffer.C: s/lyxconvert/lyx2lyx/
5052 2002-08-02 Angus Leeming <leeming@lyx.org>
5054 * lyxlex.C: revert John's change as it breaks reading of the user
5057 2002-08-02 Angus Leeming <leeming@lyx.org>
5059 * importer.C (Import):
5060 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
5061 changes due to LyXView::view() now returning a boost::shared_ptr.
5063 2002-08-02 John Levon <levon@movementarian.org>
5065 * lyxlex.C: small cleanup
5067 2002-08-02 John Levon <levon@movementarian.org>
5069 * text2.C (status): small cleanup, no logic change
5071 2002-08-01 John Levon <levon@movementarian.org>
5074 * buffer.C (writeFile): don't output alerts, caller
5078 * lyx_cb.C: from above
5080 * lyxfunc.C: allow to open non-existent files
5082 2002-07-31 John Levon <levon@movementarian.org>
5084 * lyxserver.C: don't let incidental errors get
5087 2002-07-30 John Levon <levon@movementarian.org>
5089 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
5091 2002-07-30 John Levon <levon@movementarian.org>
5094 * lyxserver.C: remove I/O callback too
5096 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5098 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
5101 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5103 * many files: strip,frontStrip -> trim,ltrim,rtrim
5105 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5107 * PrinterParams.h: remove extern containsOnly, and include
5108 support/lstrings.h instead.
5110 * LaTeX.C (scanAuxFile): modify because of strip changes
5112 * buffer.C (makeLaTeXFile): ditto
5113 * bufferparams.C (writeFile): ditt
5114 * lyxfont.C (stateText): ditto
5115 * lyxserver.C (read_ready): ditto
5116 * vc-backend.C (scanMaster): ditto
5118 * BufferView_pimpl.h: ws changes
5120 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
5122 2002-07-26 André Pönitz <poenitz@gmx.net>
5124 * kb_sequence.C: remove unnedred usings
5126 2002-07-26 Juergen Vigna <jug@sad.it>
5128 * lyxfind.C (LyXReplace): we have to check better if the returned
5129 text is not of theLockingInset()->getLockingInset().
5131 2002-07-25 Juergen Vigna <jug@sad.it>
5133 * lyxfind.C (LyXReplace): don't replace if we don't get the
5136 * undo_funcs.C (createUndo): remove debugging code.
5138 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
5140 * buffer.C (parseSingleLyXformat2Token): Use default placement
5141 when reading old floats.
5143 * FloatList.C (FloatList): Change the default placement of figure
5144 and tables to "tbp".
5146 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
5148 * MenuBackend.C: using std::max
5150 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5152 * MenuBackend.C (expandToc):
5153 (expandToc2): code moved from xforms menu frontend. It is now
5154 generic and TOCs are transparent to menu frontends.
5156 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5158 * toc.C (getTocList): protect against buf=0
5160 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
5161 Menu as first parameter. Now, this calls itself recursively to
5162 expand a whole tree (this will be useful for TOC handling)
5163 (expandFloatInsert): remove 'wide' version of floats
5165 * MenuBackend.h (submenuname): returns the name of the submenu.
5166 (submenu): returns the submenu itself, provided it has been
5167 created by MenuBackend::expand
5169 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5171 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
5172 insets which have noFontChange == true. (bug #172)
5174 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5176 * BufferView_pimpl.C: add connection objects and use them...
5179 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5181 * MenuBackend.C (expandLastfiles):
5184 (expandFloatListInsert):
5185 (expandFloatInsert):
5186 (expand): split expand in parts
5188 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5190 * lyx_gui.C: use lyx_gui::exit()
5192 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5194 * LyXAction.C: show the failing pseudo action
5196 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
5198 * buffer.C (readFile): Run the lyxconvert script in order to read
5201 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5205 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
5207 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5211 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
5213 2002-07-22 Herbert Voss <voss@lyx.org>
5216 * lyxlength.[Ch]: add support for the vertical lengths
5218 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
5220 * toc.[Ch]: std:: fixes
5222 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5224 * lyxrc.C: do not include lyx_main.h
5226 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
5232 * BufferView2.C: include "lyxlex.h"
5235 * bufferparams.h: do not #include "lyxlex.h"
5237 * lyxtextclasslist.C (Add): remove method
5238 (classlist): renamed to classlist_
5240 * paragraph_pimpl.C:
5244 * bufferview_funcs.C:
5249 * toc.C (getTocList): use BufferParams::getLyXTextClass
5251 * toc.C (getTocList): use InsetFloat::addToToc
5253 * toc.[Ch]: new files, containing helper functions to handle table
5256 * lyxfunc.C (dispatch): no need to remove spaces around command
5258 (getStatus): handle LFUN_SEQUENCE by returning the status of the
5259 first command of the sequence; it is not very clever, but I do not
5260 have a better idea, actually
5262 * LyXAction.C (LookupFunc): make sure to remove space at the
5263 beginning and end of the command
5265 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5267 * MenuBackend.C (getMenubar): new method: return the menubar of
5269 (read): treat differently reading of menu and menubar (in
5270 particular, the menubar has no name now)
5271 (Menu::menubar): remove
5273 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
5276 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5278 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
5279 a bibitem inset in a RTL paragraph.
5281 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
5283 * paragraph_pimpl.C: constify
5285 * BufferView_pimpl.C:
5287 * lyxfunc.C: fix dispatch in a nicer way
5289 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5291 * lyxfunc.C (dispatch):
5292 * BufferView_pimpl.C:
5293 * BufferView_pimpl.h:
5295 * BufferView.h: rename Dispatch() to dispatch()
5297 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
5299 * lyxlayout.C (Read): honor DependsOn tag
5301 * lyxlayout.[Ch] (depends_on): new method
5303 * version.C.in: update lyx_docversion
5305 * LaTeXFeatures.C (getMacros): only define \LyX when needed
5307 * paragraph.C (validate): remove from here...
5308 * paragraph_pimpl.C (validate): ... and move here
5309 (isTextAt): make it const
5311 * buffer.C (getLists): ws cleanup
5313 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5315 * language.C (read): Use iso8859-1 encoding in latex_lang
5316 (this prevents LyX from crashing when using iso10646-1 encoding).
5318 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5320 * text2.C (toggleInset): if cursor is inside an inset, close the
5321 inset and leave cursor _after_ it
5323 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5325 * lyxfunc.C: move minibuffer completion handling out of here
5327 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5329 * BufferView_pimpl.C:
5330 * LaTeX.C: fix dispatch calls
5332 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
5334 * text.C (drawChars): Fix Arabic text rendering.
5336 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
5340 * lyxfunc.C: remove message-push/pop
5344 * lyxfunc.C: rationalise some code by removing verboseDispatch
5345 in favour of a bool argument to dispatch()
5347 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5349 * lyx_main.C (init): make sure to read symlinks as absolute paths
5351 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5354 * lyxfunc.C: no need for commandshortcut to be a member
5356 2002-07-15 André Pönitz <poenitz@gmx.net>
5358 * converter.C: add support for $$s (scripts from lib/scripts dir)
5359 * lyx_main.C: white space
5361 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5365 * lyxrc.C: remove second exit confirmation
5367 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5372 * BufferView_pimpl.h:
5373 * BufferView_pimpl.C:
5374 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
5376 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5378 * MenuBackend.C (expand): add numeric shortcuts to document menu
5380 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
5382 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5384 * lyxfont.C (setLyXFamily):
5391 * buffer.C (asciiParagraph): use ascii_lowercase
5393 2002-07-15 Mike Fabian <mfabian@suse.de>
5395 * lyxlex_pimpl.C (search_kw):
5396 * lyxlex.C (getLongString):
5397 * converter.h (operator<):
5398 * converter.C (operator<):
5399 * buffer.C (parseSingleLyXformat2Token):
5401 * ToolbarDefaults.C (read):
5402 * MenuBackend.C (checkShortcuts):
5404 * LColor.C (getFromGUIName):
5405 (getFromLyXName): use the compare_ascii_no_case instead of
5406 compare_no_case, because in turkish, 'i' is not the lowercase
5407 version of 'I', and thus turkish locale breaks parsing of tags.
5409 2002-07-16 Angus Leeming <leeming@lyx.org>
5411 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
5412 now takes a Buffer const & argument.
5414 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
5416 * BufferView.C (resize): check there's a buffer to resize
5418 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
5420 * lyxfunc.C: remove dead code
5423 * lyxserver.C: use lyx_guii::set_read_callback
5425 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
5427 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
5428 an inset in a RTL paragraph.
5430 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5432 * lyxfunc.C: repaint after a font size update
5434 2002-07-15 André Pönitz <poenitz@gmx.net>
5436 * lyxlength.C: inBP should be able to return negative values
5438 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5440 * lyxfunc.C: use lyx_gui::update_fonts()
5442 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5444 * lyxfunc.C: use lyx_gui::update_color()
5446 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5452 * lyxrc.C: remove file->new asks for name option, and let
5453 buffer-new take an argument
5455 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5457 * BufferView_pimpl.C: remove unneeded extra repaint()
5459 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
5461 * LyXAction.C: allow command-sequence with NoBuffer
5463 * lyxfunc.C: don't insist on trailing ';' for command-sequence
5465 2002-07-10 Angus Leeming <leeming@lyx.org>
5467 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
5469 2002-07-09 Angus Leeming <leeming@lyx.org>
5471 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
5473 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5475 * lengthcommon.h: whitespace
5477 * lyxfunc.C: update scrollbar after goto paragraph
5479 * lyxtext.h: factor out page break drawing, and fix it so
5480 page break/added space paints as selected nicely
5482 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5484 * BufferView_pimpl.C: add FIXMEs, clean up a little
5486 2002-07-09 André Pönitz <poenitz@gmx.net>
5488 * lyxfont.[Ch]: support for wasy symbols
5490 2002-07-08 André Pönitz <poenitz@gmx.net>
5492 * BufferView_pimpl.C: apply John's patch for #93.
5494 2002-07-05 Angus Leeming <leeming@lyx.org>
5496 * BufferView_pimpl.C (buffer): generate previews if desired.
5498 * LColor.h: add "preview" to the color enum.
5500 * LColor.C (LColor): add a corresponding entry to the items array.
5502 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
5505 2002-07-05 Angus Leeming <leeming@lyx.org>
5507 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
5508 The body of the code is now in the method that is passed an ostream &
5509 rather than a file name.
5510 Pass an additional only_preamble parameter, useful for the forthcoming
5513 2002-07-03 André Pönitz <poenitz@gmx.net>
5515 * lyxfunc.C: simplify getStatus() a bit for math stuff
5517 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5519 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5521 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5523 * text.C (changeRegionCase): do not change case of all the
5524 document when region ends at paragraph end (bug #461)
5526 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5528 * paragraph.C (startTeXParParams):
5529 (endTeXParParams): add \protect when necessary
5531 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5533 * BufferView_pimpl.C (workAreaExpose): remove warning
5535 2002-06-27 Angus Leeming <leeming@lyx.org>
5537 * Makefile.am: add lyxlayout_ptr_fwd.h.
5539 2002-06-26 André Pönitz <poenitz@gmx.net>
5541 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
5543 2002-06-25 Angus Leeming <leeming@lyx.org>
5545 * lyxfunc.C (dispatch): Comment out the call to
5546 grfx::GCache::changeDisplay. The method no longer exists now that the
5547 pixmap generation part of the graphics loader has been moved into
5550 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5552 * text2.C: layout as layout
5554 * text.C: layout as layout
5556 * tabular.C (OldFormatRead): layout as layout
5558 * paragraph_pimpl.C (TeXDeeper): layout as layout
5559 (realizeFont): layout as layout
5561 * paragraph.C (writeFile): layout as layout
5562 (validate): layout as layout
5563 (getFont): layout as layout
5564 (getLabelFont): layout as layout
5565 (getLayoutFont): layout as layout
5566 (breakParagraph): layout as layout
5567 (stripLeadingSpaces): layout as layout
5568 (getEndLabel): layout as layout
5569 (getMaxDepthAfter): layout as layout
5570 (applyLayout): layout as layout
5571 (TeXOnePar): layout as layout
5572 (simpleTeXOnePar): layout as layout
5573 (TeXEnvironment): layout as layout
5574 (layout): layout as layout
5575 (layout): layout as layout
5577 * lyxtextclass.C (compare_name): new functor to work with
5578 shared_ptr, layout as layout
5579 (Read): layout as layout
5580 (hasLayout): layout as layout
5581 (operator): layout as layout
5582 (delete_layout): layout as layout
5583 (defaultLayout): layout as layout
5585 * lyxlayout_ptr_fwd.h: new file
5587 * lyxlayout.C (Read): layout as layout
5589 * lyx_cb.C (MenuInsertLabel): layout as layout
5591 * bufferlist.C (newFile): layout as layout
5593 * buffer.C (readLyXformat2): layout as layout
5594 (parseSingleLyXformat2Token): layout as layout
5595 (insertStringAsLines): layout as layout
5596 (asciiParagraph): layout as layout
5597 (latexParagraphs): layout as layout
5598 (makeLinuxDocFile): layout as layout
5599 (simpleLinuxDocOnePar): layout as layout
5600 (makeDocBookFile): layout as layout
5601 (simpleDocBookOnePar): layout as layout
5602 (getLists): layout as layout
5604 * LaTeXFeatures.C (getTClassPreamble): layout as layout
5606 * CutAndPaste.C (cutSelection): layout as layout
5607 (pasteSelection): layout as layout
5608 (SwitchLayoutsBetweenClasses): layout as layout
5610 * BufferView_pimpl.C (Dispatch): layout as layout
5611 (smartQuote): layout as layout
5613 * BufferView2.C (unlockInset): layout as layout
5615 2002-06-24 André Pönitz <poenitz@gmx.net>
5617 * lyxfunc.C: fix #487
5619 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5623 * lyxfunc.C: remove display_shortcuts, show_banner
5625 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5627 * Buffer_pimpl.C: oops, update on resize
5629 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5636 * BufferView.C: use repaint()
5638 * BufferView_pimpl.h:
5639 * BufferView_pimpl.C: s/updateScreen()/repaint()/
5640 as it's a clearer description. Remove superfluous
5643 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5645 * text.C: fix bug 488. Not ideal, but getting
5646 getWord() to work properly for the insets that
5647 matter is more difficult ...
5649 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5651 * BufferView_pimpl.C:
5654 * lyxfunc.C: remove the six million index lyxfuncs to just
5655 one, and DTRT (bug 458)
5657 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5661 * BufferView_pimpl.h:
5662 * BufferView_pimpl.C: clean up resize() stuff,
5663 and unnecessary updateScreen()s
5665 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5669 * BufferView_pimpl.h:
5670 * BufferView_pimpl.C:
5673 * minibuffer.C: remove focus management of workarea,
5674 not needed. Use screen's greyOut()
5676 2002-06-17 Herbert Voss <voss@lyx.org>
5678 * converter.C: (convert) do not post a message, when converting
5679 fails, let the calling function decide what to do in this case
5681 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
5683 * lyxfunc.C: tidy up a little
5685 2002-06-16 <alstrup@diku.dk>
5687 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5688 Got rid of FORMS_H_LOCATION include. Now we are
5691 2002-06-15 LyX Development team <lyx@rilke>
5693 * buffer.[Ch] (sgmlOpenTag):
5694 (sgmlCloseTag): Added support for avoiding pernicious mixed
5695 content. Return number of lines written.
5698 (makeDocBookFile): Fixed calls to sgml*Tag.
5699 Simple white space clean.
5701 (simpleDocBookOnePar): Simple white space clean.
5703 * tabular.[Ch] (docBook): Renamed to docbook and got another
5704 argument to related with the pernicious mixed content.
5706 (docbookRow): Fixed calls for docbook inset method.
5708 2002-06-15 Lyx Development team <larsbj@birdstep.com>
5710 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5711 so it's X11 independent.
5715 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5717 2002-06-15 Lyx Development team <lyx@electronia>
5719 * intl.h: Renamed getTrans to getTransManager.
5721 2002-06-14 Angus Leeming <leeming@lyx.org>
5723 * Makefile.am: nuke forgotten stl_string_fwd.h.
5725 2002-06-12 Angus Leeming <leeming@lyx.org>
5727 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5729 2002-06-13 Angus Leeming <leeming@lyx.org>
5732 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5734 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
5736 * kbmap.C (getiso): add support for cyrillic and greek
5738 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5742 * BufferView_pimpl.h:
5743 * BufferView_pimpl.C: move bogus scrolling logic
5746 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5749 * BufferView_pimpl.C: view->resize() change
5751 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5753 * BufferView_pimpl.C: topCursorVisible
5756 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5760 * lyx_gui.C: move to frontends/
5764 * lyx_main.C: changes from above
5766 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5773 * lyx_main.C: minor tidy
5775 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5777 * BufferView_pimpl.h:
5778 * BufferView_pimpl.C:
5780 * BufferView.C: make painter() const,
5783 * BufferView2.C: use screen() accessor
5786 * lyx_main.C: some minor cleanup
5788 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5790 * BufferView_pimpl.h:
5791 * BufferView_pimpl.C: remove enter/leaveView,
5794 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5799 * BufferView_pimpl.h:
5800 * BufferView_pimpl.C: only construct screen once,
5803 * lyxrc.C: remove pointless comment
5805 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5808 * BufferView.C: remove active() and belowMouse()
5810 * BufferView_pimpl.h:
5811 * BufferView_pimpl.C: use workarea() not workarea_,
5812 and make it use a scoped_ptr instead
5814 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5816 * lyx_gui.C: add debug message on BadWindow
5818 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5820 * sp_spell.C: fdopen is not part of the C++ standard.
5822 * paragraph.C (InsetIterator): use >= instead of ==
5824 2002-06-07 Angus Leeming <leeming@lyx.org>
5826 Fixes needed to compile with Compaq cxx 6.5.
5827 * BufferView_pimpl.C:
5834 * lyxtextclasslist.C:
5839 all c-library variables have been moved into namespace std. Wrap
5840 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5845 Add a using std::abs declaration.
5847 * kbmap.h (modifier_pair):
5848 * paragraph.h (InsetTable, InsetList):
5849 * lyxfont.h (FontBits):
5850 type definition made public.
5852 * bufferlist.C (emergencyWriteAll): the compiler complains that
5853 there is more than one possible lyx::class_fun template to choose from.
5854 I re-named the void specialisation as lyx::void_class_fun.
5856 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5858 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5859 the compiler is is unable to find tostr in write_attribute.
5861 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5863 * buffer.C (sgmlError): hide #warning
5865 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5867 * xtl/*: get rid of xtl, which is not in use anyway
5869 * LyXAction.C (init):
5870 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5871 were unimplemented xtl experimentation
5873 2002-06-04 André Pönitz <poenitz@gmx.net>
5875 * lyxfunc.C: disable array operation on simple formulae
5877 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
5879 * converter.C: constify a bit
5881 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
5883 * lyx_gui.C: check xforms version correctly
5885 2002-04-30 Herbert Voss <voss@lyx.org>
5887 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5890 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
5892 * lyxvc.C: fix bug 416 (make sure buffer is saved before
5893 attempt to register it with a VCS)
5895 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5897 * lyx_main.C (init): honor variables LYX_DIR_13x and
5900 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5904 * lyx_main.C: fix a crash on bad command line,
5905 and give a useful exit status on error
5907 * lyxfunc.C (doImport): allow -i lyx to work
5909 2002-03-30 André Pönitz <poenitz@gmx.net>
5911 * lyxfunc.C: mathed font changes
5913 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5928 * trans_mgr.h: srcdocs, and some minor cleanups
5930 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5932 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5933 call getFont all the time)
5935 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5937 * switch from SigC signals to boost::signals
5939 2002-05-29 André Pönitz <poenitz@gmx.net>
5941 * paragraph_pimpl.C (getChar): don't call size() too often...
5943 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5945 * paragraph_pimpl.C (insertChar): do not try to update tables when
5946 appending (pos == size())
5948 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5949 in order to reduce drastically the number of comparisons needed to
5950 parse a large document
5952 2002-05-29 André Pönitz <poenitz@gmx.net>
5958 * textclasslist.[Ch]:
5959 * sp_ispell.h: whitespace change
5961 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5963 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
5964 lyxaction directly now.
5966 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
5970 * lyxvc.C: remove unused headers
5972 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5979 * undo_funcs.C: some cleanups. Use shared_ptr
5980 and a template for the undo stacks.
5982 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5984 * BufferView_pimpl.h:
5985 * BufferView_pimpl.C:
5992 * text2.C: use key_state/mouse_state
5994 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5996 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
5999 * chset.C: change include order
6000 (loadFile): use boost regex and get rid of LRegex and LSubstring
6002 * Makefile.am (BOOST_LIBS): new variable
6005 * LaTeX.C: change include order.
6006 (scanAuxFile): use boost regex and get rid of LRegex and
6010 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6015 * FontInfo.C: moved to frontends/xforms/
6018 * FontLoader.C: moved into frontends for GUIIzation
6023 * lyxfunc.C: changes from above
6025 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6027 * LColor.C: remove spurious X include
6029 * BufferView_pimpl.C:
6034 * text2.C: move font metrics to frontends/
6036 2002-05-24 Juergen Vigna <jug@sad.it>
6038 * undo_funcs.C (textHandleUndo): fix the cursor selection after
6039 setting the undo_cursor.
6041 * ParagraphParameters.h: include local includes first.
6043 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6045 * BufferView_pimpl.C:
6046 * BufferView_pimpl.h:
6050 * screen.C: move WorkArea into frontends/
6056 * BufferView2.C: move LyXScreen into frontends/
6060 * lyx_gui.C: move lyxlookup into frontends/xforms/
6062 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6065 * BufferView_pimpl.C:
6075 * bufferview_funcs.C:
6088 * vc-backend.C: move LyX/XFormsView into frontends/
6090 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6102 * text2.C: move Painter to frontends/
6104 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6106 * buffer.C: comment out some some code that depend upon lyx_format
6109 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
6110 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
6112 * buffer.h (NO_COMPABILITY): turn off compability
6114 * ColorHandler.C: include scoped_array.hpp
6116 * font.C: Use more specific smart_ptr header.
6119 * ShareContainer.h: ditto
6123 * BufferView_pimpl.h: ditto
6124 * ColorHandler.h: ditto
6126 * kbmap.C (defkey): change call to shared_ptr::reset
6128 2002-05-21 Juergen Vigna <jug@sad.it>
6130 * buffer.C (insertErtContents): fix to insert ert asis if it is
6131 non empty. Skip it completely if it contains only whitespaces.
6133 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
6135 * BufferView_pimpl.C:
6136 * BufferView2.C: clear selection on paste (bug 393)
6138 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6140 * DepTable.C: include ctime
6142 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
6144 * buffer.C (latexParagraphs): Add new argument (moving_arg).
6146 2002-05-14 Juergen Vigna <jug@sad.it>
6148 * text.C (breakParagraph): fixed function to honor the keepempty
6149 layout in the right maner and also to permit the right breaking
6150 algorithm on empty or non empyt keepempty paragraphs.
6152 * paragraph.C (breakParagraph): we have to check also if the par
6153 is really empty (!size()) for isempty otherwise we do the wrong
6156 2002-05-10 Juergen Vigna <jug@sad.it>
6158 * buffer.[Ch] : The following are only changes to the ert
6159 compatibility read reading old LaTeX layout and font stuff and
6160 convert it to ERTInsets.
6162 * buffer.h: added isErtInset().
6164 * buffer.C (struct ErtComp): add a fromlayout bool to check
6165 if we're inside a LaTeX layout.
6166 (isErtInset): new helper function.
6167 (insertErtContents): look for other ert insets before this one
6168 and insert the contents there, so that we don't have subsequent
6169 ERT insets with nothing between them. This way we create only one
6170 inset with multiple paragraphs. Also check if we don't insert only
6171 spaces ' ' as they are ignored anyway afterwards in the .tex file
6172 so if we have only spaces we will ignore this latex part in the
6174 (parseSingleLyXformat2Token \\layout): better compatibility when
6175 reading layout-latex stuff.
6176 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
6178 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
6179 stuff after reading the inset only get the information back from
6182 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
6184 * buffer.C (makeLaTeXFile): Put language options after loading babel.
6186 * LaTeXFeatures.C (getBabelOptions): New method.
6188 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6190 * BufferView_pimpl.C (Dispatch): work around missing argument for
6193 2002-05-08 Juergen Vigna <jug@sad.it>
6195 * text.C (leftMargin): handle paragraph leftindent.
6197 * paragraph.C (writeFile): write the new \\leftindent tag.
6198 (validate): handle leftindent code.
6199 (TeXEnvironment): handle paragraphleftindent code again.
6201 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
6203 * buffer.C (parseSingleLyXformat2Token): added compatibility code
6204 for paragrap_extra indent code and new token \\leftindent.
6205 (latexParagraphs): handle the leftindent as environment.
6207 * ParameterStruct.h: added leftindent support.
6209 * ParagraphParameters.C (leftIndent): added support functions for
6210 the paragraph left indent.
6212 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
6215 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
6217 * paragraph.C (isRightToLeftPar): Return false for a paragraph
6220 * text.C (computeBidiTables): No bidi in insetERT.
6222 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
6225 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6227 * version.C.in: pre 5
6229 2002-05-02 José Matos <jamatos@fep.up.pt>
6230 * buffer.C (makeDocBookFile): white space changes, add newline to
6232 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
6234 * tabular.C (docBook): fix typo.
6236 2002-05-03 Juergen Vigna <jug@sad.it>
6238 * screen.C (drawFromTo): recalculate the rowpointer if we had a
6239 change in LyXText as we can not be sure it was not freed.
6240 (drawOneRow): remove unused code.
6242 * text.C (drawInset): redo the calculation of the need_break_row as
6243 it could have a row which was already freed.
6244 (draw): look at the return value of drawInset and return false if
6245 it also returned false.
6246 (paintRowText): look at the return value of draw and return false if
6247 it also returned false.
6249 * lyxtext.h: added bool return type to drawInset() and draw() so that
6250 if we have a change in the row so that the rowbreak has to be redone
6251 we abort drawing as it will be called again.
6253 2002-05-02 Juergen Vigna <jug@sad.it>
6255 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
6256 a change in the maintext also if we're inside an inset.
6257 (Dispatch): set the cursor again after a break line and after the
6258 screen has been updated as it could be we're in a different row.
6260 * text2.C (fixCursorAfterDelete): check to make sure we don't request
6261 to set the cursor behind the pargraph with > size().
6262 (setCursor): check also for the same paragraph when checking where
6263 to put the cursor if we have a NFR inset.
6265 * buffer.C (parseSingleLyXformat2Token): move the compatibility
6266 parts of layout read further up as it still was in the wrong
6269 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6271 * screen.C (drawFromTo): change sine fullRebreak always return
6274 * buffer.C (parseSingleLyXformat2Token): reindent some
6276 * BufferView_pimpl.C (update): change since fullRebreak always
6278 (Dispatch): git rid of the last hardcoded "Standard"s.
6280 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6282 * text2.[Ch] (fullRebreak): make it return void now that we always
6285 2002-04-30 Juergen Vigna <jug@sad.it>
6287 * buffer.C (parseSingleLyXformat2Token): reset the font before the
6288 ert compatibility check for "latex" layout.
6290 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
6292 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
6293 minipages: use col% instead of p%, and also use the current font.
6294 (makeLaTeXFile): Fix use babel condition.
6295 (parseSingleLyXformat2Token): Correct font when reading old floats.
6297 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
6299 * BufferView_pimpl.C (Dispatch): Check that float type exists when
6300 inserting list of floats.
6302 2002-04-25 Herbert Voss <voss@lyx.org>
6304 * MenuBackend.C (expand): don't add the graphics extensions to the
6307 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6309 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
6310 non-existing layout, do not complain if it was the default layout
6311 of the original class (bug #342)
6313 2002-04-24 Juergen Vigna <jug@sad.it>
6315 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
6316 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
6318 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
6320 * buffer.C (getBibkeyList): If using \bibliography, return the
6321 option field with the reference itself. Enables us to provide natbib
6322 support when using \bibliography.
6324 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
6326 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
6328 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
6329 natbib is provided by the LaTeX class.
6331 2002-04-23 Juergen Vigna <jug@sad.it>
6333 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
6336 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
6338 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6340 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
6342 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
6343 ensuremath around textordmasculine, textordfeminine and
6346 2002-04-19 Juergen Vigna <jug@sad.it>
6348 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
6349 reinitializing the buffer otherwise row-dimensions may be wrong.
6350 (update): reset also the selection cursors if they do exits otherwise
6351 their x/y positions may be wrong.
6353 * text2.C (cursorDown): don't enter the inset if we came from a row
6354 above and are one row over the inset.
6356 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
6357 really leaving an inset.
6359 2002-04-18 Juergen Vigna <jug@sad.it>
6361 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
6362 of the selected paragraph does not have the selected layout also if
6365 * text2.C (setLayout): fixed bug which did not change last selected
6368 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
6369 changed the read and substituted \\end_float with \\end_inset!
6371 * BufferView_pimpl.C (cursorPrevious):
6372 (cursorNext): fixed to make it work with rows heigher than the work
6373 area without moving the cursor only the draw of the row.
6374 (workAreaMotionNotify): fix jumping over high rows.
6376 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6378 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
6381 2002-04-16 Juergen Vigna <jug@sad.it>
6383 * text2.C (setCursor): set also the irow().
6384 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
6386 (cursorDown): support for locking an inset if the x_fix value goes
6387 inside it. That way I can transverse insets too with cursor up/down.
6389 * lyxrow.h: added irow helper function same as other (i) functions.
6391 * BufferView_pimpl.C (cursorPrevious):
6392 (cursorNext): fixed for insets!
6394 2002-04-15 Juergen Vigna <jug@sad.it>
6396 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
6397 position otherwise it is wrong in some cases.
6399 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
6400 inside the inset before the call.
6402 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
6404 * buffer.[Ch] (getBibkeyList): make it const.
6406 2002-04-12 Juergen Vigna <jug@sad.it>
6408 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
6410 * text2.C (getCursorX): new helper function
6411 (setCursor): compute also ix_
6412 (setCursorFromCoordinates): set also ix.
6414 * lyxcursor.h: added ix_ and helper functions.
6416 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
6418 * buffer.C (insertStringAsLines): dont break paragraph if the this
6419 paragraph is inside an inset which does not permit it!
6421 * text.C (breakParagraph): honor keepempty flag and break the paragraph
6422 also with no chars on this paragraph.
6423 (paintRowText): only paint stuff if it's inside the workarea!
6425 * paragraph.C (breakParagraph): honor keepempty flag and break the
6426 paragraph always below not above.
6428 * BufferView2.C (unlockInset): update the paragraph layout on inset
6429 unlock as we changed paragraph in such a case.
6431 * lyxfind.C (LyXFind): clear the former selection if not found!
6433 * text2.C (insertInset): freeze Undo after setUndo so that it is not
6434 again called in insertChar().
6436 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
6437 an inset which uses the whole row!
6438 (rightMargin): ditto.
6439 (insertChar): force a rebreak if we inserted an inset!
6441 2002-03-28 Herbert Voss <voss@lyx.org>
6443 * lyxlength.[Ch]: add inBP() to get the right PS-point
6444 units (BigPoint). With inPixels we have rounding errors
6446 2002-04-11 Juergen Vigna <jug@sad.it>
6448 * text2.C (setCursorFromCoordinates): set iy to the right value.
6449 (setCursor): add check if row->previous exists!
6451 * buffer.C (parseSingleLyXformat2Token): reset font after read of
6452 an old float_type as this was the case in the old code!
6454 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
6456 * BufferView2.C (showLockedInsetCursor): use iy
6457 (fitLockedInsetCursor): ditto
6459 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
6460 locked insets as there we have the right value now.
6462 * lyxcursor.C: added iy_ variable and iy functions to set to the
6463 baseline of cursor-y of the locked inset.
6465 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
6466 (setCursor): fixed for insets which need a full row.
6468 * text.C (rowLastPrintable): don't ignore the last space when before
6469 an inset which needs a full row.
6470 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
6471 as last character of a row when before a inset which needs a full row.
6473 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6475 * version.C.in: update date
6477 * text2.C (fullRebreak): try to always return true and see what
6480 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6482 * MenuBackend.C (expand): use Floating::listName
6484 * FloatList.C (FloatList): add listName argument to the built-in
6487 * Floating.[Ch]: add listName member, which is the 'List of XXX'
6488 text associated with the float.
6490 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6492 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
6494 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6496 * ShareContainer.h: add a couple of missing typenames.
6498 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
6500 * lyxrc.C (getDescription): use _() correctly rather than N_().
6502 2002-03-28 Herbert Voss <voss@lyx.org>
6504 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
6505 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
6507 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6509 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
6510 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
6512 2002-03-29 Juergen Vigna <jug@sad.it>
6514 * lyxfunc.C (dispatch): add a missing fitCursor call.
6516 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
6517 it was scrolled by a cursor move, so return the bool status.
6519 * BufferView.C (fitCursor): return the bool flag also to the outside
6520 world as this is needed.
6522 * screen.C (toggleToggle): don't subtract the offset if it's positive.
6524 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6525 call the edit() as it is not needed (and wrong) IMO.
6526 (workAreaButtonPress): set the screen_first variable before evt.
6527 unlock the inset as this may change screen_first and then we have
6528 a wrong y position for the click!
6530 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6532 * MenuBackend.C (expand): another translation that I missed
6534 2002-03-28 Juergen Vigna <jug@sad.it>
6536 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6538 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6540 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6542 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
6544 * MenuBackend.C (expand): fix export/view/update when there is no
6547 2002-03-27 Herbert Voss <voss@lyx.org>
6549 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
6552 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6554 * bufferview_funcs.C (currentState): only show paragraph number
6555 for is DEVEL_VERSION is set.
6557 * lyxfunc.C (dispatch): put warning in INFO channel
6559 * MenuBackend.C (expand): translate the name of floats
6561 * FloatList.C (FloatList): mark the float names for translation
6563 * converter.C (convert): use LibScriptSearch
6565 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6567 * MenuBackend.C (defaults): fix default menu (we might as well get
6570 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6572 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6575 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6577 * lyxvc.C: reorder includes.
6579 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
6581 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6584 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
6586 * CutAndPaste.C: change layouts earlier on paste
6587 to avoid crashing when calling getFont()
6589 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
6591 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6594 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6596 * WorkArea.C: remove 'Pending' debug message.
6598 * most files: ws cleanup
6600 * buffer.[Ch]: ws changes
6602 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6604 2002-03-21 Juergen Vigna <jug@sad.it>
6606 * tabular.C (SetMultiColumn): collapse also the contents of the
6607 cells and set the last border right. Added a Buffer const * param.
6609 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6611 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6614 2002-03-19 Juergen Vigna <jug@sad.it>
6616 * text2.C (clearSelection): reset also xsel_cache.
6618 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6619 where it needs to be called (John tells us to do so too :)
6620 (selectionLost): reset sel_cache.
6622 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6624 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6626 * text2.C (setCursorIntern): put debuging code in INSETS channel
6628 2002-03-19 André Pönitz <poenitz@gmx.net>
6630 * lyxfunc.C: tiny whitespace change
6632 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6634 * ToolbarDefaults.C (init):
6635 * LyXAction.C (init):
6637 * BufferView_pimpl.C (Dispatch):
6638 * lyxfunc.C (dispatch): remove LFUN_DEPTH
6640 2002-03-19 Allan Rae <rae@lyx.org>
6642 * exporter.C (Export): removeAutoInsets before doing anything else.
6643 While I've just introduced a dependency on BufferView this really is
6644 the best place to clean the buffer otherwise you need to cleanup in
6645 a dozen places before calling export or cleanup in a dozen functions
6648 * converter.C (runLaTeX):
6649 (scanLog): Better handling of removeAutoInsets and screen updates.
6651 * lyxfunc.C (dispatch): small whitespace changes
6653 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6655 * WorkArea.C (C_WorkAreaEvent): return a value.
6656 (event_cb): return 1 if we handled the event, 0 otherwise.
6658 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6660 2002-03-18 Juergen Vigna <jug@sad.it>
6662 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6663 (GetAdditionalWidth): ditto.
6667 * BufferView2.C (copy): use getLyXText() so that we do it inside an
6668 inset if we're there actually (probably not used right now but this
6669 is the direction to go for unifying code).
6670 (paste): disable code to clear the selection.
6672 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6673 inside an InsetText and move the check further up as it is in the
6676 * text2.C (pasteSelection): set a selection over the pasted text.
6678 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
6680 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6681 and libgraphics to build on Cygwin.
6683 2002-03-15 Juergen Vigna <jug@sad.it>
6685 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6686 inserting an Inset into the paragraph. I know this is not the best
6687 fix but we already use current_view in CutAndPaste so we will remove
6688 all of it's using at the same time.
6690 * buffer.C (sgmlError): deactivated function till it is rewritten in
6691 the right mode, now it can create problems.
6693 * paragraph.C (isLineSeparator): check if getInset returns != 0,
6694 before accessing it.
6696 2002-03-14 Juergen Vigna <jug@sad.it>
6698 * undo_funcs.C (textHandleUndo): do the right thing when updating
6699 the inset after the undo/redo.
6701 * text2.C (setCursor): just some testcode for #44 not ready yet.
6703 * undo_funcs.C (textHandleUndo): set the next() and previous()
6704 pointers of the paragraph to 0 before deleting otherwise we have
6705 problems with the Paragraph::[destructor].
6707 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6708 on a paragraph insertion.
6710 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6712 * buffer.C (asciiParagraph): use += operator for char append to
6715 * paragraph.C (getFontSettings): compare >= not just >
6716 (highestFontInRange): ditto
6719 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6721 * paragraph.C: change several algorithm to be more appripriate for
6722 the problem domain. This is lookip in FontList and in the InsetList.
6724 2002-03-13 André Pönitz <poenitz@gmx.net>
6727 * LyXAction.C: remove unused LFUN_MATH_MACROARG
6729 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
6734 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6736 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6738 * Painter.C (display): anon helper function, adjust code for this
6740 (pixmap): remove function.
6742 * Painter.h: remove private display variable.
6744 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6746 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
6748 * WorkArea.[Ch]: remove figinset_canvas cruft.
6750 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6752 * lyxtextclass.C (operator): add one item cache optimization.
6754 * bufferlist.h: doxy changes
6756 * bufferlist.C: ws changes
6758 * DepTable.[Ch] (ext_exist): place const in the right spot.
6760 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6762 (workAreaExpose): call resizeInsets when the with BufferView changes.
6763 (Dispatch): adjust for protectedBlank removal
6764 (specialChar): call updateInset if the insert went ok.
6766 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6767 specialChar instead.
6769 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6771 * BufferView.h: doxy change
6773 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6775 * lyxtextclass.C (operator[]): remove non-const version
6776 (defaultLayout): remove non-const version
6778 2002-03-12 Juergen Vigna <jug@sad.it>
6780 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6781 did resize the LyXText too.
6783 * buffer.C (readLyXformat2): set layout information on newly allocated
6786 * tabular.C (OldFormatRead): set layout information on the paragraph.
6788 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6790 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6792 2002-03-11 Juergen Vigna <jug@sad.it>
6794 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6796 (resizeCurrentBuffer): force also the insets to resize themselfes.
6797 (moveCursorUpdate): fixed up for InsetText.
6799 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
6802 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6803 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6804 value of Dialogs::tooltipsEnabled().
6805 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6807 2002-03-08 Juergen Vigna <jug@sad.it>
6809 * BufferView_pimpl.C (updateInset): update inset inside inset also
6810 if it isn't inside theLockingInset().
6812 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6814 * buffer.C (asciiParagraph): redo some of the word and line length
6816 (getLists): look for Caption instead of caption.
6818 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6820 * buffer.C (Buffer): initialize niceFile to true
6823 (makeDocBookFile): make sure niceFile is true on exit
6825 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6827 * buffer.C (makeLaTeXFile): escape ~ in \input@path
6829 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
6831 * LyXSendto.C: remove.
6832 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6833 * lyx_gui.C: remove now-redundant comment.
6834 * ColorHandler.h: remove forward declaration of class WorkArea.
6835 * lyxfunc.C: remove #include "WorkArea.h".
6837 2002-03-07 Juergen Vigna <jug@sad.it>
6839 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6840 got moved away with the DEPM and also set the inset_owner always
6841 right which before could have been omitted.
6843 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6845 * buffer.C (parseSingleLyXformat2Token): use default layout is the
6846 wanted layout is not found.
6848 2002-03-07 Juergen Vigna <jug@sad.it>
6850 * CutAndPaste.C (cutSelection): another layout settings forgotten.
6852 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6854 * paragraph.C (breakParagraph): use default layout not layout of
6856 (Paragraph): clear ParagraphParameters.
6858 2002-03-06 Juergen Vigna <jug@sad.it>
6860 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6861 otherwise it would not be a valid lenght. Fixed a special case in
6862 the minipage compatibility read where we end the document with a
6865 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6866 was set as it could be 0 for InsetTexts first entry.
6868 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6870 * paragraph.C (writeFile): if layout is empty write out
6871 defaultLayoutName().
6873 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6874 file without named layout we set layout to defaultLayoutName().
6876 2002-03-06 Juergen Vigna <jug@sad.it>
6878 * CutAndPaste.C (copySelection): set layout for new paragraph.
6880 * text.C (prepareToPrint): leave ERT inset left aligned
6881 (leftMargin): don't indent paragraphs inside ERT insets
6883 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6885 * paragraph.C (breakParagraph): dont call clear do the work manually
6887 * paragraph.[Ch] (clear): remove function
6889 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6891 * paragraph.C (Paragraph): dont call clear, the work has already
6894 * lyxtextclass.C (operator): assert if n is empty
6896 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6897 work manually instead.
6899 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6901 * BufferView_pimpl.C: protect selectionLost against text == 0
6903 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6905 * text.C (breakParagraph): fix a setting layout to '0' problem.
6907 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6909 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6910 final location of file, for the included files, and graphics.
6912 2002-03-05 Juergen Vigna <jug@sad.it>
6914 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6916 2002-03-04 Juergen Vigna <jug@sad.it>
6918 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6920 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6921 last column of multicolumn cells.
6922 (SetWidthOfMulticolCell): recalculate NMC and real columns.
6924 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
6926 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6927 file if it doesn't go to a temporary file.
6929 * buffer.C (sgmlOpenTag):
6930 (sgmlCloseTag): remove extra newline insertion.
6932 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6934 * text.C (getRowNearY): comment out debug msg
6936 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6938 * text2.C: first -> first_y
6940 * text.C (getRowNearY): add some attemts at a possible
6941 optimization, not working.
6943 * tabular.[Ch]: add BufferParams to several function so that newly
6944 created paragraph can be initialized to he default layotu for the
6947 * tabular-old.C (ReadOld): add buf->params to call of Init
6949 * screen.C: rename text->first to text->first_y
6951 * paragraph.C (breakParagraph): always set layout in the broken
6954 * lyxtextclass.C (Read): remove lowercase
6957 (delete_layout): ditto
6959 * lyxtext.h: rename first -> first_y
6961 * lyxlayout.C (Read): remove lowercase
6964 (obsoleted_by): ditto
6966 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
6968 * buffer.C (insertErtContents): add params are to InsetERT
6969 (parseSingleLyXformat2Token): add code to check if a paragraphs
6970 layout really exist.
6971 (parseSingleLyXformat2Token): add params to several inset
6973 (asciiParagraph): remove lowercase, do the layout comparisons with
6976 * BufferView_pimpl.C (cursorNext): first -> first_y
6977 (resizeCurrentBuffer): first -> first_y
6978 (updateScrollbar): first -> first_y
6979 (scrollCB): first -> first_y
6980 (workAreaMotionNotify): first -> first_y
6981 (workAreaButtonPress): first -> first_y
6982 (checkInsetHit): first -> first_y
6983 (cursorPrevious): first -> first_y
6984 (cursorNext): first -> first_y
6985 (Dispatch): add buffer_->params to severl inset contructors
6987 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6989 * lyxlayout.C (Read): remove some debug info that I forgot.
6991 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
6992 clean up the code slightly.
6993 (makeLinuxDocFile): ditto
6994 (makeDocBookFile): ditto
6996 * text2.C: layout as string
6998 * text.C: layout as string
7000 * paragraph_pimpl.C: layout as string
7002 * paragraph.[Ch]: layout as string
7004 * lyxtextclasslist.[Ch]: layout as string
7006 * lyxtextclass.[Ch]: layout as string
7008 * lyxtext.h: layout as string
7010 * lyxlayout.[Ch]: layout as string
7012 * lyx_cb.C: layout as string
7014 * bufferview_funcs.C: layout as string
7016 * bufferparams.C: layout as string
7018 * buffer.C: layout as string
7020 * LyXView.[Ch]: layout as string
7022 * LaTeXFeatures.[Ch]: layout as string
7024 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
7026 * BufferView_pimpl.C: change current_layout to string, remove
7031 (workAreaButtonRelease): layout as string
7033 * BufferView2.C (unlockInset): adjust
7035 * vspace.C (asLatexCommand): use an explict temp variable.
7037 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7039 * Makefile.am: use FRONTEND_*
7041 2002-03-01 Juergen Vigna <jug@sad.it>
7043 * tabular.C (SetWidthOfMulticolCell): changed to something better
7044 I hope but still work in progress.
7045 (recalculateMulticolumnsOfColumn): renamed function from
7046 recalculateMulticolCells as it is more appropriate now.
7047 (SetWidthOfCell): calculate multicols better.
7049 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7051 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
7053 * lyxfunc.C (processKeySym): print sequence also if it is
7054 `deleted' (complete)
7056 * kbsequence.C (print): print sequence even if it is deleted
7057 (complete would be a better word, actually).
7059 * lyxfunc.C (dispatch): print complete options after a prefix key
7061 * vspace.C (asLatexCommand): rewrite in a slightly different form.
7063 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
7065 * text2.C (setCharFont): eliminate setCharFont code duplication.
7067 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7069 * BufferView_pimpl.C (Dispatch): remove bogus handling of
7070 LFUN_TABULAR_FEATURE (bug #177)
7072 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
7074 * Makefile.am: remove figure.h
7076 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
7078 * Bufferview_pimpl.C:
7090 * text2.C: remove #include "lyx_gui_misc.h".
7092 * LaTeX.C: added #include <cstdio>
7094 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7096 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
7097 that the paragraph following this one can have.
7099 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
7101 * vspace.C (asLatexCommand): fix bogus gcc warning
7103 * Makefile.am (lyx_SOURCES): remove vms_defines.h
7105 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
7107 * text2.C (setLayout): get rid of redundant code
7109 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
7111 * text2.C (incDepth): make sure depth cannot be increased beyond
7114 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
7116 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
7117 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
7119 * PainterBase.h (image):
7120 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
7123 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7127 * BufferView_pimpl.C:
7128 * BufferView_pimpl.h:
7148 * sp_spell.C: remove fig inset, and the crap house of
7149 cards that follows it
7151 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7157 * nt_defines.h: move .h into support/
7159 * vms_defines.h: remove
7161 * WorkArea.C: add space in debug output
7165 * buffer.C: add WITH_WARNINGS
7169 * bufferlist.C: s/retrive/retrieve/, add docs
7180 * lyxgui.C: add ID to X error handler
7182 * lyxtestclass.c: fix typo
7184 2002-02-26 Juergen Vigna <jug@sad.it>
7186 * tabular_funcs.C (write_attribute): changed so that some default
7187 attributes are not written at all.
7188 (getTokenValue): set default values before trying to read the
7189 value so we have the return value always set as default if we don't
7190 find the token we search for.
7192 * tabular.C (Write): write bools as bools not as strings!
7194 2002-02-22 Juergen Vigna <jug@sad.it>
7196 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
7197 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
7199 * text.C (leftMargin): don't add an indent for paragraphs inside
7200 tabular cells (fix #208).
7202 2002-02-21 José Matos <jamatos@fep.up.pt>
7204 * tabular.C (docBook): fixed support for long tables.
7206 2002-02-20 Juergen Vigna <jug@sad.it>
7208 * text2.C (getFont): get the drawing font of the Inset if this
7209 paragraph is inside an inset (only important for InsetERT for now).
7211 * buffer.C (insertErtContents): use new lanugage params in ERT
7214 * CutAndPaste.C: commenting out seemingly uneeded code.
7216 2002-02-19 Allan Rae <rae@lyx.org>
7218 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
7219 Iterators might be simple to use but they also get invalidated.
7220 (removeAutoInsets): renamed saved cursor tracking variables and added
7221 some comments to clarify what everything does.
7223 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
7230 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
7231 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
7234 * vc-backend.h: remove #include "support/syscall.h"
7238 * converter.C: rearrange #includes in Lars' approved fashion.
7240 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
7241 forward declare class Timeout in the header file.
7243 * XFormsView.C: changes due to the above.
7245 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
7248 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
7249 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
7251 2002-02-18 José Matos <jamatos@fep.up.pt>
7253 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
7256 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7258 * a lot of small ws changes
7259 * add a lot of using std::XXX
7260 * use std construcs some places where approp.
7261 * use some exisint stuff from lyxfunctional where approp.
7262 * Make file changes to use partial linking (lets test this now...)
7264 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7268 remove #include "support/syscontr.h" as it's redundant. Always has been.
7276 change Systemcalls::System to Systemcalls::Wait and
7277 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
7278 No change of functionality, just reflects the stripped down Systemcalls
7281 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7283 * debug.[Ch]: add a GRAPHICS type to the enum.
7285 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7287 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
7289 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
7292 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7294 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
7295 match the changes below.
7297 * text2.C (toggleInset): if there is not editable inset at cursor
7298 position, try to see if cursor is _inside_ a collapsable inset
7301 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7303 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
7304 document menu has a nice checkbox
7306 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7308 * lyxlength.C (asLatexString): change PW to output as percent of
7311 * lengthcommon.C: change '%' to 't%'
7313 * lyxfunc.C (dispatch): a few comments from Martin
7315 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
7319 * BufferView_pimpl.h:
7320 * BufferView_pimpl.C: clear our selection when X tells us we've lost
7323 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7325 * vspace.C (inPixels): fix compiler warning
7327 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7329 * lyxfunc.C (getStatus): fix status message for disabled commands.
7331 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
7333 * BufferView_pimpl.C: fix crash on close buffer
7334 during selection (#227)
7336 2002-01-27 Herbert Voss <voss@lyx.org>
7338 * buffer.C: link old Figure to new graphic inset
7340 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
7342 * FontLoader.C (getFontinfo): Change the latex font names in order
7343 to match the names of type1inst.
7345 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7347 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
7349 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
7352 (remove_files_with_extension): ditto
7353 (remove_file): ditto
7356 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
7357 document is smaller than the work area height. Do not initialize
7358 static variables to 0.
7360 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7362 * lyx_gui.C (init): give the toolbar tooltips a normal font.
7364 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
7365 LFUN_LAYOUT_PARAGRAPHS.
7367 * tabular.C (GetCellFromInset): new method. Finds an inset in a
7368 tabular. It is possible to provide a possible cell, which will
7369 typically be the actcell from the corresponding insettabular
7371 * lyxfunc.C (getStatus): small cleanup; disable
7372 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
7375 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7377 * tabular.C (Validate): remove broken optimization (fixes bug #201)
7379 * paragraph.C (startTeXParParams):
7380 (endTeXParParams): new methods. The LaTeX code to
7381 start/end paragraph formatting
7382 (simpleTeXOnePar): call startTeXParParams also when paragraph is
7383 empty (fixes bug #200)
7385 * vspace.C (inPixels): adapt to the change below
7386 (inPixels): [later] more cleanups (remove unused variables)
7388 * lyxlength.C (inPixels): change to use a width and a height as
7391 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7393 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
7394 Replaced with \paperwidth
7396 * DepTable.C (insert): add std:: qualifier
7398 2002-01-18 Allan Rae <rae@lyx.org>
7400 * text2.C (removeRow): add comment. Should other refresh_?? vars be
7403 * text.C (drawInset): Turned out I didn't know enough about how
7404 rebreaking worked. This fixes most of the redraw problems. I see
7405 an occasional cursor trail when a line is broken now and the cursor
7406 placement can seem out by a few pixels also after a rebreak.
7408 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7410 * buffer.C (parseSingleLyXformat2Token): update because minipage
7411 width is now a LyXLength
7413 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
7415 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
7418 2002-01-17 Juergen Vigna <jug@sad.it>
7420 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
7422 * BufferView2.C (lockInset): call edit() so that theLockingInset()
7423 is set correctly and the inset is updated correctly.
7425 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7427 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
7428 the beginning of the loop.
7430 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
7432 * lyxrc.C: improve help for use_scalable_fonts
7434 2002-01-17 Allan Rae <rae@lyx.org>
7436 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
7438 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7440 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
7441 make sure to set their inset_owner to the right value (bug #171)
7443 2001-12-12 Ben Stanley <bds02@uow.edu.au>
7446 * DepTable.C: Implement mtime checking to reduce time spent doing
7449 2002-01-16 Juergen Vigna <jug@sad.it>
7451 * tabular.C (GetAdditionalHeight): one of error fixed.
7453 * lyxrc.C (output): small fix in writing use_pspell.
7455 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
7457 * sp_base.h: #include LString.h
7459 2002-01-16 Allan Rae <rae@lyx.org>
7461 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
7462 Can someone check this please?
7464 * text.C (drawInset): It was possible that p.row would be removed by
7465 breakAgainOneRow upsetting a few other settings. There may be another
7466 small tweak possible by setting need_break_row = 0 when p.row has been
7467 removed but I don't know enough about the logic here.
7469 2002-01-15 Allan Rae <rae@lyx.org>
7471 * text.C (insertChar): removed conditional truism.
7473 * BufferView2.C (removeAutoInsets): More tweaks.
7474 cur_par_prev could be a stray pointer. Check for trailing empty line
7475 in case last line was cur_par and only had an error inset on it.
7477 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7479 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
7482 * vc-backend.C (most methods):
7483 * exporter.C (Export):
7484 * converter.C (convert):
7486 * LyXSendto.C (SendtoApplyCB):
7487 * lyxfunc.C (dispatch):
7491 * lyx_cb.C (AutoSave):
7493 * BufferView_pimpl.C (MenuInsertLyXFile):
7494 * buffer.C (runChktex): use Buffer::filePath().
7496 * buffer.h: rename filename to filename_; rename filepath to
7497 filepath_ and make it private
7498 (filePath): new method
7500 * buffer.C (writeFile): use fileName()
7503 * lyx_main.C (init): fix starting of LyX when the binary is a
7504 link from so,ewhere else.
7506 * minibuffer.C: include <cctype> for isprint
7508 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7510 * buffer.C (parseSingleLyXformat2Token): changes associated with the
7511 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
7512 name clash with InsetCollapsable's width function.
7514 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7516 * lastfiles.C: include <iterator>
7518 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7520 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7523 * buffer.C (makeLaTeXFile): ditto.
7524 Also make loop operation more transparent.
7526 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7528 * ToolbarDefaults.C: remove trailing comma closing namespace.
7530 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7532 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7535 * trans.C (Load): comment out unused variable, allowed.
7537 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7539 * minibuffer.[Ch] (append_char): new method to recieve input from the
7540 drop-down completion browser. If a key was pressed, then recieve this
7541 char and append it to the existing string.
7542 (peek_event): modify the positioning data passed to the completion
7543 browser so that it can be placed above the minibuffer rather than below.
7544 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7546 * LyXAction.C (init): alloe error-next for readonly documents.
7548 * BufferView2.C (ChangeRefsIfUnique): use standard version of
7551 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7553 * bufferlist.C (readFile): create the buffer _after_ checking that
7556 * lyxfunc.C (verboseDispatch): fix handling of arguments
7558 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7560 * lyxrc.C: use string::erase() instead of initializing to "".
7563 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7565 * BufferView_pimpl.h:
7566 * BufferView_pimpl.C:
7569 * text2.C: tell X when we have made a selection for copying
7571 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7573 * BufferView_pimpl.C (MenuInsertLyXFile):
7574 * lyxfunc.C (menuNew):
7576 (doImport): add shortcuts to directory buttons
7578 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7581 * lyxfunc.C (setStatusMessage):
7582 (getStatusMessage): new methods
7583 (getStatus):use setStatusMessage instead of setErrorMessage
7584 (dispatch): when function is disabled, set error message here
7585 [instead of in getStatus previously]
7587 * BufferView_pimpl.C (workAreaButtonRelease): update
7588 toolbar/menubar here too.
7590 2002-01-13 Allan Rae <rae@lyx.org>
7592 * BufferView2.C (removeAutoInsets): finished off earlier fix.
7593 Now seems indestructible. Remaining task is to audit all other
7594 code affected by deleteEmptyParagraphMechanism. One small quirk
7595 left is that an empty document with an error in the preamble can
7596 be made to report an error but no error box appears. I don't know
7598 (removeAutoInsets): Improved comments.
7600 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
7603 * Thesaurus.C: update for Aiksaurus 0.14
7605 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7607 * text2.C (firstParagraph): removed member function, all uses
7608 replaces with ownerParagraph
7609 (redoParagraphs): here
7611 (toggleAppendix): here
7612 * BufferView2.C (insertErrors): here
7613 (setCursorFromRow): here
7615 2002-01-13 Allan Rae <rae@lyx.org>
7617 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7618 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7619 There is still a way to segfault this although you may have to do this
7620 multiple times: Have an InsetERT with an unknown command in it.
7621 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7622 <down-arrow>, <Enter> again, View->DVI, BANG!
7624 * text2.C (setCursor):
7625 (deleteEmptyParagraphMechanism):
7626 * lyxtext.h (setCursor):
7627 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7628 Making use of the return value may help fix other bugs.
7630 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7632 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7634 * LyXView.C (updateMenubar): call MenuBar::update here
7635 (updateToolbar): but not here
7636 (showState): do not update toolbar/menubar
7638 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7639 should need to care about that.
7641 * lyxfunc.C (verboseDispatch): simplify a bit
7642 (getStatus): have a version which takes a pseudoaction, and
7643 another which requires a (kb_action,string).
7645 * LyXAction.C (retrieveActionArg): make it work also when action
7646 is not a pseudo-action.
7647 (getActionName): simplify a bit
7650 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7652 * lyxfunc.C (verboseDispatch): new families of methods with
7653 several ways to specify a command and a bool to indicate whether
7654 the command name and shortcut should be displayed in minibuffer
7655 (eventually, we could extend that to a finer bitmask like
7656 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7657 (dispatch): the pristine dispatch command which just, well,
7658 dispatchs! Note it still sets its result to minibuffer; I'm not
7661 * lyxfunc.h: remove setHintMessage
7663 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7665 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7667 * BufferView_pimpl.C (specialChar): delete new inset if we have
7668 not been able to insert it.
7670 * kbmap.C: revert to using int instead of kb_action, since all we
7671 are dealing with is pseudo-actions.
7673 * LyXAction.C (searchActionArg): change to return int instead of
7674 kb_action, since the result is a pseudoaction.
7676 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
7678 * buffer.C (insertErtContents): Fix (partially) the font bug.
7680 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7682 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
7683 as the other one is broken on my machine!
7685 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
7688 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7690 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
7692 * lyxrc.[Ch]: change names and descriptions of popup font variables to
7693 reflect their actual use. Provide compatibility code for older lyxrc
7696 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7698 change names of popup font variables in line with the changes to lyxrc.C
7700 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7702 * buffer.C (asciiParagraph): avoid outputing a word twice after
7705 * lyxrc.C (getDescription): document that document_path and
7706 template_path can be empty.
7708 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7710 * LaTeXFeatures.C (getMacros):
7711 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7713 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7715 * LaTeXFeatures.C (useFloat): require "float" here instead of in
7717 (getPackages): rename feature "floats" to "float". Use an array to
7718 iterate over 'simple' features (i.e. just a \usepackage). Add
7719 handling of "amsmath" (renamed from "amsstyle").
7721 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
7723 * LaTeXFeatures.C (require): Prevent duplicate entries in the
7726 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
7728 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7729 FuncStaus::FuncStatus & FuncStaus::some_method().
7731 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
7733 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7734 of the func_satus stuff. Edited and massaged in various ways by
7737 * lyxfunc.C (getStatus): use FuncStatus
7739 2002-01-08 Juergen Vigna <jug@sad.it>
7741 * text.C (nextBreakPoint): use function Inset::isChar().
7743 * paragraph.C (TeXOnePar): use function
7744 Inset::forceDefaultParagraphs.
7746 * buffer.C (latexParagraphs): use function
7747 Inset::forceDefaultParagraphs.
7749 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7751 * lyx_gui.C (init): set the style of the menu popups to
7752 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7754 2002-01-07 Juergen Vigna <jug@sad.it>
7756 * text.C (setHeightOfRow): small fix
7757 (prepareToPrint): don't look at alignment if we don't have the place
7760 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7762 * box.C: New file. Move the Box methods and functions out of box.h,
7763 following Lars' suggestion.
7765 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7767 * box.h: #include "support/LOstream.h", needed for inlined function.
7770 * lyxtextclasslist.C: added some using std declarations.
7772 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
7774 * box.h: make signed dimensions to allow insets wider than
7775 the screen (bug #162)
7777 * BufferView_pimpl.C: add some insetHit debug
7779 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
7781 * vc-backend.C: add FIXME
7783 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7785 * lyxfunc.C (getStatus): enable code for showing math font status
7788 2002-01-07 Juergen Vigna <jug@sad.it>
7790 * text.C (nextBreakPoint): removed debug output not needed anymore.
7792 2002-01-06 Juergen Vigna <jug@sad.it>
7794 * text.C (nextBreakPoint): fixed up this function we had this bug
7795 since ever but now hopefully we break row better.
7796 (insertChar): we have to check if an inset is the next char as it
7797 could now happen that a large inset is causing a break.
7799 2002-01-05 Juergen Vigna <jug@sad.it>
7801 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7802 if it doesn't like to be drawed.
7804 2002-01-04 Juergen Vigna <jug@sad.it>
7806 * BufferView2.C (lockInset): forgot to set a cursor.
7808 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7810 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
7815 * form_maths_panel.C:
7816 * form_maths_panel.h:
7817 * form_maths_panel.fd: implemented sub- and super- buttons in math
7820 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7821 (or ^ space) to be used as in TeX (req'd by André).
7823 * lyxfunc.C: Allow ^ and _ again to be used both as
7824 super/subscript (mathed) and as themselves (in text).
7826 2002-01-03 Allan Rae <rae@lyx.org>
7828 * LyXView.C (updateWindowTitle): Setup a short icon title of either
7829 "LyX" or the filename of the current buffer if it has one. This is a
7830 modified form of John Levon's patch.
7832 * XFormsView.C (setWindowTitle): also set icon title.
7834 * LyXView.h (setWindowTitle): signature changed.
7835 * XFormsView.h (setWindowTitle): ditto.
7837 2002-01-02 Juergen Vigna <jug@sad.it>
7839 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7841 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7843 * screen.C (topCursorVisible): introduce a temp var for
7844 text->cursor.row(), handle the case where this row is null. (kindo
7847 * text2.C (setCursor): add a couple of asserts.
7849 * paragraph.h (inset_iterator): add -> operator
7851 * paragraph.[Ch] (autoDeleteInsets): remove member function
7853 * BufferView2.C (removeAutoInsets): rewrite to handle the old
7854 cursor pos correctly and handle inset deletion by itself.
7855 (insertErrors): move iterator declaration out of for expression
7857 * lyxtextclass.C: add <algorithm>
7859 * Makefile.am: added the new files to sources, removed layout.C
7861 * layout.C: removed file
7863 * layout.h: remove LYX_DUMMY_LAYOUT
7865 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7869 * lyxtextclass.[Ch]:
7870 * lyxtextclasslist.[Ch]: new files
7872 * include order changes to a lot of files, also changes because of
7875 2001-12-27 Juergen Vigna <jug@sad.it>
7877 * buffer.C (asciiParagraph): more fixes.
7879 * tabular.C (ascii): make ascii export support export of only the
7880 data separated by a column-delimiter.
7881 (ascii): better support for ascii export.
7883 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7885 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7887 * tabular_funcs.C: use a "using std::getline" instead of the
7888 previous fix from Angus (necessary for cxx + lyxstring)
7890 2001-12-24 Juergen Vigna <jug@sad.it>
7892 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7894 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7895 problems. First check a minipage also if we have some ert-contents
7896 (not only on par->size(), second set the right depth of the paragraph
7897 on the relink to the root-paragraph-list!
7899 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7900 which then did not anymore update the main paragraphs on undo/redo!
7902 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7904 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7905 code. Support all font-changing funcs (even those which are not in
7906 menu currently). Support for reporting font settings in
7907 mathed (disabled until Andre provides a function on mathed's side).
7909 * func_status.h (toggle): small helper function to set toggle
7912 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
7914 * tabular_funcs.C: getline -> std::getline
7916 2001-12-21 Juergen Vigna <jug@sad.it>
7918 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7919 accessed and could be 0 (I couldn't generate this but it seems
7922 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7924 * tabular_funcs.C: add LIstream.h, move write_attribute to..
7925 * tabular_funcs.h: here and include iosfwd
7927 2001-12-20 Juergen Vigna <jug@sad.it>
7929 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7930 inside inset but undo_par was.
7932 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7934 * Thesaurus.C: always include <config.h> in sources.
7938 * box.h: do not include <config.h> in header files
7940 * text.C (paintLastRow): remove unused variable
7942 * text.C (transformChar):
7944 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7947 * font.C (width): rewrite to use uppercase() instead of
7950 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7952 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
7954 * lyxfind.C: clean up of find failure position change
7956 2001-12-20 Juergen Vigna <jug@sad.it>
7958 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
7960 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
7961 (TeXRow): added to LaTeX a single tabular row.
7962 (TeXLongtableHeaderFooter): added to output LT-h/f data.
7963 (Latex): simplified and finally good LT-h/f support.
7964 (various_functions): just small adaptions for LT-h/f support.
7966 * tabular_funcs.[hC]: added and moved here all not classfunctions
7969 2001-12-19 Juergen Vigna <jug@sad.it>
7971 * tabular.[Ch]: better support for longtabular options (not finished
7974 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7976 * text.C (paintLastRow): use the label font instead of the font of
7977 the last character to compute the size of *_BOX. This makes more
7978 sense and avoids a crash with empty paragraphs.
7979 Use Painter::rectangle to draw EMPTY_BOX.
7981 2001-12-19 Juergen Vigna <jug@sad.it>
7983 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
7984 the paragraphs if the replaced paragraph is not the first one!
7985 Tried to delete not used paragraphs but does not work yet so for
7986 now it's inside #ifdef's and by default off!
7988 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7990 * MenuBackend.C: include "lyx_main.h" instead of declaring
7991 lastfiles (actually was declared as LastFiles* instead of a
7994 2001-12-17 Juergen Vigna <jug@sad.it>
7996 * tabular.C (AppendColumn): applied John's fix
7998 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
8002 * BufferView_pimpl.h:
8003 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
8006 * box.h: new start of class for above
8008 * lyxfunc.C: ignore space-only minibuffer dispatches.
8009 Show the command name when it doesn't exist
8011 * minibuffer.C: don't add empty lines to the history
8013 * minibuffer.C: add a space on dropdown completion
8015 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
8017 * text.C: fix line above/below drawing in insets
8019 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8021 * lyxlength.C (LyXLength): Initialize private variables.
8023 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
8025 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
8026 when inserting error insets.
8028 2001-12-13 Juergen Vigna <jug@sad.it>
8030 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
8031 actually sometimes the before-paragraph.
8032 (setUndo): don't clear the redostack if we're not actually undoing!
8034 2001-12-06 Juergen Vigna <jug@sad.it>
8036 * undo_funcs.C (textHandleUndo): well after John's hint I got here
8037 and fixed redoing of main paragraph, so we can use it now ;)
8039 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
8041 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8043 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
8046 2001-12-13 André Pönitz <poenitz@gmx.net>
8049 * undo_func.C: minor cleanup
8051 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8053 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
8054 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
8055 font in urw-fonts package which is marked as -urw-fontspecific and
8056 does not work (incidentally, changing the encoding in the
8057 fonts.dir of this package to -adobe-fontspecific fixes the
8060 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
8061 is a crash when undoing first paragraph (Juergen, please take a
8062 look). THis does not mean the undo fix is wrong, just that it
8065 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
8066 the (Paragraph*) version when needed instead of duplicating the
8069 * text.C (workWidth): use Inset::parOwner to find out where the
8070 inset has been inserted. This is a huge performance gain for large
8071 documents with lots of insets. If Inset::parOwner is not set, fall
8072 back on the brute force method
8074 * paragraph_pimpl.C (insertInset):
8075 * paragraph.C (Paragraph):
8076 (cutIntoMinibuffer): set parOwner of insets when
8077 inserting/removing them
8079 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8081 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
8087 * mathed/formulabase.C:
8088 * mathed/math_cursor.[Ch]:
8089 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
8092 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8094 * lyxlength.[Ch] (operator!=): new function
8096 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8098 * text.C (workWidth): use Inset::parOwner to find out where the
8099 inset has been inserted. This is a huge performance gain for large
8100 documents with lots of insets. If Inset::parOwner is not set, fall
8101 back on the brute force method
8103 * paragraph_pimpl.C (insertInset):
8104 * paragraph.C (Paragraph):
8105 (cutIntoMinibuffer): set parOwner of insets when
8106 inserting/removing them
8108 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8110 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8112 * tabular-old.C (getTokenValue):
8113 * tabular.C (getTokenValue):
8114 (write_attribute): new versions for LyXLength
8115 (everywhere): adjust the use of widths
8117 * tabular.h: change the type of widths from string to LyXLength
8119 2001-12-11 Ben Stanley <bds02@uow.edu.au>
8121 * paragraph.C: fixed missing line number count when exporting
8122 Environments to LaTeX file
8124 * buffer.C: added informational message for checking line numbers.
8126 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8128 * text2.C (deleteEmptyParagraphMechanism): if there is only one
8129 paragraph, do the 'double space' part, but not the 'empty
8132 * text.C (workWidth): small optimization
8133 (getLengthMarkerHeight): use minimal size for negative lengths.
8135 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
8137 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
8139 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
8141 2001-12-11 André Pönitz <poenitz@gmx.net>
8144 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
8146 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8148 * text2.C: keep selection on a setFont()
8150 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8152 * lyx_cb.C: another bv->text misuse, from insert label
8154 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8157 * kbsequence.C: re-instate nmodifier mask
8159 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
8161 * lyx_main.h: make lyxGUI private.
8163 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8165 * lyxfind.C: place the cursor correctly on failed search
8167 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8169 * text.C (getLengthMarkerHeight): for small heights, the arrows
8170 are not always on top/bottom of the text
8171 (drawLengthMarker): smaller arrows; take the left margin in
8172 account; draw also vfills.
8174 (paintLastRow): remove special code for vfill and standard spaces,
8175 since everything is handled in drawLengthMarker now.
8177 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8179 * buffer.C (insertErtContents): try to handle font and language
8180 interaction a bit better.g
8182 * ColorHandler.C (updateColor): change the hash to cover the whole
8183 LColor enum, ws cleanup
8184 (getGCLinepars): ditto
8185 (getGCLinepars): only lookup in the linecache once.
8187 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
8189 * iterators.C (operator++): Make the iterator more robust
8191 * BufferView2.C (removeAutoInsets): Use paragraph iterators
8193 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
8195 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8198 * text.C: better added space drawing
8200 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8203 * BufferView2.C: fix layout combo update on inset unlock
8205 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8207 * Makefile.am: don't compile unused files
8209 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8213 * LyXAction.C: remove old LFUN_LAYOUTNO
8215 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8217 * paragraph_pimpl.h:
8218 * paragraph_pimpl.C: isTextAt() doesn't need font param
8220 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8223 * lyxlex.C: little cleanup
8225 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8227 * BufferView_pimpl.C: fix insertAscii for insets
8229 2001-12-05 Juergen Vigna <jug@sad.it>
8231 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
8232 set the right font on the "multi" paragraph paste!
8234 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8240 * lyxlength.C: remove out-commented code.
8256 * vc-backend.C: change "while(" to "while ("
8258 * lyxlength.[Ch]: add zero function to check if length is zero or
8260 * lyxgluelength.C: use it
8262 2001-12-05 Allan Rae <rae@lyx.org>
8264 * lyxlength.C: Attempted a fix for the abs(int) header selection.
8265 Works for 2.95.3, from what I understand of Garst's reports this should
8266 work for other g++ versions. We're screwed if the abs(int) definition
8267 changed between bugfix releases of gcc.
8269 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8271 * text.C: fix chapter label offset !
8273 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8276 * text.C: fix hfill at end of line, clean up
8278 2001-12-04 Juergen Vigna <jug@sad.it>
8280 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
8281 that we force an update of the inset and it's owners if neccessary.
8283 2001-12-03 Juergen Vigna <jug@sad.it>
8285 * text.C (rowLast): simplified code
8287 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8289 * lyxfunc.C: fix show options on timeout
8291 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8293 * screen.C (topCursorVisible): scroll half a page when the cursor
8294 reached top of bottom of screen
8296 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
8298 * minibuffer.C: deactivate on loss of focus
8300 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8302 * vspace.[Ch] (operator!=): add operator.
8304 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
8306 * BufferView_pimpl.C: refuse to open an inset when
8307 there's a selection.
8309 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
8311 * BufferView_pimpl.C: allow to click on RHS of full row insets
8313 2001-11-30 Juergen Vigna <jug@sad.it>
8315 * tabular.C (LyXTabular): add a same_id to set the same id's in the
8316 insets for undo reasons.
8318 2001-11-28 André Pönitz <poenitz@gmx.net>
8320 * vspace.[Ch]: cosmetical changes
8322 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8332 * kbsequence.C: part re-write of old kb code
8335 * WorkArea.C: remove Lgb_bug_find_hack
8337 2001-11-30 José Matos <jamatos@fep.up.pt>
8339 * buffer.C (makeDocBookFile): add a comment to point a hack.
8340 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
8341 Fixed a double write of labels.
8343 2001-11-29 Ben Stanley <bds02@uow.edu.au>
8346 * LaTeX.h Fixed bug in LaTeX class where it would not
8347 re-run latex if no depfiles were changed, but the .dvi was removed.
8349 2001-11-28 André Pönitz <poenitz@gmx.net>
8351 * all the files from the change on 2001/11/26:
8352 use lyx::layout_type instead of LyXTextClass::size_type
8353 use lyx::textclass_type instead of LyXTextClassList::size_type
8355 2001-11-29 Juergen Vigna <jug@sad.it>
8357 * text.C: added support for paragraph::isFreeSpacing()
8359 * buffer.C: same as above
8361 * paragraph.h: inserted isFreeSpacing() function to enable
8362 FreeSpacing inside InsetERT.
8364 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
8365 of the paragraph's in the cut/copy buffer to 0!
8367 * text2.C (removeRow): remove the assert as it can!
8369 * lyxtext.h: added helper function firstRow returning firstrow and
8370 made firstrow private again.
8372 * BufferView2.C (lockInset): don't relock if we're already locked!
8374 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
8376 (removeRow): added Assert::(firstrow)
8378 * debug.C: forgot to add INSETTEXT here.
8380 2001-11-28 Juergen Vigna <jug@sad.it>
8382 * sp_spell.C (initialize): changed error text to more general
8383 spellchecker command use (not only ispell!)
8385 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
8387 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
8389 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8391 * vspace.C: initialise lyxgluelength on failure
8393 2001-11-28 Allan Rae <rae@lyx.org>
8395 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
8396 declaration & definition that looks like a function declaration.
8398 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8400 * BufferView2.C (copy):
8401 (copyEnvironment): do not clear the selection when doing a copy.
8403 * text.C (paintFirstRow): compilation fix
8405 2001-11-27 Ben Stanley <bds02@uow.edu.au>
8407 * tabular.C (Latex): correct line count when writing latex.
8409 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
8411 * paragraph_pimpl.h:
8412 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
8415 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8419 * LColor.C: change vfillline->added_space
8421 * text.C: add markers and text for added space
8423 * vspace.C: fix comment
8425 2001-11-28 André Pönitz <poenitz@gmx.net>
8427 * paragraph.C: whitespace changes
8428 * all the other files from the change on 2001/11/26:
8429 change *::pos_type into lyx::pos_type
8431 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
8433 * buffer.C (parseSingleLyXformat2Token): Set the language to the
8434 language of the document when inserting error insets.
8436 2001-11-26 André Pönitz <poenitz@gmx.net>
8438 * BufferView_pimpl.[Ch]:
8446 * paragraph_pimpl.[Ch]:
8449 * text2.C: reduce header dependencies, introduce type for positions
8451 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8453 * <various>: change to use Alert.h
8455 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
8457 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
8458 when encountering an unknown token.
8459 (readLyXformat2): Show an error message if there were unknown tokens.
8461 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
8464 * BufferView_pimpl.C:
8468 * text2.C: use par->isInset()
8470 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8472 * paragraph_pimpl.h:
8473 * paragraph_pimpl.C: cleanup
8475 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8477 * text2.C (removeRow):
8478 * text.C (setHeightOfRow): remove useless (and costly) call to
8481 2001-11-20 Allan Rae <rae@lyx.org>
8483 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
8484 Now need Inset*::checkInsertChar() to return true for appropriate
8485 cases so that the characters in the minibuffer will actually be
8488 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8490 * text.C: change the order of the includes.
8491 (workWidth): initialize it at once.
8492 (workWidth): make maxw unsigned
8493 (setHeightOfRow): remove unused variable (inset)
8494 (selectSelectedWord): remove unused variable (inset)
8495 (paintRowText): fix drawing of hfill characters, and clean up a bit.
8497 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8499 * lyxserver.C (emergencyCleanup): do not try to close pipes if
8500 server is not running.
8502 (closeConnection): add debug info when server is disabled.
8504 * ColorHandler.C (getGCForeground): send debug message to GUI
8507 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
8509 * kbmap.C (bind): modify because return conventions of
8510 kb_sequence::parse have changed.
8512 * kbsequence.C (parse): only ignore spaces and not any stupid
8513 control character. This avoids tests like s[i] <= ' ', which are
8514 guaranteed to fail with 8bit characters and signed chars.
8515 Change return code to string::npos when there have been no error
8516 (0 was a bad idea when error is at first character)
8518 2001-11-14 José Matos <jamatos@fep.up.pt>
8521 * buffer.C (simpleDocBookOnePar): removed unused argument.
8523 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8525 * text.C (selectNextWordToSpellcheck): do not test explicitely for
8526 insets which are part of a word. Paragraph::isLetter takes care of
8527 that now. Use Paragraph::isInset to identify insets.
8528 (selectSelectedWord): do not test for hyphenation break.
8530 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8531 that protected spaces are considered as spaces.
8533 * paragraph.C (isLetter): cleanup the code for ispell extras; use
8536 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
8539 * lyxserver.C: fix it. and small cleanup.
8541 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8543 * BufferView_pimpl.C: use inline helpers
8546 * LaTeXFeatures.C: fix typos
8549 * Spacing.C: move spacing_string into class
8551 * ToolbarDefaults.C: move stuff into namespace anon
8553 * layout.h: update enum
8555 * lyxfunc.C: use better debug
8557 * minibuffer.h: fix typo
8561 * WorkArea.C: add and use Debug::WORKAREA
8565 * text2.C: code re-organisation, inline helpers
8567 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
8569 * Layout.C: replaced a few cases of std::vector.size() == 0 with
8570 std::vector.empty().
8572 2001-11-09 Allan Rae <rae@lyx.org>
8574 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8575 '\n's after tables. Tabular and ERT inset work now makes this no
8578 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8581 * minibuffer.C: fix crash, improve drop-down completion
8583 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
8586 * lyxserver.C: invalidate fd's when doing endPipe()
8588 2001-11-08 José Matos <jamatos@fep.up.pt>
8590 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8591 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8594 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8596 2001-11-07 José Matos <jamatos@fep.up.pt>
8599 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8602 * buffer.C (sgmlOpenTag):
8603 * buffer.C (sgmlCloseTag): removed debug info.
8605 * buffer.h (sgmlOpenTag):
8606 * buffer.h (sgmlCloseTag): made public.
8608 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8610 * buffer.C (saveParamsAsDefaults):
8611 * lyx_cb.C (MenuLayoutSave): remove
8613 * LyXAction.C (init):
8615 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8617 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8619 * buffer.C (setPaperStuff): removed from here...
8621 * bufferparams.C (setPaperStuff): ... and moved there.
8623 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
8627 * XFormsView.C: add support for drop-down completion
8629 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
8631 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8634 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8636 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8639 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
8641 * lyx_main.C: change ref to known bugs
8643 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
8645 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8646 to work around older babel problems.
8648 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8650 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8652 2001-10-24 Juergen Vigna <jug@sad.it>
8654 * tabular-old.C (ReadOld): below variable changes reflected.
8656 * tabular.[Ch]: added ltType struct for longtable header/footer
8657 defines and changed all instances where they are used. Added
8658 future support for double top/bottom rows.
8660 2001-10-24 José Matos <jamatos@fep.up.pt>
8662 * buffer.h (docbookHandleCaption):
8663 * buffer.C (docbookHandleCaption): removed unused function.
8664 (makeDocBookFile): moved docbook supported version to v4.1.
8666 2001-10-24 José Matos <jamatos@fep.up.pt>
8669 * tabular.C (docbookRow): new function to export docbook code of a row.
8670 (DocBook): now honors the longtable flags.
8672 2001-10-23 José Matos <jamatos@fep.up.pt>
8675 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8676 of the lyx defined sgml entities used in a docbook/linuxdoc document.
8678 * buffer.C (makeLinuxDocFile):
8679 (makeDocBookFile): reworked the preamble, more clean, and with
8680 support for lyx defined entities. Changed the document declaration
8681 to be more XML friendly.
8683 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8684 if we need to output XML that should be done with a filter.
8686 2001-10-22 Juergen Vigna <jug@sad.it>
8688 * sp_pspell.h (class PSpell): add alive function needed in the
8689 controller to see if the spellchecker could be started.
8691 2001-10-22 Juergen Vigna <jug@sad.it>
8693 * buffer.C (insertStringAsLines): modify the font for inserting
8694 chars in certain conditions by calling checkInsertChar(font).
8696 2001-10-19 Juergen Vigna <jug@sad.it>
8698 * text.C (workWidth): use getRow instead of wrong algorithm.
8699 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8701 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
8706 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8708 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8710 * text.C (workWidth): do not search for the exact row when
8711 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8712 optimization for big documents.
8714 2001-10-18 Juergen Vigna <jug@sad.it>
8716 * text.C (workWidth): new function with added Inset * parameter.
8718 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8720 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8722 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8723 change return type of getColumnNearX.
8726 * text.C (changeRegionCase): use uppercase/lowercase instead of
8729 (rightMargin): simplify code by factoring out the uses of
8734 (appendParagraph): use Paragraph::size_type
8736 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8738 * vspace.C (asLatexString): add a missing break
8740 2001-10-15 Herbert Voss <voss@perce.de>
8742 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8744 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8746 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8749 2001-10-10 André Pönitz <poenitz@gmx.net>
8751 * lyxfunc.C: removed greek_kb_flag.
8753 2001-10-10 Herbert Voss <voss@perce.de>
8755 * lyx_main.C: delete global string help_lyxdir.
8757 2001-10-09 Herbert Voss <voss@perce.de>
8759 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8761 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8763 * lyx_main.C: added global string help_lyxdir.
8765 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8767 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
8769 * lyxrc.C (set_font_norm_type): support iso8859-4
8771 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
8773 * LaTeX.C (deplog): add another regex for MikTeX
8775 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
8777 * lyxrc.C (set_font_norm_type): support iso8859-3
8779 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8781 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8783 * LaTeXFeatures.C: remove special case of french and index
8785 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8786 before \begin{document}). This solves several incompatibilities.
8788 2001-10-03 Garst Reese <reese@isn.net>
8790 * lyx_cb.C: change CheckTex error msg.
8792 2001-10-03 José Matos <jamatos@fep.up.pt>
8794 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8796 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8798 * .cvsignore: update
8800 * lyx_main.C (commandLineVersionInfo): use new style version info.
8802 * buffer.C (writeFile):
8805 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8807 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8809 * version.h: update to use stuff in version.C
8811 * version.C.in: new file. Contains version information determined
8812 at compile time. This is a merging of version.h and
8815 2001-10-03 Juergen Vigna <jug@sad.it>
8817 * BufferView_pimpl.C (update): don't change "dirty" status in
8820 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
8822 * WorkArea.C (c-tor): re-position version string slightly.
8824 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
8826 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8827 revert to previous code.
8829 WorkArea.[Ch]: (show, destroySplash): methods removed.
8831 WorkArea.C: rework code so that it's an amalgam of the codes before and
8832 after the splash screen was moved to WorkArea.
8834 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8837 * vspace.C (inPixels):
8840 * buffer.C (insertStringAsLines):
8841 (asciiParagraph): fix types to be large enough
8843 * lyxlex_pimpl.h: change member status from short to int
8845 * layout.h: fix type of endlabeltype
8848 * kbsequence.C (parse): change return type to string::size_type
8850 * LaTeX.C (updateBibtexDependencies): comment out unneeded
8853 * Bullet.C (bulletSize):
8854 (bulletEntry): do not use short ints as parameters
8856 * BufferView2.C (insertLyXFile): change a char to an int.
8858 * WorkArea.C (WorkArea): remove unneeded floats in computation
8860 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
8862 * buffer.C (asciiParagraph): Treat '\\' as other chars.
8864 * paragraph.C (asString): Do not ignore newline/hfill chars when
8865 copying to the clipboard.
8867 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
8869 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8870 after a multi-line inset.
8872 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
8874 * paragraph.C (validate): Set NeedLyXFootnoteCode
8876 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8878 * lyxfont.C (LyXSizeNames): changed increase-error to increase
8879 and decrease-error to decrease.
8881 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8883 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8884 it more readable (should be equivalent)
8886 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
8888 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8890 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8892 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8893 of a cursor (row, etc.) after a character has been deleted
8894 (deleteEmptyParagraphMechanism): call the method above on _all_
8895 cursors held by the LyXText when a double space has been
8898 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8900 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8902 (resizeCurrentBuff): remove code to destroy the old splash dialog.
8904 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8905 background. Use greyOut() and the new show() methods to toggle between
8906 the foreground and background. Add code to remove the splash after
8907 its initial showing.
8909 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8910 (create_forms): no longer call Dialogs::showSplash.
8912 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8914 * .cvsignore: add version_info.h
8916 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8918 * version_info.h.in: new file
8920 * Makefile.am: add version_info.h.in
8922 * lyx_main.C (commandLineVersionInfo): use version_info defined in
8923 version_info.h instead of VERSION_INFO
8925 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
8927 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8928 The ERT inset now returns string().
8930 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
8932 * lyxtext.h, text.C (selectNextWord): renamed as
8933 selectNextWordToSpellcheck.
8935 * text.C (selectNextWordToSpellcheck): Modified to not select
8936 words inside an ERT inset.
8938 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8940 * lyx_cb.C (MenuLayoutSave): change a bit the question
8942 * sp_base.h: include <sys/types.h>
8944 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
8946 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8948 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
8950 * several files: fix typos in user-visible strings
8952 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8954 * text2.C (pasteSelection): do not set the selection, since it
8955 will be cleared later. Actually, the intent was to fix the way the
8956 selection was set, but I figured rmoving the code was just as good.
8958 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
8960 * FontLoader.C (available): Check if font is available without
8963 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8965 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
8967 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
8969 * lyxrc.[Ch]: added display_graphics variable and associated code.
8971 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8973 * bufferparams.C (hasClassDefaults): new method. Returns true if
8974 the buffer parameters correspond to known class defaults
8976 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
8978 * XFormsView.C (show): set minimum size to the main window.
8980 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8982 * text2.C (copySelection):
8984 * lyxfind.C (LyXReplace):
8985 * BufferView_pimpl.C (Dispatch): pass the correct flag to
8986 LyXText::selectionAsString.
8988 * paragraph.C (asString): add "label" argument to the second form
8990 * text2.C (selectionAsString): add "label" argument and pass it to
8991 Paragraph::asString.
8993 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8995 * lyx_main.C (commandLineHelp): remove version information
8997 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
8999 * lyx_main.C: add -version commandline option
9001 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9003 * paragraph.h: make the optional constructor arg required instead.
9004 some modifications to other files because of this.
9006 * minibuffer.C (C_MiniBuffer_peek_event): make it static
9008 * lyxserver.C (C_LyXComm_callback): make it static
9010 * lyx_main.C (error_handler): make it static
9012 * lyx_gui.C (LyX_XErrHandler): make it static
9014 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
9016 * WorkArea.C: make the extern "C" methods static.
9018 * Makefile.am (lyx_LDADD): simplify
9020 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9022 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
9023 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
9025 * LyXAction.C (init):
9026 * lyxfunc.C (dispatch): associated code removal.
9028 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9030 * lyxfont.h (isSymbolFont): shut off warning
9032 * text.C (setHeightOfRow):
9033 (getVisibleRow): fix crash with empty paragraphs which have a
9036 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
9038 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
9041 2001-09-04 José Matos <jamatos@fep.up.pt>
9044 * tabular.C (docbook): rename docBook method to docbook.
9046 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9048 * Makefile.am: add dependencies to main.o.
9050 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
9052 * FontLoader.C (available): Return false if !lyxrc.use_gui
9054 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
9056 * FontInfo.C (query):
9057 * converter.C (view):
9058 * importer.C (Import):
9059 * exporter.C (Export): Can not -> cannot.
9061 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
9063 * BufferView_pimpl.C: allow to create index inset even if
9066 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9068 * buffer.C (getLists): replace boost::tie code with an explicit pair
9069 as boost::tie can break some compilers.
9071 * iterators.h: Added a std:: declaration to the return type of
9074 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
9076 * lyxrc.C: add help for view_dvi_paper_option, default to safe
9079 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
9081 * iterators.[Ch]: New files. Provide paragraph iterators.
9083 * buffer.C (changeLanguage): Use paragraph iterators.
9084 (isMultiLingual): ditto
9086 * BufferView2.C (ChangeInsets): Use paragraph iterators.
9088 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
9090 * FontLoader.C: Support for cmr font.
9092 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
9094 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
9095 (available): New method.
9097 * FontInfo.C (getFontname): Use scalable fonts even when
9098 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
9101 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9103 * converter.C (Formats::view): reverted! Incorrect fix.
9105 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9107 * converter.C (Formats::view): only output the -paper option
9108 if the dvi viewer is xdvi, thereby fixing bug #233429.
9110 2001-08-23 Herbert Voss <voss@perce>
9112 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
9114 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
9116 * Spacing.h (Spacing): Set space to Default on in the default
9119 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
9121 * vc-backend.h (RCS::versionString): add RCS to version
9122 (CVS::versionString): add CVS to version
9124 * vc-backend.C (scanMaster): do not add CVS to version.
9125 (scanMaster): do not add RCS to version
9127 * lyxvc.C (versionString): new method
9129 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
9131 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9133 * Spacing.C (set): initialize fval
9135 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
9137 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
9140 2001-08-16 Juergen Vigna <jug@sad.it>
9142 * lyxfunc.C (dispatch): implemented the new FINISHED states.
9144 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9146 * BufferView_pimpl.C:
9149 * text2.C: setParagraph takes linespacing now
9151 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
9153 * LyxAction.C: add internal LFUN_CITATION_INSERT
9155 * LyXView.C: actually apply fix
9157 * bufferlist.C: fix open non-existent file
9159 * lyxfind.C: fix indentation
9161 * lyxfunc.C: remove unneeded assert, fix typo
9163 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9165 * MenuBackend.C: use "Floatname List"
9167 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
9169 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
9170 when converting LaTeX layout to insetERT.
9171 Generate a non-collapsed float when reading old float
9173 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9175 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
9178 2001-08-13 Juergen Vigna <jug@sad.it>
9180 * text.C (fill): return 0 instead of 20 as this seems to be the more
9183 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9185 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
9188 2001-08-13 Juergen Vigna <jug@sad.it>
9190 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
9192 (SearchBackward): comment out the unlocking of the inset_owner this
9193 should not be needed!
9195 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
9197 * Many files: Remove inherit_language, and add latex_language
9199 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
9202 2001-08-10 Juergen Vigna <jug@sad.it>
9204 * text.C (prepareToPrint): fixed hfill-width in draw!
9206 * BufferView2.C (selectLastWord): save the selection cursor as this
9207 now is cleared in the function LyXText::clearSelection!
9209 2001-08-08 Juergen Vigna <jug@sad.it>
9211 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
9212 BACKSPACE type functions.
9214 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
9215 is only cutted from the document but not put in the cut-buffer, where
9216 still the old stuff should be.
9218 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
9220 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
9222 * tabular.C (SetWidthOfCell): fixed special case where the width
9224 (LeftLine): handle '|' in align_special.
9226 (LeftAlreadyDrawed): ditto
9227 (SetWidthOfCell): ditto
9229 2001-08-07 Juergen Vigna <jug@sad.it>
9231 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
9233 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9235 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
9236 * lyxlex.[hC]: ditto
9238 2001-08-06 Juergen Vigna <jug@sad.it>
9240 * text.C (getVisibleRow): fix up row clearing a bit.
9242 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9244 * minibuffer.C: make sure the X server sees the changes in the input.
9246 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9248 * paragraph.C (getFont): split into...
9249 (getLabelFont): this
9250 (getLayoutFont): and this
9251 * paragraph_pimpl.C (realizeFont): calling this
9253 * text2.C (getFont): split into...
9254 (getLayoutFont): this
9255 (getLabelFont): and this
9256 (realizeFont): all three calling this
9258 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
9261 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9263 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
9265 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
9267 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
9268 layouts from the Quote inset insertion.
9270 2001-08-03 Juergen Vigna <jug@sad.it>
9272 * BufferView_pimpl.C (update): do the fitCursor only at the end!
9274 * screen.C (drawFromTo): don't call fitcursor here and do the loop
9275 only if status not is already CHANGED_IN_DRAW (second level).
9277 * text.C (draw): don't set the need_break_row when inside an
9280 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9282 * buffer.C (parseSingleLyXformat2Token): handle more latex
9285 * bufferview_funcs.[hC]: change function names to
9286 begin with small char, adjust other files.
9288 2001-08-02 André Pönitz <poenitz@gmx.net>
9291 BufferView_pimpl.C: remove broken special code for math-greek
9293 2001-08-02 Juergen Vigna <jug@sad.it>
9295 * BufferView_pimpl.C (update): redone this function so that we
9296 update the text again if there was a CHANGE_IN_DRAW.
9298 * screen.C (cursorToggle): removed LyXText parameter and recoded.
9299 (drawFromTo): added a new internal bool which is used by draw() and
9301 (general): some cursor drawing problems fixed.
9303 2001-08-01 Juergen Vigna <jug@sad.it>
9305 * lyxfind.C (LyXFind): fixed
9306 (SearchForward): ditto
9307 (SearchBackward): ditto
9309 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
9310 spurius drawing of the cursor in the main area.
9312 * text2.C (status): small fix which could lead to a segfault!
9313 (clearSelection): remove unneeded BufferView param.
9315 2001-08-01 André Pönitz <poenitz@gmx.net>
9317 * lyxfunc.C: small change due to changed mathed interface
9319 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9321 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
9323 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
9325 * lyxfunc.c: fail gracefully if file doesn't exist
9330 * BufferView_pimpl.C: IsDirWriteable() proto changed
9332 * LyXView.C: fix updateWindowTitle() to store the last title
9334 2001-07-31 Juergen Vigna <jug@sad.it>
9336 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
9337 the font (wrong since using of Paragraph::highestFontInRange).
9339 * paragraph.C (highestFontInRange): added a default_size parameter.
9341 * text.C (getVisibleRow): minor clear row changes (still not perfect).
9342 (setHeightOfRow): reformat
9344 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9346 * converter.[hC] + affected files: move to (inital-char)lowercase
9349 * ParagraphParameters.C (ParagraphParameters): remove commented code
9351 * PainterBase.[Ch]: remove commented code
9353 * LaTeXFeatures.h: add "bool floats" for float.sty
9355 * LaTeXFeatures.C (LaTeXFeatures): init floats
9356 (require): handle float
9357 (getPackages): do it with floats
9359 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9361 * BufferView_pimpl.C (Dispatch): improve handling of
9362 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
9364 * commandtags.h: #include lyxfont.h here temporarily to avoid
9367 * bufferlist.h: include LString.h here.
9369 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9371 * text2.C (getStringToIndex): new method.
9373 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
9375 * *: Reduced header file dependencies all over.
9377 2001-07-30 Baruch Even <baruch@lyx.org>
9379 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
9381 2001-07-29 Baruch Even <baruch@lyx.org>
9383 * buffer.C (readInset): Changed GRAPHICS to Graphics.
9385 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9387 * ParameterStruct.h (endif): add a default constructor to make
9388 sure that all variables is initialized.
9390 * ParagraphParameters.C (ParagraphParameters): adjust
9392 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9394 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
9395 index; also, check that there is something to index, and that it
9396 does not span over several paragraphs.
9397 (doubleClick): use WHOLE_WORD_STRICT for double click.
9399 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
9401 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
9404 2001-07-26 Baruch Even <baruch@lyx.org>
9406 * buffer.C (readInset): Changed to call up InsetGraphics when reading
9407 an InsetFig figure, backwards compatible reading of old figure code.
9409 2001-07-27 Juergen Vigna <jug@sad.it>
9411 * text2.C: font.realize function adaption.
9413 * text.C (draw): add a warnings lyxerr text if needed.
9415 * layout.C: font.realize function adaption.
9417 * language.C: add inherit_language and implement it's handlings
9419 * bufferview_funcs.C (StyleReset): remove language parameter from
9420 font creation (should be language_inherit now).
9422 * bufferparams.C (writeFile): handle ignore_language.
9424 * paragraph.C (getFontSettings): the language has to be resolved
9425 otherwise we have problems in LyXFont!
9427 * lyxfont.C (lyxWriteChanges): added document_language parameter
9428 (update): removed unneeded language parameter
9430 * paragraph.C (validate): fixed wrong output of color-package when
9431 using interface colors for certain fonts in certain environments,
9432 which should not seen as that on the final output.
9434 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
9436 * BufferView_pimpl.C:
9441 * LyXAction.C: add thesaurus support
9444 * lyxfind.C: add "once" parameter, for thesaurus, to not
9445 move to the next match
9447 2001-07-26 Juergen Vigna <jug@sad.it>
9449 * lyxfont.C (realize): honor ignore_language too!
9452 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
9454 * text.C (draw): one place more for ignore_language to not draw
9457 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
9459 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
9461 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9463 * buffer.C (parseSingleLyXformat2Token): a more general fix for
9464 the minipage conversion problem.
9466 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9468 * buffer.C (parseSingleLyXformat2Token): check minipage if we
9471 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9473 * BufferView.h: don't forward declare WorkArea
9475 * BufferView.C: don't include WorkArea.h
9477 2001-07-25 André Pönitz <poenitz@gmx.net>
9481 * lyxfunc.C: new LFUN 'math-space'
9483 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
9485 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9487 * text2.C (toggleInset): call open/close
9489 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9491 * lyxfunc.C (dispatch): add debug for the disabled case
9493 * font.C (buttonText): make similar to rectText
9495 * buffer.C (readInset): comment out parsing of insetlist and
9498 * PainterBase.C (rectText): small correction
9500 * BufferView_pimpl.C: comment out insettheorem and insetlist
9501 * LyXAction.C: ditto
9502 * commandtags.h: ditto
9504 2001-07-24 Juergen Vigna <jug@sad.it>
9506 * text.C (draw): honor the ignore_language.
9508 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
9510 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9512 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
9515 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9517 * lyxtext.h: remove unused (and unimplemented) methods
9519 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9521 * text.C (getVisibleRow): honor background color
9524 * Painter.h: remove default color argument for fillRectangle
9526 * text.C (backgroundColor): new method
9528 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9530 * text.C (getVisibleRow): adjust
9532 * font.[Ch] (rectText): new method, metrics
9533 (buttonText): new method, metrics
9535 * PainterBase.[hC]: make rectText and buttonText always draw and take
9538 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9540 * ToolbarDefaults.C (read):
9541 * MenuBackend.C (read): allow escaping in all strings
9543 * BufferView_pimpl.C (insertAndEditInset): new method.
9544 (Dispatch): use insertAndEditInset whenever appropriate.
9546 * BufferView_pimpl.C (insertNote): removed
9548 * BufferView_pimpl.C (smartQuote): new method, moved from
9549 BufferView; if an insetquote cannot be inserted, insert a '"'
9552 * BufferView2.C: remove insertCorrectQuote();
9554 * lyxfunc.C (getStatus): Add support for all remaingin
9557 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9559 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9560 command (necessary to pass " as parameter of self-insert.
9562 * text.C (selectWordWhenUnderCursor):
9563 (selectWord): add word_location parameter
9564 (selectWordWhenUnderCursor): same + remove special code for word
9566 (selectNextWord): use kind() to guess type of insetspecialchar,
9569 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9570 (insertErtContents): create ert insets as collapsed.
9571 (readInset): better compatibility code for Info inset.
9573 2001-07-20 Juergen Vigna <jug@sad.it>
9575 * lyxfunc.C (dispatch): use always LyXFind now!
9577 * text2.C (init): add a reinit flag so that the LyXText can be
9578 reinited instead of deleted and reallocated (used in InsetText).
9580 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9586 2001-07-18 Juergen Vigna <jug@sad.it>
9588 * text.C (selectNextWord): handle insets inside inset by calling
9589 always the bv->text functions so that we can go up the_locking_inset!
9591 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9592 in strange locations when inside an inset!
9594 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9595 handling to include insets.
9597 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9599 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9601 * LyXAction.C (init):
9603 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9604 LIGATURE_BREAK, since the name is so stupid.
9606 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9608 * buffer.C (readInset): enable reading of new InsetNotes as well as old
9611 * FontLoader.C: remove FORMS_H_LOCATION cruft.
9613 * sp_form.[Ch]: remove.
9615 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9617 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9620 * src/buffer.C (readInset): ditto.
9622 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9624 * BufferView_pimpl.C (specialChar): new method. Obsoletes
9625 menuSeparator(), endOfSentenceDot(), ldots() and
9626 hyphenationPoint(), which are therefore removed.
9627 (Dispatch): handle LFUN_HYPHENATION_BREAK.
9629 * LyXAction.C (init):
9630 * commandtags.h: add LFUN_HYPHENATION_BREAK.
9632 * paragraph.C (getWord): removed.
9634 * BufferView_pimpl.C (Dispatch): use last word or selection for
9635 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9637 * lyx_main.C (queryUserLyXDir): do not ask before creating
9638 user_dir, except if it has been named explicitely.
9640 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9642 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9643 a document of zero size.
9645 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
9647 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9648 approriately in the c-tor and in require().
9649 (getPackages): output the appropriate LaTeX for natbib support.
9651 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9652 variables "use_natbib" and "use_numerical_citations" when reading the
9654 (readInset): read the various natbib cite commands.
9655 (validate): white-space change.
9657 * bufferparams.[Ch]: new variables "bool use_natbib" and
9658 "bool use_numerical_citations".
9659 (writeFile): output them in the LyX file.
9661 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9663 * lyxfunc.C (getStatus): add support for all the inset insertion
9666 * text2.C (insertInset):
9667 * paragraph.C (insetAllowed):
9668 * BufferView_pimpl.C (insertInset): update to take in account the
9669 renaming of insertInsetAllowed
9671 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9673 * text2.C (getInset): new method. returns inset at cursor position.
9675 * BufferView_pimpl.C (Dispatch): changes because of this.
9677 * LyXAction.C (init): rename open-stuff to inset-toggle.
9679 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9681 * text2.C (toggleInset): renamed from openStuff; use
9684 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
9686 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9688 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9690 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
9692 * buffer.C (readLyXformat2): Add filename to the error dialog
9694 2001-07-18 Juergen Vigna <jug@sad.it>
9696 * tabular.C (GetCellNumber): put an assert here instead of the check!
9698 2001-07-17 Juergen Vigna <jug@sad.it>
9700 * BufferView_pimpl.C (toggleSelection): adapted too.
9702 * text.C (selectNextWord): adapted for use with insets.
9703 (selectSelectedWord): ditto
9705 2001-07-17 Juergen Vigna <jug@sad.it>
9707 * sp_spell.C (PSpell): fix initialitation order.
9709 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9711 * paragraph.C: spacing
9713 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
9715 * sp_spell.C: repair language selection for pspell
9717 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9719 * lyxfunc.h: change more methods to begin with lower char.
9721 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
9723 * buffer.C (parseSingleLyXformat2Token): Generate error insets
9724 for unknown layouts.
9726 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
9728 * buffer.C (readLyXformat2): Generate an error dialog if there are
9731 2001-07-16 Juergen Vigna <jug@sad.it>
9733 * sp_spell.C: always compile ISpell part.
9735 * lyxrc.C: added use_pspell entry and it's handling.
9737 2001-07-13 Juergen Vigna <jug@sad.it>
9739 * sp_spell.C: removed double includes.
9741 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
9743 Consistent use of Lsstream.h:
9744 * Lsstream.h: added using std::stringstream for consistencies sake.
9746 * buffer.C: removed using std::stringstream
9748 * lyxfont.C (stateText):
9749 * paragraph.C (asString):
9750 * text.C (selectNextWord, selectSelectedWord):
9751 * text2.C (setCounter):
9752 * vspace.C (asString, asLatexString):
9753 std::ostringstream -> ostringstream.
9755 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9757 * LyXAction.C: add LFUN_HELP_ABOUTLYX
9758 * commandtags.h: add LFUN_HELP_ABOUTLYX
9759 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9761 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9763 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9765 * lyx_gui_misc.C: remove spellchecker
9766 * lyxfunc.C: showSpellchecker
9768 * sp_ispell.h: added
9769 * sp_pspell.h: added
9771 * sp_form.[Ch]: removed
9772 * spellchecker.[Ch]: removed
9774 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
9776 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9778 (simpleTeXSpecialChars): Simply print the input character without
9779 any special translation if pass_thru is set.
9781 * layout.h: Added bool pass_thru to layout class for being able to
9782 implement pass through of a paragraph for Literate Programming.
9784 * layout.C: add LT_PASS_THRU to LayoutTags enum.
9785 * layout.C (LyXLayout): set pass_thru to flase in constructor.
9786 * layout.C (Read): add "passthru" to list of layout tags and add
9787 code to set the pass_thru boolean when it is read.
9789 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9791 * trans_decl.h: remove allowed from KmodInfo
9793 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9797 * paragraph_pimpl.C (erase): use boost::prior
9799 * Painter.C (text): use data() instead of c_str() when length is
9801 * WorkArea.C (putClipboard): ditto
9802 * font.h (width): ditto
9804 * BufferView2.C: use it-> instead of (*it). for iterators
9806 * paragraph_pimpl.C: ditto
9807 * paragraph.C: ditto
9808 * minibuffer.C: ditto
9813 * converter.C: ditto
9815 * Variables.C: ditto
9816 * TextCache.C: ditto
9817 * MenuBackend.C: ditto
9818 * LyXAction.C: ditto
9820 * FloatList.C: ditto
9822 * ColorHandler.C (LyXColorHandler): ditto
9824 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9826 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9828 * text2.C (openStuff): reintroduce this method (which had been
9829 nuked in NEW_INSETS frenzy).
9831 * lyxfunc.C (Dispatch): when an action has not been handled, use
9832 its name in the error message, not its number.
9834 * paragraph.C (inInset): change method name to begin with lowercase.
9837 * text2.C: updates because of this.
9839 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9841 * ToolbarDefaults.C (add): add spaces in error message
9843 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9845 * buffer.C (readLyXformat2): initialize the ert comp. variables.
9846 (readLyXformat2): rename return_par to first_par, use lyxlex's
9847 pushToken and remove the manual push handling.
9848 (parseSingleLyXformat2Token): add another ert comp. variable:
9849 in_tabular, rename return_par to first_par. handle newlines better
9851 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9853 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9855 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9857 * text2.C (getParFromID): removed
9859 * buffer.C (getParFromID): new method moved form lyxtext.
9860 * BufferView2.C (insertErrors): adjust
9861 (setCursorFromRow): adjust
9862 * BufferView_pimpl.C (restorePosition): adjust
9863 * lyxfunc.C (Dispatch): adjust
9864 * undo_funcs.C (textUndo): adjust
9866 (textHandleUndo): adjust
9867 (textHandleUndo): adjust
9869 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9871 * buffer.C: up' the LYX_FORMAT
9873 * lyxfont.h: turn NO_LATEX on as default
9875 * buffer.C (insertErtContents): new methods of tex style compability.
9876 (parseSingleLyXformat2Token): use it several places.
9877 * tabular.C (OldFormatRead): and here
9879 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9881 * text2.C: remove some commented code.
9884 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9885 * trans.C: changes because of the above.
9887 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
9889 * text2.C (setCounter): Fix counters bug with bibliography layout.
9891 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9893 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9894 own member functions
9895 (simpleTeXSpecialChars): ditto
9897 2001-07-06 Juergen Vigna <jug@sad.it>
9899 * a lot of files: changed the access to LyXText::status and the
9900 call of undo-functions.
9902 * undo.[Ch]: added a inset_id to the undo informations.
9904 * undo_funcs.[Ch]: added and moved here all undo functions.
9906 * lyxtext.h: give the status enum a weight, made status_ a private
9907 variable and made accessor functions for it, removed the whole bunch
9908 of undo-functions as they are now in their own file, make some
9909 functions publically available. Added function ownerParagraph with
9912 * paragraph.[Ch]: added "bool same_ids" to the constructor,
9913 made InInset() a const function, added getParFromID() function.
9915 * buffer.[Ch]: added const version for inset_iterator functions,
9916 added getInsetFromID() function.
9918 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9919 changed undo functions for new version.
9921 2001-07-05 Juergen Vigna <jug@sad.it>
9923 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9924 unknow mechanism does not call the proper constructor but only this
9925 one also if I request the other!?
9927 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9929 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9931 * text2.C (LyXText): use initialization lists.
9933 * lyxtext.h (Selection): initialize set_ and mark_
9934 (init): remove method
9936 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
9938 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9940 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9942 * screen.[Ch]: change method names to begin with lowercase
9944 * BufferView_pimpl.C (updateScrollbar): simplify further and
9945 hopefully make it a bit faster.
9947 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9949 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9950 calling directly xforms functions.
9952 * Painter.C (Painter):
9953 * lyx_cb.C (MenuWrite):
9954 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
9957 * lyx_gui.C: remove bogus guiruntime extern declaration.
9959 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9961 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
9963 (redoDrawingOfParagraph): ditto
9964 (redoParagraphs): ditto
9965 (cutSelection): don't create a object for CutAndPaste use the
9966 static method directly
9967 (pasteSelection): ditto
9969 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
9972 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9974 * modifications to some other files because of this.
9976 * Makefile.am (lyx_SOURCES): add XFormsView
9978 * XFormsView.[Ch]: new files
9980 * LyXView.[Ch]: make LyXView a base class for the gui handling for
9981 the main window. Move the gui dependent stuff to XFormsView
9983 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9985 * tabular.C (GetCellInset): update cur_cell also in the row/col
9986 version of this function.
9988 * lyxfunc.C: no need to include figure_form.h here.
9994 * lyxvc.C: no need to include forms.h here.
9996 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9998 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
10000 * lyxfunc.C (Dispatch):
10002 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
10003 constructor argument.
10005 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10007 * paragraph.C (Paragraph): dont't clear, and just set layout.
10008 (makeSameLayout): use params's copy contructor.
10010 * ParagraphParameters.[Ch] (makeSame): delete method
10012 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
10014 * Variables.[Ch]: fix indentation, rename set to isSet
10016 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10018 * lyxfunc.C (Dispatch): fix typo
10020 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10022 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
10025 * bufferlist.C: include assert.h for emergencyWrite().
10027 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10029 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
10030 give up at last (bug #425202) !
10032 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
10038 * spellchecker.C: strip spellchecker options and bring up
10039 preferences tab instead
10041 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10043 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
10044 the istringstream constructor
10046 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10048 * paragraph.C (getLayout): fix return value
10050 * paragraph.h: do not declare getLayout as inline.
10052 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
10054 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10056 * lyxcursor.h (operator<): new func
10057 (operator>): new func
10058 (operator>=): new func
10059 (operator<=): new func
10061 * text.C (changeCase): use selection.start and selection.end
10062 (changeRegionCase): require from to be <= to. Require par to be a
10065 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
10067 2001-06-27 Juergen Vigna <jug@sad.it>
10069 * text.C (cursorLeftOneWord): changed to return the cursor and added
10070 overlay with BufferView * parameter which calls this one.
10072 (selectWord): use new getWord function.
10073 (changeCase): renamed from changeWordCase as and extended to work
10074 also on selections.
10076 * lyxtext.h: added enum word_location
10078 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
10079 changeCase as this operates now also on selections.
10081 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
10083 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
10085 * many files: send debug output to Debug::INFO instead of
10088 * converter.C (View):
10090 (Move): send debug output to Debug::FILES instead of console.
10092 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
10094 * lyxfunc.C (getStatus): use func_status
10096 * func_status.h: new header, describing the results of
10097 LyXFunc::getStatus;
10099 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
10102 2001-06-25 The LyX Project <jug@sad.it>
10104 * buffer.C (sgmlOpenTag):
10106 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
10108 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10110 * text2.C: remove some dead code
10112 * tabular.C (GetCellInset): store the last cell checked (gotten)
10114 * tabular.h: add the helper for the speedup
10116 * lyxtext.h: remove some dead code
10118 2001-06-26 The LyX Project <Asger>
10120 * paragraph.C: Change export to LaTeX of alignment to
10121 \begin{center} and family for better roundtrip work with reLyX.
10123 * Tune the math drawing a bit.
10125 2001-06-25 The LyX Project <Asger>
10127 * LColor.C (LColor): New color for math background. New color
10130 2001-06-25 The LyX Project <jug@sad.it>
10132 * lyxfunc.C (MenuNew): remove extra check for .lyx file
10134 * lyxfunc.C (Open):
10135 * bufferlist.C (newFile): do not restrict to files ending with
10138 * BufferView_pimpl.C (MenuInsertLyXFile):
10140 2001-06-24 The LyX Project <jug@sad.it>
10142 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
10145 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10147 * lyxtext.h: rename most methods to begin with a small char.
10148 Lots of changes because of this.
10150 * paragraph.C (Paragraph): do not call fitToSize
10151 (erase): call Pimpl::erase
10152 (insertChar): call Pimpl::insertChar
10153 (insertInset): call Pipl::insertInset
10154 (breakParagraph): do not call fitToSize
10155 (breakParagraphConservative): do not call fitToSize
10156 (fitToSize): remove method
10158 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
10160 2001-06-24 The LyX Project <Asger>
10162 * Fix Qt compilation^2
10164 2001-06-24 The LyX Project <jug@sad.it>
10166 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
10167 depthHook(getDepth()-1).
10170 * ParagraphParameters.h:
10171 * ParameterStruct.h: change type of depth to unsigned int ==
10172 depth_type. Many adaptations to other files before of that.
10174 2001-06-24 The LyX Project <Asger>
10176 * Fix Qt compilation.
10178 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10180 * paragraph.h: renamed several methods to begin with small letter.
10181 several changes to many parts of the code because of this.
10183 2001-06-23 The LyX Project <jug@sad.it>
10185 * text2.C (InsertStringAsLines): renamed from InsertStringA;
10186 rewritten to discard all double spaces when KeepEmpty is off
10187 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
10188 to only handle newlines but not fiddle with spaces and friends.
10190 * lyxfunc.C (MenuNew): when doing 'new from template', use
10191 template_path as default directory
10193 2001-06-23 The LyX Project <Asger>
10195 * Clean-up of header file includes all over
10196 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
10198 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10200 * paragraph.h: renamed from lyxparagraph.h
10202 2001-06-23 Asger <lyx@violet.home.sad.it>
10204 * Buffer.h: Removed Buffer::resize
10205 * BufferList.h: Removed BufferList::resize
10206 * LyXView.h: Added LyXView::resize. This way, we will only reflow
10207 the document lazily when we change the width, or the font settings.
10209 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10211 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
10213 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10215 * buffer.h: remove out of date comment
10217 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10220 * screen.C: fix "theoretical" GC leak
10222 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10224 * LaTeX.C (scanAuxFile):
10225 (deplog): remove trailing \r when reading stream (useful under
10228 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
10230 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
10231 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
10232 and BufferView::theLockingInset(Inset*), so should use them and not
10233 access bv_->text->the_locking_inset directly.
10235 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
10237 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10240 * tex-defs.h: remove old unused file
10242 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
10244 * BufferView_pimpl.C: fix typo, remove minibuffer message
10245 when buffer has loaded
10247 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10249 * lyxfunc.C (Dispatch): use stringstream
10250 (MenuNew): use stringstream
10251 (Open): use stringstream
10253 * importer.C (Import): use stringstream
10255 * bufferview_funcs.C (CurrentState): use stringstream
10257 * LaTeX.C (run): use stringstream
10259 * BufferView_pimpl.C (savePosition): use stringstream
10260 (restorePosition): use stringstream
10261 (MenuInsertLyXFile): use stringstream
10263 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
10276 * vspace.C: removed // -*- C++ -*- as first line.
10279 * version.h: added // -*- C++ -*- as first line.
10281 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10283 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
10285 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
10288 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10290 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
10293 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10295 * gettext.C: include LString.h even when --disable-nls is on.
10297 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
10299 * converter.h (Get): changed argument type from int to
10300 FormatList::size_type to avoid unnecessary conversion.
10302 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
10305 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10307 * gettext.h: include LString.h even when --disable-nls is on.
10309 2001-06-07 Juergen Vigna <jug@sad.it>
10311 * text.C (BreakAgain): subst spaces with tabs.
10313 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
10314 (resizeInsetsLyXText): set force on resizeLyXText.
10316 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10318 * gettext.h (gettext_init):
10319 (locale_init): use a real definition instead of a macro
10321 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10323 * Bufferview_pimpl.C:
10325 * LColor.C: further lcolor tidies
10327 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10329 * BufferView_pimpl.C (updateScrollbar): simplify.
10331 * BufferView2.C: don't include insets/insetinfo.h, change
10332 prototype for insertInset and call the Pimpl version. let
10333 updateInset call Pimpl version.
10335 * BufferView.h: move inset_slept to BufferView::Pimpl, move
10336 gotoInset to BufferView::Pimpl
10338 2001-06-01 Juergen Vigna <jug@sad.it>
10340 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
10341 inside a LockingInset (is the update needed at all?).
10343 2001-05-31 Juergen Vigna <jug@sad.it>
10345 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
10346 here not the old one otherwise how should we compare it afterwards
10349 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10354 * FontInfo.C: bring C functions into global namespace when
10357 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10359 * LString.h: make sure config.h has been loaded before LString.h.
10361 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
10362 (one for each char read by EatLine!).
10364 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
10367 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10369 * paragraph.C (BreakParagraph): set the inset_owner in the new par
10370 to the same as the par we break from
10372 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
10374 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
10376 * MenuBackend.C (expand): also create menu entries for wide
10377 versions of the floats.
10379 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
10381 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
10383 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
10384 frontends/Makefile.am
10390 * tabular.C (getTokenValue): add std::
10392 * tabular-old.C (getTokenValue): add std::
10393 (getTokenValue): ditto
10394 (getTokenValue): ditto
10396 * screen.C (ToggleSelection): adjust
10398 * lyxtext.h: put selection cursors inside a Selection struct.
10400 * lyxfunc.C (moveCursorUpdate): adjust
10402 * lyxfont.C (latexWriteStartChanges): add std::
10404 * lyxfind.C: adjust
10406 * font.h: delete with(char const *, LyXFont const &)
10408 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
10410 * FontInfo.C (getFontname): add std::
10412 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
10413 (workAreaButtonPress): adjust
10414 (tripleClick): adjust
10416 (moveCursorUpdate): adjust
10419 * BufferView2.C (gotoInset): adjust
10421 2001-05-30 Juergen Vigna <jug@sad.it>
10423 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
10424 to check pspell I add this as default as I now have new pspell
10425 libraries and they seem to use this.
10427 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10429 * text2.C (CutSelection): make the cursor valid before the call to
10432 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10434 * kbsequence.C (parse): de-uglify a bit the parsing code, which
10435 relied on 0 terminated strings and other horrors. Bug found due to
10436 the new assert in lyxstring!
10438 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
10441 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10443 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
10446 * lyxfunc.C (processKeySym): change method of getting to the
10449 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
10450 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
10451 * BufferView_pimpl.[Ch]: here as private methods.
10453 2001-05-28 Juergen Vigna <jug@sad.it>
10455 * text.C (SetHeightOfRow): added the update() call again as it is
10456 needed to initialize inset dimensions!
10458 2001-05-16 Juergen Vigna <jug@sad.it>
10460 * text2.C (SetCharFont): Add new function with BufferView * and
10461 bool toggleall parameters for setting insets internal fonts.
10462 (SetFont): Freeze the undo as we may change fonts in Insets and
10463 all this change should be inside only one Undo!
10465 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
10466 setting font's in insets as for them we have the SetFont function!
10468 2001-05-15 Juergen Vigna <jug@sad.it>
10470 * text2.C (ClearSelection): to be sure we REALLY don't have any
10473 * tabular.C (TeXCellPreamble): fixed the left border problem for
10476 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
10478 * LaTeX.C (deplog): Make sure that the main .tex file is in the
10481 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10483 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
10484 LFUN_BREAKPARAGRAPH.
10486 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
10487 help test to "internal only", similar for LFUN_INSERT_URL
10489 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10490 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
10491 auto_region_delete and deadkeys.
10493 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
10496 * LColor.C: remove some dead entries, tidy a little
10498 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10500 * lyxfunc.C (processKeySym): comment the Escape handling, remove
10502 (Dispatch): implement LFUN_ESCAPE
10504 * commandtags.h: add LFUN_ESCAPE
10506 * LyXAction.C (init): add entry for LFUN_ESCAPE
10508 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
10509 Remove commented code.
10510 (insertNote): moved here
10511 (open_new_inset): moved here
10513 * BufferView[2].[Ch]: move insertNote and open_new_inset to
10516 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10518 * kbmap.C (findbinding): clean it up and make it work correctly.
10520 * lyx_main.C (init): do not pass argc and argv as parameters
10522 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
10524 * buffer.C: fix path for OS/2 & Win32
10528 * lyx_main.C: Added os:: class.
10530 * os2_defines.h: update
10532 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10534 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10535 better by trying again with reduced state.
10537 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10539 * lyxrc.C (read): print error about invalid key sequence only when
10540 debugging (because not all latinX keysyms are known to some X
10543 * kbsequence.C (getiso): add a few std:: qualifiers
10544 (getiso): comment out extra return statement.
10546 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
10548 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
10550 (Dispatch): enhance the accent inset a bit. (not perfect)
10552 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10554 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
10556 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10558 * bufferlist.C (emergencyWrite): fix assert() call
10560 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
10562 * text.C (InsertChar): Added trivial patch to only send the "you
10563 can not do multiple spaces this way" message once during a
10566 2001-05-08 Baruch Even <baruch@lyx.org>
10568 * Makefile.am: Changed order of libraries to get LyX to link properly
10569 with the gnome frontend.
10571 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10573 * LaTeXFeatures.h: add a std:: qualifier
10575 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10577 * paragraph.C (String): use stringstream
10579 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10581 * paragraph.C (writeFile): remove footflag arg
10583 * buffer.C (makeLaTeXFile): use stringstream
10584 (latexParagraphs): remove footnot gurba
10586 * LaTeXFeatures.C (getPackages): use stringstream
10587 (getMacros): likewise
10588 (getTClassPreamble): likewise
10589 (getFloatDefinitions): new method
10591 * paragraph.C (writeFile): reindent
10594 * WorkArea.h: revert the xpos + etc changes.
10596 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10598 * lyxparagraph.[Ch]: add copy constructor, remove Clone
10600 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10601 (pasteSelection): likewise
10602 * text2.C (CreateUndo): likewise
10604 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10606 * minibuffer.C (peek_event): temporarily reduce the functionality
10607 of the minibuffer (to allow args on lfuns)
10609 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10610 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10612 * buffer.C (readInset): add compability reading of old float
10613 lists, add reading of new style float list.
10614 (readInset): avoid reevaluation of inscmd.getCmdName()
10615 (getLists): reindent
10617 * MenuBackend.C (MenuItem): implement parsing of
10618 md_floatlistinsert and md_floatinsert.
10619 (expand::LastFiles): move initalizaton of iterators out of loop,
10620 avoid reevaluation.
10621 (expand::Documents): introduce typdedef vector<string> Strings,
10623 (expand::ExportFormats): introduce typedef vector<Format const *>
10624 Formats, and use it.
10625 (expand): implement FloatListInsert and FloatInsert.
10627 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10628 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10629 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10631 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10633 (Dispatch::LFUN_FLOAT_LIST): implement
10635 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10637 * LaTeX.C (run): Fix problem with --export code.
10639 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10641 * BufferView.[Ch] (workarea): removed.
10642 (getClipboard) new method; wrapper for workarea()->getClipboard()
10644 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10647 * WorkArea.h (width, height, xpos, ypos): These methods all
10648 returned the dimensions of the work_area sub-area of WorkArea,
10649 resulting in a position error if the WorkArea were resized. Now
10650 return the dimensions of the entire WorkArea.
10652 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10654 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10656 * LaTeX.C (deplog): correct the syntax of regex reg1
10658 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10660 * undo.C: remove !NEW_INSETS cruft
10662 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10664 * text2.C: remove !NEW_INSETS cruft
10666 * text.C: remove !NEW_INSETS cruft
10668 * tabular.C: remove !NEW_INSETS cruft
10670 * spellchecker.C: remove !NEW_INSETS cruft
10672 * lyxtext.h: remove !NEW_INSETS cruft
10674 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10676 * lyxfunc.C: remove !NEW_INSETS cruft
10678 * lyxfind.C: remove !NEW_INSETS cruft
10680 * lyx_cb.C: remove !NEW_INSETS cruft
10682 * figureForm.C: remove !NEW_INSETS cruft
10684 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10686 * buffer.[Ch]: remove !NEW_INSETS cruft
10688 * ToolbarDefaults.C: remove !NEW_INSETS cruft
10690 * CutAndPaste.C: remove !NEW_INSETS cruft
10692 * BufferView_pimpl.C: remove !NEW_INSETS cruft
10694 * BufferView2.C: remove !NEW_INSETS cruft
10696 * BufferView.h: remove !NEW_INSETS cruft
10698 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10700 * Lsstream.h: include LString.h before the sstream headers to
10701 fix problem with gcc 2.95.3 and lyxstring
10703 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10705 * lyx_main.C: add using directives when needed for C functions
10706 declared in std:: namespace.
10708 2001-04-27 Juergen Vigna <jug@sad.it>
10710 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10711 (SetHeightOfRow): comment out the update call should not be needed!
10713 2001-04-13 Juergen Vigna <jug@sad.it>
10715 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10716 (LyXTabular): tried to minimize operator= operations (and realized
10717 hopfully Lars wish).
10719 2001-04-27 Juergen Vigna <jug@sad.it>
10721 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10723 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10725 * lyxfunc.C (Dispatch): hack to make listof algorithm work
10727 * buffer.C (readInset): hack to make listof algorithm work
10729 * BufferView_pimpl.C: hack to make listof algorithm work
10731 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10733 * LyXAction.C: removed all !NEW_INSETS cruft
10734 (init): moved lfun_item in method
10736 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10738 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10740 * BufferView2.C (theLockingInset): white space.
10742 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10744 * minibuffer.C: include <iostream>
10746 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10748 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10750 * commandtags.h: add LFUN_TRANSPOSE_CHARS
10752 * text.[Ch] (TransposeChars): new method
10754 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10756 * call message directly through LyXView instead of through LyXFunc
10757 * BufferView2.C: adjust
10758 * BufferView_pimpl.C: adjust
10759 * FontLoader.C: adjust
10761 * bufferview_funcs.C: adjust
10762 * converter.C: adjust
10763 * figureForm.C: adjust
10764 * importer.C: adjust
10766 * lyx_gui_misc.C: adjust
10767 * lyxfunc.C: adjust
10770 + more files in subdirs
10772 * lyxparagraph.h (size): move up int file
10775 * adjust all uses of Assert to lyx::Assert.
10777 * BufferView2.C (ChangeCitationsIfUnique): adjust for
10778 lyxfunctional in namespace lyx
10779 * layout.C (hasLayout): ditto
10782 (delete_layout): ditto
10783 (NumberOfClass): ditto
10784 * converter.C (GetFormat): ditto
10789 * bufferlist.C (getFileNames): ditto
10790 (emergencyWriteAll): ditto
10793 * MenuBackend.C (hasSubmenu): ditto
10796 * BufferView_pimpl.C (getInsetByCode): ditto
10798 2001-04-18 Juergen Vigna <jug@sad.it>
10800 * vspace.C (asLatexString): fixed the 100% problem.
10802 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10804 * lyxfunc.C (Dispatch):
10806 * minibuffer.h: add a few std:: qualifiers
10808 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10810 * minibuffer.[Ch]: reimplement so that commands is initiated and
10811 run from lyxfunc, simplified som handling, and made the completion
10812 and history code for complete. wip.
10814 * lyxfunc.C (processKeySym): call message
10815 (miniDispatch): new temporary method
10816 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10817 (LFUN_MESSAGE): implement
10818 (LFUN_MESSAGE_PUSH): implement
10819 (LFUN_MESSAGE_POP): implement
10820 (initMiniBuffer): the initial/defualt minibuffer message.
10822 * lyxfont.[Ch]: inline some more getters
10824 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10826 * lyx_gui_misc.[Ch] (WriteStatus): remove method
10828 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10829 (AutoSave): use LFUN_MESSAGE
10830 (Reconfigure): ditto
10832 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10834 * figureForm.C: use LFUN_MESSAGE
10836 * converter.C (runLaTeX): use LFUN_MESSAGE
10838 * bufferview_funcs.C: use LFUN_MESSAGE
10840 (changeDepth): ditto
10842 * bufferparams.h: use boost::
10844 * bufferlist.h: inherit privately from noncopyable
10846 * bufferlist.C (loadLyXFile): remove some commented code.
10848 * buffer.C (runChktex): use LFUN_MESSAGE
10850 * ShareContainer.h: inherit privately from noncopyable
10852 * ParagraphParameters.[hC] (depth): inline it.
10854 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10856 (message): new method
10857 (messagePush): ditto
10858 (messagePop): ditto
10859 (show): init minibuffer
10860 (showState): direct call
10862 * LaTeX.[Ch]: inherit privately from noncopyable
10863 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10864 instead of WriteStatus.
10866 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10868 * BufferView_pimpl.C (buffer): don't init minibuffer
10869 (workAreaButtonPress): use LFUN_MESSAGE
10870 (workAreaButtonRelease): ditto
10871 (savePosition): ditto
10872 (restorePosition): ditto
10873 (MenuInsertLyXFile): ditto
10874 (workAreaExpose): don't init minibuffer
10875 (update): remove commented code, simplify
10877 * BufferView2.C (openStuff): use LFUN_MESSAGE
10878 (toggleFloat): ditto
10881 (copyEnvironment): ditto
10882 (pasteEnvironment): ditto
10887 (updateInset): remove some commented code
10889 * lastfiles.h: inherit privately from noncopyable
10892 * lyx_main.h: ditto
10894 * lyxlex_pimpl.h: ditto
10896 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10897 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10898 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10900 * LyXAction.h: inherit privately from noncopyable, add methods
10901 func_begin, func_end, returning iterators to the func map.
10903 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10904 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10905 (func_begin): new method
10906 (func_end): new method
10908 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10910 (copySelection): ditto
10911 (pasteSelection): ditto
10913 * BufferView.C: whitespace change
10914 * BufferView.h: inherit privately from noncopyable
10916 2001-04-16 Allan Rae <rae@lyx.org>
10918 * tabular-old.C (l_getline):
10919 * spellchecker.C (sc_check_word):
10920 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10921 an unrecognised preprocessor directive. So ensure they're wrapped.
10923 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
10925 * src/exporter.C (Export): Give an error message when path to file
10928 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
10930 * LaTeX.C (deplog): Always check that foundfile exists.
10932 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10935 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10937 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10939 * tabular.[Ch] (getLabelList): implement new method
10941 * minibuffer.h: comment ouf setTiimer
10943 * minibuffer.C (ExecutingCB): constify res
10944 (peek_event): constify s
10945 (Set): constify ntext
10946 (Init): constify nicename
10948 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10950 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10951 (savePosition): use two params to Minibuffer::Set
10952 (restorePosition): ditto
10954 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10956 * lyx_main.C: include language.h
10958 * Makefile.am (lyx_main.o): add language.h
10960 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10966 * CutAndPaste.C: include gettext.h
10968 * lyxfont.h: remove old hack with ON and OFF.
10971 * lyxfont.h: do not include language.h...
10976 * bufferview_funcs.C:
10982 * paragraph.C: ... but do it here instead
10984 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10986 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
10988 * tabular.C: small reformat
10990 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
10993 (BreakParagraph): ditto
10994 (SetOnlyLayout): ditto
10997 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
11000 * lastfiles.C: removed most using decl, add std:: where needed
11002 * buffer.C: ws changes
11004 * MenuBackend.C (class compare_format): put into anon namespace
11005 (expand): constify label, names, action, action2
11008 * text.C (SingleWidth): constify font
11009 (IsBoundary): constify rtl2
11010 (GetVisibleRow): constify ww
11012 * LaTeX.C (deplog): constify logfile
11014 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
11016 (workAreaExpose): constify widthChange, heightChange
11018 * lyxrow.C (par): moved
11021 * lyxrow.h: as inlines here
11023 * lyxfont.h (shape): moved from lyxfont.C
11024 (emph): moved from lyxfont.C
11026 * lyxfont.C (LyXFont): use initialization list for all
11028 (shape): move to lyxfont.h as inline
11029 (emph): move to lyxfont.h as inline
11032 2001-04-04 Juergen Vigna <jug@sad.it>
11034 * vspace.C: had to include stdio.h for use of sscanf
11036 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
11039 * BufferView_pimpl.h: remove xforms cruft. Both classes are
11040 independent of xforms.
11042 2001-04-02 Juergen Vigna <jug@sad.it>
11044 * spellchecker.C: fixed namespace placing!
11046 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
11048 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
11049 the LyXParagraph * is 0.
11051 2001-03-29 Juergen Vigna <jug@sad.it>
11053 * vspace.C: added support for %, c%, p%, l%.
11054 (stringFromUnit): added helper function.
11055 (asLatexString): changed to give right results for the %-values.
11057 * buffer.C: convert the widthp in a width%.
11059 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
11061 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
11064 * figureForm.[Ch]: stripped the FD_from_figure manipulation
11065 code out of lux_cb.[Ch], ready for its (imminent?) removal.
11067 * lyx_cb.[Ch]: see above.
11069 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
11073 * lyx.[Ch]: replaced by figure_form.[Ch].
11077 * lyxfunc.C: changed headers associated with above changes.
11079 2001-03-27 Juergen Vigna <jug@sad.it>
11081 * BufferView_pimpl.C: set the temporary cursor right!
11083 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
11085 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
11087 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
11089 * LString.h: removed "using std::getline"!
11091 * BufferView_pimpl.C (Dispatch): changes due to changes in
11092 InsetInclude::Params.
11094 * buffer.C (tag_name): removed redundant break statements as they were
11095 producing lots of warnings with my compiler.
11097 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11099 * LString.h: add "using std::getline" when using the real <string>.
11101 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
11103 * buffer.C: removed bitset usage.
11104 PAR_TAG moved to an anonymous name space.
11105 (tag_name): new funtion, also in the anonymous namespace.
11106 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
11107 (makeDocBookFile): clean code. Completed transition from string arrays
11109 (SimpleDocBookOnePar): code clean.
11111 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11113 * tabular.C: add some comments.
11115 2001-03-22 Juergen Vigna <jug@sad.it>
11117 * buffer.C (parseSingleLyXformat2Token): redone the minipage
11118 compatibility read a bit and fixed bug with minipage in different
11121 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
11123 * buffer.C (pop_tag): removed.
11124 (push_tag): removed.
11125 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
11126 array replaced with vector. Added support for CDATA sections.
11127 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
11129 (makeDocBookFile): XML conformant declaration of CDATA section,
11130 fixed bug related to <emphasis> in the first paragraph char.
11131 (sgmlOpenTag): exclude empty tags.
11132 (sgmlCloseTag): ditto.
11134 * buffer.h (pop_tag): removed.
11135 (push_tag): removed.
11137 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
11139 * language.h (Languages): added size_type and size().
11141 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11143 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
11144 response on compability reading of minipages. One probliem is that
11145 the old usage of minipages was «flertydig»
11147 * several files here and in subdirs: don't use static at file
11148 scope use anon namespaces instead.
11150 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
11152 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
11153 LaTeX output. This is necessary for Literate document
11156 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11158 * buffer.C: insert hfill when needed.
11160 * tabular.C (l_getline): use string::erase, small whitespace change.
11162 * BufferView_pimpl.C: try the anon namespace.
11163 * WorkArea.C: ditto
11165 2001-03-16 Juergen Vigna <jug@sad.it>
11167 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
11168 otherwise it won't open options-dialogs.
11170 * buffer.C: honor pextraWidth(p) on converting minipages.
11172 * tabular.C (l_getline): changed the functions to strip trailing \r.
11174 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
11176 * BufferView_pimpl.C:
11177 * minibuffer..C: added "using SigC::slot" declaration.
11179 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11181 * lyxlex_pimpl.h: noncopyable is in namespace boost.
11187 * paragraph.C: ditto
11189 * lyxtext.h: NO_PEXTRA
11191 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
11193 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
11194 * ParameterStruct.h: ditto
11195 * ParagraphParameters.h: ditto
11196 * lyxparagraph.h: ditto
11198 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11200 * buffer.C: add compability for minipage alignment.
11201 (latexParagraphs): remove unwanted pextra check.
11203 * several files: remove CXX_WORKING_NAMESPACES
11205 * buffer.C (pop_tag): tie is in namespace boost
11207 * BufferView.h: noncopyable is in namespace boost
11209 * lyx_main.h: ditto
11212 * lastfiles.h: ditto
11213 * bufferlist.h: ditto
11214 * ShareContainer.h: ditto
11216 * LyXAction.h: ditto
11219 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11221 * Merging changes from BRANCH_MVC back into HEAD.
11223 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
11225 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
11227 * BufferView_pimpl.C: change from intl.C
11231 * Makefile.am: move combox.*
11237 * intl.C: remove dialog (covered by prefs)
11239 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11241 * lyxfunc.C (Dispatch): removed redundant break statement.
11243 2001-03-14 Juergen Vigna <jug@sad.it>
11245 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
11247 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11249 * buffer.C: add hack to fix compability reading of minipages.
11251 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
11253 * buffer.C (getLists): Cleanup.
11255 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11257 * lyxfont.C (update): don't honor toggleall on font size.
11259 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
11263 * Makefile.am: moved to frontends/xforms/
11267 * BufferView_pimpl.C: changes for moved mathpanel
11269 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11271 * gettext.h: fix gettext_init() in --disable-nls
11273 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11275 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
11277 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
11280 * lyx.h: strip external form
11282 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11284 * BufferView_pimpl.C: add comment, destroySplash()
11286 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11288 * BufferView_pimpl.C:
11292 * lyxfunc.C: use re-worked insetinclude
11294 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11296 * buffer.C: add using std::stringstream.
11298 * lyx_cb.C: readd using std::ios.
11300 * buffer.C: add using std::map.
11302 * BufferView_pimpl.C: add using std::vector.
11304 * ShareContainer.h: add std:: to swap.
11306 * buffer.h: add some typedefs
11307 * buffer.C (getLists): use them
11308 (getLists): renamed from getTocList.
11309 add a counter for the different float types and use it in the
11311 (getLists): use the same counter for the NEW_INSETS and the "non"
11314 * lyx_cb.h: remove unused items, includes, using etc.
11316 * ShareContainer.h: remove some commented code, add more comments
11317 and "documentation".
11319 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11321 * buffer.C (getTocList): make the list also when NEW_INSETS is
11324 * buffer.h: remove TocType
11326 * buffer.C (getTocList): change to return a map<string,
11327 vector<TocItem> >, implement for dynamic number of list.
11329 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
11330 * text2.C (PasteSelection): adjust
11331 * CutAndPaste.C (pasteSelection): adjust
11333 * FloatList.C (FloatList): update from the new_insets branch.
11334 * Floating.[Ch]: ditto
11335 * LaTeXFeatures.C: ditto
11337 * lyxlex_pimpl.C: ditto
11339 * paragraph.C (Last): remove when NEW_INSETS is defined.
11341 * other file: changes because of the above.
11343 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11345 * lyxparagraph.h: rename next to next_, previous to previous_,
11346 make them private for NEW_INSETS. Rename Next() to next(),
11347 Previous() to previous().
11349 * other files: changes because of the above.
11351 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
11354 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
11357 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11359 * main.C (main): pass lyx_localedir to gettext_init().
11361 * gettext.h: remove locale_init and gettext_init macros
11363 * gettext.C (locale_init): new function
11364 (gettext_init): new function
11366 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
11369 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
11371 * Moved credits to frontends:
11372 * credits.[Ch]: removed
11373 * credits_form.[Ch]: removed
11374 * lyx_gui_misc.C: remove credits stuff
11377 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11379 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
11381 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
11382 unneeded destructor.
11384 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
11385 a standalone pointer again.
11387 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
11389 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
11395 * ToolbarDefaults.C:
11404 * BufferView_pimpl.C: use new file dialog in GUII
11407 * lyx_cb.C: remove LayoutsCB to Toolbar
11409 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11411 * ShareContainer.h (get): add std:: qualifier
11413 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11415 * ShareContainer.h: define a proper ShareContainer::value_type
11416 type (and use typename to please compaq cxx)
11418 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11420 * lyxparagraph.h: move serveral local vars to
11421 ParameterStruct/ParagraphParameters., use ShareContainer in
11422 FontTable., make vars in FontTable private and add getter and
11425 * paragraph.C: changes because of the above.
11427 * lyxfont.h: remove copy constructor and copy assignment. (the
11428 default ones is ok), move number inside FontBits. move inlines to
11431 * lyxfont.C: add number to initializaton of statics, move several
11432 inlines here. constify several local vars. some whitespace
11433 cleanup. Dont hide outerscope variables.
11435 * Spacing.h: add two new constructors to match the set methods.
11437 * ShareContainer.h: new file, will perhaps be moved to support
11439 * ParameterStruct.h: new file
11441 * ParagraphParameters.h: new file
11443 * ParagraphParameters.C: new file
11445 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
11446 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
11448 * BufferView_pimpl.C: ParagraphParameter changes.
11449 * buffer.C: Likewise.
11450 * bufferview_funcs.C: Likewise.
11451 * text.C: Likewise.
11452 * text2.C: Likewise.
11454 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11456 * lyxfind.C (LyXReplace): do not redefine default argument in
11458 (IsStringInText): ditto
11459 (SearchForward): ditto
11460 (SearchBackward): ditto
11462 2001-03-06 Juergen Vigna <jug@sad.it>
11464 * lyxfind.C (IsStringInText): put parentes around expressions.
11466 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
11468 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
11470 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
11472 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
11474 * stl_string_fwd.h: add comment
11476 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
11479 * tabular.C: remove unused DocBook methods
11485 killed DO_USE_DEFAULT_LANGUAGE
11487 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11489 * lyx_gui.C: do not include language.h.
11491 * bufferview_funcs.C (ToggleAndShow): do not provide optional
11492 arguments in function implementation.
11494 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11496 * BufferView_pimpl.C: add <ctime>
11498 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11500 * BufferView_pimpl.C: add using std::find_if
11502 2001-02-27 José Matos <jamatos@fep.up.pt>
11504 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
11507 2001-02-11 José Matos <jamatos@fep.up.pt>
11509 * buffer.C (makeDocBookFile): command styles now have a parameter as
11510 "title" by default.
11512 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
11514 * layout_forms.[Ch]: removed
11515 * lyx_cb.[Ch]: out character
11516 * lyx_gui.C: out character
11517 * lyx_gui_misc.C: out character
11518 * bufferview_funcs.C: : out character,
11519 added toggleall as parameter in ToggleAndShow
11521 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
11523 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11525 * text2.C (SetCurrentFont): Disable number property at boundary.
11527 2001-02-26 Juergen Vigna <jug@sad.it>
11529 * lyxfunc.C (getStatus): added a string argument override function so
11530 that this is correctly called from LyXFunc::Dispatch if it contains a
11531 do_not_use_argument which is used!
11532 (Dispatch): added check for "custom" export and call appropriate func.
11534 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
11536 * lyxrc.C: Add language_command_local, language_use_babel and
11537 language_global_options.
11539 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11541 * buffer.C (makeLaTeXFile): Use language_use_babel and
11542 language_global_options.
11544 2001-02-23 Juergen Vigna <jug@sad.it>
11546 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
11547 which works with LyXText and putted it inside BufferView. Here now we
11548 only call for that part the BufferView::Dispatch() function.
11550 * BufferView.C (Dispatch): added.
11552 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
11553 functions which needs to use a LyXText over from LyXFunc.
11554 (MenuInsertLyXFile): added
11555 (getInsetByCode): added
11556 (moveCursorUpdate): added
11557 (static TEXT): added
11559 2001-02-22 Juergen Vigna <jug@sad.it>
11561 * BufferView_pimpl.C (update): call a status update to see if LyXText
11564 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11566 * vc-backend.C (revert): implement for CVS
11567 (getLog): implement for CVS
11569 2001-02-20 Juergen Vigna <jug@sad.it>
11571 * text2.C (ClearSelection): added BufferView param for inset_owner call
11573 * lyxfunc.C (TEXT): added this function and use it instead of
11574 directly owner->view()-text of getLyXText().
11576 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
11578 * src/layout_forms.C: out preamble
11579 * src/layout_forms.h: out preamble
11580 * src/lyx_cb.C: out preamble
11581 * src/lyx_cb.h: out preamble
11582 * src/lyx_gui.C: out preamble
11583 * src/lyx_gui_misc.C: out preamble
11584 * src/lyxfunc.C: connect with guii preamble
11586 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
11588 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11590 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
11592 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11593 whether to run bibtex.
11595 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
11597 * Makefile.am (lyx_SOURCES): Remove BackStack.h
11599 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11601 * Makefile.am (lyx_SOURCES): removed bibforms.h
11603 * vspace.h: doxygen
11605 * text.C (GetVisibleRow): make several local vars const
11607 * tabular.C: small cleanup.
11609 * lyxserver.C (callback): use compare instead of strncmp
11611 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11612 inlines to after class or to paragraph.C
11614 * lyxfont.h: remove friend operator!=
11616 * converter.h: move friend bool operator< to non friend and after
11619 * combox.h: small cleanup
11621 * buffer.h: doxygen, remove unused constructor, move inclas inlies
11622 to inlines after class def.
11624 * buffer.C (pop_tag): use string operations instead of strcmp
11626 * bmtable.c: doxygen, small cleanup
11628 * LaTeX.h: remove friend operator==
11630 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
11642 * BufferView_pimpl.C:
11643 * BufferView.[Ch]: remove cruft
11645 2001-02-14 Juergen Vigna <jug@sad.it>
11647 * lyxfunc.C: removed #if 0 unused code
11649 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11651 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11653 * text2.C (SetSelection): added a BufferView * parameter
11655 2001-02-13 Juergen Vigna <jug@sad.it>
11657 * lyxfunc.C (Dispatch): fixed protected blank problem.
11658 * BufferView2.C (protectedBlank): added LyxText * parameter.
11660 * tabular.C (AppendRow): forgot to set row_info of newly added row.
11661 (AppendColumn): same as above for column_info.
11663 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11664 (moveCursorUpdate): use a LyXText param for support of InsetText.
11666 * BufferView_pimpl.C (doubleClick): added support for InsetText.
11667 (tripleClick): ditto
11669 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11671 * BufferView_pimpl.C (update): added LyXText param to honor insets.
11673 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11675 * text2.C (SetSelection): set correct update status if inset_owner
11676 (ToggleFree): ditto
11678 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
11680 * tabular.C: remove some commented code.
11682 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
11684 * BufferView_pimpl.C: call hideSplash()
11686 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11689 * bibforms.h: remove
11692 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11693 add LFUN_CHILD_CREATE
11695 * counters.h: fix tiny typo
11700 * lyx.C: move splash to frontends/xforms/
11702 * lyx_gui_misc.C: move Include and Bibform to frontends
11704 * lyxvc.h: clarify comment
11706 * vspace.C: tiny housekeeping
11708 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
11710 * text.C (PrepareToPrint): RTL Fix.
11712 * paragraph.C (GetUChar): New method.
11713 (String): Use GetUChar.
11715 * buffer.C (asciiParagraph): Use GetUChar.
11717 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
11719 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11721 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
11724 * buffer.C: rename to getLogName(), handle
11725 build log / latex log nicely
11727 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11730 * MenuBackend.h: remove support for reference menuitem type.
11732 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
11734 * BufferView_pimpl.C: housekeeping
11735 * BufferView_pimpl.h:
11740 * minibuffer.h: move Timeout GUI-I
11742 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
11744 * lyxrc.C (read): Update converters data-structures.
11746 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
11748 * LaTeX.h (operator!=): add operator != for Aux_Info
11750 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
11752 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11754 * LaTeXLog.C: deleted, useful code moved to Buffer
11757 * buffer.C: new function getLatexLogName()
11763 * lyxfunc.C: use frontends for LaTeX and VC logs
11765 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11767 * LaTeX.h: yet another std:: that Allan forgot.
11769 * Variables.C (set): renamed from isset(), because this clashes
11770 with some HP-UX macros (grr).
11772 2001-02-06 Allan Rae <rae@lyx.org>
11774 * LaTeX.h: Another bug fix. Missing std:: this time.
11776 2001-02-04 Allan Rae <rae@lyx.org>
11778 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11779 floats problem. I've left it commented out because it's not quite
11780 correct. It should also test that the current object is a table or
11781 figure inset. But I haven't gotten around to figuring out how to do
11782 that. I *think* it'll be something like: "table" == inset.type()
11784 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11787 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
11789 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11790 all the citation/databases/styles in the auxilary file.
11791 (run): Rerun latex if there was a babel language error.
11793 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
11795 * text.C (Backspace): Preserve the font when changing newline char
11797 (BreakParagraph): If the cursor is before a space, delete the space.
11799 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11801 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
11803 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11804 new argument (code).
11805 (ChangeCitationsIfUnique): New method.
11807 * paragraph.C (GetPositionOfInset): Handle bibkey.
11809 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11811 * BufferView_pimpl.h: change type of Position::par_pos to
11812 LyXParagraph::size_type.
11814 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
11816 * BufferView_pimpl.C (savePosition, restorePosition): Write
11817 messages to minibuffer.
11819 2001-01-28 José Matos <jamatos@fep.up.pt>
11821 * buffer.C (makeDocBookFile): adds support for document language.
11822 A silly restriction on the name of LatexCommand types where removed.
11823 Added support for CDATA sections, allows to chars unescaped, used
11824 among others in code, to avoid escape < and >.
11826 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11828 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11829 saved positions instrad of a stack. Furthermore, a position is
11830 stored using paragraph id/paragraph position.
11832 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11833 Remove LFUN_REF_BACK.
11835 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11837 * converter.C (dvipdfm_options): New method.
11839 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
11841 * vspace.C (isValidLength): Fix for empty input string.
11843 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11845 * LyXAction.C (init): change description of LFUN_FIGURE to
11848 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11850 * LaTeX.C: add using directive
11852 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11854 * MenuBackend.C (expand): Fix the sorting of the formats.
11856 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
11858 * lyx_main.C: tiny error message fix
11860 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11862 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11863 calling fl_initialize(). This fixes the problem with ',' as
11864 decimal separator in text files.
11866 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11868 * trans.C (process): Fix the keymap bug.
11870 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
11872 * LaTeX.C (scanAuxFiles): New method. Provides support for
11873 multiple bibliographies (when using the bibtopic/bibunits pacakges).
11874 (scanLogFile) Scan for "run BibTeX" messages.
11876 * buffer.C (makeLaTeXFile): Do not load the ae package when using
11877 OT1 font encoding. Also, load the aecompl package if the ae
11880 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11882 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11884 * texrow.C (increasePos): turn two error messages into debug
11887 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
11889 * LaTeX.C (scanAux): Handle the \@input macro.
11890 (runBibTeX): Use scanAux().
11892 * language.C (latex_options_): New field.
11894 * LaTeXFeatures.C (getMacros): Add language macros.
11896 * buffer.C (makeLaTeXFile): Small fix.
11898 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11900 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11902 * text2.C: add a using directive.
11904 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
11909 * lyxfunc.C: kill LyXBell.
11911 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
11913 * text.C (IsBoundary): Remove the error message
11915 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11917 * lyxrc.C (setDefaults): Correct initialization value for
11920 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
11922 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11925 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11926 and GotoNextNote().
11928 * src/LyXAction.C: Added reference-next.
11930 * text.C (InsertChar): Use contains instead of strchr.
11932 * lyx_cb.C (MenuInsertLabel): Enable default value code.
11934 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
11936 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11937 alignment commands (when needed).
11939 * text.C (InsertChar): Add ':' to number separator chars.