2 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
9 * src/MenuBackend.[Ch]:
10 * src/bufferparams.[Ch]:
14 * src/text3.C: implements the 'branch inset'
15 idea. This allows the output of various versions of a document
16 from a single source version, selectively outputing or suppressing
17 output of parts of the text.
18 This implementation contains a 'branch list editor' in a separate
19 tab of the document settings dialog. Branches are user definable
20 and have a "display colour" to distinguish them on-screen.
22 ColorHandler was somewhat cleaned up.
23 (1) make possible a dynamically growing LColor list by allowing
24 the graphic context cache to grow along (vector);
25 (2) eliminate an IMHO unnecessary step in colour allocation.
27 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
29 * BufferView_pimpl.C: compile fix
31 2003-08-15 André Pönitz <poenitz@gmx.net>
33 * rowpainter.C: remove extra metrics calls
35 * lyxtext.h: merge the two constructors into a single one,
36 pass reference to owner's par list
42 2003-08-15 André Pönitz <poenitz@gmx.net>
52 * text_funcs.C: split LyXText::rowlist_ into individual
53 Paragraph::rows_ chunks
56 * BufferView_pimpl.[Ch]:
59 * text3.C: remove toggleSelection()
61 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
63 * bufferlist.C: beautify two alerts (shorter text of buttons)
64 * buffer.C: Remove redundant ' ' from message
66 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
67 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
68 rename VALIGN_CENTER to VALIGN_MIDDLE
70 2003-08-11 André Pönitz <poenitz@gmx.net>
73 * text.C: new function
75 2003-08-11 André Pönitz <poenitz@gmx.net>
78 * tracer.[Ch]: remove unneeded files
80 * InsetList.[Ch]: remove resizeInsetsLyXText()
85 * text3.C: merge insertParagraphs() and appendParagraph()
86 remove breakAgain(), update()
88 * BufferView_pimpl.[Ch]:
89 * bufferview_funcs.[Ch]:
93 * tabular.C: adjust after text & InsetList changes.
95 2003-08-08 André Pönitz <poenitz@gmx.net>
97 * text.C (insertChar, backspace): replace rowlist fiddling
98 with rebreak of full par
101 * text.C (breakAgainOneRow, redoHeightOfParagraph,
102 checkParagraph, updateInset): removed
104 2003-08-07 André Pönitz <poenitz@gmx.net>
107 * text3.C: merge some LFUN handlers, remove dead code
109 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
111 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
113 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
115 * text2.C (DEPM): fix part of bug 1255 and 1256
117 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
119 * BufferView_pimpl.C (workAreaDispatch): change to use
120 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
121 that are no mouse related.
123 2003-08-05 André Pönitz <poenitz@gmx.net>
126 * BufferView_pimpl.[Ch]:
127 * bufferview_funcs.C:
129 * text3.C: rip out "deep update"
131 * textcursor.[Ch] (last_sel_cursor): remove unused member
133 2003-08-04 André Pönitz <poenitz@gmx.net>
136 * BufferView_pimpl.[Ch]:
137 * ParagraphParameters.C:
138 * bufferview_funcs.C:
144 * text3.C: replace "complicated" BufferView::update(...) calls with
147 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
149 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
151 * Makefile.am (lyx_SOURCES): add paper.h
153 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
155 * Makefile.am: move things around so that both lyx-qt and
156 lyx-xforms can be built (according to --with-frontend). Then lyx
157 is a symbolic link to lyx-[firstfrontend]
159 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
161 * Always use std::endl with lyxerr
163 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
165 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
167 2003-08-01 André Pönitz <poenitz@gmx.net>
170 * BufferView_pimpl.[Ch]:
172 * text3.C: merge BufferView::repaint() and BufferView::update()
174 2003-08-01 José Matos <jamatos@lyx.org>
176 * buffer.[Ch]: file_format is no longer a buffer data element.
178 2003-08-01 André Pönitz <poenitz@gmx.net>
183 * text2.C: make redoParagraph more independent of current cursor
185 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
187 * text2.C: remove unneeded members
189 2003-07-30 André Pönitz <poenitz@gmx.net>
191 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
193 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
194 create a single function...
196 * paragraph_funcs.C (moveItem): ... here.
199 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
201 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
203 * LColor.[Ch]: Add comment and greyedout logical colors.
205 2003-07-30 André Pönitz <poenitz@gmx.net>
207 * tabular.C: don't use Assert too heavily. This crashes where it
210 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
212 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
213 is disabled (bug 1232)
215 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
217 * factory.C: limited 'arg' scope
219 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
221 * factory.C: fixed Note submenu issues
223 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
225 * factory.C: submenu for Note/Comment/Greyedout
227 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
230 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
232 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
235 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
236 greyedout. Patch provided by Jürgen Spitzmüller.
238 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
240 * kbmap.C (read): fix error message when reading bind files
242 2003-07-29 Angus Leeming <leeming@lyx.org>
244 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
245 certainly does not do what it purports to do. I am doing it, and
246 us, a favour by killing it.
248 2003-07-28 José Matos <jamatos@lyx.org>
250 * buffer.C (readBody, do_writeFile):
251 * paragraph.C(readParagraph): \end_document replaces \the_end.
253 2003-07-29 André Pönitz <poenitz@gmx.net>
256 * BufferView_pimpl.[Ch]:
260 * textcursor.[Ch]: remove toggleToggle & Co
262 2003-07-28 José Matos <jamatos@fep.up.pt>
264 * buffer.C (readParagraph):
265 * params_func (readParToken, readParagraph):
266 * paragraph.C (write): \layout -> \begin_layout.
268 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
270 * lyxlex_pimpl.C (setFile): clean up slightly.
272 * bufferparams.h: add compressed var
274 * buffer_funcs.C (readFile): adjust for LyXLex change
275 (newFile): ditto + simplify
277 * buffer.C (writeFile): handle writing of compressed files
279 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
280 Check if the file is compressed and set a bufferparm if so.
282 * Makefile.am (lyx_LDADD): remove explicit -lz
284 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
286 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
287 makeDocBookFile): put the real LyX version in the first line of
291 * version.C.in: remove lyx_docversion
293 * tabular.C (write_attribute): add a template-based version to
296 2003-07-28 André Pönitz <poenitz@gmx.net>
301 * text3.C: use doubles again for x-coordinates. They are needed.
303 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
305 * messages.C (getLocaleDir): use lyx_localedir()
307 * lyxlex_pimpl.C (setFile): compress stuff
309 * buffer.C (writeFile): add some compression stuff
310 (do_writeFile): new func, dont call expliti close... will this
313 * Makefile.am (lyx_LDADD): add -lz
315 2003-07-28 José Matos <jamatos@fep.up.pt>
317 * buffer.C: increment file format.
318 * paragraph_funcs (readParagraph, readParToken):
319 * paragraph.C (readParagraph): add \end_layout.
321 2003-07-27 Angus Leeming <leeming@lyx.org>
323 * Makefile.am: remove special casing for configure-time setting of
324 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
326 * lyx_main.C (init): remove all Jean-Marc's magic setting of
327 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
329 2003-07-26 André Pönitz <poenitz@gmx.net>
331 * paragraph_func.[Ch]:
332 * paragraph.C (realizeFont): inline it whereever it is used
337 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
340 2003-07-26 André Pönitz <poenitz@gmx.net>
344 * text2.C: get rid of LyXText::need_break_row
346 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
348 * toc.[Ch]: put namespace toc inside namespace lyx
350 * MenuBackend.C (expandToc2): adjust for lyx::toc
353 * lyxfunc.C (dispatch): adjust for lyx::find
355 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
356 lyx::find instead. Reorganize a bit.
357 (LyXReplace): rename to replace
358 (LyXFind): rename to find
360 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
363 2003-07-26 André Pönitz <poenitz@gmx.net>
365 * text.C (setHeightOfRow): restrict scope of temporary variable
367 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
368 code (never has been used?)
370 2003-07-27 Asger Alstrup <alstrup@local>
372 * text.C (fill): Optimise algorithm to exploit that we can reuse
373 the LyXFont for many characters.
374 (setHeightOfRow): Same thing.
375 (rowBreakPoint): Same thing.
377 2003-07-26 Asger Alstrup <alstrup@local>
379 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
381 * text.C (singleWidth): Spurious font copying in hot-spot
382 singleWidth avoided. Reorder tests for arabic for efficiency.
384 * text.C (fill): handle empty paragraphs better.
386 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
389 * encoding.h: add includes
391 * lyxrc.C: remove reading of bind files
393 * lyx_main.C (init): setup bindings and menus only if we have a
396 * kbmap.C (read): new method. Do the actual reading of bind
399 * converter.C (dvipdfm_options):
402 (output): adapt PAPER_* enums.
404 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
406 * bufferparams.h: remove paper-related enums from there
408 * paper.h: New file. A trivial header file to hold paper-related
409 enums. It should later expand to contain many paper-related
412 * lyxrc.C: declare extern displayTranslator
414 2003-07-27 José Matos <jamatos@fep.up.pt>
416 * tabular.[Ch] (linuxdoc): add support for tables and figures
419 2003-07-27 José Matos <jamatos@fep.up.pt>
421 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
422 consistency in both functions.
423 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
425 2003-07-26 Asger Alstrup <alstrup@local>
427 * rowpainter.C (paintRows): Change algorithm to work directly on
428 the insets rather than asking every character in the document
429 whether its an inset.
431 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
433 * buffer.C (openFileWrite): factorize some code
435 2003-07-26 Angus Leeming <leeming@lyx.org>
438 * lyx_main.[Ch]: replace occurances of system_tempdir with
441 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
443 * rename Inset to InsetOld
445 2003-07-25 Asger Alstrup <alstrup@diku.dk>
447 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
448 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
449 which I think is a bit clearer. EDIT is gone, since it was
450 premature optimisation, and broken for mathed anyway.
451 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
452 with cursor positioning in insets as well (math insets still do not
453 work, but that's a different story anyway.) It mysteriously
454 crashes sometimes with undo in the first paragraph, but I'm fairly
455 confident that this is a compiler bug.
457 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
459 * paragraph.C (Paragraph): adjust for new clone return type
461 (copyIntoMinibuffer): ditto
463 2003-07-25 Asger Alstrup <alstrup@lyx.org>
465 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
466 by not having a special case, and always doing a full rebreak of
467 the document after undo.
469 2003-07-23 Angus Leeming <leeming@lyx.org>
471 * factory.C (createInset): InsetExternal::setParams now takes a
474 2003-07-23 Angus Leeming <leeming@lyx.org>
476 * factory.C (createInset): changed interface to the external and
477 graphics mailers' string2params functions.
479 2003-07-23 Angus Leeming <leeming@lyx.org>
481 * factory.C (createInset): pass a
482 Buffer const * parameter to InsetExternalMailer's string2params.
484 2003-07-22 John Levon <levon@movementarian.org>
486 * Thesaurus.h: include the right aiksaurus header
488 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
490 * MenuBackend.C (expand): check menu shortcuts unconditionally
492 2003-07-21 Angus Leeming <leeming@lyx.org>
494 * factory.C (createInset): pass a
495 buffer_path parameter to InsetGraphicsMailer's string2params.
497 2003-07-21 Angus Leeming <leeming@lyx.org>
499 * BufferView_pimpl.C (buffer):
502 * lyxfunc.C (dispatch):
503 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
504 rather than the grfx shortcut.
506 2003-07-21 André Pönitz <poenitz@gmx.net>
508 * rowpainter.C: remove unused variables
511 * tabular_funcs.h: move to tabular.C
512 * Makefile.am: adjust
514 * tabular.[Ch]: basic optical cleaning
516 * author.h: pass references, not values
518 2003-07-18 André Pönitz <poenitz@gmx.net>
526 * text3.C: two-phase drawing for InsetText and InsetTabular
527 some float -> int changes.
529 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
531 * lyx_main.C: fix the fix
533 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
535 * lyx_main.C: fix a crash in batch mode if no files specified
538 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
540 * format.[Ch] (papersize): moved to BufferParams
541 * converter.[Ch] (dvips_options): moved to BufferParams
542 (dvipdfm_options): moved to anon namespace
543 * bufferparams.[Ch]: added above functions.
545 2003-07-17 André Pönitz <poenitz@gmx.net>
549 * text2.C: don't call inset->update() anymore
551 * metricsinfo.[Ch]: add convenience constructor
553 2003-07-16 André Pönitz <poenitz@gmx.net>
558 * text2.C: replace the LyXCursor::irow_ member with
559 on-demand computation of the value
561 2003-07-16 John Levon <levon@movementarian.org>
563 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
565 2003-07-15 André Pönitz <poenitz@gmx.net>
568 * text2.C: remove no more needed refresh_row
570 2003-07-15 André Pönitz <poenitz@gmx.net>
575 * text3.C: refresh_status tristate -> need_update bool
577 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
579 * lyxtext.h (init): remove reinit argument (act as if always true)
580 * text2.C: adjust to that
582 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
584 * bufferview_funcs.[Ch]: introduce function replaceSelection()
585 * text3.C: use it to delete selections in some cases
586 (bugs 441, 673, 702, 954).
588 2003-07-14 André Pönitz <poenitz@gmx.net>
590 * rowpainter.[Ch]: reduce interface
592 2003-07-14 André Pönitz <poenitz@gmx.net>
594 * BufferView_pimpl.C:
595 * text2.C: adjust after removing unused BufferView * argument
597 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
599 * text2.C (init): fix a crash fired on resize
601 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
603 * buffer.[Ch]: added new closing signal
604 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
605 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
606 BufferView::Pimpl via the closing the signal
608 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
610 * buffer.[Ch]: take out all bv-related from buffer
612 * BufferView_pimpl.[Ch]: connect to new signals
613 * CutAndPaste.C: removed useless asserts
614 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
617 * lyxfunc.C: moved view-related funciontality from vc here
618 * paragraph.C: removed outdated comments
621 2003-07-10 André Pönitz <poenitz@gmx.net>
623 * BufferView_pimpl.C:
627 * text2.C: remove InsetText::InnerCache, clean up consequences
629 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
631 * ispell.C: fix two typos in error messages
633 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
635 * Extend Note inset to other forms of annotation like Comment
636 and Greyedout. Right button click gives dialog.
638 Files modified or added (+):
644 * Makefile.am in frontends/xforms, frontends/xforms/forms,
645 frontends/controllers
649 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
651 * aspell.C: add missing namespace lyx::support
653 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
655 * BufferView.[Ch] (newFile): Add
656 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
657 * LaTeX.[Ch] (message): added this signal and use it
658 * buffer.[Ch] (busy, message): added these signals and use them
659 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
663 * importer.C: use buffer signals instead of direct bv calling
664 * lyx_cb.[Ch] (ShowMessage): removed
668 * text2.C: use buffer signals
670 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
672 * introduce namespace lyx::graphics
674 2003-07-02 André Pönitz <poenitz@gmx.net>
676 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
678 2003-07-01 André Pönitz <poenitz@gmx.net>
685 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
686 text*.C to text_func.C
688 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
690 * introduce namespace lyx::support
692 2003-06-30 André Pönitz <poenitz@gmx.net>
697 * text.C: re-enable --with-included-string
699 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
701 * textcursor.C: add <config.h>
703 * text.C (getWord): remove const from word_location arg
705 * lyxvc.C (getLogFile): fix const type order
707 * lyxtext.h: remove const from word_location arg, add arg name
709 * lyxlayout.h: currect type on labeltype.
711 * importer.C: correct \file
713 * converter.C (intToFormat): use std:: on ret val, ws changes
715 * bufferlist.h: correct \file
717 * buffer.C (makeLinuxDocFile): fix const type order
718 (makeDocBookFile): ditto
719 (fillWithBibKeys): use std:: on stdlib args.
721 * CutAndPaste.C: fix authors.
722 (availableSelections): use std:: on return vector
724 2003-06-27 André Pönitz <poenitz@gmx.net>
726 * BufferView_pimpl.C:
727 * bufferview_funcs.C:
735 * text3.C: remove LyXCursor::row_ member
738 * text.C: rename fullRebreak() to partialRebreak() and implement
739 a fullRebreak() that really bereks fully
741 * textcursor.h: new struct for cursor-related data
743 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
745 * lyx_main.C (LyX): get full path of document loaded on the
748 2003-06-26 André Pönitz <poenitz@gmx.net>
750 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
751 remove unused/broken operator>,<,>=.
753 * text.C: remove only use of broken operator<= in an Assert().
755 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
757 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
758 moved errorlist_.clear to showErrorList
760 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
762 * converter.C (scanLog, runLaTeX):
763 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
764 move the bv->showErrorList call to the callers
765 * lyxfunc.C: i.e. here...
767 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
768 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
769 namespace, the second to...
770 * buffer_funcs (BufferFormat, parseErrors): added
771 * errorlist.C (ErrorList(TeXErrors const &)): removed
773 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
775 * ToolbarBackend.C (getIcon): complain when icon cannot be found
777 2003-06-24 "Garst R. Reese" <reese@isn.net>
781 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
783 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
785 * version.C.in: change docversion to 1.4
787 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
789 * buffer.C: fix a bug just introduced
791 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
793 * buffer.[Ch]: added the parseError signal and use it, removed
795 * BufferView.[Ch] (addError): moved to ...
796 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
797 to the Buffer::parseError signal to catch (guess what) parse errors
798 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
800 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
802 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
803 ability to create a buffer and to return an existing one from
804 the list. Moved these functions to...
805 * buffer_funcs.[Ch]: added
806 * BufferView.[Ch] (loadLyXFile): added
807 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
808 job removed from bufferlist::loadLyXFile.
809 * buffer.C (setReadOnly): make it work without view
810 (i.e added an if (users))
812 2003-06-19 Angus Leeming <leeming@lyx.org>
815 * LyXAction.C (init):
816 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
817 with LFUN_DIALOG_SHOW <name> <data>.
819 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
821 * CutAndPaste.C (availableSelections): small compilation fix for
822 ancient (gcc 2.9x) compilers
824 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
826 * text3.C (cursorNext): add tmp var
828 * text2.C (updateCounters): for function calling out of for clause
829 (replaceSelectionWithString): ditto
830 (insertStringAsParagraphs): ditto
831 (getColumnNearX): add tmp var
832 (setCursorFromCoordinates): add tmp var
833 (cursorDownParagraph): add tmp var
834 (deleteEmptyParagraphMechanism): add tmp var
836 * text.C (insertChar): add tmp var
838 * rowpainter.C (paintDepthBar): add tmp var
840 * CutAndPaste.C (availableSelections): potentially check all
841 paragraphs in a cut to fill the shown strings.
843 2003-06-18 André Pönitz <poenitz@gmx.net>
845 * kbmap.[Ch]: use vector<> instead of list<>
847 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
849 * text3.C (dispatch): handle arg to LFUN_PASTE, call
850 pasteSelection with index
852 * text2.C (pasteSelection): modify, call pasteSelection with index
854 * paragraph.C (asString): reimplement version with no interval to
855 call the one with interval.
857 * lyxtext.h: add index arg to pasteSelection
859 * MenuBackend.C (MenuItem): handle PasteRecent
860 (Menu::read::Menutags): add md_pasterecent
862 (expandPasteRecent): new function
865 * MenuBackend.h: add PasteRecent to MenuItem::Kind
867 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
869 (availableSelections): new function
871 2003-06-17 Angus Leeming <leeming@lyx.org>
873 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
875 2003-06-17 Angus Leeming <leeming@lyx.org>
878 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
880 * lyxfunc.C (dispatch): invoke it.
882 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
884 * iterators.C (operator++, ParPosition): reintroduce some
885 const_cast for the benefit of older compilers.
887 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
889 * text3.C (dispatch): do not modify clipboard when doing
890 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
891 LFUN_DELETE_SKIP on a selection selection
893 2003-06-16 André Pönitz <poenitz@gmx.net>
899 * tabular.[Ch]: IU of clone() and getLabelList();
901 2003-06-13 André Pönitz <poenitz@gmx.net>
903 * tabular.h: compactification
905 2003-06-12 André Pönitz <poenitz@gmx.net>
909 * tabular_funcs.h: some renaming plus whitespace
911 2003-06-12 André Pönitz <poenitz@gmx.net>
914 * BufferView_pimpl.C:
920 * toc.C: Return a Paragraph & for ParIterator::operator*()
922 2003-06-11 John Levon <levon@movementarian.org>
926 * ToolbarBackend.C: add "Toolbars" section and
929 2003-06-10 Angus Leeming <leeming@lyx.org>
932 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
934 * lyxfunc.C (dispatch): invoke it.
936 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
938 * main.C: protect <ios> with HAVE_IOS
939 (main): protect sync_with_stdio with HAVE_IOS
941 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
943 * text2.C (cutSelection): adjust
944 (pasteSelection): adjust
946 * messages.C: handle get of empty string
948 * main.C (main): use sync_with_stdio(false)
950 * lyxfunc.C (dispatch): adjust
952 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
953 (WriteAs): remove unneeded BufferView arg.
955 * bufferparams.h: use correct types on papersize, papersize2 and
958 * bufferparams.C (readToken): adjust for type
959 (writeLaTeX): add missing cases to switch.
961 * bufferlist.C (quitWriteBuffer): adjust
964 * buffer.C (asciiParagraph): remove some commented code.
966 * CutAndPaste.C: remove current_view extern variable.
967 (cutSelection): add BufferParams arg.
968 (eraseSelection): add BufferParams arg.
969 (pasteSelection): add Buffer const & arg
971 2003-06-07 John Levon <levon@movementarian.org>
979 * paragraph.C: allow InsetERT to freely space lines,
980 and some consolidation of code
982 2003-06-06 José Matos <jamatos@fep.up.pt>
984 * buffer.C (makeDocBookFile): fix bug #821
986 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
988 * BufferView_pimpl.C (dispatch): use Dialogs::visible
990 2003-06-04 Angus Leeming <leeming@lyx.org>
992 * buffer.C: bump format to 224.
994 2003-06-05 André Pönitz <poenitz@gmx.net>
996 * text2.C (redoParagraphs): remove two const_cast<>
998 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1000 * ParagraphList.h: remove last remnants of NO_STD_LIST
1002 2003-06-03 Angus Leeming <leeming@lyx.org>
1004 * factory.C (createInset): small change to the way InsetExternal's params
1007 2003-06-04 André Pönitz <poenitz@gmx.net>
1009 * buffer.h: use Undo directly instead of shared_ptr<Undo>
1011 * paragraph_pimpl.h:
1012 * paragraph.[Ch]: some Inset -> UpdatableInset changes
1014 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1016 * undo_funcs.C: make some simple cases of undo work again
1018 2003-06-03 John Levon <levon@movementarian.org>
1020 * ispell.C: HPUX doesn't have sys/select.h
1023 2003-06-03 John Levon <levon@movementarian.org>
1025 * CutAndPaste.C: update tabular and include inset
1030 * paragraph.C: remove owningBuffer(), don't pass Buffer
1033 * factory.C: insetGraphicsParams changed
1035 2003-06-02 John Levon <levon@movementarian.org>
1041 * text3.C: remove insetparent
1043 2003-06-02 John Levon <levon@movementarian.org>
1046 * buffer.C: fix inset_iterator.end(), move out of line
1049 2003-06-01 John Levon <levon@movementarian.org>
1051 * text3.C: use a proper cut/paste when doing inset
1052 insert (from Jürgen Spitzmüller)
1054 2003-06-01 John Levon <levon@movementarian.org>
1056 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1058 2003-05-30 André Pönitz <poenitz@gmx.net>
1060 * rowpainter.C: unify second drawing phase
1062 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1064 * trans_mgr.C: remove one case of current_view
1066 * text2.C (cursorBottom): delete NO_STD_LIST stuff
1068 * paragraph_funcs.h: remove paragraph.h include
1070 * paragraph.h: delete NO_STD_LIST stuff
1072 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1074 * buffer.h: remove paragraph.h include
1076 * ParagraphList.C: delete file
1078 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1080 * toc.C (getTocList): adjust
1082 * paragraph_pimpl.C (validate): adjust
1084 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1086 * paragraph.C (Paragraph): adjust
1087 (getPositionOfInset): use const_iterator, adjust
1088 (bibitem): use const_iterator, adjust
1089 (setInsetOwner): adjust
1091 * iterators.C (operator++): adjust
1093 * InsetList.[Ch]: Replace selfmade iterator with standard
1094 vector::iterator also introduce const_iterator. Remove getPos,
1095 getInset and setInset from InsetTable. Adjust accordingly.
1097 * BufferView.C (lockInset): adjust
1098 (ChangeInsets): adjust
1100 * tabular.[Ch]: delete commented same_id functions
1102 2003-05-28 John Levon <levon@movementarian.org>
1104 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1106 2003-05-28 André Pönitz <poenitz@gmx.net>
1108 * metricsinfo.[Ch]: remove 'fullredraw' member
1110 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
1112 * lyxtextclass.C (operator): remove caching.
1114 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1118 * text2.C (cursorBottom): adjust
1119 (setCounter): use ParagraphList::find, adjust
1121 * text.C (workWidth): use ParagraphList::find, adjust
1123 * lyxcursor.C (LyXCursor): adjust
1125 * buffer.C (inset_iterator): adjust
1127 * ParagraphList.h: make iterator(value_type) private, make
1128 ParagraphList a friend of iterator.
1130 * ParagraphList.C (find): new function
1132 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1134 2003-05-27 André Pönitz <poenitz@gmx.net>
1136 * dimension.[Ch]: a -> asc, d -> des, w -> wid
1138 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1140 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
1142 2003-05-26 John Levon <levon@movementarian.org>
1144 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
1146 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1148 * remove same_id from function signatures, adjust.
1150 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1152 * undo_funcs.C (createUndo): use the id functions directly, adjust.
1154 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
1156 * paragraph.C (Paragraph): get rid of same_ids parameter
1158 * ParagraphList.C (insert): adjust
1161 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1163 * paragraph_funcs.C (breakParagraph): adjust
1164 (breakParagraphConservative): adjust
1166 * buffer.C (readParagraph): adjust
1168 * ParagraphList.C (insert): take a reference instead of a pointer
1171 * paragraph.[Ch] (id): new function
1173 * bufferlist.C (newFile): adjust
1175 * ParagraphList.C (ParagraphList): adjust
1177 (push_back): take a reference instead of a pointer.
1179 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
1181 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
1184 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
1185 set else use old code.
1187 * ParagraphList.C: remove all NO_NEXT code and only compile this
1188 code of NO_STD_LIST is set.
1190 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1192 * BufferView_pimpl.C:
1202 * graphics/GraphicsConverter.C:
1203 * graphics/PreviewLoader.C: header adjustment
1205 2003-05-23 Angus Leeming <leeming@lyx.org>
1207 * LaTeXFeatures.[Ch] (useBabel): new method.
1208 * bufferparams.C (writeLaTeX): use it.
1210 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1212 * ParagraphList.h (set): remove unused function.
1214 2003-05-23 André Pönitz <poenitz@gmx.net>
1217 * BufferView_pimpl.C:
1221 * undo_funcs.C: setUndo reworked
1223 * iterators.[Ch]: add access to topmost ParagraphList
1225 * lyxtext.[Ch] (workWidth): add a const
1227 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1229 * texrow.[Ch] (increasePos): remove function
1230 * exporter.C (export): removed unused var and outdated comment
1232 2003-05-23 Angus Leeming <leeming@lyx.org>
1234 * latexrunparams.h: rename fragile as moving_arg.
1235 * paragraph.C (simpleTeXOnePar): ditto.
1236 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
1238 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1240 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
1242 (textUndoOrRedo): comment out a currently unused var.
1244 * paragraph.h (NO_NEXT): enable NO_NEXT
1246 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
1248 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
1250 * exporter.C (Export): adjust for removeAutoInsets removal.
1252 * buffer.C (runChktex): adjust for removeAutoInsets removal.
1254 * LyXAction.C (init): remove LFUN_REMOVEERRORS
1256 * BufferView.[Ch] (removeAutoInsets): delete function
1258 2003-05-22 Angus Leeming <leeming@lyx.org>
1260 * latexrunparams.h: add a free_spacing variable.
1262 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
1263 to pass moving_arg, as the data is stored in runparams.fragile.
1265 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
1266 to Inset::latexOptional or to simpleTeXOnePar.
1268 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
1269 free_spacing arg to Inset::latexOptional.
1271 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1274 2003-05-22 Angus Leeming <leeming@lyx.org>
1276 * latexrunparams.h: add fragile and use_babel variables.
1278 * bufferparams.[Ch] (writeLaTeX): return use_babel.
1279 * buffer.C (makeLaTeXFile): store this returned value in
1280 runparams.use_babel, thus passing it to the inset::latex methods.
1282 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
1283 simpleTeXSpecialChars as it is now stored in runparams.fragile.
1285 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
1286 longer has a fragile arg, as it is stored in runparams.fragile.
1288 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
1289 moving_arg parameter as the data is stored in runparams.fragile.
1291 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1292 a fragile parameter as the data is stored in runparams.fragile.
1294 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1296 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
1298 2003-05-22 Angus Leeming <leeming@lyx.org>
1300 * latexrunparams.h: add a 'bool nice' which defaults to false.
1302 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
1303 now encapsulated within runparams.
1305 * bufferlist.C (updateIncludedTeXfiles):
1306 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
1308 2003-05-22 Angus Leeming <leeming@lyx.org>
1310 * latexrunparams.h: new file containing struct LatexRunParams.
1311 * Makefile.am: add new file.
1313 * LaTeX.[Ch] (c-tor, run):
1314 * buffer.[Ch] (makeLaTeXFile):
1315 * bufferlist.[Ch] (updateIncludedTeXfiles):
1316 * converter.C (convert, scanLog):
1317 * converter.[Ch] (runLaTeX):
1318 * exporter.C (Export):
1319 * paragraph.[Ch] (simpleTeXOnePar):
1320 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
1321 * paragraph_funcs.[Ch] (latexParagraphs):
1322 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
1323 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
1324 pass around a LatexRunParams parameter.
1326 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1328 * paragraph.[Ch]: remove unused constructor
1330 * ParagraphList.C (erase): new function, taking two iterators
1332 2003-05-22 André Pönitz <poenitz@gmx.net>
1334 * undo_funcs.C: remove duplicated code
1336 * iterator.[Ch]: operator=
1338 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1340 * tabular.C (SetMultiColumn): ws changes
1342 * rowpainter.C (paintFirst): get rid of a ->previous
1344 * lyx_cb.C (getPossibleLabel): parlist simplification
1346 * BufferView.C (ChangeInsets): simplify slightly.
1348 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1350 * LyXAction.C: new lfun space-insert, kill protected-space-insert
1351 * lfuns.h: new LFUN_SPACE
1352 * lyxfunc.C: protected space has a new lfun
1353 * paragraph_funcs.C: read new space insets
1355 * factory.C: handle new space insets
1357 2003-05-22 André Pönitz <poenitz@gmx.net>
1360 * BufferView_pimpl.C:
1363 * undo_funcs.C: return a ParIterator from getParFromID.
1365 * iterators.[Ch]: add two const's
1367 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1369 * toc.C (getTocList): adjust
1371 * iterators.[Ch]: rework for parlist
1373 * buffer.C (par_iterator_begin): adjust
1374 (par_iterator_end): adjust
1376 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
1378 * BufferView.C (removeAutoInsets): adjust
1379 (ChangeInsets): adjust
1381 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
1383 * text.C (top_y): fix bug 1110
1385 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
1387 * errorlist.[Ch]: added
1390 * BufferView_pimpl.C:
1391 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
1394 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1396 * Makefile.am: ensure that lyx is relinked upon changes to the
1397 various "convenience" libs.
1399 2003-05-20 Angus Leeming <leeming@lyx.org>
1401 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
1402 files are compiled in alphabetical order again.
1404 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
1406 2003-05-19 Angus Leeming <leeming@lyx.org>
1408 * gettext.[Ch]: remove "char const * _(char const *)".
1410 2003-05-19 André Pönitz <poenitz@gmx.net>
1412 * dimension.[Ch]: promote from mathed/dimension.[Ch]
1421 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
1423 2003-05-19 André Pönitz <poenitz@gmx.net>
1427 * lyxtextclass.[Ch]:
1429 * paragraph_funcs.[Ch]:
1431 * text3.C: more insetenv work
1433 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
1435 * ParagraphParameters.C (params2string): small bug fixed
1437 2003-05-16 André Pönitz <poenitz@gmx.net>
1440 * bufferview_funcs.C: patch from Kornel Benko to prevent
1441 crash when _(...) is called twice in a statement
1443 2003-05-16 André Pönitz <poenitz@gmx.net>
1450 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
1452 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
1454 * lyx_main.C (init): remove spurious static_cast
1456 2003-05-14 André Pönitz <poenitz@gmx.net>
1458 * BufferView.C: fix format string
1460 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
1462 * BufferView.[Ch] (insertErrors): removed
1463 * BufferView.[Ch] (showErrorList): added
1464 * buffer.C (runChkTeX):
1465 * converter.C (scanLog): call showErrorList instead of inserterrors
1467 2003-05-13 André Pönitz <poenitz@gmx.net>
1469 * BufferView_pimpl.C:
1471 * bufferview_func.C:
1478 * tabular_funcs.h: tostr() from its own header
1480 * ParagraphParameters.C:
1485 * text3.C: STRCONV()
1487 2003-05-12 André Pönitz <poenitz@gmx.net>
1490 * BufferView_pimpl.C:
1494 * ParagraphParameters.C:
1498 * bufferview_funcs.C:
1511 * paragraph_funcs.C:
1515 * text3.C: boost::format -> bformat all over the place
1518 2003-05-09 André Pönitz <poenitz@gmx.net>
1520 * LColor.[Ch]: Pimpl the #include <map> away
1522 2003-05-09 John Levon <levon@movementarian.org>
1524 * bufferlist.C: never remove emergency saves
1526 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1528 * Makefile.am: better lib building
1530 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1532 * texrow.[Ch]: remove dependency on Paragraph and just store a id
1534 * paragraph_pimpl.C (simpleTeXBlanks): adjust
1535 (simpleTeXSpecialChars): adjust
1536 (simpleTeXSpecialChars): adjust
1537 * paragraph.C (simpleTeXOnePar): adjust
1538 * buffer.C (makeLaTeXFile): adjust
1540 * Makefile.am (BOOST_LIBS): allow boost as system lib.
1542 * text2.C (changeDepth): parlist cleanup
1543 (getColumnNearX): ditto
1545 * rowpainter.C (getLabelFont): parlist cleanup
1547 * bufferlist.C (newFile): parlist cleanup
1549 * CutAndPaste.C (eraseSelection): parlist cleanup
1551 * BufferView_pimpl.C (trackChanges): parlist cleanup
1554 * BufferView.C (lockInset): parlist cleanup.
1555 (ChangeInsets): ditto
1557 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1559 * CutAndPaste.h: Update file header.
1561 * CutAndPaste.C: Update file header.
1562 Store the parts cut out of the Document in a limited_stack.
1563 (copySelection): adjust
1564 (pasteSelection): new function, takes the index in the limited stack.
1565 (nrOfParagraphs): adjust
1566 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
1567 simplify error inset insertion.
1568 (checkPastePossible): adjust
1570 2003-05-06 John Levon <levon@movementarian.org>
1572 * text2.C: don't cast wrap inset to float
1574 2003-05-05 André Pönitz <poenitz@gmx.net>
1577 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
1579 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
1580 few naked Paragraph *.
1582 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
1584 * bufferparams.C: Output warning if a document with missing
1585 TeX document class is loaded
1586 * exporter.C: Disable TeX exports if the document class is missing
1589 * lyxtextclasslist.C: Handle new textclass.lst format; new method
1590 isTeXClassAvailable()
1592 2003-05-03 John Levon <levon@movementarian.org>
1595 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
1596 explicit cursor show/hide
1598 * BufferView_pimpl.h:
1599 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
1600 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
1602 * lyxfunc.C: hide cursor before dispatching.
1607 * text3.C: remove explicit cursor hides
1609 2003-05-02 André Pönitz <poenitz@gmx.net>
1611 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
1614 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
1617 * text2.C: tiny whitespace
1619 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1621 * undo_funcs.C: almost only ws changes.
1623 * ParagraphList.C (splice): just return if pl is empty.
1625 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1627 * ParagraphList.C (splice): new function.
1629 * CutAndPaste.C (pasteSelection): use it
1631 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1633 * CutAndPaste.C (pasteSelection): remove the last next and
1634 previous from this file.
1636 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1638 * CutAndPaste.C (pasteSelection): more clean up, user proper
1639 ParagraphList functions for pasteing.
1641 * ParagraphList.C (insert): new function, three arg insert
1643 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1645 * ParagraphList.C (insert): new function, three arg insert
1647 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
1650 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1652 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
1654 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1656 * CutAndPaste.C (pasteSelection): remove some unneeded code.
1658 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1660 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
1661 (copySelection): clean up a bit.
1662 (pasteSelection): use make_pair
1664 * ParagraphList.C (ParagraphList): implement copy constructor
1665 (operator=): implement, base on copy constructor.
1668 * paragraph.C (erase): return a bool
1670 * paragraph_pimpl.C (erasePos): remove function, move contents...
1671 (erase): ... here. Return a bool.
1672 (erase): call erase instead of erasePos.
1674 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
1676 * ParagraphList.h: define PitPosPair
1677 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
1678 ParagraphList, fix a bug on pasting multiple pars
1679 * text2.C: change interface to C&P
1681 2003-04-30 André Pönitz <poenitz@gmx.net>
1683 * undo_func.C: revert part of yesterday's patch 2
1685 2003-04-30 John Levon <levon@movementarian.org>
1687 * LColor.C: s/tabular/table/
1689 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1691 * text3.C (dispatch): do not convert iterator -> pointer
1692 * undo_funcs.C (setCursorParUndo): ditto
1693 * text_funcs.C (transposeChars): ditto
1695 * text2.C (setLayout): ws changes only
1697 * text.C (breakParagraph): do not convert iterator -> pointer
1699 (acceptChange): ditto
1700 (rejectChange): ditto
1705 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
1708 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1710 * text3.C (gotoInset): YABG (yet another bad getChar)
1712 2003-04-29 André Pönitz <poenitz@gmx.net>
1714 * paragraph.h: make operator= private unimplemented as long as
1717 * ParagraphList.C: whitespace
1720 * paragraph_pimpl.[Ch]:
1721 * paragraph_funcs.C:
1723 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
1726 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
1728 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1730 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
1731 * paragraph.[Ch] (erase):
1732 * paragraph_pimpl.[Ch] (erase): change return type and value
1733 * text2.C (cutSelection): some rework
1735 2003-04-28 John Levon <levon@movementarian.org>
1737 * bufferlist.C: changes for unsaved changes dialog
1739 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1741 * bufferlist.C (newFile): set language (messages_) for new
1744 * buffer.C (readFile): ws changes only.
1746 2003-04-28 André Pönitz <poenitz@gmx.net>
1751 * BufferView_pimpl.C:
1752 * BufferView.C: getParFromID related ParagraphList::iterator changes
1754 2003-04-28 André Pönitz <poenitz@gmx.net>
1756 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1759 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1761 * messages.C: remove one more localedir class variable.
1763 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1765 * messages.C (getLocaleDir): singleton generation function
1767 (Messages): add a default constructor.
1769 * main.C (main): do not setup localedir here, do not call
1772 * gettext.C (_): use it.
1773 (gettext_init): delete funciton
1775 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1777 * gettext.C (getLyXMessages): new singleton generating function.
1779 * buffer.C (updateDocLang): adjust
1781 * Makefile.am (messages.o): add target
1782 (main.o): remove target
1784 2003-04-27 John Levon <levon@movementarian.org>
1789 * lyxvc.C: specify cancel button in Alert::prompt
1791 2003-04-26 John Levon <levon@movementarian.org>
1796 * LyXAction.C: add LFUN_INSET_SETTINGS
1798 * lyxfunc.C: don't enable tabular-feature when there's
1799 just any locking inset
1801 2003-04-26 John Levon <levon@movementarian.org>
1803 * bufferlist.C: re-add Cancel to buffer close question
1805 * lyxfunc.C: fix import UI a bit
1807 2003-04-25 John Levon <levon@movementarian.org>
1809 * gettext.C: remove the broken asserts for now
1811 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1813 * messages.C: make case where setlocale cannot comply work better.
1815 * buffer.C (updateDocLang): new function
1816 (changeLanguage): use it
1819 * text2.C (setCounter): use B_ a bit.
1821 * lyxlayout.C (Read): be sure to trim the label strings.
1823 * messages.C (Messages): fix typo in comment
1825 * buffer.C (readFile): set message_ after file is loaded.
1826 (makeDocBookFile): remove double return
1827 (changeLanguage): reset message_ upon language change.
1828 (B_): new func, use this to get translated buffer strings.
1830 * main.C: add myself and Jean Marc as authors.
1832 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1834 * messages.[hC]: pimplify Messages, and three different pimpls to be
1835 used in different circumstances.
1837 * gettext.[Ch]: change for use with new message code.
1839 2003-04-24 André Pönitz <poenitz@gmx.net>
1841 * factory.C: support for eqref
1843 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1845 * messages.[Ch]: add missing char
1847 * Makefile.am (lyx_SOURCES): add messages.[Ch]
1849 * messages.[Ch]: New files
1851 2003-04-18 John Levon <levon@movementarian.org>
1855 * BufferView_pimpl.C:
1859 * text2.C: remove layout-copy/paste (bug 778)
1861 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1863 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1865 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1867 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1868 if they succeed. Act accordingly.
1870 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1872 * text2.C (setCharFont): adjust
1873 (setCounter): adjust
1874 (insertStringAsLines): adjust
1876 * text.C (leftMargin): adjust
1877 (setHeightOfRow): adjust
1879 * rowpainter.C (paintFirst): adjust
1882 * paragraph_funcs.C (depthHook): ParagraphList::iterators
1884 (isFirstInSequence): ditto
1885 (getEndLabel): ditto
1888 * paragraph.C (getParLanguage): comment out some hard stuff.
1890 * buffer.C (insertStringAsLines): take a ParagraphList as arg
1892 (simpleDocBookOnePar): ditto
1893 (makeDocBookFile): use ParagraphList::iterator
1895 * CutAndPaste.C (pasteSelection): adjust
1897 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1899 * text2.C (getFont): adjust
1900 (getLayoutFont): adjust
1901 (getLabelFont): adjust
1903 * paragraph_funcs.C (TeXOnePar): adjust
1905 * buffer.C (simpleLinuxDocOnePar): adjust
1906 (simpleDocBookOnePar): adjust
1908 * CutAndPaste.C (pasteSelection): adjust
1910 * BufferView.C (getEncoding): adjust
1912 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1914 2003-04-16 John Levon <levon@movementarian.org>
1916 * lyxfind.C: use parlist stuff for search/changes
1918 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1920 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1922 * text2.C (deleteEmptyParagraphMechanism): adjust
1924 * text2.[Ch] (ownerParagraph): delete func (both of them
1926 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1928 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1930 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1932 * ParagraphList.C: prepare for NO_NEXT
1934 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1936 * text2.C (getFont): adjust
1937 (getLayoutFont): adjust
1938 (getLabelFont): adjust
1940 * paragraph.C (getFont): adjust
1941 (getLabelFont): adjust
1942 (getLayoutFont): adjust
1944 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1946 2003-04-15 John Levon <levon@movementarian.org>
1950 * lyx_main.C: handle Include in .ui files
1952 2003-04-15 John Levon <levon@movementarian.org>
1954 * MenuBackend.C: make the doc files length shorter
1957 * ToolbarBackend.C: handle toolbar placement flags,
1960 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1962 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1965 * paragraph_funcs.C (TeXOnePar): adjust
1967 * paragraph.C (getLabelFont): add outerfont arg, adjust
1968 (getLayoutFont): ditto
1969 (simpleTeXOnePar): adjust
1971 * paragraph_pimpl.C (realizeFont): delete func
1973 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1975 * text2.C (beforeFullRowInset): added a bad getchar check, removed
1976 row argument, constify cur argument.
1978 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1980 * text2.C (getFont): adjust
1981 (getLayoutFont): adjust
1982 (getLabelFont): adjust
1984 * paragraph_funcs.C (TeXOnePar): adjust
1985 (outerFont): new func...
1986 (realizeFont): ...moved out from here, changed this to facilitate
1989 * paragraph.C (getFont): take outerfont as arg, adjust
1990 (simpleTeXOnePar): add outerfont arg, adjust
1992 * buffer.C (simpleLinuxDocOnePar): adjust
1993 (simpleDocBookOnePar): adjust
1995 * CutAndPaste.C (pasteSelection): adjust
1997 * BufferView.C (getEncoding): adjust
1999 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2001 * text2.C (setCharFont): adjust
2002 (setCounter): adjust
2004 * text.C (leftMargin): adjust
2005 (setHeightOfRow): adjust
2007 * rowpainter.C (paintFirst): adjust
2010 * paragraph_pimpl.C (realizeFont): adjust
2012 * paragraph.C (isFirstInSequence): move from here...
2013 * paragraph_funcs.C (isFirstInSequence): ...to here
2015 * paragraph.C (outerHook): move from here...
2016 * paragraph_funcs.C (outerHook): ...to here
2018 * paragraph.C (depthHook): move from here...
2019 * paragraph_funcs.C (depthHook): ...to here
2021 * paragraph.C (getEndLabel): move from here...
2022 * paragraph_funcs.C (getEndLabel): ...to here
2024 * text2.C (realizeFont): move from here...
2025 * paragraph_funcs.C (realizeFont): ...to here
2027 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2029 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2031 2003-04-14 Angus Leeming <leeming@lyx.org>
2033 * LColor.[Ch]: scrap LColor mathcursor.
2035 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2037 * lyxlex.[Ch] (text): delete function
2038 * trans.C (Load): adjust
2039 * paragraph_funcs.C (readParToken): adjust
2041 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2043 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2044 vector<char> instead of a char[].
2046 * lyxlex_pimpl.C (getString): adjust
2048 (lex): use getString
2052 * lyxlex.C (text): use pimpl_->getString()
2056 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2058 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2059 (makeFontEntriesLayoutSpecific): temp var for par.size()
2060 (setLayout): temp var for ownerParagraphs().end()
2061 (fullRebreak): temp var for rows().end()
2062 (selectionAsString): temp var for boost::next(startpit), realize
2063 that the while really is a regular for loop.
2064 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2065 setCursor in one place.
2066 (setParagraph): temp vr for ownerParagraphs().end()
2067 (updateCounters): make the while loop a for loop
2068 (cutSelection): temp var for ownerParagraphs().end()
2069 (updateInset): make the do {} while() a regular for loop
2070 (getCursorX): use temp vars
2071 (setCurrentFont): use temp vars
2072 (getColumnNearX): use temp vars
2074 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2076 * text.C (transformChar): use temp var for getChar
2077 (computeBidiTables): use temp var for row->par()
2078 (fill): move temp vars for row->par() and pit->layout() earlier in
2080 (labelFill): use temp var for row->par()
2081 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2082 asc and desc, realize that pit never changes and that firstpit is
2083 just a duplicate and not needed. Exchange rit->par() with pit in a
2085 (breakAgain): use a temp var for boost::next(rit)
2086 (breakAgainOneRow): ditto
2087 (breakParagraph): use a temp var for rows().begin()
2088 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
2089 (cursorRightOneWord): use temp var for cursor.par() and
2090 cursor.pos(), remove usage of tmpcursor.
2091 (cursorLeftOneWord): use temp var for cursor.par() and
2092 cursor.pos() only set cur at end of function.
2094 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2096 * text.C, text2.C: exchange all usage of Paragraph::next with
2097 boost::next(ParagraphList::iterator)
2099 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2101 * text2.C (cursorTop): simplify implementation
2102 (cursorBottom): ditto
2103 (setParagraph): use ParagraphList::iterator
2104 (setCurrentFont): adjust
2105 (getColumnNearX): adjust
2106 (cursorRight): adjust
2107 (cursorLeft): remove usage of Paragraph::previous
2108 (cursorUpParagraph): ditto
2109 (deleteEmptyParagraphMechanism): slight cleanup
2111 * text.C (isBoundary): take a Paragraph const & instead of a
2113 (addressBreakPoint): ditto
2114 (leftMargin): remove usage of Paragraph::previous.
2115 (setHeightOfRow): ditto
2116 (cursorLeftOneWord): ditto
2117 (selectNextWordToSpellcheck): ditto
2120 (breakParagraph): remove one usage of Paragraph::next
2121 (redoParagraph): ditto
2122 (acceptChange): ditto
2123 (insertChar): adjust
2124 (rowBreakPoint): adjust
2126 * bufferview_funcs.C (toggleAndShow): adjust
2128 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
2130 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
2131 methods to access it.
2133 * text.C: Added updateRowPositions to compute all row positions.
2134 Make top_y and getRowNearY() to use the cached y position
2136 2003-04-11 John Levon <levon@movementarian.org>
2138 * text.C (rowBreakPoint): reintroduce the labelEnd
2139 checks, code copied from the row fill stuff. Deep voodoo.
2141 * text.C (fill): add a comment and debugging for the
2144 2003-04-11 John Levon <levon@movementarian.org>
2146 * text.C: make sure fullrow insets get wrapped to the next line,
2147 even when they're in a manual label
2149 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2151 * text2.C (insertParagraph): make it take ParagraphList::iterator
2153 (setLayout): make it return ParagraphList::iterator
2154 (redoParagraphs): ditto
2156 (checkParagraph): ditto
2158 * text.C (getRow): make getrow take ParagraphList::iterator as arg
2160 * text2.C: adjust several funcs.
2161 (realizeFont): take a ParagraphList::iterator as arg.
2162 (getLayoutFont): ditto
2163 (getLabelFont): ditto
2164 (setCharFont): ditto
2166 * text.C: adjust several funcs.
2168 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2170 * text.C (selectNextWordToSpellcheck): don't accidentally
2173 2003-04-10 John Levon <levon@movementarian.org>
2175 * ToolbarBackend.C (getIcon): special handling for
2178 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2180 * text2.C (cursorRight): a getChar assert fixed
2182 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2184 * text2.C (getFont): change to take a ParagraphList::iterator
2185 instead of Paragraph*
2186 Adjust several functions.
2188 * text.C (transformChar): change to take a ParagraphList::iterator
2189 instead of Paragraph*
2190 (singleWidth): ditto
2191 Adjust several functions.
2193 * rowpainter.C: adjust several functions
2194 * rowpainter.h:store a ParagraphList::iterator and not a
2198 2003-04-09 John Levon <levon@movementarian.org>
2203 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
2204 and the "help" bits as well
2206 2003-04-09 John Levon <levon@movementarian.org>
2209 * ToolbarBackend.C: allow multiple toolbars
2211 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2213 * undo_funcs.C (setCursorParUndo): adjust
2215 * text_funcs.C (transposeChars): adjust
2217 * text3.C (gotoNextInset): adjust
2220 * text2.C (setLayout): adjust
2221 (changeDepth): adjust
2223 (redoParagraphs): adjust
2224 (selectionAsString): adjust
2225 (setParagraph): adjust
2226 (insertInset): adjust
2227 (cutSelection): adjust
2228 (copySelection): adjust
2229 (pasteSelection): adjust
2230 (insertStringAsLines): adjust
2231 (updateInset): adjust
2232 (setCursor): change to take a ParagraphList::iterator parameter
2233 (setCursorIntern): change to take a ParagraphList::iterator parameter
2234 (setCurrentFont): adjust
2235 (cursorLeft): adjust
2236 (cursorRight): adjust
2237 (deleteEmptyParagraphMechanism): adjust
2239 * text.C (breakParagraph): adjust
2240 (insertChar): adjust
2241 (acceptChange): adjust
2242 (rejectChange): adjust
2243 (selectNextWordToSpellcheck): adjust
2244 (changeCase): adjust
2248 * lyxfind.C (SearchForward): adjust
2249 (SearchBackward): adjust
2250 (nextChange): adjust
2252 * lyxcursor.C (par): adjust
2254 * lyxcursor.h: store a ParagraphList::iterator instead of a
2257 * lyx_cb.C (getPossibleLabel): adjust
2259 * bufferview_funcs.C (toggleAndShow): adjust
2261 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2264 * BufferView.C (removeAutoInsets): adjust
2265 (lockedInsetStoreUndo): adjust
2267 2003-04-09 John Levon <levon@movementarian.org>
2269 * ToolbarBackend.C: try icon without argument
2270 if with argument fails
2272 2003-04-08 John Levon <levon@movementarian.org>
2275 * ToolbarBackend.C: add getIcon(), handle tooltip,
2276 and change from "Icon" to "Item".
2278 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2280 * BufferView.C (lockInset): another bad getchar crunched
2282 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2284 * text2.C (changeDepth): do not setUndo on test_only (make undo work
2287 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2289 * lyxfind.C (searchForward, searchBackwards): bug 782
2291 2003-04-07 John Levon <levon@movementarian.org>
2293 * paragraph.C: remove dead comment
2295 * text.C: remove troublesome depth-fiddling code
2296 in leftMargin() and rightMargin() (bug 1017)
2298 * text.C: fix breaking of rows in nested lists
2301 * text2.C (updateCounters): fix up depth values
2304 2003-04-07 John Levon <levon@movementarian.org>
2306 * BufferView_pimpl.C: clear message when doc finishes resizing,
2307 and after a mouse event
2309 * lyxfunc.C: clear message after exiting inset
2311 2003-04-07 John Levon <levon@movementarian.org>
2313 * bufferview_funcs.C: show math status not outside
2314 status in the statusbar
2316 2003-04-07 John Levon <levon@movementarian.org>
2318 * lyxfunc.C: note status changed after a depth change
2320 2003-04-04 Angus Leeming <angus@localhost.localdomain>
2322 * LaTeX.h: move AuxInfo operator==, != out of line.
2323 Remove LaTeX virtual destructor; nothing derives from it.
2324 Move operator()() out of public area and rename it startscript().
2325 Change protected for private.
2327 2003-04-04 Angus Leeming <leeming@lyx.org>
2330 * text2.C: remove unneeded #includes.
2332 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2334 * text2.C (dEPM): fix the heigth of the next row
2336 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2338 * text.C: squashed an invalid getChar requester + some ws changes
2340 2003-04-03 John Levon <levon@movementarian.org>
2342 * bufferview_funcs.h:
2343 * bufferview_funcs.C:
2346 * text2.C: make getStatus work for the env depth lfuns
2348 2003-04-03 John Levon <levon@movementarian.org>
2350 * bufferview_funcs.h:
2351 * bufferview_funcs.C:
2354 * text2.C: parlistize decDepth(), by merging it with incDepth()
2356 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2358 * lyxrow.h: store a ParagraphList::iterator instead of a
2359 Paragraph* and adjust other class functions to suit.
2361 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
2364 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2366 * text2.C (setCursor): do not anchor to cursor row for the time being
2368 2003-04-02 John Levon <levon@movementarian.org>
2375 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
2377 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2379 * paragraph.h: make ParagraphList and ParagraphList::iterator
2380 friends of Paragraph.
2382 * buffer.C (makeLinuxDocFile): move towards ParagraphList
2384 * ParagraphList.C: Use the private next_ and previous_ from
2387 2003-04-01 John Levon <levon@movementarian.org>
2391 * Makefile.am: rename, remove defaults gunk
2394 * MenuBackend.C: remove defaults gunk
2397 * Languages.C: remove defaults gunk
2400 * lyx_main.C: error out if files couldn't be found.
2402 2003-04-02 John Levon <levon@movementarian.org>
2404 * text2.C: make incDepth() use parlist
2406 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2408 * undo_funcs.C (firstUndoParagraph): adjust
2410 * text3.C (gotoInset): adjust
2411 (dispatch): adjust, and rewrite loop.
2413 * text2.C (init): adjust, and rewrite loop.
2414 (redoParagraphs): adjust
2415 (updateInset): adjust, and rewrite loop.
2416 (deleteEmptyParagraphMechanism): adjust
2418 * tabular.C (LyXTabular): adjust
2419 (SetMultiColumn): adjust
2422 * lyxtext.[Ch] (ownerParagraph): delete function
2423 (ownerParagraphs): new function returns a ParagraphList.
2425 * BufferView.C (removeAutoInsets): adjust
2426 (insertErrors): adjust
2427 (setCursorFromRow): adjust
2429 2003-04-01 Angus Leeming <leeming@lyx.org>
2431 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
2434 2003-04-02 John Levon <levon@movementarian.org>
2440 * text_funcs.C: make transposeChars a free function
2442 * lyxrow_funcs.C: remove wrong comment
2444 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2447 * rowpainter.C: adjust
2452 * lyxrow_funcs. [Ch]: new files
2454 * lyxrow.[Ch]: remove next and previous pointers
2455 (next,previous): remove accessor functions
2456 (isParEnd): move to lyxrow_funcs
2457 (lastPos): move to lyxrow_funcs
2458 (nextRowIsAllInset): move to lyxrow_funcs
2459 (lastPrintablePos): move to lyxrow_funcs
2460 (numberOfSeparators): move to lyxrow_funcs
2461 (numberOfHfills): move to lyxrow_funcs
2462 (numberOfLabelHfills): move to lyxrow_funcs
2463 (hfillExpansion): move to lyxrow_funcs
2467 * bufferview_funcs.C (toggleAndShow): adjust
2469 * RowList.h: Remove class RowList from file leave just a
2472 * RowList.C: delete file
2474 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
2477 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2479 * text3.C (cursorPrevious): adjust
2480 (cursorNext): adjust
2483 * text2.C (redoHeightOfParagraph): adjust
2484 (redoDrawingOfParagraph): adjust
2487 * text.C (breakParagraph): adjust
2488 (insertChar): adjust
2491 * rowpainter.C (RowPainter): adjust
2492 (leftMargin): simplify and adjust
2493 (most rowpainter functions): adjust.
2495 * rowpainter.h: store the row as RowList::iterator not as Row*
2497 * lyxcursor.C (row): taka RowList::iterator as arg
2500 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
2503 2003-04-01 Angus Leeming <leeming@lyx.org>
2505 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
2506 stuff like bool Bool.
2508 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2510 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
2513 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2515 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
2518 * lyxtext.h (rows): drop one version and leve a const variant that
2519 returns a RowList::iterator.
2521 2003-03-31 Angus Leeming <leeming@lyx.org>
2523 * text.C (fill): ensure that the signature is the same as that in the
2526 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
2528 * text2.C (redoParagraphs): adjust
2529 (updateCounters): adjust
2530 (checkParagraph): adjust
2531 (getColumnNearX): adjust and reformat a bit.
2533 * text.C (top_y): adjust
2535 (leftMargin): adjust
2536 (prepareToPrint): adjust
2538 (getRowNearY): adjust
2540 * lyxtext.h: make rowlist_ mutable.
2542 * RowList.h: add const_iterator
2543 * RowList.C: adjust for RowList::const_iterator.
2545 * text2.C (getCursorX): make it take a RowList::iterator as arg,
2548 2003-03-31 John Levon <levon@movementarian.org>
2551 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
2553 * lyx_main.C: set default fonts from using lyx_gui funcs
2555 * exporter.C: pdf_mode moved from lyxrc
2558 * lyxfunc.C: changes from above
2560 2003-03-31 John Levon <levon@movementarian.org>
2562 * lyx_main.C: fix to the last fix
2564 2003-03-31 John Levon <levon@movementarian.org>
2566 * bufferlist.C: "Load original" -> "Load Original"
2572 * format.C: more Alert cleanups
2574 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2576 * text2.C (removeParagraph): make it take a RowList::iterator as
2578 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
2579 (postRowPaint): make it take a RowList::iterator as arg, adjust.
2581 * text.C (anchor_row): make it take a RowList::iterator as arg,
2583 (computeBidiTables): make it take a const reference to Row instead
2584 of Row pointer, adjust.
2585 (leftMargin): make it take a RowList::iterator as arg, adjust.
2586 (rowBreakPoint): adjust
2587 (breakAgainOneRow): make it take a RowList::iterator as arg,
2589 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
2591 * bufferview_funcs.C (toggleAndShow): adjust
2593 2003-03-30 John Levon <levon@movementarian.org>
2597 * boost-inst.C: moved to support
2599 * several files: changes as a result
2601 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2603 * text2.C (LyXText): adjust.
2605 (removeRow): make it take a RowList::iterator as arg, adjust.
2606 (fullRebreak): adjust
2607 (deleteEmptyParagraphMechanism): adjust
2608 (clearPaint): adjust
2611 * text.C (top_y): adjust
2612 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
2613 (breakAgain): make it take a RowList::iterator as arg, adjust.
2614 (breakParagraph): adjust
2615 (insertChar): adjust
2618 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
2619 need_break_row, and refresh_row.
2621 * text3.C (dispatch): adjust
2623 * text2.C (checkParagraph): adjust
2625 (setCursorFromCoordinates): adjust
2627 * text.C (top_y): adjust
2629 (getRow): make it return a RowList::iterator, adjust
2630 (getRowNearY): make it return a RowList::iterator, adjust
2632 * text2.C (init): adjust
2633 (insertRow): remove function
2634 (insertParagraph): adjust
2635 (redoParagraphs): adjust
2636 (fullRebreak): adjust
2637 (updateCounters): adjust
2639 * text.C (top_y): rewrite to use RowList iterators.
2641 (setHeightOfRow): rewrite to sue RowList iterators.
2642 (appendParagraph): adjust
2643 (breakAgain): adjust
2644 (breakAgainOneRow): adjust
2645 (breakParagraph): adjust
2647 (getRowNearY): adjust, and remove commented code.
2649 * lyxtext.h (firstRow): delete function
2650 (lastRow): delete function
2651 (rows): new function (const and non-const versions.)
2652 (insertRow): delete function
2654 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
2656 2003-03-29 John Levon <levon@movementarian.org>
2658 * BufferView_pimpl.C: always update scrollbar top
2659 because pasting text when we're anchored could mean we
2660 miss an update altogether
2662 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2664 * text2.C (init): use rowlist_.end() and not 0.
2665 (insertRow): change to take a RowList::iterator as arg, adjust
2667 (insertParagraph): change to take a RowList::iterator as arg,
2669 (redoParagraphs): remove some debug msgs.
2671 * text.C (appendParagraph): change to take a RowList::iterator
2672 arg, adjust for this.
2673 (breakAgain): add an assert
2674 (breakAgainOneRow): ditto
2676 2003-03-29 John Levon <levon@movementarian.org>
2678 * text2.C: do not clear selection after inc/decDepth
2681 2003-03-29 John Levon <levon@movementarian.org>
2684 * buffer.C: fix broken strerrors according to Lars
2686 2003-03-29 John Levon <levon@movementarian.org>
2688 * converters.C: more Alert cleanups
2690 2003-03-29 John Levon <levon@movementarian.org>
2692 * bufferview_funcs.C: remove pointless Alert
2694 * buffer.C: fix confusing error message when
2695 a template is chmoded 000
2697 2003-03-29 John Levon <levon@movementarian.org>
2701 * BufferView_pimpl.C: Alert fixes
2705 * tabular-old.C: remove unused table compat reading
2707 2003-03-29 John Levon <levon@movementarian.org>
2712 * lyx_cb.C: more Alert cleanups
2714 * lyxfunc.C: don't allow chktex if not latex document
2716 2003-03-29 John Levon <levon@movementarian.org>
2720 * buffer.C: warnings pushed down from support/,
2723 2003-03-29 John Levon <levon@movementarian.org>
2725 * lyxfunc.C: safety check for C-r (revert)
2727 2003-03-29 John Levon <levon@movementarian.org>
2730 * bufferlist.C: several UI fixes using Alert::prompt.
2731 Fix the pointless looping quit code. Fix stupid revert
2736 * lyx_cb.C: use Alert::prompt
2738 * lyx_main.C: remove a silly question
2740 * lyxfunc.C: remove a couple of silly questions,
2743 2003-03-28 John Levon <levon@movementarian.org>
2745 * text2.C: fix bug 974 (End on empty par)
2747 2003-03-28 John Levon <levon@movementarian.org>
2749 * BufferView_pimpl.C:
2751 * lfuns.h: remove do-nothing math greek lfuns
2753 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2755 * lyxgluelength.h (isValidGlueLength): add default arg on
2756 parameter 2. Remove default arg from friend in class.
2758 * lyxlength.h (isValidLength): add default arg on parameter 2.
2759 Remove default arg from friend in class.
2761 * text2.C (LyXText): adjust, initialize refresh_row.
2765 (insertParagraph): adjst
2766 (redoParagraphs): adjust
2767 (fullRebreak): adjust
2768 (updateCounters): adjust
2769 (deleteEmptyParagraphMechanism): first attempt at fixing a
2772 * text.C (top_y): adjust
2773 (setHeightOfRow): adjust
2775 (getRowNearY): adjust
2777 * lyxtext.h: include RowList.h
2778 (~LyXText): not needed anymore, deleted.
2779 (firstRow): modify for RowList
2780 (lastRow): new function
2781 Delete firstrow and lastrow class variables, add a Rowlist
2782 rowlist_ class variable.
2784 * lyxrow.C (lastPos): use empty() and not !size() to check if a
2787 * RowList.C (insert): fix case where it == begin().
2789 2003-03-26 Angus Leeming <leeming@lyx.org>
2791 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2792 the thesaurus dialog.
2794 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2796 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2798 * RowList.[Ch]: new files
2800 * ParagraphList.C (erase): handle the case where it == begin
2803 2003-03-25 John Levon <levon@movementarian.org>
2807 * aspell.C: add new aspell support
2810 * lyxrc.C: Make use_pspell be use_spell_lib. Always
2813 2003-03-25 Angus Leeming <leeming@lyx.org>
2816 * LyXAction.C (init): new LFUN_INSET_INSERT.
2818 * BufferView_pimpl.C (dispatch): split out part of the
2819 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2821 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2824 2003-03-25 Angus Leeming <leeming@lyx.org>
2826 * lyxfunc.C (dispatch): changes to the Dialogs interface.
2828 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
2831 * text3.C: remove useless row->height(0)
2833 2003-03-25 John Levon <levon@movementarian.org>
2837 * text3.C: rename the refreshing stuff to better names
2839 2003-03-24 John Levon <levon@movementarian.org>
2841 * BufferView_pimpl.h:
2842 * BufferView_pimpl.C: update layout choice on a mouse
2845 2003-03-23 John Levon <levon@movementarian.org>
2847 * Makefile.am: fix commandtags.h reference
2849 2003-03-22 John Levon <levon@movementarian.org>
2851 * BufferView_pimpl.C:
2856 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2858 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
2861 * text.C: take the rtl methods out of line
2863 2003-03-21 André Pönitz <poenitz@gmx.net>
2865 * metricsinfo.[Ch]: new files containing structures to be passed around
2866 during the two-phase-drawing...
2868 2003-03-21 André Pönitz <poenitz@gmx.net>
2870 * lyxtextclass.C: read 'environment' tag.
2872 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
2874 * text2.C (removeRow): fix bug 964
2876 2003-03-20 John Levon <levon@movementarian.org>
2880 * text2.C: paint cleanups. Inset::update() dropped font
2883 2003-03-19 John Levon <levon@movementarian.org>
2885 * lyxfunc.C: only fitcursor/markDirty if available()
2887 2003-03-19 John Levon <levon@movementarian.org>
2889 * commandtags.h: rename to ...
2891 * lfuns.h: ... this, and renumber / cleanup
2893 2003-03-19 John Levon <levon@movementarian.org>
2895 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2896 fit the cursor after an lfun
2900 * BufferView_pimpl.h:
2901 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2903 * LyXAction.C: layout-character should have ReadOnly
2905 * ParagraphParameters.C:
2907 * bufferview_funcs.C:
2914 * undo_funcs.C: changes from above
2916 2003-03-18 John Levon <levon@movementarian.org>
2918 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2919 remove it from update()
2921 * lyxfunc.C: update layout choice after an lfun
2923 * text3.C: remove extra updateLayoutChoice()s
2925 2003-03-18 John Levon <levon@movementarian.org>
2927 * text.C: top_y change means full repaint, fix
2928 a drawing bug with cursor movement
2930 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2934 * text2.C: anchor row on setCursor
2936 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2938 * lyxtext.h: remove almost all mutable keywords
2941 * text3.C: remove const keywords accordingly
2943 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2945 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2947 (TeXEnvironment): ditto
2950 2003-03-17 John Levon <levon@movementarian.org>
2952 * text.C (rowBreakPoint): remove attempt to fix displayed
2953 math insets inside a manual label
2955 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2957 * lyxtext.h: remove BufferView* as first arg from almost all class
2959 * other files: adjust.
2961 2003-03-17 John Levon <levon@movementarian.org>
2965 * text2.C: more paint cleanups
2967 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2970 * rowpainter.C: remove "smart" background painting code
2972 2003-03-16 John Levon <levon@movementarian.org>
2977 * text3.C: add helper functions for setting refresh_row/y
2979 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
2981 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2982 newline inset which *can* get inserted in the pass_thru layouts.
2983 This is primarily for literate documents.
2985 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
2987 * buffer.C: increment LYX_FORMAT to 223
2989 2003-03-14 André Pönitz <poenitz@gmx.net>
2991 * textclass.h: prepare for environment handling, ws changes
2992 * lyxlayout.C: read latexheader and latexfooter tags
2994 2003-03-14 John Levon <levon@movementarian.org>
2996 * text2.C: rewrite ::status() a bit
2998 2003-03-13 John Levon <levon@movementarian.org>
3000 * lyxtext.h: add some docs
3002 2003-03-13 John Levon <levon@movementarian.org>
3007 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3009 2003-03-13 John Levon <levon@movementarian.org>
3011 * text3.C: fix appendix redrawing
3013 2003-03-13 John Levon <levon@movementarian.org>
3015 * text.C (setHeightOfRow):
3017 * rowpainter.C: make appendix mark have the text
3018 "Appendix" so the user knows what it is
3021 * LColor.C: s/appendixline/appendix/ from above
3023 2003-03-13 John Levon <levon@movementarian.org>
3025 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3027 * text.C: fix a getChar(pos) bug properly
3029 2003-03-13 Angus Leeming <leeming@lyx.org>
3032 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3033 Probably only temporary. Let's see how things pan out.
3035 * BufferView.C (unlockInset):
3036 * BufferView_pimpl.C (fitCursor):
3037 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3039 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3040 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3042 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3043 new functions that convert ParagraphParameters to and from a string.
3045 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3046 BufferView::Pimpl's dispatch.
3047 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3049 2003-03-13 André Pönitz <poenitz@gmx.net>
3053 * factory.C: make it aware of InsetEnv
3055 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3057 * text2.C (setCursor): never ask for one past last
3058 (setCursor): add some debugging messages.
3060 * text.C (singleWidth): never ask for one past last
3061 (singleWidth): ditto
3063 (rightMargin): ditto
3064 (rowBreakPoint): ditto
3065 (setHeightOfRow): ditto
3066 (prepareToPrint): ditto
3068 * rowpainter.C (paintBackground): never ask for one past last
3069 (paintText): never ask for one past last
3071 * paragraph_pimpl.C (getChar): make the assert stricter, never
3072 allow the one past last pos to be taken
3074 * paragraph.C (getChar): ws changes only
3076 * lyxrow.C (nextRowIsAllInset): never ask for one past last
3077 (numberOfSeparators): ditto
3078 (numberOfHfills): ditto
3080 2003-03-12 John Levon <levon@movementarian.org>
3086 * paragraph_funcs.C: fix per-buffer authorlists
3088 2003-03-12 John Levon <levon@movementarian.org>
3090 * text.C: fix newline in right address
3092 2003-03-12 Angus Leeming <leeming@lyx.org>
3094 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
3095 duplicate those in LyXFunc::dispatch.
3099 * ToolbarDefaults.C:
3100 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3101 Add LFUN_FONTFREE_UPDATE.
3103 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3104 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3106 * bufferview_func.[Ch]: several new functions to facilliate
3107 transfer of data to and from the character dialog.
3109 2003-03-12 John Levon <levon@movementarian.org>
3114 * paragraph_funcs.C:
3115 * paragraph_pimpl.C:
3119 * text3.C: remove META_NEWLINE in favour of an inset
3122 * rowpainter.C: remove paintNewline (done by inset)
3124 2003-03-12 John Levon <levon@movementarian.org>
3126 * paragraph_pimpl.C: complain about bad getChar()s
3127 for a while at least
3129 2003-03-12 John Levon <levon@movementarian.org>
3132 * buffer.C: move paragraph read into a separate function,
3133 a little renaming to reflect that.
3136 * bufferparams.C: remove the author_ids map, not necessary now
3139 * factory.C: moved Buffer::readInset to here
3141 * paragraph_funcs.h:
3142 * paragraph_funcs.C: readParagraph free function moved from
3145 * tabular.C: name change
3147 2003-03-12 John Levon <levon@movementarian.org>
3150 * ParagraphParameters.C: move par params input to
3153 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
3154 behave like a normal read from the stream wrt reading
3155 a line vs. a \\token
3157 2003-03-12 John Levon <levon@movementarian.org>
3160 * ParagraphParameters.h:
3161 * ParagraphParameters.C: move output code to a
3164 2003-03-12 John Levon <levon@movementarian.org>
3166 * BufferView.C (insertLyXFile):
3169 * tabular.C: use a parlist iterator for creating the
3172 2003-03-12 John Levon <levon@movementarian.org>
3174 * buffer.C: make current_change static local not
3177 2003-03-12 John Levon <levon@movementarian.org>
3179 * buffer.C: fix insertStringAsLines for change tracking
3181 2003-03-12 John Levon <levon@movementarian.org>
3188 * bufferparams.C: move author list into params. Rename some
3189 functions. Move the header reading into a separate token
3190 loop. Move the header token reading into BufferParams.
3192 2003-03-12 John Levon <levon@movementarian.org>
3194 * changes.C: put debug inside lyxerr.debugging() checks
3196 2003-03-11 André Pönitz <poenitz@gmx.net>
3198 * factory.C: make it aware of InsetHFill
3200 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3202 * buffer.C (latexParagraphs): move function from here...
3203 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
3206 2003-03-10 Angus Leeming <leeming@lyx.org>
3208 * LyXAction.C (init): fix bug in poplating array with multiple entries
3209 with the same LFUN (spotted by JMarc).
3211 2003-03-10 John Levon <levon@movementarian.org>
3214 * text2.C: move getColumnNearX() near its
3217 2003-03-10 John Levon <levon@movementarian.org>
3219 * text.C: fix break before a minipage
3221 2003-03-10 John Levon <levon@movementarian.org>
3223 * text.C: fix the last commit
3225 2003-03-09 John Levon <levon@movementarian.org>
3229 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
3230 bug 365 (don't break before insets unless needed). Don't
3231 return a value > last under any circumstances.
3233 2003-03-09 Angus Leeming <leeming@lyx.org>
3235 * BufferView_pimpl.C (trackChanges, dispatch): call
3236 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
3238 2003-03-09 Angus Leeming <leeming@lyx.org>
3240 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
3241 than Dialogs::showAboutlyx().
3243 2003-03-09 Angus Leeming <leeming@lyx.org>
3245 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
3246 than Dialogs::showTabularCreate().
3248 2003-03-09 John Levon <levon@movementarian.org>
3252 * text2.C: 3rd arg to nextBreakPoint was always the same.
3255 2003-03-08 John Levon <levon@movementarian.org>
3262 * text2.C: Remove the "main" bit from the "main body"
3265 2003-03-08 John Levon <levon@movementarian.org>
3267 * text.C (leftMargin): The left margin of an empty
3268 manual label paragraph should not include the label width
3271 * text.C (prepareToPrint): don't attempt to measure hfills
3272 for empty manual label paragraphs - the answer should be 0
3274 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3276 * CutAndPaste.C: remove commented code and reindent.
3278 2003-03-08 John Levon <levon@movementarian.org>
3281 * lyxfunc.C: move reloadBuffer()
3284 * BufferView.C: to here
3286 * lyxvc.C: add comment
3289 * vc-backend.C: call bv->reload() to avoid
3290 getStatus() check on MENURELOAD
3292 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
3294 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
3295 to an old format .dep file.
3297 2003-03-07 Angus Leeming <leeming@lyx.org>
3299 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
3300 when the LFUN_MOUSE_RELEASE should have been handled by
3301 inset->localDispatch.
3303 2003-03-07 Angus Leeming <leeming@lyx.org>
3305 * BufferView_pimpl.C (dispatch):
3306 * LyXAction.C (init):
3307 * ToolbarDefaults.C (init):
3309 * lyxfunc.C (getStatus):
3310 remove LFUN_INSET_GRAPHICS.
3312 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
3314 2003-03-07 Angus Leeming <leeming@lyx.org>
3317 * LyXAction.C (init):
3318 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
3320 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
3323 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
3325 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
3326 localDispatch method LFUN_INSET_DIALOG_UPDATE.
3328 2003-03-07 Angus Leeming <leeming@lyx.org>
3330 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
3333 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3335 * ParagraphList.C (front): new function
3338 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3340 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
3341 and top_row_offset_. removed var first_y.
3343 * text2.C (LyXText, removeRow):
3345 * BufferView_pimpl.C:
3346 use these methods instead of using first_y
3348 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3350 * text2.C (pasteSelection): adjust for checkPastePossible
3352 * CutAndPaste.C: remove Paragraph * buf and replace with
3353 ParagraphList paragraphs.
3354 (DeleteBuffer): delete
3355 (cutSelection): change the tc type to textclass_type
3356 (copySelection): change the tc type to textclass_type
3357 (copySelection): adjust for ParagraphList
3358 (pasteSelection): change the tc type to textclass_type
3359 (pasteSelection): adjust for Paragraphlist
3360 (nrOfParagraphs): simplify for ParagraphList
3361 (checkPastePossible): simplify for ParagraphList
3362 (checkPastePossible): remove unused arg
3364 * ParagraphList.C (insert): handle the case where there are no
3367 * CutAndPaste.h: make CutAndPaste a namespace.
3369 * text3.C (dispatch): adjust
3371 * text.C (breakParagraph): add a ParagraphList as arg
3373 * paragraph_funcs.C (breakParagraph): change to take a
3374 BufferParams and a ParagraphList as args.
3375 (breakParagraphConservative): ditto
3376 (mergeParagraph): ditto
3377 (TeXDeeper): add a ParagraphList arg
3378 (TeXEnvironment): ditto
3381 * buffer.C (readLyXformat2): adjust
3382 (insertStringAsLines): adjust
3383 (latexParagraphs): adjust
3385 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
3386 (cutSelection): adjust
3387 (pasteSelection): adjust
3389 * BufferView_pimpl.C (insertInset): adjust
3391 2003-03-05 Angus Leeming <leeming@lyx.org>
3394 * LyXAction.C (init):
3395 * BufferView_pimpl.C (dispatch):
3396 * lyxfunc.C (getStatus):
3397 remove LFUN_CHILD_INSERT.
3399 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
3401 2003-03-05 Angus Leeming <leeming@lyx.org>
3404 * LyXAction.C (init):
3405 * src/factory.C (createInset):
3406 * lyxfunc.C (getStatus):
3407 * text3.C (dispatch):
3408 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
3410 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
3412 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3414 * ParagraphList.C (insert): handle insert right before end()
3415 (erase): fix cases where it can be first or last paragraph.
3417 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3419 * paragraph_funcs.C (TeXEnvironment): remove all usage of
3420 Paragraph::next and Paragraph::previous
3423 * text.C (breakParagraph): adjust
3425 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
3426 BufferParams& as arg.
3427 (breakParagraph): use ParagraphList::insert
3428 (breakParagraphConservative): take a Buffer* instead of a
3429 BufferParams& as arg.
3430 (breakParagraphConservative): use ParagraphList::insert.
3432 * buffer.C (insertStringAsLines): un-const it
3433 (insertStringAsLines): adjust
3435 * ParagraphList.C (insert): new function
3437 * CutAndPaste.C (pasteSelection): adjust
3439 * text.C (backspace): adjust
3441 * tabular.C (SetMultiColumn): adjust
3443 * CutAndPaste.C (cutSelection): adjust
3444 (pasteSelection): adjust
3446 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
3447 Buffer const * as arg
3449 * ParagraphList.C (erase): new function
3450 * paragraph_funcs.C (mergeParagraph): use it
3451 (mergeParagraph): make it take a Buffer* instead of a
3452 BufferParams* as arg
3454 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
3456 (breakParagraphConservative): ditto
3458 * paragraph.h: remove the breakParagraph friend
3460 * paragraph.C (eraseIntern): new function
3461 (setChange): new function
3463 * paragraph_funcs.C (mergeParagraph): make it take a
3464 ParagraphList::iterator instead of a Paragraph *, adjust
3467 * paragraph.h: move an #endif so that the change tracking stuff
3468 also works in the NO_NEXT case.
3470 2003-03-04 Angus Leeming <leeming@lyx.org>
3473 * LyXAction.C: new LFUN_INSET_MODIFY.
3475 * BufferView_pimpl.C (dispatch): if an inset is found to be open
3476 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
3478 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3480 * several files: ws changes only
3482 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
3483 (TeXEnvironment): ditto
3486 * buffer.C (makeLaTeXFile): adjust
3487 (latexParagraphs): make it take ParagraphList::iterator as args
3489 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3491 * buffer.C (latexParagraphs): adjust
3493 * paragraph.C (TeXOnePar): move function...
3494 (optArgInset): move function...
3495 (TeXEnvironment): move function...
3496 * paragraph_pimpl.C (TeXDeeper): move function...
3497 * paragraph_funcs.C: ...here
3499 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
3501 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3503 * buffer.C (readInset): remove compability code for old Figure and
3506 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3508 * buffer.C: ws changes
3511 * BufferView_pimpl.C: ditto
3514 * bufferlist.h: ditto
3518 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3520 * converter.[Ch]: split into itself +
3523 * Makefile.am: += graph.[Ch] + format.[Ch]
3530 * lyxrc.C: added #include "format.h"
3532 2003-02-27 Angus Leeming <leeming@lyx.org>
3534 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
3537 * factory.C (createInset): add "label" to the factory.
3539 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
3540 string and do no more.
3542 2003-02-27 Angus Leeming <leeming@lyx.org>
3545 * LyXAction.C (init):
3546 * factory.C (createInset):
3547 * BufferView_pimpl.C (dispatch):
3548 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3550 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
3552 * lyxfunc.C (dispatch):
3553 * text3.C (dispatch): pass name to params2string.
3555 2003-02-26 Angus Leeming <leeming@lyx.org>
3557 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
3559 Rearrange the ~includes. Strip out the unnecessary ones.
3561 * factory.C (createInset): reformat.
3562 create new insets for the various LFUN_XYZ_APPLY lfuns.
3564 2003-02-26 John Levon <levon@movementarian.org>
3567 * lyxrow.C: add isParStart,isParEnd helpers
3569 * paragraph.h: make isInserted/DeletedText take refs
3571 * paragraph_funcs.h:
3572 * paragraph_funcs.C: remove #if 0'd code
3577 * text.C: use lyxrow helpers above.
3578 Move draw and paint routines to RowPainter.
3579 Make several methods use refs not pointers.
3580 Make backgroundColor() const.
3581 Add markChangeInDraw(), isInInset().
3582 Merge changeRegionCase into changeCase.
3583 Make workWidth() shouldn't-happen code into an Assert.
3586 * rowpainter.C: new class for painting a row.
3589 * vspace.C: make inPixels take a ref
3591 2003-02-26 Angus Leeming <leeming@lyx.org>
3593 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
3596 2003-02-25 John Levon <levon@movementarian.org>
3598 * ispell.C: give the forked command a more accurate name
3600 2003-02-22 John Levon <levon@movementarian.org>
3603 * toc.C: make TocItem store an id not a Paragraph *
3606 2003-02-21 Angus Leeming <leeming@lyx.org>
3608 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
3609 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
3610 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
3611 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
3612 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
3613 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
3615 * BufferView_pimpl.C (dispatch):
3616 * LyXAction.C (init):
3617 * factory.C (createInset):
3618 * lyxfunc.C (getStatus, dispatch):
3619 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
3621 2003-02-21 Angus Leeming <leeming@lyx.org>
3623 * BufferView_pimpl.C (MenuInsertLyXFile):
3624 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3625 * lyxfunc.C (menuNew, open, doImport):
3626 no longer pass a LyXView & to fileDlg.
3628 2003-02-21 Angus Leeming <leeming@lyx.org>
3630 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
3631 * LyXAction.C: change, BIBKEY to BIBITEM.
3632 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
3633 Change InsetBibKey to InsetBibitem.
3634 Change BIBKEY_CODE to BIBITEM_CODE.
3635 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3636 * factory.C: replace insetbib.h with insetbibitem.h.
3637 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3638 * paragraph.C: replace insetbib.h with insetbibitem.h.
3639 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
3640 Change bibkey() to bibitem().
3641 * text.C: remove insetbib.h.
3642 * text2.C: replace insetbib.h with insetbibitem.h.
3643 change bibkey() to bibitem().
3644 * text3.C: remove insetbib.h.
3645 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3647 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3649 * lyxrc.C (output): enclose user email in quotes (in case there are
3652 2003-02-18 John Levon <levon@movementarian.org>
3654 * buffer.h: add std::
3656 2003-02-17 John Levon <levon@movementarian.org>
3662 * pspell.C: reworking. Especially in ispell, a large
3663 number of clean ups and bug fixes.
3665 * lyxfunc.C: fix revert to behave sensibly
3667 2003-02-17 André Pönitz <poenitz@gmx.net>
3670 * commandtags.h: new LFUN_INSERT_BIBKEY
3680 * paragraph_func.C: remove special bibkey handling
3682 2003-02-17 John Levon <levon@movementarian.org>
3684 * text.C (Delete): fix case where delete at the end of
3685 the very first paragraph would not merge the pars
3687 2003-02-17 John Levon <levon@movementarian.org>
3689 * lyxrow.C: fix lastPrintablePos()
3691 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3693 * bufferparams.C (writeLaTeX): add a std:here
3695 * buffer.C: and remove a using directive there
3697 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3699 * buffer.C (makeLaTeXFile): move the code that generates the
3702 * bufferparams.C (writeLaTeX): ... in this new method
3704 * LaTeXFeatures.C (getEncodingSet): make const
3705 (getLanguages): make const
3707 * MenuBackend.C (binding): returns the binding associated to this
3709 (add): sets the status of each item by calling getStatus. Adds
3711 (read): add support for OptSubMenu
3712 (expand): remove extra separator at the end of expanded menu
3714 2003-02-15 John Levon <levon@movementarian.org>
3717 * BufferView_pimpl.C:
3719 * bufferlist.C: remove pointless BufferStorage bloat. Remove
3720 inset code that had no actual effect. Remove unneeded status
3723 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3725 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
3728 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
3730 * text.C (drawLengthMarker): also draw an arrow marker for
3731 symbolic lengths (medskip...)
3733 2003-02-14 John Levon <levon@movementarian.org>
3736 * tabular.C: better method names
3738 2003-02-14 John Levon <levon@movementarian.org>
3740 * BufferView_pimpl.C:
3745 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3746 it's a more accurate name. Remove some pointless uses.
3748 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3750 * text2.C (LyXText): change order of initilizers to shut off
3753 2003-02-14 John Levon <levon@movementarian.org>
3755 * buffer.C: use ParIterator for getParFromID()
3759 * paragraph_pimpl.h:
3760 * paragraph_pimpl.C: remove unused getParFromID()
3762 2003-02-14 John Levon <levon@movementarian.org>
3764 * buffer.C: remove some very old #if 0'd parse code
3766 2003-02-13 John Levon <levon@movementarian.org>
3770 * text2.C: move hfillExpansion(), numberOfSeparators(),
3771 rowLast(), rowLastPrintable(), numberofHfills(),
3772 numberOfLabelHfills() ...
3775 * lyxrow.C: ... to member functions here.
3780 * text.C: remove LyXText::beginningOfMainBody(), and call
3781 p->beginningOfMainBody() directly. Move the check for
3782 LABEL_MANUAL into the latter.
3789 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3795 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3796 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3798 2003-02-13 John Levon <levon@movementarian.org>
3800 * CutAndPaste.C: remove debug
3802 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3804 * paragraph.C (asString): remove two unused variables
3806 * lyxtextclass.C (readTitleType):
3808 (LyXTextClass): handle new members titletype_ and titlename_
3810 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3812 2003-02-09 John Levon <levon@movementarian.org>
3815 * buffer.C: replace hand-coded list with a map for the dep clean
3817 2003-02-08 John Levon <levon@movementarian.org>
3819 * LaTeX.C: consolidate code into showRunMessage() helper
3821 2003-02-08 John Levon <levon@movementarian.org>
3826 * BufferView.C: change setSelectionOverString() to setSelectionRange()
3827 and pass the size in explicitly
3829 * BufferView_pimpl.h:
3830 * BufferView_pimpl.C:
3832 * BufferView.C: add getCurrentChange()
3834 * BufferView_pimpl.h:
3835 * BufferView_pimpl.C: handle change lfuns
3837 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3838 for changes. Mark pasted paragraphs as new.
3840 * support/lyxtime.h:
3841 * support/lyxtime.C:
3842 * DepTable.C: abstract time_t as lyx::time_type
3845 * LColor.C: add colours for new text, deleted text, changebars
3847 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3848 package use "usenames" option.
3852 * LyXAction.C: add change lfuns
3856 * author.C: author handling
3859 * buffer.C: add a per-buffer author list, with first entry as
3860 current author. Handle new .lyx tokens for change tracking. Output
3861 author list to .lyx file. Output dvipost stuff to .tex preamble.
3862 Bump lyx format to 222.
3865 * bufferlist.C: add setCurrentAuthor() to reset current author details
3869 * bufferparams.C: add param for tracking
3871 * bufferview_funcs.C: output change info in minibuffer
3875 * changes.C: add change-tracking structure
3878 * debug.C: add CHANGES debug flag
3881 * lyxfind.C: add code for finding the next change piece
3884 * lyxrc.C: add user_name and user_email
3887 * lyxrow.C: add a metric for the top of the text line
3890 * text.C: implement accept/rejectChange()
3893 * text.C: paint changebars. Paint new/deleted text in the chosen
3894 colours. Strike through deleted text.
3898 * paragraph_pimpl.h:
3899 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3900 in the current change to the insert functions. Rework erase to
3901 mark text as deleted, adding an eraseIntern() and a range-based
3902 erase(). Implement per-paragraph change lookup and
3905 * paragraph_funcs.C: Fixup paste for change tracking.
3907 * tabular.C: mark added row/columns as new.
3909 * text.C: fix rowLast() to never return -1. Don't allow
3910 spellchecking of deleted text. Track transpose changes. Don't
3911 allow paragraph break or merge where appropriate.
3913 * text2.C: leave cursor at end of selection after a cut.
3915 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3917 * text.C (getLengthMarkerHeight):
3918 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3919 visible on screen too.
3921 2003-02-07 John Levon <levon@movementarian.org>
3923 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3925 2003-02-05 Angus Leeming <leeming@lyx.org>
3927 * lyxserver.C (read_ready): revert my patch of 11 September last year
3928 as it sends PC cpu through the roof. Presumably this means that
3929 the lyxserver will no longer run on an Alpha...
3931 2003-01-30 Angus Leeming <leeming@lyx.org>
3933 * factory.C (createInset): create an InsetCommandParam of type "index"
3934 and use it to 'do the right thing'.
3936 * text2.C (getStringToIndex): ensure that cursor position is always
3937 reset to the reset_cursor position.
3939 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3941 * lyxfunc.C (getStatus): "buffer-export custom" should never be
3944 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3948 * lyxfunc.C: Output messages with identical spelling, punctuation,
3951 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
3953 * MenuBackend.C (expandFormats): List only viewable export formats
3956 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3959 * lyxfunc.C (getStatus): Make sure that formats other than
3960 "fax" can also be disabled
3962 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3964 * text3.C (dispatch): put the lfuns that insert insets in 3
3965 groups, and call doInsertInset with appropriate arguments.
3966 (doInsertInset): new function, that creates an inset and inserts
3967 it according to some boolean parameters.
3969 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3971 * buffer.C (readFile): remember to pass on 'par' when calling
3972 readFile recursively.
3974 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3976 * MenuBackend.C (expandFormats): add "..." to import formats.
3978 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
3980 * paragraph.C (asString): Remove XForms RTL hacks.
3982 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
3983 * buffer.C: fix typo
3985 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3987 * Makefile.am (LIBS): delete var
3988 (lyx_LDADD): add @LIBS@ here instead.
3990 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
3992 * Clarify the meaning of "wheel mouse jump"
3994 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3996 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3999 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4001 * importer.C (Loaders): do not preallocate 3 elements in the
4002 vector, since one ends up with 6 elements otherwise
4004 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4006 * DepTable.C (write): write the file name as last element of the
4007 .dep file (because it may contain spaces)
4008 (read): read info in the right order
4010 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4012 * paragraph_pimpl.C (simpleTeXBlanks):
4013 (simpleTeXSpecialChars):
4014 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4016 * tabular.C (latex): add some missing case statements. Reindent.
4018 * MenuBackend.C (expandToc): remove unused variable.
4020 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4029 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4032 2003-01-05 John Levon <levon@movementarian.org>
4035 * BufferView.C: add getEncoding()
4038 * kbsequence.C: do not store last keypress
4041 * lyxfunc.C: store last keypress here instead. Pass encoding
4044 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4046 * lyx_main.C (init): remove annoying error message when following
4047 symbolic links (bug #780)
4049 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4051 * text.C (insertChar):
4052 * lyxrc.C (getDescription): remove extra spaces
4054 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4056 * lyxrc.C (getDescription): remove extra spaces
4058 2002-12-20 John Levon <levon@movementarian.org>
4060 * text3.C: hack fix for page up/down across tall rows
4062 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4064 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4067 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4069 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4070 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4071 thesaurus is not compiled in
4073 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4075 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
4077 2002-12-16 Angus Leeming <leeming@lyx.org>
4080 * lyx_main.C (init): remove override_x_deadkeys stuff.
4082 2002-12-12 John Levon <levon@movementarian.org>
4084 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4085 insert. Only remove shift modifier under strict
4088 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4090 * MenuBackend.C (expandToc): fix crash.
4092 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4094 * MenuBackend.C (expandToc): gettext on float names.
4096 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4098 * lyxlength.[Ch]: set default unit to UNIT_NONE,
4099 implement bool empty() [bug 490]
4101 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4103 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4105 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4107 * several files: ws changes
4109 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4111 * text2.C (setCounter): clean up a bit, use boost.format.
4112 (updateCounters): initialize par upon declaration.
4114 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4115 if the layout exists. We do not just store the layout any more.
4116 (SwitchLayoutsBetweenClasses): use boost.format
4118 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4120 * converter.C (convert): if from and to files are the same, use a
4121 temporary files as intermediary
4123 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4126 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
4128 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
4130 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
4132 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4134 * tabular.C (asciiPrintCell): use string(size, char) instead of
4137 * sgml.C (openTag): fix order of arguments to string constructor
4140 * lyxfunc.C (dispatch): use boost.format
4142 * lots of files: change "c" -> 'c'
4144 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
4146 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
4148 2002-11-25 Angus Leeming <leeming@lyx.org>
4150 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
4152 * lyx_main.C (init): compile fix.
4154 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4156 * lyx_cb.C (start): boost.formatify
4157 do not include <iostream>
4159 * lengthcommon.C: ws only
4161 * boost-inst.C,BoostFormat.h: add more explict instantations
4163 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4165 * lots of files: handle USE_BOOST_FORMAT
4167 2002-11-21 John Levon <levon@movementarian.org>
4169 * pspell.C: fix compile
4171 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4173 * lyxfunc.C (dispatch): use boost::format
4177 * lyxfont.C (stateText): use boost::format
4179 * lyx_main.C (LyX): use boost::format
4181 (queryUserLyXDir): ditto
4184 (typedef boost::function): use the recommened syntax.
4186 * importer.C (Import): use boost::format
4188 * debug.C (showLevel): use boost::format
4190 * converter.C (view): use boost::format
4195 * bufferview_funcs.C (currentState): use boost::format
4197 * bufferlist.C (emergencyWrite): use boost::format
4199 * buffer.C (readLyXformat2): use boost::format
4200 (parseSingleLyXformat2Token): ditto
4202 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
4204 * LaTeX.C (run): use boost::format
4206 * Chktex.C (scanLogFile): use boost::format
4208 * BufferView_pimpl.C (savePosition): use boost::format
4209 (restorePosition): ditto
4210 (MenuInsertLyXFile): ditto
4212 * BoostFormat.h: help file for explicit instation.
4214 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4216 * tabular.C (latex): Support for block alignment in fixed width
4219 2002-11-17 John Levon <levon@movementarian.org>
4221 * BufferView_pimpl.C:
4223 * lyxfunc.C: split filedialog into open/save
4225 2002-11-08 Juergen Vigna <jug@sad.it>
4227 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
4228 by my last patch (hopefully).
4230 2002-11-08 John Levon <levon@movementarian.org>
4239 * toc.C: ParConstIterator, and use it (from Lars)
4241 2002-11-07 Ben Stanley <bds02@uow.edu.au>
4243 * lyxtextclass.[Ch]: revise and add doxygen comments
4245 2002-11-07 John Levon <levon@movementarian.org>
4247 * text.C: fix progress value for spellchecker
4249 * toc.C: fix navigate menu for insetwrap inside minipage
4251 * paragraph_funcs.C: added FIXME for suspect code
4253 2002-11-07 John Levon <levon@movementarian.org>
4255 * BufferView_pimpl.C: fix redrawing of insets
4258 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4260 * text2.C (updateCounters): fix bug 668
4262 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
4264 * text3.C (dispatch): Do not make the buffer dirty when moving the
4267 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4269 * vc-backend.C: STRCONV
4272 * text2.C (setCounter): STRCONV
4274 * paragraph.C (asString): STRCONV
4276 * lyxlength.C (asString): STRCONV
4277 (asLatexString): ditto
4279 * lyxgluelength.C (asString): STRCONV
4280 (asLatexString): ditto
4282 * lyxfunc.C (dispatch): STRCONV
4285 * lyxfont.C (stateText): STRCONV
4287 * importer.C (Import): STRCONV
4289 * counters.C (labelItem): STRCONV
4290 (numberLabel): ditto
4291 (numberLabel): remove unused ostringstream o
4296 * bufferview_funcs.C (currentState): STRCONV
4298 * buffer.C (readFile): STRCONV
4299 (asciiParagraph): ditto
4300 (makeLaTeXFile): ditto
4302 * Spacing.C (writeEnvirBegin): STRCONV
4304 * LaTeXFeatures.C (getLanguages): STRCONV
4305 (getPackages): ditto
4307 (getBabelOptions): ditto
4308 (getTClassPreamble): ditto
4309 (getLyXSGMLEntities): ditto
4310 (getIncludedFiles): ditto
4314 (scanAuxFile): ditto
4317 * LString.h: add the STRCONV macros
4319 * BufferView_pimpl.C (savePosition): STRCONV
4320 (restorePosition): ditto
4321 (MenuInsertLyXFile): ditto
4323 * vc-backend.C (scanMaster): change from submatch[...] to
4326 * funcrequest.C: include config.h
4328 * factory.C: include config.h
4330 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
4332 * box.C: include config.h
4334 * LaTeX.C (scanAuxFile): change from submatch[...] to
4338 2002-10-25 Angus Leeming <leeming@lyx.org>
4340 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
4342 * ispell.[Ch] (setError): new method.
4343 * ispell.C (c-tor): move out child process into new class LaunchIspell.
4344 Use setError() insetead of goto END.
4346 * lyx_cb.C (AutoSave): move out child process into new class
4349 2002-10-30 John Levon <levon@movementarian.org>
4351 * text3.C: make start appendix undoable
4353 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
4355 * lyxlength.C (inPixels): Fix returned value.
4357 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
4360 2002-10-24 Angus Leeming <leeming@lyx.org>
4362 * lyxgluelength.h: no need to forward declare BufferParams
4363 or BufferView, so don't.
4365 2002-10-21 John Levon <levon@movementarian.org>
4367 * BufferView.C: menuUndo ->undo, redo
4369 * BufferView.h: document, remove dead, make some methods private
4371 * paragraph_funcs.h:
4372 * paragraph_funcs.C:
4373 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
4378 * sgml.C: move sgml open/close tag into sgml.C
4380 * bufferview_funcs.h: unused prototype
4383 * lyxfunc.C: remove unused
4386 * text.C: remove unused
4388 2002-10-21 John Levon <levon@movementarian.org>
4392 * BufferView_pimpl.h:
4393 * BufferView_pimpl.C: fix mouse wheel handling based on
4394 patch from Darren Freeman
4396 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
4398 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
4400 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
4402 * lyxlength.C (inPixels): Fix hanfling of negative length.
4403 Fix LyXLength::MU case.
4405 2002-10-16 John Levon <levon@movementarian.org>
4407 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
4409 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4411 * converter.C (view): add support for $$i (file name) and $$p
4412 (file path) for the viewer command. If $$i is not specified, then
4413 it is appended to the command (for compatibility with old syntax)
4415 2002-10-14 Juergen Vigna <jug@sad.it>
4417 * undo_funcs.C (textHandleUndo): alter the order in which the
4418 new undopar is added to the LyXText, as we have to set first
4419 the right prev/next and then add it as otherwise the rebuild of
4420 LyXText is not correct. Also reset the cursor to the right paragraph,
4421 with this IMO we could remove the hack in "redoParagraphs()".
4423 2002-10-09 Angus Leeming <leeming@lyx.org>
4425 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
4426 to turn off an optimisation if a new inset is to be inserted.
4428 2002-10-11 André Pönitz <poenitz@gmx.net>
4430 * lyxtext.h: make some functions public to allow access
4431 from inset/lyxtext for handling LFUN_PRIOR/NEXT
4433 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4435 * text3.C (dispatch): when changing layout, avoid an infinite loop
4438 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4440 * lyxrc.C (read): treat a viewer or converter command of "none" as
4443 * MenuBackend.C (expandFormats): for an update, also allow the
4444 formats that are not viewable
4446 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
4447 script if it is newer than the lyxrc.defaults in user directory
4449 2002-10-07 André Pönitz <poenitz@gmx.net>
4451 * text.C: Vitaly Lipatov's small i18n fix
4453 2002-09-25 Angus Leeming <leeming@lyx.org>
4455 * ispell.h: doxygen fix.
4457 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
4459 * buffer.h (readFile): Add a new argument to the method, to allow
4460 reading of old-format templates.
4462 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4464 * toc.C (getTocList): Get TOC from InsetWrap.
4466 2002-09-16 John Levon <levon@movementarian.org>
4468 * lyxfunc.C: check tabular for cut/copy too
4470 2002-09-12 John Levon <levon@movementarian.org>
4475 * factory.C: add header
4477 * paragraph_funcs.h:
4478 * paragraph_funcs.C: cleanup
4480 2002-09-11 John Levon <levon@movementarian.org>
4482 * PrinterParams.h: odd/even default to true
4484 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4486 * PrinterParams.h: update printer parameters for new xforms dialog
4488 2002-09-11 Angus Leeming <leeming@lyx.org>
4490 * lyxserver.C (read_ready): re-write to make it more transparent
4491 and to make it work in coherent fashion under Tru64 Unix.
4493 2002-09-11 André Pönitz <poenitz@gmx.net>
4497 * text3.C: implement LFUN_WORDSEL
4499 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4501 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
4502 make floatlist_ a boost::shared_ptr<FloatList>
4504 * lyxtextclass.C: include FloatList.h
4505 (LyXTextClass): initialize floatlist_
4506 (TextClassTags): add TC_NOFLOAT
4507 (Read): match "nofloat" to TC_NOFLOAT and use it.
4508 (readFloat): modify call to floatlist_
4512 * FloatList.[Ch] (FloatList): remove commented out float
4514 (erase): new function
4516 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4518 * MenuBackend.C (expandToc): fix crash when there is no document
4521 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
4523 * many files: Add insetwrap.
4525 2002-09-09 John Levon <levon@movementarian.org>
4527 * text2.C: remove confusing and awkward depth wraparound
4529 2002-09-09 John Levon <levon@movementarian.org>
4531 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
4534 * buffer.C: remove getIncludeonlyList()
4537 * lyxfunc.C: remove headers
4539 2002-09-09 Juergen Vigna <jug@sad.it>
4541 * text.C (getColumnNearX): fix form Michael this is most
4542 probably a cut&paste bug.
4544 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4546 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
4548 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
4549 references, ws changes.
4551 * text2.C (init): update counters after init
4552 (insertParagraph): no need to set counter on idividual paragraphs.
4553 (setCounter): access the counters object in the textclass object
4554 on in the buffer object.
4555 (updateCounters): ditto
4557 * lyxtextclass.C: include counters.h, add variable ctrs_ as
4558 shared_ptr<Counters> to avoid loading counters.h in all
4560 (LyXTextClass): initialize ctrs_
4561 (TextClassTags): add TC_COUNTER, and ...
4562 (Read): use it here.
4563 (CounterTags): new tags
4564 (readCounter): new function
4565 (counters): new funtion
4566 (defaultLayoutName): return a const reference
4568 * counters.C (Counters): remove contructor
4569 (newCounter): remove a couple of unneeded statements.
4570 (newCounter): simplify a bit.
4571 (numberLabel): some small formatting changes.
4573 * buffer.[Ch]: remove all traces of counters, move the Counters
4574 object to the LyXTextClass.
4576 2002-09-06 Alain Castera <castera@in2p3.fr>
4578 * tabular.C: uses \tabularnewline; uses >{...} construct from array
4579 package to set the horizontal alignment on fixed width columns.
4582 * lyx_sty.h: added tabularnewline macro def.
4584 * LaTeXFeatures.C: added NeedTabularnewline macro feature
4586 2002-09-06 John Levon <levon@movementarian.org>
4588 * LyXAction.C: tooltips for sub/superscript
4590 * MenuBackend.C: a bit more verbose
4592 * lyxfunc.C: tiny clean
4594 * undo_funcs.C: document undo_frozen
4596 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4598 * counters.C (Counters): add missing algorithm counter.
4600 * text2.C (setCounter): lookup the counter with layouts latexname
4601 instead of by section number.
4602 (setCounter): use a hackish way to lookup the correct enum
4604 a float name->type change
4605 reset enum couners with counter name directly instead of depth value.
4607 * counters.C (Counters): remove the push_backs, change to use the
4608 float type not the float name.
4609 (labelItem): remove unused string, float name->type change
4611 * counters.h: don't include vector, loose the enums and sects vectors
4613 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4615 * lyxtextclass.C (TextClassTags): add TC_FLOAT
4616 (Read): add float->TC_FLOAT to textclassTags
4617 (Read): and handle it in the switch
4618 (readFloat): new function
4620 * FloatList.C (FloatList): comment out the hardcoded float
4623 * lyxlayout.h: ws change.
4625 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
4627 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
4629 2002-09-03 Angus Leeming <leeming@lyx.org>
4631 * BufferView_pimpl.h: qualified name is not allowed in member
4632 declaration: WorkArea & Pimpl::workarea() const;
4634 * factory.C: added using std::endl directive.
4636 * text3.C: added using std::find and std::vector directives.
4638 2002-08-29 André Pönitz <poenitz@gmx.net>
4641 * text2.C: remove unused member number_of_rows
4644 * BufferView2.C: remove file, move contents to...
4645 * BufferView.C: ... here
4647 * BufferView_pimpl.C:
4648 * factory.C: move more inset creation to factory
4650 * vspace.C: avoid direct usage of LyXText, ws changes
4653 don't provide direct access to WorkArea, use two simple
4654 acessors haveSelction() and workHeight() instead
4657 2002-08-29 John Levon <levon@movementarian.org>
4659 * BufferView_pimpl.C (dispatch): do not continue when
4662 2002-08-28 André Pönitz <poenitz@gmx.net>
4664 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
4667 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
4669 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4671 * buffer.C: increment LYX_FORMAT to 221
4673 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
4674 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
4676 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
4678 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
4680 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4682 * factory.C (createInset): use LyXTextClass::floats
4684 * MenuBackend.C (expandFloatListInsert):
4685 (expandFloatInsert):
4688 * text2.C (setCounter):
4690 * LaTeXFeatures.C (useFloat):
4691 (getFloatDefinitions):
4693 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
4695 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
4696 floatlist_, with accessor floats().
4698 * FloatList.h: remove global FloatList
4700 2002-08-26 André Pönitz <poenitz@gmx.net>
4702 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
4706 * BufferView_pimpl.C:
4707 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
4709 2002-08-25 John Levon <levon@movementarian.org>
4711 * LyXAction.C: fix margin note description
4713 2002-08-24 John Levon <levon@movementarian.org>
4717 * bufferview_funcs.C:
4719 * undo_funcs.C: cleanups
4721 * lyxfunc.C: disable CUT/COPY when no selection
4723 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4725 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
4726 in "enum UNIT"; e.g. PTW for Percent of TextWidth
4728 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
4729 Add backward compatibility to "mono", "gray" and "no".
4731 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
4733 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
4734 (and file_format >= 200).
4736 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4738 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
4740 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4742 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4744 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
4746 * BufferView_pimpl.C:
4753 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4754 inset and code to make it work with the paragraph code. The inset
4755 can be anywhere in the paragraph, but will only do the expected
4756 thing in LaTeX if the layout file contains the parameter line
4758 (or more generally, a nonzero value) for that layout.
4760 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4762 * paragraph.h: remove the declaration of undefined counters class
4765 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
4767 * text2.C (setCounter): fixed enumeration mis-count as reported by
4768 Dr. Richard Hawkins.
4770 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4772 * paragraph_funcs.h: remove some unneeded includes
4774 * text.C (backspace): pasteParagraph now in global scipe
4776 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
4777 (pasteSelection): ditto
4779 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4780 * paragraph_funcs.C (pasteParagraph): ... here
4782 2002-08-20 André Pönitz <poenitz@gmx.net>
4784 * commandtags.h: new LFUNs for swapping/copying table row/colums
4787 * lyxfunc.C: support for new lfuns
4789 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4792 * buffer.[Ch]: remove NO_COMPABILITY stuff
4794 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
4796 * boost.C (throw_exception): new file, with helper function for
4797 boost compiled without exceptions.
4802 * ParameterStruct.h:
4803 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4805 * bufferlist.C (emergencyWriteAll): use boost bind
4807 * BufferView_pimpl.C (moveCursorUpdate): remove inline
4809 * text.C: include paragraph_funcs.h
4810 (breakParagraph): breakParagraph is now in global scope
4812 * paragraph_funcs.[Ch]: new files
4814 * paragraph.C (breakParagraph,breakParagraphConservative): move to
4817 * buffer.C: include paragraph_funcs.h
4818 (insertStringAsLines): breakParagraph is now in global scope
4820 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4823 * CutAndPaste.C: include paragraph_funcs.h
4824 (cutSelection): breakParagraphConservative is now in global scope
4825 (pasteSelection): ditto
4827 * buffer.h: declare oprator== and operator!= for
4828 Buffer::inset_iterator
4830 * bufferlist.C (emergencyWrite): don't use fmt(...)
4832 * text3.C: add using std::endl
4834 * BufferView.C (moveCursorUpdate): remove default arg
4836 2002-08-20 André Pönitz <poenitz@gmx.net>
4838 * buffer.[Ch]: move inline functions to .C
4841 * BufferView_pimpl.C:
4843 * buffer.[Ch]: use improved inset_iterator
4846 * paragraph.[Ch]: write one paragraph at a time
4848 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
4850 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4851 style if style is not specified.
4853 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4855 * text2.C (setCounter): when searching for right label for a
4856 caption, make sure to recurse to parent insets (so that a caption
4857 in a minipage in a figure float works) (bug #568)
4859 2002-08-20 André Pönitz <poenitz@gmx.net>
4861 * text3.C: new file for LyXText::dispatch() and helpers
4863 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4865 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4867 2002-08-19 André Pönitz <poenitz@gmx.net>
4870 * text.C: new LyXText::dispatch()
4872 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4874 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
4876 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4878 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4881 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4883 * Makefile.am: use $(variables) instead of @substitutions@
4885 2002-08-15 André Pönitz <poenitz@gmx.net>
4888 * BufferView_pimpl.C: streamlining mathed <-> outer world
4892 * LyXAction.C: remove unused LFUN_MATH
4894 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4896 * paragraph.[Ch]: add some NO_NEXT ifdefs.
4898 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4900 * paragraph.C (Paragraph): reformat a bit
4901 (cutIntoMinibuffer): use builtin InsetList function instad of
4905 * buffer.C: include boost/bind.hpp, add using std::for_each
4906 (writeFileAscii): use ParagraphList iterators
4907 (validate): use for_each for validate traversal of paragraphs
4908 (getBibkeyList): use ParagraphList iterators
4909 (resizeInsets): use for_each to resizeInsetsLyXText for all
4911 (getParFromID): use ParagraphList iterators
4913 * BufferView2.C (lockInset): use paragraph list and iterators
4915 2002-08-14 John Levon <levon@movementarian.org>
4917 * lyxserver.C: remove spurious xforms include
4919 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4921 * lyxfunc.C (getStatus): disable math-extern outside of math mode
4923 2002-08-13 André Pönitz <poenitz@gmx.net>
4926 * lyxfunc.C: further cleaning
4928 2002-08-13 André Pönitz <poenitz@gmx.net>
4930 * funcrequest.h: new constructor
4932 * funcrequest.C: move stuff here from .h
4935 * BufferView_pimpl.C:
4938 * lyxfunc.C: subsequent changes
4940 * lyxfunc.h: new view() member function
4942 * lyxfunc.C: subsequent changes
4944 2002-08-13 Angus Leeming <leeming@lyx.org>
4947 * BufferView_pimpl.C:
4955 changes due to the changed LyXView interface that now returns references
4956 to member variables not pointers.
4958 2002-08-13 Angus Leeming <leeming@lyx.org>
4960 * WordLangTuple (word, lang_code): return references to strings,
4965 * lyxtext.h: forward-declare WordLangTuple.
4970 * text.C: #include "WordLangTuple.h".
4973 * text.C: (selectNextWordToSpellcheck): constify return type.
4975 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
4981 * paragraph_pimpl.h:
4984 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4986 Made updateCounter always count from start of buffer, and removed
4987 second argument (par).
4988 Reverted floats number display to '#'. Perhaps I'll try again when the
4989 code base is sanitized a bit.
4991 2002-08-12 Angus Leeming <leeming@lyx.org>
4993 * buffer.[Ch] (getLabelList): constify.
4995 2002-08-07 André Pönitz <poenitz@gmx.net>
4997 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4999 * funcrequest.h: extension to keep mouse (x,y) position
5001 2002-08-12 Juergen Vigna <jug@sad.it>
5003 * BufferView2.C (insertErrors): forbid undo when inserting error
5006 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5008 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5010 * ParagraphList.[Ch]: new files
5012 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5014 * BufferView2.C (lockInset): ParagraphList changes
5017 * bufferlist.C: ditto
5021 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5023 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5024 unused class variable counter_,
5026 * paragraph.[Ch] (getFirstCounter): delete unused function
5028 * counters.C: include LAssert.h
5029 (reset): add a new function with no arg, change other version to
5030 not have def. arg and to not allow empty arg.
5032 * text2.C (setCounter): remove empty arg from call to Counters::reset
5034 2002-08-11 John Levon <levon@movementarian.org>
5036 * Makefile.am: add WordLangTuple.h
5038 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5040 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5041 lyxfunc.C lyxlex_pimpl.C: ws changes only.
5043 * insets/insettext.C: InsetList changes
5045 * graphics/GraphicsSupport.C (operator()): InsetList changes
5047 * toc.C (getTocList): InsetList changes
5049 * paragraph_pimpl.[Ch]: InsetList changes
5051 * paragraph.[Ch]: InsetList changes
5053 * buffer.C (inset_iterator): InsetList changes
5054 (setParagraph): ditto
5055 * buffer.h (inset_iterator): ditto
5056 * iterators.C (operator++): ditto
5057 * iterators.h: ditto
5059 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5061 * InsetList.[Ch]: new files, most InsetList handling moved out of
5064 * BufferView2.C (removeAutoInsets): InsetList changes
5066 (ChangeInsets): ditto
5068 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5070 * paragraph_pimpl.h (empty): new function
5072 * paragraph.[Ch] (empty): new function
5074 * other files: use the new Paragraph::empty function
5076 2002-08-09 John Levon <levon@movementarian.org>
5078 * lyxtext.h: remove unused refresh_height
5080 2002-08-09 John Levon <levon@movementarian.org>
5087 * paragraph.C: move sgml char escaping out of paragraph
5090 * paragraph.C: remove id setter
5094 * paragraph_pimpl.C: remove dead tex_code_break_column
5096 * bufferview_funcs.C: small cleanup
5098 * lyxfunc.C: remove dead proto
5100 * lyxtext.h: make some stuff private. Remove some dead stuff.
5102 * lyxgluelength.C: make as[LyX]String() readable
5104 2002-08-08 John Levon <levon@movementarian.org>
5109 * ToolbarDefaults.C:
5112 * toc.C: lyxaction cleanup
5114 2002-08-08 John Levon <levon@movementarian.org>
5116 * BufferView2.C: small cleanup
5119 * lyxfind.C: move unnecessary header into the .C
5121 2002-08-08 John Levon <levon@movementarian.org>
5123 * funcrequest.h: just tedious nonsense
5126 * lyx_main.C: cleanups
5129 * vspace.C: remove dead header lyx_main.h
5131 2002-08-07 Angus Leeming <leeming@lyx.org>
5134 * paragraph_pimpl.h:
5135 Forward declare class Counters in paragraph.h by moving the ctrs member
5136 variable into Paragraph::Pimpl.
5137 (counters): new method, returning a reference to pimpl_->ctrs.
5139 * text2.C: ensuing changes.
5141 2002-08-07 John Levon <levon@movementarian.org>
5143 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
5145 * BufferView_pimpl.C: announce X selection on double/triple
5148 * lyx_main.C: use correct bool in batch dispatch
5150 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
5152 2002-08-07 André Pönitz <poenitz@gmx.net>
5154 * funcrequest.h: new class to wrap a kb_action and its argument
5157 * BufferView_pimpl[Ch]:
5161 * lyxrc.C: subsequent changes
5164 2002-08-07 John Levon <levon@movementarian.org>
5166 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
5167 document options change.
5169 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5174 * makefile.am: move counters functionality over from
5175 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
5177 2002-08-06 John Levon <levon@movementarian.org>
5179 * WordLangTuple.h: new file for word + language code tuple
5190 * BufferView2.C: use WordLangTuple
5193 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
5195 2002-08-06 John Levon <levon@movementarian.org>
5197 * lyx_main.C: fix cmdline batch handling
5199 2002-08-06 André Pönitz <poenitz@gmx.net>
5201 * lyxrc.C: set default for show_banner to true
5203 2002-08-06 John Levon <levon@movementarian.org>
5205 * pspell.C: fix a crash, and allow new aspell to work
5207 2002-08-06 John Levon <levon@movementarian.org>
5210 * kbmap.C: small cleanup
5213 * vspace.C: add const
5215 2002-08-05 John Levon <levon@movementarian.org>
5217 * LyXAction.C: back to tabular-insert
5219 2002-08-04 John Levon <levon@movementarian.org>
5222 * BufferView.C: cosmetic change
5224 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
5234 * BufferView2.C: purge all "Lyx" not "LyX" strings
5237 * lyxcursor.C: attempt to add some documentation
5242 * ToolbarDefaults.C:
5243 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
5244 merge with LFUN_TABULAR_INSERT
5251 * pspell.C: split up i/pspell implementations into separate
5252 files, many cleanups
5254 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
5256 * text2.C: some cleanup
5258 * lyxfunc.C: don't check for isp_command == "none" any more, it
5259 didn't make any sense
5261 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5266 * makefile.am: move counters functionality over
5267 from text2.C/paragraph.[Ch] to counters.[Ch], and
5269 2002-08-02 John Levon <levon@movementarian.org>
5271 * buffer.C: s/lyxconvert/lyx2lyx/
5273 2002-08-02 Angus Leeming <leeming@lyx.org>
5275 * lyxlex.C: revert John's change as it breaks reading of the user
5278 2002-08-02 Angus Leeming <leeming@lyx.org>
5280 * importer.C (Import):
5281 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
5282 changes due to LyXView::view() now returning a boost::shared_ptr.
5284 2002-08-02 John Levon <levon@movementarian.org>
5286 * lyxlex.C: small cleanup
5288 2002-08-02 John Levon <levon@movementarian.org>
5290 * text2.C (status): small cleanup, no logic change
5292 2002-08-01 John Levon <levon@movementarian.org>
5295 * buffer.C (writeFile): don't output alerts, caller
5299 * lyx_cb.C: from above
5301 * lyxfunc.C: allow to open non-existent files
5303 2002-07-31 John Levon <levon@movementarian.org>
5305 * lyxserver.C: don't let incidental errors get
5308 2002-07-30 John Levon <levon@movementarian.org>
5310 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
5312 2002-07-30 John Levon <levon@movementarian.org>
5315 * lyxserver.C: remove I/O callback too
5317 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5319 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
5322 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5324 * many files: strip,frontStrip -> trim,ltrim,rtrim
5326 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5328 * PrinterParams.h: remove extern containsOnly, and include
5329 support/lstrings.h instead.
5331 * LaTeX.C (scanAuxFile): modify because of strip changes
5333 * buffer.C (makeLaTeXFile): ditto
5334 * bufferparams.C (writeFile): ditt
5335 * lyxfont.C (stateText): ditto
5336 * lyxserver.C (read_ready): ditto
5337 * vc-backend.C (scanMaster): ditto
5339 * BufferView_pimpl.h: ws changes
5341 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
5343 2002-07-26 André Pönitz <poenitz@gmx.net>
5345 * kb_sequence.C: remove unnedred usings
5347 2002-07-26 Juergen Vigna <jug@sad.it>
5349 * lyxfind.C (LyXReplace): we have to check better if the returned
5350 text is not of theLockingInset()->getLockingInset().
5352 2002-07-25 Juergen Vigna <jug@sad.it>
5354 * lyxfind.C (LyXReplace): don't replace if we don't get the
5357 * undo_funcs.C (createUndo): remove debugging code.
5359 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
5361 * buffer.C (parseSingleLyXformat2Token): Use default placement
5362 when reading old floats.
5364 * FloatList.C (FloatList): Change the default placement of figure
5365 and tables to "tbp".
5367 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
5369 * MenuBackend.C: using std::max
5371 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5373 * MenuBackend.C (expandToc):
5374 (expandToc2): code moved from xforms menu frontend. It is now
5375 generic and TOCs are transparent to menu frontends.
5377 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5379 * toc.C (getTocList): protect against buf=0
5381 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
5382 Menu as first parameter. Now, this calls itself recursively to
5383 expand a whole tree (this will be useful for TOC handling)
5384 (expandFloatInsert): remove 'wide' version of floats
5386 * MenuBackend.h (submenuname): returns the name of the submenu.
5387 (submenu): returns the submenu itself, provided it has been
5388 created by MenuBackend::expand
5390 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5392 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
5393 insets which have noFontChange == true. (bug #172)
5395 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5397 * BufferView_pimpl.C: add connection objects and use them...
5400 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5402 * MenuBackend.C (expandLastfiles):
5405 (expandFloatListInsert):
5406 (expandFloatInsert):
5407 (expand): split expand in parts
5409 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5411 * lyx_gui.C: use lyx_gui::exit()
5413 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5415 * LyXAction.C: show the failing pseudo action
5417 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
5419 * buffer.C (readFile): Run the lyxconvert script in order to read
5422 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5426 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
5428 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5432 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
5434 2002-07-22 Herbert Voss <voss@lyx.org>
5437 * lyxlength.[Ch]: add support for the vertical lengths
5439 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
5441 * toc.[Ch]: std:: fixes
5443 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5445 * lyxrc.C: do not include lyx_main.h
5447 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
5453 * BufferView2.C: include "lyxlex.h"
5456 * bufferparams.h: do not #include "lyxlex.h"
5458 * lyxtextclasslist.C (Add): remove method
5459 (classlist): renamed to classlist_
5461 * paragraph_pimpl.C:
5465 * bufferview_funcs.C:
5470 * toc.C (getTocList): use BufferParams::getLyXTextClass
5472 * toc.C (getTocList): use InsetFloat::addToToc
5474 * toc.[Ch]: new files, containing helper functions to handle table
5477 * lyxfunc.C (dispatch): no need to remove spaces around command
5479 (getStatus): handle LFUN_SEQUENCE by returning the status of the
5480 first command of the sequence; it is not very clever, but I do not
5481 have a better idea, actually
5483 * LyXAction.C (LookupFunc): make sure to remove space at the
5484 beginning and end of the command
5486 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5488 * MenuBackend.C (getMenubar): new method: return the menubar of
5490 (read): treat differently reading of menu and menubar (in
5491 particular, the menubar has no name now)
5492 (Menu::menubar): remove
5494 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
5497 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5499 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
5500 a bibitem inset in a RTL paragraph.
5502 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
5504 * paragraph_pimpl.C: constify
5506 * BufferView_pimpl.C:
5508 * lyxfunc.C: fix dispatch in a nicer way
5510 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5512 * lyxfunc.C (dispatch):
5513 * BufferView_pimpl.C:
5514 * BufferView_pimpl.h:
5516 * BufferView.h: rename Dispatch() to dispatch()
5518 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
5520 * lyxlayout.C (Read): honor DependsOn tag
5522 * lyxlayout.[Ch] (depends_on): new method
5524 * version.C.in: update lyx_docversion
5526 * LaTeXFeatures.C (getMacros): only define \LyX when needed
5528 * paragraph.C (validate): remove from here...
5529 * paragraph_pimpl.C (validate): ... and move here
5530 (isTextAt): make it const
5532 * buffer.C (getLists): ws cleanup
5534 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5536 * language.C (read): Use iso8859-1 encoding in latex_lang
5537 (this prevents LyX from crashing when using iso10646-1 encoding).
5539 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5541 * text2.C (toggleInset): if cursor is inside an inset, close the
5542 inset and leave cursor _after_ it
5544 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5546 * lyxfunc.C: move minibuffer completion handling out of here
5548 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5550 * BufferView_pimpl.C:
5551 * LaTeX.C: fix dispatch calls
5553 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
5555 * text.C (drawChars): Fix Arabic text rendering.
5557 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
5561 * lyxfunc.C: remove message-push/pop
5565 * lyxfunc.C: rationalise some code by removing verboseDispatch
5566 in favour of a bool argument to dispatch()
5568 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5570 * lyx_main.C (init): make sure to read symlinks as absolute paths
5572 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5575 * lyxfunc.C: no need for commandshortcut to be a member
5577 2002-07-15 André Pönitz <poenitz@gmx.net>
5579 * converter.C: add support for $$s (scripts from lib/scripts dir)
5580 * lyx_main.C: white space
5582 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5586 * lyxrc.C: remove second exit confirmation
5588 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5593 * BufferView_pimpl.h:
5594 * BufferView_pimpl.C:
5595 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
5597 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5599 * MenuBackend.C (expand): add numeric shortcuts to document menu
5601 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
5603 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5605 * lyxfont.C (setLyXFamily):
5612 * buffer.C (asciiParagraph): use ascii_lowercase
5614 2002-07-15 Mike Fabian <mfabian@suse.de>
5616 * lyxlex_pimpl.C (search_kw):
5617 * lyxlex.C (getLongString):
5618 * converter.h (operator<):
5619 * converter.C (operator<):
5620 * buffer.C (parseSingleLyXformat2Token):
5622 * ToolbarDefaults.C (read):
5623 * MenuBackend.C (checkShortcuts):
5625 * LColor.C (getFromGUIName):
5626 (getFromLyXName): use the compare_ascii_no_case instead of
5627 compare_no_case, because in turkish, 'i' is not the lowercase
5628 version of 'I', and thus turkish locale breaks parsing of tags.
5630 2002-07-16 Angus Leeming <leeming@lyx.org>
5632 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
5633 now takes a Buffer const & argument.
5635 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
5637 * BufferView.C (resize): check there's a buffer to resize
5639 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
5641 * lyxfunc.C: remove dead code
5644 * lyxserver.C: use lyx_guii::set_read_callback
5646 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
5648 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
5649 an inset in a RTL paragraph.
5651 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5653 * lyxfunc.C: repaint after a font size update
5655 2002-07-15 André Pönitz <poenitz@gmx.net>
5657 * lyxlength.C: inBP should be able to return negative values
5659 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5661 * lyxfunc.C: use lyx_gui::update_fonts()
5663 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5665 * lyxfunc.C: use lyx_gui::update_color()
5667 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5673 * lyxrc.C: remove file->new asks for name option, and let
5674 buffer-new take an argument
5676 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5678 * BufferView_pimpl.C: remove unneeded extra repaint()
5680 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
5682 * LyXAction.C: allow command-sequence with NoBuffer
5684 * lyxfunc.C: don't insist on trailing ';' for command-sequence
5686 2002-07-10 Angus Leeming <leeming@lyx.org>
5688 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
5690 2002-07-09 Angus Leeming <leeming@lyx.org>
5692 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
5694 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5696 * lengthcommon.h: whitespace
5698 * lyxfunc.C: update scrollbar after goto paragraph
5700 * lyxtext.h: factor out page break drawing, and fix it so
5701 page break/added space paints as selected nicely
5703 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5705 * BufferView_pimpl.C: add FIXMEs, clean up a little
5707 2002-07-09 André Pönitz <poenitz@gmx.net>
5709 * lyxfont.[Ch]: support for wasy symbols
5711 2002-07-08 André Pönitz <poenitz@gmx.net>
5713 * BufferView_pimpl.C: apply John's patch for #93.
5715 2002-07-05 Angus Leeming <leeming@lyx.org>
5717 * BufferView_pimpl.C (buffer): generate previews if desired.
5719 * LColor.h: add "preview" to the color enum.
5721 * LColor.C (LColor): add a corresponding entry to the items array.
5723 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
5726 2002-07-05 Angus Leeming <leeming@lyx.org>
5728 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
5729 The body of the code is now in the method that is passed an ostream &
5730 rather than a file name.
5731 Pass an additional only_preamble parameter, useful for the forthcoming
5734 2002-07-03 André Pönitz <poenitz@gmx.net>
5736 * lyxfunc.C: simplify getStatus() a bit for math stuff
5738 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5740 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5742 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5744 * text.C (changeRegionCase): do not change case of all the
5745 document when region ends at paragraph end (bug #461)
5747 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5749 * paragraph.C (startTeXParParams):
5750 (endTeXParParams): add \protect when necessary
5752 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5754 * BufferView_pimpl.C (workAreaExpose): remove warning
5756 2002-06-27 Angus Leeming <leeming@lyx.org>
5758 * Makefile.am: add lyxlayout_ptr_fwd.h.
5760 2002-06-26 André Pönitz <poenitz@gmx.net>
5762 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
5764 2002-06-25 Angus Leeming <leeming@lyx.org>
5766 * lyxfunc.C (dispatch): Comment out the call to
5767 grfx::GCache::changeDisplay. The method no longer exists now that the
5768 pixmap generation part of the graphics loader has been moved into
5771 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5773 * text2.C: layout as layout
5775 * text.C: layout as layout
5777 * tabular.C (OldFormatRead): layout as layout
5779 * paragraph_pimpl.C (TeXDeeper): layout as layout
5780 (realizeFont): layout as layout
5782 * paragraph.C (writeFile): layout as layout
5783 (validate): layout as layout
5784 (getFont): layout as layout
5785 (getLabelFont): layout as layout
5786 (getLayoutFont): layout as layout
5787 (breakParagraph): layout as layout
5788 (stripLeadingSpaces): layout as layout
5789 (getEndLabel): layout as layout
5790 (getMaxDepthAfter): layout as layout
5791 (applyLayout): layout as layout
5792 (TeXOnePar): layout as layout
5793 (simpleTeXOnePar): layout as layout
5794 (TeXEnvironment): layout as layout
5795 (layout): layout as layout
5796 (layout): layout as layout
5798 * lyxtextclass.C (compare_name): new functor to work with
5799 shared_ptr, layout as layout
5800 (Read): layout as layout
5801 (hasLayout): layout as layout
5802 (operator): layout as layout
5803 (delete_layout): layout as layout
5804 (defaultLayout): layout as layout
5806 * lyxlayout_ptr_fwd.h: new file
5808 * lyxlayout.C (Read): layout as layout
5810 * lyx_cb.C (MenuInsertLabel): layout as layout
5812 * bufferlist.C (newFile): layout as layout
5814 * buffer.C (readLyXformat2): layout as layout
5815 (parseSingleLyXformat2Token): layout as layout
5816 (insertStringAsLines): layout as layout
5817 (asciiParagraph): layout as layout
5818 (latexParagraphs): layout as layout
5819 (makeLinuxDocFile): layout as layout
5820 (simpleLinuxDocOnePar): layout as layout
5821 (makeDocBookFile): layout as layout
5822 (simpleDocBookOnePar): layout as layout
5823 (getLists): layout as layout
5825 * LaTeXFeatures.C (getTClassPreamble): layout as layout
5827 * CutAndPaste.C (cutSelection): layout as layout
5828 (pasteSelection): layout as layout
5829 (SwitchLayoutsBetweenClasses): layout as layout
5831 * BufferView_pimpl.C (Dispatch): layout as layout
5832 (smartQuote): layout as layout
5834 * BufferView2.C (unlockInset): layout as layout
5836 2002-06-24 André Pönitz <poenitz@gmx.net>
5838 * lyxfunc.C: fix #487
5840 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5844 * lyxfunc.C: remove display_shortcuts, show_banner
5846 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5848 * Buffer_pimpl.C: oops, update on resize
5850 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5857 * BufferView.C: use repaint()
5859 * BufferView_pimpl.h:
5860 * BufferView_pimpl.C: s/updateScreen()/repaint()/
5861 as it's a clearer description. Remove superfluous
5864 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5866 * text.C: fix bug 488. Not ideal, but getting
5867 getWord() to work properly for the insets that
5868 matter is more difficult ...
5870 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5872 * BufferView_pimpl.C:
5875 * lyxfunc.C: remove the six million index lyxfuncs to just
5876 one, and DTRT (bug 458)
5878 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5882 * BufferView_pimpl.h:
5883 * BufferView_pimpl.C: clean up resize() stuff,
5884 and unnecessary updateScreen()s
5886 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5890 * BufferView_pimpl.h:
5891 * BufferView_pimpl.C:
5894 * minibuffer.C: remove focus management of workarea,
5895 not needed. Use screen's greyOut()
5897 2002-06-17 Herbert Voss <voss@lyx.org>
5899 * converter.C: (convert) do not post a message, when converting
5900 fails, let the calling function decide what to do in this case
5902 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
5904 * lyxfunc.C: tidy up a little
5906 2002-06-16 <alstrup@diku.dk>
5908 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5909 Got rid of FORMS_H_LOCATION include. Now we are
5912 2002-06-15 LyX Development team <lyx@rilke>
5914 * buffer.[Ch] (sgmlOpenTag):
5915 (sgmlCloseTag): Added support for avoiding pernicious mixed
5916 content. Return number of lines written.
5919 (makeDocBookFile): Fixed calls to sgml*Tag.
5920 Simple white space clean.
5922 (simpleDocBookOnePar): Simple white space clean.
5924 * tabular.[Ch] (docBook): Renamed to docbook and got another
5925 argument to related with the pernicious mixed content.
5927 (docbookRow): Fixed calls for docbook inset method.
5929 2002-06-15 Lyx Development team <larsbj@birdstep.com>
5931 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5932 so it's X11 independent.
5936 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5938 2002-06-15 Lyx Development team <lyx@electronia>
5940 * intl.h: Renamed getTrans to getTransManager.
5942 2002-06-14 Angus Leeming <leeming@lyx.org>
5944 * Makefile.am: nuke forgotten stl_string_fwd.h.
5946 2002-06-12 Angus Leeming <leeming@lyx.org>
5948 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5950 2002-06-13 Angus Leeming <leeming@lyx.org>
5953 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5955 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
5957 * kbmap.C (getiso): add support for cyrillic and greek
5959 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5963 * BufferView_pimpl.h:
5964 * BufferView_pimpl.C: move bogus scrolling logic
5967 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5970 * BufferView_pimpl.C: view->resize() change
5972 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5974 * BufferView_pimpl.C: topCursorVisible
5977 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5981 * lyx_gui.C: move to frontends/
5985 * lyx_main.C: changes from above
5987 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5994 * lyx_main.C: minor tidy
5996 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5998 * BufferView_pimpl.h:
5999 * BufferView_pimpl.C:
6001 * BufferView.C: make painter() const,
6004 * BufferView2.C: use screen() accessor
6007 * lyx_main.C: some minor cleanup
6009 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6011 * BufferView_pimpl.h:
6012 * BufferView_pimpl.C: remove enter/leaveView,
6015 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6020 * BufferView_pimpl.h:
6021 * BufferView_pimpl.C: only construct screen once,
6024 * lyxrc.C: remove pointless comment
6026 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6029 * BufferView.C: remove active() and belowMouse()
6031 * BufferView_pimpl.h:
6032 * BufferView_pimpl.C: use workarea() not workarea_,
6033 and make it use a scoped_ptr instead
6035 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6037 * lyx_gui.C: add debug message on BadWindow
6039 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6041 * sp_spell.C: fdopen is not part of the C++ standard.
6043 * paragraph.C (InsetIterator): use >= instead of ==
6045 2002-06-07 Angus Leeming <leeming@lyx.org>
6047 Fixes needed to compile with Compaq cxx 6.5.
6048 * BufferView_pimpl.C:
6055 * lyxtextclasslist.C:
6060 all c-library variables have been moved into namespace std. Wrap
6061 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6066 Add a using std::abs declaration.
6068 * kbmap.h (modifier_pair):
6069 * paragraph.h (InsetTable, InsetList):
6070 * lyxfont.h (FontBits):
6071 type definition made public.
6073 * bufferlist.C (emergencyWriteAll): the compiler complains that
6074 there is more than one possible lyx::class_fun template to choose from.
6075 I re-named the void specialisation as lyx::void_class_fun.
6077 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6079 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6080 the compiler is is unable to find tostr in write_attribute.
6082 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6084 * buffer.C (sgmlError): hide #warning
6086 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6088 * xtl/*: get rid of xtl, which is not in use anyway
6090 * LyXAction.C (init):
6091 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
6092 were unimplemented xtl experimentation
6094 2002-06-04 André Pönitz <poenitz@gmx.net>
6096 * lyxfunc.C: disable array operation on simple formulae
6098 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
6100 * converter.C: constify a bit
6102 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
6104 * lyx_gui.C: check xforms version correctly
6106 2002-04-30 Herbert Voss <voss@lyx.org>
6108 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6111 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
6113 * lyxvc.C: fix bug 416 (make sure buffer is saved before
6114 attempt to register it with a VCS)
6116 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6118 * lyx_main.C (init): honor variables LYX_DIR_13x and
6121 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6125 * lyx_main.C: fix a crash on bad command line,
6126 and give a useful exit status on error
6128 * lyxfunc.C (doImport): allow -i lyx to work
6130 2002-03-30 André Pönitz <poenitz@gmx.net>
6132 * lyxfunc.C: mathed font changes
6134 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6149 * trans_mgr.h: srcdocs, and some minor cleanups
6151 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6153 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
6154 call getFont all the time)
6156 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6158 * switch from SigC signals to boost::signals
6160 2002-05-29 André Pönitz <poenitz@gmx.net>
6162 * paragraph_pimpl.C (getChar): don't call size() too often...
6164 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6166 * paragraph_pimpl.C (insertChar): do not try to update tables when
6167 appending (pos == size())
6169 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
6170 in order to reduce drastically the number of comparisons needed to
6171 parse a large document
6173 2002-05-29 André Pönitz <poenitz@gmx.net>
6179 * textclasslist.[Ch]:
6180 * sp_ispell.h: whitespace change
6182 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6184 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
6185 lyxaction directly now.
6187 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
6191 * lyxvc.C: remove unused headers
6193 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6200 * undo_funcs.C: some cleanups. Use shared_ptr
6201 and a template for the undo stacks.
6203 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6205 * BufferView_pimpl.h:
6206 * BufferView_pimpl.C:
6213 * text2.C: use key_state/mouse_state
6215 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6217 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
6220 * chset.C: change include order
6221 (loadFile): use boost regex and get rid of LRegex and LSubstring
6223 * Makefile.am (BOOST_LIBS): new variable
6226 * LaTeX.C: change include order.
6227 (scanAuxFile): use boost regex and get rid of LRegex and
6231 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6236 * FontInfo.C: moved to frontends/xforms/
6239 * FontLoader.C: moved into frontends for GUIIzation
6244 * lyxfunc.C: changes from above
6246 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6248 * LColor.C: remove spurious X include
6250 * BufferView_pimpl.C:
6255 * text2.C: move font metrics to frontends/
6257 2002-05-24 Juergen Vigna <jug@sad.it>
6259 * undo_funcs.C (textHandleUndo): fix the cursor selection after
6260 setting the undo_cursor.
6262 * ParagraphParameters.h: include local includes first.
6264 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6266 * BufferView_pimpl.C:
6267 * BufferView_pimpl.h:
6271 * screen.C: move WorkArea into frontends/
6277 * BufferView2.C: move LyXScreen into frontends/
6281 * lyx_gui.C: move lyxlookup into frontends/xforms/
6283 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6286 * BufferView_pimpl.C:
6296 * bufferview_funcs.C:
6309 * vc-backend.C: move LyX/XFormsView into frontends/
6311 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6323 * text2.C: move Painter to frontends/
6325 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6327 * buffer.C: comment out some some code that depend upon lyx_format
6330 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
6331 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
6333 * buffer.h (NO_COMPABILITY): turn off compability
6335 * ColorHandler.C: include scoped_array.hpp
6337 * font.C: Use more specific smart_ptr header.
6340 * ShareContainer.h: ditto
6344 * BufferView_pimpl.h: ditto
6345 * ColorHandler.h: ditto
6347 * kbmap.C (defkey): change call to shared_ptr::reset
6349 2002-05-21 Juergen Vigna <jug@sad.it>
6351 * buffer.C (insertErtContents): fix to insert ert asis if it is
6352 non empty. Skip it completely if it contains only whitespaces.
6354 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
6356 * BufferView_pimpl.C:
6357 * BufferView2.C: clear selection on paste (bug 393)
6359 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6361 * DepTable.C: include ctime
6363 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
6365 * buffer.C (latexParagraphs): Add new argument (moving_arg).
6367 2002-05-14 Juergen Vigna <jug@sad.it>
6369 * text.C (breakParagraph): fixed function to honor the keepempty
6370 layout in the right maner and also to permit the right breaking
6371 algorithm on empty or non empyt keepempty paragraphs.
6373 * paragraph.C (breakParagraph): we have to check also if the par
6374 is really empty (!size()) for isempty otherwise we do the wrong
6377 2002-05-10 Juergen Vigna <jug@sad.it>
6379 * buffer.[Ch] : The following are only changes to the ert
6380 compatibility read reading old LaTeX layout and font stuff and
6381 convert it to ERTInsets.
6383 * buffer.h: added isErtInset().
6385 * buffer.C (struct ErtComp): add a fromlayout bool to check
6386 if we're inside a LaTeX layout.
6387 (isErtInset): new helper function.
6388 (insertErtContents): look for other ert insets before this one
6389 and insert the contents there, so that we don't have subsequent
6390 ERT insets with nothing between them. This way we create only one
6391 inset with multiple paragraphs. Also check if we don't insert only
6392 spaces ' ' as they are ignored anyway afterwards in the .tex file
6393 so if we have only spaces we will ignore this latex part in the
6395 (parseSingleLyXformat2Token \\layout): better compatibility when
6396 reading layout-latex stuff.
6397 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
6399 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
6400 stuff after reading the inset only get the information back from
6403 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
6405 * buffer.C (makeLaTeXFile): Put language options after loading babel.
6407 * LaTeXFeatures.C (getBabelOptions): New method.
6409 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6411 * BufferView_pimpl.C (Dispatch): work around missing argument for
6414 2002-05-08 Juergen Vigna <jug@sad.it>
6416 * text.C (leftMargin): handle paragraph leftindent.
6418 * paragraph.C (writeFile): write the new \\leftindent tag.
6419 (validate): handle leftindent code.
6420 (TeXEnvironment): handle paragraphleftindent code again.
6422 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
6424 * buffer.C (parseSingleLyXformat2Token): added compatibility code
6425 for paragrap_extra indent code and new token \\leftindent.
6426 (latexParagraphs): handle the leftindent as environment.
6428 * ParameterStruct.h: added leftindent support.
6430 * ParagraphParameters.C (leftIndent): added support functions for
6431 the paragraph left indent.
6433 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
6436 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
6438 * paragraph.C (isRightToLeftPar): Return false for a paragraph
6441 * text.C (computeBidiTables): No bidi in insetERT.
6443 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
6446 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6448 * version.C.in: pre 5
6450 2002-05-02 José Matos <jamatos@fep.up.pt>
6451 * buffer.C (makeDocBookFile): white space changes, add newline to
6453 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
6455 * tabular.C (docBook): fix typo.
6457 2002-05-03 Juergen Vigna <jug@sad.it>
6459 * screen.C (drawFromTo): recalculate the rowpointer if we had a
6460 change in LyXText as we can not be sure it was not freed.
6461 (drawOneRow): remove unused code.
6463 * text.C (drawInset): redo the calculation of the need_break_row as
6464 it could have a row which was already freed.
6465 (draw): look at the return value of drawInset and return false if
6466 it also returned false.
6467 (paintRowText): look at the return value of draw and return false if
6468 it also returned false.
6470 * lyxtext.h: added bool return type to drawInset() and draw() so that
6471 if we have a change in the row so that the rowbreak has to be redone
6472 we abort drawing as it will be called again.
6474 2002-05-02 Juergen Vigna <jug@sad.it>
6476 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
6477 a change in the maintext also if we're inside an inset.
6478 (Dispatch): set the cursor again after a break line and after the
6479 screen has been updated as it could be we're in a different row.
6481 * text2.C (fixCursorAfterDelete): check to make sure we don't request
6482 to set the cursor behind the pargraph with > size().
6483 (setCursor): check also for the same paragraph when checking where
6484 to put the cursor if we have a NFR inset.
6486 * buffer.C (parseSingleLyXformat2Token): move the compatibility
6487 parts of layout read further up as it still was in the wrong
6490 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6492 * screen.C (drawFromTo): change sine fullRebreak always return
6495 * buffer.C (parseSingleLyXformat2Token): reindent some
6497 * BufferView_pimpl.C (update): change since fullRebreak always
6499 (Dispatch): git rid of the last hardcoded "Standard"s.
6501 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6503 * text2.[Ch] (fullRebreak): make it return void now that we always
6506 2002-04-30 Juergen Vigna <jug@sad.it>
6508 * buffer.C (parseSingleLyXformat2Token): reset the font before the
6509 ert compatibility check for "latex" layout.
6511 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
6513 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
6514 minipages: use col% instead of p%, and also use the current font.
6515 (makeLaTeXFile): Fix use babel condition.
6516 (parseSingleLyXformat2Token): Correct font when reading old floats.
6518 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
6520 * BufferView_pimpl.C (Dispatch): Check that float type exists when
6521 inserting list of floats.
6523 2002-04-25 Herbert Voss <voss@lyx.org>
6525 * MenuBackend.C (expand): don't add the graphics extensions to the
6528 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6530 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
6531 non-existing layout, do not complain if it was the default layout
6532 of the original class (bug #342)
6534 2002-04-24 Juergen Vigna <jug@sad.it>
6536 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
6537 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
6539 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
6541 * buffer.C (getBibkeyList): If using \bibliography, return the
6542 option field with the reference itself. Enables us to provide natbib
6543 support when using \bibliography.
6545 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
6547 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
6549 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
6550 natbib is provided by the LaTeX class.
6552 2002-04-23 Juergen Vigna <jug@sad.it>
6554 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
6557 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
6559 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6561 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
6563 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
6564 ensuremath around textordmasculine, textordfeminine and
6567 2002-04-19 Juergen Vigna <jug@sad.it>
6569 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
6570 reinitializing the buffer otherwise row-dimensions may be wrong.
6571 (update): reset also the selection cursors if they do exits otherwise
6572 their x/y positions may be wrong.
6574 * text2.C (cursorDown): don't enter the inset if we came from a row
6575 above and are one row over the inset.
6577 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
6578 really leaving an inset.
6580 2002-04-18 Juergen Vigna <jug@sad.it>
6582 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
6583 of the selected paragraph does not have the selected layout also if
6586 * text2.C (setLayout): fixed bug which did not change last selected
6589 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
6590 changed the read and substituted \\end_float with \\end_inset!
6592 * BufferView_pimpl.C (cursorPrevious):
6593 (cursorNext): fixed to make it work with rows heigher than the work
6594 area without moving the cursor only the draw of the row.
6595 (workAreaMotionNotify): fix jumping over high rows.
6597 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6599 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
6602 2002-04-16 Juergen Vigna <jug@sad.it>
6604 * text2.C (setCursor): set also the irow().
6605 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
6607 (cursorDown): support for locking an inset if the x_fix value goes
6608 inside it. That way I can transverse insets too with cursor up/down.
6610 * lyxrow.h: added irow helper function same as other (i) functions.
6612 * BufferView_pimpl.C (cursorPrevious):
6613 (cursorNext): fixed for insets!
6615 2002-04-15 Juergen Vigna <jug@sad.it>
6617 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
6618 position otherwise it is wrong in some cases.
6620 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
6621 inside the inset before the call.
6623 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
6625 * buffer.[Ch] (getBibkeyList): make it const.
6627 2002-04-12 Juergen Vigna <jug@sad.it>
6629 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
6631 * text2.C (getCursorX): new helper function
6632 (setCursor): compute also ix_
6633 (setCursorFromCoordinates): set also ix.
6635 * lyxcursor.h: added ix_ and helper functions.
6637 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
6639 * buffer.C (insertStringAsLines): dont break paragraph if the this
6640 paragraph is inside an inset which does not permit it!
6642 * text.C (breakParagraph): honor keepempty flag and break the paragraph
6643 also with no chars on this paragraph.
6644 (paintRowText): only paint stuff if it's inside the workarea!
6646 * paragraph.C (breakParagraph): honor keepempty flag and break the
6647 paragraph always below not above.
6649 * BufferView2.C (unlockInset): update the paragraph layout on inset
6650 unlock as we changed paragraph in such a case.
6652 * lyxfind.C (LyXFind): clear the former selection if not found!
6654 * text2.C (insertInset): freeze Undo after setUndo so that it is not
6655 again called in insertChar().
6657 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
6658 an inset which uses the whole row!
6659 (rightMargin): ditto.
6660 (insertChar): force a rebreak if we inserted an inset!
6662 2002-03-28 Herbert Voss <voss@lyx.org>
6664 * lyxlength.[Ch]: add inBP() to get the right PS-point
6665 units (BigPoint). With inPixels we have rounding errors
6667 2002-04-11 Juergen Vigna <jug@sad.it>
6669 * text2.C (setCursorFromCoordinates): set iy to the right value.
6670 (setCursor): add check if row->previous exists!
6672 * buffer.C (parseSingleLyXformat2Token): reset font after read of
6673 an old float_type as this was the case in the old code!
6675 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
6677 * BufferView2.C (showLockedInsetCursor): use iy
6678 (fitLockedInsetCursor): ditto
6680 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
6681 locked insets as there we have the right value now.
6683 * lyxcursor.C: added iy_ variable and iy functions to set to the
6684 baseline of cursor-y of the locked inset.
6686 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
6687 (setCursor): fixed for insets which need a full row.
6689 * text.C (rowLastPrintable): don't ignore the last space when before
6690 an inset which needs a full row.
6691 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
6692 as last character of a row when before a inset which needs a full row.
6694 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6696 * version.C.in: update date
6698 * text2.C (fullRebreak): try to always return true and see what
6701 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6703 * MenuBackend.C (expand): use Floating::listName
6705 * FloatList.C (FloatList): add listName argument to the built-in
6708 * Floating.[Ch]: add listName member, which is the 'List of XXX'
6709 text associated with the float.
6711 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6713 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
6715 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6717 * ShareContainer.h: add a couple of missing typenames.
6719 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
6721 * lyxrc.C (getDescription): use _() correctly rather than N_().
6723 2002-03-28 Herbert Voss <voss@lyx.org>
6725 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
6726 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
6728 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6730 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
6731 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
6733 2002-03-29 Juergen Vigna <jug@sad.it>
6735 * lyxfunc.C (dispatch): add a missing fitCursor call.
6737 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
6738 it was scrolled by a cursor move, so return the bool status.
6740 * BufferView.C (fitCursor): return the bool flag also to the outside
6741 world as this is needed.
6743 * screen.C (toggleToggle): don't subtract the offset if it's positive.
6745 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6746 call the edit() as it is not needed (and wrong) IMO.
6747 (workAreaButtonPress): set the screen_first variable before evt.
6748 unlock the inset as this may change screen_first and then we have
6749 a wrong y position for the click!
6751 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6753 * MenuBackend.C (expand): another translation that I missed
6755 2002-03-28 Juergen Vigna <jug@sad.it>
6757 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6759 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6761 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6763 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
6765 * MenuBackend.C (expand): fix export/view/update when there is no
6768 2002-03-27 Herbert Voss <voss@lyx.org>
6770 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
6773 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6775 * bufferview_funcs.C (currentState): only show paragraph number
6776 for is DEVEL_VERSION is set.
6778 * lyxfunc.C (dispatch): put warning in INFO channel
6780 * MenuBackend.C (expand): translate the name of floats
6782 * FloatList.C (FloatList): mark the float names for translation
6784 * converter.C (convert): use LibScriptSearch
6786 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6788 * MenuBackend.C (defaults): fix default menu (we might as well get
6791 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6793 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6796 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6798 * lyxvc.C: reorder includes.
6800 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
6802 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6805 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
6807 * CutAndPaste.C: change layouts earlier on paste
6808 to avoid crashing when calling getFont()
6810 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
6812 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6815 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6817 * WorkArea.C: remove 'Pending' debug message.
6819 * most files: ws cleanup
6821 * buffer.[Ch]: ws changes
6823 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6825 2002-03-21 Juergen Vigna <jug@sad.it>
6827 * tabular.C (SetMultiColumn): collapse also the contents of the
6828 cells and set the last border right. Added a Buffer const * param.
6830 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6832 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6835 2002-03-19 Juergen Vigna <jug@sad.it>
6837 * text2.C (clearSelection): reset also xsel_cache.
6839 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6840 where it needs to be called (John tells us to do so too :)
6841 (selectionLost): reset sel_cache.
6843 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6845 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6847 * text2.C (setCursorIntern): put debuging code in INSETS channel
6849 2002-03-19 André Pönitz <poenitz@gmx.net>
6851 * lyxfunc.C: tiny whitespace change
6853 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6855 * ToolbarDefaults.C (init):
6856 * LyXAction.C (init):
6858 * BufferView_pimpl.C (Dispatch):
6859 * lyxfunc.C (dispatch): remove LFUN_DEPTH
6861 2002-03-19 Allan Rae <rae@lyx.org>
6863 * exporter.C (Export): removeAutoInsets before doing anything else.
6864 While I've just introduced a dependency on BufferView this really is
6865 the best place to clean the buffer otherwise you need to cleanup in
6866 a dozen places before calling export or cleanup in a dozen functions
6869 * converter.C (runLaTeX):
6870 (scanLog): Better handling of removeAutoInsets and screen updates.
6872 * lyxfunc.C (dispatch): small whitespace changes
6874 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6876 * WorkArea.C (C_WorkAreaEvent): return a value.
6877 (event_cb): return 1 if we handled the event, 0 otherwise.
6879 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6881 2002-03-18 Juergen Vigna <jug@sad.it>
6883 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6884 (GetAdditionalWidth): ditto.
6888 * BufferView2.C (copy): use getLyXText() so that we do it inside an
6889 inset if we're there actually (probably not used right now but this
6890 is the direction to go for unifying code).
6891 (paste): disable code to clear the selection.
6893 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6894 inside an InsetText and move the check further up as it is in the
6897 * text2.C (pasteSelection): set a selection over the pasted text.
6899 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
6901 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6902 and libgraphics to build on Cygwin.
6904 2002-03-15 Juergen Vigna <jug@sad.it>
6906 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6907 inserting an Inset into the paragraph. I know this is not the best
6908 fix but we already use current_view in CutAndPaste so we will remove
6909 all of it's using at the same time.
6911 * buffer.C (sgmlError): deactivated function till it is rewritten in
6912 the right mode, now it can create problems.
6914 * paragraph.C (isLineSeparator): check if getInset returns != 0,
6915 before accessing it.
6917 2002-03-14 Juergen Vigna <jug@sad.it>
6919 * undo_funcs.C (textHandleUndo): do the right thing when updating
6920 the inset after the undo/redo.
6922 * text2.C (setCursor): just some testcode for #44 not ready yet.
6924 * undo_funcs.C (textHandleUndo): set the next() and previous()
6925 pointers of the paragraph to 0 before deleting otherwise we have
6926 problems with the Paragraph::[destructor].
6928 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6929 on a paragraph insertion.
6931 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6933 * buffer.C (asciiParagraph): use += operator for char append to
6936 * paragraph.C (getFontSettings): compare >= not just >
6937 (highestFontInRange): ditto
6940 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6942 * paragraph.C: change several algorithm to be more appripriate for
6943 the problem domain. This is lookip in FontList and in the InsetList.
6945 2002-03-13 André Pönitz <poenitz@gmx.net>
6948 * LyXAction.C: remove unused LFUN_MATH_MACROARG
6950 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
6955 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6957 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6959 * Painter.C (display): anon helper function, adjust code for this
6961 (pixmap): remove function.
6963 * Painter.h: remove private display variable.
6965 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6967 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
6969 * WorkArea.[Ch]: remove figinset_canvas cruft.
6971 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6973 * lyxtextclass.C (operator): add one item cache optimization.
6975 * bufferlist.h: doxy changes
6977 * bufferlist.C: ws changes
6979 * DepTable.[Ch] (ext_exist): place const in the right spot.
6981 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6983 (workAreaExpose): call resizeInsets when the with BufferView changes.
6984 (Dispatch): adjust for protectedBlank removal
6985 (specialChar): call updateInset if the insert went ok.
6987 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6988 specialChar instead.
6990 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6992 * BufferView.h: doxy change
6994 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6996 * lyxtextclass.C (operator[]): remove non-const version
6997 (defaultLayout): remove non-const version
6999 2002-03-12 Juergen Vigna <jug@sad.it>
7001 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7002 did resize the LyXText too.
7004 * buffer.C (readLyXformat2): set layout information on newly allocated
7007 * tabular.C (OldFormatRead): set layout information on the paragraph.
7009 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7011 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7013 2002-03-11 Juergen Vigna <jug@sad.it>
7015 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7017 (resizeCurrentBuffer): force also the insets to resize themselfes.
7018 (moveCursorUpdate): fixed up for InsetText.
7020 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
7023 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7024 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7025 value of Dialogs::tooltipsEnabled().
7026 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7028 2002-03-08 Juergen Vigna <jug@sad.it>
7030 * BufferView_pimpl.C (updateInset): update inset inside inset also
7031 if it isn't inside theLockingInset().
7033 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7035 * buffer.C (asciiParagraph): redo some of the word and line length
7037 (getLists): look for Caption instead of caption.
7039 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7041 * buffer.C (Buffer): initialize niceFile to true
7044 (makeDocBookFile): make sure niceFile is true on exit
7046 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7048 * buffer.C (makeLaTeXFile): escape ~ in \input@path
7050 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
7052 * LyXSendto.C: remove.
7053 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7054 * lyx_gui.C: remove now-redundant comment.
7055 * ColorHandler.h: remove forward declaration of class WorkArea.
7056 * lyxfunc.C: remove #include "WorkArea.h".
7058 2002-03-07 Juergen Vigna <jug@sad.it>
7060 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7061 got moved away with the DEPM and also set the inset_owner always
7062 right which before could have been omitted.
7064 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7066 * buffer.C (parseSingleLyXformat2Token): use default layout is the
7067 wanted layout is not found.
7069 2002-03-07 Juergen Vigna <jug@sad.it>
7071 * CutAndPaste.C (cutSelection): another layout settings forgotten.
7073 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7075 * paragraph.C (breakParagraph): use default layout not layout of
7077 (Paragraph): clear ParagraphParameters.
7079 2002-03-06 Juergen Vigna <jug@sad.it>
7081 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7082 otherwise it would not be a valid lenght. Fixed a special case in
7083 the minipage compatibility read where we end the document with a
7086 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7087 was set as it could be 0 for InsetTexts first entry.
7089 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7091 * paragraph.C (writeFile): if layout is empty write out
7092 defaultLayoutName().
7094 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
7095 file without named layout we set layout to defaultLayoutName().
7097 2002-03-06 Juergen Vigna <jug@sad.it>
7099 * CutAndPaste.C (copySelection): set layout for new paragraph.
7101 * text.C (prepareToPrint): leave ERT inset left aligned
7102 (leftMargin): don't indent paragraphs inside ERT insets
7104 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7106 * paragraph.C (breakParagraph): dont call clear do the work manually
7108 * paragraph.[Ch] (clear): remove function
7110 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7112 * paragraph.C (Paragraph): dont call clear, the work has already
7115 * lyxtextclass.C (operator): assert if n is empty
7117 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7118 work manually instead.
7120 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7122 * BufferView_pimpl.C: protect selectionLost against text == 0
7124 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7126 * text.C (breakParagraph): fix a setting layout to '0' problem.
7128 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7130 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
7131 final location of file, for the included files, and graphics.
7133 2002-03-05 Juergen Vigna <jug@sad.it>
7135 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
7137 2002-03-04 Juergen Vigna <jug@sad.it>
7139 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
7141 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
7142 last column of multicolumn cells.
7143 (SetWidthOfMulticolCell): recalculate NMC and real columns.
7145 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
7147 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
7148 file if it doesn't go to a temporary file.
7150 * buffer.C (sgmlOpenTag):
7151 (sgmlCloseTag): remove extra newline insertion.
7153 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7155 * text.C (getRowNearY): comment out debug msg
7157 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7159 * text2.C: first -> first_y
7161 * text.C (getRowNearY): add some attemts at a possible
7162 optimization, not working.
7164 * tabular.[Ch]: add BufferParams to several function so that newly
7165 created paragraph can be initialized to he default layotu for the
7168 * tabular-old.C (ReadOld): add buf->params to call of Init
7170 * screen.C: rename text->first to text->first_y
7172 * paragraph.C (breakParagraph): always set layout in the broken
7175 * lyxtextclass.C (Read): remove lowercase
7178 (delete_layout): ditto
7180 * lyxtext.h: rename first -> first_y
7182 * lyxlayout.C (Read): remove lowercase
7185 (obsoleted_by): ditto
7187 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
7189 * buffer.C (insertErtContents): add params are to InsetERT
7190 (parseSingleLyXformat2Token): add code to check if a paragraphs
7191 layout really exist.
7192 (parseSingleLyXformat2Token): add params to several inset
7194 (asciiParagraph): remove lowercase, do the layout comparisons with
7197 * BufferView_pimpl.C (cursorNext): first -> first_y
7198 (resizeCurrentBuffer): first -> first_y
7199 (updateScrollbar): first -> first_y
7200 (scrollCB): first -> first_y
7201 (workAreaMotionNotify): first -> first_y
7202 (workAreaButtonPress): first -> first_y
7203 (checkInsetHit): first -> first_y
7204 (cursorPrevious): first -> first_y
7205 (cursorNext): first -> first_y
7206 (Dispatch): add buffer_->params to severl inset contructors
7208 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7210 * lyxlayout.C (Read): remove some debug info that I forgot.
7212 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
7213 clean up the code slightly.
7214 (makeLinuxDocFile): ditto
7215 (makeDocBookFile): ditto
7217 * text2.C: layout as string
7219 * text.C: layout as string
7221 * paragraph_pimpl.C: layout as string
7223 * paragraph.[Ch]: layout as string
7225 * lyxtextclasslist.[Ch]: layout as string
7227 * lyxtextclass.[Ch]: layout as string
7229 * lyxtext.h: layout as string
7231 * lyxlayout.[Ch]: layout as string
7233 * lyx_cb.C: layout as string
7235 * bufferview_funcs.C: layout as string
7237 * bufferparams.C: layout as string
7239 * buffer.C: layout as string
7241 * LyXView.[Ch]: layout as string
7243 * LaTeXFeatures.[Ch]: layout as string
7245 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
7247 * BufferView_pimpl.C: change current_layout to string, remove
7252 (workAreaButtonRelease): layout as string
7254 * BufferView2.C (unlockInset): adjust
7256 * vspace.C (asLatexCommand): use an explict temp variable.
7258 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7260 * Makefile.am: use FRONTEND_*
7262 2002-03-01 Juergen Vigna <jug@sad.it>
7264 * tabular.C (SetWidthOfMulticolCell): changed to something better
7265 I hope but still work in progress.
7266 (recalculateMulticolumnsOfColumn): renamed function from
7267 recalculateMulticolCells as it is more appropriate now.
7268 (SetWidthOfCell): calculate multicols better.
7270 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7272 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
7274 * lyxfunc.C (processKeySym): print sequence also if it is
7275 `deleted' (complete)
7277 * kbsequence.C (print): print sequence even if it is deleted
7278 (complete would be a better word, actually).
7280 * lyxfunc.C (dispatch): print complete options after a prefix key
7282 * vspace.C (asLatexCommand): rewrite in a slightly different form.
7284 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
7286 * text2.C (setCharFont): eliminate setCharFont code duplication.
7288 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7290 * BufferView_pimpl.C (Dispatch): remove bogus handling of
7291 LFUN_TABULAR_FEATURE (bug #177)
7293 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
7295 * Makefile.am: remove figure.h
7297 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
7299 * Bufferview_pimpl.C:
7311 * text2.C: remove #include "lyx_gui_misc.h".
7313 * LaTeX.C: added #include <cstdio>
7315 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7317 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
7318 that the paragraph following this one can have.
7320 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
7322 * vspace.C (asLatexCommand): fix bogus gcc warning
7324 * Makefile.am (lyx_SOURCES): remove vms_defines.h
7326 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
7328 * text2.C (setLayout): get rid of redundant code
7330 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
7332 * text2.C (incDepth): make sure depth cannot be increased beyond
7335 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
7337 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
7338 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
7340 * PainterBase.h (image):
7341 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
7344 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7348 * BufferView_pimpl.C:
7349 * BufferView_pimpl.h:
7369 * sp_spell.C: remove fig inset, and the crap house of
7370 cards that follows it
7372 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7378 * nt_defines.h: move .h into support/
7380 * vms_defines.h: remove
7382 * WorkArea.C: add space in debug output
7386 * buffer.C: add WITH_WARNINGS
7390 * bufferlist.C: s/retrive/retrieve/, add docs
7401 * lyxgui.C: add ID to X error handler
7403 * lyxtestclass.c: fix typo
7405 2002-02-26 Juergen Vigna <jug@sad.it>
7407 * tabular_funcs.C (write_attribute): changed so that some default
7408 attributes are not written at all.
7409 (getTokenValue): set default values before trying to read the
7410 value so we have the return value always set as default if we don't
7411 find the token we search for.
7413 * tabular.C (Write): write bools as bools not as strings!
7415 2002-02-22 Juergen Vigna <jug@sad.it>
7417 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
7418 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
7420 * text.C (leftMargin): don't add an indent for paragraphs inside
7421 tabular cells (fix #208).
7423 2002-02-21 José Matos <jamatos@fep.up.pt>
7425 * tabular.C (docBook): fixed support for long tables.
7427 2002-02-20 Juergen Vigna <jug@sad.it>
7429 * text2.C (getFont): get the drawing font of the Inset if this
7430 paragraph is inside an inset (only important for InsetERT for now).
7432 * buffer.C (insertErtContents): use new lanugage params in ERT
7435 * CutAndPaste.C: commenting out seemingly uneeded code.
7437 2002-02-19 Allan Rae <rae@lyx.org>
7439 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
7440 Iterators might be simple to use but they also get invalidated.
7441 (removeAutoInsets): renamed saved cursor tracking variables and added
7442 some comments to clarify what everything does.
7444 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
7451 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
7452 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
7455 * vc-backend.h: remove #include "support/syscall.h"
7459 * converter.C: rearrange #includes in Lars' approved fashion.
7461 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
7462 forward declare class Timeout in the header file.
7464 * XFormsView.C: changes due to the above.
7466 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
7469 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
7470 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
7472 2002-02-18 José Matos <jamatos@fep.up.pt>
7474 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
7477 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7479 * a lot of small ws changes
7480 * add a lot of using std::XXX
7481 * use std construcs some places where approp.
7482 * use some exisint stuff from lyxfunctional where approp.
7483 * Make file changes to use partial linking (lets test this now...)
7485 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7489 remove #include "support/syscontr.h" as it's redundant. Always has been.
7497 change Systemcalls::System to Systemcalls::Wait and
7498 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
7499 No change of functionality, just reflects the stripped down Systemcalls
7502 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7504 * debug.[Ch]: add a GRAPHICS type to the enum.
7506 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7508 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
7510 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
7513 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7515 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
7516 match the changes below.
7518 * text2.C (toggleInset): if there is not editable inset at cursor
7519 position, try to see if cursor is _inside_ a collapsable inset
7522 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7524 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
7525 document menu has a nice checkbox
7527 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7529 * lyxlength.C (asLatexString): change PW to output as percent of
7532 * lengthcommon.C: change '%' to 't%'
7534 * lyxfunc.C (dispatch): a few comments from Martin
7536 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
7540 * BufferView_pimpl.h:
7541 * BufferView_pimpl.C: clear our selection when X tells us we've lost
7544 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7546 * vspace.C (inPixels): fix compiler warning
7548 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7550 * lyxfunc.C (getStatus): fix status message for disabled commands.
7552 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
7554 * BufferView_pimpl.C: fix crash on close buffer
7555 during selection (#227)
7557 2002-01-27 Herbert Voss <voss@lyx.org>
7559 * buffer.C: link old Figure to new graphic inset
7561 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
7563 * FontLoader.C (getFontinfo): Change the latex font names in order
7564 to match the names of type1inst.
7566 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7568 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
7570 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
7573 (remove_files_with_extension): ditto
7574 (remove_file): ditto
7577 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
7578 document is smaller than the work area height. Do not initialize
7579 static variables to 0.
7581 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7583 * lyx_gui.C (init): give the toolbar tooltips a normal font.
7585 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
7586 LFUN_LAYOUT_PARAGRAPHS.
7588 * tabular.C (GetCellFromInset): new method. Finds an inset in a
7589 tabular. It is possible to provide a possible cell, which will
7590 typically be the actcell from the corresponding insettabular
7592 * lyxfunc.C (getStatus): small cleanup; disable
7593 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
7596 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7598 * tabular.C (Validate): remove broken optimization (fixes bug #201)
7600 * paragraph.C (startTeXParParams):
7601 (endTeXParParams): new methods. The LaTeX code to
7602 start/end paragraph formatting
7603 (simpleTeXOnePar): call startTeXParParams also when paragraph is
7604 empty (fixes bug #200)
7606 * vspace.C (inPixels): adapt to the change below
7607 (inPixels): [later] more cleanups (remove unused variables)
7609 * lyxlength.C (inPixels): change to use a width and a height as
7612 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7614 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
7615 Replaced with \paperwidth
7617 * DepTable.C (insert): add std:: qualifier
7619 2002-01-18 Allan Rae <rae@lyx.org>
7621 * text2.C (removeRow): add comment. Should other refresh_?? vars be
7624 * text.C (drawInset): Turned out I didn't know enough about how
7625 rebreaking worked. This fixes most of the redraw problems. I see
7626 an occasional cursor trail when a line is broken now and the cursor
7627 placement can seem out by a few pixels also after a rebreak.
7629 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7631 * buffer.C (parseSingleLyXformat2Token): update because minipage
7632 width is now a LyXLength
7634 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
7636 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
7639 2002-01-17 Juergen Vigna <jug@sad.it>
7641 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
7643 * BufferView2.C (lockInset): call edit() so that theLockingInset()
7644 is set correctly and the inset is updated correctly.
7646 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7648 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
7649 the beginning of the loop.
7651 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
7653 * lyxrc.C: improve help for use_scalable_fonts
7655 2002-01-17 Allan Rae <rae@lyx.org>
7657 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
7659 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7661 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
7662 make sure to set their inset_owner to the right value (bug #171)
7664 2001-12-12 Ben Stanley <bds02@uow.edu.au>
7667 * DepTable.C: Implement mtime checking to reduce time spent doing
7670 2002-01-16 Juergen Vigna <jug@sad.it>
7672 * tabular.C (GetAdditionalHeight): one of error fixed.
7674 * lyxrc.C (output): small fix in writing use_pspell.
7676 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
7678 * sp_base.h: #include LString.h
7680 2002-01-16 Allan Rae <rae@lyx.org>
7682 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
7683 Can someone check this please?
7685 * text.C (drawInset): It was possible that p.row would be removed by
7686 breakAgainOneRow upsetting a few other settings. There may be another
7687 small tweak possible by setting need_break_row = 0 when p.row has been
7688 removed but I don't know enough about the logic here.
7690 2002-01-15 Allan Rae <rae@lyx.org>
7692 * text.C (insertChar): removed conditional truism.
7694 * BufferView2.C (removeAutoInsets): More tweaks.
7695 cur_par_prev could be a stray pointer. Check for trailing empty line
7696 in case last line was cur_par and only had an error inset on it.
7698 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7700 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
7703 * vc-backend.C (most methods):
7704 * exporter.C (Export):
7705 * converter.C (convert):
7707 * LyXSendto.C (SendtoApplyCB):
7708 * lyxfunc.C (dispatch):
7712 * lyx_cb.C (AutoSave):
7714 * BufferView_pimpl.C (MenuInsertLyXFile):
7715 * buffer.C (runChktex): use Buffer::filePath().
7717 * buffer.h: rename filename to filename_; rename filepath to
7718 filepath_ and make it private
7719 (filePath): new method
7721 * buffer.C (writeFile): use fileName()
7724 * lyx_main.C (init): fix starting of LyX when the binary is a
7725 link from so,ewhere else.
7727 * minibuffer.C: include <cctype> for isprint
7729 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7731 * buffer.C (parseSingleLyXformat2Token): changes associated with the
7732 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
7733 name clash with InsetCollapsable's width function.
7735 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7737 * lastfiles.C: include <iterator>
7739 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7741 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7744 * buffer.C (makeLaTeXFile): ditto.
7745 Also make loop operation more transparent.
7747 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7749 * ToolbarDefaults.C: remove trailing comma closing namespace.
7751 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7753 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7756 * trans.C (Load): comment out unused variable, allowed.
7758 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7760 * minibuffer.[Ch] (append_char): new method to recieve input from the
7761 drop-down completion browser. If a key was pressed, then recieve this
7762 char and append it to the existing string.
7763 (peek_event): modify the positioning data passed to the completion
7764 browser so that it can be placed above the minibuffer rather than below.
7765 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7767 * LyXAction.C (init): alloe error-next for readonly documents.
7769 * BufferView2.C (ChangeRefsIfUnique): use standard version of
7772 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7774 * bufferlist.C (readFile): create the buffer _after_ checking that
7777 * lyxfunc.C (verboseDispatch): fix handling of arguments
7779 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7781 * lyxrc.C: use string::erase() instead of initializing to "".
7784 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7786 * BufferView_pimpl.h:
7787 * BufferView_pimpl.C:
7790 * text2.C: tell X when we have made a selection for copying
7792 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7794 * BufferView_pimpl.C (MenuInsertLyXFile):
7795 * lyxfunc.C (menuNew):
7797 (doImport): add shortcuts to directory buttons
7799 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7802 * lyxfunc.C (setStatusMessage):
7803 (getStatusMessage): new methods
7804 (getStatus):use setStatusMessage instead of setErrorMessage
7805 (dispatch): when function is disabled, set error message here
7806 [instead of in getStatus previously]
7808 * BufferView_pimpl.C (workAreaButtonRelease): update
7809 toolbar/menubar here too.
7811 2002-01-13 Allan Rae <rae@lyx.org>
7813 * BufferView2.C (removeAutoInsets): finished off earlier fix.
7814 Now seems indestructible. Remaining task is to audit all other
7815 code affected by deleteEmptyParagraphMechanism. One small quirk
7816 left is that an empty document with an error in the preamble can
7817 be made to report an error but no error box appears. I don't know
7819 (removeAutoInsets): Improved comments.
7821 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
7824 * Thesaurus.C: update for Aiksaurus 0.14
7826 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7828 * text2.C (firstParagraph): removed member function, all uses
7829 replaces with ownerParagraph
7830 (redoParagraphs): here
7832 (toggleAppendix): here
7833 * BufferView2.C (insertErrors): here
7834 (setCursorFromRow): here
7836 2002-01-13 Allan Rae <rae@lyx.org>
7838 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7839 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7840 There is still a way to segfault this although you may have to do this
7841 multiple times: Have an InsetERT with an unknown command in it.
7842 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7843 <down-arrow>, <Enter> again, View->DVI, BANG!
7845 * text2.C (setCursor):
7846 (deleteEmptyParagraphMechanism):
7847 * lyxtext.h (setCursor):
7848 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7849 Making use of the return value may help fix other bugs.
7851 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7853 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7855 * LyXView.C (updateMenubar): call MenuBar::update here
7856 (updateToolbar): but not here
7857 (showState): do not update toolbar/menubar
7859 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7860 should need to care about that.
7862 * lyxfunc.C (verboseDispatch): simplify a bit
7863 (getStatus): have a version which takes a pseudoaction, and
7864 another which requires a (kb_action,string).
7866 * LyXAction.C (retrieveActionArg): make it work also when action
7867 is not a pseudo-action.
7868 (getActionName): simplify a bit
7871 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7873 * lyxfunc.C (verboseDispatch): new families of methods with
7874 several ways to specify a command and a bool to indicate whether
7875 the command name and shortcut should be displayed in minibuffer
7876 (eventually, we could extend that to a finer bitmask like
7877 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7878 (dispatch): the pristine dispatch command which just, well,
7879 dispatchs! Note it still sets its result to minibuffer; I'm not
7882 * lyxfunc.h: remove setHintMessage
7884 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7886 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7888 * BufferView_pimpl.C (specialChar): delete new inset if we have
7889 not been able to insert it.
7891 * kbmap.C: revert to using int instead of kb_action, since all we
7892 are dealing with is pseudo-actions.
7894 * LyXAction.C (searchActionArg): change to return int instead of
7895 kb_action, since the result is a pseudoaction.
7897 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
7899 * buffer.C (insertErtContents): Fix (partially) the font bug.
7901 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7903 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
7904 as the other one is broken on my machine!
7906 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
7909 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7911 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
7913 * lyxrc.[Ch]: change names and descriptions of popup font variables to
7914 reflect their actual use. Provide compatibility code for older lyxrc
7917 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7919 change names of popup font variables in line with the changes to lyxrc.C
7921 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7923 * buffer.C (asciiParagraph): avoid outputing a word twice after
7926 * lyxrc.C (getDescription): document that document_path and
7927 template_path can be empty.
7929 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7931 * LaTeXFeatures.C (getMacros):
7932 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7934 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7936 * LaTeXFeatures.C (useFloat): require "float" here instead of in
7938 (getPackages): rename feature "floats" to "float". Use an array to
7939 iterate over 'simple' features (i.e. just a \usepackage). Add
7940 handling of "amsmath" (renamed from "amsstyle").
7942 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
7944 * LaTeXFeatures.C (require): Prevent duplicate entries in the
7947 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
7949 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7950 FuncStaus::FuncStatus & FuncStaus::some_method().
7952 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
7954 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7955 of the func_satus stuff. Edited and massaged in various ways by
7958 * lyxfunc.C (getStatus): use FuncStatus
7960 2002-01-08 Juergen Vigna <jug@sad.it>
7962 * text.C (nextBreakPoint): use function Inset::isChar().
7964 * paragraph.C (TeXOnePar): use function
7965 Inset::forceDefaultParagraphs.
7967 * buffer.C (latexParagraphs): use function
7968 Inset::forceDefaultParagraphs.
7970 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7972 * lyx_gui.C (init): set the style of the menu popups to
7973 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7975 2002-01-07 Juergen Vigna <jug@sad.it>
7977 * text.C (setHeightOfRow): small fix
7978 (prepareToPrint): don't look at alignment if we don't have the place
7981 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7983 * box.C: New file. Move the Box methods and functions out of box.h,
7984 following Lars' suggestion.
7986 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7988 * box.h: #include "support/LOstream.h", needed for inlined function.
7991 * lyxtextclasslist.C: added some using std declarations.
7993 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
7995 * box.h: make signed dimensions to allow insets wider than
7996 the screen (bug #162)
7998 * BufferView_pimpl.C: add some insetHit debug
8000 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
8002 * vc-backend.C: add FIXME
8004 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8006 * lyxfunc.C (getStatus): enable code for showing math font status
8009 2002-01-07 Juergen Vigna <jug@sad.it>
8011 * text.C (nextBreakPoint): removed debug output not needed anymore.
8013 2002-01-06 Juergen Vigna <jug@sad.it>
8015 * text.C (nextBreakPoint): fixed up this function we had this bug
8016 since ever but now hopefully we break row better.
8017 (insertChar): we have to check if an inset is the next char as it
8018 could now happen that a large inset is causing a break.
8020 2002-01-05 Juergen Vigna <jug@sad.it>
8022 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8023 if it doesn't like to be drawed.
8025 2002-01-04 Juergen Vigna <jug@sad.it>
8027 * BufferView2.C (lockInset): forgot to set a cursor.
8029 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8031 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
8036 * form_maths_panel.C:
8037 * form_maths_panel.h:
8038 * form_maths_panel.fd: implemented sub- and super- buttons in math
8041 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8042 (or ^ space) to be used as in TeX (req'd by André).
8044 * lyxfunc.C: Allow ^ and _ again to be used both as
8045 super/subscript (mathed) and as themselves (in text).
8047 2002-01-03 Allan Rae <rae@lyx.org>
8049 * LyXView.C (updateWindowTitle): Setup a short icon title of either
8050 "LyX" or the filename of the current buffer if it has one. This is a
8051 modified form of John Levon's patch.
8053 * XFormsView.C (setWindowTitle): also set icon title.
8055 * LyXView.h (setWindowTitle): signature changed.
8056 * XFormsView.h (setWindowTitle): ditto.
8058 2002-01-02 Juergen Vigna <jug@sad.it>
8060 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8062 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8064 * screen.C (topCursorVisible): introduce a temp var for
8065 text->cursor.row(), handle the case where this row is null. (kindo
8068 * text2.C (setCursor): add a couple of asserts.
8070 * paragraph.h (inset_iterator): add -> operator
8072 * paragraph.[Ch] (autoDeleteInsets): remove member function
8074 * BufferView2.C (removeAutoInsets): rewrite to handle the old
8075 cursor pos correctly and handle inset deletion by itself.
8076 (insertErrors): move iterator declaration out of for expression
8078 * lyxtextclass.C: add <algorithm>
8080 * Makefile.am: added the new files to sources, removed layout.C
8082 * layout.C: removed file
8084 * layout.h: remove LYX_DUMMY_LAYOUT
8086 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8090 * lyxtextclass.[Ch]:
8091 * lyxtextclasslist.[Ch]: new files
8093 * include order changes to a lot of files, also changes because of
8096 2001-12-27 Juergen Vigna <jug@sad.it>
8098 * buffer.C (asciiParagraph): more fixes.
8100 * tabular.C (ascii): make ascii export support export of only the
8101 data separated by a column-delimiter.
8102 (ascii): better support for ascii export.
8104 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8106 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8108 * tabular_funcs.C: use a "using std::getline" instead of the
8109 previous fix from Angus (necessary for cxx + lyxstring)
8111 2001-12-24 Juergen Vigna <jug@sad.it>
8113 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8115 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8116 problems. First check a minipage also if we have some ert-contents
8117 (not only on par->size(), second set the right depth of the paragraph
8118 on the relink to the root-paragraph-list!
8120 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8121 which then did not anymore update the main paragraphs on undo/redo!
8123 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8125 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
8126 code. Support all font-changing funcs (even those which are not in
8127 menu currently). Support for reporting font settings in
8128 mathed (disabled until Andre provides a function on mathed's side).
8130 * func_status.h (toggle): small helper function to set toggle
8133 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
8135 * tabular_funcs.C: getline -> std::getline
8137 2001-12-21 Juergen Vigna <jug@sad.it>
8139 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
8140 accessed and could be 0 (I couldn't generate this but it seems
8143 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8145 * tabular_funcs.C: add LIstream.h, move write_attribute to..
8146 * tabular_funcs.h: here and include iosfwd
8148 2001-12-20 Juergen Vigna <jug@sad.it>
8150 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
8151 inside inset but undo_par was.
8153 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8155 * Thesaurus.C: always include <config.h> in sources.
8159 * box.h: do not include <config.h> in header files
8161 * text.C (paintLastRow): remove unused variable
8163 * text.C (transformChar):
8165 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
8168 * font.C (width): rewrite to use uppercase() instead of
8171 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
8173 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
8175 * lyxfind.C: clean up of find failure position change
8177 2001-12-20 Juergen Vigna <jug@sad.it>
8179 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
8181 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
8182 (TeXRow): added to LaTeX a single tabular row.
8183 (TeXLongtableHeaderFooter): added to output LT-h/f data.
8184 (Latex): simplified and finally good LT-h/f support.
8185 (various_functions): just small adaptions for LT-h/f support.
8187 * tabular_funcs.[hC]: added and moved here all not classfunctions
8190 2001-12-19 Juergen Vigna <jug@sad.it>
8192 * tabular.[Ch]: better support for longtabular options (not finished
8195 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8197 * text.C (paintLastRow): use the label font instead of the font of
8198 the last character to compute the size of *_BOX. This makes more
8199 sense and avoids a crash with empty paragraphs.
8200 Use Painter::rectangle to draw EMPTY_BOX.
8202 2001-12-19 Juergen Vigna <jug@sad.it>
8204 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
8205 the paragraphs if the replaced paragraph is not the first one!
8206 Tried to delete not used paragraphs but does not work yet so for
8207 now it's inside #ifdef's and by default off!
8209 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8211 * MenuBackend.C: include "lyx_main.h" instead of declaring
8212 lastfiles (actually was declared as LastFiles* instead of a
8215 2001-12-17 Juergen Vigna <jug@sad.it>
8217 * tabular.C (AppendColumn): applied John's fix
8219 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
8223 * BufferView_pimpl.h:
8224 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
8227 * box.h: new start of class for above
8229 * lyxfunc.C: ignore space-only minibuffer dispatches.
8230 Show the command name when it doesn't exist
8232 * minibuffer.C: don't add empty lines to the history
8234 * minibuffer.C: add a space on dropdown completion
8236 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
8238 * text.C: fix line above/below drawing in insets
8240 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8242 * lyxlength.C (LyXLength): Initialize private variables.
8244 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
8246 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
8247 when inserting error insets.
8249 2001-12-13 Juergen Vigna <jug@sad.it>
8251 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
8252 actually sometimes the before-paragraph.
8253 (setUndo): don't clear the redostack if we're not actually undoing!
8255 2001-12-06 Juergen Vigna <jug@sad.it>
8257 * undo_funcs.C (textHandleUndo): well after John's hint I got here
8258 and fixed redoing of main paragraph, so we can use it now ;)
8260 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
8262 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8264 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
8267 2001-12-13 André Pönitz <poenitz@gmx.net>
8270 * undo_func.C: minor cleanup
8272 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8274 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
8275 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
8276 font in urw-fonts package which is marked as -urw-fontspecific and
8277 does not work (incidentally, changing the encoding in the
8278 fonts.dir of this package to -adobe-fontspecific fixes the
8281 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
8282 is a crash when undoing first paragraph (Juergen, please take a
8283 look). THis does not mean the undo fix is wrong, just that it
8286 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
8287 the (Paragraph*) version when needed instead of duplicating the
8290 * text.C (workWidth): use Inset::parOwner to find out where the
8291 inset has been inserted. This is a huge performance gain for large
8292 documents with lots of insets. If Inset::parOwner is not set, fall
8293 back on the brute force method
8295 * paragraph_pimpl.C (insertInset):
8296 * paragraph.C (Paragraph):
8297 (cutIntoMinibuffer): set parOwner of insets when
8298 inserting/removing them
8300 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8302 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
8308 * mathed/formulabase.C:
8309 * mathed/math_cursor.[Ch]:
8310 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
8313 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8315 * lyxlength.[Ch] (operator!=): new function
8317 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8319 * text.C (workWidth): use Inset::parOwner to find out where the
8320 inset has been inserted. This is a huge performance gain for large
8321 documents with lots of insets. If Inset::parOwner is not set, fall
8322 back on the brute force method
8324 * paragraph_pimpl.C (insertInset):
8325 * paragraph.C (Paragraph):
8326 (cutIntoMinibuffer): set parOwner of insets when
8327 inserting/removing them
8329 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8331 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8333 * tabular-old.C (getTokenValue):
8334 * tabular.C (getTokenValue):
8335 (write_attribute): new versions for LyXLength
8336 (everywhere): adjust the use of widths
8338 * tabular.h: change the type of widths from string to LyXLength
8340 2001-12-11 Ben Stanley <bds02@uow.edu.au>
8342 * paragraph.C: fixed missing line number count when exporting
8343 Environments to LaTeX file
8345 * buffer.C: added informational message for checking line numbers.
8347 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8349 * text2.C (deleteEmptyParagraphMechanism): if there is only one
8350 paragraph, do the 'double space' part, but not the 'empty
8353 * text.C (workWidth): small optimization
8354 (getLengthMarkerHeight): use minimal size for negative lengths.
8356 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
8358 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
8360 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
8362 2001-12-11 André Pönitz <poenitz@gmx.net>
8365 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
8367 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8369 * text2.C: keep selection on a setFont()
8371 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8373 * lyx_cb.C: another bv->text misuse, from insert label
8375 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8378 * kbsequence.C: re-instate nmodifier mask
8380 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
8382 * lyx_main.h: make lyxGUI private.
8384 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8386 * lyxfind.C: place the cursor correctly on failed search
8388 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8390 * text.C (getLengthMarkerHeight): for small heights, the arrows
8391 are not always on top/bottom of the text
8392 (drawLengthMarker): smaller arrows; take the left margin in
8393 account; draw also vfills.
8395 (paintLastRow): remove special code for vfill and standard spaces,
8396 since everything is handled in drawLengthMarker now.
8398 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8400 * buffer.C (insertErtContents): try to handle font and language
8401 interaction a bit better.g
8403 * ColorHandler.C (updateColor): change the hash to cover the whole
8404 LColor enum, ws cleanup
8405 (getGCLinepars): ditto
8406 (getGCLinepars): only lookup in the linecache once.
8408 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
8410 * iterators.C (operator++): Make the iterator more robust
8412 * BufferView2.C (removeAutoInsets): Use paragraph iterators
8414 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
8416 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8419 * text.C: better added space drawing
8421 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8424 * BufferView2.C: fix layout combo update on inset unlock
8426 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8428 * Makefile.am: don't compile unused files
8430 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8434 * LyXAction.C: remove old LFUN_LAYOUTNO
8436 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8438 * paragraph_pimpl.h:
8439 * paragraph_pimpl.C: isTextAt() doesn't need font param
8441 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8444 * lyxlex.C: little cleanup
8446 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8448 * BufferView_pimpl.C: fix insertAscii for insets
8450 2001-12-05 Juergen Vigna <jug@sad.it>
8452 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
8453 set the right font on the "multi" paragraph paste!
8455 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8461 * lyxlength.C: remove out-commented code.
8477 * vc-backend.C: change "while(" to "while ("
8479 * lyxlength.[Ch]: add zero function to check if length is zero or
8481 * lyxgluelength.C: use it
8483 2001-12-05 Allan Rae <rae@lyx.org>
8485 * lyxlength.C: Attempted a fix for the abs(int) header selection.
8486 Works for 2.95.3, from what I understand of Garst's reports this should
8487 work for other g++ versions. We're screwed if the abs(int) definition
8488 changed between bugfix releases of gcc.
8490 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8492 * text.C: fix chapter label offset !
8494 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8497 * text.C: fix hfill at end of line, clean up
8499 2001-12-04 Juergen Vigna <jug@sad.it>
8501 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
8502 that we force an update of the inset and it's owners if neccessary.
8504 2001-12-03 Juergen Vigna <jug@sad.it>
8506 * text.C (rowLast): simplified code
8508 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8510 * lyxfunc.C: fix show options on timeout
8512 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8514 * screen.C (topCursorVisible): scroll half a page when the cursor
8515 reached top of bottom of screen
8517 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
8519 * minibuffer.C: deactivate on loss of focus
8521 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8523 * vspace.[Ch] (operator!=): add operator.
8525 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
8527 * BufferView_pimpl.C: refuse to open an inset when
8528 there's a selection.
8530 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
8532 * BufferView_pimpl.C: allow to click on RHS of full row insets
8534 2001-11-30 Juergen Vigna <jug@sad.it>
8536 * tabular.C (LyXTabular): add a same_id to set the same id's in the
8537 insets for undo reasons.
8539 2001-11-28 André Pönitz <poenitz@gmx.net>
8541 * vspace.[Ch]: cosmetical changes
8543 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8553 * kbsequence.C: part re-write of old kb code
8556 * WorkArea.C: remove Lgb_bug_find_hack
8558 2001-11-30 José Matos <jamatos@fep.up.pt>
8560 * buffer.C (makeDocBookFile): add a comment to point a hack.
8561 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
8562 Fixed a double write of labels.
8564 2001-11-29 Ben Stanley <bds02@uow.edu.au>
8567 * LaTeX.h Fixed bug in LaTeX class where it would not
8568 re-run latex if no depfiles were changed, but the .dvi was removed.
8570 2001-11-28 André Pönitz <poenitz@gmx.net>
8572 * all the files from the change on 2001/11/26:
8573 use lyx::layout_type instead of LyXTextClass::size_type
8574 use lyx::textclass_type instead of LyXTextClassList::size_type
8576 2001-11-29 Juergen Vigna <jug@sad.it>
8578 * text.C: added support for paragraph::isFreeSpacing()
8580 * buffer.C: same as above
8582 * paragraph.h: inserted isFreeSpacing() function to enable
8583 FreeSpacing inside InsetERT.
8585 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
8586 of the paragraph's in the cut/copy buffer to 0!
8588 * text2.C (removeRow): remove the assert as it can!
8590 * lyxtext.h: added helper function firstRow returning firstrow and
8591 made firstrow private again.
8593 * BufferView2.C (lockInset): don't relock if we're already locked!
8595 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
8597 (removeRow): added Assert::(firstrow)
8599 * debug.C: forgot to add INSETTEXT here.
8601 2001-11-28 Juergen Vigna <jug@sad.it>
8603 * sp_spell.C (initialize): changed error text to more general
8604 spellchecker command use (not only ispell!)
8606 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
8608 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
8610 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8612 * vspace.C: initialise lyxgluelength on failure
8614 2001-11-28 Allan Rae <rae@lyx.org>
8616 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
8617 declaration & definition that looks like a function declaration.
8619 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8621 * BufferView2.C (copy):
8622 (copyEnvironment): do not clear the selection when doing a copy.
8624 * text.C (paintFirstRow): compilation fix
8626 2001-11-27 Ben Stanley <bds02@uow.edu.au>
8628 * tabular.C (Latex): correct line count when writing latex.
8630 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
8632 * paragraph_pimpl.h:
8633 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
8636 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8640 * LColor.C: change vfillline->added_space
8642 * text.C: add markers and text for added space
8644 * vspace.C: fix comment
8646 2001-11-28 André Pönitz <poenitz@gmx.net>
8648 * paragraph.C: whitespace changes
8649 * all the other files from the change on 2001/11/26:
8650 change *::pos_type into lyx::pos_type
8652 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
8654 * buffer.C (parseSingleLyXformat2Token): Set the language to the
8655 language of the document when inserting error insets.
8657 2001-11-26 André Pönitz <poenitz@gmx.net>
8659 * BufferView_pimpl.[Ch]:
8667 * paragraph_pimpl.[Ch]:
8670 * text2.C: reduce header dependencies, introduce type for positions
8672 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8674 * <various>: change to use Alert.h
8676 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
8678 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
8679 when encountering an unknown token.
8680 (readLyXformat2): Show an error message if there were unknown tokens.
8682 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
8685 * BufferView_pimpl.C:
8689 * text2.C: use par->isInset()
8691 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8693 * paragraph_pimpl.h:
8694 * paragraph_pimpl.C: cleanup
8696 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8698 * text2.C (removeRow):
8699 * text.C (setHeightOfRow): remove useless (and costly) call to
8702 2001-11-20 Allan Rae <rae@lyx.org>
8704 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
8705 Now need Inset*::checkInsertChar() to return true for appropriate
8706 cases so that the characters in the minibuffer will actually be
8709 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8711 * text.C: change the order of the includes.
8712 (workWidth): initialize it at once.
8713 (workWidth): make maxw unsigned
8714 (setHeightOfRow): remove unused variable (inset)
8715 (selectSelectedWord): remove unused variable (inset)
8716 (paintRowText): fix drawing of hfill characters, and clean up a bit.
8718 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8720 * lyxserver.C (emergencyCleanup): do not try to close pipes if
8721 server is not running.
8723 (closeConnection): add debug info when server is disabled.
8725 * ColorHandler.C (getGCForeground): send debug message to GUI
8728 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
8730 * kbmap.C (bind): modify because return conventions of
8731 kb_sequence::parse have changed.
8733 * kbsequence.C (parse): only ignore spaces and not any stupid
8734 control character. This avoids tests like s[i] <= ' ', which are
8735 guaranteed to fail with 8bit characters and signed chars.
8736 Change return code to string::npos when there have been no error
8737 (0 was a bad idea when error is at first character)
8739 2001-11-14 José Matos <jamatos@fep.up.pt>
8742 * buffer.C (simpleDocBookOnePar): removed unused argument.
8744 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8746 * text.C (selectNextWordToSpellcheck): do not test explicitely for
8747 insets which are part of a word. Paragraph::isLetter takes care of
8748 that now. Use Paragraph::isInset to identify insets.
8749 (selectSelectedWord): do not test for hyphenation break.
8751 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8752 that protected spaces are considered as spaces.
8754 * paragraph.C (isLetter): cleanup the code for ispell extras; use
8757 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
8760 * lyxserver.C: fix it. and small cleanup.
8762 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8764 * BufferView_pimpl.C: use inline helpers
8767 * LaTeXFeatures.C: fix typos
8770 * Spacing.C: move spacing_string into class
8772 * ToolbarDefaults.C: move stuff into namespace anon
8774 * layout.h: update enum
8776 * lyxfunc.C: use better debug
8778 * minibuffer.h: fix typo
8782 * WorkArea.C: add and use Debug::WORKAREA
8786 * text2.C: code re-organisation, inline helpers
8788 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
8790 * Layout.C: replaced a few cases of std::vector.size() == 0 with
8791 std::vector.empty().
8793 2001-11-09 Allan Rae <rae@lyx.org>
8795 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8796 '\n's after tables. Tabular and ERT inset work now makes this no
8799 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8802 * minibuffer.C: fix crash, improve drop-down completion
8804 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
8807 * lyxserver.C: invalidate fd's when doing endPipe()
8809 2001-11-08 José Matos <jamatos@fep.up.pt>
8811 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8812 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8815 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8817 2001-11-07 José Matos <jamatos@fep.up.pt>
8820 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8823 * buffer.C (sgmlOpenTag):
8824 * buffer.C (sgmlCloseTag): removed debug info.
8826 * buffer.h (sgmlOpenTag):
8827 * buffer.h (sgmlCloseTag): made public.
8829 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8831 * buffer.C (saveParamsAsDefaults):
8832 * lyx_cb.C (MenuLayoutSave): remove
8834 * LyXAction.C (init):
8836 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8838 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8840 * buffer.C (setPaperStuff): removed from here...
8842 * bufferparams.C (setPaperStuff): ... and moved there.
8844 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
8848 * XFormsView.C: add support for drop-down completion
8850 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
8852 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8855 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8857 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8860 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
8862 * lyx_main.C: change ref to known bugs
8864 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
8866 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8867 to work around older babel problems.
8869 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8871 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8873 2001-10-24 Juergen Vigna <jug@sad.it>
8875 * tabular-old.C (ReadOld): below variable changes reflected.
8877 * tabular.[Ch]: added ltType struct for longtable header/footer
8878 defines and changed all instances where they are used. Added
8879 future support for double top/bottom rows.
8881 2001-10-24 José Matos <jamatos@fep.up.pt>
8883 * buffer.h (docbookHandleCaption):
8884 * buffer.C (docbookHandleCaption): removed unused function.
8885 (makeDocBookFile): moved docbook supported version to v4.1.
8887 2001-10-24 José Matos <jamatos@fep.up.pt>
8890 * tabular.C (docbookRow): new function to export docbook code of a row.
8891 (DocBook): now honors the longtable flags.
8893 2001-10-23 José Matos <jamatos@fep.up.pt>
8896 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8897 of the lyx defined sgml entities used in a docbook/linuxdoc document.
8899 * buffer.C (makeLinuxDocFile):
8900 (makeDocBookFile): reworked the preamble, more clean, and with
8901 support for lyx defined entities. Changed the document declaration
8902 to be more XML friendly.
8904 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8905 if we need to output XML that should be done with a filter.
8907 2001-10-22 Juergen Vigna <jug@sad.it>
8909 * sp_pspell.h (class PSpell): add alive function needed in the
8910 controller to see if the spellchecker could be started.
8912 2001-10-22 Juergen Vigna <jug@sad.it>
8914 * buffer.C (insertStringAsLines): modify the font for inserting
8915 chars in certain conditions by calling checkInsertChar(font).
8917 2001-10-19 Juergen Vigna <jug@sad.it>
8919 * text.C (workWidth): use getRow instead of wrong algorithm.
8920 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8922 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
8927 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8929 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8931 * text.C (workWidth): do not search for the exact row when
8932 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8933 optimization for big documents.
8935 2001-10-18 Juergen Vigna <jug@sad.it>
8937 * text.C (workWidth): new function with added Inset * parameter.
8939 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8941 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8943 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8944 change return type of getColumnNearX.
8947 * text.C (changeRegionCase): use uppercase/lowercase instead of
8950 (rightMargin): simplify code by factoring out the uses of
8955 (appendParagraph): use Paragraph::size_type
8957 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8959 * vspace.C (asLatexString): add a missing break
8961 2001-10-15 Herbert Voss <voss@perce.de>
8963 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8965 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8967 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8970 2001-10-10 André Pönitz <poenitz@gmx.net>
8972 * lyxfunc.C: removed greek_kb_flag.
8974 2001-10-10 Herbert Voss <voss@perce.de>
8976 * lyx_main.C: delete global string help_lyxdir.
8978 2001-10-09 Herbert Voss <voss@perce.de>
8980 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8982 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8984 * lyx_main.C: added global string help_lyxdir.
8986 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8988 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
8990 * lyxrc.C (set_font_norm_type): support iso8859-4
8992 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
8994 * LaTeX.C (deplog): add another regex for MikTeX
8996 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
8998 * lyxrc.C (set_font_norm_type): support iso8859-3
9000 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9002 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9004 * LaTeXFeatures.C: remove special case of french and index
9006 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9007 before \begin{document}). This solves several incompatibilities.
9009 2001-10-03 Garst Reese <reese@isn.net>
9011 * lyx_cb.C: change CheckTex error msg.
9013 2001-10-03 José Matos <jamatos@fep.up.pt>
9015 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9017 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9019 * .cvsignore: update
9021 * lyx_main.C (commandLineVersionInfo): use new style version info.
9023 * buffer.C (writeFile):
9026 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9028 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9030 * version.h: update to use stuff in version.C
9032 * version.C.in: new file. Contains version information determined
9033 at compile time. This is a merging of version.h and
9036 2001-10-03 Juergen Vigna <jug@sad.it>
9038 * BufferView_pimpl.C (update): don't change "dirty" status in
9041 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
9043 * WorkArea.C (c-tor): re-position version string slightly.
9045 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
9047 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9048 revert to previous code.
9050 WorkArea.[Ch]: (show, destroySplash): methods removed.
9052 WorkArea.C: rework code so that it's an amalgam of the codes before and
9053 after the splash screen was moved to WorkArea.
9055 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9058 * vspace.C (inPixels):
9061 * buffer.C (insertStringAsLines):
9062 (asciiParagraph): fix types to be large enough
9064 * lyxlex_pimpl.h: change member status from short to int
9066 * layout.h: fix type of endlabeltype
9069 * kbsequence.C (parse): change return type to string::size_type
9071 * LaTeX.C (updateBibtexDependencies): comment out unneeded
9074 * Bullet.C (bulletSize):
9075 (bulletEntry): do not use short ints as parameters
9077 * BufferView2.C (insertLyXFile): change a char to an int.
9079 * WorkArea.C (WorkArea): remove unneeded floats in computation
9081 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
9083 * buffer.C (asciiParagraph): Treat '\\' as other chars.
9085 * paragraph.C (asString): Do not ignore newline/hfill chars when
9086 copying to the clipboard.
9088 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
9090 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9091 after a multi-line inset.
9093 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
9095 * paragraph.C (validate): Set NeedLyXFootnoteCode
9097 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9099 * lyxfont.C (LyXSizeNames): changed increase-error to increase
9100 and decrease-error to decrease.
9102 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9104 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9105 it more readable (should be equivalent)
9107 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
9109 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9111 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9113 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9114 of a cursor (row, etc.) after a character has been deleted
9115 (deleteEmptyParagraphMechanism): call the method above on _all_
9116 cursors held by the LyXText when a double space has been
9119 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9121 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9123 (resizeCurrentBuff): remove code to destroy the old splash dialog.
9125 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
9126 background. Use greyOut() and the new show() methods to toggle between
9127 the foreground and background. Add code to remove the splash after
9128 its initial showing.
9130 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
9131 (create_forms): no longer call Dialogs::showSplash.
9133 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9135 * .cvsignore: add version_info.h
9137 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9139 * version_info.h.in: new file
9141 * Makefile.am: add version_info.h.in
9143 * lyx_main.C (commandLineVersionInfo): use version_info defined in
9144 version_info.h instead of VERSION_INFO
9146 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
9148 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
9149 The ERT inset now returns string().
9151 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
9153 * lyxtext.h, text.C (selectNextWord): renamed as
9154 selectNextWordToSpellcheck.
9156 * text.C (selectNextWordToSpellcheck): Modified to not select
9157 words inside an ERT inset.
9159 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9161 * lyx_cb.C (MenuLayoutSave): change a bit the question
9163 * sp_base.h: include <sys/types.h>
9165 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
9167 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
9169 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
9171 * several files: fix typos in user-visible strings
9173 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9175 * text2.C (pasteSelection): do not set the selection, since it
9176 will be cleared later. Actually, the intent was to fix the way the
9177 selection was set, but I figured rmoving the code was just as good.
9179 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
9181 * FontLoader.C (available): Check if font is available without
9184 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
9186 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
9188 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
9190 * lyxrc.[Ch]: added display_graphics variable and associated code.
9192 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9194 * bufferparams.C (hasClassDefaults): new method. Returns true if
9195 the buffer parameters correspond to known class defaults
9197 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
9199 * XFormsView.C (show): set minimum size to the main window.
9201 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9203 * text2.C (copySelection):
9205 * lyxfind.C (LyXReplace):
9206 * BufferView_pimpl.C (Dispatch): pass the correct flag to
9207 LyXText::selectionAsString.
9209 * paragraph.C (asString): add "label" argument to the second form
9211 * text2.C (selectionAsString): add "label" argument and pass it to
9212 Paragraph::asString.
9214 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9216 * lyx_main.C (commandLineHelp): remove version information
9218 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
9220 * lyx_main.C: add -version commandline option
9222 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9224 * paragraph.h: make the optional constructor arg required instead.
9225 some modifications to other files because of this.
9227 * minibuffer.C (C_MiniBuffer_peek_event): make it static
9229 * lyxserver.C (C_LyXComm_callback): make it static
9231 * lyx_main.C (error_handler): make it static
9233 * lyx_gui.C (LyX_XErrHandler): make it static
9235 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
9237 * WorkArea.C: make the extern "C" methods static.
9239 * Makefile.am (lyx_LDADD): simplify
9241 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9243 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
9244 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
9246 * LyXAction.C (init):
9247 * lyxfunc.C (dispatch): associated code removal.
9249 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9251 * lyxfont.h (isSymbolFont): shut off warning
9253 * text.C (setHeightOfRow):
9254 (getVisibleRow): fix crash with empty paragraphs which have a
9257 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
9259 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
9262 2001-09-04 José Matos <jamatos@fep.up.pt>
9265 * tabular.C (docbook): rename docBook method to docbook.
9267 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9269 * Makefile.am: add dependencies to main.o.
9271 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
9273 * FontLoader.C (available): Return false if !lyxrc.use_gui
9275 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
9277 * FontInfo.C (query):
9278 * converter.C (view):
9279 * importer.C (Import):
9280 * exporter.C (Export): Can not -> cannot.
9282 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
9284 * BufferView_pimpl.C: allow to create index inset even if
9287 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9289 * buffer.C (getLists): replace boost::tie code with an explicit pair
9290 as boost::tie can break some compilers.
9292 * iterators.h: Added a std:: declaration to the return type of
9295 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
9297 * lyxrc.C: add help for view_dvi_paper_option, default to safe
9300 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
9302 * iterators.[Ch]: New files. Provide paragraph iterators.
9304 * buffer.C (changeLanguage): Use paragraph iterators.
9305 (isMultiLingual): ditto
9307 * BufferView2.C (ChangeInsets): Use paragraph iterators.
9309 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
9311 * FontLoader.C: Support for cmr font.
9313 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
9315 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
9316 (available): New method.
9318 * FontInfo.C (getFontname): Use scalable fonts even when
9319 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
9322 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9324 * converter.C (Formats::view): reverted! Incorrect fix.
9326 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9328 * converter.C (Formats::view): only output the -paper option
9329 if the dvi viewer is xdvi, thereby fixing bug #233429.
9331 2001-08-23 Herbert Voss <voss@perce>
9333 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
9335 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
9337 * Spacing.h (Spacing): Set space to Default on in the default
9340 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
9342 * vc-backend.h (RCS::versionString): add RCS to version
9343 (CVS::versionString): add CVS to version
9345 * vc-backend.C (scanMaster): do not add CVS to version.
9346 (scanMaster): do not add RCS to version
9348 * lyxvc.C (versionString): new method
9350 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
9352 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9354 * Spacing.C (set): initialize fval
9356 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
9358 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
9361 2001-08-16 Juergen Vigna <jug@sad.it>
9363 * lyxfunc.C (dispatch): implemented the new FINISHED states.
9365 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9367 * BufferView_pimpl.C:
9370 * text2.C: setParagraph takes linespacing now
9372 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
9374 * LyxAction.C: add internal LFUN_CITATION_INSERT
9376 * LyXView.C: actually apply fix
9378 * bufferlist.C: fix open non-existent file
9380 * lyxfind.C: fix indentation
9382 * lyxfunc.C: remove unneeded assert, fix typo
9384 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9386 * MenuBackend.C: use "Floatname List"
9388 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
9390 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
9391 when converting LaTeX layout to insetERT.
9392 Generate a non-collapsed float when reading old float
9394 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9396 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
9399 2001-08-13 Juergen Vigna <jug@sad.it>
9401 * text.C (fill): return 0 instead of 20 as this seems to be the more
9404 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9406 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
9409 2001-08-13 Juergen Vigna <jug@sad.it>
9411 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
9413 (SearchBackward): comment out the unlocking of the inset_owner this
9414 should not be needed!
9416 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
9418 * Many files: Remove inherit_language, and add latex_language
9420 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
9423 2001-08-10 Juergen Vigna <jug@sad.it>
9425 * text.C (prepareToPrint): fixed hfill-width in draw!
9427 * BufferView2.C (selectLastWord): save the selection cursor as this
9428 now is cleared in the function LyXText::clearSelection!
9430 2001-08-08 Juergen Vigna <jug@sad.it>
9432 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
9433 BACKSPACE type functions.
9435 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
9436 is only cutted from the document but not put in the cut-buffer, where
9437 still the old stuff should be.
9439 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
9441 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
9443 * tabular.C (SetWidthOfCell): fixed special case where the width
9445 (LeftLine): handle '|' in align_special.
9447 (LeftAlreadyDrawed): ditto
9448 (SetWidthOfCell): ditto
9450 2001-08-07 Juergen Vigna <jug@sad.it>
9452 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
9454 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9456 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
9457 * lyxlex.[hC]: ditto
9459 2001-08-06 Juergen Vigna <jug@sad.it>
9461 * text.C (getVisibleRow): fix up row clearing a bit.
9463 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9465 * minibuffer.C: make sure the X server sees the changes in the input.
9467 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9469 * paragraph.C (getFont): split into...
9470 (getLabelFont): this
9471 (getLayoutFont): and this
9472 * paragraph_pimpl.C (realizeFont): calling this
9474 * text2.C (getFont): split into...
9475 (getLayoutFont): this
9476 (getLabelFont): and this
9477 (realizeFont): all three calling this
9479 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
9482 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9484 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
9486 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
9488 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
9489 layouts from the Quote inset insertion.
9491 2001-08-03 Juergen Vigna <jug@sad.it>
9493 * BufferView_pimpl.C (update): do the fitCursor only at the end!
9495 * screen.C (drawFromTo): don't call fitcursor here and do the loop
9496 only if status not is already CHANGED_IN_DRAW (second level).
9498 * text.C (draw): don't set the need_break_row when inside an
9501 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9503 * buffer.C (parseSingleLyXformat2Token): handle more latex
9506 * bufferview_funcs.[hC]: change function names to
9507 begin with small char, adjust other files.
9509 2001-08-02 André Pönitz <poenitz@gmx.net>
9512 BufferView_pimpl.C: remove broken special code for math-greek
9514 2001-08-02 Juergen Vigna <jug@sad.it>
9516 * BufferView_pimpl.C (update): redone this function so that we
9517 update the text again if there was a CHANGE_IN_DRAW.
9519 * screen.C (cursorToggle): removed LyXText parameter and recoded.
9520 (drawFromTo): added a new internal bool which is used by draw() and
9522 (general): some cursor drawing problems fixed.
9524 2001-08-01 Juergen Vigna <jug@sad.it>
9526 * lyxfind.C (LyXFind): fixed
9527 (SearchForward): ditto
9528 (SearchBackward): ditto
9530 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
9531 spurius drawing of the cursor in the main area.
9533 * text2.C (status): small fix which could lead to a segfault!
9534 (clearSelection): remove unneeded BufferView param.
9536 2001-08-01 André Pönitz <poenitz@gmx.net>
9538 * lyxfunc.C: small change due to changed mathed interface
9540 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9542 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
9544 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
9546 * lyxfunc.c: fail gracefully if file doesn't exist
9551 * BufferView_pimpl.C: IsDirWriteable() proto changed
9553 * LyXView.C: fix updateWindowTitle() to store the last title
9555 2001-07-31 Juergen Vigna <jug@sad.it>
9557 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
9558 the font (wrong since using of Paragraph::highestFontInRange).
9560 * paragraph.C (highestFontInRange): added a default_size parameter.
9562 * text.C (getVisibleRow): minor clear row changes (still not perfect).
9563 (setHeightOfRow): reformat
9565 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9567 * converter.[hC] + affected files: move to (inital-char)lowercase
9570 * ParagraphParameters.C (ParagraphParameters): remove commented code
9572 * PainterBase.[Ch]: remove commented code
9574 * LaTeXFeatures.h: add "bool floats" for float.sty
9576 * LaTeXFeatures.C (LaTeXFeatures): init floats
9577 (require): handle float
9578 (getPackages): do it with floats
9580 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9582 * BufferView_pimpl.C (Dispatch): improve handling of
9583 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
9585 * commandtags.h: #include lyxfont.h here temporarily to avoid
9588 * bufferlist.h: include LString.h here.
9590 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9592 * text2.C (getStringToIndex): new method.
9594 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
9596 * *: Reduced header file dependencies all over.
9598 2001-07-30 Baruch Even <baruch@lyx.org>
9600 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
9602 2001-07-29 Baruch Even <baruch@lyx.org>
9604 * buffer.C (readInset): Changed GRAPHICS to Graphics.
9606 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9608 * ParameterStruct.h (endif): add a default constructor to make
9609 sure that all variables is initialized.
9611 * ParagraphParameters.C (ParagraphParameters): adjust
9613 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9615 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
9616 index; also, check that there is something to index, and that it
9617 does not span over several paragraphs.
9618 (doubleClick): use WHOLE_WORD_STRICT for double click.
9620 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
9622 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
9625 2001-07-26 Baruch Even <baruch@lyx.org>
9627 * buffer.C (readInset): Changed to call up InsetGraphics when reading
9628 an InsetFig figure, backwards compatible reading of old figure code.
9630 2001-07-27 Juergen Vigna <jug@sad.it>
9632 * text2.C: font.realize function adaption.
9634 * text.C (draw): add a warnings lyxerr text if needed.
9636 * layout.C: font.realize function adaption.
9638 * language.C: add inherit_language and implement it's handlings
9640 * bufferview_funcs.C (StyleReset): remove language parameter from
9641 font creation (should be language_inherit now).
9643 * bufferparams.C (writeFile): handle ignore_language.
9645 * paragraph.C (getFontSettings): the language has to be resolved
9646 otherwise we have problems in LyXFont!
9648 * lyxfont.C (lyxWriteChanges): added document_language parameter
9649 (update): removed unneeded language parameter
9651 * paragraph.C (validate): fixed wrong output of color-package when
9652 using interface colors for certain fonts in certain environments,
9653 which should not seen as that on the final output.
9655 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
9657 * BufferView_pimpl.C:
9662 * LyXAction.C: add thesaurus support
9665 * lyxfind.C: add "once" parameter, for thesaurus, to not
9666 move to the next match
9668 2001-07-26 Juergen Vigna <jug@sad.it>
9670 * lyxfont.C (realize): honor ignore_language too!
9673 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
9675 * text.C (draw): one place more for ignore_language to not draw
9678 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
9680 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
9682 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9684 * buffer.C (parseSingleLyXformat2Token): a more general fix for
9685 the minipage conversion problem.
9687 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9689 * buffer.C (parseSingleLyXformat2Token): check minipage if we
9692 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9694 * BufferView.h: don't forward declare WorkArea
9696 * BufferView.C: don't include WorkArea.h
9698 2001-07-25 André Pönitz <poenitz@gmx.net>
9702 * lyxfunc.C: new LFUN 'math-space'
9704 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
9706 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9708 * text2.C (toggleInset): call open/close
9710 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9712 * lyxfunc.C (dispatch): add debug for the disabled case
9714 * font.C (buttonText): make similar to rectText
9716 * buffer.C (readInset): comment out parsing of insetlist and
9719 * PainterBase.C (rectText): small correction
9721 * BufferView_pimpl.C: comment out insettheorem and insetlist
9722 * LyXAction.C: ditto
9723 * commandtags.h: ditto
9725 2001-07-24 Juergen Vigna <jug@sad.it>
9727 * text.C (draw): honor the ignore_language.
9729 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
9731 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9733 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
9736 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9738 * lyxtext.h: remove unused (and unimplemented) methods
9740 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9742 * text.C (getVisibleRow): honor background color
9745 * Painter.h: remove default color argument for fillRectangle
9747 * text.C (backgroundColor): new method
9749 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9751 * text.C (getVisibleRow): adjust
9753 * font.[Ch] (rectText): new method, metrics
9754 (buttonText): new method, metrics
9756 * PainterBase.[hC]: make rectText and buttonText always draw and take
9759 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9761 * ToolbarDefaults.C (read):
9762 * MenuBackend.C (read): allow escaping in all strings
9764 * BufferView_pimpl.C (insertAndEditInset): new method.
9765 (Dispatch): use insertAndEditInset whenever appropriate.
9767 * BufferView_pimpl.C (insertNote): removed
9769 * BufferView_pimpl.C (smartQuote): new method, moved from
9770 BufferView; if an insetquote cannot be inserted, insert a '"'
9773 * BufferView2.C: remove insertCorrectQuote();
9775 * lyxfunc.C (getStatus): Add support for all remaingin
9778 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9780 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9781 command (necessary to pass " as parameter of self-insert.
9783 * text.C (selectWordWhenUnderCursor):
9784 (selectWord): add word_location parameter
9785 (selectWordWhenUnderCursor): same + remove special code for word
9787 (selectNextWord): use kind() to guess type of insetspecialchar,
9790 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9791 (insertErtContents): create ert insets as collapsed.
9792 (readInset): better compatibility code for Info inset.
9794 2001-07-20 Juergen Vigna <jug@sad.it>
9796 * lyxfunc.C (dispatch): use always LyXFind now!
9798 * text2.C (init): add a reinit flag so that the LyXText can be
9799 reinited instead of deleted and reallocated (used in InsetText).
9801 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9807 2001-07-18 Juergen Vigna <jug@sad.it>
9809 * text.C (selectNextWord): handle insets inside inset by calling
9810 always the bv->text functions so that we can go up the_locking_inset!
9812 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9813 in strange locations when inside an inset!
9815 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9816 handling to include insets.
9818 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9820 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9822 * LyXAction.C (init):
9824 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9825 LIGATURE_BREAK, since the name is so stupid.
9827 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9829 * buffer.C (readInset): enable reading of new InsetNotes as well as old
9832 * FontLoader.C: remove FORMS_H_LOCATION cruft.
9834 * sp_form.[Ch]: remove.
9836 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9838 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9841 * src/buffer.C (readInset): ditto.
9843 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9845 * BufferView_pimpl.C (specialChar): new method. Obsoletes
9846 menuSeparator(), endOfSentenceDot(), ldots() and
9847 hyphenationPoint(), which are therefore removed.
9848 (Dispatch): handle LFUN_HYPHENATION_BREAK.
9850 * LyXAction.C (init):
9851 * commandtags.h: add LFUN_HYPHENATION_BREAK.
9853 * paragraph.C (getWord): removed.
9855 * BufferView_pimpl.C (Dispatch): use last word or selection for
9856 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9858 * lyx_main.C (queryUserLyXDir): do not ask before creating
9859 user_dir, except if it has been named explicitely.
9861 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9863 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9864 a document of zero size.
9866 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
9868 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9869 approriately in the c-tor and in require().
9870 (getPackages): output the appropriate LaTeX for natbib support.
9872 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9873 variables "use_natbib" and "use_numerical_citations" when reading the
9875 (readInset): read the various natbib cite commands.
9876 (validate): white-space change.
9878 * bufferparams.[Ch]: new variables "bool use_natbib" and
9879 "bool use_numerical_citations".
9880 (writeFile): output them in the LyX file.
9882 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9884 * lyxfunc.C (getStatus): add support for all the inset insertion
9887 * text2.C (insertInset):
9888 * paragraph.C (insetAllowed):
9889 * BufferView_pimpl.C (insertInset): update to take in account the
9890 renaming of insertInsetAllowed
9892 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9894 * text2.C (getInset): new method. returns inset at cursor position.
9896 * BufferView_pimpl.C (Dispatch): changes because of this.
9898 * LyXAction.C (init): rename open-stuff to inset-toggle.
9900 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9902 * text2.C (toggleInset): renamed from openStuff; use
9905 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
9907 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9909 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9911 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
9913 * buffer.C (readLyXformat2): Add filename to the error dialog
9915 2001-07-18 Juergen Vigna <jug@sad.it>
9917 * tabular.C (GetCellNumber): put an assert here instead of the check!
9919 2001-07-17 Juergen Vigna <jug@sad.it>
9921 * BufferView_pimpl.C (toggleSelection): adapted too.
9923 * text.C (selectNextWord): adapted for use with insets.
9924 (selectSelectedWord): ditto
9926 2001-07-17 Juergen Vigna <jug@sad.it>
9928 * sp_spell.C (PSpell): fix initialitation order.
9930 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9932 * paragraph.C: spacing
9934 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
9936 * sp_spell.C: repair language selection for pspell
9938 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9940 * lyxfunc.h: change more methods to begin with lower char.
9942 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
9944 * buffer.C (parseSingleLyXformat2Token): Generate error insets
9945 for unknown layouts.
9947 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
9949 * buffer.C (readLyXformat2): Generate an error dialog if there are
9952 2001-07-16 Juergen Vigna <jug@sad.it>
9954 * sp_spell.C: always compile ISpell part.
9956 * lyxrc.C: added use_pspell entry and it's handling.
9958 2001-07-13 Juergen Vigna <jug@sad.it>
9960 * sp_spell.C: removed double includes.
9962 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
9964 Consistent use of Lsstream.h:
9965 * Lsstream.h: added using std::stringstream for consistencies sake.
9967 * buffer.C: removed using std::stringstream
9969 * lyxfont.C (stateText):
9970 * paragraph.C (asString):
9971 * text.C (selectNextWord, selectSelectedWord):
9972 * text2.C (setCounter):
9973 * vspace.C (asString, asLatexString):
9974 std::ostringstream -> ostringstream.
9976 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9978 * LyXAction.C: add LFUN_HELP_ABOUTLYX
9979 * commandtags.h: add LFUN_HELP_ABOUTLYX
9980 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9982 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9984 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9986 * lyx_gui_misc.C: remove spellchecker
9987 * lyxfunc.C: showSpellchecker
9989 * sp_ispell.h: added
9990 * sp_pspell.h: added
9992 * sp_form.[Ch]: removed
9993 * spellchecker.[Ch]: removed
9995 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
9997 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9999 (simpleTeXSpecialChars): Simply print the input character without
10000 any special translation if pass_thru is set.
10002 * layout.h: Added bool pass_thru to layout class for being able to
10003 implement pass through of a paragraph for Literate Programming.
10005 * layout.C: add LT_PASS_THRU to LayoutTags enum.
10006 * layout.C (LyXLayout): set pass_thru to flase in constructor.
10007 * layout.C (Read): add "passthru" to list of layout tags and add
10008 code to set the pass_thru boolean when it is read.
10010 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10012 * trans_decl.h: remove allowed from KmodInfo
10014 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10015 remove allowed code
10018 * paragraph_pimpl.C (erase): use boost::prior
10020 * Painter.C (text): use data() instead of c_str() when length is
10022 * WorkArea.C (putClipboard): ditto
10023 * font.h (width): ditto
10025 * BufferView2.C: use it-> instead of (*it). for iterators
10027 * paragraph_pimpl.C: ditto
10028 * paragraph.C: ditto
10029 * minibuffer.C: ditto
10030 * language.C: ditto
10032 * encoding.C: ditto
10033 * counters.C: ditto
10034 * converter.C: ditto
10036 * Variables.C: ditto
10037 * TextCache.C: ditto
10038 * MenuBackend.C: ditto
10039 * LyXAction.C: ditto
10041 * FloatList.C: ditto
10042 * DepTable.C: ditto
10043 * ColorHandler.C (LyXColorHandler): ditto
10045 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10047 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10049 * text2.C (openStuff): reintroduce this method (which had been
10050 nuked in NEW_INSETS frenzy).
10052 * lyxfunc.C (Dispatch): when an action has not been handled, use
10053 its name in the error message, not its number.
10055 * paragraph.C (inInset): change method name to begin with lowercase.
10058 * text2.C: updates because of this.
10060 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10062 * ToolbarDefaults.C (add): add spaces in error message
10064 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10066 * buffer.C (readLyXformat2): initialize the ert comp. variables.
10067 (readLyXformat2): rename return_par to first_par, use lyxlex's
10068 pushToken and remove the manual push handling.
10069 (parseSingleLyXformat2Token): add another ert comp. variable:
10070 in_tabular, rename return_par to first_par. handle newlines better
10072 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10074 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10076 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10078 * text2.C (getParFromID): removed
10080 * buffer.C (getParFromID): new method moved form lyxtext.
10081 * BufferView2.C (insertErrors): adjust
10082 (setCursorFromRow): adjust
10083 * BufferView_pimpl.C (restorePosition): adjust
10084 * lyxfunc.C (Dispatch): adjust
10085 * undo_funcs.C (textUndo): adjust
10087 (textHandleUndo): adjust
10088 (textHandleUndo): adjust
10090 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10092 * buffer.C: up' the LYX_FORMAT
10094 * lyxfont.h: turn NO_LATEX on as default
10096 * buffer.C (insertErtContents): new methods of tex style compability.
10097 (parseSingleLyXformat2Token): use it several places.
10098 * tabular.C (OldFormatRead): and here
10100 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10102 * text2.C: remove some commented code.
10105 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10106 * trans.C: changes because of the above.
10108 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
10110 * text2.C (setCounter): Fix counters bug with bibliography layout.
10112 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10114 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10115 own member functions
10116 (simpleTeXSpecialChars): ditto
10118 2001-07-06 Juergen Vigna <jug@sad.it>
10120 * a lot of files: changed the access to LyXText::status and the
10121 call of undo-functions.
10123 * undo.[Ch]: added a inset_id to the undo informations.
10125 * undo_funcs.[Ch]: added and moved here all undo functions.
10127 * lyxtext.h: give the status enum a weight, made status_ a private
10128 variable and made accessor functions for it, removed the whole bunch
10129 of undo-functions as they are now in their own file, make some
10130 functions publically available. Added function ownerParagraph with
10133 * paragraph.[Ch]: added "bool same_ids" to the constructor,
10134 made InInset() a const function, added getParFromID() function.
10136 * buffer.[Ch]: added const version for inset_iterator functions,
10137 added getInsetFromID() function.
10139 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
10140 changed undo functions for new version.
10142 2001-07-05 Juergen Vigna <jug@sad.it>
10144 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
10145 unknow mechanism does not call the proper constructor but only this
10146 one also if I request the other!?
10148 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10150 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
10152 * text2.C (LyXText): use initialization lists.
10154 * lyxtext.h (Selection): initialize set_ and mark_
10155 (init): remove method
10157 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
10159 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
10161 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10163 * screen.[Ch]: change method names to begin with lowercase
10165 * BufferView_pimpl.C (updateScrollbar): simplify further and
10166 hopefully make it a bit faster.
10168 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10170 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
10171 calling directly xforms functions.
10173 * Painter.C (Painter):
10174 * lyx_cb.C (MenuWrite):
10175 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
10178 * lyx_gui.C: remove bogus guiruntime extern declaration.
10180 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10182 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
10184 (redoDrawingOfParagraph): ditto
10185 (redoParagraphs): ditto
10186 (cutSelection): don't create a object for CutAndPaste use the
10187 static method directly
10188 (pasteSelection): ditto
10190 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
10193 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10195 * modifications to some other files because of this.
10197 * Makefile.am (lyx_SOURCES): add XFormsView
10199 * XFormsView.[Ch]: new files
10201 * LyXView.[Ch]: make LyXView a base class for the gui handling for
10202 the main window. Move the gui dependent stuff to XFormsView
10204 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10206 * tabular.C (GetCellInset): update cur_cell also in the row/col
10207 version of this function.
10209 * lyxfunc.C: no need to include figure_form.h here.
10215 * lyxvc.C: no need to include forms.h here.
10217 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10219 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
10221 * lyxfunc.C (Dispatch):
10223 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
10224 constructor argument.
10226 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10228 * paragraph.C (Paragraph): dont't clear, and just set layout.
10229 (makeSameLayout): use params's copy contructor.
10231 * ParagraphParameters.[Ch] (makeSame): delete method
10233 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
10235 * Variables.[Ch]: fix indentation, rename set to isSet
10237 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10239 * lyxfunc.C (Dispatch): fix typo
10241 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10243 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
10246 * bufferlist.C: include assert.h for emergencyWrite().
10248 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10250 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
10251 give up at last (bug #425202) !
10253 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
10259 * spellchecker.C: strip spellchecker options and bring up
10260 preferences tab instead
10262 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10264 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
10265 the istringstream constructor
10267 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10269 * paragraph.C (getLayout): fix return value
10271 * paragraph.h: do not declare getLayout as inline.
10273 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
10275 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10277 * lyxcursor.h (operator<): new func
10278 (operator>): new func
10279 (operator>=): new func
10280 (operator<=): new func
10282 * text.C (changeCase): use selection.start and selection.end
10283 (changeRegionCase): require from to be <= to. Require par to be a
10286 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
10288 2001-06-27 Juergen Vigna <jug@sad.it>
10290 * text.C (cursorLeftOneWord): changed to return the cursor and added
10291 overlay with BufferView * parameter which calls this one.
10293 (selectWord): use new getWord function.
10294 (changeCase): renamed from changeWordCase as and extended to work
10295 also on selections.
10297 * lyxtext.h: added enum word_location
10299 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
10300 changeCase as this operates now also on selections.
10302 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
10304 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
10306 * many files: send debug output to Debug::INFO instead of
10309 * converter.C (View):
10311 (Move): send debug output to Debug::FILES instead of console.
10313 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
10315 * lyxfunc.C (getStatus): use func_status
10317 * func_status.h: new header, describing the results of
10318 LyXFunc::getStatus;
10320 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
10323 2001-06-25 The LyX Project <jug@sad.it>
10325 * buffer.C (sgmlOpenTag):
10327 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
10329 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10331 * text2.C: remove some dead code
10333 * tabular.C (GetCellInset): store the last cell checked (gotten)
10335 * tabular.h: add the helper for the speedup
10337 * lyxtext.h: remove some dead code
10339 2001-06-26 The LyX Project <Asger>
10341 * paragraph.C: Change export to LaTeX of alignment to
10342 \begin{center} and family for better roundtrip work with reLyX.
10344 * Tune the math drawing a bit.
10346 2001-06-25 The LyX Project <Asger>
10348 * LColor.C (LColor): New color for math background. New color
10351 2001-06-25 The LyX Project <jug@sad.it>
10353 * lyxfunc.C (MenuNew): remove extra check for .lyx file
10355 * lyxfunc.C (Open):
10356 * bufferlist.C (newFile): do not restrict to files ending with
10359 * BufferView_pimpl.C (MenuInsertLyXFile):
10361 2001-06-24 The LyX Project <jug@sad.it>
10363 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
10366 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10368 * lyxtext.h: rename most methods to begin with a small char.
10369 Lots of changes because of this.
10371 * paragraph.C (Paragraph): do not call fitToSize
10372 (erase): call Pimpl::erase
10373 (insertChar): call Pimpl::insertChar
10374 (insertInset): call Pipl::insertInset
10375 (breakParagraph): do not call fitToSize
10376 (breakParagraphConservative): do not call fitToSize
10377 (fitToSize): remove method
10379 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
10381 2001-06-24 The LyX Project <Asger>
10383 * Fix Qt compilation^2
10385 2001-06-24 The LyX Project <jug@sad.it>
10387 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
10388 depthHook(getDepth()-1).
10391 * ParagraphParameters.h:
10392 * ParameterStruct.h: change type of depth to unsigned int ==
10393 depth_type. Many adaptations to other files before of that.
10395 2001-06-24 The LyX Project <Asger>
10397 * Fix Qt compilation.
10399 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10401 * paragraph.h: renamed several methods to begin with small letter.
10402 several changes to many parts of the code because of this.
10404 2001-06-23 The LyX Project <jug@sad.it>
10406 * text2.C (InsertStringAsLines): renamed from InsertStringA;
10407 rewritten to discard all double spaces when KeepEmpty is off
10408 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
10409 to only handle newlines but not fiddle with spaces and friends.
10411 * lyxfunc.C (MenuNew): when doing 'new from template', use
10412 template_path as default directory
10414 2001-06-23 The LyX Project <Asger>
10416 * Clean-up of header file includes all over
10417 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
10419 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10421 * paragraph.h: renamed from lyxparagraph.h
10423 2001-06-23 Asger <lyx@violet.home.sad.it>
10425 * Buffer.h: Removed Buffer::resize
10426 * BufferList.h: Removed BufferList::resize
10427 * LyXView.h: Added LyXView::resize. This way, we will only reflow
10428 the document lazily when we change the width, or the font settings.
10430 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10432 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
10434 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10436 * buffer.h: remove out of date comment
10438 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10441 * screen.C: fix "theoretical" GC leak
10443 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10445 * LaTeX.C (scanAuxFile):
10446 (deplog): remove trailing \r when reading stream (useful under
10449 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
10451 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
10452 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
10453 and BufferView::theLockingInset(Inset*), so should use them and not
10454 access bv_->text->the_locking_inset directly.
10456 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
10458 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10461 * tex-defs.h: remove old unused file
10463 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
10465 * BufferView_pimpl.C: fix typo, remove minibuffer message
10466 when buffer has loaded
10468 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10470 * lyxfunc.C (Dispatch): use stringstream
10471 (MenuNew): use stringstream
10472 (Open): use stringstream
10474 * importer.C (Import): use stringstream
10476 * bufferview_funcs.C (CurrentState): use stringstream
10478 * LaTeX.C (run): use stringstream
10480 * BufferView_pimpl.C (savePosition): use stringstream
10481 (restorePosition): use stringstream
10482 (MenuInsertLyXFile): use stringstream
10484 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
10497 * vspace.C: removed // -*- C++ -*- as first line.
10500 * version.h: added // -*- C++ -*- as first line.
10502 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10504 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
10506 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
10509 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10511 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
10514 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10516 * gettext.C: include LString.h even when --disable-nls is on.
10518 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
10520 * converter.h (Get): changed argument type from int to
10521 FormatList::size_type to avoid unnecessary conversion.
10523 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
10526 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10528 * gettext.h: include LString.h even when --disable-nls is on.
10530 2001-06-07 Juergen Vigna <jug@sad.it>
10532 * text.C (BreakAgain): subst spaces with tabs.
10534 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
10535 (resizeInsetsLyXText): set force on resizeLyXText.
10537 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10539 * gettext.h (gettext_init):
10540 (locale_init): use a real definition instead of a macro
10542 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10544 * Bufferview_pimpl.C:
10546 * LColor.C: further lcolor tidies
10548 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10550 * BufferView_pimpl.C (updateScrollbar): simplify.
10552 * BufferView2.C: don't include insets/insetinfo.h, change
10553 prototype for insertInset and call the Pimpl version. let
10554 updateInset call Pimpl version.
10556 * BufferView.h: move inset_slept to BufferView::Pimpl, move
10557 gotoInset to BufferView::Pimpl
10559 2001-06-01 Juergen Vigna <jug@sad.it>
10561 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
10562 inside a LockingInset (is the update needed at all?).
10564 2001-05-31 Juergen Vigna <jug@sad.it>
10566 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
10567 here not the old one otherwise how should we compare it afterwards
10570 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10575 * FontInfo.C: bring C functions into global namespace when
10578 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10580 * LString.h: make sure config.h has been loaded before LString.h.
10582 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
10583 (one for each char read by EatLine!).
10585 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
10588 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10590 * paragraph.C (BreakParagraph): set the inset_owner in the new par
10591 to the same as the par we break from
10593 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
10595 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
10597 * MenuBackend.C (expand): also create menu entries for wide
10598 versions of the floats.
10600 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
10602 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
10604 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
10605 frontends/Makefile.am
10611 * tabular.C (getTokenValue): add std::
10613 * tabular-old.C (getTokenValue): add std::
10614 (getTokenValue): ditto
10615 (getTokenValue): ditto
10617 * screen.C (ToggleSelection): adjust
10619 * lyxtext.h: put selection cursors inside a Selection struct.
10621 * lyxfunc.C (moveCursorUpdate): adjust
10623 * lyxfont.C (latexWriteStartChanges): add std::
10625 * lyxfind.C: adjust
10627 * font.h: delete with(char const *, LyXFont const &)
10629 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
10631 * FontInfo.C (getFontname): add std::
10633 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
10634 (workAreaButtonPress): adjust
10635 (tripleClick): adjust
10637 (moveCursorUpdate): adjust
10640 * BufferView2.C (gotoInset): adjust
10642 2001-05-30 Juergen Vigna <jug@sad.it>
10644 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
10645 to check pspell I add this as default as I now have new pspell
10646 libraries and they seem to use this.
10648 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10650 * text2.C (CutSelection): make the cursor valid before the call to
10653 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10655 * kbsequence.C (parse): de-uglify a bit the parsing code, which
10656 relied on 0 terminated strings and other horrors. Bug found due to
10657 the new assert in lyxstring!
10659 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
10662 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10664 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
10667 * lyxfunc.C (processKeySym): change method of getting to the
10670 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
10671 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
10672 * BufferView_pimpl.[Ch]: here as private methods.
10674 2001-05-28 Juergen Vigna <jug@sad.it>
10676 * text.C (SetHeightOfRow): added the update() call again as it is
10677 needed to initialize inset dimensions!
10679 2001-05-16 Juergen Vigna <jug@sad.it>
10681 * text2.C (SetCharFont): Add new function with BufferView * and
10682 bool toggleall parameters for setting insets internal fonts.
10683 (SetFont): Freeze the undo as we may change fonts in Insets and
10684 all this change should be inside only one Undo!
10686 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
10687 setting font's in insets as for them we have the SetFont function!
10689 2001-05-15 Juergen Vigna <jug@sad.it>
10691 * text2.C (ClearSelection): to be sure we REALLY don't have any
10694 * tabular.C (TeXCellPreamble): fixed the left border problem for
10697 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
10699 * LaTeX.C (deplog): Make sure that the main .tex file is in the
10702 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10704 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
10705 LFUN_BREAKPARAGRAPH.
10707 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
10708 help test to "internal only", similar for LFUN_INSERT_URL
10710 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10711 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
10712 auto_region_delete and deadkeys.
10714 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
10717 * LColor.C: remove some dead entries, tidy a little
10719 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10721 * lyxfunc.C (processKeySym): comment the Escape handling, remove
10723 (Dispatch): implement LFUN_ESCAPE
10725 * commandtags.h: add LFUN_ESCAPE
10727 * LyXAction.C (init): add entry for LFUN_ESCAPE
10729 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
10730 Remove commented code.
10731 (insertNote): moved here
10732 (open_new_inset): moved here
10734 * BufferView[2].[Ch]: move insertNote and open_new_inset to
10737 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10739 * kbmap.C (findbinding): clean it up and make it work correctly.
10741 * lyx_main.C (init): do not pass argc and argv as parameters
10743 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
10745 * buffer.C: fix path for OS/2 & Win32
10749 * lyx_main.C: Added os:: class.
10751 * os2_defines.h: update
10753 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10755 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10756 better by trying again with reduced state.
10758 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10760 * lyxrc.C (read): print error about invalid key sequence only when
10761 debugging (because not all latinX keysyms are known to some X
10764 * kbsequence.C (getiso): add a few std:: qualifiers
10765 (getiso): comment out extra return statement.
10767 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
10769 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
10771 (Dispatch): enhance the accent inset a bit. (not perfect)
10773 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10775 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
10777 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10779 * bufferlist.C (emergencyWrite): fix assert() call
10781 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
10783 * text.C (InsertChar): Added trivial patch to only send the "you
10784 can not do multiple spaces this way" message once during a
10787 2001-05-08 Baruch Even <baruch@lyx.org>
10789 * Makefile.am: Changed order of libraries to get LyX to link properly
10790 with the gnome frontend.
10792 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10794 * LaTeXFeatures.h: add a std:: qualifier
10796 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10798 * paragraph.C (String): use stringstream
10800 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10802 * paragraph.C (writeFile): remove footflag arg
10804 * buffer.C (makeLaTeXFile): use stringstream
10805 (latexParagraphs): remove footnot gurba
10807 * LaTeXFeatures.C (getPackages): use stringstream
10808 (getMacros): likewise
10809 (getTClassPreamble): likewise
10810 (getFloatDefinitions): new method
10812 * paragraph.C (writeFile): reindent
10815 * WorkArea.h: revert the xpos + etc changes.
10817 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10819 * lyxparagraph.[Ch]: add copy constructor, remove Clone
10821 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10822 (pasteSelection): likewise
10823 * text2.C (CreateUndo): likewise
10825 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10827 * minibuffer.C (peek_event): temporarily reduce the functionality
10828 of the minibuffer (to allow args on lfuns)
10830 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10831 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10833 * buffer.C (readInset): add compability reading of old float
10834 lists, add reading of new style float list.
10835 (readInset): avoid reevaluation of inscmd.getCmdName()
10836 (getLists): reindent
10838 * MenuBackend.C (MenuItem): implement parsing of
10839 md_floatlistinsert and md_floatinsert.
10840 (expand::LastFiles): move initalizaton of iterators out of loop,
10841 avoid reevaluation.
10842 (expand::Documents): introduce typdedef vector<string> Strings,
10844 (expand::ExportFormats): introduce typedef vector<Format const *>
10845 Formats, and use it.
10846 (expand): implement FloatListInsert and FloatInsert.
10848 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10849 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10850 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10852 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10854 (Dispatch::LFUN_FLOAT_LIST): implement
10856 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10858 * LaTeX.C (run): Fix problem with --export code.
10860 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10862 * BufferView.[Ch] (workarea): removed.
10863 (getClipboard) new method; wrapper for workarea()->getClipboard()
10865 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10868 * WorkArea.h (width, height, xpos, ypos): These methods all
10869 returned the dimensions of the work_area sub-area of WorkArea,
10870 resulting in a position error if the WorkArea were resized. Now
10871 return the dimensions of the entire WorkArea.
10873 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10875 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10877 * LaTeX.C (deplog): correct the syntax of regex reg1
10879 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10881 * undo.C: remove !NEW_INSETS cruft
10883 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10885 * text2.C: remove !NEW_INSETS cruft
10887 * text.C: remove !NEW_INSETS cruft
10889 * tabular.C: remove !NEW_INSETS cruft
10891 * spellchecker.C: remove !NEW_INSETS cruft
10893 * lyxtext.h: remove !NEW_INSETS cruft
10895 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10897 * lyxfunc.C: remove !NEW_INSETS cruft
10899 * lyxfind.C: remove !NEW_INSETS cruft
10901 * lyx_cb.C: remove !NEW_INSETS cruft
10903 * figureForm.C: remove !NEW_INSETS cruft
10905 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10907 * buffer.[Ch]: remove !NEW_INSETS cruft
10909 * ToolbarDefaults.C: remove !NEW_INSETS cruft
10911 * CutAndPaste.C: remove !NEW_INSETS cruft
10913 * BufferView_pimpl.C: remove !NEW_INSETS cruft
10915 * BufferView2.C: remove !NEW_INSETS cruft
10917 * BufferView.h: remove !NEW_INSETS cruft
10919 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10921 * Lsstream.h: include LString.h before the sstream headers to
10922 fix problem with gcc 2.95.3 and lyxstring
10924 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10926 * lyx_main.C: add using directives when needed for C functions
10927 declared in std:: namespace.
10929 2001-04-27 Juergen Vigna <jug@sad.it>
10931 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10932 (SetHeightOfRow): comment out the update call should not be needed!
10934 2001-04-13 Juergen Vigna <jug@sad.it>
10936 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10937 (LyXTabular): tried to minimize operator= operations (and realized
10938 hopfully Lars wish).
10940 2001-04-27 Juergen Vigna <jug@sad.it>
10942 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10944 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10946 * lyxfunc.C (Dispatch): hack to make listof algorithm work
10948 * buffer.C (readInset): hack to make listof algorithm work
10950 * BufferView_pimpl.C: hack to make listof algorithm work
10952 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10954 * LyXAction.C: removed all !NEW_INSETS cruft
10955 (init): moved lfun_item in method
10957 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10959 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10961 * BufferView2.C (theLockingInset): white space.
10963 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10965 * minibuffer.C: include <iostream>
10967 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10969 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10971 * commandtags.h: add LFUN_TRANSPOSE_CHARS
10973 * text.[Ch] (TransposeChars): new method
10975 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10977 * call message directly through LyXView instead of through LyXFunc
10978 * BufferView2.C: adjust
10979 * BufferView_pimpl.C: adjust
10980 * FontLoader.C: adjust
10982 * bufferview_funcs.C: adjust
10983 * converter.C: adjust
10984 * figureForm.C: adjust
10985 * importer.C: adjust
10987 * lyx_gui_misc.C: adjust
10988 * lyxfunc.C: adjust
10991 + more files in subdirs
10993 * lyxparagraph.h (size): move up int file
10996 * adjust all uses of Assert to lyx::Assert.
10998 * BufferView2.C (ChangeCitationsIfUnique): adjust for
10999 lyxfunctional in namespace lyx
11000 * layout.C (hasLayout): ditto
11003 (delete_layout): ditto
11004 (NumberOfClass): ditto
11005 * converter.C (GetFormat): ditto
11010 * bufferlist.C (getFileNames): ditto
11011 (emergencyWriteAll): ditto
11014 * MenuBackend.C (hasSubmenu): ditto
11017 * BufferView_pimpl.C (getInsetByCode): ditto
11019 2001-04-18 Juergen Vigna <jug@sad.it>
11021 * vspace.C (asLatexString): fixed the 100% problem.
11023 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11025 * lyxfunc.C (Dispatch):
11027 * minibuffer.h: add a few std:: qualifiers
11029 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11031 * minibuffer.[Ch]: reimplement so that commands is initiated and
11032 run from lyxfunc, simplified som handling, and made the completion
11033 and history code for complete. wip.
11035 * lyxfunc.C (processKeySym): call message
11036 (miniDispatch): new temporary method
11037 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11038 (LFUN_MESSAGE): implement
11039 (LFUN_MESSAGE_PUSH): implement
11040 (LFUN_MESSAGE_POP): implement
11041 (initMiniBuffer): the initial/defualt minibuffer message.
11043 * lyxfont.[Ch]: inline some more getters
11045 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11047 * lyx_gui_misc.[Ch] (WriteStatus): remove method
11049 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11050 (AutoSave): use LFUN_MESSAGE
11051 (Reconfigure): ditto
11053 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11055 * figureForm.C: use LFUN_MESSAGE
11057 * converter.C (runLaTeX): use LFUN_MESSAGE
11059 * bufferview_funcs.C: use LFUN_MESSAGE
11061 (changeDepth): ditto
11063 * bufferparams.h: use boost::
11065 * bufferlist.h: inherit privately from noncopyable
11067 * bufferlist.C (loadLyXFile): remove some commented code.
11069 * buffer.C (runChktex): use LFUN_MESSAGE
11071 * ShareContainer.h: inherit privately from noncopyable
11073 * ParagraphParameters.[hC] (depth): inline it.
11075 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11077 (message): new method
11078 (messagePush): ditto
11079 (messagePop): ditto
11080 (show): init minibuffer
11081 (showState): direct call
11083 * LaTeX.[Ch]: inherit privately from noncopyable
11084 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11085 instead of WriteStatus.
11087 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
11089 * BufferView_pimpl.C (buffer): don't init minibuffer
11090 (workAreaButtonPress): use LFUN_MESSAGE
11091 (workAreaButtonRelease): ditto
11092 (savePosition): ditto
11093 (restorePosition): ditto
11094 (MenuInsertLyXFile): ditto
11095 (workAreaExpose): don't init minibuffer
11096 (update): remove commented code, simplify
11098 * BufferView2.C (openStuff): use LFUN_MESSAGE
11099 (toggleFloat): ditto
11102 (copyEnvironment): ditto
11103 (pasteEnvironment): ditto
11108 (updateInset): remove some commented code
11110 * lastfiles.h: inherit privately from noncopyable
11113 * lyx_main.h: ditto
11115 * lyxlex_pimpl.h: ditto
11117 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11118 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11119 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11121 * LyXAction.h: inherit privately from noncopyable, add methods
11122 func_begin, func_end, returning iterators to the func map.
11124 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
11125 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11126 (func_begin): new method
11127 (func_end): new method
11129 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
11131 (copySelection): ditto
11132 (pasteSelection): ditto
11134 * BufferView.C: whitespace change
11135 * BufferView.h: inherit privately from noncopyable
11137 2001-04-16 Allan Rae <rae@lyx.org>
11139 * tabular-old.C (l_getline):
11140 * spellchecker.C (sc_check_word):
11141 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
11142 an unrecognised preprocessor directive. So ensure they're wrapped.
11144 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
11146 * src/exporter.C (Export): Give an error message when path to file
11149 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
11151 * LaTeX.C (deplog): Always check that foundfile exists.
11153 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11156 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
11158 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11160 * tabular.[Ch] (getLabelList): implement new method
11162 * minibuffer.h: comment ouf setTiimer
11164 * minibuffer.C (ExecutingCB): constify res
11165 (peek_event): constify s
11166 (Set): constify ntext
11167 (Init): constify nicename
11169 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
11171 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
11172 (savePosition): use two params to Minibuffer::Set
11173 (restorePosition): ditto
11175 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11177 * lyx_main.C: include language.h
11179 * Makefile.am (lyx_main.o): add language.h
11181 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11187 * CutAndPaste.C: include gettext.h
11189 * lyxfont.h: remove old hack with ON and OFF.
11192 * lyxfont.h: do not include language.h...
11197 * bufferview_funcs.C:
11203 * paragraph.C: ... but do it here instead
11205 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11207 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
11209 * tabular.C: small reformat
11211 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
11214 (BreakParagraph): ditto
11215 (SetOnlyLayout): ditto
11218 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
11221 * lastfiles.C: removed most using decl, add std:: where needed
11223 * buffer.C: ws changes
11225 * MenuBackend.C (class compare_format): put into anon namespace
11226 (expand): constify label, names, action, action2
11229 * text.C (SingleWidth): constify font
11230 (IsBoundary): constify rtl2
11231 (GetVisibleRow): constify ww
11233 * LaTeX.C (deplog): constify logfile
11235 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
11237 (workAreaExpose): constify widthChange, heightChange
11239 * lyxrow.C (par): moved
11242 * lyxrow.h: as inlines here
11244 * lyxfont.h (shape): moved from lyxfont.C
11245 (emph): moved from lyxfont.C
11247 * lyxfont.C (LyXFont): use initialization list for all
11249 (shape): move to lyxfont.h as inline
11250 (emph): move to lyxfont.h as inline
11253 2001-04-04 Juergen Vigna <jug@sad.it>
11255 * vspace.C: had to include stdio.h for use of sscanf
11257 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
11260 * BufferView_pimpl.h: remove xforms cruft. Both classes are
11261 independent of xforms.
11263 2001-04-02 Juergen Vigna <jug@sad.it>
11265 * spellchecker.C: fixed namespace placing!
11267 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
11269 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
11270 the LyXParagraph * is 0.
11272 2001-03-29 Juergen Vigna <jug@sad.it>
11274 * vspace.C: added support for %, c%, p%, l%.
11275 (stringFromUnit): added helper function.
11276 (asLatexString): changed to give right results for the %-values.
11278 * buffer.C: convert the widthp in a width%.
11280 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
11282 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
11285 * figureForm.[Ch]: stripped the FD_from_figure manipulation
11286 code out of lux_cb.[Ch], ready for its (imminent?) removal.
11288 * lyx_cb.[Ch]: see above.
11290 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
11294 * lyx.[Ch]: replaced by figure_form.[Ch].
11298 * lyxfunc.C: changed headers associated with above changes.
11300 2001-03-27 Juergen Vigna <jug@sad.it>
11302 * BufferView_pimpl.C: set the temporary cursor right!
11304 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
11306 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
11308 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
11310 * LString.h: removed "using std::getline"!
11312 * BufferView_pimpl.C (Dispatch): changes due to changes in
11313 InsetInclude::Params.
11315 * buffer.C (tag_name): removed redundant break statements as they were
11316 producing lots of warnings with my compiler.
11318 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11320 * LString.h: add "using std::getline" when using the real <string>.
11322 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
11324 * buffer.C: removed bitset usage.
11325 PAR_TAG moved to an anonymous name space.
11326 (tag_name): new funtion, also in the anonymous namespace.
11327 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
11328 (makeDocBookFile): clean code. Completed transition from string arrays
11330 (SimpleDocBookOnePar): code clean.
11332 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11334 * tabular.C: add some comments.
11336 2001-03-22 Juergen Vigna <jug@sad.it>
11338 * buffer.C (parseSingleLyXformat2Token): redone the minipage
11339 compatibility read a bit and fixed bug with minipage in different
11342 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
11344 * buffer.C (pop_tag): removed.
11345 (push_tag): removed.
11346 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
11347 array replaced with vector. Added support for CDATA sections.
11348 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
11350 (makeDocBookFile): XML conformant declaration of CDATA section,
11351 fixed bug related to <emphasis> in the first paragraph char.
11352 (sgmlOpenTag): exclude empty tags.
11353 (sgmlCloseTag): ditto.
11355 * buffer.h (pop_tag): removed.
11356 (push_tag): removed.
11358 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
11360 * language.h (Languages): added size_type and size().
11362 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11364 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
11365 response on compability reading of minipages. One probliem is that
11366 the old usage of minipages was «flertydig»
11368 * several files here and in subdirs: don't use static at file
11369 scope use anon namespaces instead.
11371 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
11373 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
11374 LaTeX output. This is necessary for Literate document
11377 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11379 * buffer.C: insert hfill when needed.
11381 * tabular.C (l_getline): use string::erase, small whitespace change.
11383 * BufferView_pimpl.C: try the anon namespace.
11384 * WorkArea.C: ditto
11386 2001-03-16 Juergen Vigna <jug@sad.it>
11388 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
11389 otherwise it won't open options-dialogs.
11391 * buffer.C: honor pextraWidth(p) on converting minipages.
11393 * tabular.C (l_getline): changed the functions to strip trailing \r.
11395 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
11397 * BufferView_pimpl.C:
11398 * minibuffer..C: added "using SigC::slot" declaration.
11400 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11402 * lyxlex_pimpl.h: noncopyable is in namespace boost.
11408 * paragraph.C: ditto
11410 * lyxtext.h: NO_PEXTRA
11412 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
11414 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
11415 * ParameterStruct.h: ditto
11416 * ParagraphParameters.h: ditto
11417 * lyxparagraph.h: ditto
11419 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11421 * buffer.C: add compability for minipage alignment.
11422 (latexParagraphs): remove unwanted pextra check.
11424 * several files: remove CXX_WORKING_NAMESPACES
11426 * buffer.C (pop_tag): tie is in namespace boost
11428 * BufferView.h: noncopyable is in namespace boost
11430 * lyx_main.h: ditto
11433 * lastfiles.h: ditto
11434 * bufferlist.h: ditto
11435 * ShareContainer.h: ditto
11437 * LyXAction.h: ditto
11440 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11442 * Merging changes from BRANCH_MVC back into HEAD.
11444 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
11446 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
11448 * BufferView_pimpl.C: change from intl.C
11452 * Makefile.am: move combox.*
11458 * intl.C: remove dialog (covered by prefs)
11460 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11462 * lyxfunc.C (Dispatch): removed redundant break statement.
11464 2001-03-14 Juergen Vigna <jug@sad.it>
11466 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
11468 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11470 * buffer.C: add hack to fix compability reading of minipages.
11472 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
11474 * buffer.C (getLists): Cleanup.
11476 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11478 * lyxfont.C (update): don't honor toggleall on font size.
11480 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
11484 * Makefile.am: moved to frontends/xforms/
11488 * BufferView_pimpl.C: changes for moved mathpanel
11490 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11492 * gettext.h: fix gettext_init() in --disable-nls
11494 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11496 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
11498 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
11501 * lyx.h: strip external form
11503 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11505 * BufferView_pimpl.C: add comment, destroySplash()
11507 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11509 * BufferView_pimpl.C:
11513 * lyxfunc.C: use re-worked insetinclude
11515 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11517 * buffer.C: add using std::stringstream.
11519 * lyx_cb.C: readd using std::ios.
11521 * buffer.C: add using std::map.
11523 * BufferView_pimpl.C: add using std::vector.
11525 * ShareContainer.h: add std:: to swap.
11527 * buffer.h: add some typedefs
11528 * buffer.C (getLists): use them
11529 (getLists): renamed from getTocList.
11530 add a counter for the different float types and use it in the
11532 (getLists): use the same counter for the NEW_INSETS and the "non"
11535 * lyx_cb.h: remove unused items, includes, using etc.
11537 * ShareContainer.h: remove some commented code, add more comments
11538 and "documentation".
11540 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11542 * buffer.C (getTocList): make the list also when NEW_INSETS is
11545 * buffer.h: remove TocType
11547 * buffer.C (getTocList): change to return a map<string,
11548 vector<TocItem> >, implement for dynamic number of list.
11550 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
11551 * text2.C (PasteSelection): adjust
11552 * CutAndPaste.C (pasteSelection): adjust
11554 * FloatList.C (FloatList): update from the new_insets branch.
11555 * Floating.[Ch]: ditto
11556 * LaTeXFeatures.C: ditto
11558 * lyxlex_pimpl.C: ditto
11560 * paragraph.C (Last): remove when NEW_INSETS is defined.
11562 * other file: changes because of the above.
11564 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11566 * lyxparagraph.h: rename next to next_, previous to previous_,
11567 make them private for NEW_INSETS. Rename Next() to next(),
11568 Previous() to previous().
11570 * other files: changes because of the above.
11572 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
11575 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
11578 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11580 * main.C (main): pass lyx_localedir to gettext_init().
11582 * gettext.h: remove locale_init and gettext_init macros
11584 * gettext.C (locale_init): new function
11585 (gettext_init): new function
11587 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
11590 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
11592 * Moved credits to frontends:
11593 * credits.[Ch]: removed
11594 * credits_form.[Ch]: removed
11595 * lyx_gui_misc.C: remove credits stuff
11598 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11600 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
11602 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
11603 unneeded destructor.
11605 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
11606 a standalone pointer again.
11608 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
11610 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
11616 * ToolbarDefaults.C:
11625 * BufferView_pimpl.C: use new file dialog in GUII
11628 * lyx_cb.C: remove LayoutsCB to Toolbar
11630 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11632 * ShareContainer.h (get): add std:: qualifier
11634 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11636 * ShareContainer.h: define a proper ShareContainer::value_type
11637 type (and use typename to please compaq cxx)
11639 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11641 * lyxparagraph.h: move serveral local vars to
11642 ParameterStruct/ParagraphParameters., use ShareContainer in
11643 FontTable., make vars in FontTable private and add getter and
11646 * paragraph.C: changes because of the above.
11648 * lyxfont.h: remove copy constructor and copy assignment. (the
11649 default ones is ok), move number inside FontBits. move inlines to
11652 * lyxfont.C: add number to initializaton of statics, move several
11653 inlines here. constify several local vars. some whitespace
11654 cleanup. Dont hide outerscope variables.
11656 * Spacing.h: add two new constructors to match the set methods.
11658 * ShareContainer.h: new file, will perhaps be moved to support
11660 * ParameterStruct.h: new file
11662 * ParagraphParameters.h: new file
11664 * ParagraphParameters.C: new file
11666 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
11667 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
11669 * BufferView_pimpl.C: ParagraphParameter changes.
11670 * buffer.C: Likewise.
11671 * bufferview_funcs.C: Likewise.
11672 * text.C: Likewise.
11673 * text2.C: Likewise.
11675 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11677 * lyxfind.C (LyXReplace): do not redefine default argument in
11679 (IsStringInText): ditto
11680 (SearchForward): ditto
11681 (SearchBackward): ditto
11683 2001-03-06 Juergen Vigna <jug@sad.it>
11685 * lyxfind.C (IsStringInText): put parentes around expressions.
11687 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
11689 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
11691 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
11693 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
11695 * stl_string_fwd.h: add comment
11697 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
11700 * tabular.C: remove unused DocBook methods
11706 killed DO_USE_DEFAULT_LANGUAGE
11708 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11710 * lyx_gui.C: do not include language.h.
11712 * bufferview_funcs.C (ToggleAndShow): do not provide optional
11713 arguments in function implementation.
11715 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11717 * BufferView_pimpl.C: add <ctime>
11719 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11721 * BufferView_pimpl.C: add using std::find_if
11723 2001-02-27 José Matos <jamatos@fep.up.pt>
11725 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
11728 2001-02-11 José Matos <jamatos@fep.up.pt>
11730 * buffer.C (makeDocBookFile): command styles now have a parameter as
11731 "title" by default.
11733 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
11735 * layout_forms.[Ch]: removed
11736 * lyx_cb.[Ch]: out character
11737 * lyx_gui.C: out character
11738 * lyx_gui_misc.C: out character
11739 * bufferview_funcs.C: : out character,
11740 added toggleall as parameter in ToggleAndShow
11742 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
11744 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11746 * text2.C (SetCurrentFont): Disable number property at boundary.
11748 2001-02-26 Juergen Vigna <jug@sad.it>
11750 * lyxfunc.C (getStatus): added a string argument override function so
11751 that this is correctly called from LyXFunc::Dispatch if it contains a
11752 do_not_use_argument which is used!
11753 (Dispatch): added check for "custom" export and call appropriate func.
11755 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
11757 * lyxrc.C: Add language_command_local, language_use_babel and
11758 language_global_options.
11760 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11762 * buffer.C (makeLaTeXFile): Use language_use_babel and
11763 language_global_options.
11765 2001-02-23 Juergen Vigna <jug@sad.it>
11767 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
11768 which works with LyXText and putted it inside BufferView. Here now we
11769 only call for that part the BufferView::Dispatch() function.
11771 * BufferView.C (Dispatch): added.
11773 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
11774 functions which needs to use a LyXText over from LyXFunc.
11775 (MenuInsertLyXFile): added
11776 (getInsetByCode): added
11777 (moveCursorUpdate): added
11778 (static TEXT): added
11780 2001-02-22 Juergen Vigna <jug@sad.it>
11782 * BufferView_pimpl.C (update): call a status update to see if LyXText
11785 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11787 * vc-backend.C (revert): implement for CVS
11788 (getLog): implement for CVS
11790 2001-02-20 Juergen Vigna <jug@sad.it>
11792 * text2.C (ClearSelection): added BufferView param for inset_owner call
11794 * lyxfunc.C (TEXT): added this function and use it instead of
11795 directly owner->view()-text of getLyXText().
11797 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
11799 * src/layout_forms.C: out preamble
11800 * src/layout_forms.h: out preamble
11801 * src/lyx_cb.C: out preamble
11802 * src/lyx_cb.h: out preamble
11803 * src/lyx_gui.C: out preamble
11804 * src/lyx_gui_misc.C: out preamble
11805 * src/lyxfunc.C: connect with guii preamble
11807 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
11809 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11811 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
11813 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11814 whether to run bibtex.
11816 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
11818 * Makefile.am (lyx_SOURCES): Remove BackStack.h
11820 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11822 * Makefile.am (lyx_SOURCES): removed bibforms.h
11824 * vspace.h: doxygen
11826 * text.C (GetVisibleRow): make several local vars const
11828 * tabular.C: small cleanup.
11830 * lyxserver.C (callback): use compare instead of strncmp
11832 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11833 inlines to after class or to paragraph.C
11835 * lyxfont.h: remove friend operator!=
11837 * converter.h: move friend bool operator< to non friend and after
11840 * combox.h: small cleanup
11842 * buffer.h: doxygen, remove unused constructor, move inclas inlies
11843 to inlines after class def.
11845 * buffer.C (pop_tag): use string operations instead of strcmp
11847 * bmtable.c: doxygen, small cleanup
11849 * LaTeX.h: remove friend operator==
11851 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
11863 * BufferView_pimpl.C:
11864 * BufferView.[Ch]: remove cruft
11866 2001-02-14 Juergen Vigna <jug@sad.it>
11868 * lyxfunc.C: removed #if 0 unused code
11870 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11872 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11874 * text2.C (SetSelection): added a BufferView * parameter
11876 2001-02-13 Juergen Vigna <jug@sad.it>
11878 * lyxfunc.C (Dispatch): fixed protected blank problem.
11879 * BufferView2.C (protectedBlank): added LyxText * parameter.
11881 * tabular.C (AppendRow): forgot to set row_info of newly added row.
11882 (AppendColumn): same as above for column_info.
11884 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11885 (moveCursorUpdate): use a LyXText param for support of InsetText.
11887 * BufferView_pimpl.C (doubleClick): added support for InsetText.
11888 (tripleClick): ditto
11890 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11892 * BufferView_pimpl.C (update): added LyXText param to honor insets.
11894 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11896 * text2.C (SetSelection): set correct update status if inset_owner
11897 (ToggleFree): ditto
11899 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
11901 * tabular.C: remove some commented code.
11903 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
11905 * BufferView_pimpl.C: call hideSplash()
11907 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11910 * bibforms.h: remove
11913 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11914 add LFUN_CHILD_CREATE
11916 * counters.h: fix tiny typo
11921 * lyx.C: move splash to frontends/xforms/
11923 * lyx_gui_misc.C: move Include and Bibform to frontends
11925 * lyxvc.h: clarify comment
11927 * vspace.C: tiny housekeeping
11929 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
11931 * text.C (PrepareToPrint): RTL Fix.
11933 * paragraph.C (GetUChar): New method.
11934 (String): Use GetUChar.
11936 * buffer.C (asciiParagraph): Use GetUChar.
11938 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
11940 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11942 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
11945 * buffer.C: rename to getLogName(), handle
11946 build log / latex log nicely
11948 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11951 * MenuBackend.h: remove support for reference menuitem type.
11953 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
11955 * BufferView_pimpl.C: housekeeping
11956 * BufferView_pimpl.h:
11961 * minibuffer.h: move Timeout GUI-I
11963 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
11965 * lyxrc.C (read): Update converters data-structures.
11967 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
11969 * LaTeX.h (operator!=): add operator != for Aux_Info
11971 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
11973 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11975 * LaTeXLog.C: deleted, useful code moved to Buffer
11978 * buffer.C: new function getLatexLogName()
11984 * lyxfunc.C: use frontends for LaTeX and VC logs
11986 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11988 * LaTeX.h: yet another std:: that Allan forgot.
11990 * Variables.C (set): renamed from isset(), because this clashes
11991 with some HP-UX macros (grr).
11993 2001-02-06 Allan Rae <rae@lyx.org>
11995 * LaTeX.h: Another bug fix. Missing std:: this time.
11997 2001-02-04 Allan Rae <rae@lyx.org>
11999 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12000 floats problem. I've left it commented out because it's not quite
12001 correct. It should also test that the current object is a table or
12002 figure inset. But I haven't gotten around to figuring out how to do
12003 that. I *think* it'll be something like: "table" == inset.type()
12005 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12008 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
12010 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12011 all the citation/databases/styles in the auxilary file.
12012 (run): Rerun latex if there was a babel language error.
12014 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
12016 * text.C (Backspace): Preserve the font when changing newline char
12018 (BreakParagraph): If the cursor is before a space, delete the space.
12020 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12022 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
12024 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12025 new argument (code).
12026 (ChangeCitationsIfUnique): New method.
12028 * paragraph.C (GetPositionOfInset): Handle bibkey.
12030 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12032 * BufferView_pimpl.h: change type of Position::par_pos to
12033 LyXParagraph::size_type.
12035 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
12037 * BufferView_pimpl.C (savePosition, restorePosition): Write
12038 messages to minibuffer.
12040 2001-01-28 José Matos <jamatos@fep.up.pt>
12042 * buffer.C (makeDocBookFile): adds support for document language.
12043 A silly restriction on the name of LatexCommand types where removed.
12044 Added support for CDATA sections, allows to chars unescaped, used
12045 among others in code, to avoid escape < and >.
12047 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12049 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12050 saved positions instrad of a stack. Furthermore, a position is
12051 stored using paragraph id/paragraph position.
12053 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12054 Remove LFUN_REF_BACK.
12056 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12058 * converter.C (dvipdfm_options): New method.
12060 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
12062 * vspace.C (isValidLength): Fix for empty input string.
12064 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12066 * LyXAction.C (init): change description of LFUN_FIGURE to
12069 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12071 * LaTeX.C: add using directive
12073 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12075 * MenuBackend.C (expand): Fix the sorting of the formats.
12077 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
12079 * lyx_main.C: tiny error message fix
12081 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12083 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12084 calling fl_initialize(). This fixes the problem with ',' as
12085 decimal separator in text files.
12087 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12089 * trans.C (process): Fix the keymap bug.
12091 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
12093 * LaTeX.C (scanAuxFiles): New method. Provides support for
12094 multiple bibliographies (when using the bibtopic/bibunits pacakges).
12095 (scanLogFile) Scan for "run BibTeX" messages.
12097 * buffer.C (makeLaTeXFile): Do not load the ae package when using
12098 OT1 font encoding. Also, load the aecompl package if the ae
12101 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12103 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12105 * texrow.C (increasePos): turn two error messages into debug
12108 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
12110 * LaTeX.C (scanAux): Handle the \@input macro.
12111 (runBibTeX): Use scanAux().
12113 * language.C (latex_options_): New field.
12115 * LaTeXFeatures.C (getMacros): Add language macros.
12117 * buffer.C (makeLaTeXFile): Small fix.
12119 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12121 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12123 * text2.C: add a using directive.
12125 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
12130 * lyxfunc.C: kill LyXBell.
12132 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
12134 * text.C (IsBoundary): Remove the error message
12136 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
12138 * lyxrc.C (setDefaults): Correct initialization value for
12141 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
12143 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
12146 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
12147 and GotoNextNote().
12149 * src/LyXAction.C: Added reference-next.
12151 * text.C (InsertChar): Use contains instead of strchr.
12153 * lyx_cb.C (MenuInsertLabel): Enable default value code.
12155 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
12157 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
12158 alignment commands (when needed).
12160 * text.C (InsertChar): Add ':' to number separator chars.