1 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3 * bufferlist.C: beautify two alerts (shorter text of buttons)
4 * buffer.C: Remove redundant ' ' from message
6 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
7 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
8 rename VALIGN_CENTER to VALIGN_MIDDLE
10 2003-08-11 André Pönitz <poenitz@gmx.net>
13 * text.C: new function
15 2003-08-11 André Pönitz <poenitz@gmx.net>
18 * tracer.[Ch]: remove unneeded files
20 * InsetList.[Ch]: remove resizeInsetsLyXText()
25 * text3.C: merge insertParagraphs() and appendParagraph()
26 remove breakAgain(), update()
28 * BufferView_pimpl.[Ch]:
29 * bufferview_funcs.[Ch]:
33 * tabular.C: adjust after text & InsetList changes.
35 2003-08-08 André Pönitz <poenitz@gmx.net>
37 * text.C (insertChar, backspace): replace rowlist fiddling
38 with rebreak of full par
41 * text.C (breakAgainOneRow, redoHeightOfParagraph,
42 checkParagraph, updateInset): removed
44 2003-08-07 André Pönitz <poenitz@gmx.net>
47 * text3.C: merge some LFUN handlers, remove dead code
49 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
51 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
53 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
55 * text2.C (DEPM): fix part of bug 1255 and 1256
57 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
59 * BufferView_pimpl.C (workAreaDispatch): change to use
60 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
61 that are no mouse related.
63 2003-08-05 André Pönitz <poenitz@gmx.net>
66 * BufferView_pimpl.[Ch]:
69 * text3.C: rip out "deep update"
71 * textcursor.[Ch] (last_sel_cursor): remove unused member
73 2003-08-04 André Pönitz <poenitz@gmx.net>
76 * BufferView_pimpl.[Ch]:
77 * ParagraphParameters.C:
84 * text3.C: replace "complicated" BufferView::update(...) calls with
87 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
89 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
91 * Makefile.am (lyx_SOURCES): add paper.h
93 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
95 * Makefile.am: move things around so that both lyx-qt and
96 lyx-xforms can be built (according to --with-frontend). Then lyx
97 is a symbolic link to lyx-[firstfrontend]
99 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
101 * Always use std::endl with lyxerr
103 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
105 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
107 2003-08-01 André Pönitz <poenitz@gmx.net>
110 * BufferView_pimpl.[Ch]:
112 * text3.C: merge BufferView::repaint() and BufferView::update()
114 2003-08-01 José Matos <jamatos@lyx.org>
116 * buffer.[Ch]: file_format is no longer a buffer data element.
118 2003-08-01 André Pönitz <poenitz@gmx.net>
123 * text2.C: make redoParagraph more independent of current cursor
125 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
127 * text2.C: remove unneeded members
129 2003-07-30 André Pönitz <poenitz@gmx.net>
131 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
133 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
134 create a single function...
136 * paragraph_funcs.C (moveItem): ... here.
139 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
141 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
143 * LColor.[Ch]: Add comment and greyedout logical colors.
145 2003-07-30 André Pönitz <poenitz@gmx.net>
147 * tabular.C: don't use Assert too heavily. This crashes where it
150 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
152 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
153 is disabled (bug 1232)
155 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
157 * factory.C: limited 'arg' scope
159 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
161 * factory.C: fixed Note submenu issues
163 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
165 * factory.C: submenu for Note/Comment/Greyedout
167 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
170 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
172 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
175 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
176 greyedout. Patch provided by Jürgen Spitzmüller.
178 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
180 * kbmap.C (read): fix error message when reading bind files
182 2003-07-29 Angus Leeming <leeming@lyx.org>
184 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
185 certainly does not do what it purports to do. I am doing it, and
186 us, a favour by killing it.
188 2003-07-28 José Matos <jamatos@lyx.org>
190 * buffer.C (readBody, do_writeFile):
191 * paragraph.C(readParagraph): \end_document replaces \the_end.
193 2003-07-29 André Pönitz <poenitz@gmx.net>
196 * BufferView_pimpl.[Ch]:
200 * textcursor.[Ch]: remove toggleToggle & Co
202 2003-07-28 José Matos <jamatos@fep.up.pt>
204 * buffer.C (readParagraph):
205 * params_func (readParToken, readParagraph):
206 * paragraph.C (write): \layout -> \begin_layout.
208 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
210 * lyxlex_pimpl.C (setFile): clean up slightly.
212 * bufferparams.h: add compressed var
214 * buffer_funcs.C (readFile): adjust for LyXLex change
215 (newFile): ditto + simplify
217 * buffer.C (writeFile): handle writing of compressed files
219 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
220 Check if the file is compressed and set a bufferparm if so.
222 * Makefile.am (lyx_LDADD): remove explicit -lz
224 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
226 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
227 makeDocBookFile): put the real LyX version in the first line of
231 * version.C.in: remove lyx_docversion
233 * tabular.C (write_attribute): add a template-based version to
236 2003-07-28 André Pönitz <poenitz@gmx.net>
241 * text3.C: use doubles again for x-coordinates. They are needed.
243 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
245 * messages.C (getLocaleDir): use lyx_localedir()
247 * lyxlex_pimpl.C (setFile): compress stuff
249 * buffer.C (writeFile): add some compression stuff
250 (do_writeFile): new func, dont call expliti close... will this
253 * Makefile.am (lyx_LDADD): add -lz
255 2003-07-28 José Matos <jamatos@fep.up.pt>
257 * buffer.C: increment file format.
258 * paragraph_funcs (readParagraph, readParToken):
259 * paragraph.C (readParagraph): add \end_layout.
261 2003-07-27 Angus Leeming <leeming@lyx.org>
263 * Makefile.am: remove special casing for configure-time setting of
264 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
266 * lyx_main.C (init): remove all Jean-Marc's magic setting of
267 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
269 2003-07-26 André Pönitz <poenitz@gmx.net>
271 * paragraph_func.[Ch]:
272 * paragraph.C (realizeFont): inline it whereever it is used
277 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
280 2003-07-26 André Pönitz <poenitz@gmx.net>
284 * text2.C: get rid of LyXText::need_break_row
286 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
288 * toc.[Ch]: put namespace toc inside namespace lyx
290 * MenuBackend.C (expandToc2): adjust for lyx::toc
293 * lyxfunc.C (dispatch): adjust for lyx::find
295 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
296 lyx::find instead. Reorganize a bit.
297 (LyXReplace): rename to replace
298 (LyXFind): rename to find
300 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
303 2003-07-26 André Pönitz <poenitz@gmx.net>
305 * text.C (setHeightOfRow): restrict scope of temporary variable
307 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
308 code (never has been used?)
310 2003-07-27 Asger Alstrup <alstrup@local>
312 * text.C (fill): Optimise algorithm to exploit that we can reuse
313 the LyXFont for many characters.
314 (setHeightOfRow): Same thing.
315 (rowBreakPoint): Same thing.
317 2003-07-26 Asger Alstrup <alstrup@local>
319 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
321 * text.C (singleWidth): Spurious font copying in hot-spot
322 singleWidth avoided. Reorder tests for arabic for efficiency.
324 * text.C (fill): handle empty paragraphs better.
326 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
329 * encoding.h: add includes
331 * lyxrc.C: remove reading of bind files
333 * lyx_main.C (init): setup bindings and menus only if we have a
336 * kbmap.C (read): new method. Do the actual reading of bind
339 * converter.C (dvipdfm_options):
342 (output): adapt PAPER_* enums.
344 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
346 * bufferparams.h: remove paper-related enums from there
348 * paper.h: New file. A trivial header file to hold paper-related
349 enums. It should later expand to contain many paper-related
352 * lyxrc.C: declare extern displayTranslator
354 2003-07-27 José Matos <jamatos@fep.up.pt>
356 * tabular.[Ch] (linuxdoc): add support for tables and figures
359 2003-07-27 José Matos <jamatos@fep.up.pt>
361 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
362 consistency in both functions.
363 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
365 2003-07-26 Asger Alstrup <alstrup@local>
367 * rowpainter.C (paintRows): Change algorithm to work directly on
368 the insets rather than asking every character in the document
369 whether its an inset.
371 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
373 * buffer.C (openFileWrite): factorize some code
375 2003-07-26 Angus Leeming <leeming@lyx.org>
378 * lyx_main.[Ch]: replace occurances of system_tempdir with
381 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
383 * rename Inset to InsetOld
385 2003-07-25 Asger Alstrup <alstrup@diku.dk>
387 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
388 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
389 which I think is a bit clearer. EDIT is gone, since it was
390 premature optimisation, and broken for mathed anyway.
391 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
392 with cursor positioning in insets as well (math insets still do not
393 work, but that's a different story anyway.) It mysteriously
394 crashes sometimes with undo in the first paragraph, but I'm fairly
395 confident that this is a compiler bug.
397 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
399 * paragraph.C (Paragraph): adjust for new clone return type
401 (copyIntoMinibuffer): ditto
403 2003-07-25 Asger Alstrup <alstrup@lyx.org>
405 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
406 by not having a special case, and always doing a full rebreak of
407 the document after undo.
409 2003-07-23 Angus Leeming <leeming@lyx.org>
411 * factory.C (createInset): InsetExternal::setParams now takes a
414 2003-07-23 Angus Leeming <leeming@lyx.org>
416 * factory.C (createInset): changed interface to the external and
417 graphics mailers' string2params functions.
419 2003-07-23 Angus Leeming <leeming@lyx.org>
421 * factory.C (createInset): pass a
422 Buffer const * parameter to InsetExternalMailer's string2params.
424 2003-07-22 John Levon <levon@movementarian.org>
426 * Thesaurus.h: include the right aiksaurus header
428 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
430 * MenuBackend.C (expand): check menu shortcuts unconditionally
432 2003-07-21 Angus Leeming <leeming@lyx.org>
434 * factory.C (createInset): pass a
435 buffer_path parameter to InsetGraphicsMailer's string2params.
437 2003-07-21 Angus Leeming <leeming@lyx.org>
439 * BufferView_pimpl.C (buffer):
442 * lyxfunc.C (dispatch):
443 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
444 rather than the grfx shortcut.
446 2003-07-21 André Pönitz <poenitz@gmx.net>
448 * rowpainter.C: remove unused variables
451 * tabular_funcs.h: move to tabular.C
452 * Makefile.am: adjust
454 * tabular.[Ch]: basic optical cleaning
456 * author.h: pass references, not values
458 2003-07-18 André Pönitz <poenitz@gmx.net>
466 * text3.C: two-phase drawing for InsetText and InsetTabular
467 some float -> int changes.
469 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
471 * lyx_main.C: fix the fix
473 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
475 * lyx_main.C: fix a crash in batch mode if no files specified
478 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
480 * format.[Ch] (papersize): moved to BufferParams
481 * converter.[Ch] (dvips_options): moved to BufferParams
482 (dvipdfm_options): moved to anon namespace
483 * bufferparams.[Ch]: added above functions.
485 2003-07-17 André Pönitz <poenitz@gmx.net>
489 * text2.C: don't call inset->update() anymore
491 * metricsinfo.[Ch]: add convenience constructor
493 2003-07-16 André Pönitz <poenitz@gmx.net>
498 * text2.C: replace the LyXCursor::irow_ member with
499 on-demand computation of the value
501 2003-07-16 John Levon <levon@movementarian.org>
503 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
505 2003-07-15 André Pönitz <poenitz@gmx.net>
508 * text2.C: remove no more needed refresh_row
510 2003-07-15 André Pönitz <poenitz@gmx.net>
515 * text3.C: refresh_status tristate -> need_update bool
517 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
519 * lyxtext.h (init): remove reinit argument (act as if always true)
520 * text2.C: adjust to that
522 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
524 * bufferview_funcs.[Ch]: introduce function replaceSelection()
525 * text3.C: use it to delete selections in some cases
526 (bugs 441, 673, 702, 954).
528 2003-07-14 André Pönitz <poenitz@gmx.net>
530 * rowpainter.[Ch]: reduce interface
532 2003-07-14 André Pönitz <poenitz@gmx.net>
534 * BufferView_pimpl.C:
535 * text2.C: adjust after removing unused BufferView * argument
537 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
539 * text2.C (init): fix a crash fired on resize
541 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
543 * buffer.[Ch]: added new closing signal
544 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
545 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
546 BufferView::Pimpl via the closing the signal
548 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
550 * buffer.[Ch]: take out all bv-related from buffer
552 * BufferView_pimpl.[Ch]: connect to new signals
553 * CutAndPaste.C: removed useless asserts
554 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
557 * lyxfunc.C: moved view-related funciontality from vc here
558 * paragraph.C: removed outdated comments
561 2003-07-10 André Pönitz <poenitz@gmx.net>
563 * BufferView_pimpl.C:
567 * text2.C: remove InsetText::InnerCache, clean up consequences
569 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
571 * ispell.C: fix two typos in error messages
573 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
575 * Extend Note inset to other forms of annotation like Comment
576 and Greyedout. Right button click gives dialog.
578 Files modified or added (+):
584 * Makefile.am in frontends/xforms, frontends/xforms/forms,
585 frontends/controllers
589 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
591 * aspell.C: add missing namespace lyx::support
593 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
595 * BufferView.[Ch] (newFile): Add
596 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
597 * LaTeX.[Ch] (message): added this signal and use it
598 * buffer.[Ch] (busy, message): added these signals and use them
599 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
603 * importer.C: use buffer signals instead of direct bv calling
604 * lyx_cb.[Ch] (ShowMessage): removed
608 * text2.C: use buffer signals
610 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
612 * introduce namespace lyx::graphics
614 2003-07-02 André Pönitz <poenitz@gmx.net>
616 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
618 2003-07-01 André Pönitz <poenitz@gmx.net>
625 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
626 text*.C to text_func.C
628 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
630 * introduce namespace lyx::support
632 2003-06-30 André Pönitz <poenitz@gmx.net>
637 * text.C: re-enable --with-included-string
639 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
641 * textcursor.C: add <config.h>
643 * text.C (getWord): remove const from word_location arg
645 * lyxvc.C (getLogFile): fix const type order
647 * lyxtext.h: remove const from word_location arg, add arg name
649 * lyxlayout.h: currect type on labeltype.
651 * importer.C: correct \file
653 * converter.C (intToFormat): use std:: on ret val, ws changes
655 * bufferlist.h: correct \file
657 * buffer.C (makeLinuxDocFile): fix const type order
658 (makeDocBookFile): ditto
659 (fillWithBibKeys): use std:: on stdlib args.
661 * CutAndPaste.C: fix authors.
662 (availableSelections): use std:: on return vector
664 2003-06-27 André Pönitz <poenitz@gmx.net>
666 * BufferView_pimpl.C:
667 * bufferview_funcs.C:
675 * text3.C: remove LyXCursor::row_ member
678 * text.C: rename fullRebreak() to partialRebreak() and implement
679 a fullRebreak() that really bereks fully
681 * textcursor.h: new struct for cursor-related data
683 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
685 * lyx_main.C (LyX): get full path of document loaded on the
688 2003-06-26 André Pönitz <poenitz@gmx.net>
690 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
691 remove unused/broken operator>,<,>=.
693 * text.C: remove only use of broken operator<= in an Assert().
695 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
697 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
698 moved errorlist_.clear to showErrorList
700 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
702 * converter.C (scanLog, runLaTeX):
703 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
704 move the bv->showErrorList call to the callers
705 * lyxfunc.C: i.e. here...
707 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
708 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
709 namespace, the second to...
710 * buffer_funcs (BufferFormat, parseErrors): added
711 * errorlist.C (ErrorList(TeXErrors const &)): removed
713 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
715 * ToolbarBackend.C (getIcon): complain when icon cannot be found
717 2003-06-24 "Garst R. Reese" <reese@isn.net>
721 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
723 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
725 * version.C.in: change docversion to 1.4
727 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
729 * buffer.C: fix a bug just introduced
731 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
733 * buffer.[Ch]: added the parseError signal and use it, removed
735 * BufferView.[Ch] (addError): moved to ...
736 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
737 to the Buffer::parseError signal to catch (guess what) parse errors
738 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
740 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
742 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
743 ability to create a buffer and to return an existing one from
744 the list. Moved these functions to...
745 * buffer_funcs.[Ch]: added
746 * BufferView.[Ch] (loadLyXFile): added
747 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
748 job removed from bufferlist::loadLyXFile.
749 * buffer.C (setReadOnly): make it work without view
750 (i.e added an if (users))
752 2003-06-19 Angus Leeming <leeming@lyx.org>
755 * LyXAction.C (init):
756 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
757 with LFUN_DIALOG_SHOW <name> <data>.
759 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
761 * CutAndPaste.C (availableSelections): small compilation fix for
762 ancient (gcc 2.9x) compilers
764 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
766 * text3.C (cursorNext): add tmp var
768 * text2.C (updateCounters): for function calling out of for clause
769 (replaceSelectionWithString): ditto
770 (insertStringAsParagraphs): ditto
771 (getColumnNearX): add tmp var
772 (setCursorFromCoordinates): add tmp var
773 (cursorDownParagraph): add tmp var
774 (deleteEmptyParagraphMechanism): add tmp var
776 * text.C (insertChar): add tmp var
778 * rowpainter.C (paintDepthBar): add tmp var
780 * CutAndPaste.C (availableSelections): potentially check all
781 paragraphs in a cut to fill the shown strings.
783 2003-06-18 André Pönitz <poenitz@gmx.net>
785 * kbmap.[Ch]: use vector<> instead of list<>
787 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
789 * text3.C (dispatch): handle arg to LFUN_PASTE, call
790 pasteSelection with index
792 * text2.C (pasteSelection): modify, call pasteSelection with index
794 * paragraph.C (asString): reimplement version with no interval to
795 call the one with interval.
797 * lyxtext.h: add index arg to pasteSelection
799 * MenuBackend.C (MenuItem): handle PasteRecent
800 (Menu::read::Menutags): add md_pasterecent
802 (expandPasteRecent): new function
805 * MenuBackend.h: add PasteRecent to MenuItem::Kind
807 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
809 (availableSelections): new function
811 2003-06-17 Angus Leeming <leeming@lyx.org>
813 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
815 2003-06-17 Angus Leeming <leeming@lyx.org>
818 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
820 * lyxfunc.C (dispatch): invoke it.
822 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
824 * iterators.C (operator++, ParPosition): reintroduce some
825 const_cast for the benefit of older compilers.
827 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
829 * text3.C (dispatch): do not modify clipboard when doing
830 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
831 LFUN_DELETE_SKIP on a selection selection
833 2003-06-16 André Pönitz <poenitz@gmx.net>
839 * tabular.[Ch]: IU of clone() and getLabelList();
841 2003-06-13 André Pönitz <poenitz@gmx.net>
843 * tabular.h: compactification
845 2003-06-12 André Pönitz <poenitz@gmx.net>
849 * tabular_funcs.h: some renaming plus whitespace
851 2003-06-12 André Pönitz <poenitz@gmx.net>
854 * BufferView_pimpl.C:
860 * toc.C: Return a Paragraph & for ParIterator::operator*()
862 2003-06-11 John Levon <levon@movementarian.org>
866 * ToolbarBackend.C: add "Toolbars" section and
869 2003-06-10 Angus Leeming <leeming@lyx.org>
872 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
874 * lyxfunc.C (dispatch): invoke it.
876 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
878 * main.C: protect <ios> with HAVE_IOS
879 (main): protect sync_with_stdio with HAVE_IOS
881 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
883 * text2.C (cutSelection): adjust
884 (pasteSelection): adjust
886 * messages.C: handle get of empty string
888 * main.C (main): use sync_with_stdio(false)
890 * lyxfunc.C (dispatch): adjust
892 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
893 (WriteAs): remove unneeded BufferView arg.
895 * bufferparams.h: use correct types on papersize, papersize2 and
898 * bufferparams.C (readToken): adjust for type
899 (writeLaTeX): add missing cases to switch.
901 * bufferlist.C (quitWriteBuffer): adjust
904 * buffer.C (asciiParagraph): remove some commented code.
906 * CutAndPaste.C: remove current_view extern variable.
907 (cutSelection): add BufferParams arg.
908 (eraseSelection): add BufferParams arg.
909 (pasteSelection): add Buffer const & arg
911 2003-06-07 John Levon <levon@movementarian.org>
919 * paragraph.C: allow InsetERT to freely space lines,
920 and some consolidation of code
922 2003-06-06 José Matos <jamatos@fep.up.pt>
924 * buffer.C (makeDocBookFile): fix bug #821
926 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
928 * BufferView_pimpl.C (dispatch): use Dialogs::visible
930 2003-06-04 Angus Leeming <leeming@lyx.org>
932 * buffer.C: bump format to 224.
934 2003-06-05 André Pönitz <poenitz@gmx.net>
936 * text2.C (redoParagraphs): remove two const_cast<>
938 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
940 * ParagraphList.h: remove last remnants of NO_STD_LIST
942 2003-06-03 Angus Leeming <leeming@lyx.org>
944 * factory.C (createInset): small change to the way InsetExternal's params
947 2003-06-04 André Pönitz <poenitz@gmx.net>
949 * buffer.h: use Undo directly instead of shared_ptr<Undo>
952 * paragraph.[Ch]: some Inset -> UpdatableInset changes
954 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
956 * undo_funcs.C: make some simple cases of undo work again
958 2003-06-03 John Levon <levon@movementarian.org>
960 * ispell.C: HPUX doesn't have sys/select.h
963 2003-06-03 John Levon <levon@movementarian.org>
965 * CutAndPaste.C: update tabular and include inset
970 * paragraph.C: remove owningBuffer(), don't pass Buffer
973 * factory.C: insetGraphicsParams changed
975 2003-06-02 John Levon <levon@movementarian.org>
981 * text3.C: remove insetparent
983 2003-06-02 John Levon <levon@movementarian.org>
986 * buffer.C: fix inset_iterator.end(), move out of line
989 2003-06-01 John Levon <levon@movementarian.org>
991 * text3.C: use a proper cut/paste when doing inset
992 insert (from Jürgen Spitzmüller)
994 2003-06-01 John Levon <levon@movementarian.org>
996 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
998 2003-05-30 André Pönitz <poenitz@gmx.net>
1000 * rowpainter.C: unify second drawing phase
1002 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1004 * trans_mgr.C: remove one case of current_view
1006 * text2.C (cursorBottom): delete NO_STD_LIST stuff
1008 * paragraph_funcs.h: remove paragraph.h include
1010 * paragraph.h: delete NO_STD_LIST stuff
1012 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1014 * buffer.h: remove paragraph.h include
1016 * ParagraphList.C: delete file
1018 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1020 * toc.C (getTocList): adjust
1022 * paragraph_pimpl.C (validate): adjust
1024 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1026 * paragraph.C (Paragraph): adjust
1027 (getPositionOfInset): use const_iterator, adjust
1028 (bibitem): use const_iterator, adjust
1029 (setInsetOwner): adjust
1031 * iterators.C (operator++): adjust
1033 * InsetList.[Ch]: Replace selfmade iterator with standard
1034 vector::iterator also introduce const_iterator. Remove getPos,
1035 getInset and setInset from InsetTable. Adjust accordingly.
1037 * BufferView.C (lockInset): adjust
1038 (ChangeInsets): adjust
1040 * tabular.[Ch]: delete commented same_id functions
1042 2003-05-28 John Levon <levon@movementarian.org>
1044 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1046 2003-05-28 André Pönitz <poenitz@gmx.net>
1048 * metricsinfo.[Ch]: remove 'fullredraw' member
1050 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
1052 * lyxtextclass.C (operator): remove caching.
1054 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1058 * text2.C (cursorBottom): adjust
1059 (setCounter): use ParagraphList::find, adjust
1061 * text.C (workWidth): use ParagraphList::find, adjust
1063 * lyxcursor.C (LyXCursor): adjust
1065 * buffer.C (inset_iterator): adjust
1067 * ParagraphList.h: make iterator(value_type) private, make
1068 ParagraphList a friend of iterator.
1070 * ParagraphList.C (find): new function
1072 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1074 2003-05-27 André Pönitz <poenitz@gmx.net>
1076 * dimension.[Ch]: a -> asc, d -> des, w -> wid
1078 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1080 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
1082 2003-05-26 John Levon <levon@movementarian.org>
1084 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
1086 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1088 * remove same_id from function signatures, adjust.
1090 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1092 * undo_funcs.C (createUndo): use the id functions directly, adjust.
1094 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
1096 * paragraph.C (Paragraph): get rid of same_ids parameter
1098 * ParagraphList.C (insert): adjust
1101 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1103 * paragraph_funcs.C (breakParagraph): adjust
1104 (breakParagraphConservative): adjust
1106 * buffer.C (readParagraph): adjust
1108 * ParagraphList.C (insert): take a reference instead of a pointer
1111 * paragraph.[Ch] (id): new function
1113 * bufferlist.C (newFile): adjust
1115 * ParagraphList.C (ParagraphList): adjust
1117 (push_back): take a reference instead of a pointer.
1119 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
1121 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
1124 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
1125 set else use old code.
1127 * ParagraphList.C: remove all NO_NEXT code and only compile this
1128 code of NO_STD_LIST is set.
1130 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1132 * BufferView_pimpl.C:
1142 * graphics/GraphicsConverter.C:
1143 * graphics/PreviewLoader.C: header adjustment
1145 2003-05-23 Angus Leeming <leeming@lyx.org>
1147 * LaTeXFeatures.[Ch] (useBabel): new method.
1148 * bufferparams.C (writeLaTeX): use it.
1150 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1152 * ParagraphList.h (set): remove unused function.
1154 2003-05-23 André Pönitz <poenitz@gmx.net>
1157 * BufferView_pimpl.C:
1161 * undo_funcs.C: setUndo reworked
1163 * iterators.[Ch]: add access to topmost ParagraphList
1165 * lyxtext.[Ch] (workWidth): add a const
1167 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1169 * texrow.[Ch] (increasePos): remove function
1170 * exporter.C (export): removed unused var and outdated comment
1172 2003-05-23 Angus Leeming <leeming@lyx.org>
1174 * latexrunparams.h: rename fragile as moving_arg.
1175 * paragraph.C (simpleTeXOnePar): ditto.
1176 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
1178 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1180 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
1182 (textUndoOrRedo): comment out a currently unused var.
1184 * paragraph.h (NO_NEXT): enable NO_NEXT
1186 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
1188 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
1190 * exporter.C (Export): adjust for removeAutoInsets removal.
1192 * buffer.C (runChktex): adjust for removeAutoInsets removal.
1194 * LyXAction.C (init): remove LFUN_REMOVEERRORS
1196 * BufferView.[Ch] (removeAutoInsets): delete function
1198 2003-05-22 Angus Leeming <leeming@lyx.org>
1200 * latexrunparams.h: add a free_spacing variable.
1202 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
1203 to pass moving_arg, as the data is stored in runparams.fragile.
1205 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
1206 to Inset::latexOptional or to simpleTeXOnePar.
1208 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
1209 free_spacing arg to Inset::latexOptional.
1211 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1214 2003-05-22 Angus Leeming <leeming@lyx.org>
1216 * latexrunparams.h: add fragile and use_babel variables.
1218 * bufferparams.[Ch] (writeLaTeX): return use_babel.
1219 * buffer.C (makeLaTeXFile): store this returned value in
1220 runparams.use_babel, thus passing it to the inset::latex methods.
1222 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
1223 simpleTeXSpecialChars as it is now stored in runparams.fragile.
1225 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
1226 longer has a fragile arg, as it is stored in runparams.fragile.
1228 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
1229 moving_arg parameter as the data is stored in runparams.fragile.
1231 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1232 a fragile parameter as the data is stored in runparams.fragile.
1234 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1236 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
1238 2003-05-22 Angus Leeming <leeming@lyx.org>
1240 * latexrunparams.h: add a 'bool nice' which defaults to false.
1242 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
1243 now encapsulated within runparams.
1245 * bufferlist.C (updateIncludedTeXfiles):
1246 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
1248 2003-05-22 Angus Leeming <leeming@lyx.org>
1250 * latexrunparams.h: new file containing struct LatexRunParams.
1251 * Makefile.am: add new file.
1253 * LaTeX.[Ch] (c-tor, run):
1254 * buffer.[Ch] (makeLaTeXFile):
1255 * bufferlist.[Ch] (updateIncludedTeXfiles):
1256 * converter.C (convert, scanLog):
1257 * converter.[Ch] (runLaTeX):
1258 * exporter.C (Export):
1259 * paragraph.[Ch] (simpleTeXOnePar):
1260 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
1261 * paragraph_funcs.[Ch] (latexParagraphs):
1262 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
1263 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
1264 pass around a LatexRunParams parameter.
1266 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1268 * paragraph.[Ch]: remove unused constructor
1270 * ParagraphList.C (erase): new function, taking two iterators
1272 2003-05-22 André Pönitz <poenitz@gmx.net>
1274 * undo_funcs.C: remove duplicated code
1276 * iterator.[Ch]: operator=
1278 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1280 * tabular.C (SetMultiColumn): ws changes
1282 * rowpainter.C (paintFirst): get rid of a ->previous
1284 * lyx_cb.C (getPossibleLabel): parlist simplification
1286 * BufferView.C (ChangeInsets): simplify slightly.
1288 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1290 * LyXAction.C: new lfun space-insert, kill protected-space-insert
1291 * lfuns.h: new LFUN_SPACE
1292 * lyxfunc.C: protected space has a new lfun
1293 * paragraph_funcs.C: read new space insets
1295 * factory.C: handle new space insets
1297 2003-05-22 André Pönitz <poenitz@gmx.net>
1300 * BufferView_pimpl.C:
1303 * undo_funcs.C: return a ParIterator from getParFromID.
1305 * iterators.[Ch]: add two const's
1307 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1309 * toc.C (getTocList): adjust
1311 * iterators.[Ch]: rework for parlist
1313 * buffer.C (par_iterator_begin): adjust
1314 (par_iterator_end): adjust
1316 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
1318 * BufferView.C (removeAutoInsets): adjust
1319 (ChangeInsets): adjust
1321 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
1323 * text.C (top_y): fix bug 1110
1325 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
1327 * errorlist.[Ch]: added
1330 * BufferView_pimpl.C:
1331 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
1334 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1336 * Makefile.am: ensure that lyx is relinked upon changes to the
1337 various "convenience" libs.
1339 2003-05-20 Angus Leeming <leeming@lyx.org>
1341 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
1342 files are compiled in alphabetical order again.
1344 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
1346 2003-05-19 Angus Leeming <leeming@lyx.org>
1348 * gettext.[Ch]: remove "char const * _(char const *)".
1350 2003-05-19 André Pönitz <poenitz@gmx.net>
1352 * dimension.[Ch]: promote from mathed/dimension.[Ch]
1361 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
1363 2003-05-19 André Pönitz <poenitz@gmx.net>
1367 * lyxtextclass.[Ch]:
1369 * paragraph_funcs.[Ch]:
1371 * text3.C: more insetenv work
1373 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
1375 * ParagraphParameters.C (params2string): small bug fixed
1377 2003-05-16 André Pönitz <poenitz@gmx.net>
1380 * bufferview_funcs.C: patch from Kornel Benko to prevent
1381 crash when _(...) is called twice in a statement
1383 2003-05-16 André Pönitz <poenitz@gmx.net>
1390 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
1392 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
1394 * lyx_main.C (init): remove spurious static_cast
1396 2003-05-14 André Pönitz <poenitz@gmx.net>
1398 * BufferView.C: fix format string
1400 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
1402 * BufferView.[Ch] (insertErrors): removed
1403 * BufferView.[Ch] (showErrorList): added
1404 * buffer.C (runChkTeX):
1405 * converter.C (scanLog): call showErrorList instead of inserterrors
1407 2003-05-13 André Pönitz <poenitz@gmx.net>
1409 * BufferView_pimpl.C:
1411 * bufferview_func.C:
1418 * tabular_funcs.h: tostr() from its own header
1420 * ParagraphParameters.C:
1425 * text3.C: STRCONV()
1427 2003-05-12 André Pönitz <poenitz@gmx.net>
1430 * BufferView_pimpl.C:
1434 * ParagraphParameters.C:
1438 * bufferview_funcs.C:
1451 * paragraph_funcs.C:
1455 * text3.C: boost::format -> bformat all over the place
1458 2003-05-09 André Pönitz <poenitz@gmx.net>
1460 * LColor.[Ch]: Pimpl the #include <map> away
1462 2003-05-09 John Levon <levon@movementarian.org>
1464 * bufferlist.C: never remove emergency saves
1466 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1468 * Makefile.am: better lib building
1470 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1472 * texrow.[Ch]: remove dependency on Paragraph and just store a id
1474 * paragraph_pimpl.C (simpleTeXBlanks): adjust
1475 (simpleTeXSpecialChars): adjust
1476 (simpleTeXSpecialChars): adjust
1477 * paragraph.C (simpleTeXOnePar): adjust
1478 * buffer.C (makeLaTeXFile): adjust
1480 * Makefile.am (BOOST_LIBS): allow boost as system lib.
1482 * text2.C (changeDepth): parlist cleanup
1483 (getColumnNearX): ditto
1485 * rowpainter.C (getLabelFont): parlist cleanup
1487 * bufferlist.C (newFile): parlist cleanup
1489 * CutAndPaste.C (eraseSelection): parlist cleanup
1491 * BufferView_pimpl.C (trackChanges): parlist cleanup
1494 * BufferView.C (lockInset): parlist cleanup.
1495 (ChangeInsets): ditto
1497 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1499 * CutAndPaste.h: Update file header.
1501 * CutAndPaste.C: Update file header.
1502 Store the parts cut out of the Document in a limited_stack.
1503 (copySelection): adjust
1504 (pasteSelection): new function, takes the index in the limited stack.
1505 (nrOfParagraphs): adjust
1506 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
1507 simplify error inset insertion.
1508 (checkPastePossible): adjust
1510 2003-05-06 John Levon <levon@movementarian.org>
1512 * text2.C: don't cast wrap inset to float
1514 2003-05-05 André Pönitz <poenitz@gmx.net>
1517 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
1519 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
1520 few naked Paragraph *.
1522 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
1524 * bufferparams.C: Output warning if a document with missing
1525 TeX document class is loaded
1526 * exporter.C: Disable TeX exports if the document class is missing
1529 * lyxtextclasslist.C: Handle new textclass.lst format; new method
1530 isTeXClassAvailable()
1532 2003-05-03 John Levon <levon@movementarian.org>
1535 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
1536 explicit cursor show/hide
1538 * BufferView_pimpl.h:
1539 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
1540 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
1542 * lyxfunc.C: hide cursor before dispatching.
1547 * text3.C: remove explicit cursor hides
1549 2003-05-02 André Pönitz <poenitz@gmx.net>
1551 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
1554 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
1557 * text2.C: tiny whitespace
1559 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1561 * undo_funcs.C: almost only ws changes.
1563 * ParagraphList.C (splice): just return if pl is empty.
1565 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1567 * ParagraphList.C (splice): new function.
1569 * CutAndPaste.C (pasteSelection): use it
1571 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1573 * CutAndPaste.C (pasteSelection): remove the last next and
1574 previous from this file.
1576 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1578 * CutAndPaste.C (pasteSelection): more clean up, user proper
1579 ParagraphList functions for pasteing.
1581 * ParagraphList.C (insert): new function, three arg insert
1583 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1585 * ParagraphList.C (insert): new function, three arg insert
1587 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
1590 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1592 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
1594 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1596 * CutAndPaste.C (pasteSelection): remove some unneeded code.
1598 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1600 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
1601 (copySelection): clean up a bit.
1602 (pasteSelection): use make_pair
1604 * ParagraphList.C (ParagraphList): implement copy constructor
1605 (operator=): implement, base on copy constructor.
1608 * paragraph.C (erase): return a bool
1610 * paragraph_pimpl.C (erasePos): remove function, move contents...
1611 (erase): ... here. Return a bool.
1612 (erase): call erase instead of erasePos.
1614 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
1616 * ParagraphList.h: define PitPosPair
1617 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
1618 ParagraphList, fix a bug on pasting multiple pars
1619 * text2.C: change interface to C&P
1621 2003-04-30 André Pönitz <poenitz@gmx.net>
1623 * undo_func.C: revert part of yesterday's patch 2
1625 2003-04-30 John Levon <levon@movementarian.org>
1627 * LColor.C: s/tabular/table/
1629 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1631 * text3.C (dispatch): do not convert iterator -> pointer
1632 * undo_funcs.C (setCursorParUndo): ditto
1633 * text_funcs.C (transposeChars): ditto
1635 * text2.C (setLayout): ws changes only
1637 * text.C (breakParagraph): do not convert iterator -> pointer
1639 (acceptChange): ditto
1640 (rejectChange): ditto
1645 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
1648 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1650 * text3.C (gotoInset): YABG (yet another bad getChar)
1652 2003-04-29 André Pönitz <poenitz@gmx.net>
1654 * paragraph.h: make operator= private unimplemented as long as
1657 * ParagraphList.C: whitespace
1660 * paragraph_pimpl.[Ch]:
1661 * paragraph_funcs.C:
1663 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
1666 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
1668 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1670 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
1671 * paragraph.[Ch] (erase):
1672 * paragraph_pimpl.[Ch] (erase): change return type and value
1673 * text2.C (cutSelection): some rework
1675 2003-04-28 John Levon <levon@movementarian.org>
1677 * bufferlist.C: changes for unsaved changes dialog
1679 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1681 * bufferlist.C (newFile): set language (messages_) for new
1684 * buffer.C (readFile): ws changes only.
1686 2003-04-28 André Pönitz <poenitz@gmx.net>
1691 * BufferView_pimpl.C:
1692 * BufferView.C: getParFromID related ParagraphList::iterator changes
1694 2003-04-28 André Pönitz <poenitz@gmx.net>
1696 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1699 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1701 * messages.C: remove one more localedir class variable.
1703 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1705 * messages.C (getLocaleDir): singleton generation function
1707 (Messages): add a default constructor.
1709 * main.C (main): do not setup localedir here, do not call
1712 * gettext.C (_): use it.
1713 (gettext_init): delete funciton
1715 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1717 * gettext.C (getLyXMessages): new singleton generating function.
1719 * buffer.C (updateDocLang): adjust
1721 * Makefile.am (messages.o): add target
1722 (main.o): remove target
1724 2003-04-27 John Levon <levon@movementarian.org>
1729 * lyxvc.C: specify cancel button in Alert::prompt
1731 2003-04-26 John Levon <levon@movementarian.org>
1736 * LyXAction.C: add LFUN_INSET_SETTINGS
1738 * lyxfunc.C: don't enable tabular-feature when there's
1739 just any locking inset
1741 2003-04-26 John Levon <levon@movementarian.org>
1743 * bufferlist.C: re-add Cancel to buffer close question
1745 * lyxfunc.C: fix import UI a bit
1747 2003-04-25 John Levon <levon@movementarian.org>
1749 * gettext.C: remove the broken asserts for now
1751 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1753 * messages.C: make case where setlocale cannot comply work better.
1755 * buffer.C (updateDocLang): new function
1756 (changeLanguage): use it
1759 * text2.C (setCounter): use B_ a bit.
1761 * lyxlayout.C (Read): be sure to trim the label strings.
1763 * messages.C (Messages): fix typo in comment
1765 * buffer.C (readFile): set message_ after file is loaded.
1766 (makeDocBookFile): remove double return
1767 (changeLanguage): reset message_ upon language change.
1768 (B_): new func, use this to get translated buffer strings.
1770 * main.C: add myself and Jean Marc as authors.
1772 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1774 * messages.[hC]: pimplify Messages, and three different pimpls to be
1775 used in different circumstances.
1777 * gettext.[Ch]: change for use with new message code.
1779 2003-04-24 André Pönitz <poenitz@gmx.net>
1781 * factory.C: support for eqref
1783 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1785 * messages.[Ch]: add missing char
1787 * Makefile.am (lyx_SOURCES): add messages.[Ch]
1789 * messages.[Ch]: New files
1791 2003-04-18 John Levon <levon@movementarian.org>
1795 * BufferView_pimpl.C:
1799 * text2.C: remove layout-copy/paste (bug 778)
1801 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1803 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1805 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1807 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1808 if they succeed. Act accordingly.
1810 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1812 * text2.C (setCharFont): adjust
1813 (setCounter): adjust
1814 (insertStringAsLines): adjust
1816 * text.C (leftMargin): adjust
1817 (setHeightOfRow): adjust
1819 * rowpainter.C (paintFirst): adjust
1822 * paragraph_funcs.C (depthHook): ParagraphList::iterators
1824 (isFirstInSequence): ditto
1825 (getEndLabel): ditto
1828 * paragraph.C (getParLanguage): comment out some hard stuff.
1830 * buffer.C (insertStringAsLines): take a ParagraphList as arg
1832 (simpleDocBookOnePar): ditto
1833 (makeDocBookFile): use ParagraphList::iterator
1835 * CutAndPaste.C (pasteSelection): adjust
1837 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1839 * text2.C (getFont): adjust
1840 (getLayoutFont): adjust
1841 (getLabelFont): adjust
1843 * paragraph_funcs.C (TeXOnePar): adjust
1845 * buffer.C (simpleLinuxDocOnePar): adjust
1846 (simpleDocBookOnePar): adjust
1848 * CutAndPaste.C (pasteSelection): adjust
1850 * BufferView.C (getEncoding): adjust
1852 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1854 2003-04-16 John Levon <levon@movementarian.org>
1856 * lyxfind.C: use parlist stuff for search/changes
1858 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1860 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1862 * text2.C (deleteEmptyParagraphMechanism): adjust
1864 * text2.[Ch] (ownerParagraph): delete func (both of them
1866 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1868 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1870 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1872 * ParagraphList.C: prepare for NO_NEXT
1874 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1876 * text2.C (getFont): adjust
1877 (getLayoutFont): adjust
1878 (getLabelFont): adjust
1880 * paragraph.C (getFont): adjust
1881 (getLabelFont): adjust
1882 (getLayoutFont): adjust
1884 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1886 2003-04-15 John Levon <levon@movementarian.org>
1890 * lyx_main.C: handle Include in .ui files
1892 2003-04-15 John Levon <levon@movementarian.org>
1894 * MenuBackend.C: make the doc files length shorter
1897 * ToolbarBackend.C: handle toolbar placement flags,
1900 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1902 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1905 * paragraph_funcs.C (TeXOnePar): adjust
1907 * paragraph.C (getLabelFont): add outerfont arg, adjust
1908 (getLayoutFont): ditto
1909 (simpleTeXOnePar): adjust
1911 * paragraph_pimpl.C (realizeFont): delete func
1913 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1915 * text2.C (beforeFullRowInset): added a bad getchar check, removed
1916 row argument, constify cur argument.
1918 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1920 * text2.C (getFont): adjust
1921 (getLayoutFont): adjust
1922 (getLabelFont): adjust
1924 * paragraph_funcs.C (TeXOnePar): adjust
1925 (outerFont): new func...
1926 (realizeFont): ...moved out from here, changed this to facilitate
1929 * paragraph.C (getFont): take outerfont as arg, adjust
1930 (simpleTeXOnePar): add outerfont arg, adjust
1932 * buffer.C (simpleLinuxDocOnePar): adjust
1933 (simpleDocBookOnePar): adjust
1935 * CutAndPaste.C (pasteSelection): adjust
1937 * BufferView.C (getEncoding): adjust
1939 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1941 * text2.C (setCharFont): adjust
1942 (setCounter): adjust
1944 * text.C (leftMargin): adjust
1945 (setHeightOfRow): adjust
1947 * rowpainter.C (paintFirst): adjust
1950 * paragraph_pimpl.C (realizeFont): adjust
1952 * paragraph.C (isFirstInSequence): move from here...
1953 * paragraph_funcs.C (isFirstInSequence): ...to here
1955 * paragraph.C (outerHook): move from here...
1956 * paragraph_funcs.C (outerHook): ...to here
1958 * paragraph.C (depthHook): move from here...
1959 * paragraph_funcs.C (depthHook): ...to here
1961 * paragraph.C (getEndLabel): move from here...
1962 * paragraph_funcs.C (getEndLabel): ...to here
1964 * text2.C (realizeFont): move from here...
1965 * paragraph_funcs.C (realizeFont): ...to here
1967 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1969 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1971 2003-04-14 Angus Leeming <leeming@lyx.org>
1973 * LColor.[Ch]: scrap LColor mathcursor.
1975 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1977 * lyxlex.[Ch] (text): delete function
1978 * trans.C (Load): adjust
1979 * paragraph_funcs.C (readParToken): adjust
1981 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1983 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1984 vector<char> instead of a char[].
1986 * lyxlex_pimpl.C (getString): adjust
1988 (lex): use getString
1992 * lyxlex.C (text): use pimpl_->getString()
1996 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1998 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1999 (makeFontEntriesLayoutSpecific): temp var for par.size()
2000 (setLayout): temp var for ownerParagraphs().end()
2001 (fullRebreak): temp var for rows().end()
2002 (selectionAsString): temp var for boost::next(startpit), realize
2003 that the while really is a regular for loop.
2004 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2005 setCursor in one place.
2006 (setParagraph): temp vr for ownerParagraphs().end()
2007 (updateCounters): make the while loop a for loop
2008 (cutSelection): temp var for ownerParagraphs().end()
2009 (updateInset): make the do {} while() a regular for loop
2010 (getCursorX): use temp vars
2011 (setCurrentFont): use temp vars
2012 (getColumnNearX): use temp vars
2014 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2016 * text.C (transformChar): use temp var for getChar
2017 (computeBidiTables): use temp var for row->par()
2018 (fill): move temp vars for row->par() and pit->layout() earlier in
2020 (labelFill): use temp var for row->par()
2021 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2022 asc and desc, realize that pit never changes and that firstpit is
2023 just a duplicate and not needed. Exchange rit->par() with pit in a
2025 (breakAgain): use a temp var for boost::next(rit)
2026 (breakAgainOneRow): ditto
2027 (breakParagraph): use a temp var for rows().begin()
2028 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
2029 (cursorRightOneWord): use temp var for cursor.par() and
2030 cursor.pos(), remove usage of tmpcursor.
2031 (cursorLeftOneWord): use temp var for cursor.par() and
2032 cursor.pos() only set cur at end of function.
2034 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2036 * text.C, text2.C: exchange all usage of Paragraph::next with
2037 boost::next(ParagraphList::iterator)
2039 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2041 * text2.C (cursorTop): simplify implementation
2042 (cursorBottom): ditto
2043 (setParagraph): use ParagraphList::iterator
2044 (setCurrentFont): adjust
2045 (getColumnNearX): adjust
2046 (cursorRight): adjust
2047 (cursorLeft): remove usage of Paragraph::previous
2048 (cursorUpParagraph): ditto
2049 (deleteEmptyParagraphMechanism): slight cleanup
2051 * text.C (isBoundary): take a Paragraph const & instead of a
2053 (addressBreakPoint): ditto
2054 (leftMargin): remove usage of Paragraph::previous.
2055 (setHeightOfRow): ditto
2056 (cursorLeftOneWord): ditto
2057 (selectNextWordToSpellcheck): ditto
2060 (breakParagraph): remove one usage of Paragraph::next
2061 (redoParagraph): ditto
2062 (acceptChange): ditto
2063 (insertChar): adjust
2064 (rowBreakPoint): adjust
2066 * bufferview_funcs.C (toggleAndShow): adjust
2068 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
2070 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
2071 methods to access it.
2073 * text.C: Added updateRowPositions to compute all row positions.
2074 Make top_y and getRowNearY() to use the cached y position
2076 2003-04-11 John Levon <levon@movementarian.org>
2078 * text.C (rowBreakPoint): reintroduce the labelEnd
2079 checks, code copied from the row fill stuff. Deep voodoo.
2081 * text.C (fill): add a comment and debugging for the
2084 2003-04-11 John Levon <levon@movementarian.org>
2086 * text.C: make sure fullrow insets get wrapped to the next line,
2087 even when they're in a manual label
2089 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2091 * text2.C (insertParagraph): make it take ParagraphList::iterator
2093 (setLayout): make it return ParagraphList::iterator
2094 (redoParagraphs): ditto
2096 (checkParagraph): ditto
2098 * text.C (getRow): make getrow take ParagraphList::iterator as arg
2100 * text2.C: adjust several funcs.
2101 (realizeFont): take a ParagraphList::iterator as arg.
2102 (getLayoutFont): ditto
2103 (getLabelFont): ditto
2104 (setCharFont): ditto
2106 * text.C: adjust several funcs.
2108 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2110 * text.C (selectNextWordToSpellcheck): don't accidentally
2113 2003-04-10 John Levon <levon@movementarian.org>
2115 * ToolbarBackend.C (getIcon): special handling for
2118 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2120 * text2.C (cursorRight): a getChar assert fixed
2122 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2124 * text2.C (getFont): change to take a ParagraphList::iterator
2125 instead of Paragraph*
2126 Adjust several functions.
2128 * text.C (transformChar): change to take a ParagraphList::iterator
2129 instead of Paragraph*
2130 (singleWidth): ditto
2131 Adjust several functions.
2133 * rowpainter.C: adjust several functions
2134 * rowpainter.h:store a ParagraphList::iterator and not a
2138 2003-04-09 John Levon <levon@movementarian.org>
2143 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
2144 and the "help" bits as well
2146 2003-04-09 John Levon <levon@movementarian.org>
2149 * ToolbarBackend.C: allow multiple toolbars
2151 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2153 * undo_funcs.C (setCursorParUndo): adjust
2155 * text_funcs.C (transposeChars): adjust
2157 * text3.C (gotoNextInset): adjust
2160 * text2.C (setLayout): adjust
2161 (changeDepth): adjust
2163 (redoParagraphs): adjust
2164 (selectionAsString): adjust
2165 (setParagraph): adjust
2166 (insertInset): adjust
2167 (cutSelection): adjust
2168 (copySelection): adjust
2169 (pasteSelection): adjust
2170 (insertStringAsLines): adjust
2171 (updateInset): adjust
2172 (setCursor): change to take a ParagraphList::iterator parameter
2173 (setCursorIntern): change to take a ParagraphList::iterator parameter
2174 (setCurrentFont): adjust
2175 (cursorLeft): adjust
2176 (cursorRight): adjust
2177 (deleteEmptyParagraphMechanism): adjust
2179 * text.C (breakParagraph): adjust
2180 (insertChar): adjust
2181 (acceptChange): adjust
2182 (rejectChange): adjust
2183 (selectNextWordToSpellcheck): adjust
2184 (changeCase): adjust
2188 * lyxfind.C (SearchForward): adjust
2189 (SearchBackward): adjust
2190 (nextChange): adjust
2192 * lyxcursor.C (par): adjust
2194 * lyxcursor.h: store a ParagraphList::iterator instead of a
2197 * lyx_cb.C (getPossibleLabel): adjust
2199 * bufferview_funcs.C (toggleAndShow): adjust
2201 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2204 * BufferView.C (removeAutoInsets): adjust
2205 (lockedInsetStoreUndo): adjust
2207 2003-04-09 John Levon <levon@movementarian.org>
2209 * ToolbarBackend.C: try icon without argument
2210 if with argument fails
2212 2003-04-08 John Levon <levon@movementarian.org>
2215 * ToolbarBackend.C: add getIcon(), handle tooltip,
2216 and change from "Icon" to "Item".
2218 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2220 * BufferView.C (lockInset): another bad getchar crunched
2222 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2224 * text2.C (changeDepth): do not setUndo on test_only (make undo work
2227 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2229 * lyxfind.C (searchForward, searchBackwards): bug 782
2231 2003-04-07 John Levon <levon@movementarian.org>
2233 * paragraph.C: remove dead comment
2235 * text.C: remove troublesome depth-fiddling code
2236 in leftMargin() and rightMargin() (bug 1017)
2238 * text.C: fix breaking of rows in nested lists
2241 * text2.C (updateCounters): fix up depth values
2244 2003-04-07 John Levon <levon@movementarian.org>
2246 * BufferView_pimpl.C: clear message when doc finishes resizing,
2247 and after a mouse event
2249 * lyxfunc.C: clear message after exiting inset
2251 2003-04-07 John Levon <levon@movementarian.org>
2253 * bufferview_funcs.C: show math status not outside
2254 status in the statusbar
2256 2003-04-07 John Levon <levon@movementarian.org>
2258 * lyxfunc.C: note status changed after a depth change
2260 2003-04-04 Angus Leeming <angus@localhost.localdomain>
2262 * LaTeX.h: move AuxInfo operator==, != out of line.
2263 Remove LaTeX virtual destructor; nothing derives from it.
2264 Move operator()() out of public area and rename it startscript().
2265 Change protected for private.
2267 2003-04-04 Angus Leeming <leeming@lyx.org>
2270 * text2.C: remove unneeded #includes.
2272 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2274 * text2.C (dEPM): fix the heigth of the next row
2276 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2278 * text.C: squashed an invalid getChar requester + some ws changes
2280 2003-04-03 John Levon <levon@movementarian.org>
2282 * bufferview_funcs.h:
2283 * bufferview_funcs.C:
2286 * text2.C: make getStatus work for the env depth lfuns
2288 2003-04-03 John Levon <levon@movementarian.org>
2290 * bufferview_funcs.h:
2291 * bufferview_funcs.C:
2294 * text2.C: parlistize decDepth(), by merging it with incDepth()
2296 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2298 * lyxrow.h: store a ParagraphList::iterator instead of a
2299 Paragraph* and adjust other class functions to suit.
2301 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
2304 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2306 * text2.C (setCursor): do not anchor to cursor row for the time being
2308 2003-04-02 John Levon <levon@movementarian.org>
2315 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
2317 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2319 * paragraph.h: make ParagraphList and ParagraphList::iterator
2320 friends of Paragraph.
2322 * buffer.C (makeLinuxDocFile): move towards ParagraphList
2324 * ParagraphList.C: Use the private next_ and previous_ from
2327 2003-04-01 John Levon <levon@movementarian.org>
2331 * Makefile.am: rename, remove defaults gunk
2334 * MenuBackend.C: remove defaults gunk
2337 * Languages.C: remove defaults gunk
2340 * lyx_main.C: error out if files couldn't be found.
2342 2003-04-02 John Levon <levon@movementarian.org>
2344 * text2.C: make incDepth() use parlist
2346 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2348 * undo_funcs.C (firstUndoParagraph): adjust
2350 * text3.C (gotoInset): adjust
2351 (dispatch): adjust, and rewrite loop.
2353 * text2.C (init): adjust, and rewrite loop.
2354 (redoParagraphs): adjust
2355 (updateInset): adjust, and rewrite loop.
2356 (deleteEmptyParagraphMechanism): adjust
2358 * tabular.C (LyXTabular): adjust
2359 (SetMultiColumn): adjust
2362 * lyxtext.[Ch] (ownerParagraph): delete function
2363 (ownerParagraphs): new function returns a ParagraphList.
2365 * BufferView.C (removeAutoInsets): adjust
2366 (insertErrors): adjust
2367 (setCursorFromRow): adjust
2369 2003-04-01 Angus Leeming <leeming@lyx.org>
2371 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
2374 2003-04-02 John Levon <levon@movementarian.org>
2380 * text_funcs.C: make transposeChars a free function
2382 * lyxrow_funcs.C: remove wrong comment
2384 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2387 * rowpainter.C: adjust
2392 * lyxrow_funcs. [Ch]: new files
2394 * lyxrow.[Ch]: remove next and previous pointers
2395 (next,previous): remove accessor functions
2396 (isParEnd): move to lyxrow_funcs
2397 (lastPos): move to lyxrow_funcs
2398 (nextRowIsAllInset): move to lyxrow_funcs
2399 (lastPrintablePos): move to lyxrow_funcs
2400 (numberOfSeparators): move to lyxrow_funcs
2401 (numberOfHfills): move to lyxrow_funcs
2402 (numberOfLabelHfills): move to lyxrow_funcs
2403 (hfillExpansion): move to lyxrow_funcs
2407 * bufferview_funcs.C (toggleAndShow): adjust
2409 * RowList.h: Remove class RowList from file leave just a
2412 * RowList.C: delete file
2414 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
2417 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2419 * text3.C (cursorPrevious): adjust
2420 (cursorNext): adjust
2423 * text2.C (redoHeightOfParagraph): adjust
2424 (redoDrawingOfParagraph): adjust
2427 * text.C (breakParagraph): adjust
2428 (insertChar): adjust
2431 * rowpainter.C (RowPainter): adjust
2432 (leftMargin): simplify and adjust
2433 (most rowpainter functions): adjust.
2435 * rowpainter.h: store the row as RowList::iterator not as Row*
2437 * lyxcursor.C (row): taka RowList::iterator as arg
2440 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
2443 2003-04-01 Angus Leeming <leeming@lyx.org>
2445 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
2446 stuff like bool Bool.
2448 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2450 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
2453 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2455 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
2458 * lyxtext.h (rows): drop one version and leve a const variant that
2459 returns a RowList::iterator.
2461 2003-03-31 Angus Leeming <leeming@lyx.org>
2463 * text.C (fill): ensure that the signature is the same as that in the
2466 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
2468 * text2.C (redoParagraphs): adjust
2469 (updateCounters): adjust
2470 (checkParagraph): adjust
2471 (getColumnNearX): adjust and reformat a bit.
2473 * text.C (top_y): adjust
2475 (leftMargin): adjust
2476 (prepareToPrint): adjust
2478 (getRowNearY): adjust
2480 * lyxtext.h: make rowlist_ mutable.
2482 * RowList.h: add const_iterator
2483 * RowList.C: adjust for RowList::const_iterator.
2485 * text2.C (getCursorX): make it take a RowList::iterator as arg,
2488 2003-03-31 John Levon <levon@movementarian.org>
2491 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
2493 * lyx_main.C: set default fonts from using lyx_gui funcs
2495 * exporter.C: pdf_mode moved from lyxrc
2498 * lyxfunc.C: changes from above
2500 2003-03-31 John Levon <levon@movementarian.org>
2502 * lyx_main.C: fix to the last fix
2504 2003-03-31 John Levon <levon@movementarian.org>
2506 * bufferlist.C: "Load original" -> "Load Original"
2512 * format.C: more Alert cleanups
2514 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2516 * text2.C (removeParagraph): make it take a RowList::iterator as
2518 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
2519 (postRowPaint): make it take a RowList::iterator as arg, adjust.
2521 * text.C (anchor_row): make it take a RowList::iterator as arg,
2523 (computeBidiTables): make it take a const reference to Row instead
2524 of Row pointer, adjust.
2525 (leftMargin): make it take a RowList::iterator as arg, adjust.
2526 (rowBreakPoint): adjust
2527 (breakAgainOneRow): make it take a RowList::iterator as arg,
2529 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
2531 * bufferview_funcs.C (toggleAndShow): adjust
2533 2003-03-30 John Levon <levon@movementarian.org>
2537 * boost-inst.C: moved to support
2539 * several files: changes as a result
2541 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2543 * text2.C (LyXText): adjust.
2545 (removeRow): make it take a RowList::iterator as arg, adjust.
2546 (fullRebreak): adjust
2547 (deleteEmptyParagraphMechanism): adjust
2548 (clearPaint): adjust
2551 * text.C (top_y): adjust
2552 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
2553 (breakAgain): make it take a RowList::iterator as arg, adjust.
2554 (breakParagraph): adjust
2555 (insertChar): adjust
2558 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
2559 need_break_row, and refresh_row.
2561 * text3.C (dispatch): adjust
2563 * text2.C (checkParagraph): adjust
2565 (setCursorFromCoordinates): adjust
2567 * text.C (top_y): adjust
2569 (getRow): make it return a RowList::iterator, adjust
2570 (getRowNearY): make it return a RowList::iterator, adjust
2572 * text2.C (init): adjust
2573 (insertRow): remove function
2574 (insertParagraph): adjust
2575 (redoParagraphs): adjust
2576 (fullRebreak): adjust
2577 (updateCounters): adjust
2579 * text.C (top_y): rewrite to use RowList iterators.
2581 (setHeightOfRow): rewrite to sue RowList iterators.
2582 (appendParagraph): adjust
2583 (breakAgain): adjust
2584 (breakAgainOneRow): adjust
2585 (breakParagraph): adjust
2587 (getRowNearY): adjust, and remove commented code.
2589 * lyxtext.h (firstRow): delete function
2590 (lastRow): delete function
2591 (rows): new function (const and non-const versions.)
2592 (insertRow): delete function
2594 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
2596 2003-03-29 John Levon <levon@movementarian.org>
2598 * BufferView_pimpl.C: always update scrollbar top
2599 because pasting text when we're anchored could mean we
2600 miss an update altogether
2602 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2604 * text2.C (init): use rowlist_.end() and not 0.
2605 (insertRow): change to take a RowList::iterator as arg, adjust
2607 (insertParagraph): change to take a RowList::iterator as arg,
2609 (redoParagraphs): remove some debug msgs.
2611 * text.C (appendParagraph): change to take a RowList::iterator
2612 arg, adjust for this.
2613 (breakAgain): add an assert
2614 (breakAgainOneRow): ditto
2616 2003-03-29 John Levon <levon@movementarian.org>
2618 * text2.C: do not clear selection after inc/decDepth
2621 2003-03-29 John Levon <levon@movementarian.org>
2624 * buffer.C: fix broken strerrors according to Lars
2626 2003-03-29 John Levon <levon@movementarian.org>
2628 * converters.C: more Alert cleanups
2630 2003-03-29 John Levon <levon@movementarian.org>
2632 * bufferview_funcs.C: remove pointless Alert
2634 * buffer.C: fix confusing error message when
2635 a template is chmoded 000
2637 2003-03-29 John Levon <levon@movementarian.org>
2641 * BufferView_pimpl.C: Alert fixes
2645 * tabular-old.C: remove unused table compat reading
2647 2003-03-29 John Levon <levon@movementarian.org>
2652 * lyx_cb.C: more Alert cleanups
2654 * lyxfunc.C: don't allow chktex if not latex document
2656 2003-03-29 John Levon <levon@movementarian.org>
2660 * buffer.C: warnings pushed down from support/,
2663 2003-03-29 John Levon <levon@movementarian.org>
2665 * lyxfunc.C: safety check for C-r (revert)
2667 2003-03-29 John Levon <levon@movementarian.org>
2670 * bufferlist.C: several UI fixes using Alert::prompt.
2671 Fix the pointless looping quit code. Fix stupid revert
2676 * lyx_cb.C: use Alert::prompt
2678 * lyx_main.C: remove a silly question
2680 * lyxfunc.C: remove a couple of silly questions,
2683 2003-03-28 John Levon <levon@movementarian.org>
2685 * text2.C: fix bug 974 (End on empty par)
2687 2003-03-28 John Levon <levon@movementarian.org>
2689 * BufferView_pimpl.C:
2691 * lfuns.h: remove do-nothing math greek lfuns
2693 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2695 * lyxgluelength.h (isValidGlueLength): add default arg on
2696 parameter 2. Remove default arg from friend in class.
2698 * lyxlength.h (isValidLength): add default arg on parameter 2.
2699 Remove default arg from friend in class.
2701 * text2.C (LyXText): adjust, initialize refresh_row.
2705 (insertParagraph): adjst
2706 (redoParagraphs): adjust
2707 (fullRebreak): adjust
2708 (updateCounters): adjust
2709 (deleteEmptyParagraphMechanism): first attempt at fixing a
2712 * text.C (top_y): adjust
2713 (setHeightOfRow): adjust
2715 (getRowNearY): adjust
2717 * lyxtext.h: include RowList.h
2718 (~LyXText): not needed anymore, deleted.
2719 (firstRow): modify for RowList
2720 (lastRow): new function
2721 Delete firstrow and lastrow class variables, add a Rowlist
2722 rowlist_ class variable.
2724 * lyxrow.C (lastPos): use empty() and not !size() to check if a
2727 * RowList.C (insert): fix case where it == begin().
2729 2003-03-26 Angus Leeming <leeming@lyx.org>
2731 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2732 the thesaurus dialog.
2734 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2736 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2738 * RowList.[Ch]: new files
2740 * ParagraphList.C (erase): handle the case where it == begin
2743 2003-03-25 John Levon <levon@movementarian.org>
2747 * aspell.C: add new aspell support
2750 * lyxrc.C: Make use_pspell be use_spell_lib. Always
2753 2003-03-25 Angus Leeming <leeming@lyx.org>
2756 * LyXAction.C (init): new LFUN_INSET_INSERT.
2758 * BufferView_pimpl.C (dispatch): split out part of the
2759 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2761 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2764 2003-03-25 Angus Leeming <leeming@lyx.org>
2766 * lyxfunc.C (dispatch): changes to the Dialogs interface.
2768 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
2771 * text3.C: remove useless row->height(0)
2773 2003-03-25 John Levon <levon@movementarian.org>
2777 * text3.C: rename the refreshing stuff to better names
2779 2003-03-24 John Levon <levon@movementarian.org>
2781 * BufferView_pimpl.h:
2782 * BufferView_pimpl.C: update layout choice on a mouse
2785 2003-03-23 John Levon <levon@movementarian.org>
2787 * Makefile.am: fix commandtags.h reference
2789 2003-03-22 John Levon <levon@movementarian.org>
2791 * BufferView_pimpl.C:
2796 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2798 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
2801 * text.C: take the rtl methods out of line
2803 2003-03-21 André Pönitz <poenitz@gmx.net>
2805 * metricsinfo.[Ch]: new files containing structures to be passed around
2806 during the two-phase-drawing...
2808 2003-03-21 André Pönitz <poenitz@gmx.net>
2810 * lyxtextclass.C: read 'environment' tag.
2812 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
2814 * text2.C (removeRow): fix bug 964
2816 2003-03-20 John Levon <levon@movementarian.org>
2820 * text2.C: paint cleanups. Inset::update() dropped font
2823 2003-03-19 John Levon <levon@movementarian.org>
2825 * lyxfunc.C: only fitcursor/markDirty if available()
2827 2003-03-19 John Levon <levon@movementarian.org>
2829 * commandtags.h: rename to ...
2831 * lfuns.h: ... this, and renumber / cleanup
2833 2003-03-19 John Levon <levon@movementarian.org>
2835 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2836 fit the cursor after an lfun
2840 * BufferView_pimpl.h:
2841 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2843 * LyXAction.C: layout-character should have ReadOnly
2845 * ParagraphParameters.C:
2847 * bufferview_funcs.C:
2854 * undo_funcs.C: changes from above
2856 2003-03-18 John Levon <levon@movementarian.org>
2858 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2859 remove it from update()
2861 * lyxfunc.C: update layout choice after an lfun
2863 * text3.C: remove extra updateLayoutChoice()s
2865 2003-03-18 John Levon <levon@movementarian.org>
2867 * text.C: top_y change means full repaint, fix
2868 a drawing bug with cursor movement
2870 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2874 * text2.C: anchor row on setCursor
2876 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2878 * lyxtext.h: remove almost all mutable keywords
2881 * text3.C: remove const keywords accordingly
2883 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2885 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2887 (TeXEnvironment): ditto
2890 2003-03-17 John Levon <levon@movementarian.org>
2892 * text.C (rowBreakPoint): remove attempt to fix displayed
2893 math insets inside a manual label
2895 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2897 * lyxtext.h: remove BufferView* as first arg from almost all class
2899 * other files: adjust.
2901 2003-03-17 John Levon <levon@movementarian.org>
2905 * text2.C: more paint cleanups
2907 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2910 * rowpainter.C: remove "smart" background painting code
2912 2003-03-16 John Levon <levon@movementarian.org>
2917 * text3.C: add helper functions for setting refresh_row/y
2919 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
2921 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2922 newline inset which *can* get inserted in the pass_thru layouts.
2923 This is primarily for literate documents.
2925 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
2927 * buffer.C: increment LYX_FORMAT to 223
2929 2003-03-14 André Pönitz <poenitz@gmx.net>
2931 * textclass.h: prepare for environment handling, ws changes
2932 * lyxlayout.C: read latexheader and latexfooter tags
2934 2003-03-14 John Levon <levon@movementarian.org>
2936 * text2.C: rewrite ::status() a bit
2938 2003-03-13 John Levon <levon@movementarian.org>
2940 * lyxtext.h: add some docs
2942 2003-03-13 John Levon <levon@movementarian.org>
2947 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2949 2003-03-13 John Levon <levon@movementarian.org>
2951 * text3.C: fix appendix redrawing
2953 2003-03-13 John Levon <levon@movementarian.org>
2955 * text.C (setHeightOfRow):
2957 * rowpainter.C: make appendix mark have the text
2958 "Appendix" so the user knows what it is
2961 * LColor.C: s/appendixline/appendix/ from above
2963 2003-03-13 John Levon <levon@movementarian.org>
2965 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2967 * text.C: fix a getChar(pos) bug properly
2969 2003-03-13 Angus Leeming <leeming@lyx.org>
2972 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2973 Probably only temporary. Let's see how things pan out.
2975 * BufferView.C (unlockInset):
2976 * BufferView_pimpl.C (fitCursor):
2977 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2979 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2980 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2982 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2983 new functions that convert ParagraphParameters to and from a string.
2985 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2986 BufferView::Pimpl's dispatch.
2987 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2989 2003-03-13 André Pönitz <poenitz@gmx.net>
2993 * factory.C: make it aware of InsetEnv
2995 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2997 * text2.C (setCursor): never ask for one past last
2998 (setCursor): add some debugging messages.
3000 * text.C (singleWidth): never ask for one past last
3001 (singleWidth): ditto
3003 (rightMargin): ditto
3004 (rowBreakPoint): ditto
3005 (setHeightOfRow): ditto
3006 (prepareToPrint): ditto
3008 * rowpainter.C (paintBackground): never ask for one past last
3009 (paintText): never ask for one past last
3011 * paragraph_pimpl.C (getChar): make the assert stricter, never
3012 allow the one past last pos to be taken
3014 * paragraph.C (getChar): ws changes only
3016 * lyxrow.C (nextRowIsAllInset): never ask for one past last
3017 (numberOfSeparators): ditto
3018 (numberOfHfills): ditto
3020 2003-03-12 John Levon <levon@movementarian.org>
3026 * paragraph_funcs.C: fix per-buffer authorlists
3028 2003-03-12 John Levon <levon@movementarian.org>
3030 * text.C: fix newline in right address
3032 2003-03-12 Angus Leeming <leeming@lyx.org>
3034 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
3035 duplicate those in LyXFunc::dispatch.
3039 * ToolbarDefaults.C:
3040 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3041 Add LFUN_FONTFREE_UPDATE.
3043 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3044 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3046 * bufferview_func.[Ch]: several new functions to facilliate
3047 transfer of data to and from the character dialog.
3049 2003-03-12 John Levon <levon@movementarian.org>
3054 * paragraph_funcs.C:
3055 * paragraph_pimpl.C:
3059 * text3.C: remove META_NEWLINE in favour of an inset
3062 * rowpainter.C: remove paintNewline (done by inset)
3064 2003-03-12 John Levon <levon@movementarian.org>
3066 * paragraph_pimpl.C: complain about bad getChar()s
3067 for a while at least
3069 2003-03-12 John Levon <levon@movementarian.org>
3072 * buffer.C: move paragraph read into a separate function,
3073 a little renaming to reflect that.
3076 * bufferparams.C: remove the author_ids map, not necessary now
3079 * factory.C: moved Buffer::readInset to here
3081 * paragraph_funcs.h:
3082 * paragraph_funcs.C: readParagraph free function moved from
3085 * tabular.C: name change
3087 2003-03-12 John Levon <levon@movementarian.org>
3090 * ParagraphParameters.C: move par params input to
3093 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
3094 behave like a normal read from the stream wrt reading
3095 a line vs. a \\token
3097 2003-03-12 John Levon <levon@movementarian.org>
3100 * ParagraphParameters.h:
3101 * ParagraphParameters.C: move output code to a
3104 2003-03-12 John Levon <levon@movementarian.org>
3106 * BufferView.C (insertLyXFile):
3109 * tabular.C: use a parlist iterator for creating the
3112 2003-03-12 John Levon <levon@movementarian.org>
3114 * buffer.C: make current_change static local not
3117 2003-03-12 John Levon <levon@movementarian.org>
3119 * buffer.C: fix insertStringAsLines for change tracking
3121 2003-03-12 John Levon <levon@movementarian.org>
3128 * bufferparams.C: move author list into params. Rename some
3129 functions. Move the header reading into a separate token
3130 loop. Move the header token reading into BufferParams.
3132 2003-03-12 John Levon <levon@movementarian.org>
3134 * changes.C: put debug inside lyxerr.debugging() checks
3136 2003-03-11 André Pönitz <poenitz@gmx.net>
3138 * factory.C: make it aware of InsetHFill
3140 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3142 * buffer.C (latexParagraphs): move function from here...
3143 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
3146 2003-03-10 Angus Leeming <leeming@lyx.org>
3148 * LyXAction.C (init): fix bug in poplating array with multiple entries
3149 with the same LFUN (spotted by JMarc).
3151 2003-03-10 John Levon <levon@movementarian.org>
3154 * text2.C: move getColumnNearX() near its
3157 2003-03-10 John Levon <levon@movementarian.org>
3159 * text.C: fix break before a minipage
3161 2003-03-10 John Levon <levon@movementarian.org>
3163 * text.C: fix the last commit
3165 2003-03-09 John Levon <levon@movementarian.org>
3169 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
3170 bug 365 (don't break before insets unless needed). Don't
3171 return a value > last under any circumstances.
3173 2003-03-09 Angus Leeming <leeming@lyx.org>
3175 * BufferView_pimpl.C (trackChanges, dispatch): call
3176 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
3178 2003-03-09 Angus Leeming <leeming@lyx.org>
3180 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
3181 than Dialogs::showAboutlyx().
3183 2003-03-09 Angus Leeming <leeming@lyx.org>
3185 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
3186 than Dialogs::showTabularCreate().
3188 2003-03-09 John Levon <levon@movementarian.org>
3192 * text2.C: 3rd arg to nextBreakPoint was always the same.
3195 2003-03-08 John Levon <levon@movementarian.org>
3202 * text2.C: Remove the "main" bit from the "main body"
3205 2003-03-08 John Levon <levon@movementarian.org>
3207 * text.C (leftMargin): The left margin of an empty
3208 manual label paragraph should not include the label width
3211 * text.C (prepareToPrint): don't attempt to measure hfills
3212 for empty manual label paragraphs - the answer should be 0
3214 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3216 * CutAndPaste.C: remove commented code and reindent.
3218 2003-03-08 John Levon <levon@movementarian.org>
3221 * lyxfunc.C: move reloadBuffer()
3224 * BufferView.C: to here
3226 * lyxvc.C: add comment
3229 * vc-backend.C: call bv->reload() to avoid
3230 getStatus() check on MENURELOAD
3232 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
3234 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
3235 to an old format .dep file.
3237 2003-03-07 Angus Leeming <leeming@lyx.org>
3239 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
3240 when the LFUN_MOUSE_RELEASE should have been handled by
3241 inset->localDispatch.
3243 2003-03-07 Angus Leeming <leeming@lyx.org>
3245 * BufferView_pimpl.C (dispatch):
3246 * LyXAction.C (init):
3247 * ToolbarDefaults.C (init):
3249 * lyxfunc.C (getStatus):
3250 remove LFUN_INSET_GRAPHICS.
3252 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
3254 2003-03-07 Angus Leeming <leeming@lyx.org>
3257 * LyXAction.C (init):
3258 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
3260 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
3263 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
3265 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
3266 localDispatch method LFUN_INSET_DIALOG_UPDATE.
3268 2003-03-07 Angus Leeming <leeming@lyx.org>
3270 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
3273 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3275 * ParagraphList.C (front): new function
3278 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3280 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
3281 and top_row_offset_. removed var first_y.
3283 * text2.C (LyXText, removeRow):
3285 * BufferView_pimpl.C:
3286 use these methods instead of using first_y
3288 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3290 * text2.C (pasteSelection): adjust for checkPastePossible
3292 * CutAndPaste.C: remove Paragraph * buf and replace with
3293 ParagraphList paragraphs.
3294 (DeleteBuffer): delete
3295 (cutSelection): change the tc type to textclass_type
3296 (copySelection): change the tc type to textclass_type
3297 (copySelection): adjust for ParagraphList
3298 (pasteSelection): change the tc type to textclass_type
3299 (pasteSelection): adjust for Paragraphlist
3300 (nrOfParagraphs): simplify for ParagraphList
3301 (checkPastePossible): simplify for ParagraphList
3302 (checkPastePossible): remove unused arg
3304 * ParagraphList.C (insert): handle the case where there are no
3307 * CutAndPaste.h: make CutAndPaste a namespace.
3309 * text3.C (dispatch): adjust
3311 * text.C (breakParagraph): add a ParagraphList as arg
3313 * paragraph_funcs.C (breakParagraph): change to take a
3314 BufferParams and a ParagraphList as args.
3315 (breakParagraphConservative): ditto
3316 (mergeParagraph): ditto
3317 (TeXDeeper): add a ParagraphList arg
3318 (TeXEnvironment): ditto
3321 * buffer.C (readLyXformat2): adjust
3322 (insertStringAsLines): adjust
3323 (latexParagraphs): adjust
3325 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
3326 (cutSelection): adjust
3327 (pasteSelection): adjust
3329 * BufferView_pimpl.C (insertInset): adjust
3331 2003-03-05 Angus Leeming <leeming@lyx.org>
3334 * LyXAction.C (init):
3335 * BufferView_pimpl.C (dispatch):
3336 * lyxfunc.C (getStatus):
3337 remove LFUN_CHILD_INSERT.
3339 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
3341 2003-03-05 Angus Leeming <leeming@lyx.org>
3344 * LyXAction.C (init):
3345 * src/factory.C (createInset):
3346 * lyxfunc.C (getStatus):
3347 * text3.C (dispatch):
3348 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
3350 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
3352 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3354 * ParagraphList.C (insert): handle insert right before end()
3355 (erase): fix cases where it can be first or last paragraph.
3357 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3359 * paragraph_funcs.C (TeXEnvironment): remove all usage of
3360 Paragraph::next and Paragraph::previous
3363 * text.C (breakParagraph): adjust
3365 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
3366 BufferParams& as arg.
3367 (breakParagraph): use ParagraphList::insert
3368 (breakParagraphConservative): take a Buffer* instead of a
3369 BufferParams& as arg.
3370 (breakParagraphConservative): use ParagraphList::insert.
3372 * buffer.C (insertStringAsLines): un-const it
3373 (insertStringAsLines): adjust
3375 * ParagraphList.C (insert): new function
3377 * CutAndPaste.C (pasteSelection): adjust
3379 * text.C (backspace): adjust
3381 * tabular.C (SetMultiColumn): adjust
3383 * CutAndPaste.C (cutSelection): adjust
3384 (pasteSelection): adjust
3386 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
3387 Buffer const * as arg
3389 * ParagraphList.C (erase): new function
3390 * paragraph_funcs.C (mergeParagraph): use it
3391 (mergeParagraph): make it take a Buffer* instead of a
3392 BufferParams* as arg
3394 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
3396 (breakParagraphConservative): ditto
3398 * paragraph.h: remove the breakParagraph friend
3400 * paragraph.C (eraseIntern): new function
3401 (setChange): new function
3403 * paragraph_funcs.C (mergeParagraph): make it take a
3404 ParagraphList::iterator instead of a Paragraph *, adjust
3407 * paragraph.h: move an #endif so that the change tracking stuff
3408 also works in the NO_NEXT case.
3410 2003-03-04 Angus Leeming <leeming@lyx.org>
3413 * LyXAction.C: new LFUN_INSET_MODIFY.
3415 * BufferView_pimpl.C (dispatch): if an inset is found to be open
3416 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
3418 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3420 * several files: ws changes only
3422 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
3423 (TeXEnvironment): ditto
3426 * buffer.C (makeLaTeXFile): adjust
3427 (latexParagraphs): make it take ParagraphList::iterator as args
3429 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3431 * buffer.C (latexParagraphs): adjust
3433 * paragraph.C (TeXOnePar): move function...
3434 (optArgInset): move function...
3435 (TeXEnvironment): move function...
3436 * paragraph_pimpl.C (TeXDeeper): move function...
3437 * paragraph_funcs.C: ...here
3439 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
3441 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3443 * buffer.C (readInset): remove compability code for old Figure and
3446 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3448 * buffer.C: ws changes
3451 * BufferView_pimpl.C: ditto
3454 * bufferlist.h: ditto
3458 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3460 * converter.[Ch]: split into itself +
3463 * Makefile.am: += graph.[Ch] + format.[Ch]
3470 * lyxrc.C: added #include "format.h"
3472 2003-02-27 Angus Leeming <leeming@lyx.org>
3474 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
3477 * factory.C (createInset): add "label" to the factory.
3479 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
3480 string and do no more.
3482 2003-02-27 Angus Leeming <leeming@lyx.org>
3485 * LyXAction.C (init):
3486 * factory.C (createInset):
3487 * BufferView_pimpl.C (dispatch):
3488 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3490 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
3492 * lyxfunc.C (dispatch):
3493 * text3.C (dispatch): pass name to params2string.
3495 2003-02-26 Angus Leeming <leeming@lyx.org>
3497 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
3499 Rearrange the ~includes. Strip out the unnecessary ones.
3501 * factory.C (createInset): reformat.
3502 create new insets for the various LFUN_XYZ_APPLY lfuns.
3504 2003-02-26 John Levon <levon@movementarian.org>
3507 * lyxrow.C: add isParStart,isParEnd helpers
3509 * paragraph.h: make isInserted/DeletedText take refs
3511 * paragraph_funcs.h:
3512 * paragraph_funcs.C: remove #if 0'd code
3517 * text.C: use lyxrow helpers above.
3518 Move draw and paint routines to RowPainter.
3519 Make several methods use refs not pointers.
3520 Make backgroundColor() const.
3521 Add markChangeInDraw(), isInInset().
3522 Merge changeRegionCase into changeCase.
3523 Make workWidth() shouldn't-happen code into an Assert.
3526 * rowpainter.C: new class for painting a row.
3529 * vspace.C: make inPixels take a ref
3531 2003-02-26 Angus Leeming <leeming@lyx.org>
3533 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
3536 2003-02-25 John Levon <levon@movementarian.org>
3538 * ispell.C: give the forked command a more accurate name
3540 2003-02-22 John Levon <levon@movementarian.org>
3543 * toc.C: make TocItem store an id not a Paragraph *
3546 2003-02-21 Angus Leeming <leeming@lyx.org>
3548 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
3549 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
3550 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
3551 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
3552 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
3553 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
3555 * BufferView_pimpl.C (dispatch):
3556 * LyXAction.C (init):
3557 * factory.C (createInset):
3558 * lyxfunc.C (getStatus, dispatch):
3559 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
3561 2003-02-21 Angus Leeming <leeming@lyx.org>
3563 * BufferView_pimpl.C (MenuInsertLyXFile):
3564 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3565 * lyxfunc.C (menuNew, open, doImport):
3566 no longer pass a LyXView & to fileDlg.
3568 2003-02-21 Angus Leeming <leeming@lyx.org>
3570 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
3571 * LyXAction.C: change, BIBKEY to BIBITEM.
3572 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
3573 Change InsetBibKey to InsetBibitem.
3574 Change BIBKEY_CODE to BIBITEM_CODE.
3575 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3576 * factory.C: replace insetbib.h with insetbibitem.h.
3577 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3578 * paragraph.C: replace insetbib.h with insetbibitem.h.
3579 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
3580 Change bibkey() to bibitem().
3581 * text.C: remove insetbib.h.
3582 * text2.C: replace insetbib.h with insetbibitem.h.
3583 change bibkey() to bibitem().
3584 * text3.C: remove insetbib.h.
3585 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3587 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3589 * lyxrc.C (output): enclose user email in quotes (in case there are
3592 2003-02-18 John Levon <levon@movementarian.org>
3594 * buffer.h: add std::
3596 2003-02-17 John Levon <levon@movementarian.org>
3602 * pspell.C: reworking. Especially in ispell, a large
3603 number of clean ups and bug fixes.
3605 * lyxfunc.C: fix revert to behave sensibly
3607 2003-02-17 André Pönitz <poenitz@gmx.net>
3610 * commandtags.h: new LFUN_INSERT_BIBKEY
3620 * paragraph_func.C: remove special bibkey handling
3622 2003-02-17 John Levon <levon@movementarian.org>
3624 * text.C (Delete): fix case where delete at the end of
3625 the very first paragraph would not merge the pars
3627 2003-02-17 John Levon <levon@movementarian.org>
3629 * lyxrow.C: fix lastPrintablePos()
3631 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3633 * bufferparams.C (writeLaTeX): add a std:here
3635 * buffer.C: and remove a using directive there
3637 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3639 * buffer.C (makeLaTeXFile): move the code that generates the
3642 * bufferparams.C (writeLaTeX): ... in this new method
3644 * LaTeXFeatures.C (getEncodingSet): make const
3645 (getLanguages): make const
3647 * MenuBackend.C (binding): returns the binding associated to this
3649 (add): sets the status of each item by calling getStatus. Adds
3651 (read): add support for OptSubMenu
3652 (expand): remove extra separator at the end of expanded menu
3654 2003-02-15 John Levon <levon@movementarian.org>
3657 * BufferView_pimpl.C:
3659 * bufferlist.C: remove pointless BufferStorage bloat. Remove
3660 inset code that had no actual effect. Remove unneeded status
3663 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3665 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
3668 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
3670 * text.C (drawLengthMarker): also draw an arrow marker for
3671 symbolic lengths (medskip...)
3673 2003-02-14 John Levon <levon@movementarian.org>
3676 * tabular.C: better method names
3678 2003-02-14 John Levon <levon@movementarian.org>
3680 * BufferView_pimpl.C:
3685 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3686 it's a more accurate name. Remove some pointless uses.
3688 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3690 * text2.C (LyXText): change order of initilizers to shut off
3693 2003-02-14 John Levon <levon@movementarian.org>
3695 * buffer.C: use ParIterator for getParFromID()
3699 * paragraph_pimpl.h:
3700 * paragraph_pimpl.C: remove unused getParFromID()
3702 2003-02-14 John Levon <levon@movementarian.org>
3704 * buffer.C: remove some very old #if 0'd parse code
3706 2003-02-13 John Levon <levon@movementarian.org>
3710 * text2.C: move hfillExpansion(), numberOfSeparators(),
3711 rowLast(), rowLastPrintable(), numberofHfills(),
3712 numberOfLabelHfills() ...
3715 * lyxrow.C: ... to member functions here.
3720 * text.C: remove LyXText::beginningOfMainBody(), and call
3721 p->beginningOfMainBody() directly. Move the check for
3722 LABEL_MANUAL into the latter.
3729 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3735 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3736 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3738 2003-02-13 John Levon <levon@movementarian.org>
3740 * CutAndPaste.C: remove debug
3742 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3744 * paragraph.C (asString): remove two unused variables
3746 * lyxtextclass.C (readTitleType):
3748 (LyXTextClass): handle new members titletype_ and titlename_
3750 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3752 2003-02-09 John Levon <levon@movementarian.org>
3755 * buffer.C: replace hand-coded list with a map for the dep clean
3757 2003-02-08 John Levon <levon@movementarian.org>
3759 * LaTeX.C: consolidate code into showRunMessage() helper
3761 2003-02-08 John Levon <levon@movementarian.org>
3766 * BufferView.C: change setSelectionOverString() to setSelectionRange()
3767 and pass the size in explicitly
3769 * BufferView_pimpl.h:
3770 * BufferView_pimpl.C:
3772 * BufferView.C: add getCurrentChange()
3774 * BufferView_pimpl.h:
3775 * BufferView_pimpl.C: handle change lfuns
3777 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3778 for changes. Mark pasted paragraphs as new.
3780 * support/lyxtime.h:
3781 * support/lyxtime.C:
3782 * DepTable.C: abstract time_t as lyx::time_type
3785 * LColor.C: add colours for new text, deleted text, changebars
3787 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3788 package use "usenames" option.
3792 * LyXAction.C: add change lfuns
3796 * author.C: author handling
3799 * buffer.C: add a per-buffer author list, with first entry as
3800 current author. Handle new .lyx tokens for change tracking. Output
3801 author list to .lyx file. Output dvipost stuff to .tex preamble.
3802 Bump lyx format to 222.
3805 * bufferlist.C: add setCurrentAuthor() to reset current author details
3809 * bufferparams.C: add param for tracking
3811 * bufferview_funcs.C: output change info in minibuffer
3815 * changes.C: add change-tracking structure
3818 * debug.C: add CHANGES debug flag
3821 * lyxfind.C: add code for finding the next change piece
3824 * lyxrc.C: add user_name and user_email
3827 * lyxrow.C: add a metric for the top of the text line
3830 * text.C: implement accept/rejectChange()
3833 * text.C: paint changebars. Paint new/deleted text in the chosen
3834 colours. Strike through deleted text.
3838 * paragraph_pimpl.h:
3839 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3840 in the current change to the insert functions. Rework erase to
3841 mark text as deleted, adding an eraseIntern() and a range-based
3842 erase(). Implement per-paragraph change lookup and
3845 * paragraph_funcs.C: Fixup paste for change tracking.
3847 * tabular.C: mark added row/columns as new.
3849 * text.C: fix rowLast() to never return -1. Don't allow
3850 spellchecking of deleted text. Track transpose changes. Don't
3851 allow paragraph break or merge where appropriate.
3853 * text2.C: leave cursor at end of selection after a cut.
3855 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3857 * text.C (getLengthMarkerHeight):
3858 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3859 visible on screen too.
3861 2003-02-07 John Levon <levon@movementarian.org>
3863 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3865 2003-02-05 Angus Leeming <leeming@lyx.org>
3867 * lyxserver.C (read_ready): revert my patch of 11 September last year
3868 as it sends PC cpu through the roof. Presumably this means that
3869 the lyxserver will no longer run on an Alpha...
3871 2003-01-30 Angus Leeming <leeming@lyx.org>
3873 * factory.C (createInset): create an InsetCommandParam of type "index"
3874 and use it to 'do the right thing'.
3876 * text2.C (getStringToIndex): ensure that cursor position is always
3877 reset to the reset_cursor position.
3879 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3881 * lyxfunc.C (getStatus): "buffer-export custom" should never be
3884 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3888 * lyxfunc.C: Output messages with identical spelling, punctuation,
3891 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
3893 * MenuBackend.C (expandFormats): List only viewable export formats
3896 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3899 * lyxfunc.C (getStatus): Make sure that formats other than
3900 "fax" can also be disabled
3902 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3904 * text3.C (dispatch): put the lfuns that insert insets in 3
3905 groups, and call doInsertInset with appropriate arguments.
3906 (doInsertInset): new function, that creates an inset and inserts
3907 it according to some boolean parameters.
3909 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3911 * buffer.C (readFile): remember to pass on 'par' when calling
3912 readFile recursively.
3914 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3916 * MenuBackend.C (expandFormats): add "..." to import formats.
3918 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
3920 * paragraph.C (asString): Remove XForms RTL hacks.
3922 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
3923 * buffer.C: fix typo
3925 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3927 * Makefile.am (LIBS): delete var
3928 (lyx_LDADD): add @LIBS@ here instead.
3930 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
3932 * Clarify the meaning of "wheel mouse jump"
3934 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3936 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3939 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3941 * importer.C (Loaders): do not preallocate 3 elements in the
3942 vector, since one ends up with 6 elements otherwise
3944 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3946 * DepTable.C (write): write the file name as last element of the
3947 .dep file (because it may contain spaces)
3948 (read): read info in the right order
3950 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3952 * paragraph_pimpl.C (simpleTeXBlanks):
3953 (simpleTeXSpecialChars):
3954 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3956 * tabular.C (latex): add some missing case statements. Reindent.
3958 * MenuBackend.C (expandToc): remove unused variable.
3960 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3969 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3972 2003-01-05 John Levon <levon@movementarian.org>
3975 * BufferView.C: add getEncoding()
3978 * kbsequence.C: do not store last keypress
3981 * lyxfunc.C: store last keypress here instead. Pass encoding
3984 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3986 * lyx_main.C (init): remove annoying error message when following
3987 symbolic links (bug #780)
3989 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3991 * text.C (insertChar):
3992 * lyxrc.C (getDescription): remove extra spaces
3994 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3996 * lyxrc.C (getDescription): remove extra spaces
3998 2002-12-20 John Levon <levon@movementarian.org>
4000 * text3.C: hack fix for page up/down across tall rows
4002 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4004 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4007 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4009 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4010 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4011 thesaurus is not compiled in
4013 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4015 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
4017 2002-12-16 Angus Leeming <leeming@lyx.org>
4020 * lyx_main.C (init): remove override_x_deadkeys stuff.
4022 2002-12-12 John Levon <levon@movementarian.org>
4024 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4025 insert. Only remove shift modifier under strict
4028 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4030 * MenuBackend.C (expandToc): fix crash.
4032 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4034 * MenuBackend.C (expandToc): gettext on float names.
4036 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4038 * lyxlength.[Ch]: set default unit to UNIT_NONE,
4039 implement bool empty() [bug 490]
4041 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4043 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4045 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4047 * several files: ws changes
4049 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4051 * text2.C (setCounter): clean up a bit, use boost.format.
4052 (updateCounters): initialize par upon declaration.
4054 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4055 if the layout exists. We do not just store the layout any more.
4056 (SwitchLayoutsBetweenClasses): use boost.format
4058 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4060 * converter.C (convert): if from and to files are the same, use a
4061 temporary files as intermediary
4063 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4066 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
4068 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
4070 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
4072 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4074 * tabular.C (asciiPrintCell): use string(size, char) instead of
4077 * sgml.C (openTag): fix order of arguments to string constructor
4080 * lyxfunc.C (dispatch): use boost.format
4082 * lots of files: change "c" -> 'c'
4084 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
4086 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
4088 2002-11-25 Angus Leeming <leeming@lyx.org>
4090 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
4092 * lyx_main.C (init): compile fix.
4094 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4096 * lyx_cb.C (start): boost.formatify
4097 do not include <iostream>
4099 * lengthcommon.C: ws only
4101 * boost-inst.C,BoostFormat.h: add more explict instantations
4103 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4105 * lots of files: handle USE_BOOST_FORMAT
4107 2002-11-21 John Levon <levon@movementarian.org>
4109 * pspell.C: fix compile
4111 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4113 * lyxfunc.C (dispatch): use boost::format
4117 * lyxfont.C (stateText): use boost::format
4119 * lyx_main.C (LyX): use boost::format
4121 (queryUserLyXDir): ditto
4124 (typedef boost::function): use the recommened syntax.
4126 * importer.C (Import): use boost::format
4128 * debug.C (showLevel): use boost::format
4130 * converter.C (view): use boost::format
4135 * bufferview_funcs.C (currentState): use boost::format
4137 * bufferlist.C (emergencyWrite): use boost::format
4139 * buffer.C (readLyXformat2): use boost::format
4140 (parseSingleLyXformat2Token): ditto
4142 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
4144 * LaTeX.C (run): use boost::format
4146 * Chktex.C (scanLogFile): use boost::format
4148 * BufferView_pimpl.C (savePosition): use boost::format
4149 (restorePosition): ditto
4150 (MenuInsertLyXFile): ditto
4152 * BoostFormat.h: help file for explicit instation.
4154 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4156 * tabular.C (latex): Support for block alignment in fixed width
4159 2002-11-17 John Levon <levon@movementarian.org>
4161 * BufferView_pimpl.C:
4163 * lyxfunc.C: split filedialog into open/save
4165 2002-11-08 Juergen Vigna <jug@sad.it>
4167 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
4168 by my last patch (hopefully).
4170 2002-11-08 John Levon <levon@movementarian.org>
4179 * toc.C: ParConstIterator, and use it (from Lars)
4181 2002-11-07 Ben Stanley <bds02@uow.edu.au>
4183 * lyxtextclass.[Ch]: revise and add doxygen comments
4185 2002-11-07 John Levon <levon@movementarian.org>
4187 * text.C: fix progress value for spellchecker
4189 * toc.C: fix navigate menu for insetwrap inside minipage
4191 * paragraph_funcs.C: added FIXME for suspect code
4193 2002-11-07 John Levon <levon@movementarian.org>
4195 * BufferView_pimpl.C: fix redrawing of insets
4198 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4200 * text2.C (updateCounters): fix bug 668
4202 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
4204 * text3.C (dispatch): Do not make the buffer dirty when moving the
4207 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4209 * vc-backend.C: STRCONV
4212 * text2.C (setCounter): STRCONV
4214 * paragraph.C (asString): STRCONV
4216 * lyxlength.C (asString): STRCONV
4217 (asLatexString): ditto
4219 * lyxgluelength.C (asString): STRCONV
4220 (asLatexString): ditto
4222 * lyxfunc.C (dispatch): STRCONV
4225 * lyxfont.C (stateText): STRCONV
4227 * importer.C (Import): STRCONV
4229 * counters.C (labelItem): STRCONV
4230 (numberLabel): ditto
4231 (numberLabel): remove unused ostringstream o
4236 * bufferview_funcs.C (currentState): STRCONV
4238 * buffer.C (readFile): STRCONV
4239 (asciiParagraph): ditto
4240 (makeLaTeXFile): ditto
4242 * Spacing.C (writeEnvirBegin): STRCONV
4244 * LaTeXFeatures.C (getLanguages): STRCONV
4245 (getPackages): ditto
4247 (getBabelOptions): ditto
4248 (getTClassPreamble): ditto
4249 (getLyXSGMLEntities): ditto
4250 (getIncludedFiles): ditto
4254 (scanAuxFile): ditto
4257 * LString.h: add the STRCONV macros
4259 * BufferView_pimpl.C (savePosition): STRCONV
4260 (restorePosition): ditto
4261 (MenuInsertLyXFile): ditto
4263 * vc-backend.C (scanMaster): change from submatch[...] to
4266 * funcrequest.C: include config.h
4268 * factory.C: include config.h
4270 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
4272 * box.C: include config.h
4274 * LaTeX.C (scanAuxFile): change from submatch[...] to
4278 2002-10-25 Angus Leeming <leeming@lyx.org>
4280 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
4282 * ispell.[Ch] (setError): new method.
4283 * ispell.C (c-tor): move out child process into new class LaunchIspell.
4284 Use setError() insetead of goto END.
4286 * lyx_cb.C (AutoSave): move out child process into new class
4289 2002-10-30 John Levon <levon@movementarian.org>
4291 * text3.C: make start appendix undoable
4293 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
4295 * lyxlength.C (inPixels): Fix returned value.
4297 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
4300 2002-10-24 Angus Leeming <leeming@lyx.org>
4302 * lyxgluelength.h: no need to forward declare BufferParams
4303 or BufferView, so don't.
4305 2002-10-21 John Levon <levon@movementarian.org>
4307 * BufferView.C: menuUndo ->undo, redo
4309 * BufferView.h: document, remove dead, make some methods private
4311 * paragraph_funcs.h:
4312 * paragraph_funcs.C:
4313 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
4318 * sgml.C: move sgml open/close tag into sgml.C
4320 * bufferview_funcs.h: unused prototype
4323 * lyxfunc.C: remove unused
4326 * text.C: remove unused
4328 2002-10-21 John Levon <levon@movementarian.org>
4332 * BufferView_pimpl.h:
4333 * BufferView_pimpl.C: fix mouse wheel handling based on
4334 patch from Darren Freeman
4336 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
4338 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
4340 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
4342 * lyxlength.C (inPixels): Fix hanfling of negative length.
4343 Fix LyXLength::MU case.
4345 2002-10-16 John Levon <levon@movementarian.org>
4347 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
4349 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4351 * converter.C (view): add support for $$i (file name) and $$p
4352 (file path) for the viewer command. If $$i is not specified, then
4353 it is appended to the command (for compatibility with old syntax)
4355 2002-10-14 Juergen Vigna <jug@sad.it>
4357 * undo_funcs.C (textHandleUndo): alter the order in which the
4358 new undopar is added to the LyXText, as we have to set first
4359 the right prev/next and then add it as otherwise the rebuild of
4360 LyXText is not correct. Also reset the cursor to the right paragraph,
4361 with this IMO we could remove the hack in "redoParagraphs()".
4363 2002-10-09 Angus Leeming <leeming@lyx.org>
4365 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
4366 to turn off an optimisation if a new inset is to be inserted.
4368 2002-10-11 André Pönitz <poenitz@gmx.net>
4370 * lyxtext.h: make some functions public to allow access
4371 from inset/lyxtext for handling LFUN_PRIOR/NEXT
4373 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4375 * text3.C (dispatch): when changing layout, avoid an infinite loop
4378 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4380 * lyxrc.C (read): treat a viewer or converter command of "none" as
4383 * MenuBackend.C (expandFormats): for an update, also allow the
4384 formats that are not viewable
4386 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
4387 script if it is newer than the lyxrc.defaults in user directory
4389 2002-10-07 André Pönitz <poenitz@gmx.net>
4391 * text.C: Vitaly Lipatov's small i18n fix
4393 2002-09-25 Angus Leeming <leeming@lyx.org>
4395 * ispell.h: doxygen fix.
4397 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
4399 * buffer.h (readFile): Add a new argument to the method, to allow
4400 reading of old-format templates.
4402 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4404 * toc.C (getTocList): Get TOC from InsetWrap.
4406 2002-09-16 John Levon <levon@movementarian.org>
4408 * lyxfunc.C: check tabular for cut/copy too
4410 2002-09-12 John Levon <levon@movementarian.org>
4415 * factory.C: add header
4417 * paragraph_funcs.h:
4418 * paragraph_funcs.C: cleanup
4420 2002-09-11 John Levon <levon@movementarian.org>
4422 * PrinterParams.h: odd/even default to true
4424 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4426 * PrinterParams.h: update printer parameters for new xforms dialog
4428 2002-09-11 Angus Leeming <leeming@lyx.org>
4430 * lyxserver.C (read_ready): re-write to make it more transparent
4431 and to make it work in coherent fashion under Tru64 Unix.
4433 2002-09-11 André Pönitz <poenitz@gmx.net>
4437 * text3.C: implement LFUN_WORDSEL
4439 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4441 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
4442 make floatlist_ a boost::shared_ptr<FloatList>
4444 * lyxtextclass.C: include FloatList.h
4445 (LyXTextClass): initialize floatlist_
4446 (TextClassTags): add TC_NOFLOAT
4447 (Read): match "nofloat" to TC_NOFLOAT and use it.
4448 (readFloat): modify call to floatlist_
4452 * FloatList.[Ch] (FloatList): remove commented out float
4454 (erase): new function
4456 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4458 * MenuBackend.C (expandToc): fix crash when there is no document
4461 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
4463 * many files: Add insetwrap.
4465 2002-09-09 John Levon <levon@movementarian.org>
4467 * text2.C: remove confusing and awkward depth wraparound
4469 2002-09-09 John Levon <levon@movementarian.org>
4471 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
4474 * buffer.C: remove getIncludeonlyList()
4477 * lyxfunc.C: remove headers
4479 2002-09-09 Juergen Vigna <jug@sad.it>
4481 * text.C (getColumnNearX): fix form Michael this is most
4482 probably a cut&paste bug.
4484 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4486 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
4488 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
4489 references, ws changes.
4491 * text2.C (init): update counters after init
4492 (insertParagraph): no need to set counter on idividual paragraphs.
4493 (setCounter): access the counters object in the textclass object
4494 on in the buffer object.
4495 (updateCounters): ditto
4497 * lyxtextclass.C: include counters.h, add variable ctrs_ as
4498 shared_ptr<Counters> to avoid loading counters.h in all
4500 (LyXTextClass): initialize ctrs_
4501 (TextClassTags): add TC_COUNTER, and ...
4502 (Read): use it here.
4503 (CounterTags): new tags
4504 (readCounter): new function
4505 (counters): new funtion
4506 (defaultLayoutName): return a const reference
4508 * counters.C (Counters): remove contructor
4509 (newCounter): remove a couple of unneeded statements.
4510 (newCounter): simplify a bit.
4511 (numberLabel): some small formatting changes.
4513 * buffer.[Ch]: remove all traces of counters, move the Counters
4514 object to the LyXTextClass.
4516 2002-09-06 Alain Castera <castera@in2p3.fr>
4518 * tabular.C: uses \tabularnewline; uses >{...} construct from array
4519 package to set the horizontal alignment on fixed width columns.
4522 * lyx_sty.h: added tabularnewline macro def.
4524 * LaTeXFeatures.C: added NeedTabularnewline macro feature
4526 2002-09-06 John Levon <levon@movementarian.org>
4528 * LyXAction.C: tooltips for sub/superscript
4530 * MenuBackend.C: a bit more verbose
4532 * lyxfunc.C: tiny clean
4534 * undo_funcs.C: document undo_frozen
4536 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4538 * counters.C (Counters): add missing algorithm counter.
4540 * text2.C (setCounter): lookup the counter with layouts latexname
4541 instead of by section number.
4542 (setCounter): use a hackish way to lookup the correct enum
4544 a float name->type change
4545 reset enum couners with counter name directly instead of depth value.
4547 * counters.C (Counters): remove the push_backs, change to use the
4548 float type not the float name.
4549 (labelItem): remove unused string, float name->type change
4551 * counters.h: don't include vector, loose the enums and sects vectors
4553 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4555 * lyxtextclass.C (TextClassTags): add TC_FLOAT
4556 (Read): add float->TC_FLOAT to textclassTags
4557 (Read): and handle it in the switch
4558 (readFloat): new function
4560 * FloatList.C (FloatList): comment out the hardcoded float
4563 * lyxlayout.h: ws change.
4565 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
4567 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
4569 2002-09-03 Angus Leeming <leeming@lyx.org>
4571 * BufferView_pimpl.h: qualified name is not allowed in member
4572 declaration: WorkArea & Pimpl::workarea() const;
4574 * factory.C: added using std::endl directive.
4576 * text3.C: added using std::find and std::vector directives.
4578 2002-08-29 André Pönitz <poenitz@gmx.net>
4581 * text2.C: remove unused member number_of_rows
4584 * BufferView2.C: remove file, move contents to...
4585 * BufferView.C: ... here
4587 * BufferView_pimpl.C:
4588 * factory.C: move more inset creation to factory
4590 * vspace.C: avoid direct usage of LyXText, ws changes
4593 don't provide direct access to WorkArea, use two simple
4594 acessors haveSelction() and workHeight() instead
4597 2002-08-29 John Levon <levon@movementarian.org>
4599 * BufferView_pimpl.C (dispatch): do not continue when
4602 2002-08-28 André Pönitz <poenitz@gmx.net>
4604 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
4607 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
4609 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4611 * buffer.C: increment LYX_FORMAT to 221
4613 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
4614 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
4616 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
4618 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
4620 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4622 * factory.C (createInset): use LyXTextClass::floats
4624 * MenuBackend.C (expandFloatListInsert):
4625 (expandFloatInsert):
4628 * text2.C (setCounter):
4630 * LaTeXFeatures.C (useFloat):
4631 (getFloatDefinitions):
4633 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
4635 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
4636 floatlist_, with accessor floats().
4638 * FloatList.h: remove global FloatList
4640 2002-08-26 André Pönitz <poenitz@gmx.net>
4642 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
4646 * BufferView_pimpl.C:
4647 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
4649 2002-08-25 John Levon <levon@movementarian.org>
4651 * LyXAction.C: fix margin note description
4653 2002-08-24 John Levon <levon@movementarian.org>
4657 * bufferview_funcs.C:
4659 * undo_funcs.C: cleanups
4661 * lyxfunc.C: disable CUT/COPY when no selection
4663 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4665 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
4666 in "enum UNIT"; e.g. PTW for Percent of TextWidth
4668 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
4669 Add backward compatibility to "mono", "gray" and "no".
4671 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
4673 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
4674 (and file_format >= 200).
4676 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4678 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
4680 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4682 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4684 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
4686 * BufferView_pimpl.C:
4693 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4694 inset and code to make it work with the paragraph code. The inset
4695 can be anywhere in the paragraph, but will only do the expected
4696 thing in LaTeX if the layout file contains the parameter line
4698 (or more generally, a nonzero value) for that layout.
4700 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4702 * paragraph.h: remove the declaration of undefined counters class
4705 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
4707 * text2.C (setCounter): fixed enumeration mis-count as reported by
4708 Dr. Richard Hawkins.
4710 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4712 * paragraph_funcs.h: remove some unneeded includes
4714 * text.C (backspace): pasteParagraph now in global scipe
4716 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
4717 (pasteSelection): ditto
4719 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4720 * paragraph_funcs.C (pasteParagraph): ... here
4722 2002-08-20 André Pönitz <poenitz@gmx.net>
4724 * commandtags.h: new LFUNs for swapping/copying table row/colums
4727 * lyxfunc.C: support for new lfuns
4729 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4732 * buffer.[Ch]: remove NO_COMPABILITY stuff
4734 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
4736 * boost.C (throw_exception): new file, with helper function for
4737 boost compiled without exceptions.
4742 * ParameterStruct.h:
4743 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4745 * bufferlist.C (emergencyWriteAll): use boost bind
4747 * BufferView_pimpl.C (moveCursorUpdate): remove inline
4749 * text.C: include paragraph_funcs.h
4750 (breakParagraph): breakParagraph is now in global scope
4752 * paragraph_funcs.[Ch]: new files
4754 * paragraph.C (breakParagraph,breakParagraphConservative): move to
4757 * buffer.C: include paragraph_funcs.h
4758 (insertStringAsLines): breakParagraph is now in global scope
4760 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4763 * CutAndPaste.C: include paragraph_funcs.h
4764 (cutSelection): breakParagraphConservative is now in global scope
4765 (pasteSelection): ditto
4767 * buffer.h: declare oprator== and operator!= for
4768 Buffer::inset_iterator
4770 * bufferlist.C (emergencyWrite): don't use fmt(...)
4772 * text3.C: add using std::endl
4774 * BufferView.C (moveCursorUpdate): remove default arg
4776 2002-08-20 André Pönitz <poenitz@gmx.net>
4778 * buffer.[Ch]: move inline functions to .C
4781 * BufferView_pimpl.C:
4783 * buffer.[Ch]: use improved inset_iterator
4786 * paragraph.[Ch]: write one paragraph at a time
4788 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
4790 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4791 style if style is not specified.
4793 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4795 * text2.C (setCounter): when searching for right label for a
4796 caption, make sure to recurse to parent insets (so that a caption
4797 in a minipage in a figure float works) (bug #568)
4799 2002-08-20 André Pönitz <poenitz@gmx.net>
4801 * text3.C: new file for LyXText::dispatch() and helpers
4803 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4805 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4807 2002-08-19 André Pönitz <poenitz@gmx.net>
4810 * text.C: new LyXText::dispatch()
4812 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4814 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
4816 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4818 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4821 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4823 * Makefile.am: use $(variables) instead of @substitutions@
4825 2002-08-15 André Pönitz <poenitz@gmx.net>
4828 * BufferView_pimpl.C: streamlining mathed <-> outer world
4832 * LyXAction.C: remove unused LFUN_MATH
4834 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4836 * paragraph.[Ch]: add some NO_NEXT ifdefs.
4838 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4840 * paragraph.C (Paragraph): reformat a bit
4841 (cutIntoMinibuffer): use builtin InsetList function instad of
4845 * buffer.C: include boost/bind.hpp, add using std::for_each
4846 (writeFileAscii): use ParagraphList iterators
4847 (validate): use for_each for validate traversal of paragraphs
4848 (getBibkeyList): use ParagraphList iterators
4849 (resizeInsets): use for_each to resizeInsetsLyXText for all
4851 (getParFromID): use ParagraphList iterators
4853 * BufferView2.C (lockInset): use paragraph list and iterators
4855 2002-08-14 John Levon <levon@movementarian.org>
4857 * lyxserver.C: remove spurious xforms include
4859 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4861 * lyxfunc.C (getStatus): disable math-extern outside of math mode
4863 2002-08-13 André Pönitz <poenitz@gmx.net>
4866 * lyxfunc.C: further cleaning
4868 2002-08-13 André Pönitz <poenitz@gmx.net>
4870 * funcrequest.h: new constructor
4872 * funcrequest.C: move stuff here from .h
4875 * BufferView_pimpl.C:
4878 * lyxfunc.C: subsequent changes
4880 * lyxfunc.h: new view() member function
4882 * lyxfunc.C: subsequent changes
4884 2002-08-13 Angus Leeming <leeming@lyx.org>
4887 * BufferView_pimpl.C:
4895 changes due to the changed LyXView interface that now returns references
4896 to member variables not pointers.
4898 2002-08-13 Angus Leeming <leeming@lyx.org>
4900 * WordLangTuple (word, lang_code): return references to strings,
4905 * lyxtext.h: forward-declare WordLangTuple.
4910 * text.C: #include "WordLangTuple.h".
4913 * text.C: (selectNextWordToSpellcheck): constify return type.
4915 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
4921 * paragraph_pimpl.h:
4924 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4926 Made updateCounter always count from start of buffer, and removed
4927 second argument (par).
4928 Reverted floats number display to '#'. Perhaps I'll try again when the
4929 code base is sanitized a bit.
4931 2002-08-12 Angus Leeming <leeming@lyx.org>
4933 * buffer.[Ch] (getLabelList): constify.
4935 2002-08-07 André Pönitz <poenitz@gmx.net>
4937 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4939 * funcrequest.h: extension to keep mouse (x,y) position
4941 2002-08-12 Juergen Vigna <jug@sad.it>
4943 * BufferView2.C (insertErrors): forbid undo when inserting error
4946 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4948 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4950 * ParagraphList.[Ch]: new files
4952 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4954 * BufferView2.C (lockInset): ParagraphList changes
4957 * bufferlist.C: ditto
4961 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4963 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4964 unused class variable counter_,
4966 * paragraph.[Ch] (getFirstCounter): delete unused function
4968 * counters.C: include LAssert.h
4969 (reset): add a new function with no arg, change other version to
4970 not have def. arg and to not allow empty arg.
4972 * text2.C (setCounter): remove empty arg from call to Counters::reset
4974 2002-08-11 John Levon <levon@movementarian.org>
4976 * Makefile.am: add WordLangTuple.h
4978 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4980 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4981 lyxfunc.C lyxlex_pimpl.C: ws changes only.
4983 * insets/insettext.C: InsetList changes
4985 * graphics/GraphicsSupport.C (operator()): InsetList changes
4987 * toc.C (getTocList): InsetList changes
4989 * paragraph_pimpl.[Ch]: InsetList changes
4991 * paragraph.[Ch]: InsetList changes
4993 * buffer.C (inset_iterator): InsetList changes
4994 (setParagraph): ditto
4995 * buffer.h (inset_iterator): ditto
4996 * iterators.C (operator++): ditto
4997 * iterators.h: ditto
4999 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5001 * InsetList.[Ch]: new files, most InsetList handling moved out of
5004 * BufferView2.C (removeAutoInsets): InsetList changes
5006 (ChangeInsets): ditto
5008 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5010 * paragraph_pimpl.h (empty): new function
5012 * paragraph.[Ch] (empty): new function
5014 * other files: use the new Paragraph::empty function
5016 2002-08-09 John Levon <levon@movementarian.org>
5018 * lyxtext.h: remove unused refresh_height
5020 2002-08-09 John Levon <levon@movementarian.org>
5027 * paragraph.C: move sgml char escaping out of paragraph
5030 * paragraph.C: remove id setter
5034 * paragraph_pimpl.C: remove dead tex_code_break_column
5036 * bufferview_funcs.C: small cleanup
5038 * lyxfunc.C: remove dead proto
5040 * lyxtext.h: make some stuff private. Remove some dead stuff.
5042 * lyxgluelength.C: make as[LyX]String() readable
5044 2002-08-08 John Levon <levon@movementarian.org>
5049 * ToolbarDefaults.C:
5052 * toc.C: lyxaction cleanup
5054 2002-08-08 John Levon <levon@movementarian.org>
5056 * BufferView2.C: small cleanup
5059 * lyxfind.C: move unnecessary header into the .C
5061 2002-08-08 John Levon <levon@movementarian.org>
5063 * funcrequest.h: just tedious nonsense
5066 * lyx_main.C: cleanups
5069 * vspace.C: remove dead header lyx_main.h
5071 2002-08-07 Angus Leeming <leeming@lyx.org>
5074 * paragraph_pimpl.h:
5075 Forward declare class Counters in paragraph.h by moving the ctrs member
5076 variable into Paragraph::Pimpl.
5077 (counters): new method, returning a reference to pimpl_->ctrs.
5079 * text2.C: ensuing changes.
5081 2002-08-07 John Levon <levon@movementarian.org>
5083 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
5085 * BufferView_pimpl.C: announce X selection on double/triple
5088 * lyx_main.C: use correct bool in batch dispatch
5090 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
5092 2002-08-07 André Pönitz <poenitz@gmx.net>
5094 * funcrequest.h: new class to wrap a kb_action and its argument
5097 * BufferView_pimpl[Ch]:
5101 * lyxrc.C: subsequent changes
5104 2002-08-07 John Levon <levon@movementarian.org>
5106 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
5107 document options change.
5109 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5114 * makefile.am: move counters functionality over from
5115 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
5117 2002-08-06 John Levon <levon@movementarian.org>
5119 * WordLangTuple.h: new file for word + language code tuple
5130 * BufferView2.C: use WordLangTuple
5133 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
5135 2002-08-06 John Levon <levon@movementarian.org>
5137 * lyx_main.C: fix cmdline batch handling
5139 2002-08-06 André Pönitz <poenitz@gmx.net>
5141 * lyxrc.C: set default for show_banner to true
5143 2002-08-06 John Levon <levon@movementarian.org>
5145 * pspell.C: fix a crash, and allow new aspell to work
5147 2002-08-06 John Levon <levon@movementarian.org>
5150 * kbmap.C: small cleanup
5153 * vspace.C: add const
5155 2002-08-05 John Levon <levon@movementarian.org>
5157 * LyXAction.C: back to tabular-insert
5159 2002-08-04 John Levon <levon@movementarian.org>
5162 * BufferView.C: cosmetic change
5164 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
5174 * BufferView2.C: purge all "Lyx" not "LyX" strings
5177 * lyxcursor.C: attempt to add some documentation
5182 * ToolbarDefaults.C:
5183 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
5184 merge with LFUN_TABULAR_INSERT
5191 * pspell.C: split up i/pspell implementations into separate
5192 files, many cleanups
5194 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
5196 * text2.C: some cleanup
5198 * lyxfunc.C: don't check for isp_command == "none" any more, it
5199 didn't make any sense
5201 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5206 * makefile.am: move counters functionality over
5207 from text2.C/paragraph.[Ch] to counters.[Ch], and
5209 2002-08-02 John Levon <levon@movementarian.org>
5211 * buffer.C: s/lyxconvert/lyx2lyx/
5213 2002-08-02 Angus Leeming <leeming@lyx.org>
5215 * lyxlex.C: revert John's change as it breaks reading of the user
5218 2002-08-02 Angus Leeming <leeming@lyx.org>
5220 * importer.C (Import):
5221 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
5222 changes due to LyXView::view() now returning a boost::shared_ptr.
5224 2002-08-02 John Levon <levon@movementarian.org>
5226 * lyxlex.C: small cleanup
5228 2002-08-02 John Levon <levon@movementarian.org>
5230 * text2.C (status): small cleanup, no logic change
5232 2002-08-01 John Levon <levon@movementarian.org>
5235 * buffer.C (writeFile): don't output alerts, caller
5239 * lyx_cb.C: from above
5241 * lyxfunc.C: allow to open non-existent files
5243 2002-07-31 John Levon <levon@movementarian.org>
5245 * lyxserver.C: don't let incidental errors get
5248 2002-07-30 John Levon <levon@movementarian.org>
5250 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
5252 2002-07-30 John Levon <levon@movementarian.org>
5255 * lyxserver.C: remove I/O callback too
5257 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5259 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
5262 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5264 * many files: strip,frontStrip -> trim,ltrim,rtrim
5266 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5268 * PrinterParams.h: remove extern containsOnly, and include
5269 support/lstrings.h instead.
5271 * LaTeX.C (scanAuxFile): modify because of strip changes
5273 * buffer.C (makeLaTeXFile): ditto
5274 * bufferparams.C (writeFile): ditt
5275 * lyxfont.C (stateText): ditto
5276 * lyxserver.C (read_ready): ditto
5277 * vc-backend.C (scanMaster): ditto
5279 * BufferView_pimpl.h: ws changes
5281 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
5283 2002-07-26 André Pönitz <poenitz@gmx.net>
5285 * kb_sequence.C: remove unnedred usings
5287 2002-07-26 Juergen Vigna <jug@sad.it>
5289 * lyxfind.C (LyXReplace): we have to check better if the returned
5290 text is not of theLockingInset()->getLockingInset().
5292 2002-07-25 Juergen Vigna <jug@sad.it>
5294 * lyxfind.C (LyXReplace): don't replace if we don't get the
5297 * undo_funcs.C (createUndo): remove debugging code.
5299 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
5301 * buffer.C (parseSingleLyXformat2Token): Use default placement
5302 when reading old floats.
5304 * FloatList.C (FloatList): Change the default placement of figure
5305 and tables to "tbp".
5307 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
5309 * MenuBackend.C: using std::max
5311 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5313 * MenuBackend.C (expandToc):
5314 (expandToc2): code moved from xforms menu frontend. It is now
5315 generic and TOCs are transparent to menu frontends.
5317 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5319 * toc.C (getTocList): protect against buf=0
5321 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
5322 Menu as first parameter. Now, this calls itself recursively to
5323 expand a whole tree (this will be useful for TOC handling)
5324 (expandFloatInsert): remove 'wide' version of floats
5326 * MenuBackend.h (submenuname): returns the name of the submenu.
5327 (submenu): returns the submenu itself, provided it has been
5328 created by MenuBackend::expand
5330 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5332 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
5333 insets which have noFontChange == true. (bug #172)
5335 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5337 * BufferView_pimpl.C: add connection objects and use them...
5340 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5342 * MenuBackend.C (expandLastfiles):
5345 (expandFloatListInsert):
5346 (expandFloatInsert):
5347 (expand): split expand in parts
5349 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5351 * lyx_gui.C: use lyx_gui::exit()
5353 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5355 * LyXAction.C: show the failing pseudo action
5357 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
5359 * buffer.C (readFile): Run the lyxconvert script in order to read
5362 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5366 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
5368 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5372 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
5374 2002-07-22 Herbert Voss <voss@lyx.org>
5377 * lyxlength.[Ch]: add support for the vertical lengths
5379 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
5381 * toc.[Ch]: std:: fixes
5383 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5385 * lyxrc.C: do not include lyx_main.h
5387 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
5393 * BufferView2.C: include "lyxlex.h"
5396 * bufferparams.h: do not #include "lyxlex.h"
5398 * lyxtextclasslist.C (Add): remove method
5399 (classlist): renamed to classlist_
5401 * paragraph_pimpl.C:
5405 * bufferview_funcs.C:
5410 * toc.C (getTocList): use BufferParams::getLyXTextClass
5412 * toc.C (getTocList): use InsetFloat::addToToc
5414 * toc.[Ch]: new files, containing helper functions to handle table
5417 * lyxfunc.C (dispatch): no need to remove spaces around command
5419 (getStatus): handle LFUN_SEQUENCE by returning the status of the
5420 first command of the sequence; it is not very clever, but I do not
5421 have a better idea, actually
5423 * LyXAction.C (LookupFunc): make sure to remove space at the
5424 beginning and end of the command
5426 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5428 * MenuBackend.C (getMenubar): new method: return the menubar of
5430 (read): treat differently reading of menu and menubar (in
5431 particular, the menubar has no name now)
5432 (Menu::menubar): remove
5434 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
5437 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5439 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
5440 a bibitem inset in a RTL paragraph.
5442 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
5444 * paragraph_pimpl.C: constify
5446 * BufferView_pimpl.C:
5448 * lyxfunc.C: fix dispatch in a nicer way
5450 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5452 * lyxfunc.C (dispatch):
5453 * BufferView_pimpl.C:
5454 * BufferView_pimpl.h:
5456 * BufferView.h: rename Dispatch() to dispatch()
5458 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
5460 * lyxlayout.C (Read): honor DependsOn tag
5462 * lyxlayout.[Ch] (depends_on): new method
5464 * version.C.in: update lyx_docversion
5466 * LaTeXFeatures.C (getMacros): only define \LyX when needed
5468 * paragraph.C (validate): remove from here...
5469 * paragraph_pimpl.C (validate): ... and move here
5470 (isTextAt): make it const
5472 * buffer.C (getLists): ws cleanup
5474 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5476 * language.C (read): Use iso8859-1 encoding in latex_lang
5477 (this prevents LyX from crashing when using iso10646-1 encoding).
5479 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5481 * text2.C (toggleInset): if cursor is inside an inset, close the
5482 inset and leave cursor _after_ it
5484 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5486 * lyxfunc.C: move minibuffer completion handling out of here
5488 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5490 * BufferView_pimpl.C:
5491 * LaTeX.C: fix dispatch calls
5493 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
5495 * text.C (drawChars): Fix Arabic text rendering.
5497 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
5501 * lyxfunc.C: remove message-push/pop
5505 * lyxfunc.C: rationalise some code by removing verboseDispatch
5506 in favour of a bool argument to dispatch()
5508 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5510 * lyx_main.C (init): make sure to read symlinks as absolute paths
5512 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5515 * lyxfunc.C: no need for commandshortcut to be a member
5517 2002-07-15 André Pönitz <poenitz@gmx.net>
5519 * converter.C: add support for $$s (scripts from lib/scripts dir)
5520 * lyx_main.C: white space
5522 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5526 * lyxrc.C: remove second exit confirmation
5528 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5533 * BufferView_pimpl.h:
5534 * BufferView_pimpl.C:
5535 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
5537 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5539 * MenuBackend.C (expand): add numeric shortcuts to document menu
5541 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
5543 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5545 * lyxfont.C (setLyXFamily):
5552 * buffer.C (asciiParagraph): use ascii_lowercase
5554 2002-07-15 Mike Fabian <mfabian@suse.de>
5556 * lyxlex_pimpl.C (search_kw):
5557 * lyxlex.C (getLongString):
5558 * converter.h (operator<):
5559 * converter.C (operator<):
5560 * buffer.C (parseSingleLyXformat2Token):
5562 * ToolbarDefaults.C (read):
5563 * MenuBackend.C (checkShortcuts):
5565 * LColor.C (getFromGUIName):
5566 (getFromLyXName): use the compare_ascii_no_case instead of
5567 compare_no_case, because in turkish, 'i' is not the lowercase
5568 version of 'I', and thus turkish locale breaks parsing of tags.
5570 2002-07-16 Angus Leeming <leeming@lyx.org>
5572 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
5573 now takes a Buffer const & argument.
5575 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
5577 * BufferView.C (resize): check there's a buffer to resize
5579 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
5581 * lyxfunc.C: remove dead code
5584 * lyxserver.C: use lyx_guii::set_read_callback
5586 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
5588 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
5589 an inset in a RTL paragraph.
5591 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5593 * lyxfunc.C: repaint after a font size update
5595 2002-07-15 André Pönitz <poenitz@gmx.net>
5597 * lyxlength.C: inBP should be able to return negative values
5599 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5601 * lyxfunc.C: use lyx_gui::update_fonts()
5603 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5605 * lyxfunc.C: use lyx_gui::update_color()
5607 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5613 * lyxrc.C: remove file->new asks for name option, and let
5614 buffer-new take an argument
5616 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5618 * BufferView_pimpl.C: remove unneeded extra repaint()
5620 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
5622 * LyXAction.C: allow command-sequence with NoBuffer
5624 * lyxfunc.C: don't insist on trailing ';' for command-sequence
5626 2002-07-10 Angus Leeming <leeming@lyx.org>
5628 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
5630 2002-07-09 Angus Leeming <leeming@lyx.org>
5632 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
5634 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5636 * lengthcommon.h: whitespace
5638 * lyxfunc.C: update scrollbar after goto paragraph
5640 * lyxtext.h: factor out page break drawing, and fix it so
5641 page break/added space paints as selected nicely
5643 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5645 * BufferView_pimpl.C: add FIXMEs, clean up a little
5647 2002-07-09 André Pönitz <poenitz@gmx.net>
5649 * lyxfont.[Ch]: support for wasy symbols
5651 2002-07-08 André Pönitz <poenitz@gmx.net>
5653 * BufferView_pimpl.C: apply John's patch for #93.
5655 2002-07-05 Angus Leeming <leeming@lyx.org>
5657 * BufferView_pimpl.C (buffer): generate previews if desired.
5659 * LColor.h: add "preview" to the color enum.
5661 * LColor.C (LColor): add a corresponding entry to the items array.
5663 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
5666 2002-07-05 Angus Leeming <leeming@lyx.org>
5668 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
5669 The body of the code is now in the method that is passed an ostream &
5670 rather than a file name.
5671 Pass an additional only_preamble parameter, useful for the forthcoming
5674 2002-07-03 André Pönitz <poenitz@gmx.net>
5676 * lyxfunc.C: simplify getStatus() a bit for math stuff
5678 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5680 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5682 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5684 * text.C (changeRegionCase): do not change case of all the
5685 document when region ends at paragraph end (bug #461)
5687 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5689 * paragraph.C (startTeXParParams):
5690 (endTeXParParams): add \protect when necessary
5692 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5694 * BufferView_pimpl.C (workAreaExpose): remove warning
5696 2002-06-27 Angus Leeming <leeming@lyx.org>
5698 * Makefile.am: add lyxlayout_ptr_fwd.h.
5700 2002-06-26 André Pönitz <poenitz@gmx.net>
5702 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
5704 2002-06-25 Angus Leeming <leeming@lyx.org>
5706 * lyxfunc.C (dispatch): Comment out the call to
5707 grfx::GCache::changeDisplay. The method no longer exists now that the
5708 pixmap generation part of the graphics loader has been moved into
5711 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5713 * text2.C: layout as layout
5715 * text.C: layout as layout
5717 * tabular.C (OldFormatRead): layout as layout
5719 * paragraph_pimpl.C (TeXDeeper): layout as layout
5720 (realizeFont): layout as layout
5722 * paragraph.C (writeFile): layout as layout
5723 (validate): layout as layout
5724 (getFont): layout as layout
5725 (getLabelFont): layout as layout
5726 (getLayoutFont): layout as layout
5727 (breakParagraph): layout as layout
5728 (stripLeadingSpaces): layout as layout
5729 (getEndLabel): layout as layout
5730 (getMaxDepthAfter): layout as layout
5731 (applyLayout): layout as layout
5732 (TeXOnePar): layout as layout
5733 (simpleTeXOnePar): layout as layout
5734 (TeXEnvironment): layout as layout
5735 (layout): layout as layout
5736 (layout): layout as layout
5738 * lyxtextclass.C (compare_name): new functor to work with
5739 shared_ptr, layout as layout
5740 (Read): layout as layout
5741 (hasLayout): layout as layout
5742 (operator): layout as layout
5743 (delete_layout): layout as layout
5744 (defaultLayout): layout as layout
5746 * lyxlayout_ptr_fwd.h: new file
5748 * lyxlayout.C (Read): layout as layout
5750 * lyx_cb.C (MenuInsertLabel): layout as layout
5752 * bufferlist.C (newFile): layout as layout
5754 * buffer.C (readLyXformat2): layout as layout
5755 (parseSingleLyXformat2Token): layout as layout
5756 (insertStringAsLines): layout as layout
5757 (asciiParagraph): layout as layout
5758 (latexParagraphs): layout as layout
5759 (makeLinuxDocFile): layout as layout
5760 (simpleLinuxDocOnePar): layout as layout
5761 (makeDocBookFile): layout as layout
5762 (simpleDocBookOnePar): layout as layout
5763 (getLists): layout as layout
5765 * LaTeXFeatures.C (getTClassPreamble): layout as layout
5767 * CutAndPaste.C (cutSelection): layout as layout
5768 (pasteSelection): layout as layout
5769 (SwitchLayoutsBetweenClasses): layout as layout
5771 * BufferView_pimpl.C (Dispatch): layout as layout
5772 (smartQuote): layout as layout
5774 * BufferView2.C (unlockInset): layout as layout
5776 2002-06-24 André Pönitz <poenitz@gmx.net>
5778 * lyxfunc.C: fix #487
5780 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5784 * lyxfunc.C: remove display_shortcuts, show_banner
5786 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5788 * Buffer_pimpl.C: oops, update on resize
5790 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5797 * BufferView.C: use repaint()
5799 * BufferView_pimpl.h:
5800 * BufferView_pimpl.C: s/updateScreen()/repaint()/
5801 as it's a clearer description. Remove superfluous
5804 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5806 * text.C: fix bug 488. Not ideal, but getting
5807 getWord() to work properly for the insets that
5808 matter is more difficult ...
5810 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5812 * BufferView_pimpl.C:
5815 * lyxfunc.C: remove the six million index lyxfuncs to just
5816 one, and DTRT (bug 458)
5818 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5822 * BufferView_pimpl.h:
5823 * BufferView_pimpl.C: clean up resize() stuff,
5824 and unnecessary updateScreen()s
5826 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5830 * BufferView_pimpl.h:
5831 * BufferView_pimpl.C:
5834 * minibuffer.C: remove focus management of workarea,
5835 not needed. Use screen's greyOut()
5837 2002-06-17 Herbert Voss <voss@lyx.org>
5839 * converter.C: (convert) do not post a message, when converting
5840 fails, let the calling function decide what to do in this case
5842 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
5844 * lyxfunc.C: tidy up a little
5846 2002-06-16 <alstrup@diku.dk>
5848 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5849 Got rid of FORMS_H_LOCATION include. Now we are
5852 2002-06-15 LyX Development team <lyx@rilke>
5854 * buffer.[Ch] (sgmlOpenTag):
5855 (sgmlCloseTag): Added support for avoiding pernicious mixed
5856 content. Return number of lines written.
5859 (makeDocBookFile): Fixed calls to sgml*Tag.
5860 Simple white space clean.
5862 (simpleDocBookOnePar): Simple white space clean.
5864 * tabular.[Ch] (docBook): Renamed to docbook and got another
5865 argument to related with the pernicious mixed content.
5867 (docbookRow): Fixed calls for docbook inset method.
5869 2002-06-15 Lyx Development team <larsbj@birdstep.com>
5871 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5872 so it's X11 independent.
5876 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5878 2002-06-15 Lyx Development team <lyx@electronia>
5880 * intl.h: Renamed getTrans to getTransManager.
5882 2002-06-14 Angus Leeming <leeming@lyx.org>
5884 * Makefile.am: nuke forgotten stl_string_fwd.h.
5886 2002-06-12 Angus Leeming <leeming@lyx.org>
5888 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5890 2002-06-13 Angus Leeming <leeming@lyx.org>
5893 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5895 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
5897 * kbmap.C (getiso): add support for cyrillic and greek
5899 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5903 * BufferView_pimpl.h:
5904 * BufferView_pimpl.C: move bogus scrolling logic
5907 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5910 * BufferView_pimpl.C: view->resize() change
5912 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5914 * BufferView_pimpl.C: topCursorVisible
5917 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5921 * lyx_gui.C: move to frontends/
5925 * lyx_main.C: changes from above
5927 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5934 * lyx_main.C: minor tidy
5936 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5938 * BufferView_pimpl.h:
5939 * BufferView_pimpl.C:
5941 * BufferView.C: make painter() const,
5944 * BufferView2.C: use screen() accessor
5947 * lyx_main.C: some minor cleanup
5949 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5951 * BufferView_pimpl.h:
5952 * BufferView_pimpl.C: remove enter/leaveView,
5955 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5960 * BufferView_pimpl.h:
5961 * BufferView_pimpl.C: only construct screen once,
5964 * lyxrc.C: remove pointless comment
5966 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5969 * BufferView.C: remove active() and belowMouse()
5971 * BufferView_pimpl.h:
5972 * BufferView_pimpl.C: use workarea() not workarea_,
5973 and make it use a scoped_ptr instead
5975 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5977 * lyx_gui.C: add debug message on BadWindow
5979 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5981 * sp_spell.C: fdopen is not part of the C++ standard.
5983 * paragraph.C (InsetIterator): use >= instead of ==
5985 2002-06-07 Angus Leeming <leeming@lyx.org>
5987 Fixes needed to compile with Compaq cxx 6.5.
5988 * BufferView_pimpl.C:
5995 * lyxtextclasslist.C:
6000 all c-library variables have been moved into namespace std. Wrap
6001 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6006 Add a using std::abs declaration.
6008 * kbmap.h (modifier_pair):
6009 * paragraph.h (InsetTable, InsetList):
6010 * lyxfont.h (FontBits):
6011 type definition made public.
6013 * bufferlist.C (emergencyWriteAll): the compiler complains that
6014 there is more than one possible lyx::class_fun template to choose from.
6015 I re-named the void specialisation as lyx::void_class_fun.
6017 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6019 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6020 the compiler is is unable to find tostr in write_attribute.
6022 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6024 * buffer.C (sgmlError): hide #warning
6026 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6028 * xtl/*: get rid of xtl, which is not in use anyway
6030 * LyXAction.C (init):
6031 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
6032 were unimplemented xtl experimentation
6034 2002-06-04 André Pönitz <poenitz@gmx.net>
6036 * lyxfunc.C: disable array operation on simple formulae
6038 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
6040 * converter.C: constify a bit
6042 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
6044 * lyx_gui.C: check xforms version correctly
6046 2002-04-30 Herbert Voss <voss@lyx.org>
6048 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6051 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
6053 * lyxvc.C: fix bug 416 (make sure buffer is saved before
6054 attempt to register it with a VCS)
6056 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6058 * lyx_main.C (init): honor variables LYX_DIR_13x and
6061 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6065 * lyx_main.C: fix a crash on bad command line,
6066 and give a useful exit status on error
6068 * lyxfunc.C (doImport): allow -i lyx to work
6070 2002-03-30 André Pönitz <poenitz@gmx.net>
6072 * lyxfunc.C: mathed font changes
6074 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6089 * trans_mgr.h: srcdocs, and some minor cleanups
6091 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6093 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
6094 call getFont all the time)
6096 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6098 * switch from SigC signals to boost::signals
6100 2002-05-29 André Pönitz <poenitz@gmx.net>
6102 * paragraph_pimpl.C (getChar): don't call size() too often...
6104 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6106 * paragraph_pimpl.C (insertChar): do not try to update tables when
6107 appending (pos == size())
6109 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
6110 in order to reduce drastically the number of comparisons needed to
6111 parse a large document
6113 2002-05-29 André Pönitz <poenitz@gmx.net>
6119 * textclasslist.[Ch]:
6120 * sp_ispell.h: whitespace change
6122 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6124 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
6125 lyxaction directly now.
6127 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
6131 * lyxvc.C: remove unused headers
6133 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6140 * undo_funcs.C: some cleanups. Use shared_ptr
6141 and a template for the undo stacks.
6143 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6145 * BufferView_pimpl.h:
6146 * BufferView_pimpl.C:
6153 * text2.C: use key_state/mouse_state
6155 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6157 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
6160 * chset.C: change include order
6161 (loadFile): use boost regex and get rid of LRegex and LSubstring
6163 * Makefile.am (BOOST_LIBS): new variable
6166 * LaTeX.C: change include order.
6167 (scanAuxFile): use boost regex and get rid of LRegex and
6171 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6176 * FontInfo.C: moved to frontends/xforms/
6179 * FontLoader.C: moved into frontends for GUIIzation
6184 * lyxfunc.C: changes from above
6186 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6188 * LColor.C: remove spurious X include
6190 * BufferView_pimpl.C:
6195 * text2.C: move font metrics to frontends/
6197 2002-05-24 Juergen Vigna <jug@sad.it>
6199 * undo_funcs.C (textHandleUndo): fix the cursor selection after
6200 setting the undo_cursor.
6202 * ParagraphParameters.h: include local includes first.
6204 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6206 * BufferView_pimpl.C:
6207 * BufferView_pimpl.h:
6211 * screen.C: move WorkArea into frontends/
6217 * BufferView2.C: move LyXScreen into frontends/
6221 * lyx_gui.C: move lyxlookup into frontends/xforms/
6223 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6226 * BufferView_pimpl.C:
6236 * bufferview_funcs.C:
6249 * vc-backend.C: move LyX/XFormsView into frontends/
6251 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6263 * text2.C: move Painter to frontends/
6265 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6267 * buffer.C: comment out some some code that depend upon lyx_format
6270 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
6271 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
6273 * buffer.h (NO_COMPABILITY): turn off compability
6275 * ColorHandler.C: include scoped_array.hpp
6277 * font.C: Use more specific smart_ptr header.
6280 * ShareContainer.h: ditto
6284 * BufferView_pimpl.h: ditto
6285 * ColorHandler.h: ditto
6287 * kbmap.C (defkey): change call to shared_ptr::reset
6289 2002-05-21 Juergen Vigna <jug@sad.it>
6291 * buffer.C (insertErtContents): fix to insert ert asis if it is
6292 non empty. Skip it completely if it contains only whitespaces.
6294 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
6296 * BufferView_pimpl.C:
6297 * BufferView2.C: clear selection on paste (bug 393)
6299 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6301 * DepTable.C: include ctime
6303 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
6305 * buffer.C (latexParagraphs): Add new argument (moving_arg).
6307 2002-05-14 Juergen Vigna <jug@sad.it>
6309 * text.C (breakParagraph): fixed function to honor the keepempty
6310 layout in the right maner and also to permit the right breaking
6311 algorithm on empty or non empyt keepempty paragraphs.
6313 * paragraph.C (breakParagraph): we have to check also if the par
6314 is really empty (!size()) for isempty otherwise we do the wrong
6317 2002-05-10 Juergen Vigna <jug@sad.it>
6319 * buffer.[Ch] : The following are only changes to the ert
6320 compatibility read reading old LaTeX layout and font stuff and
6321 convert it to ERTInsets.
6323 * buffer.h: added isErtInset().
6325 * buffer.C (struct ErtComp): add a fromlayout bool to check
6326 if we're inside a LaTeX layout.
6327 (isErtInset): new helper function.
6328 (insertErtContents): look for other ert insets before this one
6329 and insert the contents there, so that we don't have subsequent
6330 ERT insets with nothing between them. This way we create only one
6331 inset with multiple paragraphs. Also check if we don't insert only
6332 spaces ' ' as they are ignored anyway afterwards in the .tex file
6333 so if we have only spaces we will ignore this latex part in the
6335 (parseSingleLyXformat2Token \\layout): better compatibility when
6336 reading layout-latex stuff.
6337 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
6339 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
6340 stuff after reading the inset only get the information back from
6343 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
6345 * buffer.C (makeLaTeXFile): Put language options after loading babel.
6347 * LaTeXFeatures.C (getBabelOptions): New method.
6349 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6351 * BufferView_pimpl.C (Dispatch): work around missing argument for
6354 2002-05-08 Juergen Vigna <jug@sad.it>
6356 * text.C (leftMargin): handle paragraph leftindent.
6358 * paragraph.C (writeFile): write the new \\leftindent tag.
6359 (validate): handle leftindent code.
6360 (TeXEnvironment): handle paragraphleftindent code again.
6362 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
6364 * buffer.C (parseSingleLyXformat2Token): added compatibility code
6365 for paragrap_extra indent code and new token \\leftindent.
6366 (latexParagraphs): handle the leftindent as environment.
6368 * ParameterStruct.h: added leftindent support.
6370 * ParagraphParameters.C (leftIndent): added support functions for
6371 the paragraph left indent.
6373 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
6376 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
6378 * paragraph.C (isRightToLeftPar): Return false for a paragraph
6381 * text.C (computeBidiTables): No bidi in insetERT.
6383 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
6386 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6388 * version.C.in: pre 5
6390 2002-05-02 José Matos <jamatos@fep.up.pt>
6391 * buffer.C (makeDocBookFile): white space changes, add newline to
6393 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
6395 * tabular.C (docBook): fix typo.
6397 2002-05-03 Juergen Vigna <jug@sad.it>
6399 * screen.C (drawFromTo): recalculate the rowpointer if we had a
6400 change in LyXText as we can not be sure it was not freed.
6401 (drawOneRow): remove unused code.
6403 * text.C (drawInset): redo the calculation of the need_break_row as
6404 it could have a row which was already freed.
6405 (draw): look at the return value of drawInset and return false if
6406 it also returned false.
6407 (paintRowText): look at the return value of draw and return false if
6408 it also returned false.
6410 * lyxtext.h: added bool return type to drawInset() and draw() so that
6411 if we have a change in the row so that the rowbreak has to be redone
6412 we abort drawing as it will be called again.
6414 2002-05-02 Juergen Vigna <jug@sad.it>
6416 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
6417 a change in the maintext also if we're inside an inset.
6418 (Dispatch): set the cursor again after a break line and after the
6419 screen has been updated as it could be we're in a different row.
6421 * text2.C (fixCursorAfterDelete): check to make sure we don't request
6422 to set the cursor behind the pargraph with > size().
6423 (setCursor): check also for the same paragraph when checking where
6424 to put the cursor if we have a NFR inset.
6426 * buffer.C (parseSingleLyXformat2Token): move the compatibility
6427 parts of layout read further up as it still was in the wrong
6430 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6432 * screen.C (drawFromTo): change sine fullRebreak always return
6435 * buffer.C (parseSingleLyXformat2Token): reindent some
6437 * BufferView_pimpl.C (update): change since fullRebreak always
6439 (Dispatch): git rid of the last hardcoded "Standard"s.
6441 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6443 * text2.[Ch] (fullRebreak): make it return void now that we always
6446 2002-04-30 Juergen Vigna <jug@sad.it>
6448 * buffer.C (parseSingleLyXformat2Token): reset the font before the
6449 ert compatibility check for "latex" layout.
6451 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
6453 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
6454 minipages: use col% instead of p%, and also use the current font.
6455 (makeLaTeXFile): Fix use babel condition.
6456 (parseSingleLyXformat2Token): Correct font when reading old floats.
6458 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
6460 * BufferView_pimpl.C (Dispatch): Check that float type exists when
6461 inserting list of floats.
6463 2002-04-25 Herbert Voss <voss@lyx.org>
6465 * MenuBackend.C (expand): don't add the graphics extensions to the
6468 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6470 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
6471 non-existing layout, do not complain if it was the default layout
6472 of the original class (bug #342)
6474 2002-04-24 Juergen Vigna <jug@sad.it>
6476 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
6477 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
6479 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
6481 * buffer.C (getBibkeyList): If using \bibliography, return the
6482 option field with the reference itself. Enables us to provide natbib
6483 support when using \bibliography.
6485 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
6487 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
6489 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
6490 natbib is provided by the LaTeX class.
6492 2002-04-23 Juergen Vigna <jug@sad.it>
6494 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
6497 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
6499 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6501 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
6503 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
6504 ensuremath around textordmasculine, textordfeminine and
6507 2002-04-19 Juergen Vigna <jug@sad.it>
6509 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
6510 reinitializing the buffer otherwise row-dimensions may be wrong.
6511 (update): reset also the selection cursors if they do exits otherwise
6512 their x/y positions may be wrong.
6514 * text2.C (cursorDown): don't enter the inset if we came from a row
6515 above and are one row over the inset.
6517 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
6518 really leaving an inset.
6520 2002-04-18 Juergen Vigna <jug@sad.it>
6522 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
6523 of the selected paragraph does not have the selected layout also if
6526 * text2.C (setLayout): fixed bug which did not change last selected
6529 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
6530 changed the read and substituted \\end_float with \\end_inset!
6532 * BufferView_pimpl.C (cursorPrevious):
6533 (cursorNext): fixed to make it work with rows heigher than the work
6534 area without moving the cursor only the draw of the row.
6535 (workAreaMotionNotify): fix jumping over high rows.
6537 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6539 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
6542 2002-04-16 Juergen Vigna <jug@sad.it>
6544 * text2.C (setCursor): set also the irow().
6545 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
6547 (cursorDown): support for locking an inset if the x_fix value goes
6548 inside it. That way I can transverse insets too with cursor up/down.
6550 * lyxrow.h: added irow helper function same as other (i) functions.
6552 * BufferView_pimpl.C (cursorPrevious):
6553 (cursorNext): fixed for insets!
6555 2002-04-15 Juergen Vigna <jug@sad.it>
6557 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
6558 position otherwise it is wrong in some cases.
6560 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
6561 inside the inset before the call.
6563 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
6565 * buffer.[Ch] (getBibkeyList): make it const.
6567 2002-04-12 Juergen Vigna <jug@sad.it>
6569 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
6571 * text2.C (getCursorX): new helper function
6572 (setCursor): compute also ix_
6573 (setCursorFromCoordinates): set also ix.
6575 * lyxcursor.h: added ix_ and helper functions.
6577 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
6579 * buffer.C (insertStringAsLines): dont break paragraph if the this
6580 paragraph is inside an inset which does not permit it!
6582 * text.C (breakParagraph): honor keepempty flag and break the paragraph
6583 also with no chars on this paragraph.
6584 (paintRowText): only paint stuff if it's inside the workarea!
6586 * paragraph.C (breakParagraph): honor keepempty flag and break the
6587 paragraph always below not above.
6589 * BufferView2.C (unlockInset): update the paragraph layout on inset
6590 unlock as we changed paragraph in such a case.
6592 * lyxfind.C (LyXFind): clear the former selection if not found!
6594 * text2.C (insertInset): freeze Undo after setUndo so that it is not
6595 again called in insertChar().
6597 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
6598 an inset which uses the whole row!
6599 (rightMargin): ditto.
6600 (insertChar): force a rebreak if we inserted an inset!
6602 2002-03-28 Herbert Voss <voss@lyx.org>
6604 * lyxlength.[Ch]: add inBP() to get the right PS-point
6605 units (BigPoint). With inPixels we have rounding errors
6607 2002-04-11 Juergen Vigna <jug@sad.it>
6609 * text2.C (setCursorFromCoordinates): set iy to the right value.
6610 (setCursor): add check if row->previous exists!
6612 * buffer.C (parseSingleLyXformat2Token): reset font after read of
6613 an old float_type as this was the case in the old code!
6615 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
6617 * BufferView2.C (showLockedInsetCursor): use iy
6618 (fitLockedInsetCursor): ditto
6620 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
6621 locked insets as there we have the right value now.
6623 * lyxcursor.C: added iy_ variable and iy functions to set to the
6624 baseline of cursor-y of the locked inset.
6626 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
6627 (setCursor): fixed for insets which need a full row.
6629 * text.C (rowLastPrintable): don't ignore the last space when before
6630 an inset which needs a full row.
6631 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
6632 as last character of a row when before a inset which needs a full row.
6634 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6636 * version.C.in: update date
6638 * text2.C (fullRebreak): try to always return true and see what
6641 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6643 * MenuBackend.C (expand): use Floating::listName
6645 * FloatList.C (FloatList): add listName argument to the built-in
6648 * Floating.[Ch]: add listName member, which is the 'List of XXX'
6649 text associated with the float.
6651 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6653 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
6655 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6657 * ShareContainer.h: add a couple of missing typenames.
6659 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
6661 * lyxrc.C (getDescription): use _() correctly rather than N_().
6663 2002-03-28 Herbert Voss <voss@lyx.org>
6665 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
6666 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
6668 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6670 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
6671 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
6673 2002-03-29 Juergen Vigna <jug@sad.it>
6675 * lyxfunc.C (dispatch): add a missing fitCursor call.
6677 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
6678 it was scrolled by a cursor move, so return the bool status.
6680 * BufferView.C (fitCursor): return the bool flag also to the outside
6681 world as this is needed.
6683 * screen.C (toggleToggle): don't subtract the offset if it's positive.
6685 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6686 call the edit() as it is not needed (and wrong) IMO.
6687 (workAreaButtonPress): set the screen_first variable before evt.
6688 unlock the inset as this may change screen_first and then we have
6689 a wrong y position for the click!
6691 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6693 * MenuBackend.C (expand): another translation that I missed
6695 2002-03-28 Juergen Vigna <jug@sad.it>
6697 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6699 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6701 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6703 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
6705 * MenuBackend.C (expand): fix export/view/update when there is no
6708 2002-03-27 Herbert Voss <voss@lyx.org>
6710 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
6713 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6715 * bufferview_funcs.C (currentState): only show paragraph number
6716 for is DEVEL_VERSION is set.
6718 * lyxfunc.C (dispatch): put warning in INFO channel
6720 * MenuBackend.C (expand): translate the name of floats
6722 * FloatList.C (FloatList): mark the float names for translation
6724 * converter.C (convert): use LibScriptSearch
6726 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6728 * MenuBackend.C (defaults): fix default menu (we might as well get
6731 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6733 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6736 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6738 * lyxvc.C: reorder includes.
6740 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
6742 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6745 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
6747 * CutAndPaste.C: change layouts earlier on paste
6748 to avoid crashing when calling getFont()
6750 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
6752 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6755 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6757 * WorkArea.C: remove 'Pending' debug message.
6759 * most files: ws cleanup
6761 * buffer.[Ch]: ws changes
6763 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6765 2002-03-21 Juergen Vigna <jug@sad.it>
6767 * tabular.C (SetMultiColumn): collapse also the contents of the
6768 cells and set the last border right. Added a Buffer const * param.
6770 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6772 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6775 2002-03-19 Juergen Vigna <jug@sad.it>
6777 * text2.C (clearSelection): reset also xsel_cache.
6779 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6780 where it needs to be called (John tells us to do so too :)
6781 (selectionLost): reset sel_cache.
6783 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6785 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6787 * text2.C (setCursorIntern): put debuging code in INSETS channel
6789 2002-03-19 André Pönitz <poenitz@gmx.net>
6791 * lyxfunc.C: tiny whitespace change
6793 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6795 * ToolbarDefaults.C (init):
6796 * LyXAction.C (init):
6798 * BufferView_pimpl.C (Dispatch):
6799 * lyxfunc.C (dispatch): remove LFUN_DEPTH
6801 2002-03-19 Allan Rae <rae@lyx.org>
6803 * exporter.C (Export): removeAutoInsets before doing anything else.
6804 While I've just introduced a dependency on BufferView this really is
6805 the best place to clean the buffer otherwise you need to cleanup in
6806 a dozen places before calling export or cleanup in a dozen functions
6809 * converter.C (runLaTeX):
6810 (scanLog): Better handling of removeAutoInsets and screen updates.
6812 * lyxfunc.C (dispatch): small whitespace changes
6814 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6816 * WorkArea.C (C_WorkAreaEvent): return a value.
6817 (event_cb): return 1 if we handled the event, 0 otherwise.
6819 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6821 2002-03-18 Juergen Vigna <jug@sad.it>
6823 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6824 (GetAdditionalWidth): ditto.
6828 * BufferView2.C (copy): use getLyXText() so that we do it inside an
6829 inset if we're there actually (probably not used right now but this
6830 is the direction to go for unifying code).
6831 (paste): disable code to clear the selection.
6833 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6834 inside an InsetText and move the check further up as it is in the
6837 * text2.C (pasteSelection): set a selection over the pasted text.
6839 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
6841 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6842 and libgraphics to build on Cygwin.
6844 2002-03-15 Juergen Vigna <jug@sad.it>
6846 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6847 inserting an Inset into the paragraph. I know this is not the best
6848 fix but we already use current_view in CutAndPaste so we will remove
6849 all of it's using at the same time.
6851 * buffer.C (sgmlError): deactivated function till it is rewritten in
6852 the right mode, now it can create problems.
6854 * paragraph.C (isLineSeparator): check if getInset returns != 0,
6855 before accessing it.
6857 2002-03-14 Juergen Vigna <jug@sad.it>
6859 * undo_funcs.C (textHandleUndo): do the right thing when updating
6860 the inset after the undo/redo.
6862 * text2.C (setCursor): just some testcode for #44 not ready yet.
6864 * undo_funcs.C (textHandleUndo): set the next() and previous()
6865 pointers of the paragraph to 0 before deleting otherwise we have
6866 problems with the Paragraph::[destructor].
6868 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6869 on a paragraph insertion.
6871 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6873 * buffer.C (asciiParagraph): use += operator for char append to
6876 * paragraph.C (getFontSettings): compare >= not just >
6877 (highestFontInRange): ditto
6880 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6882 * paragraph.C: change several algorithm to be more appripriate for
6883 the problem domain. This is lookip in FontList and in the InsetList.
6885 2002-03-13 André Pönitz <poenitz@gmx.net>
6888 * LyXAction.C: remove unused LFUN_MATH_MACROARG
6890 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
6895 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6897 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6899 * Painter.C (display): anon helper function, adjust code for this
6901 (pixmap): remove function.
6903 * Painter.h: remove private display variable.
6905 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6907 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
6909 * WorkArea.[Ch]: remove figinset_canvas cruft.
6911 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6913 * lyxtextclass.C (operator): add one item cache optimization.
6915 * bufferlist.h: doxy changes
6917 * bufferlist.C: ws changes
6919 * DepTable.[Ch] (ext_exist): place const in the right spot.
6921 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6923 (workAreaExpose): call resizeInsets when the with BufferView changes.
6924 (Dispatch): adjust for protectedBlank removal
6925 (specialChar): call updateInset if the insert went ok.
6927 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6928 specialChar instead.
6930 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6932 * BufferView.h: doxy change
6934 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6936 * lyxtextclass.C (operator[]): remove non-const version
6937 (defaultLayout): remove non-const version
6939 2002-03-12 Juergen Vigna <jug@sad.it>
6941 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6942 did resize the LyXText too.
6944 * buffer.C (readLyXformat2): set layout information on newly allocated
6947 * tabular.C (OldFormatRead): set layout information on the paragraph.
6949 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6951 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6953 2002-03-11 Juergen Vigna <jug@sad.it>
6955 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6957 (resizeCurrentBuffer): force also the insets to resize themselfes.
6958 (moveCursorUpdate): fixed up for InsetText.
6960 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
6963 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6964 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6965 value of Dialogs::tooltipsEnabled().
6966 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6968 2002-03-08 Juergen Vigna <jug@sad.it>
6970 * BufferView_pimpl.C (updateInset): update inset inside inset also
6971 if it isn't inside theLockingInset().
6973 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6975 * buffer.C (asciiParagraph): redo some of the word and line length
6977 (getLists): look for Caption instead of caption.
6979 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6981 * buffer.C (Buffer): initialize niceFile to true
6984 (makeDocBookFile): make sure niceFile is true on exit
6986 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6988 * buffer.C (makeLaTeXFile): escape ~ in \input@path
6990 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
6992 * LyXSendto.C: remove.
6993 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6994 * lyx_gui.C: remove now-redundant comment.
6995 * ColorHandler.h: remove forward declaration of class WorkArea.
6996 * lyxfunc.C: remove #include "WorkArea.h".
6998 2002-03-07 Juergen Vigna <jug@sad.it>
7000 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7001 got moved away with the DEPM and also set the inset_owner always
7002 right which before could have been omitted.
7004 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7006 * buffer.C (parseSingleLyXformat2Token): use default layout is the
7007 wanted layout is not found.
7009 2002-03-07 Juergen Vigna <jug@sad.it>
7011 * CutAndPaste.C (cutSelection): another layout settings forgotten.
7013 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7015 * paragraph.C (breakParagraph): use default layout not layout of
7017 (Paragraph): clear ParagraphParameters.
7019 2002-03-06 Juergen Vigna <jug@sad.it>
7021 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7022 otherwise it would not be a valid lenght. Fixed a special case in
7023 the minipage compatibility read where we end the document with a
7026 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7027 was set as it could be 0 for InsetTexts first entry.
7029 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7031 * paragraph.C (writeFile): if layout is empty write out
7032 defaultLayoutName().
7034 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
7035 file without named layout we set layout to defaultLayoutName().
7037 2002-03-06 Juergen Vigna <jug@sad.it>
7039 * CutAndPaste.C (copySelection): set layout for new paragraph.
7041 * text.C (prepareToPrint): leave ERT inset left aligned
7042 (leftMargin): don't indent paragraphs inside ERT insets
7044 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7046 * paragraph.C (breakParagraph): dont call clear do the work manually
7048 * paragraph.[Ch] (clear): remove function
7050 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7052 * paragraph.C (Paragraph): dont call clear, the work has already
7055 * lyxtextclass.C (operator): assert if n is empty
7057 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7058 work manually instead.
7060 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7062 * BufferView_pimpl.C: protect selectionLost against text == 0
7064 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7066 * text.C (breakParagraph): fix a setting layout to '0' problem.
7068 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7070 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
7071 final location of file, for the included files, and graphics.
7073 2002-03-05 Juergen Vigna <jug@sad.it>
7075 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
7077 2002-03-04 Juergen Vigna <jug@sad.it>
7079 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
7081 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
7082 last column of multicolumn cells.
7083 (SetWidthOfMulticolCell): recalculate NMC and real columns.
7085 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
7087 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
7088 file if it doesn't go to a temporary file.
7090 * buffer.C (sgmlOpenTag):
7091 (sgmlCloseTag): remove extra newline insertion.
7093 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7095 * text.C (getRowNearY): comment out debug msg
7097 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7099 * text2.C: first -> first_y
7101 * text.C (getRowNearY): add some attemts at a possible
7102 optimization, not working.
7104 * tabular.[Ch]: add BufferParams to several function so that newly
7105 created paragraph can be initialized to he default layotu for the
7108 * tabular-old.C (ReadOld): add buf->params to call of Init
7110 * screen.C: rename text->first to text->first_y
7112 * paragraph.C (breakParagraph): always set layout in the broken
7115 * lyxtextclass.C (Read): remove lowercase
7118 (delete_layout): ditto
7120 * lyxtext.h: rename first -> first_y
7122 * lyxlayout.C (Read): remove lowercase
7125 (obsoleted_by): ditto
7127 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
7129 * buffer.C (insertErtContents): add params are to InsetERT
7130 (parseSingleLyXformat2Token): add code to check if a paragraphs
7131 layout really exist.
7132 (parseSingleLyXformat2Token): add params to several inset
7134 (asciiParagraph): remove lowercase, do the layout comparisons with
7137 * BufferView_pimpl.C (cursorNext): first -> first_y
7138 (resizeCurrentBuffer): first -> first_y
7139 (updateScrollbar): first -> first_y
7140 (scrollCB): first -> first_y
7141 (workAreaMotionNotify): first -> first_y
7142 (workAreaButtonPress): first -> first_y
7143 (checkInsetHit): first -> first_y
7144 (cursorPrevious): first -> first_y
7145 (cursorNext): first -> first_y
7146 (Dispatch): add buffer_->params to severl inset contructors
7148 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7150 * lyxlayout.C (Read): remove some debug info that I forgot.
7152 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
7153 clean up the code slightly.
7154 (makeLinuxDocFile): ditto
7155 (makeDocBookFile): ditto
7157 * text2.C: layout as string
7159 * text.C: layout as string
7161 * paragraph_pimpl.C: layout as string
7163 * paragraph.[Ch]: layout as string
7165 * lyxtextclasslist.[Ch]: layout as string
7167 * lyxtextclass.[Ch]: layout as string
7169 * lyxtext.h: layout as string
7171 * lyxlayout.[Ch]: layout as string
7173 * lyx_cb.C: layout as string
7175 * bufferview_funcs.C: layout as string
7177 * bufferparams.C: layout as string
7179 * buffer.C: layout as string
7181 * LyXView.[Ch]: layout as string
7183 * LaTeXFeatures.[Ch]: layout as string
7185 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
7187 * BufferView_pimpl.C: change current_layout to string, remove
7192 (workAreaButtonRelease): layout as string
7194 * BufferView2.C (unlockInset): adjust
7196 * vspace.C (asLatexCommand): use an explict temp variable.
7198 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7200 * Makefile.am: use FRONTEND_*
7202 2002-03-01 Juergen Vigna <jug@sad.it>
7204 * tabular.C (SetWidthOfMulticolCell): changed to something better
7205 I hope but still work in progress.
7206 (recalculateMulticolumnsOfColumn): renamed function from
7207 recalculateMulticolCells as it is more appropriate now.
7208 (SetWidthOfCell): calculate multicols better.
7210 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7212 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
7214 * lyxfunc.C (processKeySym): print sequence also if it is
7215 `deleted' (complete)
7217 * kbsequence.C (print): print sequence even if it is deleted
7218 (complete would be a better word, actually).
7220 * lyxfunc.C (dispatch): print complete options after a prefix key
7222 * vspace.C (asLatexCommand): rewrite in a slightly different form.
7224 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
7226 * text2.C (setCharFont): eliminate setCharFont code duplication.
7228 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7230 * BufferView_pimpl.C (Dispatch): remove bogus handling of
7231 LFUN_TABULAR_FEATURE (bug #177)
7233 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
7235 * Makefile.am: remove figure.h
7237 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
7239 * Bufferview_pimpl.C:
7251 * text2.C: remove #include "lyx_gui_misc.h".
7253 * LaTeX.C: added #include <cstdio>
7255 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7257 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
7258 that the paragraph following this one can have.
7260 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
7262 * vspace.C (asLatexCommand): fix bogus gcc warning
7264 * Makefile.am (lyx_SOURCES): remove vms_defines.h
7266 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
7268 * text2.C (setLayout): get rid of redundant code
7270 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
7272 * text2.C (incDepth): make sure depth cannot be increased beyond
7275 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
7277 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
7278 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
7280 * PainterBase.h (image):
7281 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
7284 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7288 * BufferView_pimpl.C:
7289 * BufferView_pimpl.h:
7309 * sp_spell.C: remove fig inset, and the crap house of
7310 cards that follows it
7312 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7318 * nt_defines.h: move .h into support/
7320 * vms_defines.h: remove
7322 * WorkArea.C: add space in debug output
7326 * buffer.C: add WITH_WARNINGS
7330 * bufferlist.C: s/retrive/retrieve/, add docs
7341 * lyxgui.C: add ID to X error handler
7343 * lyxtestclass.c: fix typo
7345 2002-02-26 Juergen Vigna <jug@sad.it>
7347 * tabular_funcs.C (write_attribute): changed so that some default
7348 attributes are not written at all.
7349 (getTokenValue): set default values before trying to read the
7350 value so we have the return value always set as default if we don't
7351 find the token we search for.
7353 * tabular.C (Write): write bools as bools not as strings!
7355 2002-02-22 Juergen Vigna <jug@sad.it>
7357 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
7358 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
7360 * text.C (leftMargin): don't add an indent for paragraphs inside
7361 tabular cells (fix #208).
7363 2002-02-21 José Matos <jamatos@fep.up.pt>
7365 * tabular.C (docBook): fixed support for long tables.
7367 2002-02-20 Juergen Vigna <jug@sad.it>
7369 * text2.C (getFont): get the drawing font of the Inset if this
7370 paragraph is inside an inset (only important for InsetERT for now).
7372 * buffer.C (insertErtContents): use new lanugage params in ERT
7375 * CutAndPaste.C: commenting out seemingly uneeded code.
7377 2002-02-19 Allan Rae <rae@lyx.org>
7379 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
7380 Iterators might be simple to use but they also get invalidated.
7381 (removeAutoInsets): renamed saved cursor tracking variables and added
7382 some comments to clarify what everything does.
7384 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
7391 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
7392 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
7395 * vc-backend.h: remove #include "support/syscall.h"
7399 * converter.C: rearrange #includes in Lars' approved fashion.
7401 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
7402 forward declare class Timeout in the header file.
7404 * XFormsView.C: changes due to the above.
7406 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
7409 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
7410 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
7412 2002-02-18 José Matos <jamatos@fep.up.pt>
7414 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
7417 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7419 * a lot of small ws changes
7420 * add a lot of using std::XXX
7421 * use std construcs some places where approp.
7422 * use some exisint stuff from lyxfunctional where approp.
7423 * Make file changes to use partial linking (lets test this now...)
7425 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7429 remove #include "support/syscontr.h" as it's redundant. Always has been.
7437 change Systemcalls::System to Systemcalls::Wait and
7438 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
7439 No change of functionality, just reflects the stripped down Systemcalls
7442 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7444 * debug.[Ch]: add a GRAPHICS type to the enum.
7446 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7448 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
7450 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
7453 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7455 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
7456 match the changes below.
7458 * text2.C (toggleInset): if there is not editable inset at cursor
7459 position, try to see if cursor is _inside_ a collapsable inset
7462 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7464 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
7465 document menu has a nice checkbox
7467 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7469 * lyxlength.C (asLatexString): change PW to output as percent of
7472 * lengthcommon.C: change '%' to 't%'
7474 * lyxfunc.C (dispatch): a few comments from Martin
7476 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
7480 * BufferView_pimpl.h:
7481 * BufferView_pimpl.C: clear our selection when X tells us we've lost
7484 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7486 * vspace.C (inPixels): fix compiler warning
7488 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7490 * lyxfunc.C (getStatus): fix status message for disabled commands.
7492 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
7494 * BufferView_pimpl.C: fix crash on close buffer
7495 during selection (#227)
7497 2002-01-27 Herbert Voss <voss@lyx.org>
7499 * buffer.C: link old Figure to new graphic inset
7501 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
7503 * FontLoader.C (getFontinfo): Change the latex font names in order
7504 to match the names of type1inst.
7506 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7508 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
7510 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
7513 (remove_files_with_extension): ditto
7514 (remove_file): ditto
7517 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
7518 document is smaller than the work area height. Do not initialize
7519 static variables to 0.
7521 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7523 * lyx_gui.C (init): give the toolbar tooltips a normal font.
7525 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
7526 LFUN_LAYOUT_PARAGRAPHS.
7528 * tabular.C (GetCellFromInset): new method. Finds an inset in a
7529 tabular. It is possible to provide a possible cell, which will
7530 typically be the actcell from the corresponding insettabular
7532 * lyxfunc.C (getStatus): small cleanup; disable
7533 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
7536 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7538 * tabular.C (Validate): remove broken optimization (fixes bug #201)
7540 * paragraph.C (startTeXParParams):
7541 (endTeXParParams): new methods. The LaTeX code to
7542 start/end paragraph formatting
7543 (simpleTeXOnePar): call startTeXParParams also when paragraph is
7544 empty (fixes bug #200)
7546 * vspace.C (inPixels): adapt to the change below
7547 (inPixels): [later] more cleanups (remove unused variables)
7549 * lyxlength.C (inPixels): change to use a width and a height as
7552 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7554 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
7555 Replaced with \paperwidth
7557 * DepTable.C (insert): add std:: qualifier
7559 2002-01-18 Allan Rae <rae@lyx.org>
7561 * text2.C (removeRow): add comment. Should other refresh_?? vars be
7564 * text.C (drawInset): Turned out I didn't know enough about how
7565 rebreaking worked. This fixes most of the redraw problems. I see
7566 an occasional cursor trail when a line is broken now and the cursor
7567 placement can seem out by a few pixels also after a rebreak.
7569 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7571 * buffer.C (parseSingleLyXformat2Token): update because minipage
7572 width is now a LyXLength
7574 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
7576 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
7579 2002-01-17 Juergen Vigna <jug@sad.it>
7581 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
7583 * BufferView2.C (lockInset): call edit() so that theLockingInset()
7584 is set correctly and the inset is updated correctly.
7586 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7588 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
7589 the beginning of the loop.
7591 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
7593 * lyxrc.C: improve help for use_scalable_fonts
7595 2002-01-17 Allan Rae <rae@lyx.org>
7597 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
7599 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7601 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
7602 make sure to set their inset_owner to the right value (bug #171)
7604 2001-12-12 Ben Stanley <bds02@uow.edu.au>
7607 * DepTable.C: Implement mtime checking to reduce time spent doing
7610 2002-01-16 Juergen Vigna <jug@sad.it>
7612 * tabular.C (GetAdditionalHeight): one of error fixed.
7614 * lyxrc.C (output): small fix in writing use_pspell.
7616 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
7618 * sp_base.h: #include LString.h
7620 2002-01-16 Allan Rae <rae@lyx.org>
7622 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
7623 Can someone check this please?
7625 * text.C (drawInset): It was possible that p.row would be removed by
7626 breakAgainOneRow upsetting a few other settings. There may be another
7627 small tweak possible by setting need_break_row = 0 when p.row has been
7628 removed but I don't know enough about the logic here.
7630 2002-01-15 Allan Rae <rae@lyx.org>
7632 * text.C (insertChar): removed conditional truism.
7634 * BufferView2.C (removeAutoInsets): More tweaks.
7635 cur_par_prev could be a stray pointer. Check for trailing empty line
7636 in case last line was cur_par and only had an error inset on it.
7638 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7640 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
7643 * vc-backend.C (most methods):
7644 * exporter.C (Export):
7645 * converter.C (convert):
7647 * LyXSendto.C (SendtoApplyCB):
7648 * lyxfunc.C (dispatch):
7652 * lyx_cb.C (AutoSave):
7654 * BufferView_pimpl.C (MenuInsertLyXFile):
7655 * buffer.C (runChktex): use Buffer::filePath().
7657 * buffer.h: rename filename to filename_; rename filepath to
7658 filepath_ and make it private
7659 (filePath): new method
7661 * buffer.C (writeFile): use fileName()
7664 * lyx_main.C (init): fix starting of LyX when the binary is a
7665 link from so,ewhere else.
7667 * minibuffer.C: include <cctype> for isprint
7669 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7671 * buffer.C (parseSingleLyXformat2Token): changes associated with the
7672 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
7673 name clash with InsetCollapsable's width function.
7675 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7677 * lastfiles.C: include <iterator>
7679 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7681 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7684 * buffer.C (makeLaTeXFile): ditto.
7685 Also make loop operation more transparent.
7687 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7689 * ToolbarDefaults.C: remove trailing comma closing namespace.
7691 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7693 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7696 * trans.C (Load): comment out unused variable, allowed.
7698 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7700 * minibuffer.[Ch] (append_char): new method to recieve input from the
7701 drop-down completion browser. If a key was pressed, then recieve this
7702 char and append it to the existing string.
7703 (peek_event): modify the positioning data passed to the completion
7704 browser so that it can be placed above the minibuffer rather than below.
7705 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7707 * LyXAction.C (init): alloe error-next for readonly documents.
7709 * BufferView2.C (ChangeRefsIfUnique): use standard version of
7712 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7714 * bufferlist.C (readFile): create the buffer _after_ checking that
7717 * lyxfunc.C (verboseDispatch): fix handling of arguments
7719 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7721 * lyxrc.C: use string::erase() instead of initializing to "".
7724 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7726 * BufferView_pimpl.h:
7727 * BufferView_pimpl.C:
7730 * text2.C: tell X when we have made a selection for copying
7732 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7734 * BufferView_pimpl.C (MenuInsertLyXFile):
7735 * lyxfunc.C (menuNew):
7737 (doImport): add shortcuts to directory buttons
7739 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7742 * lyxfunc.C (setStatusMessage):
7743 (getStatusMessage): new methods
7744 (getStatus):use setStatusMessage instead of setErrorMessage
7745 (dispatch): when function is disabled, set error message here
7746 [instead of in getStatus previously]
7748 * BufferView_pimpl.C (workAreaButtonRelease): update
7749 toolbar/menubar here too.
7751 2002-01-13 Allan Rae <rae@lyx.org>
7753 * BufferView2.C (removeAutoInsets): finished off earlier fix.
7754 Now seems indestructible. Remaining task is to audit all other
7755 code affected by deleteEmptyParagraphMechanism. One small quirk
7756 left is that an empty document with an error in the preamble can
7757 be made to report an error but no error box appears. I don't know
7759 (removeAutoInsets): Improved comments.
7761 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
7764 * Thesaurus.C: update for Aiksaurus 0.14
7766 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7768 * text2.C (firstParagraph): removed member function, all uses
7769 replaces with ownerParagraph
7770 (redoParagraphs): here
7772 (toggleAppendix): here
7773 * BufferView2.C (insertErrors): here
7774 (setCursorFromRow): here
7776 2002-01-13 Allan Rae <rae@lyx.org>
7778 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7779 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7780 There is still a way to segfault this although you may have to do this
7781 multiple times: Have an InsetERT with an unknown command in it.
7782 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7783 <down-arrow>, <Enter> again, View->DVI, BANG!
7785 * text2.C (setCursor):
7786 (deleteEmptyParagraphMechanism):
7787 * lyxtext.h (setCursor):
7788 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7789 Making use of the return value may help fix other bugs.
7791 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7793 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7795 * LyXView.C (updateMenubar): call MenuBar::update here
7796 (updateToolbar): but not here
7797 (showState): do not update toolbar/menubar
7799 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7800 should need to care about that.
7802 * lyxfunc.C (verboseDispatch): simplify a bit
7803 (getStatus): have a version which takes a pseudoaction, and
7804 another which requires a (kb_action,string).
7806 * LyXAction.C (retrieveActionArg): make it work also when action
7807 is not a pseudo-action.
7808 (getActionName): simplify a bit
7811 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7813 * lyxfunc.C (verboseDispatch): new families of methods with
7814 several ways to specify a command and a bool to indicate whether
7815 the command name and shortcut should be displayed in minibuffer
7816 (eventually, we could extend that to a finer bitmask like
7817 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7818 (dispatch): the pristine dispatch command which just, well,
7819 dispatchs! Note it still sets its result to minibuffer; I'm not
7822 * lyxfunc.h: remove setHintMessage
7824 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7826 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7828 * BufferView_pimpl.C (specialChar): delete new inset if we have
7829 not been able to insert it.
7831 * kbmap.C: revert to using int instead of kb_action, since all we
7832 are dealing with is pseudo-actions.
7834 * LyXAction.C (searchActionArg): change to return int instead of
7835 kb_action, since the result is a pseudoaction.
7837 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
7839 * buffer.C (insertErtContents): Fix (partially) the font bug.
7841 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7843 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
7844 as the other one is broken on my machine!
7846 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
7849 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7851 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
7853 * lyxrc.[Ch]: change names and descriptions of popup font variables to
7854 reflect their actual use. Provide compatibility code for older lyxrc
7857 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7859 change names of popup font variables in line with the changes to lyxrc.C
7861 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7863 * buffer.C (asciiParagraph): avoid outputing a word twice after
7866 * lyxrc.C (getDescription): document that document_path and
7867 template_path can be empty.
7869 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7871 * LaTeXFeatures.C (getMacros):
7872 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7874 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7876 * LaTeXFeatures.C (useFloat): require "float" here instead of in
7878 (getPackages): rename feature "floats" to "float". Use an array to
7879 iterate over 'simple' features (i.e. just a \usepackage). Add
7880 handling of "amsmath" (renamed from "amsstyle").
7882 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
7884 * LaTeXFeatures.C (require): Prevent duplicate entries in the
7887 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
7889 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7890 FuncStaus::FuncStatus & FuncStaus::some_method().
7892 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
7894 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7895 of the func_satus stuff. Edited and massaged in various ways by
7898 * lyxfunc.C (getStatus): use FuncStatus
7900 2002-01-08 Juergen Vigna <jug@sad.it>
7902 * text.C (nextBreakPoint): use function Inset::isChar().
7904 * paragraph.C (TeXOnePar): use function
7905 Inset::forceDefaultParagraphs.
7907 * buffer.C (latexParagraphs): use function
7908 Inset::forceDefaultParagraphs.
7910 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7912 * lyx_gui.C (init): set the style of the menu popups to
7913 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7915 2002-01-07 Juergen Vigna <jug@sad.it>
7917 * text.C (setHeightOfRow): small fix
7918 (prepareToPrint): don't look at alignment if we don't have the place
7921 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7923 * box.C: New file. Move the Box methods and functions out of box.h,
7924 following Lars' suggestion.
7926 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7928 * box.h: #include "support/LOstream.h", needed for inlined function.
7931 * lyxtextclasslist.C: added some using std declarations.
7933 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
7935 * box.h: make signed dimensions to allow insets wider than
7936 the screen (bug #162)
7938 * BufferView_pimpl.C: add some insetHit debug
7940 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
7942 * vc-backend.C: add FIXME
7944 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7946 * lyxfunc.C (getStatus): enable code for showing math font status
7949 2002-01-07 Juergen Vigna <jug@sad.it>
7951 * text.C (nextBreakPoint): removed debug output not needed anymore.
7953 2002-01-06 Juergen Vigna <jug@sad.it>
7955 * text.C (nextBreakPoint): fixed up this function we had this bug
7956 since ever but now hopefully we break row better.
7957 (insertChar): we have to check if an inset is the next char as it
7958 could now happen that a large inset is causing a break.
7960 2002-01-05 Juergen Vigna <jug@sad.it>
7962 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7963 if it doesn't like to be drawed.
7965 2002-01-04 Juergen Vigna <jug@sad.it>
7967 * BufferView2.C (lockInset): forgot to set a cursor.
7969 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7971 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
7976 * form_maths_panel.C:
7977 * form_maths_panel.h:
7978 * form_maths_panel.fd: implemented sub- and super- buttons in math
7981 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7982 (or ^ space) to be used as in TeX (req'd by André).
7984 * lyxfunc.C: Allow ^ and _ again to be used both as
7985 super/subscript (mathed) and as themselves (in text).
7987 2002-01-03 Allan Rae <rae@lyx.org>
7989 * LyXView.C (updateWindowTitle): Setup a short icon title of either
7990 "LyX" or the filename of the current buffer if it has one. This is a
7991 modified form of John Levon's patch.
7993 * XFormsView.C (setWindowTitle): also set icon title.
7995 * LyXView.h (setWindowTitle): signature changed.
7996 * XFormsView.h (setWindowTitle): ditto.
7998 2002-01-02 Juergen Vigna <jug@sad.it>
8000 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8002 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8004 * screen.C (topCursorVisible): introduce a temp var for
8005 text->cursor.row(), handle the case where this row is null. (kindo
8008 * text2.C (setCursor): add a couple of asserts.
8010 * paragraph.h (inset_iterator): add -> operator
8012 * paragraph.[Ch] (autoDeleteInsets): remove member function
8014 * BufferView2.C (removeAutoInsets): rewrite to handle the old
8015 cursor pos correctly and handle inset deletion by itself.
8016 (insertErrors): move iterator declaration out of for expression
8018 * lyxtextclass.C: add <algorithm>
8020 * Makefile.am: added the new files to sources, removed layout.C
8022 * layout.C: removed file
8024 * layout.h: remove LYX_DUMMY_LAYOUT
8026 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8030 * lyxtextclass.[Ch]:
8031 * lyxtextclasslist.[Ch]: new files
8033 * include order changes to a lot of files, also changes because of
8036 2001-12-27 Juergen Vigna <jug@sad.it>
8038 * buffer.C (asciiParagraph): more fixes.
8040 * tabular.C (ascii): make ascii export support export of only the
8041 data separated by a column-delimiter.
8042 (ascii): better support for ascii export.
8044 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8046 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8048 * tabular_funcs.C: use a "using std::getline" instead of the
8049 previous fix from Angus (necessary for cxx + lyxstring)
8051 2001-12-24 Juergen Vigna <jug@sad.it>
8053 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8055 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8056 problems. First check a minipage also if we have some ert-contents
8057 (not only on par->size(), second set the right depth of the paragraph
8058 on the relink to the root-paragraph-list!
8060 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8061 which then did not anymore update the main paragraphs on undo/redo!
8063 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8065 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
8066 code. Support all font-changing funcs (even those which are not in
8067 menu currently). Support for reporting font settings in
8068 mathed (disabled until Andre provides a function on mathed's side).
8070 * func_status.h (toggle): small helper function to set toggle
8073 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
8075 * tabular_funcs.C: getline -> std::getline
8077 2001-12-21 Juergen Vigna <jug@sad.it>
8079 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
8080 accessed and could be 0 (I couldn't generate this but it seems
8083 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8085 * tabular_funcs.C: add LIstream.h, move write_attribute to..
8086 * tabular_funcs.h: here and include iosfwd
8088 2001-12-20 Juergen Vigna <jug@sad.it>
8090 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
8091 inside inset but undo_par was.
8093 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8095 * Thesaurus.C: always include <config.h> in sources.
8099 * box.h: do not include <config.h> in header files
8101 * text.C (paintLastRow): remove unused variable
8103 * text.C (transformChar):
8105 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
8108 * font.C (width): rewrite to use uppercase() instead of
8111 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
8113 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
8115 * lyxfind.C: clean up of find failure position change
8117 2001-12-20 Juergen Vigna <jug@sad.it>
8119 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
8121 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
8122 (TeXRow): added to LaTeX a single tabular row.
8123 (TeXLongtableHeaderFooter): added to output LT-h/f data.
8124 (Latex): simplified and finally good LT-h/f support.
8125 (various_functions): just small adaptions for LT-h/f support.
8127 * tabular_funcs.[hC]: added and moved here all not classfunctions
8130 2001-12-19 Juergen Vigna <jug@sad.it>
8132 * tabular.[Ch]: better support for longtabular options (not finished
8135 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8137 * text.C (paintLastRow): use the label font instead of the font of
8138 the last character to compute the size of *_BOX. This makes more
8139 sense and avoids a crash with empty paragraphs.
8140 Use Painter::rectangle to draw EMPTY_BOX.
8142 2001-12-19 Juergen Vigna <jug@sad.it>
8144 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
8145 the paragraphs if the replaced paragraph is not the first one!
8146 Tried to delete not used paragraphs but does not work yet so for
8147 now it's inside #ifdef's and by default off!
8149 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8151 * MenuBackend.C: include "lyx_main.h" instead of declaring
8152 lastfiles (actually was declared as LastFiles* instead of a
8155 2001-12-17 Juergen Vigna <jug@sad.it>
8157 * tabular.C (AppendColumn): applied John's fix
8159 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
8163 * BufferView_pimpl.h:
8164 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
8167 * box.h: new start of class for above
8169 * lyxfunc.C: ignore space-only minibuffer dispatches.
8170 Show the command name when it doesn't exist
8172 * minibuffer.C: don't add empty lines to the history
8174 * minibuffer.C: add a space on dropdown completion
8176 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
8178 * text.C: fix line above/below drawing in insets
8180 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8182 * lyxlength.C (LyXLength): Initialize private variables.
8184 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
8186 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
8187 when inserting error insets.
8189 2001-12-13 Juergen Vigna <jug@sad.it>
8191 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
8192 actually sometimes the before-paragraph.
8193 (setUndo): don't clear the redostack if we're not actually undoing!
8195 2001-12-06 Juergen Vigna <jug@sad.it>
8197 * undo_funcs.C (textHandleUndo): well after John's hint I got here
8198 and fixed redoing of main paragraph, so we can use it now ;)
8200 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
8202 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8204 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
8207 2001-12-13 André Pönitz <poenitz@gmx.net>
8210 * undo_func.C: minor cleanup
8212 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8214 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
8215 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
8216 font in urw-fonts package which is marked as -urw-fontspecific and
8217 does not work (incidentally, changing the encoding in the
8218 fonts.dir of this package to -adobe-fontspecific fixes the
8221 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
8222 is a crash when undoing first paragraph (Juergen, please take a
8223 look). THis does not mean the undo fix is wrong, just that it
8226 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
8227 the (Paragraph*) version when needed instead of duplicating the
8230 * text.C (workWidth): use Inset::parOwner to find out where the
8231 inset has been inserted. This is a huge performance gain for large
8232 documents with lots of insets. If Inset::parOwner is not set, fall
8233 back on the brute force method
8235 * paragraph_pimpl.C (insertInset):
8236 * paragraph.C (Paragraph):
8237 (cutIntoMinibuffer): set parOwner of insets when
8238 inserting/removing them
8240 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8242 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
8248 * mathed/formulabase.C:
8249 * mathed/math_cursor.[Ch]:
8250 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
8253 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8255 * lyxlength.[Ch] (operator!=): new function
8257 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8259 * text.C (workWidth): use Inset::parOwner to find out where the
8260 inset has been inserted. This is a huge performance gain for large
8261 documents with lots of insets. If Inset::parOwner is not set, fall
8262 back on the brute force method
8264 * paragraph_pimpl.C (insertInset):
8265 * paragraph.C (Paragraph):
8266 (cutIntoMinibuffer): set parOwner of insets when
8267 inserting/removing them
8269 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8271 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8273 * tabular-old.C (getTokenValue):
8274 * tabular.C (getTokenValue):
8275 (write_attribute): new versions for LyXLength
8276 (everywhere): adjust the use of widths
8278 * tabular.h: change the type of widths from string to LyXLength
8280 2001-12-11 Ben Stanley <bds02@uow.edu.au>
8282 * paragraph.C: fixed missing line number count when exporting
8283 Environments to LaTeX file
8285 * buffer.C: added informational message for checking line numbers.
8287 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8289 * text2.C (deleteEmptyParagraphMechanism): if there is only one
8290 paragraph, do the 'double space' part, but not the 'empty
8293 * text.C (workWidth): small optimization
8294 (getLengthMarkerHeight): use minimal size for negative lengths.
8296 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
8298 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
8300 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
8302 2001-12-11 André Pönitz <poenitz@gmx.net>
8305 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
8307 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8309 * text2.C: keep selection on a setFont()
8311 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8313 * lyx_cb.C: another bv->text misuse, from insert label
8315 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8318 * kbsequence.C: re-instate nmodifier mask
8320 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
8322 * lyx_main.h: make lyxGUI private.
8324 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8326 * lyxfind.C: place the cursor correctly on failed search
8328 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8330 * text.C (getLengthMarkerHeight): for small heights, the arrows
8331 are not always on top/bottom of the text
8332 (drawLengthMarker): smaller arrows; take the left margin in
8333 account; draw also vfills.
8335 (paintLastRow): remove special code for vfill and standard spaces,
8336 since everything is handled in drawLengthMarker now.
8338 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8340 * buffer.C (insertErtContents): try to handle font and language
8341 interaction a bit better.g
8343 * ColorHandler.C (updateColor): change the hash to cover the whole
8344 LColor enum, ws cleanup
8345 (getGCLinepars): ditto
8346 (getGCLinepars): only lookup in the linecache once.
8348 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
8350 * iterators.C (operator++): Make the iterator more robust
8352 * BufferView2.C (removeAutoInsets): Use paragraph iterators
8354 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
8356 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8359 * text.C: better added space drawing
8361 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8364 * BufferView2.C: fix layout combo update on inset unlock
8366 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8368 * Makefile.am: don't compile unused files
8370 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8374 * LyXAction.C: remove old LFUN_LAYOUTNO
8376 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8378 * paragraph_pimpl.h:
8379 * paragraph_pimpl.C: isTextAt() doesn't need font param
8381 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8384 * lyxlex.C: little cleanup
8386 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8388 * BufferView_pimpl.C: fix insertAscii for insets
8390 2001-12-05 Juergen Vigna <jug@sad.it>
8392 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
8393 set the right font on the "multi" paragraph paste!
8395 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8401 * lyxlength.C: remove out-commented code.
8417 * vc-backend.C: change "while(" to "while ("
8419 * lyxlength.[Ch]: add zero function to check if length is zero or
8421 * lyxgluelength.C: use it
8423 2001-12-05 Allan Rae <rae@lyx.org>
8425 * lyxlength.C: Attempted a fix for the abs(int) header selection.
8426 Works for 2.95.3, from what I understand of Garst's reports this should
8427 work for other g++ versions. We're screwed if the abs(int) definition
8428 changed between bugfix releases of gcc.
8430 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8432 * text.C: fix chapter label offset !
8434 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8437 * text.C: fix hfill at end of line, clean up
8439 2001-12-04 Juergen Vigna <jug@sad.it>
8441 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
8442 that we force an update of the inset and it's owners if neccessary.
8444 2001-12-03 Juergen Vigna <jug@sad.it>
8446 * text.C (rowLast): simplified code
8448 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8450 * lyxfunc.C: fix show options on timeout
8452 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8454 * screen.C (topCursorVisible): scroll half a page when the cursor
8455 reached top of bottom of screen
8457 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
8459 * minibuffer.C: deactivate on loss of focus
8461 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8463 * vspace.[Ch] (operator!=): add operator.
8465 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
8467 * BufferView_pimpl.C: refuse to open an inset when
8468 there's a selection.
8470 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
8472 * BufferView_pimpl.C: allow to click on RHS of full row insets
8474 2001-11-30 Juergen Vigna <jug@sad.it>
8476 * tabular.C (LyXTabular): add a same_id to set the same id's in the
8477 insets for undo reasons.
8479 2001-11-28 André Pönitz <poenitz@gmx.net>
8481 * vspace.[Ch]: cosmetical changes
8483 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8493 * kbsequence.C: part re-write of old kb code
8496 * WorkArea.C: remove Lgb_bug_find_hack
8498 2001-11-30 José Matos <jamatos@fep.up.pt>
8500 * buffer.C (makeDocBookFile): add a comment to point a hack.
8501 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
8502 Fixed a double write of labels.
8504 2001-11-29 Ben Stanley <bds02@uow.edu.au>
8507 * LaTeX.h Fixed bug in LaTeX class where it would not
8508 re-run latex if no depfiles were changed, but the .dvi was removed.
8510 2001-11-28 André Pönitz <poenitz@gmx.net>
8512 * all the files from the change on 2001/11/26:
8513 use lyx::layout_type instead of LyXTextClass::size_type
8514 use lyx::textclass_type instead of LyXTextClassList::size_type
8516 2001-11-29 Juergen Vigna <jug@sad.it>
8518 * text.C: added support for paragraph::isFreeSpacing()
8520 * buffer.C: same as above
8522 * paragraph.h: inserted isFreeSpacing() function to enable
8523 FreeSpacing inside InsetERT.
8525 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
8526 of the paragraph's in the cut/copy buffer to 0!
8528 * text2.C (removeRow): remove the assert as it can!
8530 * lyxtext.h: added helper function firstRow returning firstrow and
8531 made firstrow private again.
8533 * BufferView2.C (lockInset): don't relock if we're already locked!
8535 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
8537 (removeRow): added Assert::(firstrow)
8539 * debug.C: forgot to add INSETTEXT here.
8541 2001-11-28 Juergen Vigna <jug@sad.it>
8543 * sp_spell.C (initialize): changed error text to more general
8544 spellchecker command use (not only ispell!)
8546 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
8548 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
8550 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8552 * vspace.C: initialise lyxgluelength on failure
8554 2001-11-28 Allan Rae <rae@lyx.org>
8556 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
8557 declaration & definition that looks like a function declaration.
8559 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8561 * BufferView2.C (copy):
8562 (copyEnvironment): do not clear the selection when doing a copy.
8564 * text.C (paintFirstRow): compilation fix
8566 2001-11-27 Ben Stanley <bds02@uow.edu.au>
8568 * tabular.C (Latex): correct line count when writing latex.
8570 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
8572 * paragraph_pimpl.h:
8573 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
8576 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8580 * LColor.C: change vfillline->added_space
8582 * text.C: add markers and text for added space
8584 * vspace.C: fix comment
8586 2001-11-28 André Pönitz <poenitz@gmx.net>
8588 * paragraph.C: whitespace changes
8589 * all the other files from the change on 2001/11/26:
8590 change *::pos_type into lyx::pos_type
8592 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
8594 * buffer.C (parseSingleLyXformat2Token): Set the language to the
8595 language of the document when inserting error insets.
8597 2001-11-26 André Pönitz <poenitz@gmx.net>
8599 * BufferView_pimpl.[Ch]:
8607 * paragraph_pimpl.[Ch]:
8610 * text2.C: reduce header dependencies, introduce type for positions
8612 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8614 * <various>: change to use Alert.h
8616 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
8618 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
8619 when encountering an unknown token.
8620 (readLyXformat2): Show an error message if there were unknown tokens.
8622 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
8625 * BufferView_pimpl.C:
8629 * text2.C: use par->isInset()
8631 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8633 * paragraph_pimpl.h:
8634 * paragraph_pimpl.C: cleanup
8636 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8638 * text2.C (removeRow):
8639 * text.C (setHeightOfRow): remove useless (and costly) call to
8642 2001-11-20 Allan Rae <rae@lyx.org>
8644 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
8645 Now need Inset*::checkInsertChar() to return true for appropriate
8646 cases so that the characters in the minibuffer will actually be
8649 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8651 * text.C: change the order of the includes.
8652 (workWidth): initialize it at once.
8653 (workWidth): make maxw unsigned
8654 (setHeightOfRow): remove unused variable (inset)
8655 (selectSelectedWord): remove unused variable (inset)
8656 (paintRowText): fix drawing of hfill characters, and clean up a bit.
8658 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8660 * lyxserver.C (emergencyCleanup): do not try to close pipes if
8661 server is not running.
8663 (closeConnection): add debug info when server is disabled.
8665 * ColorHandler.C (getGCForeground): send debug message to GUI
8668 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
8670 * kbmap.C (bind): modify because return conventions of
8671 kb_sequence::parse have changed.
8673 * kbsequence.C (parse): only ignore spaces and not any stupid
8674 control character. This avoids tests like s[i] <= ' ', which are
8675 guaranteed to fail with 8bit characters and signed chars.
8676 Change return code to string::npos when there have been no error
8677 (0 was a bad idea when error is at first character)
8679 2001-11-14 José Matos <jamatos@fep.up.pt>
8682 * buffer.C (simpleDocBookOnePar): removed unused argument.
8684 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8686 * text.C (selectNextWordToSpellcheck): do not test explicitely for
8687 insets which are part of a word. Paragraph::isLetter takes care of
8688 that now. Use Paragraph::isInset to identify insets.
8689 (selectSelectedWord): do not test for hyphenation break.
8691 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8692 that protected spaces are considered as spaces.
8694 * paragraph.C (isLetter): cleanup the code for ispell extras; use
8697 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
8700 * lyxserver.C: fix it. and small cleanup.
8702 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8704 * BufferView_pimpl.C: use inline helpers
8707 * LaTeXFeatures.C: fix typos
8710 * Spacing.C: move spacing_string into class
8712 * ToolbarDefaults.C: move stuff into namespace anon
8714 * layout.h: update enum
8716 * lyxfunc.C: use better debug
8718 * minibuffer.h: fix typo
8722 * WorkArea.C: add and use Debug::WORKAREA
8726 * text2.C: code re-organisation, inline helpers
8728 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
8730 * Layout.C: replaced a few cases of std::vector.size() == 0 with
8731 std::vector.empty().
8733 2001-11-09 Allan Rae <rae@lyx.org>
8735 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8736 '\n's after tables. Tabular and ERT inset work now makes this no
8739 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8742 * minibuffer.C: fix crash, improve drop-down completion
8744 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
8747 * lyxserver.C: invalidate fd's when doing endPipe()
8749 2001-11-08 José Matos <jamatos@fep.up.pt>
8751 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8752 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8755 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8757 2001-11-07 José Matos <jamatos@fep.up.pt>
8760 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8763 * buffer.C (sgmlOpenTag):
8764 * buffer.C (sgmlCloseTag): removed debug info.
8766 * buffer.h (sgmlOpenTag):
8767 * buffer.h (sgmlCloseTag): made public.
8769 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8771 * buffer.C (saveParamsAsDefaults):
8772 * lyx_cb.C (MenuLayoutSave): remove
8774 * LyXAction.C (init):
8776 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8778 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8780 * buffer.C (setPaperStuff): removed from here...
8782 * bufferparams.C (setPaperStuff): ... and moved there.
8784 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
8788 * XFormsView.C: add support for drop-down completion
8790 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
8792 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8795 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8797 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8800 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
8802 * lyx_main.C: change ref to known bugs
8804 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
8806 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8807 to work around older babel problems.
8809 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8811 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8813 2001-10-24 Juergen Vigna <jug@sad.it>
8815 * tabular-old.C (ReadOld): below variable changes reflected.
8817 * tabular.[Ch]: added ltType struct for longtable header/footer
8818 defines and changed all instances where they are used. Added
8819 future support for double top/bottom rows.
8821 2001-10-24 José Matos <jamatos@fep.up.pt>
8823 * buffer.h (docbookHandleCaption):
8824 * buffer.C (docbookHandleCaption): removed unused function.
8825 (makeDocBookFile): moved docbook supported version to v4.1.
8827 2001-10-24 José Matos <jamatos@fep.up.pt>
8830 * tabular.C (docbookRow): new function to export docbook code of a row.
8831 (DocBook): now honors the longtable flags.
8833 2001-10-23 José Matos <jamatos@fep.up.pt>
8836 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8837 of the lyx defined sgml entities used in a docbook/linuxdoc document.
8839 * buffer.C (makeLinuxDocFile):
8840 (makeDocBookFile): reworked the preamble, more clean, and with
8841 support for lyx defined entities. Changed the document declaration
8842 to be more XML friendly.
8844 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8845 if we need to output XML that should be done with a filter.
8847 2001-10-22 Juergen Vigna <jug@sad.it>
8849 * sp_pspell.h (class PSpell): add alive function needed in the
8850 controller to see if the spellchecker could be started.
8852 2001-10-22 Juergen Vigna <jug@sad.it>
8854 * buffer.C (insertStringAsLines): modify the font for inserting
8855 chars in certain conditions by calling checkInsertChar(font).
8857 2001-10-19 Juergen Vigna <jug@sad.it>
8859 * text.C (workWidth): use getRow instead of wrong algorithm.
8860 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8862 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
8867 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8869 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8871 * text.C (workWidth): do not search for the exact row when
8872 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8873 optimization for big documents.
8875 2001-10-18 Juergen Vigna <jug@sad.it>
8877 * text.C (workWidth): new function with added Inset * parameter.
8879 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8881 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8883 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8884 change return type of getColumnNearX.
8887 * text.C (changeRegionCase): use uppercase/lowercase instead of
8890 (rightMargin): simplify code by factoring out the uses of
8895 (appendParagraph): use Paragraph::size_type
8897 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8899 * vspace.C (asLatexString): add a missing break
8901 2001-10-15 Herbert Voss <voss@perce.de>
8903 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8905 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8907 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8910 2001-10-10 André Pönitz <poenitz@gmx.net>
8912 * lyxfunc.C: removed greek_kb_flag.
8914 2001-10-10 Herbert Voss <voss@perce.de>
8916 * lyx_main.C: delete global string help_lyxdir.
8918 2001-10-09 Herbert Voss <voss@perce.de>
8920 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8922 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8924 * lyx_main.C: added global string help_lyxdir.
8926 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8928 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
8930 * lyxrc.C (set_font_norm_type): support iso8859-4
8932 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
8934 * LaTeX.C (deplog): add another regex for MikTeX
8936 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
8938 * lyxrc.C (set_font_norm_type): support iso8859-3
8940 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8942 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8944 * LaTeXFeatures.C: remove special case of french and index
8946 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8947 before \begin{document}). This solves several incompatibilities.
8949 2001-10-03 Garst Reese <reese@isn.net>
8951 * lyx_cb.C: change CheckTex error msg.
8953 2001-10-03 José Matos <jamatos@fep.up.pt>
8955 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8957 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8959 * .cvsignore: update
8961 * lyx_main.C (commandLineVersionInfo): use new style version info.
8963 * buffer.C (writeFile):
8966 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8968 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8970 * version.h: update to use stuff in version.C
8972 * version.C.in: new file. Contains version information determined
8973 at compile time. This is a merging of version.h and
8976 2001-10-03 Juergen Vigna <jug@sad.it>
8978 * BufferView_pimpl.C (update): don't change "dirty" status in
8981 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
8983 * WorkArea.C (c-tor): re-position version string slightly.
8985 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
8987 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8988 revert to previous code.
8990 WorkArea.[Ch]: (show, destroySplash): methods removed.
8992 WorkArea.C: rework code so that it's an amalgam of the codes before and
8993 after the splash screen was moved to WorkArea.
8995 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8998 * vspace.C (inPixels):
9001 * buffer.C (insertStringAsLines):
9002 (asciiParagraph): fix types to be large enough
9004 * lyxlex_pimpl.h: change member status from short to int
9006 * layout.h: fix type of endlabeltype
9009 * kbsequence.C (parse): change return type to string::size_type
9011 * LaTeX.C (updateBibtexDependencies): comment out unneeded
9014 * Bullet.C (bulletSize):
9015 (bulletEntry): do not use short ints as parameters
9017 * BufferView2.C (insertLyXFile): change a char to an int.
9019 * WorkArea.C (WorkArea): remove unneeded floats in computation
9021 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
9023 * buffer.C (asciiParagraph): Treat '\\' as other chars.
9025 * paragraph.C (asString): Do not ignore newline/hfill chars when
9026 copying to the clipboard.
9028 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
9030 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9031 after a multi-line inset.
9033 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
9035 * paragraph.C (validate): Set NeedLyXFootnoteCode
9037 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9039 * lyxfont.C (LyXSizeNames): changed increase-error to increase
9040 and decrease-error to decrease.
9042 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9044 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9045 it more readable (should be equivalent)
9047 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
9049 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9051 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9053 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9054 of a cursor (row, etc.) after a character has been deleted
9055 (deleteEmptyParagraphMechanism): call the method above on _all_
9056 cursors held by the LyXText when a double space has been
9059 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9061 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9063 (resizeCurrentBuff): remove code to destroy the old splash dialog.
9065 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
9066 background. Use greyOut() and the new show() methods to toggle between
9067 the foreground and background. Add code to remove the splash after
9068 its initial showing.
9070 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
9071 (create_forms): no longer call Dialogs::showSplash.
9073 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9075 * .cvsignore: add version_info.h
9077 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9079 * version_info.h.in: new file
9081 * Makefile.am: add version_info.h.in
9083 * lyx_main.C (commandLineVersionInfo): use version_info defined in
9084 version_info.h instead of VERSION_INFO
9086 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
9088 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
9089 The ERT inset now returns string().
9091 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
9093 * lyxtext.h, text.C (selectNextWord): renamed as
9094 selectNextWordToSpellcheck.
9096 * text.C (selectNextWordToSpellcheck): Modified to not select
9097 words inside an ERT inset.
9099 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9101 * lyx_cb.C (MenuLayoutSave): change a bit the question
9103 * sp_base.h: include <sys/types.h>
9105 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
9107 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
9109 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
9111 * several files: fix typos in user-visible strings
9113 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9115 * text2.C (pasteSelection): do not set the selection, since it
9116 will be cleared later. Actually, the intent was to fix the way the
9117 selection was set, but I figured rmoving the code was just as good.
9119 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
9121 * FontLoader.C (available): Check if font is available without
9124 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
9126 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
9128 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
9130 * lyxrc.[Ch]: added display_graphics variable and associated code.
9132 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9134 * bufferparams.C (hasClassDefaults): new method. Returns true if
9135 the buffer parameters correspond to known class defaults
9137 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
9139 * XFormsView.C (show): set minimum size to the main window.
9141 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9143 * text2.C (copySelection):
9145 * lyxfind.C (LyXReplace):
9146 * BufferView_pimpl.C (Dispatch): pass the correct flag to
9147 LyXText::selectionAsString.
9149 * paragraph.C (asString): add "label" argument to the second form
9151 * text2.C (selectionAsString): add "label" argument and pass it to
9152 Paragraph::asString.
9154 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9156 * lyx_main.C (commandLineHelp): remove version information
9158 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
9160 * lyx_main.C: add -version commandline option
9162 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9164 * paragraph.h: make the optional constructor arg required instead.
9165 some modifications to other files because of this.
9167 * minibuffer.C (C_MiniBuffer_peek_event): make it static
9169 * lyxserver.C (C_LyXComm_callback): make it static
9171 * lyx_main.C (error_handler): make it static
9173 * lyx_gui.C (LyX_XErrHandler): make it static
9175 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
9177 * WorkArea.C: make the extern "C" methods static.
9179 * Makefile.am (lyx_LDADD): simplify
9181 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9183 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
9184 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
9186 * LyXAction.C (init):
9187 * lyxfunc.C (dispatch): associated code removal.
9189 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9191 * lyxfont.h (isSymbolFont): shut off warning
9193 * text.C (setHeightOfRow):
9194 (getVisibleRow): fix crash with empty paragraphs which have a
9197 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
9199 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
9202 2001-09-04 José Matos <jamatos@fep.up.pt>
9205 * tabular.C (docbook): rename docBook method to docbook.
9207 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9209 * Makefile.am: add dependencies to main.o.
9211 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
9213 * FontLoader.C (available): Return false if !lyxrc.use_gui
9215 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
9217 * FontInfo.C (query):
9218 * converter.C (view):
9219 * importer.C (Import):
9220 * exporter.C (Export): Can not -> cannot.
9222 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
9224 * BufferView_pimpl.C: allow to create index inset even if
9227 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9229 * buffer.C (getLists): replace boost::tie code with an explicit pair
9230 as boost::tie can break some compilers.
9232 * iterators.h: Added a std:: declaration to the return type of
9235 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
9237 * lyxrc.C: add help for view_dvi_paper_option, default to safe
9240 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
9242 * iterators.[Ch]: New files. Provide paragraph iterators.
9244 * buffer.C (changeLanguage): Use paragraph iterators.
9245 (isMultiLingual): ditto
9247 * BufferView2.C (ChangeInsets): Use paragraph iterators.
9249 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
9251 * FontLoader.C: Support for cmr font.
9253 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
9255 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
9256 (available): New method.
9258 * FontInfo.C (getFontname): Use scalable fonts even when
9259 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
9262 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9264 * converter.C (Formats::view): reverted! Incorrect fix.
9266 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9268 * converter.C (Formats::view): only output the -paper option
9269 if the dvi viewer is xdvi, thereby fixing bug #233429.
9271 2001-08-23 Herbert Voss <voss@perce>
9273 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
9275 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
9277 * Spacing.h (Spacing): Set space to Default on in the default
9280 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
9282 * vc-backend.h (RCS::versionString): add RCS to version
9283 (CVS::versionString): add CVS to version
9285 * vc-backend.C (scanMaster): do not add CVS to version.
9286 (scanMaster): do not add RCS to version
9288 * lyxvc.C (versionString): new method
9290 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
9292 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9294 * Spacing.C (set): initialize fval
9296 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
9298 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
9301 2001-08-16 Juergen Vigna <jug@sad.it>
9303 * lyxfunc.C (dispatch): implemented the new FINISHED states.
9305 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9307 * BufferView_pimpl.C:
9310 * text2.C: setParagraph takes linespacing now
9312 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
9314 * LyxAction.C: add internal LFUN_CITATION_INSERT
9316 * LyXView.C: actually apply fix
9318 * bufferlist.C: fix open non-existent file
9320 * lyxfind.C: fix indentation
9322 * lyxfunc.C: remove unneeded assert, fix typo
9324 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9326 * MenuBackend.C: use "Floatname List"
9328 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
9330 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
9331 when converting LaTeX layout to insetERT.
9332 Generate a non-collapsed float when reading old float
9334 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9336 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
9339 2001-08-13 Juergen Vigna <jug@sad.it>
9341 * text.C (fill): return 0 instead of 20 as this seems to be the more
9344 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9346 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
9349 2001-08-13 Juergen Vigna <jug@sad.it>
9351 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
9353 (SearchBackward): comment out the unlocking of the inset_owner this
9354 should not be needed!
9356 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
9358 * Many files: Remove inherit_language, and add latex_language
9360 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
9363 2001-08-10 Juergen Vigna <jug@sad.it>
9365 * text.C (prepareToPrint): fixed hfill-width in draw!
9367 * BufferView2.C (selectLastWord): save the selection cursor as this
9368 now is cleared in the function LyXText::clearSelection!
9370 2001-08-08 Juergen Vigna <jug@sad.it>
9372 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
9373 BACKSPACE type functions.
9375 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
9376 is only cutted from the document but not put in the cut-buffer, where
9377 still the old stuff should be.
9379 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
9381 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
9383 * tabular.C (SetWidthOfCell): fixed special case where the width
9385 (LeftLine): handle '|' in align_special.
9387 (LeftAlreadyDrawed): ditto
9388 (SetWidthOfCell): ditto
9390 2001-08-07 Juergen Vigna <jug@sad.it>
9392 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
9394 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9396 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
9397 * lyxlex.[hC]: ditto
9399 2001-08-06 Juergen Vigna <jug@sad.it>
9401 * text.C (getVisibleRow): fix up row clearing a bit.
9403 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9405 * minibuffer.C: make sure the X server sees the changes in the input.
9407 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9409 * paragraph.C (getFont): split into...
9410 (getLabelFont): this
9411 (getLayoutFont): and this
9412 * paragraph_pimpl.C (realizeFont): calling this
9414 * text2.C (getFont): split into...
9415 (getLayoutFont): this
9416 (getLabelFont): and this
9417 (realizeFont): all three calling this
9419 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
9422 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9424 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
9426 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
9428 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
9429 layouts from the Quote inset insertion.
9431 2001-08-03 Juergen Vigna <jug@sad.it>
9433 * BufferView_pimpl.C (update): do the fitCursor only at the end!
9435 * screen.C (drawFromTo): don't call fitcursor here and do the loop
9436 only if status not is already CHANGED_IN_DRAW (second level).
9438 * text.C (draw): don't set the need_break_row when inside an
9441 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9443 * buffer.C (parseSingleLyXformat2Token): handle more latex
9446 * bufferview_funcs.[hC]: change function names to
9447 begin with small char, adjust other files.
9449 2001-08-02 André Pönitz <poenitz@gmx.net>
9452 BufferView_pimpl.C: remove broken special code for math-greek
9454 2001-08-02 Juergen Vigna <jug@sad.it>
9456 * BufferView_pimpl.C (update): redone this function so that we
9457 update the text again if there was a CHANGE_IN_DRAW.
9459 * screen.C (cursorToggle): removed LyXText parameter and recoded.
9460 (drawFromTo): added a new internal bool which is used by draw() and
9462 (general): some cursor drawing problems fixed.
9464 2001-08-01 Juergen Vigna <jug@sad.it>
9466 * lyxfind.C (LyXFind): fixed
9467 (SearchForward): ditto
9468 (SearchBackward): ditto
9470 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
9471 spurius drawing of the cursor in the main area.
9473 * text2.C (status): small fix which could lead to a segfault!
9474 (clearSelection): remove unneeded BufferView param.
9476 2001-08-01 André Pönitz <poenitz@gmx.net>
9478 * lyxfunc.C: small change due to changed mathed interface
9480 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9482 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
9484 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
9486 * lyxfunc.c: fail gracefully if file doesn't exist
9491 * BufferView_pimpl.C: IsDirWriteable() proto changed
9493 * LyXView.C: fix updateWindowTitle() to store the last title
9495 2001-07-31 Juergen Vigna <jug@sad.it>
9497 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
9498 the font (wrong since using of Paragraph::highestFontInRange).
9500 * paragraph.C (highestFontInRange): added a default_size parameter.
9502 * text.C (getVisibleRow): minor clear row changes (still not perfect).
9503 (setHeightOfRow): reformat
9505 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9507 * converter.[hC] + affected files: move to (inital-char)lowercase
9510 * ParagraphParameters.C (ParagraphParameters): remove commented code
9512 * PainterBase.[Ch]: remove commented code
9514 * LaTeXFeatures.h: add "bool floats" for float.sty
9516 * LaTeXFeatures.C (LaTeXFeatures): init floats
9517 (require): handle float
9518 (getPackages): do it with floats
9520 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9522 * BufferView_pimpl.C (Dispatch): improve handling of
9523 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
9525 * commandtags.h: #include lyxfont.h here temporarily to avoid
9528 * bufferlist.h: include LString.h here.
9530 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9532 * text2.C (getStringToIndex): new method.
9534 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
9536 * *: Reduced header file dependencies all over.
9538 2001-07-30 Baruch Even <baruch@lyx.org>
9540 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
9542 2001-07-29 Baruch Even <baruch@lyx.org>
9544 * buffer.C (readInset): Changed GRAPHICS to Graphics.
9546 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9548 * ParameterStruct.h (endif): add a default constructor to make
9549 sure that all variables is initialized.
9551 * ParagraphParameters.C (ParagraphParameters): adjust
9553 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9555 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
9556 index; also, check that there is something to index, and that it
9557 does not span over several paragraphs.
9558 (doubleClick): use WHOLE_WORD_STRICT for double click.
9560 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
9562 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
9565 2001-07-26 Baruch Even <baruch@lyx.org>
9567 * buffer.C (readInset): Changed to call up InsetGraphics when reading
9568 an InsetFig figure, backwards compatible reading of old figure code.
9570 2001-07-27 Juergen Vigna <jug@sad.it>
9572 * text2.C: font.realize function adaption.
9574 * text.C (draw): add a warnings lyxerr text if needed.
9576 * layout.C: font.realize function adaption.
9578 * language.C: add inherit_language and implement it's handlings
9580 * bufferview_funcs.C (StyleReset): remove language parameter from
9581 font creation (should be language_inherit now).
9583 * bufferparams.C (writeFile): handle ignore_language.
9585 * paragraph.C (getFontSettings): the language has to be resolved
9586 otherwise we have problems in LyXFont!
9588 * lyxfont.C (lyxWriteChanges): added document_language parameter
9589 (update): removed unneeded language parameter
9591 * paragraph.C (validate): fixed wrong output of color-package when
9592 using interface colors for certain fonts in certain environments,
9593 which should not seen as that on the final output.
9595 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
9597 * BufferView_pimpl.C:
9602 * LyXAction.C: add thesaurus support
9605 * lyxfind.C: add "once" parameter, for thesaurus, to not
9606 move to the next match
9608 2001-07-26 Juergen Vigna <jug@sad.it>
9610 * lyxfont.C (realize): honor ignore_language too!
9613 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
9615 * text.C (draw): one place more for ignore_language to not draw
9618 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
9620 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
9622 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9624 * buffer.C (parseSingleLyXformat2Token): a more general fix for
9625 the minipage conversion problem.
9627 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9629 * buffer.C (parseSingleLyXformat2Token): check minipage if we
9632 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9634 * BufferView.h: don't forward declare WorkArea
9636 * BufferView.C: don't include WorkArea.h
9638 2001-07-25 André Pönitz <poenitz@gmx.net>
9642 * lyxfunc.C: new LFUN 'math-space'
9644 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
9646 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9648 * text2.C (toggleInset): call open/close
9650 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9652 * lyxfunc.C (dispatch): add debug for the disabled case
9654 * font.C (buttonText): make similar to rectText
9656 * buffer.C (readInset): comment out parsing of insetlist and
9659 * PainterBase.C (rectText): small correction
9661 * BufferView_pimpl.C: comment out insettheorem and insetlist
9662 * LyXAction.C: ditto
9663 * commandtags.h: ditto
9665 2001-07-24 Juergen Vigna <jug@sad.it>
9667 * text.C (draw): honor the ignore_language.
9669 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
9671 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9673 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
9676 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9678 * lyxtext.h: remove unused (and unimplemented) methods
9680 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9682 * text.C (getVisibleRow): honor background color
9685 * Painter.h: remove default color argument for fillRectangle
9687 * text.C (backgroundColor): new method
9689 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9691 * text.C (getVisibleRow): adjust
9693 * font.[Ch] (rectText): new method, metrics
9694 (buttonText): new method, metrics
9696 * PainterBase.[hC]: make rectText and buttonText always draw and take
9699 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9701 * ToolbarDefaults.C (read):
9702 * MenuBackend.C (read): allow escaping in all strings
9704 * BufferView_pimpl.C (insertAndEditInset): new method.
9705 (Dispatch): use insertAndEditInset whenever appropriate.
9707 * BufferView_pimpl.C (insertNote): removed
9709 * BufferView_pimpl.C (smartQuote): new method, moved from
9710 BufferView; if an insetquote cannot be inserted, insert a '"'
9713 * BufferView2.C: remove insertCorrectQuote();
9715 * lyxfunc.C (getStatus): Add support for all remaingin
9718 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9720 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9721 command (necessary to pass " as parameter of self-insert.
9723 * text.C (selectWordWhenUnderCursor):
9724 (selectWord): add word_location parameter
9725 (selectWordWhenUnderCursor): same + remove special code for word
9727 (selectNextWord): use kind() to guess type of insetspecialchar,
9730 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9731 (insertErtContents): create ert insets as collapsed.
9732 (readInset): better compatibility code for Info inset.
9734 2001-07-20 Juergen Vigna <jug@sad.it>
9736 * lyxfunc.C (dispatch): use always LyXFind now!
9738 * text2.C (init): add a reinit flag so that the LyXText can be
9739 reinited instead of deleted and reallocated (used in InsetText).
9741 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9747 2001-07-18 Juergen Vigna <jug@sad.it>
9749 * text.C (selectNextWord): handle insets inside inset by calling
9750 always the bv->text functions so that we can go up the_locking_inset!
9752 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9753 in strange locations when inside an inset!
9755 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9756 handling to include insets.
9758 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9760 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9762 * LyXAction.C (init):
9764 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9765 LIGATURE_BREAK, since the name is so stupid.
9767 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9769 * buffer.C (readInset): enable reading of new InsetNotes as well as old
9772 * FontLoader.C: remove FORMS_H_LOCATION cruft.
9774 * sp_form.[Ch]: remove.
9776 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9778 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9781 * src/buffer.C (readInset): ditto.
9783 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9785 * BufferView_pimpl.C (specialChar): new method. Obsoletes
9786 menuSeparator(), endOfSentenceDot(), ldots() and
9787 hyphenationPoint(), which are therefore removed.
9788 (Dispatch): handle LFUN_HYPHENATION_BREAK.
9790 * LyXAction.C (init):
9791 * commandtags.h: add LFUN_HYPHENATION_BREAK.
9793 * paragraph.C (getWord): removed.
9795 * BufferView_pimpl.C (Dispatch): use last word or selection for
9796 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9798 * lyx_main.C (queryUserLyXDir): do not ask before creating
9799 user_dir, except if it has been named explicitely.
9801 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9803 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9804 a document of zero size.
9806 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
9808 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9809 approriately in the c-tor and in require().
9810 (getPackages): output the appropriate LaTeX for natbib support.
9812 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9813 variables "use_natbib" and "use_numerical_citations" when reading the
9815 (readInset): read the various natbib cite commands.
9816 (validate): white-space change.
9818 * bufferparams.[Ch]: new variables "bool use_natbib" and
9819 "bool use_numerical_citations".
9820 (writeFile): output them in the LyX file.
9822 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9824 * lyxfunc.C (getStatus): add support for all the inset insertion
9827 * text2.C (insertInset):
9828 * paragraph.C (insetAllowed):
9829 * BufferView_pimpl.C (insertInset): update to take in account the
9830 renaming of insertInsetAllowed
9832 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9834 * text2.C (getInset): new method. returns inset at cursor position.
9836 * BufferView_pimpl.C (Dispatch): changes because of this.
9838 * LyXAction.C (init): rename open-stuff to inset-toggle.
9840 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9842 * text2.C (toggleInset): renamed from openStuff; use
9845 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
9847 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9849 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9851 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
9853 * buffer.C (readLyXformat2): Add filename to the error dialog
9855 2001-07-18 Juergen Vigna <jug@sad.it>
9857 * tabular.C (GetCellNumber): put an assert here instead of the check!
9859 2001-07-17 Juergen Vigna <jug@sad.it>
9861 * BufferView_pimpl.C (toggleSelection): adapted too.
9863 * text.C (selectNextWord): adapted for use with insets.
9864 (selectSelectedWord): ditto
9866 2001-07-17 Juergen Vigna <jug@sad.it>
9868 * sp_spell.C (PSpell): fix initialitation order.
9870 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9872 * paragraph.C: spacing
9874 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
9876 * sp_spell.C: repair language selection for pspell
9878 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9880 * lyxfunc.h: change more methods to begin with lower char.
9882 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
9884 * buffer.C (parseSingleLyXformat2Token): Generate error insets
9885 for unknown layouts.
9887 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
9889 * buffer.C (readLyXformat2): Generate an error dialog if there are
9892 2001-07-16 Juergen Vigna <jug@sad.it>
9894 * sp_spell.C: always compile ISpell part.
9896 * lyxrc.C: added use_pspell entry and it's handling.
9898 2001-07-13 Juergen Vigna <jug@sad.it>
9900 * sp_spell.C: removed double includes.
9902 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
9904 Consistent use of Lsstream.h:
9905 * Lsstream.h: added using std::stringstream for consistencies sake.
9907 * buffer.C: removed using std::stringstream
9909 * lyxfont.C (stateText):
9910 * paragraph.C (asString):
9911 * text.C (selectNextWord, selectSelectedWord):
9912 * text2.C (setCounter):
9913 * vspace.C (asString, asLatexString):
9914 std::ostringstream -> ostringstream.
9916 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9918 * LyXAction.C: add LFUN_HELP_ABOUTLYX
9919 * commandtags.h: add LFUN_HELP_ABOUTLYX
9920 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9922 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9924 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9926 * lyx_gui_misc.C: remove spellchecker
9927 * lyxfunc.C: showSpellchecker
9929 * sp_ispell.h: added
9930 * sp_pspell.h: added
9932 * sp_form.[Ch]: removed
9933 * spellchecker.[Ch]: removed
9935 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
9937 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9939 (simpleTeXSpecialChars): Simply print the input character without
9940 any special translation if pass_thru is set.
9942 * layout.h: Added bool pass_thru to layout class for being able to
9943 implement pass through of a paragraph for Literate Programming.
9945 * layout.C: add LT_PASS_THRU to LayoutTags enum.
9946 * layout.C (LyXLayout): set pass_thru to flase in constructor.
9947 * layout.C (Read): add "passthru" to list of layout tags and add
9948 code to set the pass_thru boolean when it is read.
9950 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9952 * trans_decl.h: remove allowed from KmodInfo
9954 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9958 * paragraph_pimpl.C (erase): use boost::prior
9960 * Painter.C (text): use data() instead of c_str() when length is
9962 * WorkArea.C (putClipboard): ditto
9963 * font.h (width): ditto
9965 * BufferView2.C: use it-> instead of (*it). for iterators
9967 * paragraph_pimpl.C: ditto
9968 * paragraph.C: ditto
9969 * minibuffer.C: ditto
9974 * converter.C: ditto
9976 * Variables.C: ditto
9977 * TextCache.C: ditto
9978 * MenuBackend.C: ditto
9979 * LyXAction.C: ditto
9981 * FloatList.C: ditto
9983 * ColorHandler.C (LyXColorHandler): ditto
9985 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9987 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9989 * text2.C (openStuff): reintroduce this method (which had been
9990 nuked in NEW_INSETS frenzy).
9992 * lyxfunc.C (Dispatch): when an action has not been handled, use
9993 its name in the error message, not its number.
9995 * paragraph.C (inInset): change method name to begin with lowercase.
9998 * text2.C: updates because of this.
10000 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10002 * ToolbarDefaults.C (add): add spaces in error message
10004 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10006 * buffer.C (readLyXformat2): initialize the ert comp. variables.
10007 (readLyXformat2): rename return_par to first_par, use lyxlex's
10008 pushToken and remove the manual push handling.
10009 (parseSingleLyXformat2Token): add another ert comp. variable:
10010 in_tabular, rename return_par to first_par. handle newlines better
10012 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10014 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10016 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10018 * text2.C (getParFromID): removed
10020 * buffer.C (getParFromID): new method moved form lyxtext.
10021 * BufferView2.C (insertErrors): adjust
10022 (setCursorFromRow): adjust
10023 * BufferView_pimpl.C (restorePosition): adjust
10024 * lyxfunc.C (Dispatch): adjust
10025 * undo_funcs.C (textUndo): adjust
10027 (textHandleUndo): adjust
10028 (textHandleUndo): adjust
10030 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10032 * buffer.C: up' the LYX_FORMAT
10034 * lyxfont.h: turn NO_LATEX on as default
10036 * buffer.C (insertErtContents): new methods of tex style compability.
10037 (parseSingleLyXformat2Token): use it several places.
10038 * tabular.C (OldFormatRead): and here
10040 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10042 * text2.C: remove some commented code.
10045 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10046 * trans.C: changes because of the above.
10048 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
10050 * text2.C (setCounter): Fix counters bug with bibliography layout.
10052 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10054 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10055 own member functions
10056 (simpleTeXSpecialChars): ditto
10058 2001-07-06 Juergen Vigna <jug@sad.it>
10060 * a lot of files: changed the access to LyXText::status and the
10061 call of undo-functions.
10063 * undo.[Ch]: added a inset_id to the undo informations.
10065 * undo_funcs.[Ch]: added and moved here all undo functions.
10067 * lyxtext.h: give the status enum a weight, made status_ a private
10068 variable and made accessor functions for it, removed the whole bunch
10069 of undo-functions as they are now in their own file, make some
10070 functions publically available. Added function ownerParagraph with
10073 * paragraph.[Ch]: added "bool same_ids" to the constructor,
10074 made InInset() a const function, added getParFromID() function.
10076 * buffer.[Ch]: added const version for inset_iterator functions,
10077 added getInsetFromID() function.
10079 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
10080 changed undo functions for new version.
10082 2001-07-05 Juergen Vigna <jug@sad.it>
10084 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
10085 unknow mechanism does not call the proper constructor but only this
10086 one also if I request the other!?
10088 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10090 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
10092 * text2.C (LyXText): use initialization lists.
10094 * lyxtext.h (Selection): initialize set_ and mark_
10095 (init): remove method
10097 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
10099 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
10101 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10103 * screen.[Ch]: change method names to begin with lowercase
10105 * BufferView_pimpl.C (updateScrollbar): simplify further and
10106 hopefully make it a bit faster.
10108 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10110 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
10111 calling directly xforms functions.
10113 * Painter.C (Painter):
10114 * lyx_cb.C (MenuWrite):
10115 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
10118 * lyx_gui.C: remove bogus guiruntime extern declaration.
10120 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10122 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
10124 (redoDrawingOfParagraph): ditto
10125 (redoParagraphs): ditto
10126 (cutSelection): don't create a object for CutAndPaste use the
10127 static method directly
10128 (pasteSelection): ditto
10130 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
10133 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10135 * modifications to some other files because of this.
10137 * Makefile.am (lyx_SOURCES): add XFormsView
10139 * XFormsView.[Ch]: new files
10141 * LyXView.[Ch]: make LyXView a base class for the gui handling for
10142 the main window. Move the gui dependent stuff to XFormsView
10144 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10146 * tabular.C (GetCellInset): update cur_cell also in the row/col
10147 version of this function.
10149 * lyxfunc.C: no need to include figure_form.h here.
10155 * lyxvc.C: no need to include forms.h here.
10157 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10159 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
10161 * lyxfunc.C (Dispatch):
10163 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
10164 constructor argument.
10166 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10168 * paragraph.C (Paragraph): dont't clear, and just set layout.
10169 (makeSameLayout): use params's copy contructor.
10171 * ParagraphParameters.[Ch] (makeSame): delete method
10173 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
10175 * Variables.[Ch]: fix indentation, rename set to isSet
10177 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10179 * lyxfunc.C (Dispatch): fix typo
10181 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10183 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
10186 * bufferlist.C: include assert.h for emergencyWrite().
10188 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10190 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
10191 give up at last (bug #425202) !
10193 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
10199 * spellchecker.C: strip spellchecker options and bring up
10200 preferences tab instead
10202 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10204 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
10205 the istringstream constructor
10207 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10209 * paragraph.C (getLayout): fix return value
10211 * paragraph.h: do not declare getLayout as inline.
10213 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
10215 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10217 * lyxcursor.h (operator<): new func
10218 (operator>): new func
10219 (operator>=): new func
10220 (operator<=): new func
10222 * text.C (changeCase): use selection.start and selection.end
10223 (changeRegionCase): require from to be <= to. Require par to be a
10226 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
10228 2001-06-27 Juergen Vigna <jug@sad.it>
10230 * text.C (cursorLeftOneWord): changed to return the cursor and added
10231 overlay with BufferView * parameter which calls this one.
10233 (selectWord): use new getWord function.
10234 (changeCase): renamed from changeWordCase as and extended to work
10235 also on selections.
10237 * lyxtext.h: added enum word_location
10239 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
10240 changeCase as this operates now also on selections.
10242 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
10244 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
10246 * many files: send debug output to Debug::INFO instead of
10249 * converter.C (View):
10251 (Move): send debug output to Debug::FILES instead of console.
10253 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
10255 * lyxfunc.C (getStatus): use func_status
10257 * func_status.h: new header, describing the results of
10258 LyXFunc::getStatus;
10260 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
10263 2001-06-25 The LyX Project <jug@sad.it>
10265 * buffer.C (sgmlOpenTag):
10267 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
10269 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10271 * text2.C: remove some dead code
10273 * tabular.C (GetCellInset): store the last cell checked (gotten)
10275 * tabular.h: add the helper for the speedup
10277 * lyxtext.h: remove some dead code
10279 2001-06-26 The LyX Project <Asger>
10281 * paragraph.C: Change export to LaTeX of alignment to
10282 \begin{center} and family for better roundtrip work with reLyX.
10284 * Tune the math drawing a bit.
10286 2001-06-25 The LyX Project <Asger>
10288 * LColor.C (LColor): New color for math background. New color
10291 2001-06-25 The LyX Project <jug@sad.it>
10293 * lyxfunc.C (MenuNew): remove extra check for .lyx file
10295 * lyxfunc.C (Open):
10296 * bufferlist.C (newFile): do not restrict to files ending with
10299 * BufferView_pimpl.C (MenuInsertLyXFile):
10301 2001-06-24 The LyX Project <jug@sad.it>
10303 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
10306 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10308 * lyxtext.h: rename most methods to begin with a small char.
10309 Lots of changes because of this.
10311 * paragraph.C (Paragraph): do not call fitToSize
10312 (erase): call Pimpl::erase
10313 (insertChar): call Pimpl::insertChar
10314 (insertInset): call Pipl::insertInset
10315 (breakParagraph): do not call fitToSize
10316 (breakParagraphConservative): do not call fitToSize
10317 (fitToSize): remove method
10319 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
10321 2001-06-24 The LyX Project <Asger>
10323 * Fix Qt compilation^2
10325 2001-06-24 The LyX Project <jug@sad.it>
10327 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
10328 depthHook(getDepth()-1).
10331 * ParagraphParameters.h:
10332 * ParameterStruct.h: change type of depth to unsigned int ==
10333 depth_type. Many adaptations to other files before of that.
10335 2001-06-24 The LyX Project <Asger>
10337 * Fix Qt compilation.
10339 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10341 * paragraph.h: renamed several methods to begin with small letter.
10342 several changes to many parts of the code because of this.
10344 2001-06-23 The LyX Project <jug@sad.it>
10346 * text2.C (InsertStringAsLines): renamed from InsertStringA;
10347 rewritten to discard all double spaces when KeepEmpty is off
10348 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
10349 to only handle newlines but not fiddle with spaces and friends.
10351 * lyxfunc.C (MenuNew): when doing 'new from template', use
10352 template_path as default directory
10354 2001-06-23 The LyX Project <Asger>
10356 * Clean-up of header file includes all over
10357 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
10359 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10361 * paragraph.h: renamed from lyxparagraph.h
10363 2001-06-23 Asger <lyx@violet.home.sad.it>
10365 * Buffer.h: Removed Buffer::resize
10366 * BufferList.h: Removed BufferList::resize
10367 * LyXView.h: Added LyXView::resize. This way, we will only reflow
10368 the document lazily when we change the width, or the font settings.
10370 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10372 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
10374 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10376 * buffer.h: remove out of date comment
10378 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10381 * screen.C: fix "theoretical" GC leak
10383 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10385 * LaTeX.C (scanAuxFile):
10386 (deplog): remove trailing \r when reading stream (useful under
10389 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
10391 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
10392 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
10393 and BufferView::theLockingInset(Inset*), so should use them and not
10394 access bv_->text->the_locking_inset directly.
10396 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
10398 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10401 * tex-defs.h: remove old unused file
10403 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
10405 * BufferView_pimpl.C: fix typo, remove minibuffer message
10406 when buffer has loaded
10408 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10410 * lyxfunc.C (Dispatch): use stringstream
10411 (MenuNew): use stringstream
10412 (Open): use stringstream
10414 * importer.C (Import): use stringstream
10416 * bufferview_funcs.C (CurrentState): use stringstream
10418 * LaTeX.C (run): use stringstream
10420 * BufferView_pimpl.C (savePosition): use stringstream
10421 (restorePosition): use stringstream
10422 (MenuInsertLyXFile): use stringstream
10424 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
10437 * vspace.C: removed // -*- C++ -*- as first line.
10440 * version.h: added // -*- C++ -*- as first line.
10442 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10444 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
10446 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
10449 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10451 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
10454 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10456 * gettext.C: include LString.h even when --disable-nls is on.
10458 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
10460 * converter.h (Get): changed argument type from int to
10461 FormatList::size_type to avoid unnecessary conversion.
10463 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
10466 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10468 * gettext.h: include LString.h even when --disable-nls is on.
10470 2001-06-07 Juergen Vigna <jug@sad.it>
10472 * text.C (BreakAgain): subst spaces with tabs.
10474 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
10475 (resizeInsetsLyXText): set force on resizeLyXText.
10477 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10479 * gettext.h (gettext_init):
10480 (locale_init): use a real definition instead of a macro
10482 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10484 * Bufferview_pimpl.C:
10486 * LColor.C: further lcolor tidies
10488 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10490 * BufferView_pimpl.C (updateScrollbar): simplify.
10492 * BufferView2.C: don't include insets/insetinfo.h, change
10493 prototype for insertInset and call the Pimpl version. let
10494 updateInset call Pimpl version.
10496 * BufferView.h: move inset_slept to BufferView::Pimpl, move
10497 gotoInset to BufferView::Pimpl
10499 2001-06-01 Juergen Vigna <jug@sad.it>
10501 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
10502 inside a LockingInset (is the update needed at all?).
10504 2001-05-31 Juergen Vigna <jug@sad.it>
10506 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
10507 here not the old one otherwise how should we compare it afterwards
10510 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10515 * FontInfo.C: bring C functions into global namespace when
10518 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10520 * LString.h: make sure config.h has been loaded before LString.h.
10522 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
10523 (one for each char read by EatLine!).
10525 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
10528 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10530 * paragraph.C (BreakParagraph): set the inset_owner in the new par
10531 to the same as the par we break from
10533 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
10535 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
10537 * MenuBackend.C (expand): also create menu entries for wide
10538 versions of the floats.
10540 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
10542 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
10544 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
10545 frontends/Makefile.am
10551 * tabular.C (getTokenValue): add std::
10553 * tabular-old.C (getTokenValue): add std::
10554 (getTokenValue): ditto
10555 (getTokenValue): ditto
10557 * screen.C (ToggleSelection): adjust
10559 * lyxtext.h: put selection cursors inside a Selection struct.
10561 * lyxfunc.C (moveCursorUpdate): adjust
10563 * lyxfont.C (latexWriteStartChanges): add std::
10565 * lyxfind.C: adjust
10567 * font.h: delete with(char const *, LyXFont const &)
10569 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
10571 * FontInfo.C (getFontname): add std::
10573 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
10574 (workAreaButtonPress): adjust
10575 (tripleClick): adjust
10577 (moveCursorUpdate): adjust
10580 * BufferView2.C (gotoInset): adjust
10582 2001-05-30 Juergen Vigna <jug@sad.it>
10584 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
10585 to check pspell I add this as default as I now have new pspell
10586 libraries and they seem to use this.
10588 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10590 * text2.C (CutSelection): make the cursor valid before the call to
10593 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10595 * kbsequence.C (parse): de-uglify a bit the parsing code, which
10596 relied on 0 terminated strings and other horrors. Bug found due to
10597 the new assert in lyxstring!
10599 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
10602 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10604 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
10607 * lyxfunc.C (processKeySym): change method of getting to the
10610 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
10611 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
10612 * BufferView_pimpl.[Ch]: here as private methods.
10614 2001-05-28 Juergen Vigna <jug@sad.it>
10616 * text.C (SetHeightOfRow): added the update() call again as it is
10617 needed to initialize inset dimensions!
10619 2001-05-16 Juergen Vigna <jug@sad.it>
10621 * text2.C (SetCharFont): Add new function with BufferView * and
10622 bool toggleall parameters for setting insets internal fonts.
10623 (SetFont): Freeze the undo as we may change fonts in Insets and
10624 all this change should be inside only one Undo!
10626 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
10627 setting font's in insets as for them we have the SetFont function!
10629 2001-05-15 Juergen Vigna <jug@sad.it>
10631 * text2.C (ClearSelection): to be sure we REALLY don't have any
10634 * tabular.C (TeXCellPreamble): fixed the left border problem for
10637 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
10639 * LaTeX.C (deplog): Make sure that the main .tex file is in the
10642 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10644 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
10645 LFUN_BREAKPARAGRAPH.
10647 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
10648 help test to "internal only", similar for LFUN_INSERT_URL
10650 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10651 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
10652 auto_region_delete and deadkeys.
10654 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
10657 * LColor.C: remove some dead entries, tidy a little
10659 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10661 * lyxfunc.C (processKeySym): comment the Escape handling, remove
10663 (Dispatch): implement LFUN_ESCAPE
10665 * commandtags.h: add LFUN_ESCAPE
10667 * LyXAction.C (init): add entry for LFUN_ESCAPE
10669 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
10670 Remove commented code.
10671 (insertNote): moved here
10672 (open_new_inset): moved here
10674 * BufferView[2].[Ch]: move insertNote and open_new_inset to
10677 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10679 * kbmap.C (findbinding): clean it up and make it work correctly.
10681 * lyx_main.C (init): do not pass argc and argv as parameters
10683 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
10685 * buffer.C: fix path for OS/2 & Win32
10689 * lyx_main.C: Added os:: class.
10691 * os2_defines.h: update
10693 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10695 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10696 better by trying again with reduced state.
10698 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10700 * lyxrc.C (read): print error about invalid key sequence only when
10701 debugging (because not all latinX keysyms are known to some X
10704 * kbsequence.C (getiso): add a few std:: qualifiers
10705 (getiso): comment out extra return statement.
10707 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
10709 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
10711 (Dispatch): enhance the accent inset a bit. (not perfect)
10713 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10715 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
10717 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10719 * bufferlist.C (emergencyWrite): fix assert() call
10721 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
10723 * text.C (InsertChar): Added trivial patch to only send the "you
10724 can not do multiple spaces this way" message once during a
10727 2001-05-08 Baruch Even <baruch@lyx.org>
10729 * Makefile.am: Changed order of libraries to get LyX to link properly
10730 with the gnome frontend.
10732 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10734 * LaTeXFeatures.h: add a std:: qualifier
10736 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10738 * paragraph.C (String): use stringstream
10740 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10742 * paragraph.C (writeFile): remove footflag arg
10744 * buffer.C (makeLaTeXFile): use stringstream
10745 (latexParagraphs): remove footnot gurba
10747 * LaTeXFeatures.C (getPackages): use stringstream
10748 (getMacros): likewise
10749 (getTClassPreamble): likewise
10750 (getFloatDefinitions): new method
10752 * paragraph.C (writeFile): reindent
10755 * WorkArea.h: revert the xpos + etc changes.
10757 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10759 * lyxparagraph.[Ch]: add copy constructor, remove Clone
10761 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10762 (pasteSelection): likewise
10763 * text2.C (CreateUndo): likewise
10765 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10767 * minibuffer.C (peek_event): temporarily reduce the functionality
10768 of the minibuffer (to allow args on lfuns)
10770 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10771 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10773 * buffer.C (readInset): add compability reading of old float
10774 lists, add reading of new style float list.
10775 (readInset): avoid reevaluation of inscmd.getCmdName()
10776 (getLists): reindent
10778 * MenuBackend.C (MenuItem): implement parsing of
10779 md_floatlistinsert and md_floatinsert.
10780 (expand::LastFiles): move initalizaton of iterators out of loop,
10781 avoid reevaluation.
10782 (expand::Documents): introduce typdedef vector<string> Strings,
10784 (expand::ExportFormats): introduce typedef vector<Format const *>
10785 Formats, and use it.
10786 (expand): implement FloatListInsert and FloatInsert.
10788 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10789 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10790 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10792 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10794 (Dispatch::LFUN_FLOAT_LIST): implement
10796 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10798 * LaTeX.C (run): Fix problem with --export code.
10800 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10802 * BufferView.[Ch] (workarea): removed.
10803 (getClipboard) new method; wrapper for workarea()->getClipboard()
10805 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10808 * WorkArea.h (width, height, xpos, ypos): These methods all
10809 returned the dimensions of the work_area sub-area of WorkArea,
10810 resulting in a position error if the WorkArea were resized. Now
10811 return the dimensions of the entire WorkArea.
10813 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10815 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10817 * LaTeX.C (deplog): correct the syntax of regex reg1
10819 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10821 * undo.C: remove !NEW_INSETS cruft
10823 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10825 * text2.C: remove !NEW_INSETS cruft
10827 * text.C: remove !NEW_INSETS cruft
10829 * tabular.C: remove !NEW_INSETS cruft
10831 * spellchecker.C: remove !NEW_INSETS cruft
10833 * lyxtext.h: remove !NEW_INSETS cruft
10835 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10837 * lyxfunc.C: remove !NEW_INSETS cruft
10839 * lyxfind.C: remove !NEW_INSETS cruft
10841 * lyx_cb.C: remove !NEW_INSETS cruft
10843 * figureForm.C: remove !NEW_INSETS cruft
10845 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10847 * buffer.[Ch]: remove !NEW_INSETS cruft
10849 * ToolbarDefaults.C: remove !NEW_INSETS cruft
10851 * CutAndPaste.C: remove !NEW_INSETS cruft
10853 * BufferView_pimpl.C: remove !NEW_INSETS cruft
10855 * BufferView2.C: remove !NEW_INSETS cruft
10857 * BufferView.h: remove !NEW_INSETS cruft
10859 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10861 * Lsstream.h: include LString.h before the sstream headers to
10862 fix problem with gcc 2.95.3 and lyxstring
10864 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10866 * lyx_main.C: add using directives when needed for C functions
10867 declared in std:: namespace.
10869 2001-04-27 Juergen Vigna <jug@sad.it>
10871 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10872 (SetHeightOfRow): comment out the update call should not be needed!
10874 2001-04-13 Juergen Vigna <jug@sad.it>
10876 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10877 (LyXTabular): tried to minimize operator= operations (and realized
10878 hopfully Lars wish).
10880 2001-04-27 Juergen Vigna <jug@sad.it>
10882 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10884 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10886 * lyxfunc.C (Dispatch): hack to make listof algorithm work
10888 * buffer.C (readInset): hack to make listof algorithm work
10890 * BufferView_pimpl.C: hack to make listof algorithm work
10892 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10894 * LyXAction.C: removed all !NEW_INSETS cruft
10895 (init): moved lfun_item in method
10897 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10899 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10901 * BufferView2.C (theLockingInset): white space.
10903 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10905 * minibuffer.C: include <iostream>
10907 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10909 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10911 * commandtags.h: add LFUN_TRANSPOSE_CHARS
10913 * text.[Ch] (TransposeChars): new method
10915 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10917 * call message directly through LyXView instead of through LyXFunc
10918 * BufferView2.C: adjust
10919 * BufferView_pimpl.C: adjust
10920 * FontLoader.C: adjust
10922 * bufferview_funcs.C: adjust
10923 * converter.C: adjust
10924 * figureForm.C: adjust
10925 * importer.C: adjust
10927 * lyx_gui_misc.C: adjust
10928 * lyxfunc.C: adjust
10931 + more files in subdirs
10933 * lyxparagraph.h (size): move up int file
10936 * adjust all uses of Assert to lyx::Assert.
10938 * BufferView2.C (ChangeCitationsIfUnique): adjust for
10939 lyxfunctional in namespace lyx
10940 * layout.C (hasLayout): ditto
10943 (delete_layout): ditto
10944 (NumberOfClass): ditto
10945 * converter.C (GetFormat): ditto
10950 * bufferlist.C (getFileNames): ditto
10951 (emergencyWriteAll): ditto
10954 * MenuBackend.C (hasSubmenu): ditto
10957 * BufferView_pimpl.C (getInsetByCode): ditto
10959 2001-04-18 Juergen Vigna <jug@sad.it>
10961 * vspace.C (asLatexString): fixed the 100% problem.
10963 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10965 * lyxfunc.C (Dispatch):
10967 * minibuffer.h: add a few std:: qualifiers
10969 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10971 * minibuffer.[Ch]: reimplement so that commands is initiated and
10972 run from lyxfunc, simplified som handling, and made the completion
10973 and history code for complete. wip.
10975 * lyxfunc.C (processKeySym): call message
10976 (miniDispatch): new temporary method
10977 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10978 (LFUN_MESSAGE): implement
10979 (LFUN_MESSAGE_PUSH): implement
10980 (LFUN_MESSAGE_POP): implement
10981 (initMiniBuffer): the initial/defualt minibuffer message.
10983 * lyxfont.[Ch]: inline some more getters
10985 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10987 * lyx_gui_misc.[Ch] (WriteStatus): remove method
10989 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10990 (AutoSave): use LFUN_MESSAGE
10991 (Reconfigure): ditto
10993 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10995 * figureForm.C: use LFUN_MESSAGE
10997 * converter.C (runLaTeX): use LFUN_MESSAGE
10999 * bufferview_funcs.C: use LFUN_MESSAGE
11001 (changeDepth): ditto
11003 * bufferparams.h: use boost::
11005 * bufferlist.h: inherit privately from noncopyable
11007 * bufferlist.C (loadLyXFile): remove some commented code.
11009 * buffer.C (runChktex): use LFUN_MESSAGE
11011 * ShareContainer.h: inherit privately from noncopyable
11013 * ParagraphParameters.[hC] (depth): inline it.
11015 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11017 (message): new method
11018 (messagePush): ditto
11019 (messagePop): ditto
11020 (show): init minibuffer
11021 (showState): direct call
11023 * LaTeX.[Ch]: inherit privately from noncopyable
11024 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11025 instead of WriteStatus.
11027 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
11029 * BufferView_pimpl.C (buffer): don't init minibuffer
11030 (workAreaButtonPress): use LFUN_MESSAGE
11031 (workAreaButtonRelease): ditto
11032 (savePosition): ditto
11033 (restorePosition): ditto
11034 (MenuInsertLyXFile): ditto
11035 (workAreaExpose): don't init minibuffer
11036 (update): remove commented code, simplify
11038 * BufferView2.C (openStuff): use LFUN_MESSAGE
11039 (toggleFloat): ditto
11042 (copyEnvironment): ditto
11043 (pasteEnvironment): ditto
11048 (updateInset): remove some commented code
11050 * lastfiles.h: inherit privately from noncopyable
11053 * lyx_main.h: ditto
11055 * lyxlex_pimpl.h: ditto
11057 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11058 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11059 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11061 * LyXAction.h: inherit privately from noncopyable, add methods
11062 func_begin, func_end, returning iterators to the func map.
11064 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
11065 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11066 (func_begin): new method
11067 (func_end): new method
11069 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
11071 (copySelection): ditto
11072 (pasteSelection): ditto
11074 * BufferView.C: whitespace change
11075 * BufferView.h: inherit privately from noncopyable
11077 2001-04-16 Allan Rae <rae@lyx.org>
11079 * tabular-old.C (l_getline):
11080 * spellchecker.C (sc_check_word):
11081 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
11082 an unrecognised preprocessor directive. So ensure they're wrapped.
11084 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
11086 * src/exporter.C (Export): Give an error message when path to file
11089 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
11091 * LaTeX.C (deplog): Always check that foundfile exists.
11093 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11096 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
11098 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11100 * tabular.[Ch] (getLabelList): implement new method
11102 * minibuffer.h: comment ouf setTiimer
11104 * minibuffer.C (ExecutingCB): constify res
11105 (peek_event): constify s
11106 (Set): constify ntext
11107 (Init): constify nicename
11109 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
11111 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
11112 (savePosition): use two params to Minibuffer::Set
11113 (restorePosition): ditto
11115 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11117 * lyx_main.C: include language.h
11119 * Makefile.am (lyx_main.o): add language.h
11121 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11127 * CutAndPaste.C: include gettext.h
11129 * lyxfont.h: remove old hack with ON and OFF.
11132 * lyxfont.h: do not include language.h...
11137 * bufferview_funcs.C:
11143 * paragraph.C: ... but do it here instead
11145 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11147 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
11149 * tabular.C: small reformat
11151 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
11154 (BreakParagraph): ditto
11155 (SetOnlyLayout): ditto
11158 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
11161 * lastfiles.C: removed most using decl, add std:: where needed
11163 * buffer.C: ws changes
11165 * MenuBackend.C (class compare_format): put into anon namespace
11166 (expand): constify label, names, action, action2
11169 * text.C (SingleWidth): constify font
11170 (IsBoundary): constify rtl2
11171 (GetVisibleRow): constify ww
11173 * LaTeX.C (deplog): constify logfile
11175 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
11177 (workAreaExpose): constify widthChange, heightChange
11179 * lyxrow.C (par): moved
11182 * lyxrow.h: as inlines here
11184 * lyxfont.h (shape): moved from lyxfont.C
11185 (emph): moved from lyxfont.C
11187 * lyxfont.C (LyXFont): use initialization list for all
11189 (shape): move to lyxfont.h as inline
11190 (emph): move to lyxfont.h as inline
11193 2001-04-04 Juergen Vigna <jug@sad.it>
11195 * vspace.C: had to include stdio.h for use of sscanf
11197 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
11200 * BufferView_pimpl.h: remove xforms cruft. Both classes are
11201 independent of xforms.
11203 2001-04-02 Juergen Vigna <jug@sad.it>
11205 * spellchecker.C: fixed namespace placing!
11207 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
11209 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
11210 the LyXParagraph * is 0.
11212 2001-03-29 Juergen Vigna <jug@sad.it>
11214 * vspace.C: added support for %, c%, p%, l%.
11215 (stringFromUnit): added helper function.
11216 (asLatexString): changed to give right results for the %-values.
11218 * buffer.C: convert the widthp in a width%.
11220 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
11222 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
11225 * figureForm.[Ch]: stripped the FD_from_figure manipulation
11226 code out of lux_cb.[Ch], ready for its (imminent?) removal.
11228 * lyx_cb.[Ch]: see above.
11230 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
11234 * lyx.[Ch]: replaced by figure_form.[Ch].
11238 * lyxfunc.C: changed headers associated with above changes.
11240 2001-03-27 Juergen Vigna <jug@sad.it>
11242 * BufferView_pimpl.C: set the temporary cursor right!
11244 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
11246 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
11248 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
11250 * LString.h: removed "using std::getline"!
11252 * BufferView_pimpl.C (Dispatch): changes due to changes in
11253 InsetInclude::Params.
11255 * buffer.C (tag_name): removed redundant break statements as they were
11256 producing lots of warnings with my compiler.
11258 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11260 * LString.h: add "using std::getline" when using the real <string>.
11262 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
11264 * buffer.C: removed bitset usage.
11265 PAR_TAG moved to an anonymous name space.
11266 (tag_name): new funtion, also in the anonymous namespace.
11267 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
11268 (makeDocBookFile): clean code. Completed transition from string arrays
11270 (SimpleDocBookOnePar): code clean.
11272 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11274 * tabular.C: add some comments.
11276 2001-03-22 Juergen Vigna <jug@sad.it>
11278 * buffer.C (parseSingleLyXformat2Token): redone the minipage
11279 compatibility read a bit and fixed bug with minipage in different
11282 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
11284 * buffer.C (pop_tag): removed.
11285 (push_tag): removed.
11286 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
11287 array replaced with vector. Added support for CDATA sections.
11288 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
11290 (makeDocBookFile): XML conformant declaration of CDATA section,
11291 fixed bug related to <emphasis> in the first paragraph char.
11292 (sgmlOpenTag): exclude empty tags.
11293 (sgmlCloseTag): ditto.
11295 * buffer.h (pop_tag): removed.
11296 (push_tag): removed.
11298 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
11300 * language.h (Languages): added size_type and size().
11302 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11304 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
11305 response on compability reading of minipages. One probliem is that
11306 the old usage of minipages was «flertydig»
11308 * several files here and in subdirs: don't use static at file
11309 scope use anon namespaces instead.
11311 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
11313 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
11314 LaTeX output. This is necessary for Literate document
11317 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11319 * buffer.C: insert hfill when needed.
11321 * tabular.C (l_getline): use string::erase, small whitespace change.
11323 * BufferView_pimpl.C: try the anon namespace.
11324 * WorkArea.C: ditto
11326 2001-03-16 Juergen Vigna <jug@sad.it>
11328 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
11329 otherwise it won't open options-dialogs.
11331 * buffer.C: honor pextraWidth(p) on converting minipages.
11333 * tabular.C (l_getline): changed the functions to strip trailing \r.
11335 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
11337 * BufferView_pimpl.C:
11338 * minibuffer..C: added "using SigC::slot" declaration.
11340 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11342 * lyxlex_pimpl.h: noncopyable is in namespace boost.
11348 * paragraph.C: ditto
11350 * lyxtext.h: NO_PEXTRA
11352 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
11354 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
11355 * ParameterStruct.h: ditto
11356 * ParagraphParameters.h: ditto
11357 * lyxparagraph.h: ditto
11359 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11361 * buffer.C: add compability for minipage alignment.
11362 (latexParagraphs): remove unwanted pextra check.
11364 * several files: remove CXX_WORKING_NAMESPACES
11366 * buffer.C (pop_tag): tie is in namespace boost
11368 * BufferView.h: noncopyable is in namespace boost
11370 * lyx_main.h: ditto
11373 * lastfiles.h: ditto
11374 * bufferlist.h: ditto
11375 * ShareContainer.h: ditto
11377 * LyXAction.h: ditto
11380 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11382 * Merging changes from BRANCH_MVC back into HEAD.
11384 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
11386 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
11388 * BufferView_pimpl.C: change from intl.C
11392 * Makefile.am: move combox.*
11398 * intl.C: remove dialog (covered by prefs)
11400 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11402 * lyxfunc.C (Dispatch): removed redundant break statement.
11404 2001-03-14 Juergen Vigna <jug@sad.it>
11406 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
11408 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11410 * buffer.C: add hack to fix compability reading of minipages.
11412 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
11414 * buffer.C (getLists): Cleanup.
11416 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11418 * lyxfont.C (update): don't honor toggleall on font size.
11420 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
11424 * Makefile.am: moved to frontends/xforms/
11428 * BufferView_pimpl.C: changes for moved mathpanel
11430 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11432 * gettext.h: fix gettext_init() in --disable-nls
11434 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11436 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
11438 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
11441 * lyx.h: strip external form
11443 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11445 * BufferView_pimpl.C: add comment, destroySplash()
11447 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11449 * BufferView_pimpl.C:
11453 * lyxfunc.C: use re-worked insetinclude
11455 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11457 * buffer.C: add using std::stringstream.
11459 * lyx_cb.C: readd using std::ios.
11461 * buffer.C: add using std::map.
11463 * BufferView_pimpl.C: add using std::vector.
11465 * ShareContainer.h: add std:: to swap.
11467 * buffer.h: add some typedefs
11468 * buffer.C (getLists): use them
11469 (getLists): renamed from getTocList.
11470 add a counter for the different float types and use it in the
11472 (getLists): use the same counter for the NEW_INSETS and the "non"
11475 * lyx_cb.h: remove unused items, includes, using etc.
11477 * ShareContainer.h: remove some commented code, add more comments
11478 and "documentation".
11480 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11482 * buffer.C (getTocList): make the list also when NEW_INSETS is
11485 * buffer.h: remove TocType
11487 * buffer.C (getTocList): change to return a map<string,
11488 vector<TocItem> >, implement for dynamic number of list.
11490 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
11491 * text2.C (PasteSelection): adjust
11492 * CutAndPaste.C (pasteSelection): adjust
11494 * FloatList.C (FloatList): update from the new_insets branch.
11495 * Floating.[Ch]: ditto
11496 * LaTeXFeatures.C: ditto
11498 * lyxlex_pimpl.C: ditto
11500 * paragraph.C (Last): remove when NEW_INSETS is defined.
11502 * other file: changes because of the above.
11504 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11506 * lyxparagraph.h: rename next to next_, previous to previous_,
11507 make them private for NEW_INSETS. Rename Next() to next(),
11508 Previous() to previous().
11510 * other files: changes because of the above.
11512 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
11515 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
11518 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11520 * main.C (main): pass lyx_localedir to gettext_init().
11522 * gettext.h: remove locale_init and gettext_init macros
11524 * gettext.C (locale_init): new function
11525 (gettext_init): new function
11527 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
11530 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
11532 * Moved credits to frontends:
11533 * credits.[Ch]: removed
11534 * credits_form.[Ch]: removed
11535 * lyx_gui_misc.C: remove credits stuff
11538 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11540 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
11542 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
11543 unneeded destructor.
11545 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
11546 a standalone pointer again.
11548 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
11550 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
11556 * ToolbarDefaults.C:
11565 * BufferView_pimpl.C: use new file dialog in GUII
11568 * lyx_cb.C: remove LayoutsCB to Toolbar
11570 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11572 * ShareContainer.h (get): add std:: qualifier
11574 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11576 * ShareContainer.h: define a proper ShareContainer::value_type
11577 type (and use typename to please compaq cxx)
11579 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11581 * lyxparagraph.h: move serveral local vars to
11582 ParameterStruct/ParagraphParameters., use ShareContainer in
11583 FontTable., make vars in FontTable private and add getter and
11586 * paragraph.C: changes because of the above.
11588 * lyxfont.h: remove copy constructor and copy assignment. (the
11589 default ones is ok), move number inside FontBits. move inlines to
11592 * lyxfont.C: add number to initializaton of statics, move several
11593 inlines here. constify several local vars. some whitespace
11594 cleanup. Dont hide outerscope variables.
11596 * Spacing.h: add two new constructors to match the set methods.
11598 * ShareContainer.h: new file, will perhaps be moved to support
11600 * ParameterStruct.h: new file
11602 * ParagraphParameters.h: new file
11604 * ParagraphParameters.C: new file
11606 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
11607 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
11609 * BufferView_pimpl.C: ParagraphParameter changes.
11610 * buffer.C: Likewise.
11611 * bufferview_funcs.C: Likewise.
11612 * text.C: Likewise.
11613 * text2.C: Likewise.
11615 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11617 * lyxfind.C (LyXReplace): do not redefine default argument in
11619 (IsStringInText): ditto
11620 (SearchForward): ditto
11621 (SearchBackward): ditto
11623 2001-03-06 Juergen Vigna <jug@sad.it>
11625 * lyxfind.C (IsStringInText): put parentes around expressions.
11627 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
11629 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
11631 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
11633 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
11635 * stl_string_fwd.h: add comment
11637 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
11640 * tabular.C: remove unused DocBook methods
11646 killed DO_USE_DEFAULT_LANGUAGE
11648 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11650 * lyx_gui.C: do not include language.h.
11652 * bufferview_funcs.C (ToggleAndShow): do not provide optional
11653 arguments in function implementation.
11655 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11657 * BufferView_pimpl.C: add <ctime>
11659 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11661 * BufferView_pimpl.C: add using std::find_if
11663 2001-02-27 José Matos <jamatos@fep.up.pt>
11665 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
11668 2001-02-11 José Matos <jamatos@fep.up.pt>
11670 * buffer.C (makeDocBookFile): command styles now have a parameter as
11671 "title" by default.
11673 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
11675 * layout_forms.[Ch]: removed
11676 * lyx_cb.[Ch]: out character
11677 * lyx_gui.C: out character
11678 * lyx_gui_misc.C: out character
11679 * bufferview_funcs.C: : out character,
11680 added toggleall as parameter in ToggleAndShow
11682 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
11684 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11686 * text2.C (SetCurrentFont): Disable number property at boundary.
11688 2001-02-26 Juergen Vigna <jug@sad.it>
11690 * lyxfunc.C (getStatus): added a string argument override function so
11691 that this is correctly called from LyXFunc::Dispatch if it contains a
11692 do_not_use_argument which is used!
11693 (Dispatch): added check for "custom" export and call appropriate func.
11695 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
11697 * lyxrc.C: Add language_command_local, language_use_babel and
11698 language_global_options.
11700 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11702 * buffer.C (makeLaTeXFile): Use language_use_babel and
11703 language_global_options.
11705 2001-02-23 Juergen Vigna <jug@sad.it>
11707 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
11708 which works with LyXText and putted it inside BufferView. Here now we
11709 only call for that part the BufferView::Dispatch() function.
11711 * BufferView.C (Dispatch): added.
11713 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
11714 functions which needs to use a LyXText over from LyXFunc.
11715 (MenuInsertLyXFile): added
11716 (getInsetByCode): added
11717 (moveCursorUpdate): added
11718 (static TEXT): added
11720 2001-02-22 Juergen Vigna <jug@sad.it>
11722 * BufferView_pimpl.C (update): call a status update to see if LyXText
11725 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11727 * vc-backend.C (revert): implement for CVS
11728 (getLog): implement for CVS
11730 2001-02-20 Juergen Vigna <jug@sad.it>
11732 * text2.C (ClearSelection): added BufferView param for inset_owner call
11734 * lyxfunc.C (TEXT): added this function and use it instead of
11735 directly owner->view()-text of getLyXText().
11737 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
11739 * src/layout_forms.C: out preamble
11740 * src/layout_forms.h: out preamble
11741 * src/lyx_cb.C: out preamble
11742 * src/lyx_cb.h: out preamble
11743 * src/lyx_gui.C: out preamble
11744 * src/lyx_gui_misc.C: out preamble
11745 * src/lyxfunc.C: connect with guii preamble
11747 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
11749 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11751 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
11753 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11754 whether to run bibtex.
11756 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
11758 * Makefile.am (lyx_SOURCES): Remove BackStack.h
11760 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11762 * Makefile.am (lyx_SOURCES): removed bibforms.h
11764 * vspace.h: doxygen
11766 * text.C (GetVisibleRow): make several local vars const
11768 * tabular.C: small cleanup.
11770 * lyxserver.C (callback): use compare instead of strncmp
11772 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11773 inlines to after class or to paragraph.C
11775 * lyxfont.h: remove friend operator!=
11777 * converter.h: move friend bool operator< to non friend and after
11780 * combox.h: small cleanup
11782 * buffer.h: doxygen, remove unused constructor, move inclas inlies
11783 to inlines after class def.
11785 * buffer.C (pop_tag): use string operations instead of strcmp
11787 * bmtable.c: doxygen, small cleanup
11789 * LaTeX.h: remove friend operator==
11791 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
11803 * BufferView_pimpl.C:
11804 * BufferView.[Ch]: remove cruft
11806 2001-02-14 Juergen Vigna <jug@sad.it>
11808 * lyxfunc.C: removed #if 0 unused code
11810 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11812 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11814 * text2.C (SetSelection): added a BufferView * parameter
11816 2001-02-13 Juergen Vigna <jug@sad.it>
11818 * lyxfunc.C (Dispatch): fixed protected blank problem.
11819 * BufferView2.C (protectedBlank): added LyxText * parameter.
11821 * tabular.C (AppendRow): forgot to set row_info of newly added row.
11822 (AppendColumn): same as above for column_info.
11824 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11825 (moveCursorUpdate): use a LyXText param for support of InsetText.
11827 * BufferView_pimpl.C (doubleClick): added support for InsetText.
11828 (tripleClick): ditto
11830 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11832 * BufferView_pimpl.C (update): added LyXText param to honor insets.
11834 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11836 * text2.C (SetSelection): set correct update status if inset_owner
11837 (ToggleFree): ditto
11839 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
11841 * tabular.C: remove some commented code.
11843 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
11845 * BufferView_pimpl.C: call hideSplash()
11847 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11850 * bibforms.h: remove
11853 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11854 add LFUN_CHILD_CREATE
11856 * counters.h: fix tiny typo
11861 * lyx.C: move splash to frontends/xforms/
11863 * lyx_gui_misc.C: move Include and Bibform to frontends
11865 * lyxvc.h: clarify comment
11867 * vspace.C: tiny housekeeping
11869 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
11871 * text.C (PrepareToPrint): RTL Fix.
11873 * paragraph.C (GetUChar): New method.
11874 (String): Use GetUChar.
11876 * buffer.C (asciiParagraph): Use GetUChar.
11878 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
11880 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11882 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
11885 * buffer.C: rename to getLogName(), handle
11886 build log / latex log nicely
11888 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11891 * MenuBackend.h: remove support for reference menuitem type.
11893 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
11895 * BufferView_pimpl.C: housekeeping
11896 * BufferView_pimpl.h:
11901 * minibuffer.h: move Timeout GUI-I
11903 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
11905 * lyxrc.C (read): Update converters data-structures.
11907 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
11909 * LaTeX.h (operator!=): add operator != for Aux_Info
11911 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
11913 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11915 * LaTeXLog.C: deleted, useful code moved to Buffer
11918 * buffer.C: new function getLatexLogName()
11924 * lyxfunc.C: use frontends for LaTeX and VC logs
11926 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11928 * LaTeX.h: yet another std:: that Allan forgot.
11930 * Variables.C (set): renamed from isset(), because this clashes
11931 with some HP-UX macros (grr).
11933 2001-02-06 Allan Rae <rae@lyx.org>
11935 * LaTeX.h: Another bug fix. Missing std:: this time.
11937 2001-02-04 Allan Rae <rae@lyx.org>
11939 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11940 floats problem. I've left it commented out because it's not quite
11941 correct. It should also test that the current object is a table or
11942 figure inset. But I haven't gotten around to figuring out how to do
11943 that. I *think* it'll be something like: "table" == inset.type()
11945 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11948 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
11950 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11951 all the citation/databases/styles in the auxilary file.
11952 (run): Rerun latex if there was a babel language error.
11954 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
11956 * text.C (Backspace): Preserve the font when changing newline char
11958 (BreakParagraph): If the cursor is before a space, delete the space.
11960 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11962 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
11964 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11965 new argument (code).
11966 (ChangeCitationsIfUnique): New method.
11968 * paragraph.C (GetPositionOfInset): Handle bibkey.
11970 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11972 * BufferView_pimpl.h: change type of Position::par_pos to
11973 LyXParagraph::size_type.
11975 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
11977 * BufferView_pimpl.C (savePosition, restorePosition): Write
11978 messages to minibuffer.
11980 2001-01-28 José Matos <jamatos@fep.up.pt>
11982 * buffer.C (makeDocBookFile): adds support for document language.
11983 A silly restriction on the name of LatexCommand types where removed.
11984 Added support for CDATA sections, allows to chars unescaped, used
11985 among others in code, to avoid escape < and >.
11987 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11989 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11990 saved positions instrad of a stack. Furthermore, a position is
11991 stored using paragraph id/paragraph position.
11993 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11994 Remove LFUN_REF_BACK.
11996 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11998 * converter.C (dvipdfm_options): New method.
12000 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
12002 * vspace.C (isValidLength): Fix for empty input string.
12004 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12006 * LyXAction.C (init): change description of LFUN_FIGURE to
12009 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12011 * LaTeX.C: add using directive
12013 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12015 * MenuBackend.C (expand): Fix the sorting of the formats.
12017 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
12019 * lyx_main.C: tiny error message fix
12021 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12023 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12024 calling fl_initialize(). This fixes the problem with ',' as
12025 decimal separator in text files.
12027 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12029 * trans.C (process): Fix the keymap bug.
12031 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
12033 * LaTeX.C (scanAuxFiles): New method. Provides support for
12034 multiple bibliographies (when using the bibtopic/bibunits pacakges).
12035 (scanLogFile) Scan for "run BibTeX" messages.
12037 * buffer.C (makeLaTeXFile): Do not load the ae package when using
12038 OT1 font encoding. Also, load the aecompl package if the ae
12041 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12043 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12045 * texrow.C (increasePos): turn two error messages into debug
12048 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
12050 * LaTeX.C (scanAux): Handle the \@input macro.
12051 (runBibTeX): Use scanAux().
12053 * language.C (latex_options_): New field.
12055 * LaTeXFeatures.C (getMacros): Add language macros.
12057 * buffer.C (makeLaTeXFile): Small fix.
12059 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12061 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12063 * text2.C: add a using directive.
12065 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
12070 * lyxfunc.C: kill LyXBell.
12072 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
12074 * text.C (IsBoundary): Remove the error message
12076 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
12078 * lyxrc.C (setDefaults): Correct initialization value for
12081 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
12083 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
12086 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
12087 and GotoNextNote().
12089 * src/LyXAction.C: Added reference-next.
12091 * text.C (InsertChar): Use contains instead of strchr.
12093 * lyx_cb.C (MenuInsertLabel): Enable default value code.
12095 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
12097 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
12098 alignment commands (when needed).
12100 * text.C (InsertChar): Add ':' to number separator chars.