2 2003-08-08 André Pönitz <poenitz@gmx.net>
4 * text.C (insertChar, backspace): replace rowlist fiddling
5 with rebreak of full par
7 2003-08-07 André Pönitz <poenitz@gmx.net>
10 * text3.C: merge some LFUN handlers, remove dead code
12 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
16 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
18 * text2.C (DEPM): fix part of bug 1255 and 1256
20 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
22 * BufferView_pimpl.C (workAreaDispatch): change to use
23 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
24 that are no mouse related.
26 2003-08-05 André Pönitz <poenitz@gmx.net>
29 * BufferView_pimpl.[Ch]:
32 * text3.C: rip out "deep update"
34 * textcursor.[Ch] (last_sel_cursor): remove unused member
36 2003-08-04 André Pönitz <poenitz@gmx.net>
39 * BufferView_pimpl.[Ch]:
40 * ParagraphParameters.C:
47 * text3.C: replace "complicated" BufferView::update(...) calls with
50 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
52 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
54 * Makefile.am (lyx_SOURCES): add paper.h
56 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
58 * Makefile.am: move things around so that both lyx-qt and
59 lyx-xforms can be built (according to --with-frontend). Then lyx
60 is a symbolic link to lyx-[firstfrontend]
62 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
64 * Always use std::endl with lyxerr
66 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
68 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
70 2003-08-01 André Pönitz <poenitz@gmx.net>
73 * BufferView_pimpl.[Ch]:
75 * text3.C: merge BufferView::repaint() and BufferView::update()
77 2003-08-01 José Matos <jamatos@lyx.org>
79 * buffer.[Ch]: file_format is no longer a buffer data element.
81 2003-08-01 André Pönitz <poenitz@gmx.net>
86 * text2.C: make redoParagraph more independent of current cursor
88 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
90 * text2.C: remove unneeded members
92 2003-07-30 André Pönitz <poenitz@gmx.net>
94 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
96 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
97 create a single function...
99 * paragraph_funcs.C (moveItem): ... here.
102 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
104 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
106 * LColor.[Ch]: Add comment and greyedout logical colors.
108 2003-07-30 André Pönitz <poenitz@gmx.net>
110 * tabular.C: don't use Assert too heavily. This crashes where it
113 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
115 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
116 is disabled (bug 1232)
118 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
120 * factory.C: limited 'arg' scope
122 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
124 * factory.C: fixed Note submenu issues
126 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
128 * factory.C: submenu for Note/Comment/Greyedout
130 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
133 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
135 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
138 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
139 greyedout. Patch provided by Jürgen Spitzmüller.
141 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
143 * kbmap.C (read): fix error message when reading bind files
145 2003-07-29 Angus Leeming <leeming@lyx.org>
147 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
148 certainly does not do what it purports to do. I am doing it, and
149 us, a favour by killing it.
151 2003-07-28 José Matos <jamatos@lyx.org>
153 * buffer.C (readBody, do_writeFile):
154 * paragraph.C(readParagraph): \end_document replaces \the_end.
156 2003-07-29 André Pönitz <poenitz@gmx.net>
159 * BufferView_pimpl.[Ch]:
163 * textcursor.[Ch]: remove toggleToggle & Co
165 2003-07-28 José Matos <jamatos@fep.up.pt>
167 * buffer.C (readParagraph):
168 * params_func (readParToken, readParagraph):
169 * paragraph.C (write): \layout -> \begin_layout.
171 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
173 * lyxlex_pimpl.C (setFile): clean up slightly.
175 * bufferparams.h: add compressed var
177 * buffer_funcs.C (readFile): adjust for LyXLex change
178 (newFile): ditto + simplify
180 * buffer.C (writeFile): handle writing of compressed files
182 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
183 Check if the file is compressed and set a bufferparm if so.
185 * Makefile.am (lyx_LDADD): remove explicit -lz
187 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
189 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
190 makeDocBookFile): put the real LyX version in the first line of
194 * version.C.in: remove lyx_docversion
196 * tabular.C (write_attribute): add a template-based version to
199 2003-07-28 André Pönitz <poenitz@gmx.net>
204 * text3.C: use doubles again for x-coordinates. They are needed.
206 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
208 * messages.C (getLocaleDir): use lyx_localedir()
210 * lyxlex_pimpl.C (setFile): compress stuff
212 * buffer.C (writeFile): add some compression stuff
213 (do_writeFile): new func, dont call expliti close... will this
216 * Makefile.am (lyx_LDADD): add -lz
218 2003-07-28 José Matos <jamatos@fep.up.pt>
220 * buffer.C: increment file format.
221 * paragraph_funcs (readParagraph, readParToken):
222 * paragraph.C (readParagraph): add \end_layout.
224 2003-07-27 Angus Leeming <leeming@lyx.org>
226 * Makefile.am: remove special casing for configure-time setting of
227 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
229 * lyx_main.C (init): remove all Jean-Marc's magic setting of
230 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
232 2003-07-26 André Pönitz <poenitz@gmx.net>
234 * paragraph_func.[Ch]:
235 * paragraph.C (realizeFont): inline it whereever it is used
240 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
243 2003-07-26 André Pönitz <poenitz@gmx.net>
247 * text2.C: get rid of LyXText::need_break_row
249 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
251 * toc.[Ch]: put namespace toc inside namespace lyx
253 * MenuBackend.C (expandToc2): adjust for lyx::toc
256 * lyxfunc.C (dispatch): adjust for lyx::find
258 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
259 lyx::find instead. Reorganize a bit.
260 (LyXReplace): rename to replace
261 (LyXFind): rename to find
263 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
266 2003-07-26 André Pönitz <poenitz@gmx.net>
268 * text.C (setHeightOfRow): restrict scope of temporary variable
270 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
271 code (never has been used?)
273 2003-07-27 Asger Alstrup <alstrup@local>
275 * text.C (fill): Optimise algorithm to exploit that we can reuse
276 the LyXFont for many characters.
277 (setHeightOfRow): Same thing.
278 (rowBreakPoint): Same thing.
280 2003-07-26 Asger Alstrup <alstrup@local>
282 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
284 * text.C (singleWidth): Spurious font copying in hot-spot
285 singleWidth avoided. Reorder tests for arabic for efficiency.
287 * text.C (fill): handle empty paragraphs better.
289 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
292 * encoding.h: add includes
294 * lyxrc.C: remove reading of bind files
296 * lyx_main.C (init): setup bindings and menus only if we have a
299 * kbmap.C (read): new method. Do the actual reading of bind
302 * converter.C (dvipdfm_options):
305 (output): adapt PAPER_* enums.
307 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
309 * bufferparams.h: remove paper-related enums from there
311 * paper.h: New file. A trivial header file to hold paper-related
312 enums. It should later expand to contain many paper-related
315 * lyxrc.C: declare extern displayTranslator
317 2003-07-27 José Matos <jamatos@fep.up.pt>
319 * tabular.[Ch] (linuxdoc): add support for tables and figures
322 2003-07-27 José Matos <jamatos@fep.up.pt>
324 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
325 consistency in both functions.
326 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
328 2003-07-26 Asger Alstrup <alstrup@local>
330 * rowpainter.C (paintRows): Change algorithm to work directly on
331 the insets rather than asking every character in the document
332 whether its an inset.
334 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
336 * buffer.C (openFileWrite): factorize some code
338 2003-07-26 Angus Leeming <leeming@lyx.org>
341 * lyx_main.[Ch]: replace occurances of system_tempdir with
344 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
346 * rename Inset to InsetOld
348 2003-07-25 Asger Alstrup <alstrup@diku.dk>
350 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
351 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
352 which I think is a bit clearer. EDIT is gone, since it was
353 premature optimisation, and broken for mathed anyway.
354 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
355 with cursor positioning in insets as well (math insets still do not
356 work, but that's a different story anyway.) It mysteriously
357 crashes sometimes with undo in the first paragraph, but I'm fairly
358 confident that this is a compiler bug.
360 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
362 * paragraph.C (Paragraph): adjust for new clone return type
364 (copyIntoMinibuffer): ditto
366 2003-07-25 Asger Alstrup <alstrup@lyx.org>
368 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
369 by not having a special case, and always doing a full rebreak of
370 the document after undo.
372 2003-07-23 Angus Leeming <leeming@lyx.org>
374 * factory.C (createInset): InsetExternal::setParams now takes a
377 2003-07-23 Angus Leeming <leeming@lyx.org>
379 * factory.C (createInset): changed interface to the external and
380 graphics mailers' string2params functions.
382 2003-07-23 Angus Leeming <leeming@lyx.org>
384 * factory.C (createInset): pass a
385 Buffer const * parameter to InsetExternalMailer's string2params.
387 2003-07-22 John Levon <levon@movementarian.org>
389 * Thesaurus.h: include the right aiksaurus header
391 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
393 * MenuBackend.C (expand): check menu shortcuts unconditionally
395 2003-07-21 Angus Leeming <leeming@lyx.org>
397 * factory.C (createInset): pass a
398 buffer_path parameter to InsetGraphicsMailer's string2params.
400 2003-07-21 Angus Leeming <leeming@lyx.org>
402 * BufferView_pimpl.C (buffer):
405 * lyxfunc.C (dispatch):
406 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
407 rather than the grfx shortcut.
409 2003-07-21 André Pönitz <poenitz@gmx.net>
411 * rowpainter.C: remove unused variables
414 * tabular_funcs.h: move to tabular.C
415 * Makefile.am: adjust
417 * tabular.[Ch]: basic optical cleaning
419 * author.h: pass references, not values
421 2003-07-18 André Pönitz <poenitz@gmx.net>
429 * text3.C: two-phase drawing for InsetText and InsetTabular
430 some float -> int changes.
432 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
434 * lyx_main.C: fix the fix
436 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
438 * lyx_main.C: fix a crash in batch mode if no files specified
441 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
443 * format.[Ch] (papersize): moved to BufferParams
444 * converter.[Ch] (dvips_options): moved to BufferParams
445 (dvipdfm_options): moved to anon namespace
446 * bufferparams.[Ch]: added above functions.
448 2003-07-17 André Pönitz <poenitz@gmx.net>
452 * text2.C: don't call inset->update() anymore
454 * metricsinfo.[Ch]: add convenience constructor
456 2003-07-16 André Pönitz <poenitz@gmx.net>
461 * text2.C: replace the LyXCursor::irow_ member with
462 on-demand computation of the value
464 2003-07-16 John Levon <levon@movementarian.org>
466 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
468 2003-07-15 André Pönitz <poenitz@gmx.net>
471 * text2.C: remove no more needed refresh_row
473 2003-07-15 André Pönitz <poenitz@gmx.net>
478 * text3.C: refresh_status tristate -> need_update bool
480 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
482 * lyxtext.h (init): remove reinit argument (act as if always true)
483 * text2.C: adjust to that
485 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
487 * bufferview_funcs.[Ch]: introduce function replaceSelection()
488 * text3.C: use it to delete selections in some cases
489 (bugs 441, 673, 702, 954).
491 2003-07-14 André Pönitz <poenitz@gmx.net>
493 * rowpainter.[Ch]: reduce interface
495 2003-07-14 André Pönitz <poenitz@gmx.net>
497 * BufferView_pimpl.C:
498 * text2.C: adjust after removing unused BufferView * argument
500 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
502 * text2.C (init): fix a crash fired on resize
504 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
506 * buffer.[Ch]: added new closing signal
507 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
508 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
509 BufferView::Pimpl via the closing the signal
511 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
513 * buffer.[Ch]: take out all bv-related from buffer
515 * BufferView_pimpl.[Ch]: connect to new signals
516 * CutAndPaste.C: removed useless asserts
517 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
520 * lyxfunc.C: moved view-related funciontality from vc here
521 * paragraph.C: removed outdated comments
524 2003-07-10 André Pönitz <poenitz@gmx.net>
526 * BufferView_pimpl.C:
530 * text2.C: remove InsetText::InnerCache, clean up consequences
532 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
534 * ispell.C: fix two typos in error messages
536 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
538 * Extend Note inset to other forms of annotation like Comment
539 and Greyedout. Right button click gives dialog.
541 Files modified or added (+):
547 * Makefile.am in frontends/xforms, frontends/xforms/forms,
548 frontends/controllers
552 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
554 * aspell.C: add missing namespace lyx::support
556 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
558 * BufferView.[Ch] (newFile): Add
559 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
560 * LaTeX.[Ch] (message): added this signal and use it
561 * buffer.[Ch] (busy, message): added these signals and use them
562 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
566 * importer.C: use buffer signals instead of direct bv calling
567 * lyx_cb.[Ch] (ShowMessage): removed
571 * text2.C: use buffer signals
573 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
575 * introduce namespace lyx::graphics
577 2003-07-02 André Pönitz <poenitz@gmx.net>
579 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
581 2003-07-01 André Pönitz <poenitz@gmx.net>
588 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
589 text*.C to text_func.C
591 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
593 * introduce namespace lyx::support
595 2003-06-30 André Pönitz <poenitz@gmx.net>
600 * text.C: re-enable --with-included-string
602 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
604 * textcursor.C: add <config.h>
606 * text.C (getWord): remove const from word_location arg
608 * lyxvc.C (getLogFile): fix const type order
610 * lyxtext.h: remove const from word_location arg, add arg name
612 * lyxlayout.h: currect type on labeltype.
614 * importer.C: correct \file
616 * converter.C (intToFormat): use std:: on ret val, ws changes
618 * bufferlist.h: correct \file
620 * buffer.C (makeLinuxDocFile): fix const type order
621 (makeDocBookFile): ditto
622 (fillWithBibKeys): use std:: on stdlib args.
624 * CutAndPaste.C: fix authors.
625 (availableSelections): use std:: on return vector
627 2003-06-27 André Pönitz <poenitz@gmx.net>
629 * BufferView_pimpl.C:
630 * bufferview_funcs.C:
638 * text3.C: remove LyXCursor::row_ member
641 * text.C: rename fullRebreak() to partialRebreak() and implement
642 a fullRebreak() that really bereks fully
644 * textcursor.h: new struct for cursor-related data
646 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
648 * lyx_main.C (LyX): get full path of document loaded on the
651 2003-06-26 André Pönitz <poenitz@gmx.net>
653 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
654 remove unused/broken operator>,<,>=.
656 * text.C: remove only use of broken operator<= in an Assert().
658 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
660 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
661 moved errorlist_.clear to showErrorList
663 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
665 * converter.C (scanLog, runLaTeX):
666 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
667 move the bv->showErrorList call to the callers
668 * lyxfunc.C: i.e. here...
670 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
671 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
672 namespace, the second to...
673 * buffer_funcs (BufferFormat, parseErrors): added
674 * errorlist.C (ErrorList(TeXErrors const &)): removed
676 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
678 * ToolbarBackend.C (getIcon): complain when icon cannot be found
680 2003-06-24 "Garst R. Reese" <reese@isn.net>
684 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
686 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
688 * version.C.in: change docversion to 1.4
690 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
692 * buffer.C: fix a bug just introduced
694 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
696 * buffer.[Ch]: added the parseError signal and use it, removed
698 * BufferView.[Ch] (addError): moved to ...
699 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
700 to the Buffer::parseError signal to catch (guess what) parse errors
701 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
703 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
705 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
706 ability to create a buffer and to return an existing one from
707 the list. Moved these functions to...
708 * buffer_funcs.[Ch]: added
709 * BufferView.[Ch] (loadLyXFile): added
710 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
711 job removed from bufferlist::loadLyXFile.
712 * buffer.C (setReadOnly): make it work without view
713 (i.e added an if (users))
715 2003-06-19 Angus Leeming <leeming@lyx.org>
718 * LyXAction.C (init):
719 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
720 with LFUN_DIALOG_SHOW <name> <data>.
722 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
724 * CutAndPaste.C (availableSelections): small compilation fix for
725 ancient (gcc 2.9x) compilers
727 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
729 * text3.C (cursorNext): add tmp var
731 * text2.C (updateCounters): for function calling out of for clause
732 (replaceSelectionWithString): ditto
733 (insertStringAsParagraphs): ditto
734 (getColumnNearX): add tmp var
735 (setCursorFromCoordinates): add tmp var
736 (cursorDownParagraph): add tmp var
737 (deleteEmptyParagraphMechanism): add tmp var
739 * text.C (insertChar): add tmp var
741 * rowpainter.C (paintDepthBar): add tmp var
743 * CutAndPaste.C (availableSelections): potentially check all
744 paragraphs in a cut to fill the shown strings.
746 2003-06-18 André Pönitz <poenitz@gmx.net>
748 * kbmap.[Ch]: use vector<> instead of list<>
750 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
752 * text3.C (dispatch): handle arg to LFUN_PASTE, call
753 pasteSelection with index
755 * text2.C (pasteSelection): modify, call pasteSelection with index
757 * paragraph.C (asString): reimplement version with no interval to
758 call the one with interval.
760 * lyxtext.h: add index arg to pasteSelection
762 * MenuBackend.C (MenuItem): handle PasteRecent
763 (Menu::read::Menutags): add md_pasterecent
765 (expandPasteRecent): new function
768 * MenuBackend.h: add PasteRecent to MenuItem::Kind
770 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
772 (availableSelections): new function
774 2003-06-17 Angus Leeming <leeming@lyx.org>
776 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
778 2003-06-17 Angus Leeming <leeming@lyx.org>
781 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
783 * lyxfunc.C (dispatch): invoke it.
785 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
787 * iterators.C (operator++, ParPosition): reintroduce some
788 const_cast for the benefit of older compilers.
790 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
792 * text3.C (dispatch): do not modify clipboard when doing
793 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
794 LFUN_DELETE_SKIP on a selection selection
796 2003-06-16 André Pönitz <poenitz@gmx.net>
802 * tabular.[Ch]: IU of clone() and getLabelList();
804 2003-06-13 André Pönitz <poenitz@gmx.net>
806 * tabular.h: compactification
808 2003-06-12 André Pönitz <poenitz@gmx.net>
812 * tabular_funcs.h: some renaming plus whitespace
814 2003-06-12 André Pönitz <poenitz@gmx.net>
817 * BufferView_pimpl.C:
823 * toc.C: Return a Paragraph & for ParIterator::operator*()
825 2003-06-11 John Levon <levon@movementarian.org>
829 * ToolbarBackend.C: add "Toolbars" section and
832 2003-06-10 Angus Leeming <leeming@lyx.org>
835 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
837 * lyxfunc.C (dispatch): invoke it.
839 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
841 * main.C: protect <ios> with HAVE_IOS
842 (main): protect sync_with_stdio with HAVE_IOS
844 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
846 * text2.C (cutSelection): adjust
847 (pasteSelection): adjust
849 * messages.C: handle get of empty string
851 * main.C (main): use sync_with_stdio(false)
853 * lyxfunc.C (dispatch): adjust
855 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
856 (WriteAs): remove unneeded BufferView arg.
858 * bufferparams.h: use correct types on papersize, papersize2 and
861 * bufferparams.C (readToken): adjust for type
862 (writeLaTeX): add missing cases to switch.
864 * bufferlist.C (quitWriteBuffer): adjust
867 * buffer.C (asciiParagraph): remove some commented code.
869 * CutAndPaste.C: remove current_view extern variable.
870 (cutSelection): add BufferParams arg.
871 (eraseSelection): add BufferParams arg.
872 (pasteSelection): add Buffer const & arg
874 2003-06-07 John Levon <levon@movementarian.org>
882 * paragraph.C: allow InsetERT to freely space lines,
883 and some consolidation of code
885 2003-06-06 José Matos <jamatos@fep.up.pt>
887 * buffer.C (makeDocBookFile): fix bug #821
889 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
891 * BufferView_pimpl.C (dispatch): use Dialogs::visible
893 2003-06-04 Angus Leeming <leeming@lyx.org>
895 * buffer.C: bump format to 224.
897 2003-06-05 André Pönitz <poenitz@gmx.net>
899 * text2.C (redoParagraphs): remove two const_cast<>
901 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
903 * ParagraphList.h: remove last remnants of NO_STD_LIST
905 2003-06-03 Angus Leeming <leeming@lyx.org>
907 * factory.C (createInset): small change to the way InsetExternal's params
910 2003-06-04 André Pönitz <poenitz@gmx.net>
912 * buffer.h: use Undo directly instead of shared_ptr<Undo>
915 * paragraph.[Ch]: some Inset -> UpdatableInset changes
917 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
919 * undo_funcs.C: make some simple cases of undo work again
921 2003-06-03 John Levon <levon@movementarian.org>
923 * ispell.C: HPUX doesn't have sys/select.h
926 2003-06-03 John Levon <levon@movementarian.org>
928 * CutAndPaste.C: update tabular and include inset
933 * paragraph.C: remove owningBuffer(), don't pass Buffer
936 * factory.C: insetGraphicsParams changed
938 2003-06-02 John Levon <levon@movementarian.org>
944 * text3.C: remove insetparent
946 2003-06-02 John Levon <levon@movementarian.org>
949 * buffer.C: fix inset_iterator.end(), move out of line
952 2003-06-01 John Levon <levon@movementarian.org>
954 * text3.C: use a proper cut/paste when doing inset
955 insert (from Jürgen Spitzmüller)
957 2003-06-01 John Levon <levon@movementarian.org>
959 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
961 2003-05-30 André Pönitz <poenitz@gmx.net>
963 * rowpainter.C: unify second drawing phase
965 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
967 * trans_mgr.C: remove one case of current_view
969 * text2.C (cursorBottom): delete NO_STD_LIST stuff
971 * paragraph_funcs.h: remove paragraph.h include
973 * paragraph.h: delete NO_STD_LIST stuff
975 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
977 * buffer.h: remove paragraph.h include
979 * ParagraphList.C: delete file
981 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
983 * toc.C (getTocList): adjust
985 * paragraph_pimpl.C (validate): adjust
987 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
989 * paragraph.C (Paragraph): adjust
990 (getPositionOfInset): use const_iterator, adjust
991 (bibitem): use const_iterator, adjust
992 (setInsetOwner): adjust
994 * iterators.C (operator++): adjust
996 * InsetList.[Ch]: Replace selfmade iterator with standard
997 vector::iterator also introduce const_iterator. Remove getPos,
998 getInset and setInset from InsetTable. Adjust accordingly.
1000 * BufferView.C (lockInset): adjust
1001 (ChangeInsets): adjust
1003 * tabular.[Ch]: delete commented same_id functions
1005 2003-05-28 John Levon <levon@movementarian.org>
1007 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1009 2003-05-28 André Pönitz <poenitz@gmx.net>
1011 * metricsinfo.[Ch]: remove 'fullredraw' member
1013 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
1015 * lyxtextclass.C (operator): remove caching.
1017 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1021 * text2.C (cursorBottom): adjust
1022 (setCounter): use ParagraphList::find, adjust
1024 * text.C (workWidth): use ParagraphList::find, adjust
1026 * lyxcursor.C (LyXCursor): adjust
1028 * buffer.C (inset_iterator): adjust
1030 * ParagraphList.h: make iterator(value_type) private, make
1031 ParagraphList a friend of iterator.
1033 * ParagraphList.C (find): new function
1035 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1037 2003-05-27 André Pönitz <poenitz@gmx.net>
1039 * dimension.[Ch]: a -> asc, d -> des, w -> wid
1041 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1043 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
1045 2003-05-26 John Levon <levon@movementarian.org>
1047 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
1049 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1051 * remove same_id from function signatures, adjust.
1053 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1055 * undo_funcs.C (createUndo): use the id functions directly, adjust.
1057 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
1059 * paragraph.C (Paragraph): get rid of same_ids parameter
1061 * ParagraphList.C (insert): adjust
1064 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1066 * paragraph_funcs.C (breakParagraph): adjust
1067 (breakParagraphConservative): adjust
1069 * buffer.C (readParagraph): adjust
1071 * ParagraphList.C (insert): take a reference instead of a pointer
1074 * paragraph.[Ch] (id): new function
1076 * bufferlist.C (newFile): adjust
1078 * ParagraphList.C (ParagraphList): adjust
1080 (push_back): take a reference instead of a pointer.
1082 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
1084 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
1087 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
1088 set else use old code.
1090 * ParagraphList.C: remove all NO_NEXT code and only compile this
1091 code of NO_STD_LIST is set.
1093 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1095 * BufferView_pimpl.C:
1105 * graphics/GraphicsConverter.C:
1106 * graphics/PreviewLoader.C: header adjustment
1108 2003-05-23 Angus Leeming <leeming@lyx.org>
1110 * LaTeXFeatures.[Ch] (useBabel): new method.
1111 * bufferparams.C (writeLaTeX): use it.
1113 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1115 * ParagraphList.h (set): remove unused function.
1117 2003-05-23 André Pönitz <poenitz@gmx.net>
1120 * BufferView_pimpl.C:
1124 * undo_funcs.C: setUndo reworked
1126 * iterators.[Ch]: add access to topmost ParagraphList
1128 * lyxtext.[Ch] (workWidth): add a const
1130 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1132 * texrow.[Ch] (increasePos): remove function
1133 * exporter.C (export): removed unused var and outdated comment
1135 2003-05-23 Angus Leeming <leeming@lyx.org>
1137 * latexrunparams.h: rename fragile as moving_arg.
1138 * paragraph.C (simpleTeXOnePar): ditto.
1139 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
1141 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1143 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
1145 (textUndoOrRedo): comment out a currently unused var.
1147 * paragraph.h (NO_NEXT): enable NO_NEXT
1149 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
1151 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
1153 * exporter.C (Export): adjust for removeAutoInsets removal.
1155 * buffer.C (runChktex): adjust for removeAutoInsets removal.
1157 * LyXAction.C (init): remove LFUN_REMOVEERRORS
1159 * BufferView.[Ch] (removeAutoInsets): delete function
1161 2003-05-22 Angus Leeming <leeming@lyx.org>
1163 * latexrunparams.h: add a free_spacing variable.
1165 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
1166 to pass moving_arg, as the data is stored in runparams.fragile.
1168 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
1169 to Inset::latexOptional or to simpleTeXOnePar.
1171 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
1172 free_spacing arg to Inset::latexOptional.
1174 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1177 2003-05-22 Angus Leeming <leeming@lyx.org>
1179 * latexrunparams.h: add fragile and use_babel variables.
1181 * bufferparams.[Ch] (writeLaTeX): return use_babel.
1182 * buffer.C (makeLaTeXFile): store this returned value in
1183 runparams.use_babel, thus passing it to the inset::latex methods.
1185 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
1186 simpleTeXSpecialChars as it is now stored in runparams.fragile.
1188 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
1189 longer has a fragile arg, as it is stored in runparams.fragile.
1191 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
1192 moving_arg parameter as the data is stored in runparams.fragile.
1194 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1195 a fragile parameter as the data is stored in runparams.fragile.
1197 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1199 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
1201 2003-05-22 Angus Leeming <leeming@lyx.org>
1203 * latexrunparams.h: add a 'bool nice' which defaults to false.
1205 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
1206 now encapsulated within runparams.
1208 * bufferlist.C (updateIncludedTeXfiles):
1209 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
1211 2003-05-22 Angus Leeming <leeming@lyx.org>
1213 * latexrunparams.h: new file containing struct LatexRunParams.
1214 * Makefile.am: add new file.
1216 * LaTeX.[Ch] (c-tor, run):
1217 * buffer.[Ch] (makeLaTeXFile):
1218 * bufferlist.[Ch] (updateIncludedTeXfiles):
1219 * converter.C (convert, scanLog):
1220 * converter.[Ch] (runLaTeX):
1221 * exporter.C (Export):
1222 * paragraph.[Ch] (simpleTeXOnePar):
1223 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
1224 * paragraph_funcs.[Ch] (latexParagraphs):
1225 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
1226 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
1227 pass around a LatexRunParams parameter.
1229 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1231 * paragraph.[Ch]: remove unused constructor
1233 * ParagraphList.C (erase): new function, taking two iterators
1235 2003-05-22 André Pönitz <poenitz@gmx.net>
1237 * undo_funcs.C: remove duplicated code
1239 * iterator.[Ch]: operator=
1241 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1243 * tabular.C (SetMultiColumn): ws changes
1245 * rowpainter.C (paintFirst): get rid of a ->previous
1247 * lyx_cb.C (getPossibleLabel): parlist simplification
1249 * BufferView.C (ChangeInsets): simplify slightly.
1251 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1253 * LyXAction.C: new lfun space-insert, kill protected-space-insert
1254 * lfuns.h: new LFUN_SPACE
1255 * lyxfunc.C: protected space has a new lfun
1256 * paragraph_funcs.C: read new space insets
1258 * factory.C: handle new space insets
1260 2003-05-22 André Pönitz <poenitz@gmx.net>
1263 * BufferView_pimpl.C:
1266 * undo_funcs.C: return a ParIterator from getParFromID.
1268 * iterators.[Ch]: add two const's
1270 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1272 * toc.C (getTocList): adjust
1274 * iterators.[Ch]: rework for parlist
1276 * buffer.C (par_iterator_begin): adjust
1277 (par_iterator_end): adjust
1279 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
1281 * BufferView.C (removeAutoInsets): adjust
1282 (ChangeInsets): adjust
1284 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
1286 * text.C (top_y): fix bug 1110
1288 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
1290 * errorlist.[Ch]: added
1293 * BufferView_pimpl.C:
1294 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
1297 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1299 * Makefile.am: ensure that lyx is relinked upon changes to the
1300 various "convenience" libs.
1302 2003-05-20 Angus Leeming <leeming@lyx.org>
1304 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
1305 files are compiled in alphabetical order again.
1307 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
1309 2003-05-19 Angus Leeming <leeming@lyx.org>
1311 * gettext.[Ch]: remove "char const * _(char const *)".
1313 2003-05-19 André Pönitz <poenitz@gmx.net>
1315 * dimension.[Ch]: promote from mathed/dimension.[Ch]
1324 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
1326 2003-05-19 André Pönitz <poenitz@gmx.net>
1330 * lyxtextclass.[Ch]:
1332 * paragraph_funcs.[Ch]:
1334 * text3.C: more insetenv work
1336 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
1338 * ParagraphParameters.C (params2string): small bug fixed
1340 2003-05-16 André Pönitz <poenitz@gmx.net>
1343 * bufferview_funcs.C: patch from Kornel Benko to prevent
1344 crash when _(...) is called twice in a statement
1346 2003-05-16 André Pönitz <poenitz@gmx.net>
1353 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
1355 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
1357 * lyx_main.C (init): remove spurious static_cast
1359 2003-05-14 André Pönitz <poenitz@gmx.net>
1361 * BufferView.C: fix format string
1363 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
1365 * BufferView.[Ch] (insertErrors): removed
1366 * BufferView.[Ch] (showErrorList): added
1367 * buffer.C (runChkTeX):
1368 * converter.C (scanLog): call showErrorList instead of inserterrors
1370 2003-05-13 André Pönitz <poenitz@gmx.net>
1372 * BufferView_pimpl.C:
1374 * bufferview_func.C:
1381 * tabular_funcs.h: tostr() from its own header
1383 * ParagraphParameters.C:
1388 * text3.C: STRCONV()
1390 2003-05-12 André Pönitz <poenitz@gmx.net>
1393 * BufferView_pimpl.C:
1397 * ParagraphParameters.C:
1401 * bufferview_funcs.C:
1414 * paragraph_funcs.C:
1418 * text3.C: boost::format -> bformat all over the place
1421 2003-05-09 André Pönitz <poenitz@gmx.net>
1423 * LColor.[Ch]: Pimpl the #include <map> away
1425 2003-05-09 John Levon <levon@movementarian.org>
1427 * bufferlist.C: never remove emergency saves
1429 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1431 * Makefile.am: better lib building
1433 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1435 * texrow.[Ch]: remove dependency on Paragraph and just store a id
1437 * paragraph_pimpl.C (simpleTeXBlanks): adjust
1438 (simpleTeXSpecialChars): adjust
1439 (simpleTeXSpecialChars): adjust
1440 * paragraph.C (simpleTeXOnePar): adjust
1441 * buffer.C (makeLaTeXFile): adjust
1443 * Makefile.am (BOOST_LIBS): allow boost as system lib.
1445 * text2.C (changeDepth): parlist cleanup
1446 (getColumnNearX): ditto
1448 * rowpainter.C (getLabelFont): parlist cleanup
1450 * bufferlist.C (newFile): parlist cleanup
1452 * CutAndPaste.C (eraseSelection): parlist cleanup
1454 * BufferView_pimpl.C (trackChanges): parlist cleanup
1457 * BufferView.C (lockInset): parlist cleanup.
1458 (ChangeInsets): ditto
1460 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1462 * CutAndPaste.h: Update file header.
1464 * CutAndPaste.C: Update file header.
1465 Store the parts cut out of the Document in a limited_stack.
1466 (copySelection): adjust
1467 (pasteSelection): new function, takes the index in the limited stack.
1468 (nrOfParagraphs): adjust
1469 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
1470 simplify error inset insertion.
1471 (checkPastePossible): adjust
1473 2003-05-06 John Levon <levon@movementarian.org>
1475 * text2.C: don't cast wrap inset to float
1477 2003-05-05 André Pönitz <poenitz@gmx.net>
1480 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
1482 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
1483 few naked Paragraph *.
1485 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
1487 * bufferparams.C: Output warning if a document with missing
1488 TeX document class is loaded
1489 * exporter.C: Disable TeX exports if the document class is missing
1492 * lyxtextclasslist.C: Handle new textclass.lst format; new method
1493 isTeXClassAvailable()
1495 2003-05-03 John Levon <levon@movementarian.org>
1498 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
1499 explicit cursor show/hide
1501 * BufferView_pimpl.h:
1502 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
1503 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
1505 * lyxfunc.C: hide cursor before dispatching.
1510 * text3.C: remove explicit cursor hides
1512 2003-05-02 André Pönitz <poenitz@gmx.net>
1514 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
1517 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
1520 * text2.C: tiny whitespace
1522 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1524 * undo_funcs.C: almost only ws changes.
1526 * ParagraphList.C (splice): just return if pl is empty.
1528 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1530 * ParagraphList.C (splice): new function.
1532 * CutAndPaste.C (pasteSelection): use it
1534 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1536 * CutAndPaste.C (pasteSelection): remove the last next and
1537 previous from this file.
1539 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1541 * CutAndPaste.C (pasteSelection): more clean up, user proper
1542 ParagraphList functions for pasteing.
1544 * ParagraphList.C (insert): new function, three arg insert
1546 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1548 * ParagraphList.C (insert): new function, three arg insert
1550 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
1553 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1555 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
1557 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1559 * CutAndPaste.C (pasteSelection): remove some unneeded code.
1561 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1563 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
1564 (copySelection): clean up a bit.
1565 (pasteSelection): use make_pair
1567 * ParagraphList.C (ParagraphList): implement copy constructor
1568 (operator=): implement, base on copy constructor.
1571 * paragraph.C (erase): return a bool
1573 * paragraph_pimpl.C (erasePos): remove function, move contents...
1574 (erase): ... here. Return a bool.
1575 (erase): call erase instead of erasePos.
1577 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
1579 * ParagraphList.h: define PitPosPair
1580 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
1581 ParagraphList, fix a bug on pasting multiple pars
1582 * text2.C: change interface to C&P
1584 2003-04-30 André Pönitz <poenitz@gmx.net>
1586 * undo_func.C: revert part of yesterday's patch 2
1588 2003-04-30 John Levon <levon@movementarian.org>
1590 * LColor.C: s/tabular/table/
1592 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1594 * text3.C (dispatch): do not convert iterator -> pointer
1595 * undo_funcs.C (setCursorParUndo): ditto
1596 * text_funcs.C (transposeChars): ditto
1598 * text2.C (setLayout): ws changes only
1600 * text.C (breakParagraph): do not convert iterator -> pointer
1602 (acceptChange): ditto
1603 (rejectChange): ditto
1608 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
1611 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1613 * text3.C (gotoInset): YABG (yet another bad getChar)
1615 2003-04-29 André Pönitz <poenitz@gmx.net>
1617 * paragraph.h: make operator= private unimplemented as long as
1620 * ParagraphList.C: whitespace
1623 * paragraph_pimpl.[Ch]:
1624 * paragraph_funcs.C:
1626 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
1629 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
1631 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1633 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
1634 * paragraph.[Ch] (erase):
1635 * paragraph_pimpl.[Ch] (erase): change return type and value
1636 * text2.C (cutSelection): some rework
1638 2003-04-28 John Levon <levon@movementarian.org>
1640 * bufferlist.C: changes for unsaved changes dialog
1642 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1644 * bufferlist.C (newFile): set language (messages_) for new
1647 * buffer.C (readFile): ws changes only.
1649 2003-04-28 André Pönitz <poenitz@gmx.net>
1654 * BufferView_pimpl.C:
1655 * BufferView.C: getParFromID related ParagraphList::iterator changes
1657 2003-04-28 André Pönitz <poenitz@gmx.net>
1659 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1662 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1664 * messages.C: remove one more localedir class variable.
1666 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1668 * messages.C (getLocaleDir): singleton generation function
1670 (Messages): add a default constructor.
1672 * main.C (main): do not setup localedir here, do not call
1675 * gettext.C (_): use it.
1676 (gettext_init): delete funciton
1678 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1680 * gettext.C (getLyXMessages): new singleton generating function.
1682 * buffer.C (updateDocLang): adjust
1684 * Makefile.am (messages.o): add target
1685 (main.o): remove target
1687 2003-04-27 John Levon <levon@movementarian.org>
1692 * lyxvc.C: specify cancel button in Alert::prompt
1694 2003-04-26 John Levon <levon@movementarian.org>
1699 * LyXAction.C: add LFUN_INSET_SETTINGS
1701 * lyxfunc.C: don't enable tabular-feature when there's
1702 just any locking inset
1704 2003-04-26 John Levon <levon@movementarian.org>
1706 * bufferlist.C: re-add Cancel to buffer close question
1708 * lyxfunc.C: fix import UI a bit
1710 2003-04-25 John Levon <levon@movementarian.org>
1712 * gettext.C: remove the broken asserts for now
1714 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1716 * messages.C: make case where setlocale cannot comply work better.
1718 * buffer.C (updateDocLang): new function
1719 (changeLanguage): use it
1722 * text2.C (setCounter): use B_ a bit.
1724 * lyxlayout.C (Read): be sure to trim the label strings.
1726 * messages.C (Messages): fix typo in comment
1728 * buffer.C (readFile): set message_ after file is loaded.
1729 (makeDocBookFile): remove double return
1730 (changeLanguage): reset message_ upon language change.
1731 (B_): new func, use this to get translated buffer strings.
1733 * main.C: add myself and Jean Marc as authors.
1735 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1737 * messages.[hC]: pimplify Messages, and three different pimpls to be
1738 used in different circumstances.
1740 * gettext.[Ch]: change for use with new message code.
1742 2003-04-24 André Pönitz <poenitz@gmx.net>
1744 * factory.C: support for eqref
1746 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1748 * messages.[Ch]: add missing char
1750 * Makefile.am (lyx_SOURCES): add messages.[Ch]
1752 * messages.[Ch]: New files
1754 2003-04-18 John Levon <levon@movementarian.org>
1758 * BufferView_pimpl.C:
1762 * text2.C: remove layout-copy/paste (bug 778)
1764 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1766 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1768 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1770 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1771 if they succeed. Act accordingly.
1773 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1775 * text2.C (setCharFont): adjust
1776 (setCounter): adjust
1777 (insertStringAsLines): adjust
1779 * text.C (leftMargin): adjust
1780 (setHeightOfRow): adjust
1782 * rowpainter.C (paintFirst): adjust
1785 * paragraph_funcs.C (depthHook): ParagraphList::iterators
1787 (isFirstInSequence): ditto
1788 (getEndLabel): ditto
1791 * paragraph.C (getParLanguage): comment out some hard stuff.
1793 * buffer.C (insertStringAsLines): take a ParagraphList as arg
1795 (simpleDocBookOnePar): ditto
1796 (makeDocBookFile): use ParagraphList::iterator
1798 * CutAndPaste.C (pasteSelection): adjust
1800 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1802 * text2.C (getFont): adjust
1803 (getLayoutFont): adjust
1804 (getLabelFont): adjust
1806 * paragraph_funcs.C (TeXOnePar): adjust
1808 * buffer.C (simpleLinuxDocOnePar): adjust
1809 (simpleDocBookOnePar): adjust
1811 * CutAndPaste.C (pasteSelection): adjust
1813 * BufferView.C (getEncoding): adjust
1815 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1817 2003-04-16 John Levon <levon@movementarian.org>
1819 * lyxfind.C: use parlist stuff for search/changes
1821 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1823 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1825 * text2.C (deleteEmptyParagraphMechanism): adjust
1827 * text2.[Ch] (ownerParagraph): delete func (both of them
1829 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1831 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1833 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1835 * ParagraphList.C: prepare for NO_NEXT
1837 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1839 * text2.C (getFont): adjust
1840 (getLayoutFont): adjust
1841 (getLabelFont): adjust
1843 * paragraph.C (getFont): adjust
1844 (getLabelFont): adjust
1845 (getLayoutFont): adjust
1847 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1849 2003-04-15 John Levon <levon@movementarian.org>
1853 * lyx_main.C: handle Include in .ui files
1855 2003-04-15 John Levon <levon@movementarian.org>
1857 * MenuBackend.C: make the doc files length shorter
1860 * ToolbarBackend.C: handle toolbar placement flags,
1863 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1865 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1868 * paragraph_funcs.C (TeXOnePar): adjust
1870 * paragraph.C (getLabelFont): add outerfont arg, adjust
1871 (getLayoutFont): ditto
1872 (simpleTeXOnePar): adjust
1874 * paragraph_pimpl.C (realizeFont): delete func
1876 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1878 * text2.C (beforeFullRowInset): added a bad getchar check, removed
1879 row argument, constify cur argument.
1881 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1883 * text2.C (getFont): adjust
1884 (getLayoutFont): adjust
1885 (getLabelFont): adjust
1887 * paragraph_funcs.C (TeXOnePar): adjust
1888 (outerFont): new func...
1889 (realizeFont): ...moved out from here, changed this to facilitate
1892 * paragraph.C (getFont): take outerfont as arg, adjust
1893 (simpleTeXOnePar): add outerfont arg, adjust
1895 * buffer.C (simpleLinuxDocOnePar): adjust
1896 (simpleDocBookOnePar): adjust
1898 * CutAndPaste.C (pasteSelection): adjust
1900 * BufferView.C (getEncoding): adjust
1902 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1904 * text2.C (setCharFont): adjust
1905 (setCounter): adjust
1907 * text.C (leftMargin): adjust
1908 (setHeightOfRow): adjust
1910 * rowpainter.C (paintFirst): adjust
1913 * paragraph_pimpl.C (realizeFont): adjust
1915 * paragraph.C (isFirstInSequence): move from here...
1916 * paragraph_funcs.C (isFirstInSequence): ...to here
1918 * paragraph.C (outerHook): move from here...
1919 * paragraph_funcs.C (outerHook): ...to here
1921 * paragraph.C (depthHook): move from here...
1922 * paragraph_funcs.C (depthHook): ...to here
1924 * paragraph.C (getEndLabel): move from here...
1925 * paragraph_funcs.C (getEndLabel): ...to here
1927 * text2.C (realizeFont): move from here...
1928 * paragraph_funcs.C (realizeFont): ...to here
1930 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1932 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1934 2003-04-14 Angus Leeming <leeming@lyx.org>
1936 * LColor.[Ch]: scrap LColor mathcursor.
1938 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1940 * lyxlex.[Ch] (text): delete function
1941 * trans.C (Load): adjust
1942 * paragraph_funcs.C (readParToken): adjust
1944 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1946 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1947 vector<char> instead of a char[].
1949 * lyxlex_pimpl.C (getString): adjust
1951 (lex): use getString
1955 * lyxlex.C (text): use pimpl_->getString()
1959 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1961 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1962 (makeFontEntriesLayoutSpecific): temp var for par.size()
1963 (setLayout): temp var for ownerParagraphs().end()
1964 (fullRebreak): temp var for rows().end()
1965 (selectionAsString): temp var for boost::next(startpit), realize
1966 that the while really is a regular for loop.
1967 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1968 setCursor in one place.
1969 (setParagraph): temp vr for ownerParagraphs().end()
1970 (updateCounters): make the while loop a for loop
1971 (cutSelection): temp var for ownerParagraphs().end()
1972 (updateInset): make the do {} while() a regular for loop
1973 (getCursorX): use temp vars
1974 (setCurrentFont): use temp vars
1975 (getColumnNearX): use temp vars
1977 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1979 * text.C (transformChar): use temp var for getChar
1980 (computeBidiTables): use temp var for row->par()
1981 (fill): move temp vars for row->par() and pit->layout() earlier in
1983 (labelFill): use temp var for row->par()
1984 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1985 asc and desc, realize that pit never changes and that firstpit is
1986 just a duplicate and not needed. Exchange rit->par() with pit in a
1988 (breakAgain): use a temp var for boost::next(rit)
1989 (breakAgainOneRow): ditto
1990 (breakParagraph): use a temp var for rows().begin()
1991 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1992 (cursorRightOneWord): use temp var for cursor.par() and
1993 cursor.pos(), remove usage of tmpcursor.
1994 (cursorLeftOneWord): use temp var for cursor.par() and
1995 cursor.pos() only set cur at end of function.
1997 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1999 * text.C, text2.C: exchange all usage of Paragraph::next with
2000 boost::next(ParagraphList::iterator)
2002 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2004 * text2.C (cursorTop): simplify implementation
2005 (cursorBottom): ditto
2006 (setParagraph): use ParagraphList::iterator
2007 (setCurrentFont): adjust
2008 (getColumnNearX): adjust
2009 (cursorRight): adjust
2010 (cursorLeft): remove usage of Paragraph::previous
2011 (cursorUpParagraph): ditto
2012 (deleteEmptyParagraphMechanism): slight cleanup
2014 * text.C (isBoundary): take a Paragraph const & instead of a
2016 (addressBreakPoint): ditto
2017 (leftMargin): remove usage of Paragraph::previous.
2018 (setHeightOfRow): ditto
2019 (cursorLeftOneWord): ditto
2020 (selectNextWordToSpellcheck): ditto
2023 (breakParagraph): remove one usage of Paragraph::next
2024 (redoParagraph): ditto
2025 (acceptChange): ditto
2026 (insertChar): adjust
2027 (rowBreakPoint): adjust
2029 * bufferview_funcs.C (toggleAndShow): adjust
2031 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
2033 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
2034 methods to access it.
2036 * text.C: Added updateRowPositions to compute all row positions.
2037 Make top_y and getRowNearY() to use the cached y position
2039 2003-04-11 John Levon <levon@movementarian.org>
2041 * text.C (rowBreakPoint): reintroduce the labelEnd
2042 checks, code copied from the row fill stuff. Deep voodoo.
2044 * text.C (fill): add a comment and debugging for the
2047 2003-04-11 John Levon <levon@movementarian.org>
2049 * text.C: make sure fullrow insets get wrapped to the next line,
2050 even when they're in a manual label
2052 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2054 * text2.C (insertParagraph): make it take ParagraphList::iterator
2056 (setLayout): make it return ParagraphList::iterator
2057 (redoParagraphs): ditto
2059 (checkParagraph): ditto
2061 * text.C (getRow): make getrow take ParagraphList::iterator as arg
2063 * text2.C: adjust several funcs.
2064 (realizeFont): take a ParagraphList::iterator as arg.
2065 (getLayoutFont): ditto
2066 (getLabelFont): ditto
2067 (setCharFont): ditto
2069 * text.C: adjust several funcs.
2071 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2073 * text.C (selectNextWordToSpellcheck): don't accidentally
2076 2003-04-10 John Levon <levon@movementarian.org>
2078 * ToolbarBackend.C (getIcon): special handling for
2081 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2083 * text2.C (cursorRight): a getChar assert fixed
2085 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2087 * text2.C (getFont): change to take a ParagraphList::iterator
2088 instead of Paragraph*
2089 Adjust several functions.
2091 * text.C (transformChar): change to take a ParagraphList::iterator
2092 instead of Paragraph*
2093 (singleWidth): ditto
2094 Adjust several functions.
2096 * rowpainter.C: adjust several functions
2097 * rowpainter.h:store a ParagraphList::iterator and not a
2101 2003-04-09 John Levon <levon@movementarian.org>
2106 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
2107 and the "help" bits as well
2109 2003-04-09 John Levon <levon@movementarian.org>
2112 * ToolbarBackend.C: allow multiple toolbars
2114 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2116 * undo_funcs.C (setCursorParUndo): adjust
2118 * text_funcs.C (transposeChars): adjust
2120 * text3.C (gotoNextInset): adjust
2123 * text2.C (setLayout): adjust
2124 (changeDepth): adjust
2126 (redoParagraphs): adjust
2127 (selectionAsString): adjust
2128 (setParagraph): adjust
2129 (insertInset): adjust
2130 (cutSelection): adjust
2131 (copySelection): adjust
2132 (pasteSelection): adjust
2133 (insertStringAsLines): adjust
2134 (updateInset): adjust
2135 (setCursor): change to take a ParagraphList::iterator parameter
2136 (setCursorIntern): change to take a ParagraphList::iterator parameter
2137 (setCurrentFont): adjust
2138 (cursorLeft): adjust
2139 (cursorRight): adjust
2140 (deleteEmptyParagraphMechanism): adjust
2142 * text.C (breakParagraph): adjust
2143 (insertChar): adjust
2144 (acceptChange): adjust
2145 (rejectChange): adjust
2146 (selectNextWordToSpellcheck): adjust
2147 (changeCase): adjust
2151 * lyxfind.C (SearchForward): adjust
2152 (SearchBackward): adjust
2153 (nextChange): adjust
2155 * lyxcursor.C (par): adjust
2157 * lyxcursor.h: store a ParagraphList::iterator instead of a
2160 * lyx_cb.C (getPossibleLabel): adjust
2162 * bufferview_funcs.C (toggleAndShow): adjust
2164 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2167 * BufferView.C (removeAutoInsets): adjust
2168 (lockedInsetStoreUndo): adjust
2170 2003-04-09 John Levon <levon@movementarian.org>
2172 * ToolbarBackend.C: try icon without argument
2173 if with argument fails
2175 2003-04-08 John Levon <levon@movementarian.org>
2178 * ToolbarBackend.C: add getIcon(), handle tooltip,
2179 and change from "Icon" to "Item".
2181 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2183 * BufferView.C (lockInset): another bad getchar crunched
2185 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2187 * text2.C (changeDepth): do not setUndo on test_only (make undo work
2190 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2192 * lyxfind.C (searchForward, searchBackwards): bug 782
2194 2003-04-07 John Levon <levon@movementarian.org>
2196 * paragraph.C: remove dead comment
2198 * text.C: remove troublesome depth-fiddling code
2199 in leftMargin() and rightMargin() (bug 1017)
2201 * text.C: fix breaking of rows in nested lists
2204 * text2.C (updateCounters): fix up depth values
2207 2003-04-07 John Levon <levon@movementarian.org>
2209 * BufferView_pimpl.C: clear message when doc finishes resizing,
2210 and after a mouse event
2212 * lyxfunc.C: clear message after exiting inset
2214 2003-04-07 John Levon <levon@movementarian.org>
2216 * bufferview_funcs.C: show math status not outside
2217 status in the statusbar
2219 2003-04-07 John Levon <levon@movementarian.org>
2221 * lyxfunc.C: note status changed after a depth change
2223 2003-04-04 Angus Leeming <angus@localhost.localdomain>
2225 * LaTeX.h: move AuxInfo operator==, != out of line.
2226 Remove LaTeX virtual destructor; nothing derives from it.
2227 Move operator()() out of public area and rename it startscript().
2228 Change protected for private.
2230 2003-04-04 Angus Leeming <leeming@lyx.org>
2233 * text2.C: remove unneeded #includes.
2235 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2237 * text2.C (dEPM): fix the heigth of the next row
2239 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2241 * text.C: squashed an invalid getChar requester + some ws changes
2243 2003-04-03 John Levon <levon@movementarian.org>
2245 * bufferview_funcs.h:
2246 * bufferview_funcs.C:
2249 * text2.C: make getStatus work for the env depth lfuns
2251 2003-04-03 John Levon <levon@movementarian.org>
2253 * bufferview_funcs.h:
2254 * bufferview_funcs.C:
2257 * text2.C: parlistize decDepth(), by merging it with incDepth()
2259 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2261 * lyxrow.h: store a ParagraphList::iterator instead of a
2262 Paragraph* and adjust other class functions to suit.
2264 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
2267 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2269 * text2.C (setCursor): do not anchor to cursor row for the time being
2271 2003-04-02 John Levon <levon@movementarian.org>
2278 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
2280 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2282 * paragraph.h: make ParagraphList and ParagraphList::iterator
2283 friends of Paragraph.
2285 * buffer.C (makeLinuxDocFile): move towards ParagraphList
2287 * ParagraphList.C: Use the private next_ and previous_ from
2290 2003-04-01 John Levon <levon@movementarian.org>
2294 * Makefile.am: rename, remove defaults gunk
2297 * MenuBackend.C: remove defaults gunk
2300 * Languages.C: remove defaults gunk
2303 * lyx_main.C: error out if files couldn't be found.
2305 2003-04-02 John Levon <levon@movementarian.org>
2307 * text2.C: make incDepth() use parlist
2309 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2311 * undo_funcs.C (firstUndoParagraph): adjust
2313 * text3.C (gotoInset): adjust
2314 (dispatch): adjust, and rewrite loop.
2316 * text2.C (init): adjust, and rewrite loop.
2317 (redoParagraphs): adjust
2318 (updateInset): adjust, and rewrite loop.
2319 (deleteEmptyParagraphMechanism): adjust
2321 * tabular.C (LyXTabular): adjust
2322 (SetMultiColumn): adjust
2325 * lyxtext.[Ch] (ownerParagraph): delete function
2326 (ownerParagraphs): new function returns a ParagraphList.
2328 * BufferView.C (removeAutoInsets): adjust
2329 (insertErrors): adjust
2330 (setCursorFromRow): adjust
2332 2003-04-01 Angus Leeming <leeming@lyx.org>
2334 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
2337 2003-04-02 John Levon <levon@movementarian.org>
2343 * text_funcs.C: make transposeChars a free function
2345 * lyxrow_funcs.C: remove wrong comment
2347 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2350 * rowpainter.C: adjust
2355 * lyxrow_funcs. [Ch]: new files
2357 * lyxrow.[Ch]: remove next and previous pointers
2358 (next,previous): remove accessor functions
2359 (isParEnd): move to lyxrow_funcs
2360 (lastPos): move to lyxrow_funcs
2361 (nextRowIsAllInset): move to lyxrow_funcs
2362 (lastPrintablePos): move to lyxrow_funcs
2363 (numberOfSeparators): move to lyxrow_funcs
2364 (numberOfHfills): move to lyxrow_funcs
2365 (numberOfLabelHfills): move to lyxrow_funcs
2366 (hfillExpansion): move to lyxrow_funcs
2370 * bufferview_funcs.C (toggleAndShow): adjust
2372 * RowList.h: Remove class RowList from file leave just a
2375 * RowList.C: delete file
2377 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
2380 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2382 * text3.C (cursorPrevious): adjust
2383 (cursorNext): adjust
2386 * text2.C (redoHeightOfParagraph): adjust
2387 (redoDrawingOfParagraph): adjust
2390 * text.C (breakParagraph): adjust
2391 (insertChar): adjust
2394 * rowpainter.C (RowPainter): adjust
2395 (leftMargin): simplify and adjust
2396 (most rowpainter functions): adjust.
2398 * rowpainter.h: store the row as RowList::iterator not as Row*
2400 * lyxcursor.C (row): taka RowList::iterator as arg
2403 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
2406 2003-04-01 Angus Leeming <leeming@lyx.org>
2408 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
2409 stuff like bool Bool.
2411 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2413 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
2416 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2418 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
2421 * lyxtext.h (rows): drop one version and leve a const variant that
2422 returns a RowList::iterator.
2424 2003-03-31 Angus Leeming <leeming@lyx.org>
2426 * text.C (fill): ensure that the signature is the same as that in the
2429 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
2431 * text2.C (redoParagraphs): adjust
2432 (updateCounters): adjust
2433 (checkParagraph): adjust
2434 (getColumnNearX): adjust and reformat a bit.
2436 * text.C (top_y): adjust
2438 (leftMargin): adjust
2439 (prepareToPrint): adjust
2441 (getRowNearY): adjust
2443 * lyxtext.h: make rowlist_ mutable.
2445 * RowList.h: add const_iterator
2446 * RowList.C: adjust for RowList::const_iterator.
2448 * text2.C (getCursorX): make it take a RowList::iterator as arg,
2451 2003-03-31 John Levon <levon@movementarian.org>
2454 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
2456 * lyx_main.C: set default fonts from using lyx_gui funcs
2458 * exporter.C: pdf_mode moved from lyxrc
2461 * lyxfunc.C: changes from above
2463 2003-03-31 John Levon <levon@movementarian.org>
2465 * lyx_main.C: fix to the last fix
2467 2003-03-31 John Levon <levon@movementarian.org>
2469 * bufferlist.C: "Load original" -> "Load Original"
2475 * format.C: more Alert cleanups
2477 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2479 * text2.C (removeParagraph): make it take a RowList::iterator as
2481 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
2482 (postRowPaint): make it take a RowList::iterator as arg, adjust.
2484 * text.C (anchor_row): make it take a RowList::iterator as arg,
2486 (computeBidiTables): make it take a const reference to Row instead
2487 of Row pointer, adjust.
2488 (leftMargin): make it take a RowList::iterator as arg, adjust.
2489 (rowBreakPoint): adjust
2490 (breakAgainOneRow): make it take a RowList::iterator as arg,
2492 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
2494 * bufferview_funcs.C (toggleAndShow): adjust
2496 2003-03-30 John Levon <levon@movementarian.org>
2500 * boost-inst.C: moved to support
2502 * several files: changes as a result
2504 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2506 * text2.C (LyXText): adjust.
2508 (removeRow): make it take a RowList::iterator as arg, adjust.
2509 (fullRebreak): adjust
2510 (deleteEmptyParagraphMechanism): adjust
2511 (clearPaint): adjust
2514 * text.C (top_y): adjust
2515 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
2516 (breakAgain): make it take a RowList::iterator as arg, adjust.
2517 (breakParagraph): adjust
2518 (insertChar): adjust
2521 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
2522 need_break_row, and refresh_row.
2524 * text3.C (dispatch): adjust
2526 * text2.C (checkParagraph): adjust
2528 (setCursorFromCoordinates): adjust
2530 * text.C (top_y): adjust
2532 (getRow): make it return a RowList::iterator, adjust
2533 (getRowNearY): make it return a RowList::iterator, adjust
2535 * text2.C (init): adjust
2536 (insertRow): remove function
2537 (insertParagraph): adjust
2538 (redoParagraphs): adjust
2539 (fullRebreak): adjust
2540 (updateCounters): adjust
2542 * text.C (top_y): rewrite to use RowList iterators.
2544 (setHeightOfRow): rewrite to sue RowList iterators.
2545 (appendParagraph): adjust
2546 (breakAgain): adjust
2547 (breakAgainOneRow): adjust
2548 (breakParagraph): adjust
2550 (getRowNearY): adjust, and remove commented code.
2552 * lyxtext.h (firstRow): delete function
2553 (lastRow): delete function
2554 (rows): new function (const and non-const versions.)
2555 (insertRow): delete function
2557 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
2559 2003-03-29 John Levon <levon@movementarian.org>
2561 * BufferView_pimpl.C: always update scrollbar top
2562 because pasting text when we're anchored could mean we
2563 miss an update altogether
2565 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2567 * text2.C (init): use rowlist_.end() and not 0.
2568 (insertRow): change to take a RowList::iterator as arg, adjust
2570 (insertParagraph): change to take a RowList::iterator as arg,
2572 (redoParagraphs): remove some debug msgs.
2574 * text.C (appendParagraph): change to take a RowList::iterator
2575 arg, adjust for this.
2576 (breakAgain): add an assert
2577 (breakAgainOneRow): ditto
2579 2003-03-29 John Levon <levon@movementarian.org>
2581 * text2.C: do not clear selection after inc/decDepth
2584 2003-03-29 John Levon <levon@movementarian.org>
2587 * buffer.C: fix broken strerrors according to Lars
2589 2003-03-29 John Levon <levon@movementarian.org>
2591 * converters.C: more Alert cleanups
2593 2003-03-29 John Levon <levon@movementarian.org>
2595 * bufferview_funcs.C: remove pointless Alert
2597 * buffer.C: fix confusing error message when
2598 a template is chmoded 000
2600 2003-03-29 John Levon <levon@movementarian.org>
2604 * BufferView_pimpl.C: Alert fixes
2608 * tabular-old.C: remove unused table compat reading
2610 2003-03-29 John Levon <levon@movementarian.org>
2615 * lyx_cb.C: more Alert cleanups
2617 * lyxfunc.C: don't allow chktex if not latex document
2619 2003-03-29 John Levon <levon@movementarian.org>
2623 * buffer.C: warnings pushed down from support/,
2626 2003-03-29 John Levon <levon@movementarian.org>
2628 * lyxfunc.C: safety check for C-r (revert)
2630 2003-03-29 John Levon <levon@movementarian.org>
2633 * bufferlist.C: several UI fixes using Alert::prompt.
2634 Fix the pointless looping quit code. Fix stupid revert
2639 * lyx_cb.C: use Alert::prompt
2641 * lyx_main.C: remove a silly question
2643 * lyxfunc.C: remove a couple of silly questions,
2646 2003-03-28 John Levon <levon@movementarian.org>
2648 * text2.C: fix bug 974 (End on empty par)
2650 2003-03-28 John Levon <levon@movementarian.org>
2652 * BufferView_pimpl.C:
2654 * lfuns.h: remove do-nothing math greek lfuns
2656 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2658 * lyxgluelength.h (isValidGlueLength): add default arg on
2659 parameter 2. Remove default arg from friend in class.
2661 * lyxlength.h (isValidLength): add default arg on parameter 2.
2662 Remove default arg from friend in class.
2664 * text2.C (LyXText): adjust, initialize refresh_row.
2668 (insertParagraph): adjst
2669 (redoParagraphs): adjust
2670 (fullRebreak): adjust
2671 (updateCounters): adjust
2672 (deleteEmptyParagraphMechanism): first attempt at fixing a
2675 * text.C (top_y): adjust
2676 (setHeightOfRow): adjust
2678 (getRowNearY): adjust
2680 * lyxtext.h: include RowList.h
2681 (~LyXText): not needed anymore, deleted.
2682 (firstRow): modify for RowList
2683 (lastRow): new function
2684 Delete firstrow and lastrow class variables, add a Rowlist
2685 rowlist_ class variable.
2687 * lyxrow.C (lastPos): use empty() and not !size() to check if a
2690 * RowList.C (insert): fix case where it == begin().
2692 2003-03-26 Angus Leeming <leeming@lyx.org>
2694 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2695 the thesaurus dialog.
2697 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2699 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2701 * RowList.[Ch]: new files
2703 * ParagraphList.C (erase): handle the case where it == begin
2706 2003-03-25 John Levon <levon@movementarian.org>
2710 * aspell.C: add new aspell support
2713 * lyxrc.C: Make use_pspell be use_spell_lib. Always
2716 2003-03-25 Angus Leeming <leeming@lyx.org>
2719 * LyXAction.C (init): new LFUN_INSET_INSERT.
2721 * BufferView_pimpl.C (dispatch): split out part of the
2722 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2724 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2727 2003-03-25 Angus Leeming <leeming@lyx.org>
2729 * lyxfunc.C (dispatch): changes to the Dialogs interface.
2731 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
2734 * text3.C: remove useless row->height(0)
2736 2003-03-25 John Levon <levon@movementarian.org>
2740 * text3.C: rename the refreshing stuff to better names
2742 2003-03-24 John Levon <levon@movementarian.org>
2744 * BufferView_pimpl.h:
2745 * BufferView_pimpl.C: update layout choice on a mouse
2748 2003-03-23 John Levon <levon@movementarian.org>
2750 * Makefile.am: fix commandtags.h reference
2752 2003-03-22 John Levon <levon@movementarian.org>
2754 * BufferView_pimpl.C:
2759 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2761 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
2764 * text.C: take the rtl methods out of line
2766 2003-03-21 André Pönitz <poenitz@gmx.net>
2768 * metricsinfo.[Ch]: new files containing structures to be passed around
2769 during the two-phase-drawing...
2771 2003-03-21 André Pönitz <poenitz@gmx.net>
2773 * lyxtextclass.C: read 'environment' tag.
2775 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
2777 * text2.C (removeRow): fix bug 964
2779 2003-03-20 John Levon <levon@movementarian.org>
2783 * text2.C: paint cleanups. Inset::update() dropped font
2786 2003-03-19 John Levon <levon@movementarian.org>
2788 * lyxfunc.C: only fitcursor/markDirty if available()
2790 2003-03-19 John Levon <levon@movementarian.org>
2792 * commandtags.h: rename to ...
2794 * lfuns.h: ... this, and renumber / cleanup
2796 2003-03-19 John Levon <levon@movementarian.org>
2798 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2799 fit the cursor after an lfun
2803 * BufferView_pimpl.h:
2804 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2806 * LyXAction.C: layout-character should have ReadOnly
2808 * ParagraphParameters.C:
2810 * bufferview_funcs.C:
2817 * undo_funcs.C: changes from above
2819 2003-03-18 John Levon <levon@movementarian.org>
2821 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2822 remove it from update()
2824 * lyxfunc.C: update layout choice after an lfun
2826 * text3.C: remove extra updateLayoutChoice()s
2828 2003-03-18 John Levon <levon@movementarian.org>
2830 * text.C: top_y change means full repaint, fix
2831 a drawing bug with cursor movement
2833 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2837 * text2.C: anchor row on setCursor
2839 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2841 * lyxtext.h: remove almost all mutable keywords
2844 * text3.C: remove const keywords accordingly
2846 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2848 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2850 (TeXEnvironment): ditto
2853 2003-03-17 John Levon <levon@movementarian.org>
2855 * text.C (rowBreakPoint): remove attempt to fix displayed
2856 math insets inside a manual label
2858 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2860 * lyxtext.h: remove BufferView* as first arg from almost all class
2862 * other files: adjust.
2864 2003-03-17 John Levon <levon@movementarian.org>
2868 * text2.C: more paint cleanups
2870 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2873 * rowpainter.C: remove "smart" background painting code
2875 2003-03-16 John Levon <levon@movementarian.org>
2880 * text3.C: add helper functions for setting refresh_row/y
2882 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
2884 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2885 newline inset which *can* get inserted in the pass_thru layouts.
2886 This is primarily for literate documents.
2888 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
2890 * buffer.C: increment LYX_FORMAT to 223
2892 2003-03-14 André Pönitz <poenitz@gmx.net>
2894 * textclass.h: prepare for environment handling, ws changes
2895 * lyxlayout.C: read latexheader and latexfooter tags
2897 2003-03-14 John Levon <levon@movementarian.org>
2899 * text2.C: rewrite ::status() a bit
2901 2003-03-13 John Levon <levon@movementarian.org>
2903 * lyxtext.h: add some docs
2905 2003-03-13 John Levon <levon@movementarian.org>
2910 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2912 2003-03-13 John Levon <levon@movementarian.org>
2914 * text3.C: fix appendix redrawing
2916 2003-03-13 John Levon <levon@movementarian.org>
2918 * text.C (setHeightOfRow):
2920 * rowpainter.C: make appendix mark have the text
2921 "Appendix" so the user knows what it is
2924 * LColor.C: s/appendixline/appendix/ from above
2926 2003-03-13 John Levon <levon@movementarian.org>
2928 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2930 * text.C: fix a getChar(pos) bug properly
2932 2003-03-13 Angus Leeming <leeming@lyx.org>
2935 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2936 Probably only temporary. Let's see how things pan out.
2938 * BufferView.C (unlockInset):
2939 * BufferView_pimpl.C (fitCursor):
2940 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2942 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2943 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2945 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2946 new functions that convert ParagraphParameters to and from a string.
2948 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2949 BufferView::Pimpl's dispatch.
2950 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2952 2003-03-13 André Pönitz <poenitz@gmx.net>
2956 * factory.C: make it aware of InsetEnv
2958 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2960 * text2.C (setCursor): never ask for one past last
2961 (setCursor): add some debugging messages.
2963 * text.C (singleWidth): never ask for one past last
2964 (singleWidth): ditto
2966 (rightMargin): ditto
2967 (rowBreakPoint): ditto
2968 (setHeightOfRow): ditto
2969 (prepareToPrint): ditto
2971 * rowpainter.C (paintBackground): never ask for one past last
2972 (paintText): never ask for one past last
2974 * paragraph_pimpl.C (getChar): make the assert stricter, never
2975 allow the one past last pos to be taken
2977 * paragraph.C (getChar): ws changes only
2979 * lyxrow.C (nextRowIsAllInset): never ask for one past last
2980 (numberOfSeparators): ditto
2981 (numberOfHfills): ditto
2983 2003-03-12 John Levon <levon@movementarian.org>
2989 * paragraph_funcs.C: fix per-buffer authorlists
2991 2003-03-12 John Levon <levon@movementarian.org>
2993 * text.C: fix newline in right address
2995 2003-03-12 Angus Leeming <leeming@lyx.org>
2997 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2998 duplicate those in LyXFunc::dispatch.
3002 * ToolbarDefaults.C:
3003 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3004 Add LFUN_FONTFREE_UPDATE.
3006 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3007 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3009 * bufferview_func.[Ch]: several new functions to facilliate
3010 transfer of data to and from the character dialog.
3012 2003-03-12 John Levon <levon@movementarian.org>
3017 * paragraph_funcs.C:
3018 * paragraph_pimpl.C:
3022 * text3.C: remove META_NEWLINE in favour of an inset
3025 * rowpainter.C: remove paintNewline (done by inset)
3027 2003-03-12 John Levon <levon@movementarian.org>
3029 * paragraph_pimpl.C: complain about bad getChar()s
3030 for a while at least
3032 2003-03-12 John Levon <levon@movementarian.org>
3035 * buffer.C: move paragraph read into a separate function,
3036 a little renaming to reflect that.
3039 * bufferparams.C: remove the author_ids map, not necessary now
3042 * factory.C: moved Buffer::readInset to here
3044 * paragraph_funcs.h:
3045 * paragraph_funcs.C: readParagraph free function moved from
3048 * tabular.C: name change
3050 2003-03-12 John Levon <levon@movementarian.org>
3053 * ParagraphParameters.C: move par params input to
3056 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
3057 behave like a normal read from the stream wrt reading
3058 a line vs. a \\token
3060 2003-03-12 John Levon <levon@movementarian.org>
3063 * ParagraphParameters.h:
3064 * ParagraphParameters.C: move output code to a
3067 2003-03-12 John Levon <levon@movementarian.org>
3069 * BufferView.C (insertLyXFile):
3072 * tabular.C: use a parlist iterator for creating the
3075 2003-03-12 John Levon <levon@movementarian.org>
3077 * buffer.C: make current_change static local not
3080 2003-03-12 John Levon <levon@movementarian.org>
3082 * buffer.C: fix insertStringAsLines for change tracking
3084 2003-03-12 John Levon <levon@movementarian.org>
3091 * bufferparams.C: move author list into params. Rename some
3092 functions. Move the header reading into a separate token
3093 loop. Move the header token reading into BufferParams.
3095 2003-03-12 John Levon <levon@movementarian.org>
3097 * changes.C: put debug inside lyxerr.debugging() checks
3099 2003-03-11 André Pönitz <poenitz@gmx.net>
3101 * factory.C: make it aware of InsetHFill
3103 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3105 * buffer.C (latexParagraphs): move function from here...
3106 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
3109 2003-03-10 Angus Leeming <leeming@lyx.org>
3111 * LyXAction.C (init): fix bug in poplating array with multiple entries
3112 with the same LFUN (spotted by JMarc).
3114 2003-03-10 John Levon <levon@movementarian.org>
3117 * text2.C: move getColumnNearX() near its
3120 2003-03-10 John Levon <levon@movementarian.org>
3122 * text.C: fix break before a minipage
3124 2003-03-10 John Levon <levon@movementarian.org>
3126 * text.C: fix the last commit
3128 2003-03-09 John Levon <levon@movementarian.org>
3132 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
3133 bug 365 (don't break before insets unless needed). Don't
3134 return a value > last under any circumstances.
3136 2003-03-09 Angus Leeming <leeming@lyx.org>
3138 * BufferView_pimpl.C (trackChanges, dispatch): call
3139 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
3141 2003-03-09 Angus Leeming <leeming@lyx.org>
3143 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
3144 than Dialogs::showAboutlyx().
3146 2003-03-09 Angus Leeming <leeming@lyx.org>
3148 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
3149 than Dialogs::showTabularCreate().
3151 2003-03-09 John Levon <levon@movementarian.org>
3155 * text2.C: 3rd arg to nextBreakPoint was always the same.
3158 2003-03-08 John Levon <levon@movementarian.org>
3165 * text2.C: Remove the "main" bit from the "main body"
3168 2003-03-08 John Levon <levon@movementarian.org>
3170 * text.C (leftMargin): The left margin of an empty
3171 manual label paragraph should not include the label width
3174 * text.C (prepareToPrint): don't attempt to measure hfills
3175 for empty manual label paragraphs - the answer should be 0
3177 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3179 * CutAndPaste.C: remove commented code and reindent.
3181 2003-03-08 John Levon <levon@movementarian.org>
3184 * lyxfunc.C: move reloadBuffer()
3187 * BufferView.C: to here
3189 * lyxvc.C: add comment
3192 * vc-backend.C: call bv->reload() to avoid
3193 getStatus() check on MENURELOAD
3195 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
3197 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
3198 to an old format .dep file.
3200 2003-03-07 Angus Leeming <leeming@lyx.org>
3202 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
3203 when the LFUN_MOUSE_RELEASE should have been handled by
3204 inset->localDispatch.
3206 2003-03-07 Angus Leeming <leeming@lyx.org>
3208 * BufferView_pimpl.C (dispatch):
3209 * LyXAction.C (init):
3210 * ToolbarDefaults.C (init):
3212 * lyxfunc.C (getStatus):
3213 remove LFUN_INSET_GRAPHICS.
3215 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
3217 2003-03-07 Angus Leeming <leeming@lyx.org>
3220 * LyXAction.C (init):
3221 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
3223 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
3226 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
3228 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
3229 localDispatch method LFUN_INSET_DIALOG_UPDATE.
3231 2003-03-07 Angus Leeming <leeming@lyx.org>
3233 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
3236 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3238 * ParagraphList.C (front): new function
3241 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3243 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
3244 and top_row_offset_. removed var first_y.
3246 * text2.C (LyXText, removeRow):
3248 * BufferView_pimpl.C:
3249 use these methods instead of using first_y
3251 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3253 * text2.C (pasteSelection): adjust for checkPastePossible
3255 * CutAndPaste.C: remove Paragraph * buf and replace with
3256 ParagraphList paragraphs.
3257 (DeleteBuffer): delete
3258 (cutSelection): change the tc type to textclass_type
3259 (copySelection): change the tc type to textclass_type
3260 (copySelection): adjust for ParagraphList
3261 (pasteSelection): change the tc type to textclass_type
3262 (pasteSelection): adjust for Paragraphlist
3263 (nrOfParagraphs): simplify for ParagraphList
3264 (checkPastePossible): simplify for ParagraphList
3265 (checkPastePossible): remove unused arg
3267 * ParagraphList.C (insert): handle the case where there are no
3270 * CutAndPaste.h: make CutAndPaste a namespace.
3272 * text3.C (dispatch): adjust
3274 * text.C (breakParagraph): add a ParagraphList as arg
3276 * paragraph_funcs.C (breakParagraph): change to take a
3277 BufferParams and a ParagraphList as args.
3278 (breakParagraphConservative): ditto
3279 (mergeParagraph): ditto
3280 (TeXDeeper): add a ParagraphList arg
3281 (TeXEnvironment): ditto
3284 * buffer.C (readLyXformat2): adjust
3285 (insertStringAsLines): adjust
3286 (latexParagraphs): adjust
3288 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
3289 (cutSelection): adjust
3290 (pasteSelection): adjust
3292 * BufferView_pimpl.C (insertInset): adjust
3294 2003-03-05 Angus Leeming <leeming@lyx.org>
3297 * LyXAction.C (init):
3298 * BufferView_pimpl.C (dispatch):
3299 * lyxfunc.C (getStatus):
3300 remove LFUN_CHILD_INSERT.
3302 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
3304 2003-03-05 Angus Leeming <leeming@lyx.org>
3307 * LyXAction.C (init):
3308 * src/factory.C (createInset):
3309 * lyxfunc.C (getStatus):
3310 * text3.C (dispatch):
3311 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
3313 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
3315 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3317 * ParagraphList.C (insert): handle insert right before end()
3318 (erase): fix cases where it can be first or last paragraph.
3320 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3322 * paragraph_funcs.C (TeXEnvironment): remove all usage of
3323 Paragraph::next and Paragraph::previous
3326 * text.C (breakParagraph): adjust
3328 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
3329 BufferParams& as arg.
3330 (breakParagraph): use ParagraphList::insert
3331 (breakParagraphConservative): take a Buffer* instead of a
3332 BufferParams& as arg.
3333 (breakParagraphConservative): use ParagraphList::insert.
3335 * buffer.C (insertStringAsLines): un-const it
3336 (insertStringAsLines): adjust
3338 * ParagraphList.C (insert): new function
3340 * CutAndPaste.C (pasteSelection): adjust
3342 * text.C (backspace): adjust
3344 * tabular.C (SetMultiColumn): adjust
3346 * CutAndPaste.C (cutSelection): adjust
3347 (pasteSelection): adjust
3349 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
3350 Buffer const * as arg
3352 * ParagraphList.C (erase): new function
3353 * paragraph_funcs.C (mergeParagraph): use it
3354 (mergeParagraph): make it take a Buffer* instead of a
3355 BufferParams* as arg
3357 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
3359 (breakParagraphConservative): ditto
3361 * paragraph.h: remove the breakParagraph friend
3363 * paragraph.C (eraseIntern): new function
3364 (setChange): new function
3366 * paragraph_funcs.C (mergeParagraph): make it take a
3367 ParagraphList::iterator instead of a Paragraph *, adjust
3370 * paragraph.h: move an #endif so that the change tracking stuff
3371 also works in the NO_NEXT case.
3373 2003-03-04 Angus Leeming <leeming@lyx.org>
3376 * LyXAction.C: new LFUN_INSET_MODIFY.
3378 * BufferView_pimpl.C (dispatch): if an inset is found to be open
3379 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
3381 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3383 * several files: ws changes only
3385 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
3386 (TeXEnvironment): ditto
3389 * buffer.C (makeLaTeXFile): adjust
3390 (latexParagraphs): make it take ParagraphList::iterator as args
3392 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3394 * buffer.C (latexParagraphs): adjust
3396 * paragraph.C (TeXOnePar): move function...
3397 (optArgInset): move function...
3398 (TeXEnvironment): move function...
3399 * paragraph_pimpl.C (TeXDeeper): move function...
3400 * paragraph_funcs.C: ...here
3402 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
3404 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3406 * buffer.C (readInset): remove compability code for old Figure and
3409 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3411 * buffer.C: ws changes
3414 * BufferView_pimpl.C: ditto
3417 * bufferlist.h: ditto
3421 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3423 * converter.[Ch]: split into itself +
3426 * Makefile.am: += graph.[Ch] + format.[Ch]
3433 * lyxrc.C: added #include "format.h"
3435 2003-02-27 Angus Leeming <leeming@lyx.org>
3437 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
3440 * factory.C (createInset): add "label" to the factory.
3442 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
3443 string and do no more.
3445 2003-02-27 Angus Leeming <leeming@lyx.org>
3448 * LyXAction.C (init):
3449 * factory.C (createInset):
3450 * BufferView_pimpl.C (dispatch):
3451 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3453 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
3455 * lyxfunc.C (dispatch):
3456 * text3.C (dispatch): pass name to params2string.
3458 2003-02-26 Angus Leeming <leeming@lyx.org>
3460 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
3462 Rearrange the ~includes. Strip out the unnecessary ones.
3464 * factory.C (createInset): reformat.
3465 create new insets for the various LFUN_XYZ_APPLY lfuns.
3467 2003-02-26 John Levon <levon@movementarian.org>
3470 * lyxrow.C: add isParStart,isParEnd helpers
3472 * paragraph.h: make isInserted/DeletedText take refs
3474 * paragraph_funcs.h:
3475 * paragraph_funcs.C: remove #if 0'd code
3480 * text.C: use lyxrow helpers above.
3481 Move draw and paint routines to RowPainter.
3482 Make several methods use refs not pointers.
3483 Make backgroundColor() const.
3484 Add markChangeInDraw(), isInInset().
3485 Merge changeRegionCase into changeCase.
3486 Make workWidth() shouldn't-happen code into an Assert.
3489 * rowpainter.C: new class for painting a row.
3492 * vspace.C: make inPixels take a ref
3494 2003-02-26 Angus Leeming <leeming@lyx.org>
3496 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
3499 2003-02-25 John Levon <levon@movementarian.org>
3501 * ispell.C: give the forked command a more accurate name
3503 2003-02-22 John Levon <levon@movementarian.org>
3506 * toc.C: make TocItem store an id not a Paragraph *
3509 2003-02-21 Angus Leeming <leeming@lyx.org>
3511 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
3512 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
3513 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
3514 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
3515 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
3516 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
3518 * BufferView_pimpl.C (dispatch):
3519 * LyXAction.C (init):
3520 * factory.C (createInset):
3521 * lyxfunc.C (getStatus, dispatch):
3522 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
3524 2003-02-21 Angus Leeming <leeming@lyx.org>
3526 * BufferView_pimpl.C (MenuInsertLyXFile):
3527 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3528 * lyxfunc.C (menuNew, open, doImport):
3529 no longer pass a LyXView & to fileDlg.
3531 2003-02-21 Angus Leeming <leeming@lyx.org>
3533 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
3534 * LyXAction.C: change, BIBKEY to BIBITEM.
3535 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
3536 Change InsetBibKey to InsetBibitem.
3537 Change BIBKEY_CODE to BIBITEM_CODE.
3538 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3539 * factory.C: replace insetbib.h with insetbibitem.h.
3540 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3541 * paragraph.C: replace insetbib.h with insetbibitem.h.
3542 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
3543 Change bibkey() to bibitem().
3544 * text.C: remove insetbib.h.
3545 * text2.C: replace insetbib.h with insetbibitem.h.
3546 change bibkey() to bibitem().
3547 * text3.C: remove insetbib.h.
3548 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3550 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3552 * lyxrc.C (output): enclose user email in quotes (in case there are
3555 2003-02-18 John Levon <levon@movementarian.org>
3557 * buffer.h: add std::
3559 2003-02-17 John Levon <levon@movementarian.org>
3565 * pspell.C: reworking. Especially in ispell, a large
3566 number of clean ups and bug fixes.
3568 * lyxfunc.C: fix revert to behave sensibly
3570 2003-02-17 André Pönitz <poenitz@gmx.net>
3573 * commandtags.h: new LFUN_INSERT_BIBKEY
3583 * paragraph_func.C: remove special bibkey handling
3585 2003-02-17 John Levon <levon@movementarian.org>
3587 * text.C (Delete): fix case where delete at the end of
3588 the very first paragraph would not merge the pars
3590 2003-02-17 John Levon <levon@movementarian.org>
3592 * lyxrow.C: fix lastPrintablePos()
3594 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3596 * bufferparams.C (writeLaTeX): add a std:here
3598 * buffer.C: and remove a using directive there
3600 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3602 * buffer.C (makeLaTeXFile): move the code that generates the
3605 * bufferparams.C (writeLaTeX): ... in this new method
3607 * LaTeXFeatures.C (getEncodingSet): make const
3608 (getLanguages): make const
3610 * MenuBackend.C (binding): returns the binding associated to this
3612 (add): sets the status of each item by calling getStatus. Adds
3614 (read): add support for OptSubMenu
3615 (expand): remove extra separator at the end of expanded menu
3617 2003-02-15 John Levon <levon@movementarian.org>
3620 * BufferView_pimpl.C:
3622 * bufferlist.C: remove pointless BufferStorage bloat. Remove
3623 inset code that had no actual effect. Remove unneeded status
3626 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3628 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
3631 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
3633 * text.C (drawLengthMarker): also draw an arrow marker for
3634 symbolic lengths (medskip...)
3636 2003-02-14 John Levon <levon@movementarian.org>
3639 * tabular.C: better method names
3641 2003-02-14 John Levon <levon@movementarian.org>
3643 * BufferView_pimpl.C:
3648 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3649 it's a more accurate name. Remove some pointless uses.
3651 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3653 * text2.C (LyXText): change order of initilizers to shut off
3656 2003-02-14 John Levon <levon@movementarian.org>
3658 * buffer.C: use ParIterator for getParFromID()
3662 * paragraph_pimpl.h:
3663 * paragraph_pimpl.C: remove unused getParFromID()
3665 2003-02-14 John Levon <levon@movementarian.org>
3667 * buffer.C: remove some very old #if 0'd parse code
3669 2003-02-13 John Levon <levon@movementarian.org>
3673 * text2.C: move hfillExpansion(), numberOfSeparators(),
3674 rowLast(), rowLastPrintable(), numberofHfills(),
3675 numberOfLabelHfills() ...
3678 * lyxrow.C: ... to member functions here.
3683 * text.C: remove LyXText::beginningOfMainBody(), and call
3684 p->beginningOfMainBody() directly. Move the check for
3685 LABEL_MANUAL into the latter.
3692 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3698 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3699 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3701 2003-02-13 John Levon <levon@movementarian.org>
3703 * CutAndPaste.C: remove debug
3705 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3707 * paragraph.C (asString): remove two unused variables
3709 * lyxtextclass.C (readTitleType):
3711 (LyXTextClass): handle new members titletype_ and titlename_
3713 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3715 2003-02-09 John Levon <levon@movementarian.org>
3718 * buffer.C: replace hand-coded list with a map for the dep clean
3720 2003-02-08 John Levon <levon@movementarian.org>
3722 * LaTeX.C: consolidate code into showRunMessage() helper
3724 2003-02-08 John Levon <levon@movementarian.org>
3729 * BufferView.C: change setSelectionOverString() to setSelectionRange()
3730 and pass the size in explicitly
3732 * BufferView_pimpl.h:
3733 * BufferView_pimpl.C:
3735 * BufferView.C: add getCurrentChange()
3737 * BufferView_pimpl.h:
3738 * BufferView_pimpl.C: handle change lfuns
3740 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3741 for changes. Mark pasted paragraphs as new.
3743 * support/lyxtime.h:
3744 * support/lyxtime.C:
3745 * DepTable.C: abstract time_t as lyx::time_type
3748 * LColor.C: add colours for new text, deleted text, changebars
3750 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3751 package use "usenames" option.
3755 * LyXAction.C: add change lfuns
3759 * author.C: author handling
3762 * buffer.C: add a per-buffer author list, with first entry as
3763 current author. Handle new .lyx tokens for change tracking. Output
3764 author list to .lyx file. Output dvipost stuff to .tex preamble.
3765 Bump lyx format to 222.
3768 * bufferlist.C: add setCurrentAuthor() to reset current author details
3772 * bufferparams.C: add param for tracking
3774 * bufferview_funcs.C: output change info in minibuffer
3778 * changes.C: add change-tracking structure
3781 * debug.C: add CHANGES debug flag
3784 * lyxfind.C: add code for finding the next change piece
3787 * lyxrc.C: add user_name and user_email
3790 * lyxrow.C: add a metric for the top of the text line
3793 * text.C: implement accept/rejectChange()
3796 * text.C: paint changebars. Paint new/deleted text in the chosen
3797 colours. Strike through deleted text.
3801 * paragraph_pimpl.h:
3802 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3803 in the current change to the insert functions. Rework erase to
3804 mark text as deleted, adding an eraseIntern() and a range-based
3805 erase(). Implement per-paragraph change lookup and
3808 * paragraph_funcs.C: Fixup paste for change tracking.
3810 * tabular.C: mark added row/columns as new.
3812 * text.C: fix rowLast() to never return -1. Don't allow
3813 spellchecking of deleted text. Track transpose changes. Don't
3814 allow paragraph break or merge where appropriate.
3816 * text2.C: leave cursor at end of selection after a cut.
3818 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3820 * text.C (getLengthMarkerHeight):
3821 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3822 visible on screen too.
3824 2003-02-07 John Levon <levon@movementarian.org>
3826 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3828 2003-02-05 Angus Leeming <leeming@lyx.org>
3830 * lyxserver.C (read_ready): revert my patch of 11 September last year
3831 as it sends PC cpu through the roof. Presumably this means that
3832 the lyxserver will no longer run on an Alpha...
3834 2003-01-30 Angus Leeming <leeming@lyx.org>
3836 * factory.C (createInset): create an InsetCommandParam of type "index"
3837 and use it to 'do the right thing'.
3839 * text2.C (getStringToIndex): ensure that cursor position is always
3840 reset to the reset_cursor position.
3842 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3844 * lyxfunc.C (getStatus): "buffer-export custom" should never be
3847 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3851 * lyxfunc.C: Output messages with identical spelling, punctuation,
3854 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
3856 * MenuBackend.C (expandFormats): List only viewable export formats
3859 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3862 * lyxfunc.C (getStatus): Make sure that formats other than
3863 "fax" can also be disabled
3865 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3867 * text3.C (dispatch): put the lfuns that insert insets in 3
3868 groups, and call doInsertInset with appropriate arguments.
3869 (doInsertInset): new function, that creates an inset and inserts
3870 it according to some boolean parameters.
3872 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3874 * buffer.C (readFile): remember to pass on 'par' when calling
3875 readFile recursively.
3877 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3879 * MenuBackend.C (expandFormats): add "..." to import formats.
3881 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
3883 * paragraph.C (asString): Remove XForms RTL hacks.
3885 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
3886 * buffer.C: fix typo
3888 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3890 * Makefile.am (LIBS): delete var
3891 (lyx_LDADD): add @LIBS@ here instead.
3893 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
3895 * Clarify the meaning of "wheel mouse jump"
3897 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3899 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3902 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3904 * importer.C (Loaders): do not preallocate 3 elements in the
3905 vector, since one ends up with 6 elements otherwise
3907 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3909 * DepTable.C (write): write the file name as last element of the
3910 .dep file (because it may contain spaces)
3911 (read): read info in the right order
3913 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3915 * paragraph_pimpl.C (simpleTeXBlanks):
3916 (simpleTeXSpecialChars):
3917 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3919 * tabular.C (latex): add some missing case statements. Reindent.
3921 * MenuBackend.C (expandToc): remove unused variable.
3923 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3932 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3935 2003-01-05 John Levon <levon@movementarian.org>
3938 * BufferView.C: add getEncoding()
3941 * kbsequence.C: do not store last keypress
3944 * lyxfunc.C: store last keypress here instead. Pass encoding
3947 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3949 * lyx_main.C (init): remove annoying error message when following
3950 symbolic links (bug #780)
3952 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3954 * text.C (insertChar):
3955 * lyxrc.C (getDescription): remove extra spaces
3957 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3959 * lyxrc.C (getDescription): remove extra spaces
3961 2002-12-20 John Levon <levon@movementarian.org>
3963 * text3.C: hack fix for page up/down across tall rows
3965 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3967 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3970 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3972 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3973 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3974 thesaurus is not compiled in
3976 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3978 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
3980 2002-12-16 Angus Leeming <leeming@lyx.org>
3983 * lyx_main.C (init): remove override_x_deadkeys stuff.
3985 2002-12-12 John Levon <levon@movementarian.org>
3987 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3988 insert. Only remove shift modifier under strict
3991 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3993 * MenuBackend.C (expandToc): fix crash.
3995 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3997 * MenuBackend.C (expandToc): gettext on float names.
3999 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4001 * lyxlength.[Ch]: set default unit to UNIT_NONE,
4002 implement bool empty() [bug 490]
4004 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4006 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4008 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4010 * several files: ws changes
4012 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4014 * text2.C (setCounter): clean up a bit, use boost.format.
4015 (updateCounters): initialize par upon declaration.
4017 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4018 if the layout exists. We do not just store the layout any more.
4019 (SwitchLayoutsBetweenClasses): use boost.format
4021 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4023 * converter.C (convert): if from and to files are the same, use a
4024 temporary files as intermediary
4026 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4029 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
4031 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
4033 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
4035 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4037 * tabular.C (asciiPrintCell): use string(size, char) instead of
4040 * sgml.C (openTag): fix order of arguments to string constructor
4043 * lyxfunc.C (dispatch): use boost.format
4045 * lots of files: change "c" -> 'c'
4047 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
4049 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
4051 2002-11-25 Angus Leeming <leeming@lyx.org>
4053 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
4055 * lyx_main.C (init): compile fix.
4057 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4059 * lyx_cb.C (start): boost.formatify
4060 do not include <iostream>
4062 * lengthcommon.C: ws only
4064 * boost-inst.C,BoostFormat.h: add more explict instantations
4066 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4068 * lots of files: handle USE_BOOST_FORMAT
4070 2002-11-21 John Levon <levon@movementarian.org>
4072 * pspell.C: fix compile
4074 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4076 * lyxfunc.C (dispatch): use boost::format
4080 * lyxfont.C (stateText): use boost::format
4082 * lyx_main.C (LyX): use boost::format
4084 (queryUserLyXDir): ditto
4087 (typedef boost::function): use the recommened syntax.
4089 * importer.C (Import): use boost::format
4091 * debug.C (showLevel): use boost::format
4093 * converter.C (view): use boost::format
4098 * bufferview_funcs.C (currentState): use boost::format
4100 * bufferlist.C (emergencyWrite): use boost::format
4102 * buffer.C (readLyXformat2): use boost::format
4103 (parseSingleLyXformat2Token): ditto
4105 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
4107 * LaTeX.C (run): use boost::format
4109 * Chktex.C (scanLogFile): use boost::format
4111 * BufferView_pimpl.C (savePosition): use boost::format
4112 (restorePosition): ditto
4113 (MenuInsertLyXFile): ditto
4115 * BoostFormat.h: help file for explicit instation.
4117 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4119 * tabular.C (latex): Support for block alignment in fixed width
4122 2002-11-17 John Levon <levon@movementarian.org>
4124 * BufferView_pimpl.C:
4126 * lyxfunc.C: split filedialog into open/save
4128 2002-11-08 Juergen Vigna <jug@sad.it>
4130 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
4131 by my last patch (hopefully).
4133 2002-11-08 John Levon <levon@movementarian.org>
4142 * toc.C: ParConstIterator, and use it (from Lars)
4144 2002-11-07 Ben Stanley <bds02@uow.edu.au>
4146 * lyxtextclass.[Ch]: revise and add doxygen comments
4148 2002-11-07 John Levon <levon@movementarian.org>
4150 * text.C: fix progress value for spellchecker
4152 * toc.C: fix navigate menu for insetwrap inside minipage
4154 * paragraph_funcs.C: added FIXME for suspect code
4156 2002-11-07 John Levon <levon@movementarian.org>
4158 * BufferView_pimpl.C: fix redrawing of insets
4161 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4163 * text2.C (updateCounters): fix bug 668
4165 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
4167 * text3.C (dispatch): Do not make the buffer dirty when moving the
4170 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4172 * vc-backend.C: STRCONV
4175 * text2.C (setCounter): STRCONV
4177 * paragraph.C (asString): STRCONV
4179 * lyxlength.C (asString): STRCONV
4180 (asLatexString): ditto
4182 * lyxgluelength.C (asString): STRCONV
4183 (asLatexString): ditto
4185 * lyxfunc.C (dispatch): STRCONV
4188 * lyxfont.C (stateText): STRCONV
4190 * importer.C (Import): STRCONV
4192 * counters.C (labelItem): STRCONV
4193 (numberLabel): ditto
4194 (numberLabel): remove unused ostringstream o
4199 * bufferview_funcs.C (currentState): STRCONV
4201 * buffer.C (readFile): STRCONV
4202 (asciiParagraph): ditto
4203 (makeLaTeXFile): ditto
4205 * Spacing.C (writeEnvirBegin): STRCONV
4207 * LaTeXFeatures.C (getLanguages): STRCONV
4208 (getPackages): ditto
4210 (getBabelOptions): ditto
4211 (getTClassPreamble): ditto
4212 (getLyXSGMLEntities): ditto
4213 (getIncludedFiles): ditto
4217 (scanAuxFile): ditto
4220 * LString.h: add the STRCONV macros
4222 * BufferView_pimpl.C (savePosition): STRCONV
4223 (restorePosition): ditto
4224 (MenuInsertLyXFile): ditto
4226 * vc-backend.C (scanMaster): change from submatch[...] to
4229 * funcrequest.C: include config.h
4231 * factory.C: include config.h
4233 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
4235 * box.C: include config.h
4237 * LaTeX.C (scanAuxFile): change from submatch[...] to
4241 2002-10-25 Angus Leeming <leeming@lyx.org>
4243 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
4245 * ispell.[Ch] (setError): new method.
4246 * ispell.C (c-tor): move out child process into new class LaunchIspell.
4247 Use setError() insetead of goto END.
4249 * lyx_cb.C (AutoSave): move out child process into new class
4252 2002-10-30 John Levon <levon@movementarian.org>
4254 * text3.C: make start appendix undoable
4256 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
4258 * lyxlength.C (inPixels): Fix returned value.
4260 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
4263 2002-10-24 Angus Leeming <leeming@lyx.org>
4265 * lyxgluelength.h: no need to forward declare BufferParams
4266 or BufferView, so don't.
4268 2002-10-21 John Levon <levon@movementarian.org>
4270 * BufferView.C: menuUndo ->undo, redo
4272 * BufferView.h: document, remove dead, make some methods private
4274 * paragraph_funcs.h:
4275 * paragraph_funcs.C:
4276 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
4281 * sgml.C: move sgml open/close tag into sgml.C
4283 * bufferview_funcs.h: unused prototype
4286 * lyxfunc.C: remove unused
4289 * text.C: remove unused
4291 2002-10-21 John Levon <levon@movementarian.org>
4295 * BufferView_pimpl.h:
4296 * BufferView_pimpl.C: fix mouse wheel handling based on
4297 patch from Darren Freeman
4299 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
4301 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
4303 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
4305 * lyxlength.C (inPixels): Fix hanfling of negative length.
4306 Fix LyXLength::MU case.
4308 2002-10-16 John Levon <levon@movementarian.org>
4310 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
4312 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4314 * converter.C (view): add support for $$i (file name) and $$p
4315 (file path) for the viewer command. If $$i is not specified, then
4316 it is appended to the command (for compatibility with old syntax)
4318 2002-10-14 Juergen Vigna <jug@sad.it>
4320 * undo_funcs.C (textHandleUndo): alter the order in which the
4321 new undopar is added to the LyXText, as we have to set first
4322 the right prev/next and then add it as otherwise the rebuild of
4323 LyXText is not correct. Also reset the cursor to the right paragraph,
4324 with this IMO we could remove the hack in "redoParagraphs()".
4326 2002-10-09 Angus Leeming <leeming@lyx.org>
4328 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
4329 to turn off an optimisation if a new inset is to be inserted.
4331 2002-10-11 André Pönitz <poenitz@gmx.net>
4333 * lyxtext.h: make some functions public to allow access
4334 from inset/lyxtext for handling LFUN_PRIOR/NEXT
4336 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4338 * text3.C (dispatch): when changing layout, avoid an infinite loop
4341 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4343 * lyxrc.C (read): treat a viewer or converter command of "none" as
4346 * MenuBackend.C (expandFormats): for an update, also allow the
4347 formats that are not viewable
4349 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
4350 script if it is newer than the lyxrc.defaults in user directory
4352 2002-10-07 André Pönitz <poenitz@gmx.net>
4354 * text.C: Vitaly Lipatov's small i18n fix
4356 2002-09-25 Angus Leeming <leeming@lyx.org>
4358 * ispell.h: doxygen fix.
4360 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
4362 * buffer.h (readFile): Add a new argument to the method, to allow
4363 reading of old-format templates.
4365 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4367 * toc.C (getTocList): Get TOC from InsetWrap.
4369 2002-09-16 John Levon <levon@movementarian.org>
4371 * lyxfunc.C: check tabular for cut/copy too
4373 2002-09-12 John Levon <levon@movementarian.org>
4378 * factory.C: add header
4380 * paragraph_funcs.h:
4381 * paragraph_funcs.C: cleanup
4383 2002-09-11 John Levon <levon@movementarian.org>
4385 * PrinterParams.h: odd/even default to true
4387 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4389 * PrinterParams.h: update printer parameters for new xforms dialog
4391 2002-09-11 Angus Leeming <leeming@lyx.org>
4393 * lyxserver.C (read_ready): re-write to make it more transparent
4394 and to make it work in coherent fashion under Tru64 Unix.
4396 2002-09-11 André Pönitz <poenitz@gmx.net>
4400 * text3.C: implement LFUN_WORDSEL
4402 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4404 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
4405 make floatlist_ a boost::shared_ptr<FloatList>
4407 * lyxtextclass.C: include FloatList.h
4408 (LyXTextClass): initialize floatlist_
4409 (TextClassTags): add TC_NOFLOAT
4410 (Read): match "nofloat" to TC_NOFLOAT and use it.
4411 (readFloat): modify call to floatlist_
4415 * FloatList.[Ch] (FloatList): remove commented out float
4417 (erase): new function
4419 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4421 * MenuBackend.C (expandToc): fix crash when there is no document
4424 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
4426 * many files: Add insetwrap.
4428 2002-09-09 John Levon <levon@movementarian.org>
4430 * text2.C: remove confusing and awkward depth wraparound
4432 2002-09-09 John Levon <levon@movementarian.org>
4434 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
4437 * buffer.C: remove getIncludeonlyList()
4440 * lyxfunc.C: remove headers
4442 2002-09-09 Juergen Vigna <jug@sad.it>
4444 * text.C (getColumnNearX): fix form Michael this is most
4445 probably a cut&paste bug.
4447 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4449 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
4451 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
4452 references, ws changes.
4454 * text2.C (init): update counters after init
4455 (insertParagraph): no need to set counter on idividual paragraphs.
4456 (setCounter): access the counters object in the textclass object
4457 on in the buffer object.
4458 (updateCounters): ditto
4460 * lyxtextclass.C: include counters.h, add variable ctrs_ as
4461 shared_ptr<Counters> to avoid loading counters.h in all
4463 (LyXTextClass): initialize ctrs_
4464 (TextClassTags): add TC_COUNTER, and ...
4465 (Read): use it here.
4466 (CounterTags): new tags
4467 (readCounter): new function
4468 (counters): new funtion
4469 (defaultLayoutName): return a const reference
4471 * counters.C (Counters): remove contructor
4472 (newCounter): remove a couple of unneeded statements.
4473 (newCounter): simplify a bit.
4474 (numberLabel): some small formatting changes.
4476 * buffer.[Ch]: remove all traces of counters, move the Counters
4477 object to the LyXTextClass.
4479 2002-09-06 Alain Castera <castera@in2p3.fr>
4481 * tabular.C: uses \tabularnewline; uses >{...} construct from array
4482 package to set the horizontal alignment on fixed width columns.
4485 * lyx_sty.h: added tabularnewline macro def.
4487 * LaTeXFeatures.C: added NeedTabularnewline macro feature
4489 2002-09-06 John Levon <levon@movementarian.org>
4491 * LyXAction.C: tooltips for sub/superscript
4493 * MenuBackend.C: a bit more verbose
4495 * lyxfunc.C: tiny clean
4497 * undo_funcs.C: document undo_frozen
4499 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4501 * counters.C (Counters): add missing algorithm counter.
4503 * text2.C (setCounter): lookup the counter with layouts latexname
4504 instead of by section number.
4505 (setCounter): use a hackish way to lookup the correct enum
4507 a float name->type change
4508 reset enum couners with counter name directly instead of depth value.
4510 * counters.C (Counters): remove the push_backs, change to use the
4511 float type not the float name.
4512 (labelItem): remove unused string, float name->type change
4514 * counters.h: don't include vector, loose the enums and sects vectors
4516 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4518 * lyxtextclass.C (TextClassTags): add TC_FLOAT
4519 (Read): add float->TC_FLOAT to textclassTags
4520 (Read): and handle it in the switch
4521 (readFloat): new function
4523 * FloatList.C (FloatList): comment out the hardcoded float
4526 * lyxlayout.h: ws change.
4528 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
4530 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
4532 2002-09-03 Angus Leeming <leeming@lyx.org>
4534 * BufferView_pimpl.h: qualified name is not allowed in member
4535 declaration: WorkArea & Pimpl::workarea() const;
4537 * factory.C: added using std::endl directive.
4539 * text3.C: added using std::find and std::vector directives.
4541 2002-08-29 André Pönitz <poenitz@gmx.net>
4544 * text2.C: remove unused member number_of_rows
4547 * BufferView2.C: remove file, move contents to...
4548 * BufferView.C: ... here
4550 * BufferView_pimpl.C:
4551 * factory.C: move more inset creation to factory
4553 * vspace.C: avoid direct usage of LyXText, ws changes
4556 don't provide direct access to WorkArea, use two simple
4557 acessors haveSelction() and workHeight() instead
4560 2002-08-29 John Levon <levon@movementarian.org>
4562 * BufferView_pimpl.C (dispatch): do not continue when
4565 2002-08-28 André Pönitz <poenitz@gmx.net>
4567 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
4570 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
4572 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4574 * buffer.C: increment LYX_FORMAT to 221
4576 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
4577 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
4579 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
4581 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
4583 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4585 * factory.C (createInset): use LyXTextClass::floats
4587 * MenuBackend.C (expandFloatListInsert):
4588 (expandFloatInsert):
4591 * text2.C (setCounter):
4593 * LaTeXFeatures.C (useFloat):
4594 (getFloatDefinitions):
4596 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
4598 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
4599 floatlist_, with accessor floats().
4601 * FloatList.h: remove global FloatList
4603 2002-08-26 André Pönitz <poenitz@gmx.net>
4605 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
4609 * BufferView_pimpl.C:
4610 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
4612 2002-08-25 John Levon <levon@movementarian.org>
4614 * LyXAction.C: fix margin note description
4616 2002-08-24 John Levon <levon@movementarian.org>
4620 * bufferview_funcs.C:
4622 * undo_funcs.C: cleanups
4624 * lyxfunc.C: disable CUT/COPY when no selection
4626 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4628 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
4629 in "enum UNIT"; e.g. PTW for Percent of TextWidth
4631 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
4632 Add backward compatibility to "mono", "gray" and "no".
4634 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
4636 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
4637 (and file_format >= 200).
4639 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4641 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
4643 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4645 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4647 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
4649 * BufferView_pimpl.C:
4656 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4657 inset and code to make it work with the paragraph code. The inset
4658 can be anywhere in the paragraph, but will only do the expected
4659 thing in LaTeX if the layout file contains the parameter line
4661 (or more generally, a nonzero value) for that layout.
4663 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4665 * paragraph.h: remove the declaration of undefined counters class
4668 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
4670 * text2.C (setCounter): fixed enumeration mis-count as reported by
4671 Dr. Richard Hawkins.
4673 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4675 * paragraph_funcs.h: remove some unneeded includes
4677 * text.C (backspace): pasteParagraph now in global scipe
4679 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
4680 (pasteSelection): ditto
4682 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4683 * paragraph_funcs.C (pasteParagraph): ... here
4685 2002-08-20 André Pönitz <poenitz@gmx.net>
4687 * commandtags.h: new LFUNs for swapping/copying table row/colums
4690 * lyxfunc.C: support for new lfuns
4692 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4695 * buffer.[Ch]: remove NO_COMPABILITY stuff
4697 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
4699 * boost.C (throw_exception): new file, with helper function for
4700 boost compiled without exceptions.
4705 * ParameterStruct.h:
4706 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4708 * bufferlist.C (emergencyWriteAll): use boost bind
4710 * BufferView_pimpl.C (moveCursorUpdate): remove inline
4712 * text.C: include paragraph_funcs.h
4713 (breakParagraph): breakParagraph is now in global scope
4715 * paragraph_funcs.[Ch]: new files
4717 * paragraph.C (breakParagraph,breakParagraphConservative): move to
4720 * buffer.C: include paragraph_funcs.h
4721 (insertStringAsLines): breakParagraph is now in global scope
4723 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4726 * CutAndPaste.C: include paragraph_funcs.h
4727 (cutSelection): breakParagraphConservative is now in global scope
4728 (pasteSelection): ditto
4730 * buffer.h: declare oprator== and operator!= for
4731 Buffer::inset_iterator
4733 * bufferlist.C (emergencyWrite): don't use fmt(...)
4735 * text3.C: add using std::endl
4737 * BufferView.C (moveCursorUpdate): remove default arg
4739 2002-08-20 André Pönitz <poenitz@gmx.net>
4741 * buffer.[Ch]: move inline functions to .C
4744 * BufferView_pimpl.C:
4746 * buffer.[Ch]: use improved inset_iterator
4749 * paragraph.[Ch]: write one paragraph at a time
4751 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
4753 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4754 style if style is not specified.
4756 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4758 * text2.C (setCounter): when searching for right label for a
4759 caption, make sure to recurse to parent insets (so that a caption
4760 in a minipage in a figure float works) (bug #568)
4762 2002-08-20 André Pönitz <poenitz@gmx.net>
4764 * text3.C: new file for LyXText::dispatch() and helpers
4766 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4768 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4770 2002-08-19 André Pönitz <poenitz@gmx.net>
4773 * text.C: new LyXText::dispatch()
4775 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4777 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
4779 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4781 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4784 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4786 * Makefile.am: use $(variables) instead of @substitutions@
4788 2002-08-15 André Pönitz <poenitz@gmx.net>
4791 * BufferView_pimpl.C: streamlining mathed <-> outer world
4795 * LyXAction.C: remove unused LFUN_MATH
4797 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4799 * paragraph.[Ch]: add some NO_NEXT ifdefs.
4801 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4803 * paragraph.C (Paragraph): reformat a bit
4804 (cutIntoMinibuffer): use builtin InsetList function instad of
4808 * buffer.C: include boost/bind.hpp, add using std::for_each
4809 (writeFileAscii): use ParagraphList iterators
4810 (validate): use for_each for validate traversal of paragraphs
4811 (getBibkeyList): use ParagraphList iterators
4812 (resizeInsets): use for_each to resizeInsetsLyXText for all
4814 (getParFromID): use ParagraphList iterators
4816 * BufferView2.C (lockInset): use paragraph list and iterators
4818 2002-08-14 John Levon <levon@movementarian.org>
4820 * lyxserver.C: remove spurious xforms include
4822 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4824 * lyxfunc.C (getStatus): disable math-extern outside of math mode
4826 2002-08-13 André Pönitz <poenitz@gmx.net>
4829 * lyxfunc.C: further cleaning
4831 2002-08-13 André Pönitz <poenitz@gmx.net>
4833 * funcrequest.h: new constructor
4835 * funcrequest.C: move stuff here from .h
4838 * BufferView_pimpl.C:
4841 * lyxfunc.C: subsequent changes
4843 * lyxfunc.h: new view() member function
4845 * lyxfunc.C: subsequent changes
4847 2002-08-13 Angus Leeming <leeming@lyx.org>
4850 * BufferView_pimpl.C:
4858 changes due to the changed LyXView interface that now returns references
4859 to member variables not pointers.
4861 2002-08-13 Angus Leeming <leeming@lyx.org>
4863 * WordLangTuple (word, lang_code): return references to strings,
4868 * lyxtext.h: forward-declare WordLangTuple.
4873 * text.C: #include "WordLangTuple.h".
4876 * text.C: (selectNextWordToSpellcheck): constify return type.
4878 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
4884 * paragraph_pimpl.h:
4887 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4889 Made updateCounter always count from start of buffer, and removed
4890 second argument (par).
4891 Reverted floats number display to '#'. Perhaps I'll try again when the
4892 code base is sanitized a bit.
4894 2002-08-12 Angus Leeming <leeming@lyx.org>
4896 * buffer.[Ch] (getLabelList): constify.
4898 2002-08-07 André Pönitz <poenitz@gmx.net>
4900 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4902 * funcrequest.h: extension to keep mouse (x,y) position
4904 2002-08-12 Juergen Vigna <jug@sad.it>
4906 * BufferView2.C (insertErrors): forbid undo when inserting error
4909 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4911 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4913 * ParagraphList.[Ch]: new files
4915 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4917 * BufferView2.C (lockInset): ParagraphList changes
4920 * bufferlist.C: ditto
4924 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4926 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4927 unused class variable counter_,
4929 * paragraph.[Ch] (getFirstCounter): delete unused function
4931 * counters.C: include LAssert.h
4932 (reset): add a new function with no arg, change other version to
4933 not have def. arg and to not allow empty arg.
4935 * text2.C (setCounter): remove empty arg from call to Counters::reset
4937 2002-08-11 John Levon <levon@movementarian.org>
4939 * Makefile.am: add WordLangTuple.h
4941 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4943 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4944 lyxfunc.C lyxlex_pimpl.C: ws changes only.
4946 * insets/insettext.C: InsetList changes
4948 * graphics/GraphicsSupport.C (operator()): InsetList changes
4950 * toc.C (getTocList): InsetList changes
4952 * paragraph_pimpl.[Ch]: InsetList changes
4954 * paragraph.[Ch]: InsetList changes
4956 * buffer.C (inset_iterator): InsetList changes
4957 (setParagraph): ditto
4958 * buffer.h (inset_iterator): ditto
4959 * iterators.C (operator++): ditto
4960 * iterators.h: ditto
4962 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4964 * InsetList.[Ch]: new files, most InsetList handling moved out of
4967 * BufferView2.C (removeAutoInsets): InsetList changes
4969 (ChangeInsets): ditto
4971 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4973 * paragraph_pimpl.h (empty): new function
4975 * paragraph.[Ch] (empty): new function
4977 * other files: use the new Paragraph::empty function
4979 2002-08-09 John Levon <levon@movementarian.org>
4981 * lyxtext.h: remove unused refresh_height
4983 2002-08-09 John Levon <levon@movementarian.org>
4990 * paragraph.C: move sgml char escaping out of paragraph
4993 * paragraph.C: remove id setter
4997 * paragraph_pimpl.C: remove dead tex_code_break_column
4999 * bufferview_funcs.C: small cleanup
5001 * lyxfunc.C: remove dead proto
5003 * lyxtext.h: make some stuff private. Remove some dead stuff.
5005 * lyxgluelength.C: make as[LyX]String() readable
5007 2002-08-08 John Levon <levon@movementarian.org>
5012 * ToolbarDefaults.C:
5015 * toc.C: lyxaction cleanup
5017 2002-08-08 John Levon <levon@movementarian.org>
5019 * BufferView2.C: small cleanup
5022 * lyxfind.C: move unnecessary header into the .C
5024 2002-08-08 John Levon <levon@movementarian.org>
5026 * funcrequest.h: just tedious nonsense
5029 * lyx_main.C: cleanups
5032 * vspace.C: remove dead header lyx_main.h
5034 2002-08-07 Angus Leeming <leeming@lyx.org>
5037 * paragraph_pimpl.h:
5038 Forward declare class Counters in paragraph.h by moving the ctrs member
5039 variable into Paragraph::Pimpl.
5040 (counters): new method, returning a reference to pimpl_->ctrs.
5042 * text2.C: ensuing changes.
5044 2002-08-07 John Levon <levon@movementarian.org>
5046 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
5048 * BufferView_pimpl.C: announce X selection on double/triple
5051 * lyx_main.C: use correct bool in batch dispatch
5053 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
5055 2002-08-07 André Pönitz <poenitz@gmx.net>
5057 * funcrequest.h: new class to wrap a kb_action and its argument
5060 * BufferView_pimpl[Ch]:
5064 * lyxrc.C: subsequent changes
5067 2002-08-07 John Levon <levon@movementarian.org>
5069 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
5070 document options change.
5072 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5077 * makefile.am: move counters functionality over from
5078 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
5080 2002-08-06 John Levon <levon@movementarian.org>
5082 * WordLangTuple.h: new file for word + language code tuple
5093 * BufferView2.C: use WordLangTuple
5096 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
5098 2002-08-06 John Levon <levon@movementarian.org>
5100 * lyx_main.C: fix cmdline batch handling
5102 2002-08-06 André Pönitz <poenitz@gmx.net>
5104 * lyxrc.C: set default for show_banner to true
5106 2002-08-06 John Levon <levon@movementarian.org>
5108 * pspell.C: fix a crash, and allow new aspell to work
5110 2002-08-06 John Levon <levon@movementarian.org>
5113 * kbmap.C: small cleanup
5116 * vspace.C: add const
5118 2002-08-05 John Levon <levon@movementarian.org>
5120 * LyXAction.C: back to tabular-insert
5122 2002-08-04 John Levon <levon@movementarian.org>
5125 * BufferView.C: cosmetic change
5127 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
5137 * BufferView2.C: purge all "Lyx" not "LyX" strings
5140 * lyxcursor.C: attempt to add some documentation
5145 * ToolbarDefaults.C:
5146 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
5147 merge with LFUN_TABULAR_INSERT
5154 * pspell.C: split up i/pspell implementations into separate
5155 files, many cleanups
5157 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
5159 * text2.C: some cleanup
5161 * lyxfunc.C: don't check for isp_command == "none" any more, it
5162 didn't make any sense
5164 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5169 * makefile.am: move counters functionality over
5170 from text2.C/paragraph.[Ch] to counters.[Ch], and
5172 2002-08-02 John Levon <levon@movementarian.org>
5174 * buffer.C: s/lyxconvert/lyx2lyx/
5176 2002-08-02 Angus Leeming <leeming@lyx.org>
5178 * lyxlex.C: revert John's change as it breaks reading of the user
5181 2002-08-02 Angus Leeming <leeming@lyx.org>
5183 * importer.C (Import):
5184 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
5185 changes due to LyXView::view() now returning a boost::shared_ptr.
5187 2002-08-02 John Levon <levon@movementarian.org>
5189 * lyxlex.C: small cleanup
5191 2002-08-02 John Levon <levon@movementarian.org>
5193 * text2.C (status): small cleanup, no logic change
5195 2002-08-01 John Levon <levon@movementarian.org>
5198 * buffer.C (writeFile): don't output alerts, caller
5202 * lyx_cb.C: from above
5204 * lyxfunc.C: allow to open non-existent files
5206 2002-07-31 John Levon <levon@movementarian.org>
5208 * lyxserver.C: don't let incidental errors get
5211 2002-07-30 John Levon <levon@movementarian.org>
5213 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
5215 2002-07-30 John Levon <levon@movementarian.org>
5218 * lyxserver.C: remove I/O callback too
5220 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5222 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
5225 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5227 * many files: strip,frontStrip -> trim,ltrim,rtrim
5229 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5231 * PrinterParams.h: remove extern containsOnly, and include
5232 support/lstrings.h instead.
5234 * LaTeX.C (scanAuxFile): modify because of strip changes
5236 * buffer.C (makeLaTeXFile): ditto
5237 * bufferparams.C (writeFile): ditt
5238 * lyxfont.C (stateText): ditto
5239 * lyxserver.C (read_ready): ditto
5240 * vc-backend.C (scanMaster): ditto
5242 * BufferView_pimpl.h: ws changes
5244 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
5246 2002-07-26 André Pönitz <poenitz@gmx.net>
5248 * kb_sequence.C: remove unnedred usings
5250 2002-07-26 Juergen Vigna <jug@sad.it>
5252 * lyxfind.C (LyXReplace): we have to check better if the returned
5253 text is not of theLockingInset()->getLockingInset().
5255 2002-07-25 Juergen Vigna <jug@sad.it>
5257 * lyxfind.C (LyXReplace): don't replace if we don't get the
5260 * undo_funcs.C (createUndo): remove debugging code.
5262 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
5264 * buffer.C (parseSingleLyXformat2Token): Use default placement
5265 when reading old floats.
5267 * FloatList.C (FloatList): Change the default placement of figure
5268 and tables to "tbp".
5270 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
5272 * MenuBackend.C: using std::max
5274 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5276 * MenuBackend.C (expandToc):
5277 (expandToc2): code moved from xforms menu frontend. It is now
5278 generic and TOCs are transparent to menu frontends.
5280 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5282 * toc.C (getTocList): protect against buf=0
5284 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
5285 Menu as first parameter. Now, this calls itself recursively to
5286 expand a whole tree (this will be useful for TOC handling)
5287 (expandFloatInsert): remove 'wide' version of floats
5289 * MenuBackend.h (submenuname): returns the name of the submenu.
5290 (submenu): returns the submenu itself, provided it has been
5291 created by MenuBackend::expand
5293 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5295 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
5296 insets which have noFontChange == true. (bug #172)
5298 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5300 * BufferView_pimpl.C: add connection objects and use them...
5303 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5305 * MenuBackend.C (expandLastfiles):
5308 (expandFloatListInsert):
5309 (expandFloatInsert):
5310 (expand): split expand in parts
5312 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5314 * lyx_gui.C: use lyx_gui::exit()
5316 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5318 * LyXAction.C: show the failing pseudo action
5320 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
5322 * buffer.C (readFile): Run the lyxconvert script in order to read
5325 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5329 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
5331 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5335 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
5337 2002-07-22 Herbert Voss <voss@lyx.org>
5340 * lyxlength.[Ch]: add support for the vertical lengths
5342 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
5344 * toc.[Ch]: std:: fixes
5346 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5348 * lyxrc.C: do not include lyx_main.h
5350 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
5356 * BufferView2.C: include "lyxlex.h"
5359 * bufferparams.h: do not #include "lyxlex.h"
5361 * lyxtextclasslist.C (Add): remove method
5362 (classlist): renamed to classlist_
5364 * paragraph_pimpl.C:
5368 * bufferview_funcs.C:
5373 * toc.C (getTocList): use BufferParams::getLyXTextClass
5375 * toc.C (getTocList): use InsetFloat::addToToc
5377 * toc.[Ch]: new files, containing helper functions to handle table
5380 * lyxfunc.C (dispatch): no need to remove spaces around command
5382 (getStatus): handle LFUN_SEQUENCE by returning the status of the
5383 first command of the sequence; it is not very clever, but I do not
5384 have a better idea, actually
5386 * LyXAction.C (LookupFunc): make sure to remove space at the
5387 beginning and end of the command
5389 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5391 * MenuBackend.C (getMenubar): new method: return the menubar of
5393 (read): treat differently reading of menu and menubar (in
5394 particular, the menubar has no name now)
5395 (Menu::menubar): remove
5397 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
5400 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5402 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
5403 a bibitem inset in a RTL paragraph.
5405 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
5407 * paragraph_pimpl.C: constify
5409 * BufferView_pimpl.C:
5411 * lyxfunc.C: fix dispatch in a nicer way
5413 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5415 * lyxfunc.C (dispatch):
5416 * BufferView_pimpl.C:
5417 * BufferView_pimpl.h:
5419 * BufferView.h: rename Dispatch() to dispatch()
5421 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
5423 * lyxlayout.C (Read): honor DependsOn tag
5425 * lyxlayout.[Ch] (depends_on): new method
5427 * version.C.in: update lyx_docversion
5429 * LaTeXFeatures.C (getMacros): only define \LyX when needed
5431 * paragraph.C (validate): remove from here...
5432 * paragraph_pimpl.C (validate): ... and move here
5433 (isTextAt): make it const
5435 * buffer.C (getLists): ws cleanup
5437 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5439 * language.C (read): Use iso8859-1 encoding in latex_lang
5440 (this prevents LyX from crashing when using iso10646-1 encoding).
5442 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5444 * text2.C (toggleInset): if cursor is inside an inset, close the
5445 inset and leave cursor _after_ it
5447 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5449 * lyxfunc.C: move minibuffer completion handling out of here
5451 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5453 * BufferView_pimpl.C:
5454 * LaTeX.C: fix dispatch calls
5456 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
5458 * text.C (drawChars): Fix Arabic text rendering.
5460 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
5464 * lyxfunc.C: remove message-push/pop
5468 * lyxfunc.C: rationalise some code by removing verboseDispatch
5469 in favour of a bool argument to dispatch()
5471 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5473 * lyx_main.C (init): make sure to read symlinks as absolute paths
5475 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5478 * lyxfunc.C: no need for commandshortcut to be a member
5480 2002-07-15 André Pönitz <poenitz@gmx.net>
5482 * converter.C: add support for $$s (scripts from lib/scripts dir)
5483 * lyx_main.C: white space
5485 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5489 * lyxrc.C: remove second exit confirmation
5491 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5496 * BufferView_pimpl.h:
5497 * BufferView_pimpl.C:
5498 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
5500 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5502 * MenuBackend.C (expand): add numeric shortcuts to document menu
5504 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
5506 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5508 * lyxfont.C (setLyXFamily):
5515 * buffer.C (asciiParagraph): use ascii_lowercase
5517 2002-07-15 Mike Fabian <mfabian@suse.de>
5519 * lyxlex_pimpl.C (search_kw):
5520 * lyxlex.C (getLongString):
5521 * converter.h (operator<):
5522 * converter.C (operator<):
5523 * buffer.C (parseSingleLyXformat2Token):
5525 * ToolbarDefaults.C (read):
5526 * MenuBackend.C (checkShortcuts):
5528 * LColor.C (getFromGUIName):
5529 (getFromLyXName): use the compare_ascii_no_case instead of
5530 compare_no_case, because in turkish, 'i' is not the lowercase
5531 version of 'I', and thus turkish locale breaks parsing of tags.
5533 2002-07-16 Angus Leeming <leeming@lyx.org>
5535 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
5536 now takes a Buffer const & argument.
5538 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
5540 * BufferView.C (resize): check there's a buffer to resize
5542 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
5544 * lyxfunc.C: remove dead code
5547 * lyxserver.C: use lyx_guii::set_read_callback
5549 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
5551 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
5552 an inset in a RTL paragraph.
5554 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5556 * lyxfunc.C: repaint after a font size update
5558 2002-07-15 André Pönitz <poenitz@gmx.net>
5560 * lyxlength.C: inBP should be able to return negative values
5562 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5564 * lyxfunc.C: use lyx_gui::update_fonts()
5566 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5568 * lyxfunc.C: use lyx_gui::update_color()
5570 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5576 * lyxrc.C: remove file->new asks for name option, and let
5577 buffer-new take an argument
5579 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5581 * BufferView_pimpl.C: remove unneeded extra repaint()
5583 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
5585 * LyXAction.C: allow command-sequence with NoBuffer
5587 * lyxfunc.C: don't insist on trailing ';' for command-sequence
5589 2002-07-10 Angus Leeming <leeming@lyx.org>
5591 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
5593 2002-07-09 Angus Leeming <leeming@lyx.org>
5595 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
5597 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5599 * lengthcommon.h: whitespace
5601 * lyxfunc.C: update scrollbar after goto paragraph
5603 * lyxtext.h: factor out page break drawing, and fix it so
5604 page break/added space paints as selected nicely
5606 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5608 * BufferView_pimpl.C: add FIXMEs, clean up a little
5610 2002-07-09 André Pönitz <poenitz@gmx.net>
5612 * lyxfont.[Ch]: support for wasy symbols
5614 2002-07-08 André Pönitz <poenitz@gmx.net>
5616 * BufferView_pimpl.C: apply John's patch for #93.
5618 2002-07-05 Angus Leeming <leeming@lyx.org>
5620 * BufferView_pimpl.C (buffer): generate previews if desired.
5622 * LColor.h: add "preview" to the color enum.
5624 * LColor.C (LColor): add a corresponding entry to the items array.
5626 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
5629 2002-07-05 Angus Leeming <leeming@lyx.org>
5631 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
5632 The body of the code is now in the method that is passed an ostream &
5633 rather than a file name.
5634 Pass an additional only_preamble parameter, useful for the forthcoming
5637 2002-07-03 André Pönitz <poenitz@gmx.net>
5639 * lyxfunc.C: simplify getStatus() a bit for math stuff
5641 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5643 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5645 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5647 * text.C (changeRegionCase): do not change case of all the
5648 document when region ends at paragraph end (bug #461)
5650 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5652 * paragraph.C (startTeXParParams):
5653 (endTeXParParams): add \protect when necessary
5655 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5657 * BufferView_pimpl.C (workAreaExpose): remove warning
5659 2002-06-27 Angus Leeming <leeming@lyx.org>
5661 * Makefile.am: add lyxlayout_ptr_fwd.h.
5663 2002-06-26 André Pönitz <poenitz@gmx.net>
5665 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
5667 2002-06-25 Angus Leeming <leeming@lyx.org>
5669 * lyxfunc.C (dispatch): Comment out the call to
5670 grfx::GCache::changeDisplay. The method no longer exists now that the
5671 pixmap generation part of the graphics loader has been moved into
5674 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5676 * text2.C: layout as layout
5678 * text.C: layout as layout
5680 * tabular.C (OldFormatRead): layout as layout
5682 * paragraph_pimpl.C (TeXDeeper): layout as layout
5683 (realizeFont): layout as layout
5685 * paragraph.C (writeFile): layout as layout
5686 (validate): layout as layout
5687 (getFont): layout as layout
5688 (getLabelFont): layout as layout
5689 (getLayoutFont): layout as layout
5690 (breakParagraph): layout as layout
5691 (stripLeadingSpaces): layout as layout
5692 (getEndLabel): layout as layout
5693 (getMaxDepthAfter): layout as layout
5694 (applyLayout): layout as layout
5695 (TeXOnePar): layout as layout
5696 (simpleTeXOnePar): layout as layout
5697 (TeXEnvironment): layout as layout
5698 (layout): layout as layout
5699 (layout): layout as layout
5701 * lyxtextclass.C (compare_name): new functor to work with
5702 shared_ptr, layout as layout
5703 (Read): layout as layout
5704 (hasLayout): layout as layout
5705 (operator): layout as layout
5706 (delete_layout): layout as layout
5707 (defaultLayout): layout as layout
5709 * lyxlayout_ptr_fwd.h: new file
5711 * lyxlayout.C (Read): layout as layout
5713 * lyx_cb.C (MenuInsertLabel): layout as layout
5715 * bufferlist.C (newFile): layout as layout
5717 * buffer.C (readLyXformat2): layout as layout
5718 (parseSingleLyXformat2Token): layout as layout
5719 (insertStringAsLines): layout as layout
5720 (asciiParagraph): layout as layout
5721 (latexParagraphs): layout as layout
5722 (makeLinuxDocFile): layout as layout
5723 (simpleLinuxDocOnePar): layout as layout
5724 (makeDocBookFile): layout as layout
5725 (simpleDocBookOnePar): layout as layout
5726 (getLists): layout as layout
5728 * LaTeXFeatures.C (getTClassPreamble): layout as layout
5730 * CutAndPaste.C (cutSelection): layout as layout
5731 (pasteSelection): layout as layout
5732 (SwitchLayoutsBetweenClasses): layout as layout
5734 * BufferView_pimpl.C (Dispatch): layout as layout
5735 (smartQuote): layout as layout
5737 * BufferView2.C (unlockInset): layout as layout
5739 2002-06-24 André Pönitz <poenitz@gmx.net>
5741 * lyxfunc.C: fix #487
5743 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5747 * lyxfunc.C: remove display_shortcuts, show_banner
5749 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5751 * Buffer_pimpl.C: oops, update on resize
5753 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5760 * BufferView.C: use repaint()
5762 * BufferView_pimpl.h:
5763 * BufferView_pimpl.C: s/updateScreen()/repaint()/
5764 as it's a clearer description. Remove superfluous
5767 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5769 * text.C: fix bug 488. Not ideal, but getting
5770 getWord() to work properly for the insets that
5771 matter is more difficult ...
5773 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5775 * BufferView_pimpl.C:
5778 * lyxfunc.C: remove the six million index lyxfuncs to just
5779 one, and DTRT (bug 458)
5781 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5785 * BufferView_pimpl.h:
5786 * BufferView_pimpl.C: clean up resize() stuff,
5787 and unnecessary updateScreen()s
5789 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5793 * BufferView_pimpl.h:
5794 * BufferView_pimpl.C:
5797 * minibuffer.C: remove focus management of workarea,
5798 not needed. Use screen's greyOut()
5800 2002-06-17 Herbert Voss <voss@lyx.org>
5802 * converter.C: (convert) do not post a message, when converting
5803 fails, let the calling function decide what to do in this case
5805 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
5807 * lyxfunc.C: tidy up a little
5809 2002-06-16 <alstrup@diku.dk>
5811 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5812 Got rid of FORMS_H_LOCATION include. Now we are
5815 2002-06-15 LyX Development team <lyx@rilke>
5817 * buffer.[Ch] (sgmlOpenTag):
5818 (sgmlCloseTag): Added support for avoiding pernicious mixed
5819 content. Return number of lines written.
5822 (makeDocBookFile): Fixed calls to sgml*Tag.
5823 Simple white space clean.
5825 (simpleDocBookOnePar): Simple white space clean.
5827 * tabular.[Ch] (docBook): Renamed to docbook and got another
5828 argument to related with the pernicious mixed content.
5830 (docbookRow): Fixed calls for docbook inset method.
5832 2002-06-15 Lyx Development team <larsbj@birdstep.com>
5834 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5835 so it's X11 independent.
5839 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5841 2002-06-15 Lyx Development team <lyx@electronia>
5843 * intl.h: Renamed getTrans to getTransManager.
5845 2002-06-14 Angus Leeming <leeming@lyx.org>
5847 * Makefile.am: nuke forgotten stl_string_fwd.h.
5849 2002-06-12 Angus Leeming <leeming@lyx.org>
5851 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5853 2002-06-13 Angus Leeming <leeming@lyx.org>
5856 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5858 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
5860 * kbmap.C (getiso): add support for cyrillic and greek
5862 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5866 * BufferView_pimpl.h:
5867 * BufferView_pimpl.C: move bogus scrolling logic
5870 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5873 * BufferView_pimpl.C: view->resize() change
5875 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5877 * BufferView_pimpl.C: topCursorVisible
5880 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5884 * lyx_gui.C: move to frontends/
5888 * lyx_main.C: changes from above
5890 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5897 * lyx_main.C: minor tidy
5899 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5901 * BufferView_pimpl.h:
5902 * BufferView_pimpl.C:
5904 * BufferView.C: make painter() const,
5907 * BufferView2.C: use screen() accessor
5910 * lyx_main.C: some minor cleanup
5912 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5914 * BufferView_pimpl.h:
5915 * BufferView_pimpl.C: remove enter/leaveView,
5918 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5923 * BufferView_pimpl.h:
5924 * BufferView_pimpl.C: only construct screen once,
5927 * lyxrc.C: remove pointless comment
5929 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5932 * BufferView.C: remove active() and belowMouse()
5934 * BufferView_pimpl.h:
5935 * BufferView_pimpl.C: use workarea() not workarea_,
5936 and make it use a scoped_ptr instead
5938 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5940 * lyx_gui.C: add debug message on BadWindow
5942 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5944 * sp_spell.C: fdopen is not part of the C++ standard.
5946 * paragraph.C (InsetIterator): use >= instead of ==
5948 2002-06-07 Angus Leeming <leeming@lyx.org>
5950 Fixes needed to compile with Compaq cxx 6.5.
5951 * BufferView_pimpl.C:
5958 * lyxtextclasslist.C:
5963 all c-library variables have been moved into namespace std. Wrap
5964 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5969 Add a using std::abs declaration.
5971 * kbmap.h (modifier_pair):
5972 * paragraph.h (InsetTable, InsetList):
5973 * lyxfont.h (FontBits):
5974 type definition made public.
5976 * bufferlist.C (emergencyWriteAll): the compiler complains that
5977 there is more than one possible lyx::class_fun template to choose from.
5978 I re-named the void specialisation as lyx::void_class_fun.
5980 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5982 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5983 the compiler is is unable to find tostr in write_attribute.
5985 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5987 * buffer.C (sgmlError): hide #warning
5989 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5991 * xtl/*: get rid of xtl, which is not in use anyway
5993 * LyXAction.C (init):
5994 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5995 were unimplemented xtl experimentation
5997 2002-06-04 André Pönitz <poenitz@gmx.net>
5999 * lyxfunc.C: disable array operation on simple formulae
6001 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
6003 * converter.C: constify a bit
6005 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
6007 * lyx_gui.C: check xforms version correctly
6009 2002-04-30 Herbert Voss <voss@lyx.org>
6011 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6014 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
6016 * lyxvc.C: fix bug 416 (make sure buffer is saved before
6017 attempt to register it with a VCS)
6019 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6021 * lyx_main.C (init): honor variables LYX_DIR_13x and
6024 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6028 * lyx_main.C: fix a crash on bad command line,
6029 and give a useful exit status on error
6031 * lyxfunc.C (doImport): allow -i lyx to work
6033 2002-03-30 André Pönitz <poenitz@gmx.net>
6035 * lyxfunc.C: mathed font changes
6037 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6052 * trans_mgr.h: srcdocs, and some minor cleanups
6054 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6056 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
6057 call getFont all the time)
6059 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6061 * switch from SigC signals to boost::signals
6063 2002-05-29 André Pönitz <poenitz@gmx.net>
6065 * paragraph_pimpl.C (getChar): don't call size() too often...
6067 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6069 * paragraph_pimpl.C (insertChar): do not try to update tables when
6070 appending (pos == size())
6072 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
6073 in order to reduce drastically the number of comparisons needed to
6074 parse a large document
6076 2002-05-29 André Pönitz <poenitz@gmx.net>
6082 * textclasslist.[Ch]:
6083 * sp_ispell.h: whitespace change
6085 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6087 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
6088 lyxaction directly now.
6090 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
6094 * lyxvc.C: remove unused headers
6096 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6103 * undo_funcs.C: some cleanups. Use shared_ptr
6104 and a template for the undo stacks.
6106 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6108 * BufferView_pimpl.h:
6109 * BufferView_pimpl.C:
6116 * text2.C: use key_state/mouse_state
6118 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6120 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
6123 * chset.C: change include order
6124 (loadFile): use boost regex and get rid of LRegex and LSubstring
6126 * Makefile.am (BOOST_LIBS): new variable
6129 * LaTeX.C: change include order.
6130 (scanAuxFile): use boost regex and get rid of LRegex and
6134 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6139 * FontInfo.C: moved to frontends/xforms/
6142 * FontLoader.C: moved into frontends for GUIIzation
6147 * lyxfunc.C: changes from above
6149 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6151 * LColor.C: remove spurious X include
6153 * BufferView_pimpl.C:
6158 * text2.C: move font metrics to frontends/
6160 2002-05-24 Juergen Vigna <jug@sad.it>
6162 * undo_funcs.C (textHandleUndo): fix the cursor selection after
6163 setting the undo_cursor.
6165 * ParagraphParameters.h: include local includes first.
6167 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6169 * BufferView_pimpl.C:
6170 * BufferView_pimpl.h:
6174 * screen.C: move WorkArea into frontends/
6180 * BufferView2.C: move LyXScreen into frontends/
6184 * lyx_gui.C: move lyxlookup into frontends/xforms/
6186 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6189 * BufferView_pimpl.C:
6199 * bufferview_funcs.C:
6212 * vc-backend.C: move LyX/XFormsView into frontends/
6214 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6226 * text2.C: move Painter to frontends/
6228 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6230 * buffer.C: comment out some some code that depend upon lyx_format
6233 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
6234 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
6236 * buffer.h (NO_COMPABILITY): turn off compability
6238 * ColorHandler.C: include scoped_array.hpp
6240 * font.C: Use more specific smart_ptr header.
6243 * ShareContainer.h: ditto
6247 * BufferView_pimpl.h: ditto
6248 * ColorHandler.h: ditto
6250 * kbmap.C (defkey): change call to shared_ptr::reset
6252 2002-05-21 Juergen Vigna <jug@sad.it>
6254 * buffer.C (insertErtContents): fix to insert ert asis if it is
6255 non empty. Skip it completely if it contains only whitespaces.
6257 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
6259 * BufferView_pimpl.C:
6260 * BufferView2.C: clear selection on paste (bug 393)
6262 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6264 * DepTable.C: include ctime
6266 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
6268 * buffer.C (latexParagraphs): Add new argument (moving_arg).
6270 2002-05-14 Juergen Vigna <jug@sad.it>
6272 * text.C (breakParagraph): fixed function to honor the keepempty
6273 layout in the right maner and also to permit the right breaking
6274 algorithm on empty or non empyt keepempty paragraphs.
6276 * paragraph.C (breakParagraph): we have to check also if the par
6277 is really empty (!size()) for isempty otherwise we do the wrong
6280 2002-05-10 Juergen Vigna <jug@sad.it>
6282 * buffer.[Ch] : The following are only changes to the ert
6283 compatibility read reading old LaTeX layout and font stuff and
6284 convert it to ERTInsets.
6286 * buffer.h: added isErtInset().
6288 * buffer.C (struct ErtComp): add a fromlayout bool to check
6289 if we're inside a LaTeX layout.
6290 (isErtInset): new helper function.
6291 (insertErtContents): look for other ert insets before this one
6292 and insert the contents there, so that we don't have subsequent
6293 ERT insets with nothing between them. This way we create only one
6294 inset with multiple paragraphs. Also check if we don't insert only
6295 spaces ' ' as they are ignored anyway afterwards in the .tex file
6296 so if we have only spaces we will ignore this latex part in the
6298 (parseSingleLyXformat2Token \\layout): better compatibility when
6299 reading layout-latex stuff.
6300 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
6302 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
6303 stuff after reading the inset only get the information back from
6306 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
6308 * buffer.C (makeLaTeXFile): Put language options after loading babel.
6310 * LaTeXFeatures.C (getBabelOptions): New method.
6312 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6314 * BufferView_pimpl.C (Dispatch): work around missing argument for
6317 2002-05-08 Juergen Vigna <jug@sad.it>
6319 * text.C (leftMargin): handle paragraph leftindent.
6321 * paragraph.C (writeFile): write the new \\leftindent tag.
6322 (validate): handle leftindent code.
6323 (TeXEnvironment): handle paragraphleftindent code again.
6325 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
6327 * buffer.C (parseSingleLyXformat2Token): added compatibility code
6328 for paragrap_extra indent code and new token \\leftindent.
6329 (latexParagraphs): handle the leftindent as environment.
6331 * ParameterStruct.h: added leftindent support.
6333 * ParagraphParameters.C (leftIndent): added support functions for
6334 the paragraph left indent.
6336 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
6339 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
6341 * paragraph.C (isRightToLeftPar): Return false for a paragraph
6344 * text.C (computeBidiTables): No bidi in insetERT.
6346 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
6349 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6351 * version.C.in: pre 5
6353 2002-05-02 José Matos <jamatos@fep.up.pt>
6354 * buffer.C (makeDocBookFile): white space changes, add newline to
6356 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
6358 * tabular.C (docBook): fix typo.
6360 2002-05-03 Juergen Vigna <jug@sad.it>
6362 * screen.C (drawFromTo): recalculate the rowpointer if we had a
6363 change in LyXText as we can not be sure it was not freed.
6364 (drawOneRow): remove unused code.
6366 * text.C (drawInset): redo the calculation of the need_break_row as
6367 it could have a row which was already freed.
6368 (draw): look at the return value of drawInset and return false if
6369 it also returned false.
6370 (paintRowText): look at the return value of draw and return false if
6371 it also returned false.
6373 * lyxtext.h: added bool return type to drawInset() and draw() so that
6374 if we have a change in the row so that the rowbreak has to be redone
6375 we abort drawing as it will be called again.
6377 2002-05-02 Juergen Vigna <jug@sad.it>
6379 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
6380 a change in the maintext also if we're inside an inset.
6381 (Dispatch): set the cursor again after a break line and after the
6382 screen has been updated as it could be we're in a different row.
6384 * text2.C (fixCursorAfterDelete): check to make sure we don't request
6385 to set the cursor behind the pargraph with > size().
6386 (setCursor): check also for the same paragraph when checking where
6387 to put the cursor if we have a NFR inset.
6389 * buffer.C (parseSingleLyXformat2Token): move the compatibility
6390 parts of layout read further up as it still was in the wrong
6393 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6395 * screen.C (drawFromTo): change sine fullRebreak always return
6398 * buffer.C (parseSingleLyXformat2Token): reindent some
6400 * BufferView_pimpl.C (update): change since fullRebreak always
6402 (Dispatch): git rid of the last hardcoded "Standard"s.
6404 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6406 * text2.[Ch] (fullRebreak): make it return void now that we always
6409 2002-04-30 Juergen Vigna <jug@sad.it>
6411 * buffer.C (parseSingleLyXformat2Token): reset the font before the
6412 ert compatibility check for "latex" layout.
6414 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
6416 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
6417 minipages: use col% instead of p%, and also use the current font.
6418 (makeLaTeXFile): Fix use babel condition.
6419 (parseSingleLyXformat2Token): Correct font when reading old floats.
6421 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
6423 * BufferView_pimpl.C (Dispatch): Check that float type exists when
6424 inserting list of floats.
6426 2002-04-25 Herbert Voss <voss@lyx.org>
6428 * MenuBackend.C (expand): don't add the graphics extensions to the
6431 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6433 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
6434 non-existing layout, do not complain if it was the default layout
6435 of the original class (bug #342)
6437 2002-04-24 Juergen Vigna <jug@sad.it>
6439 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
6440 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
6442 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
6444 * buffer.C (getBibkeyList): If using \bibliography, return the
6445 option field with the reference itself. Enables us to provide natbib
6446 support when using \bibliography.
6448 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
6450 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
6452 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
6453 natbib is provided by the LaTeX class.
6455 2002-04-23 Juergen Vigna <jug@sad.it>
6457 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
6460 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
6462 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6464 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
6466 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
6467 ensuremath around textordmasculine, textordfeminine and
6470 2002-04-19 Juergen Vigna <jug@sad.it>
6472 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
6473 reinitializing the buffer otherwise row-dimensions may be wrong.
6474 (update): reset also the selection cursors if they do exits otherwise
6475 their x/y positions may be wrong.
6477 * text2.C (cursorDown): don't enter the inset if we came from a row
6478 above and are one row over the inset.
6480 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
6481 really leaving an inset.
6483 2002-04-18 Juergen Vigna <jug@sad.it>
6485 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
6486 of the selected paragraph does not have the selected layout also if
6489 * text2.C (setLayout): fixed bug which did not change last selected
6492 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
6493 changed the read and substituted \\end_float with \\end_inset!
6495 * BufferView_pimpl.C (cursorPrevious):
6496 (cursorNext): fixed to make it work with rows heigher than the work
6497 area without moving the cursor only the draw of the row.
6498 (workAreaMotionNotify): fix jumping over high rows.
6500 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6502 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
6505 2002-04-16 Juergen Vigna <jug@sad.it>
6507 * text2.C (setCursor): set also the irow().
6508 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
6510 (cursorDown): support for locking an inset if the x_fix value goes
6511 inside it. That way I can transverse insets too with cursor up/down.
6513 * lyxrow.h: added irow helper function same as other (i) functions.
6515 * BufferView_pimpl.C (cursorPrevious):
6516 (cursorNext): fixed for insets!
6518 2002-04-15 Juergen Vigna <jug@sad.it>
6520 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
6521 position otherwise it is wrong in some cases.
6523 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
6524 inside the inset before the call.
6526 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
6528 * buffer.[Ch] (getBibkeyList): make it const.
6530 2002-04-12 Juergen Vigna <jug@sad.it>
6532 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
6534 * text2.C (getCursorX): new helper function
6535 (setCursor): compute also ix_
6536 (setCursorFromCoordinates): set also ix.
6538 * lyxcursor.h: added ix_ and helper functions.
6540 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
6542 * buffer.C (insertStringAsLines): dont break paragraph if the this
6543 paragraph is inside an inset which does not permit it!
6545 * text.C (breakParagraph): honor keepempty flag and break the paragraph
6546 also with no chars on this paragraph.
6547 (paintRowText): only paint stuff if it's inside the workarea!
6549 * paragraph.C (breakParagraph): honor keepempty flag and break the
6550 paragraph always below not above.
6552 * BufferView2.C (unlockInset): update the paragraph layout on inset
6553 unlock as we changed paragraph in such a case.
6555 * lyxfind.C (LyXFind): clear the former selection if not found!
6557 * text2.C (insertInset): freeze Undo after setUndo so that it is not
6558 again called in insertChar().
6560 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
6561 an inset which uses the whole row!
6562 (rightMargin): ditto.
6563 (insertChar): force a rebreak if we inserted an inset!
6565 2002-03-28 Herbert Voss <voss@lyx.org>
6567 * lyxlength.[Ch]: add inBP() to get the right PS-point
6568 units (BigPoint). With inPixels we have rounding errors
6570 2002-04-11 Juergen Vigna <jug@sad.it>
6572 * text2.C (setCursorFromCoordinates): set iy to the right value.
6573 (setCursor): add check if row->previous exists!
6575 * buffer.C (parseSingleLyXformat2Token): reset font after read of
6576 an old float_type as this was the case in the old code!
6578 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
6580 * BufferView2.C (showLockedInsetCursor): use iy
6581 (fitLockedInsetCursor): ditto
6583 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
6584 locked insets as there we have the right value now.
6586 * lyxcursor.C: added iy_ variable and iy functions to set to the
6587 baseline of cursor-y of the locked inset.
6589 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
6590 (setCursor): fixed for insets which need a full row.
6592 * text.C (rowLastPrintable): don't ignore the last space when before
6593 an inset which needs a full row.
6594 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
6595 as last character of a row when before a inset which needs a full row.
6597 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6599 * version.C.in: update date
6601 * text2.C (fullRebreak): try to always return true and see what
6604 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6606 * MenuBackend.C (expand): use Floating::listName
6608 * FloatList.C (FloatList): add listName argument to the built-in
6611 * Floating.[Ch]: add listName member, which is the 'List of XXX'
6612 text associated with the float.
6614 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6616 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
6618 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6620 * ShareContainer.h: add a couple of missing typenames.
6622 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
6624 * lyxrc.C (getDescription): use _() correctly rather than N_().
6626 2002-03-28 Herbert Voss <voss@lyx.org>
6628 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
6629 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
6631 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6633 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
6634 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
6636 2002-03-29 Juergen Vigna <jug@sad.it>
6638 * lyxfunc.C (dispatch): add a missing fitCursor call.
6640 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
6641 it was scrolled by a cursor move, so return the bool status.
6643 * BufferView.C (fitCursor): return the bool flag also to the outside
6644 world as this is needed.
6646 * screen.C (toggleToggle): don't subtract the offset if it's positive.
6648 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6649 call the edit() as it is not needed (and wrong) IMO.
6650 (workAreaButtonPress): set the screen_first variable before evt.
6651 unlock the inset as this may change screen_first and then we have
6652 a wrong y position for the click!
6654 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6656 * MenuBackend.C (expand): another translation that I missed
6658 2002-03-28 Juergen Vigna <jug@sad.it>
6660 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6662 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6664 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6666 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
6668 * MenuBackend.C (expand): fix export/view/update when there is no
6671 2002-03-27 Herbert Voss <voss@lyx.org>
6673 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
6676 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6678 * bufferview_funcs.C (currentState): only show paragraph number
6679 for is DEVEL_VERSION is set.
6681 * lyxfunc.C (dispatch): put warning in INFO channel
6683 * MenuBackend.C (expand): translate the name of floats
6685 * FloatList.C (FloatList): mark the float names for translation
6687 * converter.C (convert): use LibScriptSearch
6689 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6691 * MenuBackend.C (defaults): fix default menu (we might as well get
6694 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6696 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6699 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6701 * lyxvc.C: reorder includes.
6703 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
6705 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6708 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
6710 * CutAndPaste.C: change layouts earlier on paste
6711 to avoid crashing when calling getFont()
6713 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
6715 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6718 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6720 * WorkArea.C: remove 'Pending' debug message.
6722 * most files: ws cleanup
6724 * buffer.[Ch]: ws changes
6726 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6728 2002-03-21 Juergen Vigna <jug@sad.it>
6730 * tabular.C (SetMultiColumn): collapse also the contents of the
6731 cells and set the last border right. Added a Buffer const * param.
6733 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6735 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6738 2002-03-19 Juergen Vigna <jug@sad.it>
6740 * text2.C (clearSelection): reset also xsel_cache.
6742 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6743 where it needs to be called (John tells us to do so too :)
6744 (selectionLost): reset sel_cache.
6746 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6748 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6750 * text2.C (setCursorIntern): put debuging code in INSETS channel
6752 2002-03-19 André Pönitz <poenitz@gmx.net>
6754 * lyxfunc.C: tiny whitespace change
6756 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6758 * ToolbarDefaults.C (init):
6759 * LyXAction.C (init):
6761 * BufferView_pimpl.C (Dispatch):
6762 * lyxfunc.C (dispatch): remove LFUN_DEPTH
6764 2002-03-19 Allan Rae <rae@lyx.org>
6766 * exporter.C (Export): removeAutoInsets before doing anything else.
6767 While I've just introduced a dependency on BufferView this really is
6768 the best place to clean the buffer otherwise you need to cleanup in
6769 a dozen places before calling export or cleanup in a dozen functions
6772 * converter.C (runLaTeX):
6773 (scanLog): Better handling of removeAutoInsets and screen updates.
6775 * lyxfunc.C (dispatch): small whitespace changes
6777 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6779 * WorkArea.C (C_WorkAreaEvent): return a value.
6780 (event_cb): return 1 if we handled the event, 0 otherwise.
6782 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6784 2002-03-18 Juergen Vigna <jug@sad.it>
6786 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6787 (GetAdditionalWidth): ditto.
6791 * BufferView2.C (copy): use getLyXText() so that we do it inside an
6792 inset if we're there actually (probably not used right now but this
6793 is the direction to go for unifying code).
6794 (paste): disable code to clear the selection.
6796 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6797 inside an InsetText and move the check further up as it is in the
6800 * text2.C (pasteSelection): set a selection over the pasted text.
6802 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
6804 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6805 and libgraphics to build on Cygwin.
6807 2002-03-15 Juergen Vigna <jug@sad.it>
6809 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6810 inserting an Inset into the paragraph. I know this is not the best
6811 fix but we already use current_view in CutAndPaste so we will remove
6812 all of it's using at the same time.
6814 * buffer.C (sgmlError): deactivated function till it is rewritten in
6815 the right mode, now it can create problems.
6817 * paragraph.C (isLineSeparator): check if getInset returns != 0,
6818 before accessing it.
6820 2002-03-14 Juergen Vigna <jug@sad.it>
6822 * undo_funcs.C (textHandleUndo): do the right thing when updating
6823 the inset after the undo/redo.
6825 * text2.C (setCursor): just some testcode for #44 not ready yet.
6827 * undo_funcs.C (textHandleUndo): set the next() and previous()
6828 pointers of the paragraph to 0 before deleting otherwise we have
6829 problems with the Paragraph::[destructor].
6831 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6832 on a paragraph insertion.
6834 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6836 * buffer.C (asciiParagraph): use += operator for char append to
6839 * paragraph.C (getFontSettings): compare >= not just >
6840 (highestFontInRange): ditto
6843 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6845 * paragraph.C: change several algorithm to be more appripriate for
6846 the problem domain. This is lookip in FontList and in the InsetList.
6848 2002-03-13 André Pönitz <poenitz@gmx.net>
6851 * LyXAction.C: remove unused LFUN_MATH_MACROARG
6853 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
6858 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6860 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6862 * Painter.C (display): anon helper function, adjust code for this
6864 (pixmap): remove function.
6866 * Painter.h: remove private display variable.
6868 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6870 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
6872 * WorkArea.[Ch]: remove figinset_canvas cruft.
6874 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6876 * lyxtextclass.C (operator): add one item cache optimization.
6878 * bufferlist.h: doxy changes
6880 * bufferlist.C: ws changes
6882 * DepTable.[Ch] (ext_exist): place const in the right spot.
6884 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6886 (workAreaExpose): call resizeInsets when the with BufferView changes.
6887 (Dispatch): adjust for protectedBlank removal
6888 (specialChar): call updateInset if the insert went ok.
6890 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6891 specialChar instead.
6893 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6895 * BufferView.h: doxy change
6897 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6899 * lyxtextclass.C (operator[]): remove non-const version
6900 (defaultLayout): remove non-const version
6902 2002-03-12 Juergen Vigna <jug@sad.it>
6904 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6905 did resize the LyXText too.
6907 * buffer.C (readLyXformat2): set layout information on newly allocated
6910 * tabular.C (OldFormatRead): set layout information on the paragraph.
6912 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6914 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6916 2002-03-11 Juergen Vigna <jug@sad.it>
6918 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6920 (resizeCurrentBuffer): force also the insets to resize themselfes.
6921 (moveCursorUpdate): fixed up for InsetText.
6923 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
6926 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6927 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6928 value of Dialogs::tooltipsEnabled().
6929 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6931 2002-03-08 Juergen Vigna <jug@sad.it>
6933 * BufferView_pimpl.C (updateInset): update inset inside inset also
6934 if it isn't inside theLockingInset().
6936 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6938 * buffer.C (asciiParagraph): redo some of the word and line length
6940 (getLists): look for Caption instead of caption.
6942 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6944 * buffer.C (Buffer): initialize niceFile to true
6947 (makeDocBookFile): make sure niceFile is true on exit
6949 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6951 * buffer.C (makeLaTeXFile): escape ~ in \input@path
6953 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
6955 * LyXSendto.C: remove.
6956 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6957 * lyx_gui.C: remove now-redundant comment.
6958 * ColorHandler.h: remove forward declaration of class WorkArea.
6959 * lyxfunc.C: remove #include "WorkArea.h".
6961 2002-03-07 Juergen Vigna <jug@sad.it>
6963 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6964 got moved away with the DEPM and also set the inset_owner always
6965 right which before could have been omitted.
6967 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6969 * buffer.C (parseSingleLyXformat2Token): use default layout is the
6970 wanted layout is not found.
6972 2002-03-07 Juergen Vigna <jug@sad.it>
6974 * CutAndPaste.C (cutSelection): another layout settings forgotten.
6976 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6978 * paragraph.C (breakParagraph): use default layout not layout of
6980 (Paragraph): clear ParagraphParameters.
6982 2002-03-06 Juergen Vigna <jug@sad.it>
6984 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6985 otherwise it would not be a valid lenght. Fixed a special case in
6986 the minipage compatibility read where we end the document with a
6989 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6990 was set as it could be 0 for InsetTexts first entry.
6992 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6994 * paragraph.C (writeFile): if layout is empty write out
6995 defaultLayoutName().
6997 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6998 file without named layout we set layout to defaultLayoutName().
7000 2002-03-06 Juergen Vigna <jug@sad.it>
7002 * CutAndPaste.C (copySelection): set layout for new paragraph.
7004 * text.C (prepareToPrint): leave ERT inset left aligned
7005 (leftMargin): don't indent paragraphs inside ERT insets
7007 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7009 * paragraph.C (breakParagraph): dont call clear do the work manually
7011 * paragraph.[Ch] (clear): remove function
7013 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7015 * paragraph.C (Paragraph): dont call clear, the work has already
7018 * lyxtextclass.C (operator): assert if n is empty
7020 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7021 work manually instead.
7023 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7025 * BufferView_pimpl.C: protect selectionLost against text == 0
7027 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7029 * text.C (breakParagraph): fix a setting layout to '0' problem.
7031 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7033 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
7034 final location of file, for the included files, and graphics.
7036 2002-03-05 Juergen Vigna <jug@sad.it>
7038 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
7040 2002-03-04 Juergen Vigna <jug@sad.it>
7042 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
7044 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
7045 last column of multicolumn cells.
7046 (SetWidthOfMulticolCell): recalculate NMC and real columns.
7048 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
7050 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
7051 file if it doesn't go to a temporary file.
7053 * buffer.C (sgmlOpenTag):
7054 (sgmlCloseTag): remove extra newline insertion.
7056 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7058 * text.C (getRowNearY): comment out debug msg
7060 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7062 * text2.C: first -> first_y
7064 * text.C (getRowNearY): add some attemts at a possible
7065 optimization, not working.
7067 * tabular.[Ch]: add BufferParams to several function so that newly
7068 created paragraph can be initialized to he default layotu for the
7071 * tabular-old.C (ReadOld): add buf->params to call of Init
7073 * screen.C: rename text->first to text->first_y
7075 * paragraph.C (breakParagraph): always set layout in the broken
7078 * lyxtextclass.C (Read): remove lowercase
7081 (delete_layout): ditto
7083 * lyxtext.h: rename first -> first_y
7085 * lyxlayout.C (Read): remove lowercase
7088 (obsoleted_by): ditto
7090 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
7092 * buffer.C (insertErtContents): add params are to InsetERT
7093 (parseSingleLyXformat2Token): add code to check if a paragraphs
7094 layout really exist.
7095 (parseSingleLyXformat2Token): add params to several inset
7097 (asciiParagraph): remove lowercase, do the layout comparisons with
7100 * BufferView_pimpl.C (cursorNext): first -> first_y
7101 (resizeCurrentBuffer): first -> first_y
7102 (updateScrollbar): first -> first_y
7103 (scrollCB): first -> first_y
7104 (workAreaMotionNotify): first -> first_y
7105 (workAreaButtonPress): first -> first_y
7106 (checkInsetHit): first -> first_y
7107 (cursorPrevious): first -> first_y
7108 (cursorNext): first -> first_y
7109 (Dispatch): add buffer_->params to severl inset contructors
7111 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7113 * lyxlayout.C (Read): remove some debug info that I forgot.
7115 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
7116 clean up the code slightly.
7117 (makeLinuxDocFile): ditto
7118 (makeDocBookFile): ditto
7120 * text2.C: layout as string
7122 * text.C: layout as string
7124 * paragraph_pimpl.C: layout as string
7126 * paragraph.[Ch]: layout as string
7128 * lyxtextclasslist.[Ch]: layout as string
7130 * lyxtextclass.[Ch]: layout as string
7132 * lyxtext.h: layout as string
7134 * lyxlayout.[Ch]: layout as string
7136 * lyx_cb.C: layout as string
7138 * bufferview_funcs.C: layout as string
7140 * bufferparams.C: layout as string
7142 * buffer.C: layout as string
7144 * LyXView.[Ch]: layout as string
7146 * LaTeXFeatures.[Ch]: layout as string
7148 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
7150 * BufferView_pimpl.C: change current_layout to string, remove
7155 (workAreaButtonRelease): layout as string
7157 * BufferView2.C (unlockInset): adjust
7159 * vspace.C (asLatexCommand): use an explict temp variable.
7161 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7163 * Makefile.am: use FRONTEND_*
7165 2002-03-01 Juergen Vigna <jug@sad.it>
7167 * tabular.C (SetWidthOfMulticolCell): changed to something better
7168 I hope but still work in progress.
7169 (recalculateMulticolumnsOfColumn): renamed function from
7170 recalculateMulticolCells as it is more appropriate now.
7171 (SetWidthOfCell): calculate multicols better.
7173 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7175 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
7177 * lyxfunc.C (processKeySym): print sequence also if it is
7178 `deleted' (complete)
7180 * kbsequence.C (print): print sequence even if it is deleted
7181 (complete would be a better word, actually).
7183 * lyxfunc.C (dispatch): print complete options after a prefix key
7185 * vspace.C (asLatexCommand): rewrite in a slightly different form.
7187 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
7189 * text2.C (setCharFont): eliminate setCharFont code duplication.
7191 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7193 * BufferView_pimpl.C (Dispatch): remove bogus handling of
7194 LFUN_TABULAR_FEATURE (bug #177)
7196 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
7198 * Makefile.am: remove figure.h
7200 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
7202 * Bufferview_pimpl.C:
7214 * text2.C: remove #include "lyx_gui_misc.h".
7216 * LaTeX.C: added #include <cstdio>
7218 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7220 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
7221 that the paragraph following this one can have.
7223 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
7225 * vspace.C (asLatexCommand): fix bogus gcc warning
7227 * Makefile.am (lyx_SOURCES): remove vms_defines.h
7229 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
7231 * text2.C (setLayout): get rid of redundant code
7233 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
7235 * text2.C (incDepth): make sure depth cannot be increased beyond
7238 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
7240 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
7241 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
7243 * PainterBase.h (image):
7244 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
7247 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7251 * BufferView_pimpl.C:
7252 * BufferView_pimpl.h:
7272 * sp_spell.C: remove fig inset, and the crap house of
7273 cards that follows it
7275 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7281 * nt_defines.h: move .h into support/
7283 * vms_defines.h: remove
7285 * WorkArea.C: add space in debug output
7289 * buffer.C: add WITH_WARNINGS
7293 * bufferlist.C: s/retrive/retrieve/, add docs
7304 * lyxgui.C: add ID to X error handler
7306 * lyxtestclass.c: fix typo
7308 2002-02-26 Juergen Vigna <jug@sad.it>
7310 * tabular_funcs.C (write_attribute): changed so that some default
7311 attributes are not written at all.
7312 (getTokenValue): set default values before trying to read the
7313 value so we have the return value always set as default if we don't
7314 find the token we search for.
7316 * tabular.C (Write): write bools as bools not as strings!
7318 2002-02-22 Juergen Vigna <jug@sad.it>
7320 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
7321 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
7323 * text.C (leftMargin): don't add an indent for paragraphs inside
7324 tabular cells (fix #208).
7326 2002-02-21 José Matos <jamatos@fep.up.pt>
7328 * tabular.C (docBook): fixed support for long tables.
7330 2002-02-20 Juergen Vigna <jug@sad.it>
7332 * text2.C (getFont): get the drawing font of the Inset if this
7333 paragraph is inside an inset (only important for InsetERT for now).
7335 * buffer.C (insertErtContents): use new lanugage params in ERT
7338 * CutAndPaste.C: commenting out seemingly uneeded code.
7340 2002-02-19 Allan Rae <rae@lyx.org>
7342 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
7343 Iterators might be simple to use but they also get invalidated.
7344 (removeAutoInsets): renamed saved cursor tracking variables and added
7345 some comments to clarify what everything does.
7347 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
7354 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
7355 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
7358 * vc-backend.h: remove #include "support/syscall.h"
7362 * converter.C: rearrange #includes in Lars' approved fashion.
7364 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
7365 forward declare class Timeout in the header file.
7367 * XFormsView.C: changes due to the above.
7369 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
7372 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
7373 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
7375 2002-02-18 José Matos <jamatos@fep.up.pt>
7377 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
7380 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7382 * a lot of small ws changes
7383 * add a lot of using std::XXX
7384 * use std construcs some places where approp.
7385 * use some exisint stuff from lyxfunctional where approp.
7386 * Make file changes to use partial linking (lets test this now...)
7388 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7392 remove #include "support/syscontr.h" as it's redundant. Always has been.
7400 change Systemcalls::System to Systemcalls::Wait and
7401 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
7402 No change of functionality, just reflects the stripped down Systemcalls
7405 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7407 * debug.[Ch]: add a GRAPHICS type to the enum.
7409 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7411 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
7413 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
7416 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7418 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
7419 match the changes below.
7421 * text2.C (toggleInset): if there is not editable inset at cursor
7422 position, try to see if cursor is _inside_ a collapsable inset
7425 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7427 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
7428 document menu has a nice checkbox
7430 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7432 * lyxlength.C (asLatexString): change PW to output as percent of
7435 * lengthcommon.C: change '%' to 't%'
7437 * lyxfunc.C (dispatch): a few comments from Martin
7439 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
7443 * BufferView_pimpl.h:
7444 * BufferView_pimpl.C: clear our selection when X tells us we've lost
7447 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7449 * vspace.C (inPixels): fix compiler warning
7451 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7453 * lyxfunc.C (getStatus): fix status message for disabled commands.
7455 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
7457 * BufferView_pimpl.C: fix crash on close buffer
7458 during selection (#227)
7460 2002-01-27 Herbert Voss <voss@lyx.org>
7462 * buffer.C: link old Figure to new graphic inset
7464 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
7466 * FontLoader.C (getFontinfo): Change the latex font names in order
7467 to match the names of type1inst.
7469 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7471 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
7473 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
7476 (remove_files_with_extension): ditto
7477 (remove_file): ditto
7480 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
7481 document is smaller than the work area height. Do not initialize
7482 static variables to 0.
7484 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7486 * lyx_gui.C (init): give the toolbar tooltips a normal font.
7488 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
7489 LFUN_LAYOUT_PARAGRAPHS.
7491 * tabular.C (GetCellFromInset): new method. Finds an inset in a
7492 tabular. It is possible to provide a possible cell, which will
7493 typically be the actcell from the corresponding insettabular
7495 * lyxfunc.C (getStatus): small cleanup; disable
7496 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
7499 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7501 * tabular.C (Validate): remove broken optimization (fixes bug #201)
7503 * paragraph.C (startTeXParParams):
7504 (endTeXParParams): new methods. The LaTeX code to
7505 start/end paragraph formatting
7506 (simpleTeXOnePar): call startTeXParParams also when paragraph is
7507 empty (fixes bug #200)
7509 * vspace.C (inPixels): adapt to the change below
7510 (inPixels): [later] more cleanups (remove unused variables)
7512 * lyxlength.C (inPixels): change to use a width and a height as
7515 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7517 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
7518 Replaced with \paperwidth
7520 * DepTable.C (insert): add std:: qualifier
7522 2002-01-18 Allan Rae <rae@lyx.org>
7524 * text2.C (removeRow): add comment. Should other refresh_?? vars be
7527 * text.C (drawInset): Turned out I didn't know enough about how
7528 rebreaking worked. This fixes most of the redraw problems. I see
7529 an occasional cursor trail when a line is broken now and the cursor
7530 placement can seem out by a few pixels also after a rebreak.
7532 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7534 * buffer.C (parseSingleLyXformat2Token): update because minipage
7535 width is now a LyXLength
7537 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
7539 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
7542 2002-01-17 Juergen Vigna <jug@sad.it>
7544 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
7546 * BufferView2.C (lockInset): call edit() so that theLockingInset()
7547 is set correctly and the inset is updated correctly.
7549 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7551 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
7552 the beginning of the loop.
7554 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
7556 * lyxrc.C: improve help for use_scalable_fonts
7558 2002-01-17 Allan Rae <rae@lyx.org>
7560 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
7562 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7564 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
7565 make sure to set their inset_owner to the right value (bug #171)
7567 2001-12-12 Ben Stanley <bds02@uow.edu.au>
7570 * DepTable.C: Implement mtime checking to reduce time spent doing
7573 2002-01-16 Juergen Vigna <jug@sad.it>
7575 * tabular.C (GetAdditionalHeight): one of error fixed.
7577 * lyxrc.C (output): small fix in writing use_pspell.
7579 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
7581 * sp_base.h: #include LString.h
7583 2002-01-16 Allan Rae <rae@lyx.org>
7585 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
7586 Can someone check this please?
7588 * text.C (drawInset): It was possible that p.row would be removed by
7589 breakAgainOneRow upsetting a few other settings. There may be another
7590 small tweak possible by setting need_break_row = 0 when p.row has been
7591 removed but I don't know enough about the logic here.
7593 2002-01-15 Allan Rae <rae@lyx.org>
7595 * text.C (insertChar): removed conditional truism.
7597 * BufferView2.C (removeAutoInsets): More tweaks.
7598 cur_par_prev could be a stray pointer. Check for trailing empty line
7599 in case last line was cur_par and only had an error inset on it.
7601 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7603 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
7606 * vc-backend.C (most methods):
7607 * exporter.C (Export):
7608 * converter.C (convert):
7610 * LyXSendto.C (SendtoApplyCB):
7611 * lyxfunc.C (dispatch):
7615 * lyx_cb.C (AutoSave):
7617 * BufferView_pimpl.C (MenuInsertLyXFile):
7618 * buffer.C (runChktex): use Buffer::filePath().
7620 * buffer.h: rename filename to filename_; rename filepath to
7621 filepath_ and make it private
7622 (filePath): new method
7624 * buffer.C (writeFile): use fileName()
7627 * lyx_main.C (init): fix starting of LyX when the binary is a
7628 link from so,ewhere else.
7630 * minibuffer.C: include <cctype> for isprint
7632 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7634 * buffer.C (parseSingleLyXformat2Token): changes associated with the
7635 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
7636 name clash with InsetCollapsable's width function.
7638 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7640 * lastfiles.C: include <iterator>
7642 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7644 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7647 * buffer.C (makeLaTeXFile): ditto.
7648 Also make loop operation more transparent.
7650 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7652 * ToolbarDefaults.C: remove trailing comma closing namespace.
7654 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7656 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7659 * trans.C (Load): comment out unused variable, allowed.
7661 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7663 * minibuffer.[Ch] (append_char): new method to recieve input from the
7664 drop-down completion browser. If a key was pressed, then recieve this
7665 char and append it to the existing string.
7666 (peek_event): modify the positioning data passed to the completion
7667 browser so that it can be placed above the minibuffer rather than below.
7668 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7670 * LyXAction.C (init): alloe error-next for readonly documents.
7672 * BufferView2.C (ChangeRefsIfUnique): use standard version of
7675 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7677 * bufferlist.C (readFile): create the buffer _after_ checking that
7680 * lyxfunc.C (verboseDispatch): fix handling of arguments
7682 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7684 * lyxrc.C: use string::erase() instead of initializing to "".
7687 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7689 * BufferView_pimpl.h:
7690 * BufferView_pimpl.C:
7693 * text2.C: tell X when we have made a selection for copying
7695 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7697 * BufferView_pimpl.C (MenuInsertLyXFile):
7698 * lyxfunc.C (menuNew):
7700 (doImport): add shortcuts to directory buttons
7702 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7705 * lyxfunc.C (setStatusMessage):
7706 (getStatusMessage): new methods
7707 (getStatus):use setStatusMessage instead of setErrorMessage
7708 (dispatch): when function is disabled, set error message here
7709 [instead of in getStatus previously]
7711 * BufferView_pimpl.C (workAreaButtonRelease): update
7712 toolbar/menubar here too.
7714 2002-01-13 Allan Rae <rae@lyx.org>
7716 * BufferView2.C (removeAutoInsets): finished off earlier fix.
7717 Now seems indestructible. Remaining task is to audit all other
7718 code affected by deleteEmptyParagraphMechanism. One small quirk
7719 left is that an empty document with an error in the preamble can
7720 be made to report an error but no error box appears. I don't know
7722 (removeAutoInsets): Improved comments.
7724 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
7727 * Thesaurus.C: update for Aiksaurus 0.14
7729 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7731 * text2.C (firstParagraph): removed member function, all uses
7732 replaces with ownerParagraph
7733 (redoParagraphs): here
7735 (toggleAppendix): here
7736 * BufferView2.C (insertErrors): here
7737 (setCursorFromRow): here
7739 2002-01-13 Allan Rae <rae@lyx.org>
7741 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7742 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7743 There is still a way to segfault this although you may have to do this
7744 multiple times: Have an InsetERT with an unknown command in it.
7745 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7746 <down-arrow>, <Enter> again, View->DVI, BANG!
7748 * text2.C (setCursor):
7749 (deleteEmptyParagraphMechanism):
7750 * lyxtext.h (setCursor):
7751 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7752 Making use of the return value may help fix other bugs.
7754 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7756 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7758 * LyXView.C (updateMenubar): call MenuBar::update here
7759 (updateToolbar): but not here
7760 (showState): do not update toolbar/menubar
7762 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7763 should need to care about that.
7765 * lyxfunc.C (verboseDispatch): simplify a bit
7766 (getStatus): have a version which takes a pseudoaction, and
7767 another which requires a (kb_action,string).
7769 * LyXAction.C (retrieveActionArg): make it work also when action
7770 is not a pseudo-action.
7771 (getActionName): simplify a bit
7774 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7776 * lyxfunc.C (verboseDispatch): new families of methods with
7777 several ways to specify a command and a bool to indicate whether
7778 the command name and shortcut should be displayed in minibuffer
7779 (eventually, we could extend that to a finer bitmask like
7780 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7781 (dispatch): the pristine dispatch command which just, well,
7782 dispatchs! Note it still sets its result to minibuffer; I'm not
7785 * lyxfunc.h: remove setHintMessage
7787 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7789 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7791 * BufferView_pimpl.C (specialChar): delete new inset if we have
7792 not been able to insert it.
7794 * kbmap.C: revert to using int instead of kb_action, since all we
7795 are dealing with is pseudo-actions.
7797 * LyXAction.C (searchActionArg): change to return int instead of
7798 kb_action, since the result is a pseudoaction.
7800 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
7802 * buffer.C (insertErtContents): Fix (partially) the font bug.
7804 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7806 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
7807 as the other one is broken on my machine!
7809 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
7812 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7814 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
7816 * lyxrc.[Ch]: change names and descriptions of popup font variables to
7817 reflect their actual use. Provide compatibility code for older lyxrc
7820 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7822 change names of popup font variables in line with the changes to lyxrc.C
7824 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7826 * buffer.C (asciiParagraph): avoid outputing a word twice after
7829 * lyxrc.C (getDescription): document that document_path and
7830 template_path can be empty.
7832 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7834 * LaTeXFeatures.C (getMacros):
7835 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7837 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7839 * LaTeXFeatures.C (useFloat): require "float" here instead of in
7841 (getPackages): rename feature "floats" to "float". Use an array to
7842 iterate over 'simple' features (i.e. just a \usepackage). Add
7843 handling of "amsmath" (renamed from "amsstyle").
7845 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
7847 * LaTeXFeatures.C (require): Prevent duplicate entries in the
7850 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
7852 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7853 FuncStaus::FuncStatus & FuncStaus::some_method().
7855 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
7857 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7858 of the func_satus stuff. Edited and massaged in various ways by
7861 * lyxfunc.C (getStatus): use FuncStatus
7863 2002-01-08 Juergen Vigna <jug@sad.it>
7865 * text.C (nextBreakPoint): use function Inset::isChar().
7867 * paragraph.C (TeXOnePar): use function
7868 Inset::forceDefaultParagraphs.
7870 * buffer.C (latexParagraphs): use function
7871 Inset::forceDefaultParagraphs.
7873 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7875 * lyx_gui.C (init): set the style of the menu popups to
7876 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7878 2002-01-07 Juergen Vigna <jug@sad.it>
7880 * text.C (setHeightOfRow): small fix
7881 (prepareToPrint): don't look at alignment if we don't have the place
7884 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7886 * box.C: New file. Move the Box methods and functions out of box.h,
7887 following Lars' suggestion.
7889 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7891 * box.h: #include "support/LOstream.h", needed for inlined function.
7894 * lyxtextclasslist.C: added some using std declarations.
7896 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
7898 * box.h: make signed dimensions to allow insets wider than
7899 the screen (bug #162)
7901 * BufferView_pimpl.C: add some insetHit debug
7903 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
7905 * vc-backend.C: add FIXME
7907 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7909 * lyxfunc.C (getStatus): enable code for showing math font status
7912 2002-01-07 Juergen Vigna <jug@sad.it>
7914 * text.C (nextBreakPoint): removed debug output not needed anymore.
7916 2002-01-06 Juergen Vigna <jug@sad.it>
7918 * text.C (nextBreakPoint): fixed up this function we had this bug
7919 since ever but now hopefully we break row better.
7920 (insertChar): we have to check if an inset is the next char as it
7921 could now happen that a large inset is causing a break.
7923 2002-01-05 Juergen Vigna <jug@sad.it>
7925 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7926 if it doesn't like to be drawed.
7928 2002-01-04 Juergen Vigna <jug@sad.it>
7930 * BufferView2.C (lockInset): forgot to set a cursor.
7932 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7934 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
7939 * form_maths_panel.C:
7940 * form_maths_panel.h:
7941 * form_maths_panel.fd: implemented sub- and super- buttons in math
7944 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7945 (or ^ space) to be used as in TeX (req'd by André).
7947 * lyxfunc.C: Allow ^ and _ again to be used both as
7948 super/subscript (mathed) and as themselves (in text).
7950 2002-01-03 Allan Rae <rae@lyx.org>
7952 * LyXView.C (updateWindowTitle): Setup a short icon title of either
7953 "LyX" or the filename of the current buffer if it has one. This is a
7954 modified form of John Levon's patch.
7956 * XFormsView.C (setWindowTitle): also set icon title.
7958 * LyXView.h (setWindowTitle): signature changed.
7959 * XFormsView.h (setWindowTitle): ditto.
7961 2002-01-02 Juergen Vigna <jug@sad.it>
7963 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7965 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7967 * screen.C (topCursorVisible): introduce a temp var for
7968 text->cursor.row(), handle the case where this row is null. (kindo
7971 * text2.C (setCursor): add a couple of asserts.
7973 * paragraph.h (inset_iterator): add -> operator
7975 * paragraph.[Ch] (autoDeleteInsets): remove member function
7977 * BufferView2.C (removeAutoInsets): rewrite to handle the old
7978 cursor pos correctly and handle inset deletion by itself.
7979 (insertErrors): move iterator declaration out of for expression
7981 * lyxtextclass.C: add <algorithm>
7983 * Makefile.am: added the new files to sources, removed layout.C
7985 * layout.C: removed file
7987 * layout.h: remove LYX_DUMMY_LAYOUT
7989 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7993 * lyxtextclass.[Ch]:
7994 * lyxtextclasslist.[Ch]: new files
7996 * include order changes to a lot of files, also changes because of
7999 2001-12-27 Juergen Vigna <jug@sad.it>
8001 * buffer.C (asciiParagraph): more fixes.
8003 * tabular.C (ascii): make ascii export support export of only the
8004 data separated by a column-delimiter.
8005 (ascii): better support for ascii export.
8007 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8009 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8011 * tabular_funcs.C: use a "using std::getline" instead of the
8012 previous fix from Angus (necessary for cxx + lyxstring)
8014 2001-12-24 Juergen Vigna <jug@sad.it>
8016 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8018 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8019 problems. First check a minipage also if we have some ert-contents
8020 (not only on par->size(), second set the right depth of the paragraph
8021 on the relink to the root-paragraph-list!
8023 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8024 which then did not anymore update the main paragraphs on undo/redo!
8026 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8028 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
8029 code. Support all font-changing funcs (even those which are not in
8030 menu currently). Support for reporting font settings in
8031 mathed (disabled until Andre provides a function on mathed's side).
8033 * func_status.h (toggle): small helper function to set toggle
8036 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
8038 * tabular_funcs.C: getline -> std::getline
8040 2001-12-21 Juergen Vigna <jug@sad.it>
8042 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
8043 accessed and could be 0 (I couldn't generate this but it seems
8046 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8048 * tabular_funcs.C: add LIstream.h, move write_attribute to..
8049 * tabular_funcs.h: here and include iosfwd
8051 2001-12-20 Juergen Vigna <jug@sad.it>
8053 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
8054 inside inset but undo_par was.
8056 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8058 * Thesaurus.C: always include <config.h> in sources.
8062 * box.h: do not include <config.h> in header files
8064 * text.C (paintLastRow): remove unused variable
8066 * text.C (transformChar):
8068 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
8071 * font.C (width): rewrite to use uppercase() instead of
8074 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
8076 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
8078 * lyxfind.C: clean up of find failure position change
8080 2001-12-20 Juergen Vigna <jug@sad.it>
8082 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
8084 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
8085 (TeXRow): added to LaTeX a single tabular row.
8086 (TeXLongtableHeaderFooter): added to output LT-h/f data.
8087 (Latex): simplified and finally good LT-h/f support.
8088 (various_functions): just small adaptions for LT-h/f support.
8090 * tabular_funcs.[hC]: added and moved here all not classfunctions
8093 2001-12-19 Juergen Vigna <jug@sad.it>
8095 * tabular.[Ch]: better support for longtabular options (not finished
8098 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8100 * text.C (paintLastRow): use the label font instead of the font of
8101 the last character to compute the size of *_BOX. This makes more
8102 sense and avoids a crash with empty paragraphs.
8103 Use Painter::rectangle to draw EMPTY_BOX.
8105 2001-12-19 Juergen Vigna <jug@sad.it>
8107 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
8108 the paragraphs if the replaced paragraph is not the first one!
8109 Tried to delete not used paragraphs but does not work yet so for
8110 now it's inside #ifdef's and by default off!
8112 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8114 * MenuBackend.C: include "lyx_main.h" instead of declaring
8115 lastfiles (actually was declared as LastFiles* instead of a
8118 2001-12-17 Juergen Vigna <jug@sad.it>
8120 * tabular.C (AppendColumn): applied John's fix
8122 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
8126 * BufferView_pimpl.h:
8127 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
8130 * box.h: new start of class for above
8132 * lyxfunc.C: ignore space-only minibuffer dispatches.
8133 Show the command name when it doesn't exist
8135 * minibuffer.C: don't add empty lines to the history
8137 * minibuffer.C: add a space on dropdown completion
8139 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
8141 * text.C: fix line above/below drawing in insets
8143 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8145 * lyxlength.C (LyXLength): Initialize private variables.
8147 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
8149 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
8150 when inserting error insets.
8152 2001-12-13 Juergen Vigna <jug@sad.it>
8154 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
8155 actually sometimes the before-paragraph.
8156 (setUndo): don't clear the redostack if we're not actually undoing!
8158 2001-12-06 Juergen Vigna <jug@sad.it>
8160 * undo_funcs.C (textHandleUndo): well after John's hint I got here
8161 and fixed redoing of main paragraph, so we can use it now ;)
8163 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
8165 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8167 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
8170 2001-12-13 André Pönitz <poenitz@gmx.net>
8173 * undo_func.C: minor cleanup
8175 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8177 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
8178 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
8179 font in urw-fonts package which is marked as -urw-fontspecific and
8180 does not work (incidentally, changing the encoding in the
8181 fonts.dir of this package to -adobe-fontspecific fixes the
8184 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
8185 is a crash when undoing first paragraph (Juergen, please take a
8186 look). THis does not mean the undo fix is wrong, just that it
8189 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
8190 the (Paragraph*) version when needed instead of duplicating the
8193 * text.C (workWidth): use Inset::parOwner to find out where the
8194 inset has been inserted. This is a huge performance gain for large
8195 documents with lots of insets. If Inset::parOwner is not set, fall
8196 back on the brute force method
8198 * paragraph_pimpl.C (insertInset):
8199 * paragraph.C (Paragraph):
8200 (cutIntoMinibuffer): set parOwner of insets when
8201 inserting/removing them
8203 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8205 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
8211 * mathed/formulabase.C:
8212 * mathed/math_cursor.[Ch]:
8213 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
8216 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8218 * lyxlength.[Ch] (operator!=): new function
8220 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8222 * text.C (workWidth): use Inset::parOwner to find out where the
8223 inset has been inserted. This is a huge performance gain for large
8224 documents with lots of insets. If Inset::parOwner is not set, fall
8225 back on the brute force method
8227 * paragraph_pimpl.C (insertInset):
8228 * paragraph.C (Paragraph):
8229 (cutIntoMinibuffer): set parOwner of insets when
8230 inserting/removing them
8232 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8234 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8236 * tabular-old.C (getTokenValue):
8237 * tabular.C (getTokenValue):
8238 (write_attribute): new versions for LyXLength
8239 (everywhere): adjust the use of widths
8241 * tabular.h: change the type of widths from string to LyXLength
8243 2001-12-11 Ben Stanley <bds02@uow.edu.au>
8245 * paragraph.C: fixed missing line number count when exporting
8246 Environments to LaTeX file
8248 * buffer.C: added informational message for checking line numbers.
8250 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8252 * text2.C (deleteEmptyParagraphMechanism): if there is only one
8253 paragraph, do the 'double space' part, but not the 'empty
8256 * text.C (workWidth): small optimization
8257 (getLengthMarkerHeight): use minimal size for negative lengths.
8259 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
8261 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
8263 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
8265 2001-12-11 André Pönitz <poenitz@gmx.net>
8268 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
8270 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8272 * text2.C: keep selection on a setFont()
8274 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8276 * lyx_cb.C: another bv->text misuse, from insert label
8278 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8281 * kbsequence.C: re-instate nmodifier mask
8283 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
8285 * lyx_main.h: make lyxGUI private.
8287 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8289 * lyxfind.C: place the cursor correctly on failed search
8291 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8293 * text.C (getLengthMarkerHeight): for small heights, the arrows
8294 are not always on top/bottom of the text
8295 (drawLengthMarker): smaller arrows; take the left margin in
8296 account; draw also vfills.
8298 (paintLastRow): remove special code for vfill and standard spaces,
8299 since everything is handled in drawLengthMarker now.
8301 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8303 * buffer.C (insertErtContents): try to handle font and language
8304 interaction a bit better.g
8306 * ColorHandler.C (updateColor): change the hash to cover the whole
8307 LColor enum, ws cleanup
8308 (getGCLinepars): ditto
8309 (getGCLinepars): only lookup in the linecache once.
8311 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
8313 * iterators.C (operator++): Make the iterator more robust
8315 * BufferView2.C (removeAutoInsets): Use paragraph iterators
8317 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
8319 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8322 * text.C: better added space drawing
8324 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8327 * BufferView2.C: fix layout combo update on inset unlock
8329 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8331 * Makefile.am: don't compile unused files
8333 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8337 * LyXAction.C: remove old LFUN_LAYOUTNO
8339 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8341 * paragraph_pimpl.h:
8342 * paragraph_pimpl.C: isTextAt() doesn't need font param
8344 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8347 * lyxlex.C: little cleanup
8349 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8351 * BufferView_pimpl.C: fix insertAscii for insets
8353 2001-12-05 Juergen Vigna <jug@sad.it>
8355 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
8356 set the right font on the "multi" paragraph paste!
8358 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8364 * lyxlength.C: remove out-commented code.
8380 * vc-backend.C: change "while(" to "while ("
8382 * lyxlength.[Ch]: add zero function to check if length is zero or
8384 * lyxgluelength.C: use it
8386 2001-12-05 Allan Rae <rae@lyx.org>
8388 * lyxlength.C: Attempted a fix for the abs(int) header selection.
8389 Works for 2.95.3, from what I understand of Garst's reports this should
8390 work for other g++ versions. We're screwed if the abs(int) definition
8391 changed between bugfix releases of gcc.
8393 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8395 * text.C: fix chapter label offset !
8397 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8400 * text.C: fix hfill at end of line, clean up
8402 2001-12-04 Juergen Vigna <jug@sad.it>
8404 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
8405 that we force an update of the inset and it's owners if neccessary.
8407 2001-12-03 Juergen Vigna <jug@sad.it>
8409 * text.C (rowLast): simplified code
8411 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8413 * lyxfunc.C: fix show options on timeout
8415 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8417 * screen.C (topCursorVisible): scroll half a page when the cursor
8418 reached top of bottom of screen
8420 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
8422 * minibuffer.C: deactivate on loss of focus
8424 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8426 * vspace.[Ch] (operator!=): add operator.
8428 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
8430 * BufferView_pimpl.C: refuse to open an inset when
8431 there's a selection.
8433 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
8435 * BufferView_pimpl.C: allow to click on RHS of full row insets
8437 2001-11-30 Juergen Vigna <jug@sad.it>
8439 * tabular.C (LyXTabular): add a same_id to set the same id's in the
8440 insets for undo reasons.
8442 2001-11-28 André Pönitz <poenitz@gmx.net>
8444 * vspace.[Ch]: cosmetical changes
8446 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8456 * kbsequence.C: part re-write of old kb code
8459 * WorkArea.C: remove Lgb_bug_find_hack
8461 2001-11-30 José Matos <jamatos@fep.up.pt>
8463 * buffer.C (makeDocBookFile): add a comment to point a hack.
8464 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
8465 Fixed a double write of labels.
8467 2001-11-29 Ben Stanley <bds02@uow.edu.au>
8470 * LaTeX.h Fixed bug in LaTeX class where it would not
8471 re-run latex if no depfiles were changed, but the .dvi was removed.
8473 2001-11-28 André Pönitz <poenitz@gmx.net>
8475 * all the files from the change on 2001/11/26:
8476 use lyx::layout_type instead of LyXTextClass::size_type
8477 use lyx::textclass_type instead of LyXTextClassList::size_type
8479 2001-11-29 Juergen Vigna <jug@sad.it>
8481 * text.C: added support for paragraph::isFreeSpacing()
8483 * buffer.C: same as above
8485 * paragraph.h: inserted isFreeSpacing() function to enable
8486 FreeSpacing inside InsetERT.
8488 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
8489 of the paragraph's in the cut/copy buffer to 0!
8491 * text2.C (removeRow): remove the assert as it can!
8493 * lyxtext.h: added helper function firstRow returning firstrow and
8494 made firstrow private again.
8496 * BufferView2.C (lockInset): don't relock if we're already locked!
8498 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
8500 (removeRow): added Assert::(firstrow)
8502 * debug.C: forgot to add INSETTEXT here.
8504 2001-11-28 Juergen Vigna <jug@sad.it>
8506 * sp_spell.C (initialize): changed error text to more general
8507 spellchecker command use (not only ispell!)
8509 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
8511 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
8513 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8515 * vspace.C: initialise lyxgluelength on failure
8517 2001-11-28 Allan Rae <rae@lyx.org>
8519 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
8520 declaration & definition that looks like a function declaration.
8522 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8524 * BufferView2.C (copy):
8525 (copyEnvironment): do not clear the selection when doing a copy.
8527 * text.C (paintFirstRow): compilation fix
8529 2001-11-27 Ben Stanley <bds02@uow.edu.au>
8531 * tabular.C (Latex): correct line count when writing latex.
8533 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
8535 * paragraph_pimpl.h:
8536 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
8539 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8543 * LColor.C: change vfillline->added_space
8545 * text.C: add markers and text for added space
8547 * vspace.C: fix comment
8549 2001-11-28 André Pönitz <poenitz@gmx.net>
8551 * paragraph.C: whitespace changes
8552 * all the other files from the change on 2001/11/26:
8553 change *::pos_type into lyx::pos_type
8555 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
8557 * buffer.C (parseSingleLyXformat2Token): Set the language to the
8558 language of the document when inserting error insets.
8560 2001-11-26 André Pönitz <poenitz@gmx.net>
8562 * BufferView_pimpl.[Ch]:
8570 * paragraph_pimpl.[Ch]:
8573 * text2.C: reduce header dependencies, introduce type for positions
8575 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8577 * <various>: change to use Alert.h
8579 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
8581 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
8582 when encountering an unknown token.
8583 (readLyXformat2): Show an error message if there were unknown tokens.
8585 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
8588 * BufferView_pimpl.C:
8592 * text2.C: use par->isInset()
8594 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8596 * paragraph_pimpl.h:
8597 * paragraph_pimpl.C: cleanup
8599 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8601 * text2.C (removeRow):
8602 * text.C (setHeightOfRow): remove useless (and costly) call to
8605 2001-11-20 Allan Rae <rae@lyx.org>
8607 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
8608 Now need Inset*::checkInsertChar() to return true for appropriate
8609 cases so that the characters in the minibuffer will actually be
8612 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8614 * text.C: change the order of the includes.
8615 (workWidth): initialize it at once.
8616 (workWidth): make maxw unsigned
8617 (setHeightOfRow): remove unused variable (inset)
8618 (selectSelectedWord): remove unused variable (inset)
8619 (paintRowText): fix drawing of hfill characters, and clean up a bit.
8621 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8623 * lyxserver.C (emergencyCleanup): do not try to close pipes if
8624 server is not running.
8626 (closeConnection): add debug info when server is disabled.
8628 * ColorHandler.C (getGCForeground): send debug message to GUI
8631 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
8633 * kbmap.C (bind): modify because return conventions of
8634 kb_sequence::parse have changed.
8636 * kbsequence.C (parse): only ignore spaces and not any stupid
8637 control character. This avoids tests like s[i] <= ' ', which are
8638 guaranteed to fail with 8bit characters and signed chars.
8639 Change return code to string::npos when there have been no error
8640 (0 was a bad idea when error is at first character)
8642 2001-11-14 José Matos <jamatos@fep.up.pt>
8645 * buffer.C (simpleDocBookOnePar): removed unused argument.
8647 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8649 * text.C (selectNextWordToSpellcheck): do not test explicitely for
8650 insets which are part of a word. Paragraph::isLetter takes care of
8651 that now. Use Paragraph::isInset to identify insets.
8652 (selectSelectedWord): do not test for hyphenation break.
8654 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8655 that protected spaces are considered as spaces.
8657 * paragraph.C (isLetter): cleanup the code for ispell extras; use
8660 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
8663 * lyxserver.C: fix it. and small cleanup.
8665 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8667 * BufferView_pimpl.C: use inline helpers
8670 * LaTeXFeatures.C: fix typos
8673 * Spacing.C: move spacing_string into class
8675 * ToolbarDefaults.C: move stuff into namespace anon
8677 * layout.h: update enum
8679 * lyxfunc.C: use better debug
8681 * minibuffer.h: fix typo
8685 * WorkArea.C: add and use Debug::WORKAREA
8689 * text2.C: code re-organisation, inline helpers
8691 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
8693 * Layout.C: replaced a few cases of std::vector.size() == 0 with
8694 std::vector.empty().
8696 2001-11-09 Allan Rae <rae@lyx.org>
8698 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8699 '\n's after tables. Tabular and ERT inset work now makes this no
8702 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8705 * minibuffer.C: fix crash, improve drop-down completion
8707 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
8710 * lyxserver.C: invalidate fd's when doing endPipe()
8712 2001-11-08 José Matos <jamatos@fep.up.pt>
8714 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8715 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8718 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8720 2001-11-07 José Matos <jamatos@fep.up.pt>
8723 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8726 * buffer.C (sgmlOpenTag):
8727 * buffer.C (sgmlCloseTag): removed debug info.
8729 * buffer.h (sgmlOpenTag):
8730 * buffer.h (sgmlCloseTag): made public.
8732 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8734 * buffer.C (saveParamsAsDefaults):
8735 * lyx_cb.C (MenuLayoutSave): remove
8737 * LyXAction.C (init):
8739 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8741 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8743 * buffer.C (setPaperStuff): removed from here...
8745 * bufferparams.C (setPaperStuff): ... and moved there.
8747 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
8751 * XFormsView.C: add support for drop-down completion
8753 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
8755 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8758 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8760 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8763 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
8765 * lyx_main.C: change ref to known bugs
8767 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
8769 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8770 to work around older babel problems.
8772 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8774 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8776 2001-10-24 Juergen Vigna <jug@sad.it>
8778 * tabular-old.C (ReadOld): below variable changes reflected.
8780 * tabular.[Ch]: added ltType struct for longtable header/footer
8781 defines and changed all instances where they are used. Added
8782 future support for double top/bottom rows.
8784 2001-10-24 José Matos <jamatos@fep.up.pt>
8786 * buffer.h (docbookHandleCaption):
8787 * buffer.C (docbookHandleCaption): removed unused function.
8788 (makeDocBookFile): moved docbook supported version to v4.1.
8790 2001-10-24 José Matos <jamatos@fep.up.pt>
8793 * tabular.C (docbookRow): new function to export docbook code of a row.
8794 (DocBook): now honors the longtable flags.
8796 2001-10-23 José Matos <jamatos@fep.up.pt>
8799 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8800 of the lyx defined sgml entities used in a docbook/linuxdoc document.
8802 * buffer.C (makeLinuxDocFile):
8803 (makeDocBookFile): reworked the preamble, more clean, and with
8804 support for lyx defined entities. Changed the document declaration
8805 to be more XML friendly.
8807 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8808 if we need to output XML that should be done with a filter.
8810 2001-10-22 Juergen Vigna <jug@sad.it>
8812 * sp_pspell.h (class PSpell): add alive function needed in the
8813 controller to see if the spellchecker could be started.
8815 2001-10-22 Juergen Vigna <jug@sad.it>
8817 * buffer.C (insertStringAsLines): modify the font for inserting
8818 chars in certain conditions by calling checkInsertChar(font).
8820 2001-10-19 Juergen Vigna <jug@sad.it>
8822 * text.C (workWidth): use getRow instead of wrong algorithm.
8823 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8825 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
8830 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8832 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8834 * text.C (workWidth): do not search for the exact row when
8835 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8836 optimization for big documents.
8838 2001-10-18 Juergen Vigna <jug@sad.it>
8840 * text.C (workWidth): new function with added Inset * parameter.
8842 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8844 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8846 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8847 change return type of getColumnNearX.
8850 * text.C (changeRegionCase): use uppercase/lowercase instead of
8853 (rightMargin): simplify code by factoring out the uses of
8858 (appendParagraph): use Paragraph::size_type
8860 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8862 * vspace.C (asLatexString): add a missing break
8864 2001-10-15 Herbert Voss <voss@perce.de>
8866 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8868 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8870 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8873 2001-10-10 André Pönitz <poenitz@gmx.net>
8875 * lyxfunc.C: removed greek_kb_flag.
8877 2001-10-10 Herbert Voss <voss@perce.de>
8879 * lyx_main.C: delete global string help_lyxdir.
8881 2001-10-09 Herbert Voss <voss@perce.de>
8883 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8885 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8887 * lyx_main.C: added global string help_lyxdir.
8889 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8891 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
8893 * lyxrc.C (set_font_norm_type): support iso8859-4
8895 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
8897 * LaTeX.C (deplog): add another regex for MikTeX
8899 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
8901 * lyxrc.C (set_font_norm_type): support iso8859-3
8903 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8905 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8907 * LaTeXFeatures.C: remove special case of french and index
8909 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8910 before \begin{document}). This solves several incompatibilities.
8912 2001-10-03 Garst Reese <reese@isn.net>
8914 * lyx_cb.C: change CheckTex error msg.
8916 2001-10-03 José Matos <jamatos@fep.up.pt>
8918 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8920 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8922 * .cvsignore: update
8924 * lyx_main.C (commandLineVersionInfo): use new style version info.
8926 * buffer.C (writeFile):
8929 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8931 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8933 * version.h: update to use stuff in version.C
8935 * version.C.in: new file. Contains version information determined
8936 at compile time. This is a merging of version.h and
8939 2001-10-03 Juergen Vigna <jug@sad.it>
8941 * BufferView_pimpl.C (update): don't change "dirty" status in
8944 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
8946 * WorkArea.C (c-tor): re-position version string slightly.
8948 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
8950 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8951 revert to previous code.
8953 WorkArea.[Ch]: (show, destroySplash): methods removed.
8955 WorkArea.C: rework code so that it's an amalgam of the codes before and
8956 after the splash screen was moved to WorkArea.
8958 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8961 * vspace.C (inPixels):
8964 * buffer.C (insertStringAsLines):
8965 (asciiParagraph): fix types to be large enough
8967 * lyxlex_pimpl.h: change member status from short to int
8969 * layout.h: fix type of endlabeltype
8972 * kbsequence.C (parse): change return type to string::size_type
8974 * LaTeX.C (updateBibtexDependencies): comment out unneeded
8977 * Bullet.C (bulletSize):
8978 (bulletEntry): do not use short ints as parameters
8980 * BufferView2.C (insertLyXFile): change a char to an int.
8982 * WorkArea.C (WorkArea): remove unneeded floats in computation
8984 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
8986 * buffer.C (asciiParagraph): Treat '\\' as other chars.
8988 * paragraph.C (asString): Do not ignore newline/hfill chars when
8989 copying to the clipboard.
8991 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
8993 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8994 after a multi-line inset.
8996 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
8998 * paragraph.C (validate): Set NeedLyXFootnoteCode
9000 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9002 * lyxfont.C (LyXSizeNames): changed increase-error to increase
9003 and decrease-error to decrease.
9005 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9007 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9008 it more readable (should be equivalent)
9010 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
9012 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9014 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9016 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9017 of a cursor (row, etc.) after a character has been deleted
9018 (deleteEmptyParagraphMechanism): call the method above on _all_
9019 cursors held by the LyXText when a double space has been
9022 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9024 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9026 (resizeCurrentBuff): remove code to destroy the old splash dialog.
9028 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
9029 background. Use greyOut() and the new show() methods to toggle between
9030 the foreground and background. Add code to remove the splash after
9031 its initial showing.
9033 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
9034 (create_forms): no longer call Dialogs::showSplash.
9036 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9038 * .cvsignore: add version_info.h
9040 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9042 * version_info.h.in: new file
9044 * Makefile.am: add version_info.h.in
9046 * lyx_main.C (commandLineVersionInfo): use version_info defined in
9047 version_info.h instead of VERSION_INFO
9049 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
9051 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
9052 The ERT inset now returns string().
9054 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
9056 * lyxtext.h, text.C (selectNextWord): renamed as
9057 selectNextWordToSpellcheck.
9059 * text.C (selectNextWordToSpellcheck): Modified to not select
9060 words inside an ERT inset.
9062 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9064 * lyx_cb.C (MenuLayoutSave): change a bit the question
9066 * sp_base.h: include <sys/types.h>
9068 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
9070 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
9072 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
9074 * several files: fix typos in user-visible strings
9076 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9078 * text2.C (pasteSelection): do not set the selection, since it
9079 will be cleared later. Actually, the intent was to fix the way the
9080 selection was set, but I figured rmoving the code was just as good.
9082 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
9084 * FontLoader.C (available): Check if font is available without
9087 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
9089 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
9091 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
9093 * lyxrc.[Ch]: added display_graphics variable and associated code.
9095 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9097 * bufferparams.C (hasClassDefaults): new method. Returns true if
9098 the buffer parameters correspond to known class defaults
9100 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
9102 * XFormsView.C (show): set minimum size to the main window.
9104 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9106 * text2.C (copySelection):
9108 * lyxfind.C (LyXReplace):
9109 * BufferView_pimpl.C (Dispatch): pass the correct flag to
9110 LyXText::selectionAsString.
9112 * paragraph.C (asString): add "label" argument to the second form
9114 * text2.C (selectionAsString): add "label" argument and pass it to
9115 Paragraph::asString.
9117 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9119 * lyx_main.C (commandLineHelp): remove version information
9121 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
9123 * lyx_main.C: add -version commandline option
9125 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9127 * paragraph.h: make the optional constructor arg required instead.
9128 some modifications to other files because of this.
9130 * minibuffer.C (C_MiniBuffer_peek_event): make it static
9132 * lyxserver.C (C_LyXComm_callback): make it static
9134 * lyx_main.C (error_handler): make it static
9136 * lyx_gui.C (LyX_XErrHandler): make it static
9138 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
9140 * WorkArea.C: make the extern "C" methods static.
9142 * Makefile.am (lyx_LDADD): simplify
9144 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9146 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
9147 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
9149 * LyXAction.C (init):
9150 * lyxfunc.C (dispatch): associated code removal.
9152 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9154 * lyxfont.h (isSymbolFont): shut off warning
9156 * text.C (setHeightOfRow):
9157 (getVisibleRow): fix crash with empty paragraphs which have a
9160 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
9162 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
9165 2001-09-04 José Matos <jamatos@fep.up.pt>
9168 * tabular.C (docbook): rename docBook method to docbook.
9170 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9172 * Makefile.am: add dependencies to main.o.
9174 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
9176 * FontLoader.C (available): Return false if !lyxrc.use_gui
9178 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
9180 * FontInfo.C (query):
9181 * converter.C (view):
9182 * importer.C (Import):
9183 * exporter.C (Export): Can not -> cannot.
9185 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
9187 * BufferView_pimpl.C: allow to create index inset even if
9190 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9192 * buffer.C (getLists): replace boost::tie code with an explicit pair
9193 as boost::tie can break some compilers.
9195 * iterators.h: Added a std:: declaration to the return type of
9198 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
9200 * lyxrc.C: add help for view_dvi_paper_option, default to safe
9203 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
9205 * iterators.[Ch]: New files. Provide paragraph iterators.
9207 * buffer.C (changeLanguage): Use paragraph iterators.
9208 (isMultiLingual): ditto
9210 * BufferView2.C (ChangeInsets): Use paragraph iterators.
9212 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
9214 * FontLoader.C: Support for cmr font.
9216 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
9218 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
9219 (available): New method.
9221 * FontInfo.C (getFontname): Use scalable fonts even when
9222 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
9225 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9227 * converter.C (Formats::view): reverted! Incorrect fix.
9229 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9231 * converter.C (Formats::view): only output the -paper option
9232 if the dvi viewer is xdvi, thereby fixing bug #233429.
9234 2001-08-23 Herbert Voss <voss@perce>
9236 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
9238 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
9240 * Spacing.h (Spacing): Set space to Default on in the default
9243 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
9245 * vc-backend.h (RCS::versionString): add RCS to version
9246 (CVS::versionString): add CVS to version
9248 * vc-backend.C (scanMaster): do not add CVS to version.
9249 (scanMaster): do not add RCS to version
9251 * lyxvc.C (versionString): new method
9253 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
9255 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9257 * Spacing.C (set): initialize fval
9259 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
9261 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
9264 2001-08-16 Juergen Vigna <jug@sad.it>
9266 * lyxfunc.C (dispatch): implemented the new FINISHED states.
9268 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9270 * BufferView_pimpl.C:
9273 * text2.C: setParagraph takes linespacing now
9275 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
9277 * LyxAction.C: add internal LFUN_CITATION_INSERT
9279 * LyXView.C: actually apply fix
9281 * bufferlist.C: fix open non-existent file
9283 * lyxfind.C: fix indentation
9285 * lyxfunc.C: remove unneeded assert, fix typo
9287 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9289 * MenuBackend.C: use "Floatname List"
9291 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
9293 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
9294 when converting LaTeX layout to insetERT.
9295 Generate a non-collapsed float when reading old float
9297 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9299 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
9302 2001-08-13 Juergen Vigna <jug@sad.it>
9304 * text.C (fill): return 0 instead of 20 as this seems to be the more
9307 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9309 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
9312 2001-08-13 Juergen Vigna <jug@sad.it>
9314 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
9316 (SearchBackward): comment out the unlocking of the inset_owner this
9317 should not be needed!
9319 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
9321 * Many files: Remove inherit_language, and add latex_language
9323 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
9326 2001-08-10 Juergen Vigna <jug@sad.it>
9328 * text.C (prepareToPrint): fixed hfill-width in draw!
9330 * BufferView2.C (selectLastWord): save the selection cursor as this
9331 now is cleared in the function LyXText::clearSelection!
9333 2001-08-08 Juergen Vigna <jug@sad.it>
9335 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
9336 BACKSPACE type functions.
9338 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
9339 is only cutted from the document but not put in the cut-buffer, where
9340 still the old stuff should be.
9342 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
9344 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
9346 * tabular.C (SetWidthOfCell): fixed special case where the width
9348 (LeftLine): handle '|' in align_special.
9350 (LeftAlreadyDrawed): ditto
9351 (SetWidthOfCell): ditto
9353 2001-08-07 Juergen Vigna <jug@sad.it>
9355 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
9357 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9359 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
9360 * lyxlex.[hC]: ditto
9362 2001-08-06 Juergen Vigna <jug@sad.it>
9364 * text.C (getVisibleRow): fix up row clearing a bit.
9366 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9368 * minibuffer.C: make sure the X server sees the changes in the input.
9370 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9372 * paragraph.C (getFont): split into...
9373 (getLabelFont): this
9374 (getLayoutFont): and this
9375 * paragraph_pimpl.C (realizeFont): calling this
9377 * text2.C (getFont): split into...
9378 (getLayoutFont): this
9379 (getLabelFont): and this
9380 (realizeFont): all three calling this
9382 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
9385 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9387 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
9389 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
9391 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
9392 layouts from the Quote inset insertion.
9394 2001-08-03 Juergen Vigna <jug@sad.it>
9396 * BufferView_pimpl.C (update): do the fitCursor only at the end!
9398 * screen.C (drawFromTo): don't call fitcursor here and do the loop
9399 only if status not is already CHANGED_IN_DRAW (second level).
9401 * text.C (draw): don't set the need_break_row when inside an
9404 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9406 * buffer.C (parseSingleLyXformat2Token): handle more latex
9409 * bufferview_funcs.[hC]: change function names to
9410 begin with small char, adjust other files.
9412 2001-08-02 André Pönitz <poenitz@gmx.net>
9415 BufferView_pimpl.C: remove broken special code for math-greek
9417 2001-08-02 Juergen Vigna <jug@sad.it>
9419 * BufferView_pimpl.C (update): redone this function so that we
9420 update the text again if there was a CHANGE_IN_DRAW.
9422 * screen.C (cursorToggle): removed LyXText parameter and recoded.
9423 (drawFromTo): added a new internal bool which is used by draw() and
9425 (general): some cursor drawing problems fixed.
9427 2001-08-01 Juergen Vigna <jug@sad.it>
9429 * lyxfind.C (LyXFind): fixed
9430 (SearchForward): ditto
9431 (SearchBackward): ditto
9433 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
9434 spurius drawing of the cursor in the main area.
9436 * text2.C (status): small fix which could lead to a segfault!
9437 (clearSelection): remove unneeded BufferView param.
9439 2001-08-01 André Pönitz <poenitz@gmx.net>
9441 * lyxfunc.C: small change due to changed mathed interface
9443 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9445 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
9447 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
9449 * lyxfunc.c: fail gracefully if file doesn't exist
9454 * BufferView_pimpl.C: IsDirWriteable() proto changed
9456 * LyXView.C: fix updateWindowTitle() to store the last title
9458 2001-07-31 Juergen Vigna <jug@sad.it>
9460 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
9461 the font (wrong since using of Paragraph::highestFontInRange).
9463 * paragraph.C (highestFontInRange): added a default_size parameter.
9465 * text.C (getVisibleRow): minor clear row changes (still not perfect).
9466 (setHeightOfRow): reformat
9468 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9470 * converter.[hC] + affected files: move to (inital-char)lowercase
9473 * ParagraphParameters.C (ParagraphParameters): remove commented code
9475 * PainterBase.[Ch]: remove commented code
9477 * LaTeXFeatures.h: add "bool floats" for float.sty
9479 * LaTeXFeatures.C (LaTeXFeatures): init floats
9480 (require): handle float
9481 (getPackages): do it with floats
9483 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9485 * BufferView_pimpl.C (Dispatch): improve handling of
9486 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
9488 * commandtags.h: #include lyxfont.h here temporarily to avoid
9491 * bufferlist.h: include LString.h here.
9493 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9495 * text2.C (getStringToIndex): new method.
9497 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
9499 * *: Reduced header file dependencies all over.
9501 2001-07-30 Baruch Even <baruch@lyx.org>
9503 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
9505 2001-07-29 Baruch Even <baruch@lyx.org>
9507 * buffer.C (readInset): Changed GRAPHICS to Graphics.
9509 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9511 * ParameterStruct.h (endif): add a default constructor to make
9512 sure that all variables is initialized.
9514 * ParagraphParameters.C (ParagraphParameters): adjust
9516 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9518 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
9519 index; also, check that there is something to index, and that it
9520 does not span over several paragraphs.
9521 (doubleClick): use WHOLE_WORD_STRICT for double click.
9523 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
9525 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
9528 2001-07-26 Baruch Even <baruch@lyx.org>
9530 * buffer.C (readInset): Changed to call up InsetGraphics when reading
9531 an InsetFig figure, backwards compatible reading of old figure code.
9533 2001-07-27 Juergen Vigna <jug@sad.it>
9535 * text2.C: font.realize function adaption.
9537 * text.C (draw): add a warnings lyxerr text if needed.
9539 * layout.C: font.realize function adaption.
9541 * language.C: add inherit_language and implement it's handlings
9543 * bufferview_funcs.C (StyleReset): remove language parameter from
9544 font creation (should be language_inherit now).
9546 * bufferparams.C (writeFile): handle ignore_language.
9548 * paragraph.C (getFontSettings): the language has to be resolved
9549 otherwise we have problems in LyXFont!
9551 * lyxfont.C (lyxWriteChanges): added document_language parameter
9552 (update): removed unneeded language parameter
9554 * paragraph.C (validate): fixed wrong output of color-package when
9555 using interface colors for certain fonts in certain environments,
9556 which should not seen as that on the final output.
9558 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
9560 * BufferView_pimpl.C:
9565 * LyXAction.C: add thesaurus support
9568 * lyxfind.C: add "once" parameter, for thesaurus, to not
9569 move to the next match
9571 2001-07-26 Juergen Vigna <jug@sad.it>
9573 * lyxfont.C (realize): honor ignore_language too!
9576 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
9578 * text.C (draw): one place more for ignore_language to not draw
9581 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
9583 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
9585 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9587 * buffer.C (parseSingleLyXformat2Token): a more general fix for
9588 the minipage conversion problem.
9590 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9592 * buffer.C (parseSingleLyXformat2Token): check minipage if we
9595 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9597 * BufferView.h: don't forward declare WorkArea
9599 * BufferView.C: don't include WorkArea.h
9601 2001-07-25 André Pönitz <poenitz@gmx.net>
9605 * lyxfunc.C: new LFUN 'math-space'
9607 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
9609 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9611 * text2.C (toggleInset): call open/close
9613 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9615 * lyxfunc.C (dispatch): add debug for the disabled case
9617 * font.C (buttonText): make similar to rectText
9619 * buffer.C (readInset): comment out parsing of insetlist and
9622 * PainterBase.C (rectText): small correction
9624 * BufferView_pimpl.C: comment out insettheorem and insetlist
9625 * LyXAction.C: ditto
9626 * commandtags.h: ditto
9628 2001-07-24 Juergen Vigna <jug@sad.it>
9630 * text.C (draw): honor the ignore_language.
9632 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
9634 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9636 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
9639 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9641 * lyxtext.h: remove unused (and unimplemented) methods
9643 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9645 * text.C (getVisibleRow): honor background color
9648 * Painter.h: remove default color argument for fillRectangle
9650 * text.C (backgroundColor): new method
9652 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9654 * text.C (getVisibleRow): adjust
9656 * font.[Ch] (rectText): new method, metrics
9657 (buttonText): new method, metrics
9659 * PainterBase.[hC]: make rectText and buttonText always draw and take
9662 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9664 * ToolbarDefaults.C (read):
9665 * MenuBackend.C (read): allow escaping in all strings
9667 * BufferView_pimpl.C (insertAndEditInset): new method.
9668 (Dispatch): use insertAndEditInset whenever appropriate.
9670 * BufferView_pimpl.C (insertNote): removed
9672 * BufferView_pimpl.C (smartQuote): new method, moved from
9673 BufferView; if an insetquote cannot be inserted, insert a '"'
9676 * BufferView2.C: remove insertCorrectQuote();
9678 * lyxfunc.C (getStatus): Add support for all remaingin
9681 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9683 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9684 command (necessary to pass " as parameter of self-insert.
9686 * text.C (selectWordWhenUnderCursor):
9687 (selectWord): add word_location parameter
9688 (selectWordWhenUnderCursor): same + remove special code for word
9690 (selectNextWord): use kind() to guess type of insetspecialchar,
9693 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9694 (insertErtContents): create ert insets as collapsed.
9695 (readInset): better compatibility code for Info inset.
9697 2001-07-20 Juergen Vigna <jug@sad.it>
9699 * lyxfunc.C (dispatch): use always LyXFind now!
9701 * text2.C (init): add a reinit flag so that the LyXText can be
9702 reinited instead of deleted and reallocated (used in InsetText).
9704 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9710 2001-07-18 Juergen Vigna <jug@sad.it>
9712 * text.C (selectNextWord): handle insets inside inset by calling
9713 always the bv->text functions so that we can go up the_locking_inset!
9715 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9716 in strange locations when inside an inset!
9718 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9719 handling to include insets.
9721 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9723 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9725 * LyXAction.C (init):
9727 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9728 LIGATURE_BREAK, since the name is so stupid.
9730 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9732 * buffer.C (readInset): enable reading of new InsetNotes as well as old
9735 * FontLoader.C: remove FORMS_H_LOCATION cruft.
9737 * sp_form.[Ch]: remove.
9739 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9741 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9744 * src/buffer.C (readInset): ditto.
9746 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9748 * BufferView_pimpl.C (specialChar): new method. Obsoletes
9749 menuSeparator(), endOfSentenceDot(), ldots() and
9750 hyphenationPoint(), which are therefore removed.
9751 (Dispatch): handle LFUN_HYPHENATION_BREAK.
9753 * LyXAction.C (init):
9754 * commandtags.h: add LFUN_HYPHENATION_BREAK.
9756 * paragraph.C (getWord): removed.
9758 * BufferView_pimpl.C (Dispatch): use last word or selection for
9759 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9761 * lyx_main.C (queryUserLyXDir): do not ask before creating
9762 user_dir, except if it has been named explicitely.
9764 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9766 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9767 a document of zero size.
9769 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
9771 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9772 approriately in the c-tor and in require().
9773 (getPackages): output the appropriate LaTeX for natbib support.
9775 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9776 variables "use_natbib" and "use_numerical_citations" when reading the
9778 (readInset): read the various natbib cite commands.
9779 (validate): white-space change.
9781 * bufferparams.[Ch]: new variables "bool use_natbib" and
9782 "bool use_numerical_citations".
9783 (writeFile): output them in the LyX file.
9785 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9787 * lyxfunc.C (getStatus): add support for all the inset insertion
9790 * text2.C (insertInset):
9791 * paragraph.C (insetAllowed):
9792 * BufferView_pimpl.C (insertInset): update to take in account the
9793 renaming of insertInsetAllowed
9795 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9797 * text2.C (getInset): new method. returns inset at cursor position.
9799 * BufferView_pimpl.C (Dispatch): changes because of this.
9801 * LyXAction.C (init): rename open-stuff to inset-toggle.
9803 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9805 * text2.C (toggleInset): renamed from openStuff; use
9808 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
9810 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9812 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9814 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
9816 * buffer.C (readLyXformat2): Add filename to the error dialog
9818 2001-07-18 Juergen Vigna <jug@sad.it>
9820 * tabular.C (GetCellNumber): put an assert here instead of the check!
9822 2001-07-17 Juergen Vigna <jug@sad.it>
9824 * BufferView_pimpl.C (toggleSelection): adapted too.
9826 * text.C (selectNextWord): adapted for use with insets.
9827 (selectSelectedWord): ditto
9829 2001-07-17 Juergen Vigna <jug@sad.it>
9831 * sp_spell.C (PSpell): fix initialitation order.
9833 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9835 * paragraph.C: spacing
9837 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
9839 * sp_spell.C: repair language selection for pspell
9841 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9843 * lyxfunc.h: change more methods to begin with lower char.
9845 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
9847 * buffer.C (parseSingleLyXformat2Token): Generate error insets
9848 for unknown layouts.
9850 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
9852 * buffer.C (readLyXformat2): Generate an error dialog if there are
9855 2001-07-16 Juergen Vigna <jug@sad.it>
9857 * sp_spell.C: always compile ISpell part.
9859 * lyxrc.C: added use_pspell entry and it's handling.
9861 2001-07-13 Juergen Vigna <jug@sad.it>
9863 * sp_spell.C: removed double includes.
9865 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
9867 Consistent use of Lsstream.h:
9868 * Lsstream.h: added using std::stringstream for consistencies sake.
9870 * buffer.C: removed using std::stringstream
9872 * lyxfont.C (stateText):
9873 * paragraph.C (asString):
9874 * text.C (selectNextWord, selectSelectedWord):
9875 * text2.C (setCounter):
9876 * vspace.C (asString, asLatexString):
9877 std::ostringstream -> ostringstream.
9879 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9881 * LyXAction.C: add LFUN_HELP_ABOUTLYX
9882 * commandtags.h: add LFUN_HELP_ABOUTLYX
9883 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9885 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9887 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9889 * lyx_gui_misc.C: remove spellchecker
9890 * lyxfunc.C: showSpellchecker
9892 * sp_ispell.h: added
9893 * sp_pspell.h: added
9895 * sp_form.[Ch]: removed
9896 * spellchecker.[Ch]: removed
9898 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
9900 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9902 (simpleTeXSpecialChars): Simply print the input character without
9903 any special translation if pass_thru is set.
9905 * layout.h: Added bool pass_thru to layout class for being able to
9906 implement pass through of a paragraph for Literate Programming.
9908 * layout.C: add LT_PASS_THRU to LayoutTags enum.
9909 * layout.C (LyXLayout): set pass_thru to flase in constructor.
9910 * layout.C (Read): add "passthru" to list of layout tags and add
9911 code to set the pass_thru boolean when it is read.
9913 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9915 * trans_decl.h: remove allowed from KmodInfo
9917 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9921 * paragraph_pimpl.C (erase): use boost::prior
9923 * Painter.C (text): use data() instead of c_str() when length is
9925 * WorkArea.C (putClipboard): ditto
9926 * font.h (width): ditto
9928 * BufferView2.C: use it-> instead of (*it). for iterators
9930 * paragraph_pimpl.C: ditto
9931 * paragraph.C: ditto
9932 * minibuffer.C: ditto
9937 * converter.C: ditto
9939 * Variables.C: ditto
9940 * TextCache.C: ditto
9941 * MenuBackend.C: ditto
9942 * LyXAction.C: ditto
9944 * FloatList.C: ditto
9946 * ColorHandler.C (LyXColorHandler): ditto
9948 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9950 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9952 * text2.C (openStuff): reintroduce this method (which had been
9953 nuked in NEW_INSETS frenzy).
9955 * lyxfunc.C (Dispatch): when an action has not been handled, use
9956 its name in the error message, not its number.
9958 * paragraph.C (inInset): change method name to begin with lowercase.
9961 * text2.C: updates because of this.
9963 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9965 * ToolbarDefaults.C (add): add spaces in error message
9967 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9969 * buffer.C (readLyXformat2): initialize the ert comp. variables.
9970 (readLyXformat2): rename return_par to first_par, use lyxlex's
9971 pushToken and remove the manual push handling.
9972 (parseSingleLyXformat2Token): add another ert comp. variable:
9973 in_tabular, rename return_par to first_par. handle newlines better
9975 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9977 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9979 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9981 * text2.C (getParFromID): removed
9983 * buffer.C (getParFromID): new method moved form lyxtext.
9984 * BufferView2.C (insertErrors): adjust
9985 (setCursorFromRow): adjust
9986 * BufferView_pimpl.C (restorePosition): adjust
9987 * lyxfunc.C (Dispatch): adjust
9988 * undo_funcs.C (textUndo): adjust
9990 (textHandleUndo): adjust
9991 (textHandleUndo): adjust
9993 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9995 * buffer.C: up' the LYX_FORMAT
9997 * lyxfont.h: turn NO_LATEX on as default
9999 * buffer.C (insertErtContents): new methods of tex style compability.
10000 (parseSingleLyXformat2Token): use it several places.
10001 * tabular.C (OldFormatRead): and here
10003 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10005 * text2.C: remove some commented code.
10008 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10009 * trans.C: changes because of the above.
10011 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
10013 * text2.C (setCounter): Fix counters bug with bibliography layout.
10015 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10017 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10018 own member functions
10019 (simpleTeXSpecialChars): ditto
10021 2001-07-06 Juergen Vigna <jug@sad.it>
10023 * a lot of files: changed the access to LyXText::status and the
10024 call of undo-functions.
10026 * undo.[Ch]: added a inset_id to the undo informations.
10028 * undo_funcs.[Ch]: added and moved here all undo functions.
10030 * lyxtext.h: give the status enum a weight, made status_ a private
10031 variable and made accessor functions for it, removed the whole bunch
10032 of undo-functions as they are now in their own file, make some
10033 functions publically available. Added function ownerParagraph with
10036 * paragraph.[Ch]: added "bool same_ids" to the constructor,
10037 made InInset() a const function, added getParFromID() function.
10039 * buffer.[Ch]: added const version for inset_iterator functions,
10040 added getInsetFromID() function.
10042 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
10043 changed undo functions for new version.
10045 2001-07-05 Juergen Vigna <jug@sad.it>
10047 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
10048 unknow mechanism does not call the proper constructor but only this
10049 one also if I request the other!?
10051 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10053 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
10055 * text2.C (LyXText): use initialization lists.
10057 * lyxtext.h (Selection): initialize set_ and mark_
10058 (init): remove method
10060 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
10062 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
10064 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10066 * screen.[Ch]: change method names to begin with lowercase
10068 * BufferView_pimpl.C (updateScrollbar): simplify further and
10069 hopefully make it a bit faster.
10071 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10073 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
10074 calling directly xforms functions.
10076 * Painter.C (Painter):
10077 * lyx_cb.C (MenuWrite):
10078 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
10081 * lyx_gui.C: remove bogus guiruntime extern declaration.
10083 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10085 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
10087 (redoDrawingOfParagraph): ditto
10088 (redoParagraphs): ditto
10089 (cutSelection): don't create a object for CutAndPaste use the
10090 static method directly
10091 (pasteSelection): ditto
10093 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
10096 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10098 * modifications to some other files because of this.
10100 * Makefile.am (lyx_SOURCES): add XFormsView
10102 * XFormsView.[Ch]: new files
10104 * LyXView.[Ch]: make LyXView a base class for the gui handling for
10105 the main window. Move the gui dependent stuff to XFormsView
10107 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10109 * tabular.C (GetCellInset): update cur_cell also in the row/col
10110 version of this function.
10112 * lyxfunc.C: no need to include figure_form.h here.
10118 * lyxvc.C: no need to include forms.h here.
10120 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10122 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
10124 * lyxfunc.C (Dispatch):
10126 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
10127 constructor argument.
10129 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10131 * paragraph.C (Paragraph): dont't clear, and just set layout.
10132 (makeSameLayout): use params's copy contructor.
10134 * ParagraphParameters.[Ch] (makeSame): delete method
10136 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
10138 * Variables.[Ch]: fix indentation, rename set to isSet
10140 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10142 * lyxfunc.C (Dispatch): fix typo
10144 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10146 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
10149 * bufferlist.C: include assert.h for emergencyWrite().
10151 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10153 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
10154 give up at last (bug #425202) !
10156 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
10162 * spellchecker.C: strip spellchecker options and bring up
10163 preferences tab instead
10165 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10167 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
10168 the istringstream constructor
10170 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10172 * paragraph.C (getLayout): fix return value
10174 * paragraph.h: do not declare getLayout as inline.
10176 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
10178 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10180 * lyxcursor.h (operator<): new func
10181 (operator>): new func
10182 (operator>=): new func
10183 (operator<=): new func
10185 * text.C (changeCase): use selection.start and selection.end
10186 (changeRegionCase): require from to be <= to. Require par to be a
10189 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
10191 2001-06-27 Juergen Vigna <jug@sad.it>
10193 * text.C (cursorLeftOneWord): changed to return the cursor and added
10194 overlay with BufferView * parameter which calls this one.
10196 (selectWord): use new getWord function.
10197 (changeCase): renamed from changeWordCase as and extended to work
10198 also on selections.
10200 * lyxtext.h: added enum word_location
10202 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
10203 changeCase as this operates now also on selections.
10205 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
10207 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
10209 * many files: send debug output to Debug::INFO instead of
10212 * converter.C (View):
10214 (Move): send debug output to Debug::FILES instead of console.
10216 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
10218 * lyxfunc.C (getStatus): use func_status
10220 * func_status.h: new header, describing the results of
10221 LyXFunc::getStatus;
10223 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
10226 2001-06-25 The LyX Project <jug@sad.it>
10228 * buffer.C (sgmlOpenTag):
10230 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
10232 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10234 * text2.C: remove some dead code
10236 * tabular.C (GetCellInset): store the last cell checked (gotten)
10238 * tabular.h: add the helper for the speedup
10240 * lyxtext.h: remove some dead code
10242 2001-06-26 The LyX Project <Asger>
10244 * paragraph.C: Change export to LaTeX of alignment to
10245 \begin{center} and family for better roundtrip work with reLyX.
10247 * Tune the math drawing a bit.
10249 2001-06-25 The LyX Project <Asger>
10251 * LColor.C (LColor): New color for math background. New color
10254 2001-06-25 The LyX Project <jug@sad.it>
10256 * lyxfunc.C (MenuNew): remove extra check for .lyx file
10258 * lyxfunc.C (Open):
10259 * bufferlist.C (newFile): do not restrict to files ending with
10262 * BufferView_pimpl.C (MenuInsertLyXFile):
10264 2001-06-24 The LyX Project <jug@sad.it>
10266 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
10269 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10271 * lyxtext.h: rename most methods to begin with a small char.
10272 Lots of changes because of this.
10274 * paragraph.C (Paragraph): do not call fitToSize
10275 (erase): call Pimpl::erase
10276 (insertChar): call Pimpl::insertChar
10277 (insertInset): call Pipl::insertInset
10278 (breakParagraph): do not call fitToSize
10279 (breakParagraphConservative): do not call fitToSize
10280 (fitToSize): remove method
10282 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
10284 2001-06-24 The LyX Project <Asger>
10286 * Fix Qt compilation^2
10288 2001-06-24 The LyX Project <jug@sad.it>
10290 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
10291 depthHook(getDepth()-1).
10294 * ParagraphParameters.h:
10295 * ParameterStruct.h: change type of depth to unsigned int ==
10296 depth_type. Many adaptations to other files before of that.
10298 2001-06-24 The LyX Project <Asger>
10300 * Fix Qt compilation.
10302 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10304 * paragraph.h: renamed several methods to begin with small letter.
10305 several changes to many parts of the code because of this.
10307 2001-06-23 The LyX Project <jug@sad.it>
10309 * text2.C (InsertStringAsLines): renamed from InsertStringA;
10310 rewritten to discard all double spaces when KeepEmpty is off
10311 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
10312 to only handle newlines but not fiddle with spaces and friends.
10314 * lyxfunc.C (MenuNew): when doing 'new from template', use
10315 template_path as default directory
10317 2001-06-23 The LyX Project <Asger>
10319 * Clean-up of header file includes all over
10320 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
10322 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10324 * paragraph.h: renamed from lyxparagraph.h
10326 2001-06-23 Asger <lyx@violet.home.sad.it>
10328 * Buffer.h: Removed Buffer::resize
10329 * BufferList.h: Removed BufferList::resize
10330 * LyXView.h: Added LyXView::resize. This way, we will only reflow
10331 the document lazily when we change the width, or the font settings.
10333 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10335 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
10337 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10339 * buffer.h: remove out of date comment
10341 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10344 * screen.C: fix "theoretical" GC leak
10346 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10348 * LaTeX.C (scanAuxFile):
10349 (deplog): remove trailing \r when reading stream (useful under
10352 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
10354 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
10355 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
10356 and BufferView::theLockingInset(Inset*), so should use them and not
10357 access bv_->text->the_locking_inset directly.
10359 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
10361 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10364 * tex-defs.h: remove old unused file
10366 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
10368 * BufferView_pimpl.C: fix typo, remove minibuffer message
10369 when buffer has loaded
10371 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10373 * lyxfunc.C (Dispatch): use stringstream
10374 (MenuNew): use stringstream
10375 (Open): use stringstream
10377 * importer.C (Import): use stringstream
10379 * bufferview_funcs.C (CurrentState): use stringstream
10381 * LaTeX.C (run): use stringstream
10383 * BufferView_pimpl.C (savePosition): use stringstream
10384 (restorePosition): use stringstream
10385 (MenuInsertLyXFile): use stringstream
10387 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
10400 * vspace.C: removed // -*- C++ -*- as first line.
10403 * version.h: added // -*- C++ -*- as first line.
10405 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10407 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
10409 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
10412 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10414 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
10417 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10419 * gettext.C: include LString.h even when --disable-nls is on.
10421 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
10423 * converter.h (Get): changed argument type from int to
10424 FormatList::size_type to avoid unnecessary conversion.
10426 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
10429 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10431 * gettext.h: include LString.h even when --disable-nls is on.
10433 2001-06-07 Juergen Vigna <jug@sad.it>
10435 * text.C (BreakAgain): subst spaces with tabs.
10437 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
10438 (resizeInsetsLyXText): set force on resizeLyXText.
10440 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10442 * gettext.h (gettext_init):
10443 (locale_init): use a real definition instead of a macro
10445 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10447 * Bufferview_pimpl.C:
10449 * LColor.C: further lcolor tidies
10451 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10453 * BufferView_pimpl.C (updateScrollbar): simplify.
10455 * BufferView2.C: don't include insets/insetinfo.h, change
10456 prototype for insertInset and call the Pimpl version. let
10457 updateInset call Pimpl version.
10459 * BufferView.h: move inset_slept to BufferView::Pimpl, move
10460 gotoInset to BufferView::Pimpl
10462 2001-06-01 Juergen Vigna <jug@sad.it>
10464 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
10465 inside a LockingInset (is the update needed at all?).
10467 2001-05-31 Juergen Vigna <jug@sad.it>
10469 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
10470 here not the old one otherwise how should we compare it afterwards
10473 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10478 * FontInfo.C: bring C functions into global namespace when
10481 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10483 * LString.h: make sure config.h has been loaded before LString.h.
10485 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
10486 (one for each char read by EatLine!).
10488 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
10491 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10493 * paragraph.C (BreakParagraph): set the inset_owner in the new par
10494 to the same as the par we break from
10496 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
10498 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
10500 * MenuBackend.C (expand): also create menu entries for wide
10501 versions of the floats.
10503 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
10505 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
10507 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
10508 frontends/Makefile.am
10514 * tabular.C (getTokenValue): add std::
10516 * tabular-old.C (getTokenValue): add std::
10517 (getTokenValue): ditto
10518 (getTokenValue): ditto
10520 * screen.C (ToggleSelection): adjust
10522 * lyxtext.h: put selection cursors inside a Selection struct.
10524 * lyxfunc.C (moveCursorUpdate): adjust
10526 * lyxfont.C (latexWriteStartChanges): add std::
10528 * lyxfind.C: adjust
10530 * font.h: delete with(char const *, LyXFont const &)
10532 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
10534 * FontInfo.C (getFontname): add std::
10536 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
10537 (workAreaButtonPress): adjust
10538 (tripleClick): adjust
10540 (moveCursorUpdate): adjust
10543 * BufferView2.C (gotoInset): adjust
10545 2001-05-30 Juergen Vigna <jug@sad.it>
10547 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
10548 to check pspell I add this as default as I now have new pspell
10549 libraries and they seem to use this.
10551 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10553 * text2.C (CutSelection): make the cursor valid before the call to
10556 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10558 * kbsequence.C (parse): de-uglify a bit the parsing code, which
10559 relied on 0 terminated strings and other horrors. Bug found due to
10560 the new assert in lyxstring!
10562 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
10565 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10567 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
10570 * lyxfunc.C (processKeySym): change method of getting to the
10573 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
10574 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
10575 * BufferView_pimpl.[Ch]: here as private methods.
10577 2001-05-28 Juergen Vigna <jug@sad.it>
10579 * text.C (SetHeightOfRow): added the update() call again as it is
10580 needed to initialize inset dimensions!
10582 2001-05-16 Juergen Vigna <jug@sad.it>
10584 * text2.C (SetCharFont): Add new function with BufferView * and
10585 bool toggleall parameters for setting insets internal fonts.
10586 (SetFont): Freeze the undo as we may change fonts in Insets and
10587 all this change should be inside only one Undo!
10589 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
10590 setting font's in insets as for them we have the SetFont function!
10592 2001-05-15 Juergen Vigna <jug@sad.it>
10594 * text2.C (ClearSelection): to be sure we REALLY don't have any
10597 * tabular.C (TeXCellPreamble): fixed the left border problem for
10600 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
10602 * LaTeX.C (deplog): Make sure that the main .tex file is in the
10605 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10607 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
10608 LFUN_BREAKPARAGRAPH.
10610 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
10611 help test to "internal only", similar for LFUN_INSERT_URL
10613 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10614 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
10615 auto_region_delete and deadkeys.
10617 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
10620 * LColor.C: remove some dead entries, tidy a little
10622 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10624 * lyxfunc.C (processKeySym): comment the Escape handling, remove
10626 (Dispatch): implement LFUN_ESCAPE
10628 * commandtags.h: add LFUN_ESCAPE
10630 * LyXAction.C (init): add entry for LFUN_ESCAPE
10632 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
10633 Remove commented code.
10634 (insertNote): moved here
10635 (open_new_inset): moved here
10637 * BufferView[2].[Ch]: move insertNote and open_new_inset to
10640 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10642 * kbmap.C (findbinding): clean it up and make it work correctly.
10644 * lyx_main.C (init): do not pass argc and argv as parameters
10646 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
10648 * buffer.C: fix path for OS/2 & Win32
10652 * lyx_main.C: Added os:: class.
10654 * os2_defines.h: update
10656 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10658 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10659 better by trying again with reduced state.
10661 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10663 * lyxrc.C (read): print error about invalid key sequence only when
10664 debugging (because not all latinX keysyms are known to some X
10667 * kbsequence.C (getiso): add a few std:: qualifiers
10668 (getiso): comment out extra return statement.
10670 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
10672 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
10674 (Dispatch): enhance the accent inset a bit. (not perfect)
10676 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10678 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
10680 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10682 * bufferlist.C (emergencyWrite): fix assert() call
10684 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
10686 * text.C (InsertChar): Added trivial patch to only send the "you
10687 can not do multiple spaces this way" message once during a
10690 2001-05-08 Baruch Even <baruch@lyx.org>
10692 * Makefile.am: Changed order of libraries to get LyX to link properly
10693 with the gnome frontend.
10695 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10697 * LaTeXFeatures.h: add a std:: qualifier
10699 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10701 * paragraph.C (String): use stringstream
10703 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10705 * paragraph.C (writeFile): remove footflag arg
10707 * buffer.C (makeLaTeXFile): use stringstream
10708 (latexParagraphs): remove footnot gurba
10710 * LaTeXFeatures.C (getPackages): use stringstream
10711 (getMacros): likewise
10712 (getTClassPreamble): likewise
10713 (getFloatDefinitions): new method
10715 * paragraph.C (writeFile): reindent
10718 * WorkArea.h: revert the xpos + etc changes.
10720 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10722 * lyxparagraph.[Ch]: add copy constructor, remove Clone
10724 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10725 (pasteSelection): likewise
10726 * text2.C (CreateUndo): likewise
10728 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10730 * minibuffer.C (peek_event): temporarily reduce the functionality
10731 of the minibuffer (to allow args on lfuns)
10733 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10734 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10736 * buffer.C (readInset): add compability reading of old float
10737 lists, add reading of new style float list.
10738 (readInset): avoid reevaluation of inscmd.getCmdName()
10739 (getLists): reindent
10741 * MenuBackend.C (MenuItem): implement parsing of
10742 md_floatlistinsert and md_floatinsert.
10743 (expand::LastFiles): move initalizaton of iterators out of loop,
10744 avoid reevaluation.
10745 (expand::Documents): introduce typdedef vector<string> Strings,
10747 (expand::ExportFormats): introduce typedef vector<Format const *>
10748 Formats, and use it.
10749 (expand): implement FloatListInsert and FloatInsert.
10751 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10752 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10753 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10755 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10757 (Dispatch::LFUN_FLOAT_LIST): implement
10759 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10761 * LaTeX.C (run): Fix problem with --export code.
10763 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10765 * BufferView.[Ch] (workarea): removed.
10766 (getClipboard) new method; wrapper for workarea()->getClipboard()
10768 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10771 * WorkArea.h (width, height, xpos, ypos): These methods all
10772 returned the dimensions of the work_area sub-area of WorkArea,
10773 resulting in a position error if the WorkArea were resized. Now
10774 return the dimensions of the entire WorkArea.
10776 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10778 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10780 * LaTeX.C (deplog): correct the syntax of regex reg1
10782 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10784 * undo.C: remove !NEW_INSETS cruft
10786 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10788 * text2.C: remove !NEW_INSETS cruft
10790 * text.C: remove !NEW_INSETS cruft
10792 * tabular.C: remove !NEW_INSETS cruft
10794 * spellchecker.C: remove !NEW_INSETS cruft
10796 * lyxtext.h: remove !NEW_INSETS cruft
10798 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10800 * lyxfunc.C: remove !NEW_INSETS cruft
10802 * lyxfind.C: remove !NEW_INSETS cruft
10804 * lyx_cb.C: remove !NEW_INSETS cruft
10806 * figureForm.C: remove !NEW_INSETS cruft
10808 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10810 * buffer.[Ch]: remove !NEW_INSETS cruft
10812 * ToolbarDefaults.C: remove !NEW_INSETS cruft
10814 * CutAndPaste.C: remove !NEW_INSETS cruft
10816 * BufferView_pimpl.C: remove !NEW_INSETS cruft
10818 * BufferView2.C: remove !NEW_INSETS cruft
10820 * BufferView.h: remove !NEW_INSETS cruft
10822 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10824 * Lsstream.h: include LString.h before the sstream headers to
10825 fix problem with gcc 2.95.3 and lyxstring
10827 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10829 * lyx_main.C: add using directives when needed for C functions
10830 declared in std:: namespace.
10832 2001-04-27 Juergen Vigna <jug@sad.it>
10834 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10835 (SetHeightOfRow): comment out the update call should not be needed!
10837 2001-04-13 Juergen Vigna <jug@sad.it>
10839 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10840 (LyXTabular): tried to minimize operator= operations (and realized
10841 hopfully Lars wish).
10843 2001-04-27 Juergen Vigna <jug@sad.it>
10845 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10847 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10849 * lyxfunc.C (Dispatch): hack to make listof algorithm work
10851 * buffer.C (readInset): hack to make listof algorithm work
10853 * BufferView_pimpl.C: hack to make listof algorithm work
10855 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10857 * LyXAction.C: removed all !NEW_INSETS cruft
10858 (init): moved lfun_item in method
10860 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10862 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10864 * BufferView2.C (theLockingInset): white space.
10866 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10868 * minibuffer.C: include <iostream>
10870 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10872 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10874 * commandtags.h: add LFUN_TRANSPOSE_CHARS
10876 * text.[Ch] (TransposeChars): new method
10878 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10880 * call message directly through LyXView instead of through LyXFunc
10881 * BufferView2.C: adjust
10882 * BufferView_pimpl.C: adjust
10883 * FontLoader.C: adjust
10885 * bufferview_funcs.C: adjust
10886 * converter.C: adjust
10887 * figureForm.C: adjust
10888 * importer.C: adjust
10890 * lyx_gui_misc.C: adjust
10891 * lyxfunc.C: adjust
10894 + more files in subdirs
10896 * lyxparagraph.h (size): move up int file
10899 * adjust all uses of Assert to lyx::Assert.
10901 * BufferView2.C (ChangeCitationsIfUnique): adjust for
10902 lyxfunctional in namespace lyx
10903 * layout.C (hasLayout): ditto
10906 (delete_layout): ditto
10907 (NumberOfClass): ditto
10908 * converter.C (GetFormat): ditto
10913 * bufferlist.C (getFileNames): ditto
10914 (emergencyWriteAll): ditto
10917 * MenuBackend.C (hasSubmenu): ditto
10920 * BufferView_pimpl.C (getInsetByCode): ditto
10922 2001-04-18 Juergen Vigna <jug@sad.it>
10924 * vspace.C (asLatexString): fixed the 100% problem.
10926 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10928 * lyxfunc.C (Dispatch):
10930 * minibuffer.h: add a few std:: qualifiers
10932 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10934 * minibuffer.[Ch]: reimplement so that commands is initiated and
10935 run from lyxfunc, simplified som handling, and made the completion
10936 and history code for complete. wip.
10938 * lyxfunc.C (processKeySym): call message
10939 (miniDispatch): new temporary method
10940 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10941 (LFUN_MESSAGE): implement
10942 (LFUN_MESSAGE_PUSH): implement
10943 (LFUN_MESSAGE_POP): implement
10944 (initMiniBuffer): the initial/defualt minibuffer message.
10946 * lyxfont.[Ch]: inline some more getters
10948 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10950 * lyx_gui_misc.[Ch] (WriteStatus): remove method
10952 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10953 (AutoSave): use LFUN_MESSAGE
10954 (Reconfigure): ditto
10956 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10958 * figureForm.C: use LFUN_MESSAGE
10960 * converter.C (runLaTeX): use LFUN_MESSAGE
10962 * bufferview_funcs.C: use LFUN_MESSAGE
10964 (changeDepth): ditto
10966 * bufferparams.h: use boost::
10968 * bufferlist.h: inherit privately from noncopyable
10970 * bufferlist.C (loadLyXFile): remove some commented code.
10972 * buffer.C (runChktex): use LFUN_MESSAGE
10974 * ShareContainer.h: inherit privately from noncopyable
10976 * ParagraphParameters.[hC] (depth): inline it.
10978 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10980 (message): new method
10981 (messagePush): ditto
10982 (messagePop): ditto
10983 (show): init minibuffer
10984 (showState): direct call
10986 * LaTeX.[Ch]: inherit privately from noncopyable
10987 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10988 instead of WriteStatus.
10990 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10992 * BufferView_pimpl.C (buffer): don't init minibuffer
10993 (workAreaButtonPress): use LFUN_MESSAGE
10994 (workAreaButtonRelease): ditto
10995 (savePosition): ditto
10996 (restorePosition): ditto
10997 (MenuInsertLyXFile): ditto
10998 (workAreaExpose): don't init minibuffer
10999 (update): remove commented code, simplify
11001 * BufferView2.C (openStuff): use LFUN_MESSAGE
11002 (toggleFloat): ditto
11005 (copyEnvironment): ditto
11006 (pasteEnvironment): ditto
11011 (updateInset): remove some commented code
11013 * lastfiles.h: inherit privately from noncopyable
11016 * lyx_main.h: ditto
11018 * lyxlex_pimpl.h: ditto
11020 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11021 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11022 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11024 * LyXAction.h: inherit privately from noncopyable, add methods
11025 func_begin, func_end, returning iterators to the func map.
11027 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
11028 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11029 (func_begin): new method
11030 (func_end): new method
11032 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
11034 (copySelection): ditto
11035 (pasteSelection): ditto
11037 * BufferView.C: whitespace change
11038 * BufferView.h: inherit privately from noncopyable
11040 2001-04-16 Allan Rae <rae@lyx.org>
11042 * tabular-old.C (l_getline):
11043 * spellchecker.C (sc_check_word):
11044 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
11045 an unrecognised preprocessor directive. So ensure they're wrapped.
11047 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
11049 * src/exporter.C (Export): Give an error message when path to file
11052 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
11054 * LaTeX.C (deplog): Always check that foundfile exists.
11056 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11059 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
11061 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11063 * tabular.[Ch] (getLabelList): implement new method
11065 * minibuffer.h: comment ouf setTiimer
11067 * minibuffer.C (ExecutingCB): constify res
11068 (peek_event): constify s
11069 (Set): constify ntext
11070 (Init): constify nicename
11072 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
11074 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
11075 (savePosition): use two params to Minibuffer::Set
11076 (restorePosition): ditto
11078 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11080 * lyx_main.C: include language.h
11082 * Makefile.am (lyx_main.o): add language.h
11084 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11090 * CutAndPaste.C: include gettext.h
11092 * lyxfont.h: remove old hack with ON and OFF.
11095 * lyxfont.h: do not include language.h...
11100 * bufferview_funcs.C:
11106 * paragraph.C: ... but do it here instead
11108 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11110 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
11112 * tabular.C: small reformat
11114 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
11117 (BreakParagraph): ditto
11118 (SetOnlyLayout): ditto
11121 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
11124 * lastfiles.C: removed most using decl, add std:: where needed
11126 * buffer.C: ws changes
11128 * MenuBackend.C (class compare_format): put into anon namespace
11129 (expand): constify label, names, action, action2
11132 * text.C (SingleWidth): constify font
11133 (IsBoundary): constify rtl2
11134 (GetVisibleRow): constify ww
11136 * LaTeX.C (deplog): constify logfile
11138 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
11140 (workAreaExpose): constify widthChange, heightChange
11142 * lyxrow.C (par): moved
11145 * lyxrow.h: as inlines here
11147 * lyxfont.h (shape): moved from lyxfont.C
11148 (emph): moved from lyxfont.C
11150 * lyxfont.C (LyXFont): use initialization list for all
11152 (shape): move to lyxfont.h as inline
11153 (emph): move to lyxfont.h as inline
11156 2001-04-04 Juergen Vigna <jug@sad.it>
11158 * vspace.C: had to include stdio.h for use of sscanf
11160 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
11163 * BufferView_pimpl.h: remove xforms cruft. Both classes are
11164 independent of xforms.
11166 2001-04-02 Juergen Vigna <jug@sad.it>
11168 * spellchecker.C: fixed namespace placing!
11170 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
11172 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
11173 the LyXParagraph * is 0.
11175 2001-03-29 Juergen Vigna <jug@sad.it>
11177 * vspace.C: added support for %, c%, p%, l%.
11178 (stringFromUnit): added helper function.
11179 (asLatexString): changed to give right results for the %-values.
11181 * buffer.C: convert the widthp in a width%.
11183 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
11185 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
11188 * figureForm.[Ch]: stripped the FD_from_figure manipulation
11189 code out of lux_cb.[Ch], ready for its (imminent?) removal.
11191 * lyx_cb.[Ch]: see above.
11193 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
11197 * lyx.[Ch]: replaced by figure_form.[Ch].
11201 * lyxfunc.C: changed headers associated with above changes.
11203 2001-03-27 Juergen Vigna <jug@sad.it>
11205 * BufferView_pimpl.C: set the temporary cursor right!
11207 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
11209 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
11211 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
11213 * LString.h: removed "using std::getline"!
11215 * BufferView_pimpl.C (Dispatch): changes due to changes in
11216 InsetInclude::Params.
11218 * buffer.C (tag_name): removed redundant break statements as they were
11219 producing lots of warnings with my compiler.
11221 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11223 * LString.h: add "using std::getline" when using the real <string>.
11225 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
11227 * buffer.C: removed bitset usage.
11228 PAR_TAG moved to an anonymous name space.
11229 (tag_name): new funtion, also in the anonymous namespace.
11230 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
11231 (makeDocBookFile): clean code. Completed transition from string arrays
11233 (SimpleDocBookOnePar): code clean.
11235 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11237 * tabular.C: add some comments.
11239 2001-03-22 Juergen Vigna <jug@sad.it>
11241 * buffer.C (parseSingleLyXformat2Token): redone the minipage
11242 compatibility read a bit and fixed bug with minipage in different
11245 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
11247 * buffer.C (pop_tag): removed.
11248 (push_tag): removed.
11249 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
11250 array replaced with vector. Added support for CDATA sections.
11251 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
11253 (makeDocBookFile): XML conformant declaration of CDATA section,
11254 fixed bug related to <emphasis> in the first paragraph char.
11255 (sgmlOpenTag): exclude empty tags.
11256 (sgmlCloseTag): ditto.
11258 * buffer.h (pop_tag): removed.
11259 (push_tag): removed.
11261 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
11263 * language.h (Languages): added size_type and size().
11265 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11267 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
11268 response on compability reading of minipages. One probliem is that
11269 the old usage of minipages was «flertydig»
11271 * several files here and in subdirs: don't use static at file
11272 scope use anon namespaces instead.
11274 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
11276 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
11277 LaTeX output. This is necessary for Literate document
11280 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11282 * buffer.C: insert hfill when needed.
11284 * tabular.C (l_getline): use string::erase, small whitespace change.
11286 * BufferView_pimpl.C: try the anon namespace.
11287 * WorkArea.C: ditto
11289 2001-03-16 Juergen Vigna <jug@sad.it>
11291 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
11292 otherwise it won't open options-dialogs.
11294 * buffer.C: honor pextraWidth(p) on converting minipages.
11296 * tabular.C (l_getline): changed the functions to strip trailing \r.
11298 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
11300 * BufferView_pimpl.C:
11301 * minibuffer..C: added "using SigC::slot" declaration.
11303 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11305 * lyxlex_pimpl.h: noncopyable is in namespace boost.
11311 * paragraph.C: ditto
11313 * lyxtext.h: NO_PEXTRA
11315 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
11317 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
11318 * ParameterStruct.h: ditto
11319 * ParagraphParameters.h: ditto
11320 * lyxparagraph.h: ditto
11322 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11324 * buffer.C: add compability for minipage alignment.
11325 (latexParagraphs): remove unwanted pextra check.
11327 * several files: remove CXX_WORKING_NAMESPACES
11329 * buffer.C (pop_tag): tie is in namespace boost
11331 * BufferView.h: noncopyable is in namespace boost
11333 * lyx_main.h: ditto
11336 * lastfiles.h: ditto
11337 * bufferlist.h: ditto
11338 * ShareContainer.h: ditto
11340 * LyXAction.h: ditto
11343 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11345 * Merging changes from BRANCH_MVC back into HEAD.
11347 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
11349 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
11351 * BufferView_pimpl.C: change from intl.C
11355 * Makefile.am: move combox.*
11361 * intl.C: remove dialog (covered by prefs)
11363 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11365 * lyxfunc.C (Dispatch): removed redundant break statement.
11367 2001-03-14 Juergen Vigna <jug@sad.it>
11369 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
11371 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11373 * buffer.C: add hack to fix compability reading of minipages.
11375 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
11377 * buffer.C (getLists): Cleanup.
11379 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11381 * lyxfont.C (update): don't honor toggleall on font size.
11383 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
11387 * Makefile.am: moved to frontends/xforms/
11391 * BufferView_pimpl.C: changes for moved mathpanel
11393 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11395 * gettext.h: fix gettext_init() in --disable-nls
11397 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11399 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
11401 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
11404 * lyx.h: strip external form
11406 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11408 * BufferView_pimpl.C: add comment, destroySplash()
11410 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11412 * BufferView_pimpl.C:
11416 * lyxfunc.C: use re-worked insetinclude
11418 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11420 * buffer.C: add using std::stringstream.
11422 * lyx_cb.C: readd using std::ios.
11424 * buffer.C: add using std::map.
11426 * BufferView_pimpl.C: add using std::vector.
11428 * ShareContainer.h: add std:: to swap.
11430 * buffer.h: add some typedefs
11431 * buffer.C (getLists): use them
11432 (getLists): renamed from getTocList.
11433 add a counter for the different float types and use it in the
11435 (getLists): use the same counter for the NEW_INSETS and the "non"
11438 * lyx_cb.h: remove unused items, includes, using etc.
11440 * ShareContainer.h: remove some commented code, add more comments
11441 and "documentation".
11443 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11445 * buffer.C (getTocList): make the list also when NEW_INSETS is
11448 * buffer.h: remove TocType
11450 * buffer.C (getTocList): change to return a map<string,
11451 vector<TocItem> >, implement for dynamic number of list.
11453 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
11454 * text2.C (PasteSelection): adjust
11455 * CutAndPaste.C (pasteSelection): adjust
11457 * FloatList.C (FloatList): update from the new_insets branch.
11458 * Floating.[Ch]: ditto
11459 * LaTeXFeatures.C: ditto
11461 * lyxlex_pimpl.C: ditto
11463 * paragraph.C (Last): remove when NEW_INSETS is defined.
11465 * other file: changes because of the above.
11467 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11469 * lyxparagraph.h: rename next to next_, previous to previous_,
11470 make them private for NEW_INSETS. Rename Next() to next(),
11471 Previous() to previous().
11473 * other files: changes because of the above.
11475 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
11478 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
11481 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11483 * main.C (main): pass lyx_localedir to gettext_init().
11485 * gettext.h: remove locale_init and gettext_init macros
11487 * gettext.C (locale_init): new function
11488 (gettext_init): new function
11490 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
11493 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
11495 * Moved credits to frontends:
11496 * credits.[Ch]: removed
11497 * credits_form.[Ch]: removed
11498 * lyx_gui_misc.C: remove credits stuff
11501 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11503 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
11505 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
11506 unneeded destructor.
11508 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
11509 a standalone pointer again.
11511 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
11513 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
11519 * ToolbarDefaults.C:
11528 * BufferView_pimpl.C: use new file dialog in GUII
11531 * lyx_cb.C: remove LayoutsCB to Toolbar
11533 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11535 * ShareContainer.h (get): add std:: qualifier
11537 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11539 * ShareContainer.h: define a proper ShareContainer::value_type
11540 type (and use typename to please compaq cxx)
11542 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11544 * lyxparagraph.h: move serveral local vars to
11545 ParameterStruct/ParagraphParameters., use ShareContainer in
11546 FontTable., make vars in FontTable private and add getter and
11549 * paragraph.C: changes because of the above.
11551 * lyxfont.h: remove copy constructor and copy assignment. (the
11552 default ones is ok), move number inside FontBits. move inlines to
11555 * lyxfont.C: add number to initializaton of statics, move several
11556 inlines here. constify several local vars. some whitespace
11557 cleanup. Dont hide outerscope variables.
11559 * Spacing.h: add two new constructors to match the set methods.
11561 * ShareContainer.h: new file, will perhaps be moved to support
11563 * ParameterStruct.h: new file
11565 * ParagraphParameters.h: new file
11567 * ParagraphParameters.C: new file
11569 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
11570 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
11572 * BufferView_pimpl.C: ParagraphParameter changes.
11573 * buffer.C: Likewise.
11574 * bufferview_funcs.C: Likewise.
11575 * text.C: Likewise.
11576 * text2.C: Likewise.
11578 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11580 * lyxfind.C (LyXReplace): do not redefine default argument in
11582 (IsStringInText): ditto
11583 (SearchForward): ditto
11584 (SearchBackward): ditto
11586 2001-03-06 Juergen Vigna <jug@sad.it>
11588 * lyxfind.C (IsStringInText): put parentes around expressions.
11590 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
11592 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
11594 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
11596 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
11598 * stl_string_fwd.h: add comment
11600 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
11603 * tabular.C: remove unused DocBook methods
11609 killed DO_USE_DEFAULT_LANGUAGE
11611 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11613 * lyx_gui.C: do not include language.h.
11615 * bufferview_funcs.C (ToggleAndShow): do not provide optional
11616 arguments in function implementation.
11618 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11620 * BufferView_pimpl.C: add <ctime>
11622 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11624 * BufferView_pimpl.C: add using std::find_if
11626 2001-02-27 José Matos <jamatos@fep.up.pt>
11628 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
11631 2001-02-11 José Matos <jamatos@fep.up.pt>
11633 * buffer.C (makeDocBookFile): command styles now have a parameter as
11634 "title" by default.
11636 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
11638 * layout_forms.[Ch]: removed
11639 * lyx_cb.[Ch]: out character
11640 * lyx_gui.C: out character
11641 * lyx_gui_misc.C: out character
11642 * bufferview_funcs.C: : out character,
11643 added toggleall as parameter in ToggleAndShow
11645 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
11647 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11649 * text2.C (SetCurrentFont): Disable number property at boundary.
11651 2001-02-26 Juergen Vigna <jug@sad.it>
11653 * lyxfunc.C (getStatus): added a string argument override function so
11654 that this is correctly called from LyXFunc::Dispatch if it contains a
11655 do_not_use_argument which is used!
11656 (Dispatch): added check for "custom" export and call appropriate func.
11658 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
11660 * lyxrc.C: Add language_command_local, language_use_babel and
11661 language_global_options.
11663 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11665 * buffer.C (makeLaTeXFile): Use language_use_babel and
11666 language_global_options.
11668 2001-02-23 Juergen Vigna <jug@sad.it>
11670 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
11671 which works with LyXText and putted it inside BufferView. Here now we
11672 only call for that part the BufferView::Dispatch() function.
11674 * BufferView.C (Dispatch): added.
11676 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
11677 functions which needs to use a LyXText over from LyXFunc.
11678 (MenuInsertLyXFile): added
11679 (getInsetByCode): added
11680 (moveCursorUpdate): added
11681 (static TEXT): added
11683 2001-02-22 Juergen Vigna <jug@sad.it>
11685 * BufferView_pimpl.C (update): call a status update to see if LyXText
11688 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11690 * vc-backend.C (revert): implement for CVS
11691 (getLog): implement for CVS
11693 2001-02-20 Juergen Vigna <jug@sad.it>
11695 * text2.C (ClearSelection): added BufferView param for inset_owner call
11697 * lyxfunc.C (TEXT): added this function and use it instead of
11698 directly owner->view()-text of getLyXText().
11700 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
11702 * src/layout_forms.C: out preamble
11703 * src/layout_forms.h: out preamble
11704 * src/lyx_cb.C: out preamble
11705 * src/lyx_cb.h: out preamble
11706 * src/lyx_gui.C: out preamble
11707 * src/lyx_gui_misc.C: out preamble
11708 * src/lyxfunc.C: connect with guii preamble
11710 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
11712 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11714 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
11716 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11717 whether to run bibtex.
11719 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
11721 * Makefile.am (lyx_SOURCES): Remove BackStack.h
11723 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11725 * Makefile.am (lyx_SOURCES): removed bibforms.h
11727 * vspace.h: doxygen
11729 * text.C (GetVisibleRow): make several local vars const
11731 * tabular.C: small cleanup.
11733 * lyxserver.C (callback): use compare instead of strncmp
11735 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11736 inlines to after class or to paragraph.C
11738 * lyxfont.h: remove friend operator!=
11740 * converter.h: move friend bool operator< to non friend and after
11743 * combox.h: small cleanup
11745 * buffer.h: doxygen, remove unused constructor, move inclas inlies
11746 to inlines after class def.
11748 * buffer.C (pop_tag): use string operations instead of strcmp
11750 * bmtable.c: doxygen, small cleanup
11752 * LaTeX.h: remove friend operator==
11754 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
11766 * BufferView_pimpl.C:
11767 * BufferView.[Ch]: remove cruft
11769 2001-02-14 Juergen Vigna <jug@sad.it>
11771 * lyxfunc.C: removed #if 0 unused code
11773 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11775 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11777 * text2.C (SetSelection): added a BufferView * parameter
11779 2001-02-13 Juergen Vigna <jug@sad.it>
11781 * lyxfunc.C (Dispatch): fixed protected blank problem.
11782 * BufferView2.C (protectedBlank): added LyxText * parameter.
11784 * tabular.C (AppendRow): forgot to set row_info of newly added row.
11785 (AppendColumn): same as above for column_info.
11787 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11788 (moveCursorUpdate): use a LyXText param for support of InsetText.
11790 * BufferView_pimpl.C (doubleClick): added support for InsetText.
11791 (tripleClick): ditto
11793 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11795 * BufferView_pimpl.C (update): added LyXText param to honor insets.
11797 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11799 * text2.C (SetSelection): set correct update status if inset_owner
11800 (ToggleFree): ditto
11802 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
11804 * tabular.C: remove some commented code.
11806 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
11808 * BufferView_pimpl.C: call hideSplash()
11810 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11813 * bibforms.h: remove
11816 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11817 add LFUN_CHILD_CREATE
11819 * counters.h: fix tiny typo
11824 * lyx.C: move splash to frontends/xforms/
11826 * lyx_gui_misc.C: move Include and Bibform to frontends
11828 * lyxvc.h: clarify comment
11830 * vspace.C: tiny housekeeping
11832 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
11834 * text.C (PrepareToPrint): RTL Fix.
11836 * paragraph.C (GetUChar): New method.
11837 (String): Use GetUChar.
11839 * buffer.C (asciiParagraph): Use GetUChar.
11841 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
11843 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11845 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
11848 * buffer.C: rename to getLogName(), handle
11849 build log / latex log nicely
11851 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11854 * MenuBackend.h: remove support for reference menuitem type.
11856 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
11858 * BufferView_pimpl.C: housekeeping
11859 * BufferView_pimpl.h:
11864 * minibuffer.h: move Timeout GUI-I
11866 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
11868 * lyxrc.C (read): Update converters data-structures.
11870 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
11872 * LaTeX.h (operator!=): add operator != for Aux_Info
11874 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
11876 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11878 * LaTeXLog.C: deleted, useful code moved to Buffer
11881 * buffer.C: new function getLatexLogName()
11887 * lyxfunc.C: use frontends for LaTeX and VC logs
11889 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11891 * LaTeX.h: yet another std:: that Allan forgot.
11893 * Variables.C (set): renamed from isset(), because this clashes
11894 with some HP-UX macros (grr).
11896 2001-02-06 Allan Rae <rae@lyx.org>
11898 * LaTeX.h: Another bug fix. Missing std:: this time.
11900 2001-02-04 Allan Rae <rae@lyx.org>
11902 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11903 floats problem. I've left it commented out because it's not quite
11904 correct. It should also test that the current object is a table or
11905 figure inset. But I haven't gotten around to figuring out how to do
11906 that. I *think* it'll be something like: "table" == inset.type()
11908 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11911 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
11913 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11914 all the citation/databases/styles in the auxilary file.
11915 (run): Rerun latex if there was a babel language error.
11917 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
11919 * text.C (Backspace): Preserve the font when changing newline char
11921 (BreakParagraph): If the cursor is before a space, delete the space.
11923 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11925 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
11927 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11928 new argument (code).
11929 (ChangeCitationsIfUnique): New method.
11931 * paragraph.C (GetPositionOfInset): Handle bibkey.
11933 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11935 * BufferView_pimpl.h: change type of Position::par_pos to
11936 LyXParagraph::size_type.
11938 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
11940 * BufferView_pimpl.C (savePosition, restorePosition): Write
11941 messages to minibuffer.
11943 2001-01-28 José Matos <jamatos@fep.up.pt>
11945 * buffer.C (makeDocBookFile): adds support for document language.
11946 A silly restriction on the name of LatexCommand types where removed.
11947 Added support for CDATA sections, allows to chars unescaped, used
11948 among others in code, to avoid escape < and >.
11950 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11952 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11953 saved positions instrad of a stack. Furthermore, a position is
11954 stored using paragraph id/paragraph position.
11956 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11957 Remove LFUN_REF_BACK.
11959 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11961 * converter.C (dvipdfm_options): New method.
11963 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
11965 * vspace.C (isValidLength): Fix for empty input string.
11967 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11969 * LyXAction.C (init): change description of LFUN_FIGURE to
11972 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11974 * LaTeX.C: add using directive
11976 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11978 * MenuBackend.C (expand): Fix the sorting of the formats.
11980 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
11982 * lyx_main.C: tiny error message fix
11984 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11986 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11987 calling fl_initialize(). This fixes the problem with ',' as
11988 decimal separator in text files.
11990 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11992 * trans.C (process): Fix the keymap bug.
11994 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
11996 * LaTeX.C (scanAuxFiles): New method. Provides support for
11997 multiple bibliographies (when using the bibtopic/bibunits pacakges).
11998 (scanLogFile) Scan for "run BibTeX" messages.
12000 * buffer.C (makeLaTeXFile): Do not load the ae package when using
12001 OT1 font encoding. Also, load the aecompl package if the ae
12004 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12006 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12008 * texrow.C (increasePos): turn two error messages into debug
12011 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
12013 * LaTeX.C (scanAux): Handle the \@input macro.
12014 (runBibTeX): Use scanAux().
12016 * language.C (latex_options_): New field.
12018 * LaTeXFeatures.C (getMacros): Add language macros.
12020 * buffer.C (makeLaTeXFile): Small fix.
12022 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12024 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12026 * text2.C: add a using directive.
12028 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
12033 * lyxfunc.C: kill LyXBell.
12035 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
12037 * text.C (IsBoundary): Remove the error message
12039 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
12041 * lyxrc.C (setDefaults): Correct initialization value for
12044 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
12046 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
12049 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
12050 and GotoNextNote().
12052 * src/LyXAction.C: Added reference-next.
12054 * text.C (InsertChar): Use contains instead of strchr.
12056 * lyx_cb.C (MenuInsertLabel): Enable default value code.
12058 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
12060 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
12061 alignment commands (when needed).
12063 * text.C (InsertChar): Add ':' to number separator chars.