1 2003-09-04 Angus Leeming <leeming@lyx.org>
3 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7 * lyxfunc.C (dispatch): if fitCursor did something be sure to
10 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
12 * BranchList.C: point fix, earlier forgotten
14 2003-09-02 Angus Leeming <leeming@lyx.org>
16 * box.C (contains): renamed from 'contained' after a fantastic
19 2003-09-02 John Levon <levon@movementarian.org>
25 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
27 2003-09-02 John Levon <levon@movementarian.org>
29 * text2.C: simplification of cursorEnd(), including partial
32 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
34 * buffer.C (readFile): add a space
36 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
38 * BufferView_pimpl.C (update): remove bogus fitCursor() call
40 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
42 * buffer.C (readFile): new function, take a filename and a
43 ParagraphList::iterator
45 (readFile): adjust, make it private. don't use setStream, make
46 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
47 always contain the filename.
49 * BufferView.C (insertLyXFile): simplify and make it work for
52 2003-08-30 John Levon <levon@movementarian.org>
54 * Makefile.am: fix dist (from Kayvan)
56 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
58 * most files: change to use const Buffer refs
60 2003-08-27 André Pönitz <poenitz@gmx.net>
62 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
65 2003-08-27 John Levon <levon@movementarian.org>
67 * funcrequest.C: properly initialise POD members
69 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
71 * lyxtext.h (top_y): move top_y from here
76 * BufferView_pimpl.[Ch]: to here
78 * insets/insettabular.C:
79 * insets/insettext.C: adjust
80 * rowpainter.[Ch] (paintRows): remove LyXText & argument
82 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
85 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
87 2003-08-26 André Pönitz <poenitz@gmx.net>
89 * paragraph_func.[Ch] (outerPar): new function
95 * text2.C: remove Inset::par_owner
97 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
102 * text2.C: eliminates the needFullRow/display() stuff
103 altogether, putting the logic in metrics/draw in the insets.
105 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
107 * text2.C (redoParagraphInternal, redoParagraphs):
108 * text.C (redoParagraph): add a call to updateRowPositions at the
109 end of each 'metrics-like' call. Remove all others.
110 (getRow): remove the 'y-computing' version.
111 (getRowNearY): do not compute nor return the real y. Solve the
112 'y < 0' problem and simplify.
114 2003-08-22 Angus Leeming <leeming@lyx.org>
116 * *.[Ch]: clean-up of licence and author blurbs.
117 Also move config.h out of a few .h files and into a few .C files.
119 2003-08-22 André Pönitz <poenitz@gmx.net>
121 * lyxrow.[Ch]: add x_ and *fill_ members
126 * text2.C: adjust/remove prepareToPrint() calls
128 2003-08-22 André Pönitz <poenitz@gmx.net>
130 * lyxrow.[Ch]: add end_ member
132 * lyxrow_funcs.C: use LyXRow::end_
134 * lyxtext.h (singleWidth): add LyXFont parameter
137 * text2.C: adjust LyXText::singleWidth() calls
139 * text.C (redoParagraph): simplify row breaking logic
142 2003-08-19 André Pönitz <poenitz@gmx.net>
144 * funcrequest.C: initialize button_ member
147 * rowpainter.[Ch]: interface consolidation
149 2003-08-18 André Pönitz <poenitz@gmx.net>
152 * BufferView_pimpl.C:
156 * text3.C: remove LyXScreen::draw() and fitCursor calls
158 * BranchList.h: remove spurious semicolons
160 * MenuBackend.C: fix branchlist related crash
162 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
174 * text3.C: implements the 'branch inset'
175 idea. This allows the output of various versions of a document
176 from a single source version, selectively outputing or suppressing
177 output of parts of the text.
178 This implementation contains a 'branch list editor' in a separate
179 tab of the document settings dialog. Branches are user definable
180 and have a "display colour" to distinguish them on-screen.
182 ColorHandler was somewhat cleaned up.
183 (1) make possible a dynamically growing LColor list by allowing
184 the graphic context cache to grow along (vector);
185 (2) eliminate an IMHO unnecessary step in colour allocation.
187 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
189 * BufferView_pimpl.C: compile fix
191 2003-08-15 André Pönitz <poenitz@gmx.net>
193 * rowpainter.C: remove extra metrics calls
195 * lyxtext.h: merge the two constructors into a single one,
196 pass reference to owner's par list
198 * BufferView_pimpl.C:
202 2003-08-15 André Pönitz <poenitz@gmx.net>
212 * text_funcs.C: split LyXText::rowlist_ into individual
213 Paragraph::rows_ chunks
216 * BufferView_pimpl.[Ch]:
219 * text3.C: remove toggleSelection()
221 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
223 * bufferlist.C: beautify two alerts (shorter text of buttons)
224 * buffer.C: Remove redundant ' ' from message
226 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
227 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
228 rename VALIGN_CENTER to VALIGN_MIDDLE
230 2003-08-11 André Pönitz <poenitz@gmx.net>
232 * lyxtext.h (getPar):
233 * text.C: new function
235 2003-08-11 André Pönitz <poenitz@gmx.net>
238 * tracer.[Ch]: remove unneeded files
240 * InsetList.[Ch]: remove resizeInsetsLyXText()
245 * text3.C: merge insertParagraphs() and appendParagraph()
246 remove breakAgain(), update()
248 * BufferView_pimpl.[Ch]:
249 * bufferview_funcs.[Ch]:
253 * tabular.C: adjust after text & InsetList changes.
255 2003-08-08 André Pönitz <poenitz@gmx.net>
257 * text.C (insertChar, backspace): replace rowlist fiddling
258 with rebreak of full par
261 * text.C (breakAgainOneRow, redoHeightOfParagraph,
262 checkParagraph, updateInset): removed
264 2003-08-07 André Pönitz <poenitz@gmx.net>
267 * text3.C: merge some LFUN handlers, remove dead code
269 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
271 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
273 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
275 * text2.C (DEPM): fix part of bug 1255 and 1256
277 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
279 * BufferView_pimpl.C (workAreaDispatch): change to use
280 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
281 that are no mouse related.
283 2003-08-05 André Pönitz <poenitz@gmx.net>
286 * BufferView_pimpl.[Ch]:
287 * bufferview_funcs.C:
289 * text3.C: rip out "deep update"
291 * textcursor.[Ch] (last_sel_cursor): remove unused member
293 2003-08-04 André Pönitz <poenitz@gmx.net>
296 * BufferView_pimpl.[Ch]:
297 * ParagraphParameters.C:
298 * bufferview_funcs.C:
304 * text3.C: replace "complicated" BufferView::update(...) calls with
307 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
309 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
311 * Makefile.am (lyx_SOURCES): add paper.h
313 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
315 * Makefile.am: move things around so that both lyx-qt and
316 lyx-xforms can be built (according to --with-frontend). Then lyx
317 is a symbolic link to lyx-[firstfrontend]
319 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
321 * Always use std::endl with lyxerr
323 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
325 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
327 2003-08-01 André Pönitz <poenitz@gmx.net>
330 * BufferView_pimpl.[Ch]:
332 * text3.C: merge BufferView::repaint() and BufferView::update()
334 2003-08-01 José Matos <jamatos@lyx.org>
336 * buffer.[Ch]: file_format is no longer a buffer data element.
338 2003-08-01 André Pönitz <poenitz@gmx.net>
343 * text2.C: make redoParagraph more independent of current cursor
345 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
347 * text2.C: remove unneeded members
349 2003-07-30 André Pönitz <poenitz@gmx.net>
351 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
353 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
354 create a single function...
356 * paragraph_funcs.C (moveItem): ... here.
359 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
361 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
363 * LColor.[Ch]: Add comment and greyedout logical colors.
365 2003-07-30 André Pönitz <poenitz@gmx.net>
367 * tabular.C: don't use Assert too heavily. This crashes where it
370 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
372 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
373 is disabled (bug 1232)
375 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
377 * factory.C: limited 'arg' scope
379 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
381 * factory.C: fixed Note submenu issues
383 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
385 * factory.C: submenu for Note/Comment/Greyedout
387 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
390 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
392 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
395 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
396 greyedout. Patch provided by Jürgen Spitzmüller.
398 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
400 * kbmap.C (read): fix error message when reading bind files
402 2003-07-29 Angus Leeming <leeming@lyx.org>
404 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
405 certainly does not do what it purports to do. I am doing it, and
406 us, a favour by killing it.
408 2003-07-28 José Matos <jamatos@lyx.org>
410 * buffer.C (readBody, do_writeFile):
411 * paragraph.C(readParagraph): \end_document replaces \the_end.
413 2003-07-29 André Pönitz <poenitz@gmx.net>
416 * BufferView_pimpl.[Ch]:
420 * textcursor.[Ch]: remove toggleToggle & Co
422 2003-07-28 José Matos <jamatos@fep.up.pt>
424 * buffer.C (readParagraph):
425 * params_func (readParToken, readParagraph):
426 * paragraph.C (write): \layout -> \begin_layout.
428 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
430 * lyxlex_pimpl.C (setFile): clean up slightly.
432 * bufferparams.h: add compressed var
434 * buffer_funcs.C (readFile): adjust for LyXLex change
435 (newFile): ditto + simplify
437 * buffer.C (writeFile): handle writing of compressed files
439 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
440 Check if the file is compressed and set a bufferparm if so.
442 * Makefile.am (lyx_LDADD): remove explicit -lz
444 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
446 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
447 makeDocBookFile): put the real LyX version in the first line of
451 * version.C.in: remove lyx_docversion
453 * tabular.C (write_attribute): add a template-based version to
456 2003-07-28 André Pönitz <poenitz@gmx.net>
461 * text3.C: use doubles again for x-coordinates. They are needed.
463 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
465 * messages.C (getLocaleDir): use lyx_localedir()
467 * lyxlex_pimpl.C (setFile): compress stuff
469 * buffer.C (writeFile): add some compression stuff
470 (do_writeFile): new func, dont call expliti close... will this
473 * Makefile.am (lyx_LDADD): add -lz
475 2003-07-28 José Matos <jamatos@fep.up.pt>
477 * buffer.C: increment file format.
478 * paragraph_funcs (readParagraph, readParToken):
479 * paragraph.C (readParagraph): add \end_layout.
481 2003-07-27 Angus Leeming <leeming@lyx.org>
483 * Makefile.am: remove special casing for configure-time setting of
484 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
486 * lyx_main.C (init): remove all Jean-Marc's magic setting of
487 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
489 2003-07-26 André Pönitz <poenitz@gmx.net>
491 * paragraph_func.[Ch]:
492 * paragraph.C (realizeFont): inline it whereever it is used
497 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
500 2003-07-26 André Pönitz <poenitz@gmx.net>
504 * text2.C: get rid of LyXText::need_break_row
506 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
508 * toc.[Ch]: put namespace toc inside namespace lyx
510 * MenuBackend.C (expandToc2): adjust for lyx::toc
513 * lyxfunc.C (dispatch): adjust for lyx::find
515 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
516 lyx::find instead. Reorganize a bit.
517 (LyXReplace): rename to replace
518 (LyXFind): rename to find
520 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
523 2003-07-26 André Pönitz <poenitz@gmx.net>
525 * text.C (setHeightOfRow): restrict scope of temporary variable
527 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
528 code (never has been used?)
530 2003-07-27 Asger Alstrup <alstrup@local>
532 * text.C (fill): Optimise algorithm to exploit that we can reuse
533 the LyXFont for many characters.
534 (setHeightOfRow): Same thing.
535 (rowBreakPoint): Same thing.
537 2003-07-26 Asger Alstrup <alstrup@local>
539 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
541 * text.C (singleWidth): Spurious font copying in hot-spot
542 singleWidth avoided. Reorder tests for arabic for efficiency.
544 * text.C (fill): handle empty paragraphs better.
546 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
549 * encoding.h: add includes
551 * lyxrc.C: remove reading of bind files
553 * lyx_main.C (init): setup bindings and menus only if we have a
556 * kbmap.C (read): new method. Do the actual reading of bind
559 * converter.C (dvipdfm_options):
562 (output): adapt PAPER_* enums.
564 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
566 * bufferparams.h: remove paper-related enums from there
568 * paper.h: New file. A trivial header file to hold paper-related
569 enums. It should later expand to contain many paper-related
572 * lyxrc.C: declare extern displayTranslator
574 2003-07-27 José Matos <jamatos@fep.up.pt>
576 * tabular.[Ch] (linuxdoc): add support for tables and figures
579 2003-07-27 José Matos <jamatos@fep.up.pt>
581 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
582 consistency in both functions.
583 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
585 2003-07-26 Asger Alstrup <alstrup@local>
587 * rowpainter.C (paintRows): Change algorithm to work directly on
588 the insets rather than asking every character in the document
589 whether its an inset.
591 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
593 * buffer.C (openFileWrite): factorize some code
595 2003-07-26 Angus Leeming <leeming@lyx.org>
598 * lyx_main.[Ch]: replace occurances of system_tempdir with
601 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
603 * rename Inset to InsetOld
605 2003-07-25 Asger Alstrup <alstrup@diku.dk>
607 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
608 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
609 which I think is a bit clearer. EDIT is gone, since it was
610 premature optimisation, and broken for mathed anyway.
611 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
612 with cursor positioning in insets as well (math insets still do not
613 work, but that's a different story anyway.) It mysteriously
614 crashes sometimes with undo in the first paragraph, but I'm fairly
615 confident that this is a compiler bug.
617 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
619 * paragraph.C (Paragraph): adjust for new clone return type
621 (copyIntoMinibuffer): ditto
623 2003-07-25 Asger Alstrup <alstrup@lyx.org>
625 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
626 by not having a special case, and always doing a full rebreak of
627 the document after undo.
629 2003-07-23 Angus Leeming <leeming@lyx.org>
631 * factory.C (createInset): InsetExternal::setParams now takes a
634 2003-07-23 Angus Leeming <leeming@lyx.org>
636 * factory.C (createInset): changed interface to the external and
637 graphics mailers' string2params functions.
639 2003-07-23 Angus Leeming <leeming@lyx.org>
641 * factory.C (createInset): pass a
642 Buffer const * parameter to InsetExternalMailer's string2params.
644 2003-07-22 John Levon <levon@movementarian.org>
646 * Thesaurus.h: include the right aiksaurus header
648 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
650 * MenuBackend.C (expand): check menu shortcuts unconditionally
652 2003-07-21 Angus Leeming <leeming@lyx.org>
654 * factory.C (createInset): pass a
655 buffer_path parameter to InsetGraphicsMailer's string2params.
657 2003-07-21 Angus Leeming <leeming@lyx.org>
659 * BufferView_pimpl.C (buffer):
662 * lyxfunc.C (dispatch):
663 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
664 rather than the grfx shortcut.
666 2003-07-21 André Pönitz <poenitz@gmx.net>
668 * rowpainter.C: remove unused variables
671 * tabular_funcs.h: move to tabular.C
672 * Makefile.am: adjust
674 * tabular.[Ch]: basic optical cleaning
676 * author.h: pass references, not values
678 2003-07-18 André Pönitz <poenitz@gmx.net>
686 * text3.C: two-phase drawing for InsetText and InsetTabular
687 some float -> int changes.
689 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
691 * lyx_main.C: fix the fix
693 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
695 * lyx_main.C: fix a crash in batch mode if no files specified
698 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
700 * format.[Ch] (papersize): moved to BufferParams
701 * converter.[Ch] (dvips_options): moved to BufferParams
702 (dvipdfm_options): moved to anon namespace
703 * bufferparams.[Ch]: added above functions.
705 2003-07-17 André Pönitz <poenitz@gmx.net>
709 * text2.C: don't call inset->update() anymore
711 * metricsinfo.[Ch]: add convenience constructor
713 2003-07-16 André Pönitz <poenitz@gmx.net>
718 * text2.C: replace the LyXCursor::irow_ member with
719 on-demand computation of the value
721 2003-07-16 John Levon <levon@movementarian.org>
723 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
725 2003-07-15 André Pönitz <poenitz@gmx.net>
728 * text2.C: remove no more needed refresh_row
730 2003-07-15 André Pönitz <poenitz@gmx.net>
735 * text3.C: refresh_status tristate -> need_update bool
737 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
739 * lyxtext.h (init): remove reinit argument (act as if always true)
740 * text2.C: adjust to that
742 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
744 * bufferview_funcs.[Ch]: introduce function replaceSelection()
745 * text3.C: use it to delete selections in some cases
746 (bugs 441, 673, 702, 954).
748 2003-07-14 André Pönitz <poenitz@gmx.net>
750 * rowpainter.[Ch]: reduce interface
752 2003-07-14 André Pönitz <poenitz@gmx.net>
754 * BufferView_pimpl.C:
755 * text2.C: adjust after removing unused BufferView * argument
757 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
759 * text2.C (init): fix a crash fired on resize
761 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
763 * buffer.[Ch]: added new closing signal
764 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
765 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
766 BufferView::Pimpl via the closing the signal
768 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
770 * buffer.[Ch]: take out all bv-related from buffer
772 * BufferView_pimpl.[Ch]: connect to new signals
773 * CutAndPaste.C: removed useless asserts
774 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
777 * lyxfunc.C: moved view-related funciontality from vc here
778 * paragraph.C: removed outdated comments
781 2003-07-10 André Pönitz <poenitz@gmx.net>
783 * BufferView_pimpl.C:
787 * text2.C: remove InsetText::InnerCache, clean up consequences
789 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
791 * ispell.C: fix two typos in error messages
793 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
795 * Extend Note inset to other forms of annotation like Comment
796 and Greyedout. Right button click gives dialog.
798 Files modified or added (+):
804 * Makefile.am in frontends/xforms, frontends/xforms/forms,
805 frontends/controllers
809 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
811 * aspell.C: add missing namespace lyx::support
813 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
815 * BufferView.[Ch] (newFile): Add
816 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
817 * LaTeX.[Ch] (message): added this signal and use it
818 * buffer.[Ch] (busy, message): added these signals and use them
819 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
823 * importer.C: use buffer signals instead of direct bv calling
824 * lyx_cb.[Ch] (ShowMessage): removed
828 * text2.C: use buffer signals
830 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
832 * introduce namespace lyx::graphics
834 2003-07-02 André Pönitz <poenitz@gmx.net>
836 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
838 2003-07-01 André Pönitz <poenitz@gmx.net>
845 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
846 text*.C to text_func.C
848 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
850 * introduce namespace lyx::support
852 2003-06-30 André Pönitz <poenitz@gmx.net>
857 * text.C: re-enable --with-included-string
859 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
861 * textcursor.C: add <config.h>
863 * text.C (getWord): remove const from word_location arg
865 * lyxvc.C (getLogFile): fix const type order
867 * lyxtext.h: remove const from word_location arg, add arg name
869 * lyxlayout.h: currect type on labeltype.
871 * importer.C: correct \file
873 * converter.C (intToFormat): use std:: on ret val, ws changes
875 * bufferlist.h: correct \file
877 * buffer.C (makeLinuxDocFile): fix const type order
878 (makeDocBookFile): ditto
879 (fillWithBibKeys): use std:: on stdlib args.
881 * CutAndPaste.C: fix authors.
882 (availableSelections): use std:: on return vector
884 2003-06-27 André Pönitz <poenitz@gmx.net>
886 * BufferView_pimpl.C:
887 * bufferview_funcs.C:
895 * text3.C: remove LyXCursor::row_ member
898 * text.C: rename fullRebreak() to partialRebreak() and implement
899 a fullRebreak() that really bereks fully
901 * textcursor.h: new struct for cursor-related data
903 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
905 * lyx_main.C (LyX): get full path of document loaded on the
908 2003-06-26 André Pönitz <poenitz@gmx.net>
910 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
911 remove unused/broken operator>,<,>=.
913 * text.C: remove only use of broken operator<= in an Assert().
915 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
917 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
918 moved errorlist_.clear to showErrorList
920 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
922 * converter.C (scanLog, runLaTeX):
923 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
924 move the bv->showErrorList call to the callers
925 * lyxfunc.C: i.e. here...
927 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
928 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
929 namespace, the second to...
930 * buffer_funcs (BufferFormat, parseErrors): added
931 * errorlist.C (ErrorList(TeXErrors const &)): removed
933 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
935 * ToolbarBackend.C (getIcon): complain when icon cannot be found
937 2003-06-24 "Garst R. Reese" <reese@isn.net>
941 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
943 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
945 * version.C.in: change docversion to 1.4
947 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
949 * buffer.C: fix a bug just introduced
951 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
953 * buffer.[Ch]: added the parseError signal and use it, removed
955 * BufferView.[Ch] (addError): moved to ...
956 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
957 to the Buffer::parseError signal to catch (guess what) parse errors
958 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
960 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
962 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
963 ability to create a buffer and to return an existing one from
964 the list. Moved these functions to...
965 * buffer_funcs.[Ch]: added
966 * BufferView.[Ch] (loadLyXFile): added
967 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
968 job removed from bufferlist::loadLyXFile.
969 * buffer.C (setReadOnly): make it work without view
970 (i.e added an if (users))
972 2003-06-19 Angus Leeming <leeming@lyx.org>
975 * LyXAction.C (init):
976 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
977 with LFUN_DIALOG_SHOW <name> <data>.
979 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
981 * CutAndPaste.C (availableSelections): small compilation fix for
982 ancient (gcc 2.9x) compilers
984 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
986 * text3.C (cursorNext): add tmp var
988 * text2.C (updateCounters): for function calling out of for clause
989 (replaceSelectionWithString): ditto
990 (insertStringAsParagraphs): ditto
991 (getColumnNearX): add tmp var
992 (setCursorFromCoordinates): add tmp var
993 (cursorDownParagraph): add tmp var
994 (deleteEmptyParagraphMechanism): add tmp var
996 * text.C (insertChar): add tmp var
998 * rowpainter.C (paintDepthBar): add tmp var
1000 * CutAndPaste.C (availableSelections): potentially check all
1001 paragraphs in a cut to fill the shown strings.
1003 2003-06-18 André Pönitz <poenitz@gmx.net>
1005 * kbmap.[Ch]: use vector<> instead of list<>
1007 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1009 * text3.C (dispatch): handle arg to LFUN_PASTE, call
1010 pasteSelection with index
1012 * text2.C (pasteSelection): modify, call pasteSelection with index
1014 * paragraph.C (asString): reimplement version with no interval to
1015 call the one with interval.
1017 * lyxtext.h: add index arg to pasteSelection
1019 * MenuBackend.C (MenuItem): handle PasteRecent
1020 (Menu::read::Menutags): add md_pasterecent
1022 (expandPasteRecent): new function
1025 * MenuBackend.h: add PasteRecent to MenuItem::Kind
1027 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1029 (availableSelections): new function
1031 2003-06-17 Angus Leeming <leeming@lyx.org>
1033 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1035 2003-06-17 Angus Leeming <leeming@lyx.org>
1038 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1040 * lyxfunc.C (dispatch): invoke it.
1042 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1044 * iterators.C (operator++, ParPosition): reintroduce some
1045 const_cast for the benefit of older compilers.
1047 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1049 * text3.C (dispatch): do not modify clipboard when doing
1050 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1051 LFUN_DELETE_SKIP on a selection selection
1053 2003-06-16 André Pönitz <poenitz@gmx.net>
1059 * tabular.[Ch]: IU of clone() and getLabelList();
1061 2003-06-13 André Pönitz <poenitz@gmx.net>
1063 * tabular.h: compactification
1065 2003-06-12 André Pönitz <poenitz@gmx.net>
1069 * tabular_funcs.h: some renaming plus whitespace
1071 2003-06-12 André Pönitz <poenitz@gmx.net>
1074 * BufferView_pimpl.C:
1080 * toc.C: Return a Paragraph & for ParIterator::operator*()
1082 2003-06-11 John Levon <levon@movementarian.org>
1086 * ToolbarBackend.C: add "Toolbars" section and
1089 2003-06-10 Angus Leeming <leeming@lyx.org>
1092 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1094 * lyxfunc.C (dispatch): invoke it.
1096 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1098 * main.C: protect <ios> with HAVE_IOS
1099 (main): protect sync_with_stdio with HAVE_IOS
1101 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
1103 * text2.C (cutSelection): adjust
1104 (pasteSelection): adjust
1106 * messages.C: handle get of empty string
1108 * main.C (main): use sync_with_stdio(false)
1110 * lyxfunc.C (dispatch): adjust
1112 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1113 (WriteAs): remove unneeded BufferView arg.
1115 * bufferparams.h: use correct types on papersize, papersize2 and
1118 * bufferparams.C (readToken): adjust for type
1119 (writeLaTeX): add missing cases to switch.
1121 * bufferlist.C (quitWriteBuffer): adjust
1124 * buffer.C (asciiParagraph): remove some commented code.
1126 * CutAndPaste.C: remove current_view extern variable.
1127 (cutSelection): add BufferParams arg.
1128 (eraseSelection): add BufferParams arg.
1129 (pasteSelection): add Buffer const & arg
1131 2003-06-07 John Levon <levon@movementarian.org>
1134 * paragraph_funcs.C:
1135 * paragraph_pimpl.C:
1139 * paragraph.C: allow InsetERT to freely space lines,
1140 and some consolidation of code
1142 2003-06-06 José Matos <jamatos@fep.up.pt>
1144 * buffer.C (makeDocBookFile): fix bug #821
1146 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
1148 * BufferView_pimpl.C (dispatch): use Dialogs::visible
1150 2003-06-04 Angus Leeming <leeming@lyx.org>
1152 * buffer.C: bump format to 224.
1154 2003-06-05 André Pönitz <poenitz@gmx.net>
1156 * text2.C (redoParagraphs): remove two const_cast<>
1158 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1160 * ParagraphList.h: remove last remnants of NO_STD_LIST
1162 2003-06-03 Angus Leeming <leeming@lyx.org>
1164 * factory.C (createInset): small change to the way InsetExternal's params
1167 2003-06-04 André Pönitz <poenitz@gmx.net>
1169 * buffer.h: use Undo directly instead of shared_ptr<Undo>
1171 * paragraph_pimpl.h:
1172 * paragraph.[Ch]: some Inset -> UpdatableInset changes
1174 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1176 * undo_funcs.C: make some simple cases of undo work again
1178 2003-06-03 John Levon <levon@movementarian.org>
1180 * ispell.C: HPUX doesn't have sys/select.h
1183 2003-06-03 John Levon <levon@movementarian.org>
1185 * CutAndPaste.C: update tabular and include inset
1190 * paragraph.C: remove owningBuffer(), don't pass Buffer
1193 * factory.C: insetGraphicsParams changed
1195 2003-06-02 John Levon <levon@movementarian.org>
1201 * text3.C: remove insetparent
1203 2003-06-02 John Levon <levon@movementarian.org>
1206 * buffer.C: fix inset_iterator.end(), move out of line
1209 2003-06-01 John Levon <levon@movementarian.org>
1211 * text3.C: use a proper cut/paste when doing inset
1212 insert (from Jürgen Spitzmüller)
1214 2003-06-01 John Levon <levon@movementarian.org>
1216 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1218 2003-05-30 André Pönitz <poenitz@gmx.net>
1220 * rowpainter.C: unify second drawing phase
1222 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1224 * trans_mgr.C: remove one case of current_view
1226 * text2.C (cursorBottom): delete NO_STD_LIST stuff
1228 * paragraph_funcs.h: remove paragraph.h include
1230 * paragraph.h: delete NO_STD_LIST stuff
1232 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1234 * buffer.h: remove paragraph.h include
1236 * ParagraphList.C: delete file
1238 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1240 * toc.C (getTocList): adjust
1242 * paragraph_pimpl.C (validate): adjust
1244 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1246 * paragraph.C (Paragraph): adjust
1247 (getPositionOfInset): use const_iterator, adjust
1248 (bibitem): use const_iterator, adjust
1249 (setInsetOwner): adjust
1251 * iterators.C (operator++): adjust
1253 * InsetList.[Ch]: Replace selfmade iterator with standard
1254 vector::iterator also introduce const_iterator. Remove getPos,
1255 getInset and setInset from InsetTable. Adjust accordingly.
1257 * BufferView.C (lockInset): adjust
1258 (ChangeInsets): adjust
1260 * tabular.[Ch]: delete commented same_id functions
1262 2003-05-28 John Levon <levon@movementarian.org>
1264 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1266 2003-05-28 André Pönitz <poenitz@gmx.net>
1268 * metricsinfo.[Ch]: remove 'fullredraw' member
1270 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
1272 * lyxtextclass.C (operator): remove caching.
1274 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1278 * text2.C (cursorBottom): adjust
1279 (setCounter): use ParagraphList::find, adjust
1281 * text.C (workWidth): use ParagraphList::find, adjust
1283 * lyxcursor.C (LyXCursor): adjust
1285 * buffer.C (inset_iterator): adjust
1287 * ParagraphList.h: make iterator(value_type) private, make
1288 ParagraphList a friend of iterator.
1290 * ParagraphList.C (find): new function
1292 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1294 2003-05-27 André Pönitz <poenitz@gmx.net>
1296 * dimension.[Ch]: a -> asc, d -> des, w -> wid
1298 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1300 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
1302 2003-05-26 John Levon <levon@movementarian.org>
1304 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
1306 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1308 * remove same_id from function signatures, adjust.
1310 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1312 * undo_funcs.C (createUndo): use the id functions directly, adjust.
1314 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
1316 * paragraph.C (Paragraph): get rid of same_ids parameter
1318 * ParagraphList.C (insert): adjust
1321 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1323 * paragraph_funcs.C (breakParagraph): adjust
1324 (breakParagraphConservative): adjust
1326 * buffer.C (readParagraph): adjust
1328 * ParagraphList.C (insert): take a reference instead of a pointer
1331 * paragraph.[Ch] (id): new function
1333 * bufferlist.C (newFile): adjust
1335 * ParagraphList.C (ParagraphList): adjust
1337 (push_back): take a reference instead of a pointer.
1339 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
1341 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
1344 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
1345 set else use old code.
1347 * ParagraphList.C: remove all NO_NEXT code and only compile this
1348 code of NO_STD_LIST is set.
1350 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1352 * BufferView_pimpl.C:
1362 * graphics/GraphicsConverter.C:
1363 * graphics/PreviewLoader.C: header adjustment
1365 2003-05-23 Angus Leeming <leeming@lyx.org>
1367 * LaTeXFeatures.[Ch] (useBabel): new method.
1368 * bufferparams.C (writeLaTeX): use it.
1370 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1372 * ParagraphList.h (set): remove unused function.
1374 2003-05-23 André Pönitz <poenitz@gmx.net>
1377 * BufferView_pimpl.C:
1381 * undo_funcs.C: setUndo reworked
1383 * iterators.[Ch]: add access to topmost ParagraphList
1385 * lyxtext.[Ch] (workWidth): add a const
1387 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1389 * texrow.[Ch] (increasePos): remove function
1390 * exporter.C (export): removed unused var and outdated comment
1392 2003-05-23 Angus Leeming <leeming@lyx.org>
1394 * latexrunparams.h: rename fragile as moving_arg.
1395 * paragraph.C (simpleTeXOnePar): ditto.
1396 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
1398 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1400 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
1402 (textUndoOrRedo): comment out a currently unused var.
1404 * paragraph.h (NO_NEXT): enable NO_NEXT
1406 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
1408 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
1410 * exporter.C (Export): adjust for removeAutoInsets removal.
1412 * buffer.C (runChktex): adjust for removeAutoInsets removal.
1414 * LyXAction.C (init): remove LFUN_REMOVEERRORS
1416 * BufferView.[Ch] (removeAutoInsets): delete function
1418 2003-05-22 Angus Leeming <leeming@lyx.org>
1420 * latexrunparams.h: add a free_spacing variable.
1422 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
1423 to pass moving_arg, as the data is stored in runparams.fragile.
1425 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
1426 to Inset::latexOptional or to simpleTeXOnePar.
1428 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
1429 free_spacing arg to Inset::latexOptional.
1431 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1434 2003-05-22 Angus Leeming <leeming@lyx.org>
1436 * latexrunparams.h: add fragile and use_babel variables.
1438 * bufferparams.[Ch] (writeLaTeX): return use_babel.
1439 * buffer.C (makeLaTeXFile): store this returned value in
1440 runparams.use_babel, thus passing it to the inset::latex methods.
1442 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
1443 simpleTeXSpecialChars as it is now stored in runparams.fragile.
1445 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
1446 longer has a fragile arg, as it is stored in runparams.fragile.
1448 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
1449 moving_arg parameter as the data is stored in runparams.fragile.
1451 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1452 a fragile parameter as the data is stored in runparams.fragile.
1454 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1456 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
1458 2003-05-22 Angus Leeming <leeming@lyx.org>
1460 * latexrunparams.h: add a 'bool nice' which defaults to false.
1462 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
1463 now encapsulated within runparams.
1465 * bufferlist.C (updateIncludedTeXfiles):
1466 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
1468 2003-05-22 Angus Leeming <leeming@lyx.org>
1470 * latexrunparams.h: new file containing struct LatexRunParams.
1471 * Makefile.am: add new file.
1473 * LaTeX.[Ch] (c-tor, run):
1474 * buffer.[Ch] (makeLaTeXFile):
1475 * bufferlist.[Ch] (updateIncludedTeXfiles):
1476 * converter.C (convert, scanLog):
1477 * converter.[Ch] (runLaTeX):
1478 * exporter.C (Export):
1479 * paragraph.[Ch] (simpleTeXOnePar):
1480 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
1481 * paragraph_funcs.[Ch] (latexParagraphs):
1482 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
1483 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
1484 pass around a LatexRunParams parameter.
1486 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1488 * paragraph.[Ch]: remove unused constructor
1490 * ParagraphList.C (erase): new function, taking two iterators
1492 2003-05-22 André Pönitz <poenitz@gmx.net>
1494 * undo_funcs.C: remove duplicated code
1496 * iterator.[Ch]: operator=
1498 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1500 * tabular.C (SetMultiColumn): ws changes
1502 * rowpainter.C (paintFirst): get rid of a ->previous
1504 * lyx_cb.C (getPossibleLabel): parlist simplification
1506 * BufferView.C (ChangeInsets): simplify slightly.
1508 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1510 * LyXAction.C: new lfun space-insert, kill protected-space-insert
1511 * lfuns.h: new LFUN_SPACE
1512 * lyxfunc.C: protected space has a new lfun
1513 * paragraph_funcs.C: read new space insets
1515 * factory.C: handle new space insets
1517 2003-05-22 André Pönitz <poenitz@gmx.net>
1520 * BufferView_pimpl.C:
1523 * undo_funcs.C: return a ParIterator from getParFromID.
1525 * iterators.[Ch]: add two const's
1527 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1529 * toc.C (getTocList): adjust
1531 * iterators.[Ch]: rework for parlist
1533 * buffer.C (par_iterator_begin): adjust
1534 (par_iterator_end): adjust
1536 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
1538 * BufferView.C (removeAutoInsets): adjust
1539 (ChangeInsets): adjust
1541 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
1543 * text.C (top_y): fix bug 1110
1545 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
1547 * errorlist.[Ch]: added
1550 * BufferView_pimpl.C:
1551 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
1554 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1556 * Makefile.am: ensure that lyx is relinked upon changes to the
1557 various "convenience" libs.
1559 2003-05-20 Angus Leeming <leeming@lyx.org>
1561 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
1562 files are compiled in alphabetical order again.
1564 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
1566 2003-05-19 Angus Leeming <leeming@lyx.org>
1568 * gettext.[Ch]: remove "char const * _(char const *)".
1570 2003-05-19 André Pönitz <poenitz@gmx.net>
1572 * dimension.[Ch]: promote from mathed/dimension.[Ch]
1581 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
1583 2003-05-19 André Pönitz <poenitz@gmx.net>
1587 * lyxtextclass.[Ch]:
1589 * paragraph_funcs.[Ch]:
1591 * text3.C: more insetenv work
1593 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
1595 * ParagraphParameters.C (params2string): small bug fixed
1597 2003-05-16 André Pönitz <poenitz@gmx.net>
1600 * bufferview_funcs.C: patch from Kornel Benko to prevent
1601 crash when _(...) is called twice in a statement
1603 2003-05-16 André Pönitz <poenitz@gmx.net>
1610 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
1612 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
1614 * lyx_main.C (init): remove spurious static_cast
1616 2003-05-14 André Pönitz <poenitz@gmx.net>
1618 * BufferView.C: fix format string
1620 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
1622 * BufferView.[Ch] (insertErrors): removed
1623 * BufferView.[Ch] (showErrorList): added
1624 * buffer.C (runChkTeX):
1625 * converter.C (scanLog): call showErrorList instead of inserterrors
1627 2003-05-13 André Pönitz <poenitz@gmx.net>
1629 * BufferView_pimpl.C:
1631 * bufferview_func.C:
1638 * tabular_funcs.h: tostr() from its own header
1640 * ParagraphParameters.C:
1645 * text3.C: STRCONV()
1647 2003-05-12 André Pönitz <poenitz@gmx.net>
1650 * BufferView_pimpl.C:
1654 * ParagraphParameters.C:
1658 * bufferview_funcs.C:
1671 * paragraph_funcs.C:
1675 * text3.C: boost::format -> bformat all over the place
1678 2003-05-09 André Pönitz <poenitz@gmx.net>
1680 * LColor.[Ch]: Pimpl the #include <map> away
1682 2003-05-09 John Levon <levon@movementarian.org>
1684 * bufferlist.C: never remove emergency saves
1686 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1688 * Makefile.am: better lib building
1690 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1692 * texrow.[Ch]: remove dependency on Paragraph and just store a id
1694 * paragraph_pimpl.C (simpleTeXBlanks): adjust
1695 (simpleTeXSpecialChars): adjust
1696 (simpleTeXSpecialChars): adjust
1697 * paragraph.C (simpleTeXOnePar): adjust
1698 * buffer.C (makeLaTeXFile): adjust
1700 * Makefile.am (BOOST_LIBS): allow boost as system lib.
1702 * text2.C (changeDepth): parlist cleanup
1703 (getColumnNearX): ditto
1705 * rowpainter.C (getLabelFont): parlist cleanup
1707 * bufferlist.C (newFile): parlist cleanup
1709 * CutAndPaste.C (eraseSelection): parlist cleanup
1711 * BufferView_pimpl.C (trackChanges): parlist cleanup
1714 * BufferView.C (lockInset): parlist cleanup.
1715 (ChangeInsets): ditto
1717 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1719 * CutAndPaste.h: Update file header.
1721 * CutAndPaste.C: Update file header.
1722 Store the parts cut out of the Document in a limited_stack.
1723 (copySelection): adjust
1724 (pasteSelection): new function, takes the index in the limited stack.
1725 (nrOfParagraphs): adjust
1726 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
1727 simplify error inset insertion.
1728 (checkPastePossible): adjust
1730 2003-05-06 John Levon <levon@movementarian.org>
1732 * text2.C: don't cast wrap inset to float
1734 2003-05-05 André Pönitz <poenitz@gmx.net>
1737 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
1739 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
1740 few naked Paragraph *.
1742 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
1744 * bufferparams.C: Output warning if a document with missing
1745 TeX document class is loaded
1746 * exporter.C: Disable TeX exports if the document class is missing
1749 * lyxtextclasslist.C: Handle new textclass.lst format; new method
1750 isTeXClassAvailable()
1752 2003-05-03 John Levon <levon@movementarian.org>
1755 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
1756 explicit cursor show/hide
1758 * BufferView_pimpl.h:
1759 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
1760 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
1762 * lyxfunc.C: hide cursor before dispatching.
1767 * text3.C: remove explicit cursor hides
1769 2003-05-02 André Pönitz <poenitz@gmx.net>
1771 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
1774 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
1777 * text2.C: tiny whitespace
1779 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1781 * undo_funcs.C: almost only ws changes.
1783 * ParagraphList.C (splice): just return if pl is empty.
1785 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1787 * ParagraphList.C (splice): new function.
1789 * CutAndPaste.C (pasteSelection): use it
1791 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1793 * CutAndPaste.C (pasteSelection): remove the last next and
1794 previous from this file.
1796 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1798 * CutAndPaste.C (pasteSelection): more clean up, user proper
1799 ParagraphList functions for pasteing.
1801 * ParagraphList.C (insert): new function, three arg insert
1803 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1805 * ParagraphList.C (insert): new function, three arg insert
1807 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
1810 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1812 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
1814 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1816 * CutAndPaste.C (pasteSelection): remove some unneeded code.
1818 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1820 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
1821 (copySelection): clean up a bit.
1822 (pasteSelection): use make_pair
1824 * ParagraphList.C (ParagraphList): implement copy constructor
1825 (operator=): implement, base on copy constructor.
1828 * paragraph.C (erase): return a bool
1830 * paragraph_pimpl.C (erasePos): remove function, move contents...
1831 (erase): ... here. Return a bool.
1832 (erase): call erase instead of erasePos.
1834 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
1836 * ParagraphList.h: define PitPosPair
1837 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
1838 ParagraphList, fix a bug on pasting multiple pars
1839 * text2.C: change interface to C&P
1841 2003-04-30 André Pönitz <poenitz@gmx.net>
1843 * undo_func.C: revert part of yesterday's patch 2
1845 2003-04-30 John Levon <levon@movementarian.org>
1847 * LColor.C: s/tabular/table/
1849 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1851 * text3.C (dispatch): do not convert iterator -> pointer
1852 * undo_funcs.C (setCursorParUndo): ditto
1853 * text_funcs.C (transposeChars): ditto
1855 * text2.C (setLayout): ws changes only
1857 * text.C (breakParagraph): do not convert iterator -> pointer
1859 (acceptChange): ditto
1860 (rejectChange): ditto
1865 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
1868 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1870 * text3.C (gotoInset): YABG (yet another bad getChar)
1872 2003-04-29 André Pönitz <poenitz@gmx.net>
1874 * paragraph.h: make operator= private unimplemented as long as
1877 * ParagraphList.C: whitespace
1880 * paragraph_pimpl.[Ch]:
1881 * paragraph_funcs.C:
1883 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
1886 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
1888 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1890 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
1891 * paragraph.[Ch] (erase):
1892 * paragraph_pimpl.[Ch] (erase): change return type and value
1893 * text2.C (cutSelection): some rework
1895 2003-04-28 John Levon <levon@movementarian.org>
1897 * bufferlist.C: changes for unsaved changes dialog
1899 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1901 * bufferlist.C (newFile): set language (messages_) for new
1904 * buffer.C (readFile): ws changes only.
1906 2003-04-28 André Pönitz <poenitz@gmx.net>
1911 * BufferView_pimpl.C:
1912 * BufferView.C: getParFromID related ParagraphList::iterator changes
1914 2003-04-28 André Pönitz <poenitz@gmx.net>
1916 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1919 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1921 * messages.C: remove one more localedir class variable.
1923 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1925 * messages.C (getLocaleDir): singleton generation function
1927 (Messages): add a default constructor.
1929 * main.C (main): do not setup localedir here, do not call
1932 * gettext.C (_): use it.
1933 (gettext_init): delete funciton
1935 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1937 * gettext.C (getLyXMessages): new singleton generating function.
1939 * buffer.C (updateDocLang): adjust
1941 * Makefile.am (messages.o): add target
1942 (main.o): remove target
1944 2003-04-27 John Levon <levon@movementarian.org>
1949 * lyxvc.C: specify cancel button in Alert::prompt
1951 2003-04-26 John Levon <levon@movementarian.org>
1956 * LyXAction.C: add LFUN_INSET_SETTINGS
1958 * lyxfunc.C: don't enable tabular-feature when there's
1959 just any locking inset
1961 2003-04-26 John Levon <levon@movementarian.org>
1963 * bufferlist.C: re-add Cancel to buffer close question
1965 * lyxfunc.C: fix import UI a bit
1967 2003-04-25 John Levon <levon@movementarian.org>
1969 * gettext.C: remove the broken asserts for now
1971 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1973 * messages.C: make case where setlocale cannot comply work better.
1975 * buffer.C (updateDocLang): new function
1976 (changeLanguage): use it
1979 * text2.C (setCounter): use B_ a bit.
1981 * lyxlayout.C (Read): be sure to trim the label strings.
1983 * messages.C (Messages): fix typo in comment
1985 * buffer.C (readFile): set message_ after file is loaded.
1986 (makeDocBookFile): remove double return
1987 (changeLanguage): reset message_ upon language change.
1988 (B_): new func, use this to get translated buffer strings.
1990 * main.C: add myself and Jean Marc as authors.
1992 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1994 * messages.[hC]: pimplify Messages, and three different pimpls to be
1995 used in different circumstances.
1997 * gettext.[Ch]: change for use with new message code.
1999 2003-04-24 André Pönitz <poenitz@gmx.net>
2001 * factory.C: support for eqref
2003 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2005 * messages.[Ch]: add missing char
2007 * Makefile.am (lyx_SOURCES): add messages.[Ch]
2009 * messages.[Ch]: New files
2011 2003-04-18 John Levon <levon@movementarian.org>
2015 * BufferView_pimpl.C:
2019 * text2.C: remove layout-copy/paste (bug 778)
2021 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2023 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2025 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2027 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2028 if they succeed. Act accordingly.
2030 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2032 * text2.C (setCharFont): adjust
2033 (setCounter): adjust
2034 (insertStringAsLines): adjust
2036 * text.C (leftMargin): adjust
2037 (setHeightOfRow): adjust
2039 * rowpainter.C (paintFirst): adjust
2042 * paragraph_funcs.C (depthHook): ParagraphList::iterators
2044 (isFirstInSequence): ditto
2045 (getEndLabel): ditto
2048 * paragraph.C (getParLanguage): comment out some hard stuff.
2050 * buffer.C (insertStringAsLines): take a ParagraphList as arg
2052 (simpleDocBookOnePar): ditto
2053 (makeDocBookFile): use ParagraphList::iterator
2055 * CutAndPaste.C (pasteSelection): adjust
2057 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2059 * text2.C (getFont): adjust
2060 (getLayoutFont): adjust
2061 (getLabelFont): adjust
2063 * paragraph_funcs.C (TeXOnePar): adjust
2065 * buffer.C (simpleLinuxDocOnePar): adjust
2066 (simpleDocBookOnePar): adjust
2068 * CutAndPaste.C (pasteSelection): adjust
2070 * BufferView.C (getEncoding): adjust
2072 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2074 2003-04-16 John Levon <levon@movementarian.org>
2076 * lyxfind.C: use parlist stuff for search/changes
2078 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2080 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2082 * text2.C (deleteEmptyParagraphMechanism): adjust
2084 * text2.[Ch] (ownerParagraph): delete func (both of them
2086 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2088 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2090 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2092 * ParagraphList.C: prepare for NO_NEXT
2094 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2096 * text2.C (getFont): adjust
2097 (getLayoutFont): adjust
2098 (getLabelFont): adjust
2100 * paragraph.C (getFont): adjust
2101 (getLabelFont): adjust
2102 (getLayoutFont): adjust
2104 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2106 2003-04-15 John Levon <levon@movementarian.org>
2110 * lyx_main.C: handle Include in .ui files
2112 2003-04-15 John Levon <levon@movementarian.org>
2114 * MenuBackend.C: make the doc files length shorter
2117 * ToolbarBackend.C: handle toolbar placement flags,
2120 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2122 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2125 * paragraph_funcs.C (TeXOnePar): adjust
2127 * paragraph.C (getLabelFont): add outerfont arg, adjust
2128 (getLayoutFont): ditto
2129 (simpleTeXOnePar): adjust
2131 * paragraph_pimpl.C (realizeFont): delete func
2133 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2135 * text2.C (beforeFullRowInset): added a bad getchar check, removed
2136 row argument, constify cur argument.
2138 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2140 * text2.C (getFont): adjust
2141 (getLayoutFont): adjust
2142 (getLabelFont): adjust
2144 * paragraph_funcs.C (TeXOnePar): adjust
2145 (outerFont): new func...
2146 (realizeFont): ...moved out from here, changed this to facilitate
2149 * paragraph.C (getFont): take outerfont as arg, adjust
2150 (simpleTeXOnePar): add outerfont arg, adjust
2152 * buffer.C (simpleLinuxDocOnePar): adjust
2153 (simpleDocBookOnePar): adjust
2155 * CutAndPaste.C (pasteSelection): adjust
2157 * BufferView.C (getEncoding): adjust
2159 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2161 * text2.C (setCharFont): adjust
2162 (setCounter): adjust
2164 * text.C (leftMargin): adjust
2165 (setHeightOfRow): adjust
2167 * rowpainter.C (paintFirst): adjust
2170 * paragraph_pimpl.C (realizeFont): adjust
2172 * paragraph.C (isFirstInSequence): move from here...
2173 * paragraph_funcs.C (isFirstInSequence): ...to here
2175 * paragraph.C (outerHook): move from here...
2176 * paragraph_funcs.C (outerHook): ...to here
2178 * paragraph.C (depthHook): move from here...
2179 * paragraph_funcs.C (depthHook): ...to here
2181 * paragraph.C (getEndLabel): move from here...
2182 * paragraph_funcs.C (getEndLabel): ...to here
2184 * text2.C (realizeFont): move from here...
2185 * paragraph_funcs.C (realizeFont): ...to here
2187 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2189 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2191 2003-04-14 Angus Leeming <leeming@lyx.org>
2193 * LColor.[Ch]: scrap LColor mathcursor.
2195 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2197 * lyxlex.[Ch] (text): delete function
2198 * trans.C (Load): adjust
2199 * paragraph_funcs.C (readParToken): adjust
2201 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2203 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2204 vector<char> instead of a char[].
2206 * lyxlex_pimpl.C (getString): adjust
2208 (lex): use getString
2212 * lyxlex.C (text): use pimpl_->getString()
2216 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2218 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2219 (makeFontEntriesLayoutSpecific): temp var for par.size()
2220 (setLayout): temp var for ownerParagraphs().end()
2221 (fullRebreak): temp var for rows().end()
2222 (selectionAsString): temp var for boost::next(startpit), realize
2223 that the while really is a regular for loop.
2224 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2225 setCursor in one place.
2226 (setParagraph): temp vr for ownerParagraphs().end()
2227 (updateCounters): make the while loop a for loop
2228 (cutSelection): temp var for ownerParagraphs().end()
2229 (updateInset): make the do {} while() a regular for loop
2230 (getCursorX): use temp vars
2231 (setCurrentFont): use temp vars
2232 (getColumnNearX): use temp vars
2234 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2236 * text.C (transformChar): use temp var for getChar
2237 (computeBidiTables): use temp var for row->par()
2238 (fill): move temp vars for row->par() and pit->layout() earlier in
2240 (labelFill): use temp var for row->par()
2241 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2242 asc and desc, realize that pit never changes and that firstpit is
2243 just a duplicate and not needed. Exchange rit->par() with pit in a
2245 (breakAgain): use a temp var for boost::next(rit)
2246 (breakAgainOneRow): ditto
2247 (breakParagraph): use a temp var for rows().begin()
2248 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
2249 (cursorRightOneWord): use temp var for cursor.par() and
2250 cursor.pos(), remove usage of tmpcursor.
2251 (cursorLeftOneWord): use temp var for cursor.par() and
2252 cursor.pos() only set cur at end of function.
2254 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2256 * text.C, text2.C: exchange all usage of Paragraph::next with
2257 boost::next(ParagraphList::iterator)
2259 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2261 * text2.C (cursorTop): simplify implementation
2262 (cursorBottom): ditto
2263 (setParagraph): use ParagraphList::iterator
2264 (setCurrentFont): adjust
2265 (getColumnNearX): adjust
2266 (cursorRight): adjust
2267 (cursorLeft): remove usage of Paragraph::previous
2268 (cursorUpParagraph): ditto
2269 (deleteEmptyParagraphMechanism): slight cleanup
2271 * text.C (isBoundary): take a Paragraph const & instead of a
2273 (addressBreakPoint): ditto
2274 (leftMargin): remove usage of Paragraph::previous.
2275 (setHeightOfRow): ditto
2276 (cursorLeftOneWord): ditto
2277 (selectNextWordToSpellcheck): ditto
2280 (breakParagraph): remove one usage of Paragraph::next
2281 (redoParagraph): ditto
2282 (acceptChange): ditto
2283 (insertChar): adjust
2284 (rowBreakPoint): adjust
2286 * bufferview_funcs.C (toggleAndShow): adjust
2288 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
2290 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
2291 methods to access it.
2293 * text.C: Added updateRowPositions to compute all row positions.
2294 Make top_y and getRowNearY() to use the cached y position
2296 2003-04-11 John Levon <levon@movementarian.org>
2298 * text.C (rowBreakPoint): reintroduce the labelEnd
2299 checks, code copied from the row fill stuff. Deep voodoo.
2301 * text.C (fill): add a comment and debugging for the
2304 2003-04-11 John Levon <levon@movementarian.org>
2306 * text.C: make sure fullrow insets get wrapped to the next line,
2307 even when they're in a manual label
2309 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2311 * text2.C (insertParagraph): make it take ParagraphList::iterator
2313 (setLayout): make it return ParagraphList::iterator
2314 (redoParagraphs): ditto
2316 (checkParagraph): ditto
2318 * text.C (getRow): make getrow take ParagraphList::iterator as arg
2320 * text2.C: adjust several funcs.
2321 (realizeFont): take a ParagraphList::iterator as arg.
2322 (getLayoutFont): ditto
2323 (getLabelFont): ditto
2324 (setCharFont): ditto
2326 * text.C: adjust several funcs.
2328 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2330 * text.C (selectNextWordToSpellcheck): don't accidentally
2333 2003-04-10 John Levon <levon@movementarian.org>
2335 * ToolbarBackend.C (getIcon): special handling for
2338 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2340 * text2.C (cursorRight): a getChar assert fixed
2342 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2344 * text2.C (getFont): change to take a ParagraphList::iterator
2345 instead of Paragraph*
2346 Adjust several functions.
2348 * text.C (transformChar): change to take a ParagraphList::iterator
2349 instead of Paragraph*
2350 (singleWidth): ditto
2351 Adjust several functions.
2353 * rowpainter.C: adjust several functions
2354 * rowpainter.h:store a ParagraphList::iterator and not a
2358 2003-04-09 John Levon <levon@movementarian.org>
2363 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
2364 and the "help" bits as well
2366 2003-04-09 John Levon <levon@movementarian.org>
2369 * ToolbarBackend.C: allow multiple toolbars
2371 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2373 * undo_funcs.C (setCursorParUndo): adjust
2375 * text_funcs.C (transposeChars): adjust
2377 * text3.C (gotoNextInset): adjust
2380 * text2.C (setLayout): adjust
2381 (changeDepth): adjust
2383 (redoParagraphs): adjust
2384 (selectionAsString): adjust
2385 (setParagraph): adjust
2386 (insertInset): adjust
2387 (cutSelection): adjust
2388 (copySelection): adjust
2389 (pasteSelection): adjust
2390 (insertStringAsLines): adjust
2391 (updateInset): adjust
2392 (setCursor): change to take a ParagraphList::iterator parameter
2393 (setCursorIntern): change to take a ParagraphList::iterator parameter
2394 (setCurrentFont): adjust
2395 (cursorLeft): adjust
2396 (cursorRight): adjust
2397 (deleteEmptyParagraphMechanism): adjust
2399 * text.C (breakParagraph): adjust
2400 (insertChar): adjust
2401 (acceptChange): adjust
2402 (rejectChange): adjust
2403 (selectNextWordToSpellcheck): adjust
2404 (changeCase): adjust
2408 * lyxfind.C (SearchForward): adjust
2409 (SearchBackward): adjust
2410 (nextChange): adjust
2412 * lyxcursor.C (par): adjust
2414 * lyxcursor.h: store a ParagraphList::iterator instead of a
2417 * lyx_cb.C (getPossibleLabel): adjust
2419 * bufferview_funcs.C (toggleAndShow): adjust
2421 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2424 * BufferView.C (removeAutoInsets): adjust
2425 (lockedInsetStoreUndo): adjust
2427 2003-04-09 John Levon <levon@movementarian.org>
2429 * ToolbarBackend.C: try icon without argument
2430 if with argument fails
2432 2003-04-08 John Levon <levon@movementarian.org>
2435 * ToolbarBackend.C: add getIcon(), handle tooltip,
2436 and change from "Icon" to "Item".
2438 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2440 * BufferView.C (lockInset): another bad getchar crunched
2442 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2444 * text2.C (changeDepth): do not setUndo on test_only (make undo work
2447 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2449 * lyxfind.C (searchForward, searchBackwards): bug 782
2451 2003-04-07 John Levon <levon@movementarian.org>
2453 * paragraph.C: remove dead comment
2455 * text.C: remove troublesome depth-fiddling code
2456 in leftMargin() and rightMargin() (bug 1017)
2458 * text.C: fix breaking of rows in nested lists
2461 * text2.C (updateCounters): fix up depth values
2464 2003-04-07 John Levon <levon@movementarian.org>
2466 * BufferView_pimpl.C: clear message when doc finishes resizing,
2467 and after a mouse event
2469 * lyxfunc.C: clear message after exiting inset
2471 2003-04-07 John Levon <levon@movementarian.org>
2473 * bufferview_funcs.C: show math status not outside
2474 status in the statusbar
2476 2003-04-07 John Levon <levon@movementarian.org>
2478 * lyxfunc.C: note status changed after a depth change
2480 2003-04-04 Angus Leeming <angus@localhost.localdomain>
2482 * LaTeX.h: move AuxInfo operator==, != out of line.
2483 Remove LaTeX virtual destructor; nothing derives from it.
2484 Move operator()() out of public area and rename it startscript().
2485 Change protected for private.
2487 2003-04-04 Angus Leeming <leeming@lyx.org>
2490 * text2.C: remove unneeded #includes.
2492 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2494 * text2.C (dEPM): fix the heigth of the next row
2496 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2498 * text.C: squashed an invalid getChar requester + some ws changes
2500 2003-04-03 John Levon <levon@movementarian.org>
2502 * bufferview_funcs.h:
2503 * bufferview_funcs.C:
2506 * text2.C: make getStatus work for the env depth lfuns
2508 2003-04-03 John Levon <levon@movementarian.org>
2510 * bufferview_funcs.h:
2511 * bufferview_funcs.C:
2514 * text2.C: parlistize decDepth(), by merging it with incDepth()
2516 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2518 * lyxrow.h: store a ParagraphList::iterator instead of a
2519 Paragraph* and adjust other class functions to suit.
2521 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
2524 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2526 * text2.C (setCursor): do not anchor to cursor row for the time being
2528 2003-04-02 John Levon <levon@movementarian.org>
2535 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
2537 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2539 * paragraph.h: make ParagraphList and ParagraphList::iterator
2540 friends of Paragraph.
2542 * buffer.C (makeLinuxDocFile): move towards ParagraphList
2544 * ParagraphList.C: Use the private next_ and previous_ from
2547 2003-04-01 John Levon <levon@movementarian.org>
2551 * Makefile.am: rename, remove defaults gunk
2554 * MenuBackend.C: remove defaults gunk
2557 * Languages.C: remove defaults gunk
2560 * lyx_main.C: error out if files couldn't be found.
2562 2003-04-02 John Levon <levon@movementarian.org>
2564 * text2.C: make incDepth() use parlist
2566 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2568 * undo_funcs.C (firstUndoParagraph): adjust
2570 * text3.C (gotoInset): adjust
2571 (dispatch): adjust, and rewrite loop.
2573 * text2.C (init): adjust, and rewrite loop.
2574 (redoParagraphs): adjust
2575 (updateInset): adjust, and rewrite loop.
2576 (deleteEmptyParagraphMechanism): adjust
2578 * tabular.C (LyXTabular): adjust
2579 (SetMultiColumn): adjust
2582 * lyxtext.[Ch] (ownerParagraph): delete function
2583 (ownerParagraphs): new function returns a ParagraphList.
2585 * BufferView.C (removeAutoInsets): adjust
2586 (insertErrors): adjust
2587 (setCursorFromRow): adjust
2589 2003-04-01 Angus Leeming <leeming@lyx.org>
2591 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
2594 2003-04-02 John Levon <levon@movementarian.org>
2600 * text_funcs.C: make transposeChars a free function
2602 * lyxrow_funcs.C: remove wrong comment
2604 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2607 * rowpainter.C: adjust
2612 * lyxrow_funcs. [Ch]: new files
2614 * lyxrow.[Ch]: remove next and previous pointers
2615 (next,previous): remove accessor functions
2616 (isParEnd): move to lyxrow_funcs
2617 (lastPos): move to lyxrow_funcs
2618 (nextRowIsAllInset): move to lyxrow_funcs
2619 (lastPrintablePos): move to lyxrow_funcs
2620 (numberOfSeparators): move to lyxrow_funcs
2621 (numberOfHfills): move to lyxrow_funcs
2622 (numberOfLabelHfills): move to lyxrow_funcs
2623 (hfillExpansion): move to lyxrow_funcs
2627 * bufferview_funcs.C (toggleAndShow): adjust
2629 * RowList.h: Remove class RowList from file leave just a
2632 * RowList.C: delete file
2634 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
2637 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2639 * text3.C (cursorPrevious): adjust
2640 (cursorNext): adjust
2643 * text2.C (redoHeightOfParagraph): adjust
2644 (redoDrawingOfParagraph): adjust
2647 * text.C (breakParagraph): adjust
2648 (insertChar): adjust
2651 * rowpainter.C (RowPainter): adjust
2652 (leftMargin): simplify and adjust
2653 (most rowpainter functions): adjust.
2655 * rowpainter.h: store the row as RowList::iterator not as Row*
2657 * lyxcursor.C (row): taka RowList::iterator as arg
2660 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
2663 2003-04-01 Angus Leeming <leeming@lyx.org>
2665 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
2666 stuff like bool Bool.
2668 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2670 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
2673 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2675 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
2678 * lyxtext.h (rows): drop one version and leve a const variant that
2679 returns a RowList::iterator.
2681 2003-03-31 Angus Leeming <leeming@lyx.org>
2683 * text.C (fill): ensure that the signature is the same as that in the
2686 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
2688 * text2.C (redoParagraphs): adjust
2689 (updateCounters): adjust
2690 (checkParagraph): adjust
2691 (getColumnNearX): adjust and reformat a bit.
2693 * text.C (top_y): adjust
2695 (leftMargin): adjust
2696 (prepareToPrint): adjust
2698 (getRowNearY): adjust
2700 * lyxtext.h: make rowlist_ mutable.
2702 * RowList.h: add const_iterator
2703 * RowList.C: adjust for RowList::const_iterator.
2705 * text2.C (getCursorX): make it take a RowList::iterator as arg,
2708 2003-03-31 John Levon <levon@movementarian.org>
2711 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
2713 * lyx_main.C: set default fonts from using lyx_gui funcs
2715 * exporter.C: pdf_mode moved from lyxrc
2718 * lyxfunc.C: changes from above
2720 2003-03-31 John Levon <levon@movementarian.org>
2722 * lyx_main.C: fix to the last fix
2724 2003-03-31 John Levon <levon@movementarian.org>
2726 * bufferlist.C: "Load original" -> "Load Original"
2732 * format.C: more Alert cleanups
2734 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2736 * text2.C (removeParagraph): make it take a RowList::iterator as
2738 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
2739 (postRowPaint): make it take a RowList::iterator as arg, adjust.
2741 * text.C (anchor_row): make it take a RowList::iterator as arg,
2743 (computeBidiTables): make it take a const reference to Row instead
2744 of Row pointer, adjust.
2745 (leftMargin): make it take a RowList::iterator as arg, adjust.
2746 (rowBreakPoint): adjust
2747 (breakAgainOneRow): make it take a RowList::iterator as arg,
2749 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
2751 * bufferview_funcs.C (toggleAndShow): adjust
2753 2003-03-30 John Levon <levon@movementarian.org>
2757 * boost-inst.C: moved to support
2759 * several files: changes as a result
2761 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2763 * text2.C (LyXText): adjust.
2765 (removeRow): make it take a RowList::iterator as arg, adjust.
2766 (fullRebreak): adjust
2767 (deleteEmptyParagraphMechanism): adjust
2768 (clearPaint): adjust
2771 * text.C (top_y): adjust
2772 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
2773 (breakAgain): make it take a RowList::iterator as arg, adjust.
2774 (breakParagraph): adjust
2775 (insertChar): adjust
2778 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
2779 need_break_row, and refresh_row.
2781 * text3.C (dispatch): adjust
2783 * text2.C (checkParagraph): adjust
2785 (setCursorFromCoordinates): adjust
2787 * text.C (top_y): adjust
2789 (getRow): make it return a RowList::iterator, adjust
2790 (getRowNearY): make it return a RowList::iterator, adjust
2792 * text2.C (init): adjust
2793 (insertRow): remove function
2794 (insertParagraph): adjust
2795 (redoParagraphs): adjust
2796 (fullRebreak): adjust
2797 (updateCounters): adjust
2799 * text.C (top_y): rewrite to use RowList iterators.
2801 (setHeightOfRow): rewrite to sue RowList iterators.
2802 (appendParagraph): adjust
2803 (breakAgain): adjust
2804 (breakAgainOneRow): adjust
2805 (breakParagraph): adjust
2807 (getRowNearY): adjust, and remove commented code.
2809 * lyxtext.h (firstRow): delete function
2810 (lastRow): delete function
2811 (rows): new function (const and non-const versions.)
2812 (insertRow): delete function
2814 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
2816 2003-03-29 John Levon <levon@movementarian.org>
2818 * BufferView_pimpl.C: always update scrollbar top
2819 because pasting text when we're anchored could mean we
2820 miss an update altogether
2822 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2824 * text2.C (init): use rowlist_.end() and not 0.
2825 (insertRow): change to take a RowList::iterator as arg, adjust
2827 (insertParagraph): change to take a RowList::iterator as arg,
2829 (redoParagraphs): remove some debug msgs.
2831 * text.C (appendParagraph): change to take a RowList::iterator
2832 arg, adjust for this.
2833 (breakAgain): add an assert
2834 (breakAgainOneRow): ditto
2836 2003-03-29 John Levon <levon@movementarian.org>
2838 * text2.C: do not clear selection after inc/decDepth
2841 2003-03-29 John Levon <levon@movementarian.org>
2844 * buffer.C: fix broken strerrors according to Lars
2846 2003-03-29 John Levon <levon@movementarian.org>
2848 * converters.C: more Alert cleanups
2850 2003-03-29 John Levon <levon@movementarian.org>
2852 * bufferview_funcs.C: remove pointless Alert
2854 * buffer.C: fix confusing error message when
2855 a template is chmoded 000
2857 2003-03-29 John Levon <levon@movementarian.org>
2861 * BufferView_pimpl.C: Alert fixes
2865 * tabular-old.C: remove unused table compat reading
2867 2003-03-29 John Levon <levon@movementarian.org>
2872 * lyx_cb.C: more Alert cleanups
2874 * lyxfunc.C: don't allow chktex if not latex document
2876 2003-03-29 John Levon <levon@movementarian.org>
2880 * buffer.C: warnings pushed down from support/,
2883 2003-03-29 John Levon <levon@movementarian.org>
2885 * lyxfunc.C: safety check for C-r (revert)
2887 2003-03-29 John Levon <levon@movementarian.org>
2890 * bufferlist.C: several UI fixes using Alert::prompt.
2891 Fix the pointless looping quit code. Fix stupid revert
2896 * lyx_cb.C: use Alert::prompt
2898 * lyx_main.C: remove a silly question
2900 * lyxfunc.C: remove a couple of silly questions,
2903 2003-03-28 John Levon <levon@movementarian.org>
2905 * text2.C: fix bug 974 (End on empty par)
2907 2003-03-28 John Levon <levon@movementarian.org>
2909 * BufferView_pimpl.C:
2911 * lfuns.h: remove do-nothing math greek lfuns
2913 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2915 * lyxgluelength.h (isValidGlueLength): add default arg on
2916 parameter 2. Remove default arg from friend in class.
2918 * lyxlength.h (isValidLength): add default arg on parameter 2.
2919 Remove default arg from friend in class.
2921 * text2.C (LyXText): adjust, initialize refresh_row.
2925 (insertParagraph): adjst
2926 (redoParagraphs): adjust
2927 (fullRebreak): adjust
2928 (updateCounters): adjust
2929 (deleteEmptyParagraphMechanism): first attempt at fixing a
2932 * text.C (top_y): adjust
2933 (setHeightOfRow): adjust
2935 (getRowNearY): adjust
2937 * lyxtext.h: include RowList.h
2938 (~LyXText): not needed anymore, deleted.
2939 (firstRow): modify for RowList
2940 (lastRow): new function
2941 Delete firstrow and lastrow class variables, add a Rowlist
2942 rowlist_ class variable.
2944 * lyxrow.C (lastPos): use empty() and not !size() to check if a
2947 * RowList.C (insert): fix case where it == begin().
2949 2003-03-26 Angus Leeming <leeming@lyx.org>
2951 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2952 the thesaurus dialog.
2954 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2956 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2958 * RowList.[Ch]: new files
2960 * ParagraphList.C (erase): handle the case where it == begin
2963 2003-03-25 John Levon <levon@movementarian.org>
2967 * aspell.C: add new aspell support
2970 * lyxrc.C: Make use_pspell be use_spell_lib. Always
2973 2003-03-25 Angus Leeming <leeming@lyx.org>
2976 * LyXAction.C (init): new LFUN_INSET_INSERT.
2978 * BufferView_pimpl.C (dispatch): split out part of the
2979 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2981 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2984 2003-03-25 Angus Leeming <leeming@lyx.org>
2986 * lyxfunc.C (dispatch): changes to the Dialogs interface.
2988 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
2991 * text3.C: remove useless row->height(0)
2993 2003-03-25 John Levon <levon@movementarian.org>
2997 * text3.C: rename the refreshing stuff to better names
2999 2003-03-24 John Levon <levon@movementarian.org>
3001 * BufferView_pimpl.h:
3002 * BufferView_pimpl.C: update layout choice on a mouse
3005 2003-03-23 John Levon <levon@movementarian.org>
3007 * Makefile.am: fix commandtags.h reference
3009 2003-03-22 John Levon <levon@movementarian.org>
3011 * BufferView_pimpl.C:
3016 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3018 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
3021 * text.C: take the rtl methods out of line
3023 2003-03-21 André Pönitz <poenitz@gmx.net>
3025 * metricsinfo.[Ch]: new files containing structures to be passed around
3026 during the two-phase-drawing...
3028 2003-03-21 André Pönitz <poenitz@gmx.net>
3030 * lyxtextclass.C: read 'environment' tag.
3032 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
3034 * text2.C (removeRow): fix bug 964
3036 2003-03-20 John Levon <levon@movementarian.org>
3040 * text2.C: paint cleanups. Inset::update() dropped font
3043 2003-03-19 John Levon <levon@movementarian.org>
3045 * lyxfunc.C: only fitcursor/markDirty if available()
3047 2003-03-19 John Levon <levon@movementarian.org>
3049 * commandtags.h: rename to ...
3051 * lfuns.h: ... this, and renumber / cleanup
3053 2003-03-19 John Levon <levon@movementarian.org>
3055 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3056 fit the cursor after an lfun
3060 * BufferView_pimpl.h:
3061 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3063 * LyXAction.C: layout-character should have ReadOnly
3065 * ParagraphParameters.C:
3067 * bufferview_funcs.C:
3074 * undo_funcs.C: changes from above
3076 2003-03-18 John Levon <levon@movementarian.org>
3078 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3079 remove it from update()
3081 * lyxfunc.C: update layout choice after an lfun
3083 * text3.C: remove extra updateLayoutChoice()s
3085 2003-03-18 John Levon <levon@movementarian.org>
3087 * text.C: top_y change means full repaint, fix
3088 a drawing bug with cursor movement
3090 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3094 * text2.C: anchor row on setCursor
3096 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3098 * lyxtext.h: remove almost all mutable keywords
3101 * text3.C: remove const keywords accordingly
3103 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3105 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3107 (TeXEnvironment): ditto
3110 2003-03-17 John Levon <levon@movementarian.org>
3112 * text.C (rowBreakPoint): remove attempt to fix displayed
3113 math insets inside a manual label
3115 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3117 * lyxtext.h: remove BufferView* as first arg from almost all class
3119 * other files: adjust.
3121 2003-03-17 John Levon <levon@movementarian.org>
3125 * text2.C: more paint cleanups
3127 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3130 * rowpainter.C: remove "smart" background painting code
3132 2003-03-16 John Levon <levon@movementarian.org>
3137 * text3.C: add helper functions for setting refresh_row/y
3139 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
3141 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3142 newline inset which *can* get inserted in the pass_thru layouts.
3143 This is primarily for literate documents.
3145 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
3147 * buffer.C: increment LYX_FORMAT to 223
3149 2003-03-14 André Pönitz <poenitz@gmx.net>
3151 * textclass.h: prepare for environment handling, ws changes
3152 * lyxlayout.C: read latexheader and latexfooter tags
3154 2003-03-14 John Levon <levon@movementarian.org>
3156 * text2.C: rewrite ::status() a bit
3158 2003-03-13 John Levon <levon@movementarian.org>
3160 * lyxtext.h: add some docs
3162 2003-03-13 John Levon <levon@movementarian.org>
3167 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3169 2003-03-13 John Levon <levon@movementarian.org>
3171 * text3.C: fix appendix redrawing
3173 2003-03-13 John Levon <levon@movementarian.org>
3175 * text.C (setHeightOfRow):
3177 * rowpainter.C: make appendix mark have the text
3178 "Appendix" so the user knows what it is
3181 * LColor.C: s/appendixline/appendix/ from above
3183 2003-03-13 John Levon <levon@movementarian.org>
3185 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3187 * text.C: fix a getChar(pos) bug properly
3189 2003-03-13 Angus Leeming <leeming@lyx.org>
3192 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3193 Probably only temporary. Let's see how things pan out.
3195 * BufferView.C (unlockInset):
3196 * BufferView_pimpl.C (fitCursor):
3197 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3199 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3200 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3202 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3203 new functions that convert ParagraphParameters to and from a string.
3205 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3206 BufferView::Pimpl's dispatch.
3207 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3209 2003-03-13 André Pönitz <poenitz@gmx.net>
3213 * factory.C: make it aware of InsetEnv
3215 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3217 * text2.C (setCursor): never ask for one past last
3218 (setCursor): add some debugging messages.
3220 * text.C (singleWidth): never ask for one past last
3221 (singleWidth): ditto
3223 (rightMargin): ditto
3224 (rowBreakPoint): ditto
3225 (setHeightOfRow): ditto
3226 (prepareToPrint): ditto
3228 * rowpainter.C (paintBackground): never ask for one past last
3229 (paintText): never ask for one past last
3231 * paragraph_pimpl.C (getChar): make the assert stricter, never
3232 allow the one past last pos to be taken
3234 * paragraph.C (getChar): ws changes only
3236 * lyxrow.C (nextRowIsAllInset): never ask for one past last
3237 (numberOfSeparators): ditto
3238 (numberOfHfills): ditto
3240 2003-03-12 John Levon <levon@movementarian.org>
3246 * paragraph_funcs.C: fix per-buffer authorlists
3248 2003-03-12 John Levon <levon@movementarian.org>
3250 * text.C: fix newline in right address
3252 2003-03-12 Angus Leeming <leeming@lyx.org>
3254 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
3255 duplicate those in LyXFunc::dispatch.
3259 * ToolbarDefaults.C:
3260 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3261 Add LFUN_FONTFREE_UPDATE.
3263 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3264 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3266 * bufferview_func.[Ch]: several new functions to facilliate
3267 transfer of data to and from the character dialog.
3269 2003-03-12 John Levon <levon@movementarian.org>
3274 * paragraph_funcs.C:
3275 * paragraph_pimpl.C:
3279 * text3.C: remove META_NEWLINE in favour of an inset
3282 * rowpainter.C: remove paintNewline (done by inset)
3284 2003-03-12 John Levon <levon@movementarian.org>
3286 * paragraph_pimpl.C: complain about bad getChar()s
3287 for a while at least
3289 2003-03-12 John Levon <levon@movementarian.org>
3292 * buffer.C: move paragraph read into a separate function,
3293 a little renaming to reflect that.
3296 * bufferparams.C: remove the author_ids map, not necessary now
3299 * factory.C: moved Buffer::readInset to here
3301 * paragraph_funcs.h:
3302 * paragraph_funcs.C: readParagraph free function moved from
3305 * tabular.C: name change
3307 2003-03-12 John Levon <levon@movementarian.org>
3310 * ParagraphParameters.C: move par params input to
3313 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
3314 behave like a normal read from the stream wrt reading
3315 a line vs. a \\token
3317 2003-03-12 John Levon <levon@movementarian.org>
3320 * ParagraphParameters.h:
3321 * ParagraphParameters.C: move output code to a
3324 2003-03-12 John Levon <levon@movementarian.org>
3326 * BufferView.C (insertLyXFile):
3329 * tabular.C: use a parlist iterator for creating the
3332 2003-03-12 John Levon <levon@movementarian.org>
3334 * buffer.C: make current_change static local not
3337 2003-03-12 John Levon <levon@movementarian.org>
3339 * buffer.C: fix insertStringAsLines for change tracking
3341 2003-03-12 John Levon <levon@movementarian.org>
3348 * bufferparams.C: move author list into params. Rename some
3349 functions. Move the header reading into a separate token
3350 loop. Move the header token reading into BufferParams.
3352 2003-03-12 John Levon <levon@movementarian.org>
3354 * changes.C: put debug inside lyxerr.debugging() checks
3356 2003-03-11 André Pönitz <poenitz@gmx.net>
3358 * factory.C: make it aware of InsetHFill
3360 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3362 * buffer.C (latexParagraphs): move function from here...
3363 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
3366 2003-03-10 Angus Leeming <leeming@lyx.org>
3368 * LyXAction.C (init): fix bug in poplating array with multiple entries
3369 with the same LFUN (spotted by JMarc).
3371 2003-03-10 John Levon <levon@movementarian.org>
3374 * text2.C: move getColumnNearX() near its
3377 2003-03-10 John Levon <levon@movementarian.org>
3379 * text.C: fix break before a minipage
3381 2003-03-10 John Levon <levon@movementarian.org>
3383 * text.C: fix the last commit
3385 2003-03-09 John Levon <levon@movementarian.org>
3389 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
3390 bug 365 (don't break before insets unless needed). Don't
3391 return a value > last under any circumstances.
3393 2003-03-09 Angus Leeming <leeming@lyx.org>
3395 * BufferView_pimpl.C (trackChanges, dispatch): call
3396 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
3398 2003-03-09 Angus Leeming <leeming@lyx.org>
3400 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
3401 than Dialogs::showAboutlyx().
3403 2003-03-09 Angus Leeming <leeming@lyx.org>
3405 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
3406 than Dialogs::showTabularCreate().
3408 2003-03-09 John Levon <levon@movementarian.org>
3412 * text2.C: 3rd arg to nextBreakPoint was always the same.
3415 2003-03-08 John Levon <levon@movementarian.org>
3422 * text2.C: Remove the "main" bit from the "main body"
3425 2003-03-08 John Levon <levon@movementarian.org>
3427 * text.C (leftMargin): The left margin of an empty
3428 manual label paragraph should not include the label width
3431 * text.C (prepareToPrint): don't attempt to measure hfills
3432 for empty manual label paragraphs - the answer should be 0
3434 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3436 * CutAndPaste.C: remove commented code and reindent.
3438 2003-03-08 John Levon <levon@movementarian.org>
3441 * lyxfunc.C: move reloadBuffer()
3444 * BufferView.C: to here
3446 * lyxvc.C: add comment
3449 * vc-backend.C: call bv->reload() to avoid
3450 getStatus() check on MENURELOAD
3452 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
3454 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
3455 to an old format .dep file.
3457 2003-03-07 Angus Leeming <leeming@lyx.org>
3459 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
3460 when the LFUN_MOUSE_RELEASE should have been handled by
3461 inset->localDispatch.
3463 2003-03-07 Angus Leeming <leeming@lyx.org>
3465 * BufferView_pimpl.C (dispatch):
3466 * LyXAction.C (init):
3467 * ToolbarDefaults.C (init):
3469 * lyxfunc.C (getStatus):
3470 remove LFUN_INSET_GRAPHICS.
3472 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
3474 2003-03-07 Angus Leeming <leeming@lyx.org>
3477 * LyXAction.C (init):
3478 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
3480 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
3483 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
3485 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
3486 localDispatch method LFUN_INSET_DIALOG_UPDATE.
3488 2003-03-07 Angus Leeming <leeming@lyx.org>
3490 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
3493 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3495 * ParagraphList.C (front): new function
3498 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3500 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
3501 and top_row_offset_. removed var first_y.
3503 * text2.C (LyXText, removeRow):
3505 * BufferView_pimpl.C:
3506 use these methods instead of using first_y
3508 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3510 * text2.C (pasteSelection): adjust for checkPastePossible
3512 * CutAndPaste.C: remove Paragraph * buf and replace with
3513 ParagraphList paragraphs.
3514 (DeleteBuffer): delete
3515 (cutSelection): change the tc type to textclass_type
3516 (copySelection): change the tc type to textclass_type
3517 (copySelection): adjust for ParagraphList
3518 (pasteSelection): change the tc type to textclass_type
3519 (pasteSelection): adjust for Paragraphlist
3520 (nrOfParagraphs): simplify for ParagraphList
3521 (checkPastePossible): simplify for ParagraphList
3522 (checkPastePossible): remove unused arg
3524 * ParagraphList.C (insert): handle the case where there are no
3527 * CutAndPaste.h: make CutAndPaste a namespace.
3529 * text3.C (dispatch): adjust
3531 * text.C (breakParagraph): add a ParagraphList as arg
3533 * paragraph_funcs.C (breakParagraph): change to take a
3534 BufferParams and a ParagraphList as args.
3535 (breakParagraphConservative): ditto
3536 (mergeParagraph): ditto
3537 (TeXDeeper): add a ParagraphList arg
3538 (TeXEnvironment): ditto
3541 * buffer.C (readLyXformat2): adjust
3542 (insertStringAsLines): adjust
3543 (latexParagraphs): adjust
3545 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
3546 (cutSelection): adjust
3547 (pasteSelection): adjust
3549 * BufferView_pimpl.C (insertInset): adjust
3551 2003-03-05 Angus Leeming <leeming@lyx.org>
3554 * LyXAction.C (init):
3555 * BufferView_pimpl.C (dispatch):
3556 * lyxfunc.C (getStatus):
3557 remove LFUN_CHILD_INSERT.
3559 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
3561 2003-03-05 Angus Leeming <leeming@lyx.org>
3564 * LyXAction.C (init):
3565 * src/factory.C (createInset):
3566 * lyxfunc.C (getStatus):
3567 * text3.C (dispatch):
3568 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
3570 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
3572 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3574 * ParagraphList.C (insert): handle insert right before end()
3575 (erase): fix cases where it can be first or last paragraph.
3577 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3579 * paragraph_funcs.C (TeXEnvironment): remove all usage of
3580 Paragraph::next and Paragraph::previous
3583 * text.C (breakParagraph): adjust
3585 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
3586 BufferParams& as arg.
3587 (breakParagraph): use ParagraphList::insert
3588 (breakParagraphConservative): take a Buffer* instead of a
3589 BufferParams& as arg.
3590 (breakParagraphConservative): use ParagraphList::insert.
3592 * buffer.C (insertStringAsLines): un-const it
3593 (insertStringAsLines): adjust
3595 * ParagraphList.C (insert): new function
3597 * CutAndPaste.C (pasteSelection): adjust
3599 * text.C (backspace): adjust
3601 * tabular.C (SetMultiColumn): adjust
3603 * CutAndPaste.C (cutSelection): adjust
3604 (pasteSelection): adjust
3606 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
3607 Buffer const * as arg
3609 * ParagraphList.C (erase): new function
3610 * paragraph_funcs.C (mergeParagraph): use it
3611 (mergeParagraph): make it take a Buffer* instead of a
3612 BufferParams* as arg
3614 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
3616 (breakParagraphConservative): ditto
3618 * paragraph.h: remove the breakParagraph friend
3620 * paragraph.C (eraseIntern): new function
3621 (setChange): new function
3623 * paragraph_funcs.C (mergeParagraph): make it take a
3624 ParagraphList::iterator instead of a Paragraph *, adjust
3627 * paragraph.h: move an #endif so that the change tracking stuff
3628 also works in the NO_NEXT case.
3630 2003-03-04 Angus Leeming <leeming@lyx.org>
3633 * LyXAction.C: new LFUN_INSET_MODIFY.
3635 * BufferView_pimpl.C (dispatch): if an inset is found to be open
3636 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
3638 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3640 * several files: ws changes only
3642 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
3643 (TeXEnvironment): ditto
3646 * buffer.C (makeLaTeXFile): adjust
3647 (latexParagraphs): make it take ParagraphList::iterator as args
3649 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3651 * buffer.C (latexParagraphs): adjust
3653 * paragraph.C (TeXOnePar): move function...
3654 (optArgInset): move function...
3655 (TeXEnvironment): move function...
3656 * paragraph_pimpl.C (TeXDeeper): move function...
3657 * paragraph_funcs.C: ...here
3659 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
3661 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3663 * buffer.C (readInset): remove compability code for old Figure and
3666 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3668 * buffer.C: ws changes
3671 * BufferView_pimpl.C: ditto
3674 * bufferlist.h: ditto
3678 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3680 * converter.[Ch]: split into itself +
3683 * Makefile.am: += graph.[Ch] + format.[Ch]
3690 * lyxrc.C: added #include "format.h"
3692 2003-02-27 Angus Leeming <leeming@lyx.org>
3694 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
3697 * factory.C (createInset): add "label" to the factory.
3699 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
3700 string and do no more.
3702 2003-02-27 Angus Leeming <leeming@lyx.org>
3705 * LyXAction.C (init):
3706 * factory.C (createInset):
3707 * BufferView_pimpl.C (dispatch):
3708 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3710 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
3712 * lyxfunc.C (dispatch):
3713 * text3.C (dispatch): pass name to params2string.
3715 2003-02-26 Angus Leeming <leeming@lyx.org>
3717 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
3719 Rearrange the ~includes. Strip out the unnecessary ones.
3721 * factory.C (createInset): reformat.
3722 create new insets for the various LFUN_XYZ_APPLY lfuns.
3724 2003-02-26 John Levon <levon@movementarian.org>
3727 * lyxrow.C: add isParStart,isParEnd helpers
3729 * paragraph.h: make isInserted/DeletedText take refs
3731 * paragraph_funcs.h:
3732 * paragraph_funcs.C: remove #if 0'd code
3737 * text.C: use lyxrow helpers above.
3738 Move draw and paint routines to RowPainter.
3739 Make several methods use refs not pointers.
3740 Make backgroundColor() const.
3741 Add markChangeInDraw(), isInInset().
3742 Merge changeRegionCase into changeCase.
3743 Make workWidth() shouldn't-happen code into an Assert.
3746 * rowpainter.C: new class for painting a row.
3749 * vspace.C: make inPixels take a ref
3751 2003-02-26 Angus Leeming <leeming@lyx.org>
3753 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
3756 2003-02-25 John Levon <levon@movementarian.org>
3758 * ispell.C: give the forked command a more accurate name
3760 2003-02-22 John Levon <levon@movementarian.org>
3763 * toc.C: make TocItem store an id not a Paragraph *
3766 2003-02-21 Angus Leeming <leeming@lyx.org>
3768 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
3769 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
3770 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
3771 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
3772 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
3773 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
3775 * BufferView_pimpl.C (dispatch):
3776 * LyXAction.C (init):
3777 * factory.C (createInset):
3778 * lyxfunc.C (getStatus, dispatch):
3779 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
3781 2003-02-21 Angus Leeming <leeming@lyx.org>
3783 * BufferView_pimpl.C (MenuInsertLyXFile):
3784 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3785 * lyxfunc.C (menuNew, open, doImport):
3786 no longer pass a LyXView & to fileDlg.
3788 2003-02-21 Angus Leeming <leeming@lyx.org>
3790 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
3791 * LyXAction.C: change, BIBKEY to BIBITEM.
3792 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
3793 Change InsetBibKey to InsetBibitem.
3794 Change BIBKEY_CODE to BIBITEM_CODE.
3795 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3796 * factory.C: replace insetbib.h with insetbibitem.h.
3797 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3798 * paragraph.C: replace insetbib.h with insetbibitem.h.
3799 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
3800 Change bibkey() to bibitem().
3801 * text.C: remove insetbib.h.
3802 * text2.C: replace insetbib.h with insetbibitem.h.
3803 change bibkey() to bibitem().
3804 * text3.C: remove insetbib.h.
3805 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3807 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3809 * lyxrc.C (output): enclose user email in quotes (in case there are
3812 2003-02-18 John Levon <levon@movementarian.org>
3814 * buffer.h: add std::
3816 2003-02-17 John Levon <levon@movementarian.org>
3822 * pspell.C: reworking. Especially in ispell, a large
3823 number of clean ups and bug fixes.
3825 * lyxfunc.C: fix revert to behave sensibly
3827 2003-02-17 André Pönitz <poenitz@gmx.net>
3830 * commandtags.h: new LFUN_INSERT_BIBKEY
3840 * paragraph_func.C: remove special bibkey handling
3842 2003-02-17 John Levon <levon@movementarian.org>
3844 * text.C (Delete): fix case where delete at the end of
3845 the very first paragraph would not merge the pars
3847 2003-02-17 John Levon <levon@movementarian.org>
3849 * lyxrow.C: fix lastPrintablePos()
3851 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3853 * bufferparams.C (writeLaTeX): add a std:here
3855 * buffer.C: and remove a using directive there
3857 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3859 * buffer.C (makeLaTeXFile): move the code that generates the
3862 * bufferparams.C (writeLaTeX): ... in this new method
3864 * LaTeXFeatures.C (getEncodingSet): make const
3865 (getLanguages): make const
3867 * MenuBackend.C (binding): returns the binding associated to this
3869 (add): sets the status of each item by calling getStatus. Adds
3871 (read): add support for OptSubMenu
3872 (expand): remove extra separator at the end of expanded menu
3874 2003-02-15 John Levon <levon@movementarian.org>
3877 * BufferView_pimpl.C:
3879 * bufferlist.C: remove pointless BufferStorage bloat. Remove
3880 inset code that had no actual effect. Remove unneeded status
3883 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3885 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
3888 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
3890 * text.C (drawLengthMarker): also draw an arrow marker for
3891 symbolic lengths (medskip...)
3893 2003-02-14 John Levon <levon@movementarian.org>
3896 * tabular.C: better method names
3898 2003-02-14 John Levon <levon@movementarian.org>
3900 * BufferView_pimpl.C:
3905 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3906 it's a more accurate name. Remove some pointless uses.
3908 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3910 * text2.C (LyXText): change order of initilizers to shut off
3913 2003-02-14 John Levon <levon@movementarian.org>
3915 * buffer.C: use ParIterator for getParFromID()
3919 * paragraph_pimpl.h:
3920 * paragraph_pimpl.C: remove unused getParFromID()
3922 2003-02-14 John Levon <levon@movementarian.org>
3924 * buffer.C: remove some very old #if 0'd parse code
3926 2003-02-13 John Levon <levon@movementarian.org>
3930 * text2.C: move hfillExpansion(), numberOfSeparators(),
3931 rowLast(), rowLastPrintable(), numberofHfills(),
3932 numberOfLabelHfills() ...
3935 * lyxrow.C: ... to member functions here.
3940 * text.C: remove LyXText::beginningOfMainBody(), and call
3941 p->beginningOfMainBody() directly. Move the check for
3942 LABEL_MANUAL into the latter.
3949 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3955 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3956 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3958 2003-02-13 John Levon <levon@movementarian.org>
3960 * CutAndPaste.C: remove debug
3962 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3964 * paragraph.C (asString): remove two unused variables
3966 * lyxtextclass.C (readTitleType):
3968 (LyXTextClass): handle new members titletype_ and titlename_
3970 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3972 2003-02-09 John Levon <levon@movementarian.org>
3975 * buffer.C: replace hand-coded list with a map for the dep clean
3977 2003-02-08 John Levon <levon@movementarian.org>
3979 * LaTeX.C: consolidate code into showRunMessage() helper
3981 2003-02-08 John Levon <levon@movementarian.org>
3986 * BufferView.C: change setSelectionOverString() to setSelectionRange()
3987 and pass the size in explicitly
3989 * BufferView_pimpl.h:
3990 * BufferView_pimpl.C:
3992 * BufferView.C: add getCurrentChange()
3994 * BufferView_pimpl.h:
3995 * BufferView_pimpl.C: handle change lfuns
3997 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3998 for changes. Mark pasted paragraphs as new.
4000 * support/lyxtime.h:
4001 * support/lyxtime.C:
4002 * DepTable.C: abstract time_t as lyx::time_type
4005 * LColor.C: add colours for new text, deleted text, changebars
4007 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4008 package use "usenames" option.
4012 * LyXAction.C: add change lfuns
4016 * author.C: author handling
4019 * buffer.C: add a per-buffer author list, with first entry as
4020 current author. Handle new .lyx tokens for change tracking. Output
4021 author list to .lyx file. Output dvipost stuff to .tex preamble.
4022 Bump lyx format to 222.
4025 * bufferlist.C: add setCurrentAuthor() to reset current author details
4029 * bufferparams.C: add param for tracking
4031 * bufferview_funcs.C: output change info in minibuffer
4035 * changes.C: add change-tracking structure
4038 * debug.C: add CHANGES debug flag
4041 * lyxfind.C: add code for finding the next change piece
4044 * lyxrc.C: add user_name and user_email
4047 * lyxrow.C: add a metric for the top of the text line
4050 * text.C: implement accept/rejectChange()
4053 * text.C: paint changebars. Paint new/deleted text in the chosen
4054 colours. Strike through deleted text.
4058 * paragraph_pimpl.h:
4059 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4060 in the current change to the insert functions. Rework erase to
4061 mark text as deleted, adding an eraseIntern() and a range-based
4062 erase(). Implement per-paragraph change lookup and
4065 * paragraph_funcs.C: Fixup paste for change tracking.
4067 * tabular.C: mark added row/columns as new.
4069 * text.C: fix rowLast() to never return -1. Don't allow
4070 spellchecking of deleted text. Track transpose changes. Don't
4071 allow paragraph break or merge where appropriate.
4073 * text2.C: leave cursor at end of selection after a cut.
4075 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4077 * text.C (getLengthMarkerHeight):
4078 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4079 visible on screen too.
4081 2003-02-07 John Levon <levon@movementarian.org>
4083 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4085 2003-02-05 Angus Leeming <leeming@lyx.org>
4087 * lyxserver.C (read_ready): revert my patch of 11 September last year
4088 as it sends PC cpu through the roof. Presumably this means that
4089 the lyxserver will no longer run on an Alpha...
4091 2003-01-30 Angus Leeming <leeming@lyx.org>
4093 * factory.C (createInset): create an InsetCommandParam of type "index"
4094 and use it to 'do the right thing'.
4096 * text2.C (getStringToIndex): ensure that cursor position is always
4097 reset to the reset_cursor position.
4099 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4101 * lyxfunc.C (getStatus): "buffer-export custom" should never be
4104 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4108 * lyxfunc.C: Output messages with identical spelling, punctuation,
4111 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
4113 * MenuBackend.C (expandFormats): List only viewable export formats
4116 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4119 * lyxfunc.C (getStatus): Make sure that formats other than
4120 "fax" can also be disabled
4122 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4124 * text3.C (dispatch): put the lfuns that insert insets in 3
4125 groups, and call doInsertInset with appropriate arguments.
4126 (doInsertInset): new function, that creates an inset and inserts
4127 it according to some boolean parameters.
4129 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4131 * buffer.C (readFile): remember to pass on 'par' when calling
4132 readFile recursively.
4134 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4136 * MenuBackend.C (expandFormats): add "..." to import formats.
4138 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
4140 * paragraph.C (asString): Remove XForms RTL hacks.
4142 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
4143 * buffer.C: fix typo
4145 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4147 * Makefile.am (LIBS): delete var
4148 (lyx_LDADD): add @LIBS@ here instead.
4150 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
4152 * Clarify the meaning of "wheel mouse jump"
4154 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4156 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4159 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4161 * importer.C (Loaders): do not preallocate 3 elements in the
4162 vector, since one ends up with 6 elements otherwise
4164 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4166 * DepTable.C (write): write the file name as last element of the
4167 .dep file (because it may contain spaces)
4168 (read): read info in the right order
4170 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4172 * paragraph_pimpl.C (simpleTeXBlanks):
4173 (simpleTeXSpecialChars):
4174 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4176 * tabular.C (latex): add some missing case statements. Reindent.
4178 * MenuBackend.C (expandToc): remove unused variable.
4180 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4189 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4192 2003-01-05 John Levon <levon@movementarian.org>
4195 * BufferView.C: add getEncoding()
4198 * kbsequence.C: do not store last keypress
4201 * lyxfunc.C: store last keypress here instead. Pass encoding
4204 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4206 * lyx_main.C (init): remove annoying error message when following
4207 symbolic links (bug #780)
4209 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4211 * text.C (insertChar):
4212 * lyxrc.C (getDescription): remove extra spaces
4214 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4216 * lyxrc.C (getDescription): remove extra spaces
4218 2002-12-20 John Levon <levon@movementarian.org>
4220 * text3.C: hack fix for page up/down across tall rows
4222 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4224 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4227 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4229 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4230 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4231 thesaurus is not compiled in
4233 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4235 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
4237 2002-12-16 Angus Leeming <leeming@lyx.org>
4240 * lyx_main.C (init): remove override_x_deadkeys stuff.
4242 2002-12-12 John Levon <levon@movementarian.org>
4244 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4245 insert. Only remove shift modifier under strict
4248 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4250 * MenuBackend.C (expandToc): fix crash.
4252 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4254 * MenuBackend.C (expandToc): gettext on float names.
4256 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4258 * lyxlength.[Ch]: set default unit to UNIT_NONE,
4259 implement bool empty() [bug 490]
4261 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4263 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4265 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4267 * several files: ws changes
4269 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4271 * text2.C (setCounter): clean up a bit, use boost.format.
4272 (updateCounters): initialize par upon declaration.
4274 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4275 if the layout exists. We do not just store the layout any more.
4276 (SwitchLayoutsBetweenClasses): use boost.format
4278 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4280 * converter.C (convert): if from and to files are the same, use a
4281 temporary files as intermediary
4283 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4286 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
4288 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
4290 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
4292 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4294 * tabular.C (asciiPrintCell): use string(size, char) instead of
4297 * sgml.C (openTag): fix order of arguments to string constructor
4300 * lyxfunc.C (dispatch): use boost.format
4302 * lots of files: change "c" -> 'c'
4304 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
4306 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
4308 2002-11-25 Angus Leeming <leeming@lyx.org>
4310 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
4312 * lyx_main.C (init): compile fix.
4314 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4316 * lyx_cb.C (start): boost.formatify
4317 do not include <iostream>
4319 * lengthcommon.C: ws only
4321 * boost-inst.C,BoostFormat.h: add more explict instantations
4323 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4325 * lots of files: handle USE_BOOST_FORMAT
4327 2002-11-21 John Levon <levon@movementarian.org>
4329 * pspell.C: fix compile
4331 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4333 * lyxfunc.C (dispatch): use boost::format
4337 * lyxfont.C (stateText): use boost::format
4339 * lyx_main.C (LyX): use boost::format
4341 (queryUserLyXDir): ditto
4344 (typedef boost::function): use the recommened syntax.
4346 * importer.C (Import): use boost::format
4348 * debug.C (showLevel): use boost::format
4350 * converter.C (view): use boost::format
4355 * bufferview_funcs.C (currentState): use boost::format
4357 * bufferlist.C (emergencyWrite): use boost::format
4359 * buffer.C (readLyXformat2): use boost::format
4360 (parseSingleLyXformat2Token): ditto
4362 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
4364 * LaTeX.C (run): use boost::format
4366 * Chktex.C (scanLogFile): use boost::format
4368 * BufferView_pimpl.C (savePosition): use boost::format
4369 (restorePosition): ditto
4370 (MenuInsertLyXFile): ditto
4372 * BoostFormat.h: help file for explicit instation.
4374 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4376 * tabular.C (latex): Support for block alignment in fixed width
4379 2002-11-17 John Levon <levon@movementarian.org>
4381 * BufferView_pimpl.C:
4383 * lyxfunc.C: split filedialog into open/save
4385 2002-11-08 Juergen Vigna <jug@sad.it>
4387 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
4388 by my last patch (hopefully).
4390 2002-11-08 John Levon <levon@movementarian.org>
4399 * toc.C: ParConstIterator, and use it (from Lars)
4401 2002-11-07 Ben Stanley <bds02@uow.edu.au>
4403 * lyxtextclass.[Ch]: revise and add doxygen comments
4405 2002-11-07 John Levon <levon@movementarian.org>
4407 * text.C: fix progress value for spellchecker
4409 * toc.C: fix navigate menu for insetwrap inside minipage
4411 * paragraph_funcs.C: added FIXME for suspect code
4413 2002-11-07 John Levon <levon@movementarian.org>
4415 * BufferView_pimpl.C: fix redrawing of insets
4418 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4420 * text2.C (updateCounters): fix bug 668
4422 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
4424 * text3.C (dispatch): Do not make the buffer dirty when moving the
4427 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4429 * vc-backend.C: STRCONV
4432 * text2.C (setCounter): STRCONV
4434 * paragraph.C (asString): STRCONV
4436 * lyxlength.C (asString): STRCONV
4437 (asLatexString): ditto
4439 * lyxgluelength.C (asString): STRCONV
4440 (asLatexString): ditto
4442 * lyxfunc.C (dispatch): STRCONV
4445 * lyxfont.C (stateText): STRCONV
4447 * importer.C (Import): STRCONV
4449 * counters.C (labelItem): STRCONV
4450 (numberLabel): ditto
4451 (numberLabel): remove unused ostringstream o
4456 * bufferview_funcs.C (currentState): STRCONV
4458 * buffer.C (readFile): STRCONV
4459 (asciiParagraph): ditto
4460 (makeLaTeXFile): ditto
4462 * Spacing.C (writeEnvirBegin): STRCONV
4464 * LaTeXFeatures.C (getLanguages): STRCONV
4465 (getPackages): ditto
4467 (getBabelOptions): ditto
4468 (getTClassPreamble): ditto
4469 (getLyXSGMLEntities): ditto
4470 (getIncludedFiles): ditto
4474 (scanAuxFile): ditto
4477 * LString.h: add the STRCONV macros
4479 * BufferView_pimpl.C (savePosition): STRCONV
4480 (restorePosition): ditto
4481 (MenuInsertLyXFile): ditto
4483 * vc-backend.C (scanMaster): change from submatch[...] to
4486 * funcrequest.C: include config.h
4488 * factory.C: include config.h
4490 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
4492 * box.C: include config.h
4494 * LaTeX.C (scanAuxFile): change from submatch[...] to
4498 2002-10-25 Angus Leeming <leeming@lyx.org>
4500 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
4502 * ispell.[Ch] (setError): new method.
4503 * ispell.C (c-tor): move out child process into new class LaunchIspell.
4504 Use setError() insetead of goto END.
4506 * lyx_cb.C (AutoSave): move out child process into new class
4509 2002-10-30 John Levon <levon@movementarian.org>
4511 * text3.C: make start appendix undoable
4513 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
4515 * lyxlength.C (inPixels): Fix returned value.
4517 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
4520 2002-10-24 Angus Leeming <leeming@lyx.org>
4522 * lyxgluelength.h: no need to forward declare BufferParams
4523 or BufferView, so don't.
4525 2002-10-21 John Levon <levon@movementarian.org>
4527 * BufferView.C: menuUndo ->undo, redo
4529 * BufferView.h: document, remove dead, make some methods private
4531 * paragraph_funcs.h:
4532 * paragraph_funcs.C:
4533 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
4538 * sgml.C: move sgml open/close tag into sgml.C
4540 * bufferview_funcs.h: unused prototype
4543 * lyxfunc.C: remove unused
4546 * text.C: remove unused
4548 2002-10-21 John Levon <levon@movementarian.org>
4552 * BufferView_pimpl.h:
4553 * BufferView_pimpl.C: fix mouse wheel handling based on
4554 patch from Darren Freeman
4556 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
4558 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
4560 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
4562 * lyxlength.C (inPixels): Fix hanfling of negative length.
4563 Fix LyXLength::MU case.
4565 2002-10-16 John Levon <levon@movementarian.org>
4567 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
4569 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4571 * converter.C (view): add support for $$i (file name) and $$p
4572 (file path) for the viewer command. If $$i is not specified, then
4573 it is appended to the command (for compatibility with old syntax)
4575 2002-10-14 Juergen Vigna <jug@sad.it>
4577 * undo_funcs.C (textHandleUndo): alter the order in which the
4578 new undopar is added to the LyXText, as we have to set first
4579 the right prev/next and then add it as otherwise the rebuild of
4580 LyXText is not correct. Also reset the cursor to the right paragraph,
4581 with this IMO we could remove the hack in "redoParagraphs()".
4583 2002-10-09 Angus Leeming <leeming@lyx.org>
4585 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
4586 to turn off an optimisation if a new inset is to be inserted.
4588 2002-10-11 André Pönitz <poenitz@gmx.net>
4590 * lyxtext.h: make some functions public to allow access
4591 from inset/lyxtext for handling LFUN_PRIOR/NEXT
4593 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4595 * text3.C (dispatch): when changing layout, avoid an infinite loop
4598 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4600 * lyxrc.C (read): treat a viewer or converter command of "none" as
4603 * MenuBackend.C (expandFormats): for an update, also allow the
4604 formats that are not viewable
4606 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
4607 script if it is newer than the lyxrc.defaults in user directory
4609 2002-10-07 André Pönitz <poenitz@gmx.net>
4611 * text.C: Vitaly Lipatov's small i18n fix
4613 2002-09-25 Angus Leeming <leeming@lyx.org>
4615 * ispell.h: doxygen fix.
4617 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
4619 * buffer.h (readFile): Add a new argument to the method, to allow
4620 reading of old-format templates.
4622 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4624 * toc.C (getTocList): Get TOC from InsetWrap.
4626 2002-09-16 John Levon <levon@movementarian.org>
4628 * lyxfunc.C: check tabular for cut/copy too
4630 2002-09-12 John Levon <levon@movementarian.org>
4635 * factory.C: add header
4637 * paragraph_funcs.h:
4638 * paragraph_funcs.C: cleanup
4640 2002-09-11 John Levon <levon@movementarian.org>
4642 * PrinterParams.h: odd/even default to true
4644 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4646 * PrinterParams.h: update printer parameters for new xforms dialog
4648 2002-09-11 Angus Leeming <leeming@lyx.org>
4650 * lyxserver.C (read_ready): re-write to make it more transparent
4651 and to make it work in coherent fashion under Tru64 Unix.
4653 2002-09-11 André Pönitz <poenitz@gmx.net>
4657 * text3.C: implement LFUN_WORDSEL
4659 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4661 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
4662 make floatlist_ a boost::shared_ptr<FloatList>
4664 * lyxtextclass.C: include FloatList.h
4665 (LyXTextClass): initialize floatlist_
4666 (TextClassTags): add TC_NOFLOAT
4667 (Read): match "nofloat" to TC_NOFLOAT and use it.
4668 (readFloat): modify call to floatlist_
4672 * FloatList.[Ch] (FloatList): remove commented out float
4674 (erase): new function
4676 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4678 * MenuBackend.C (expandToc): fix crash when there is no document
4681 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
4683 * many files: Add insetwrap.
4685 2002-09-09 John Levon <levon@movementarian.org>
4687 * text2.C: remove confusing and awkward depth wraparound
4689 2002-09-09 John Levon <levon@movementarian.org>
4691 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
4694 * buffer.C: remove getIncludeonlyList()
4697 * lyxfunc.C: remove headers
4699 2002-09-09 Juergen Vigna <jug@sad.it>
4701 * text.C (getColumnNearX): fix form Michael this is most
4702 probably a cut&paste bug.
4704 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4706 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
4708 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
4709 references, ws changes.
4711 * text2.C (init): update counters after init
4712 (insertParagraph): no need to set counter on idividual paragraphs.
4713 (setCounter): access the counters object in the textclass object
4714 on in the buffer object.
4715 (updateCounters): ditto
4717 * lyxtextclass.C: include counters.h, add variable ctrs_ as
4718 shared_ptr<Counters> to avoid loading counters.h in all
4720 (LyXTextClass): initialize ctrs_
4721 (TextClassTags): add TC_COUNTER, and ...
4722 (Read): use it here.
4723 (CounterTags): new tags
4724 (readCounter): new function
4725 (counters): new funtion
4726 (defaultLayoutName): return a const reference
4728 * counters.C (Counters): remove contructor
4729 (newCounter): remove a couple of unneeded statements.
4730 (newCounter): simplify a bit.
4731 (numberLabel): some small formatting changes.
4733 * buffer.[Ch]: remove all traces of counters, move the Counters
4734 object to the LyXTextClass.
4736 2002-09-06 Alain Castera <castera@in2p3.fr>
4738 * tabular.C: uses \tabularnewline; uses >{...} construct from array
4739 package to set the horizontal alignment on fixed width columns.
4742 * lyx_sty.h: added tabularnewline macro def.
4744 * LaTeXFeatures.C: added NeedTabularnewline macro feature
4746 2002-09-06 John Levon <levon@movementarian.org>
4748 * LyXAction.C: tooltips for sub/superscript
4750 * MenuBackend.C: a bit more verbose
4752 * lyxfunc.C: tiny clean
4754 * undo_funcs.C: document undo_frozen
4756 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4758 * counters.C (Counters): add missing algorithm counter.
4760 * text2.C (setCounter): lookup the counter with layouts latexname
4761 instead of by section number.
4762 (setCounter): use a hackish way to lookup the correct enum
4764 a float name->type change
4765 reset enum couners with counter name directly instead of depth value.
4767 * counters.C (Counters): remove the push_backs, change to use the
4768 float type not the float name.
4769 (labelItem): remove unused string, float name->type change
4771 * counters.h: don't include vector, loose the enums and sects vectors
4773 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4775 * lyxtextclass.C (TextClassTags): add TC_FLOAT
4776 (Read): add float->TC_FLOAT to textclassTags
4777 (Read): and handle it in the switch
4778 (readFloat): new function
4780 * FloatList.C (FloatList): comment out the hardcoded float
4783 * lyxlayout.h: ws change.
4785 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
4787 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
4789 2002-09-03 Angus Leeming <leeming@lyx.org>
4791 * BufferView_pimpl.h: qualified name is not allowed in member
4792 declaration: WorkArea & Pimpl::workarea() const;
4794 * factory.C: added using std::endl directive.
4796 * text3.C: added using std::find and std::vector directives.
4798 2002-08-29 André Pönitz <poenitz@gmx.net>
4801 * text2.C: remove unused member number_of_rows
4804 * BufferView2.C: remove file, move contents to...
4805 * BufferView.C: ... here
4807 * BufferView_pimpl.C:
4808 * factory.C: move more inset creation to factory
4810 * vspace.C: avoid direct usage of LyXText, ws changes
4813 don't provide direct access to WorkArea, use two simple
4814 acessors haveSelction() and workHeight() instead
4817 2002-08-29 John Levon <levon@movementarian.org>
4819 * BufferView_pimpl.C (dispatch): do not continue when
4822 2002-08-28 André Pönitz <poenitz@gmx.net>
4824 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
4827 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
4829 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4831 * buffer.C: increment LYX_FORMAT to 221
4833 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
4834 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
4836 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
4838 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
4840 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4842 * factory.C (createInset): use LyXTextClass::floats
4844 * MenuBackend.C (expandFloatListInsert):
4845 (expandFloatInsert):
4848 * text2.C (setCounter):
4850 * LaTeXFeatures.C (useFloat):
4851 (getFloatDefinitions):
4853 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
4855 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
4856 floatlist_, with accessor floats().
4858 * FloatList.h: remove global FloatList
4860 2002-08-26 André Pönitz <poenitz@gmx.net>
4862 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
4866 * BufferView_pimpl.C:
4867 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
4869 2002-08-25 John Levon <levon@movementarian.org>
4871 * LyXAction.C: fix margin note description
4873 2002-08-24 John Levon <levon@movementarian.org>
4877 * bufferview_funcs.C:
4879 * undo_funcs.C: cleanups
4881 * lyxfunc.C: disable CUT/COPY when no selection
4883 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4885 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
4886 in "enum UNIT"; e.g. PTW for Percent of TextWidth
4888 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
4889 Add backward compatibility to "mono", "gray" and "no".
4891 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
4893 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
4894 (and file_format >= 200).
4896 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4898 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
4900 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4902 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4904 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
4906 * BufferView_pimpl.C:
4913 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4914 inset and code to make it work with the paragraph code. The inset
4915 can be anywhere in the paragraph, but will only do the expected
4916 thing in LaTeX if the layout file contains the parameter line
4918 (or more generally, a nonzero value) for that layout.
4920 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4922 * paragraph.h: remove the declaration of undefined counters class
4925 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
4927 * text2.C (setCounter): fixed enumeration mis-count as reported by
4928 Dr. Richard Hawkins.
4930 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4932 * paragraph_funcs.h: remove some unneeded includes
4934 * text.C (backspace): pasteParagraph now in global scipe
4936 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
4937 (pasteSelection): ditto
4939 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4940 * paragraph_funcs.C (pasteParagraph): ... here
4942 2002-08-20 André Pönitz <poenitz@gmx.net>
4944 * commandtags.h: new LFUNs for swapping/copying table row/colums
4947 * lyxfunc.C: support for new lfuns
4949 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4952 * buffer.[Ch]: remove NO_COMPABILITY stuff
4954 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
4956 * boost.C (throw_exception): new file, with helper function for
4957 boost compiled without exceptions.
4962 * ParameterStruct.h:
4963 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4965 * bufferlist.C (emergencyWriteAll): use boost bind
4967 * BufferView_pimpl.C (moveCursorUpdate): remove inline
4969 * text.C: include paragraph_funcs.h
4970 (breakParagraph): breakParagraph is now in global scope
4972 * paragraph_funcs.[Ch]: new files
4974 * paragraph.C (breakParagraph,breakParagraphConservative): move to
4977 * buffer.C: include paragraph_funcs.h
4978 (insertStringAsLines): breakParagraph is now in global scope
4980 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4983 * CutAndPaste.C: include paragraph_funcs.h
4984 (cutSelection): breakParagraphConservative is now in global scope
4985 (pasteSelection): ditto
4987 * buffer.h: declare oprator== and operator!= for
4988 Buffer::inset_iterator
4990 * bufferlist.C (emergencyWrite): don't use fmt(...)
4992 * text3.C: add using std::endl
4994 * BufferView.C (moveCursorUpdate): remove default arg
4996 2002-08-20 André Pönitz <poenitz@gmx.net>
4998 * buffer.[Ch]: move inline functions to .C
5001 * BufferView_pimpl.C:
5003 * buffer.[Ch]: use improved inset_iterator
5006 * paragraph.[Ch]: write one paragraph at a time
5008 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
5010 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5011 style if style is not specified.
5013 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5015 * text2.C (setCounter): when searching for right label for a
5016 caption, make sure to recurse to parent insets (so that a caption
5017 in a minipage in a figure float works) (bug #568)
5019 2002-08-20 André Pönitz <poenitz@gmx.net>
5021 * text3.C: new file for LyXText::dispatch() and helpers
5023 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5025 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5027 2002-08-19 André Pönitz <poenitz@gmx.net>
5030 * text.C: new LyXText::dispatch()
5032 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5034 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
5036 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5038 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5041 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5043 * Makefile.am: use $(variables) instead of @substitutions@
5045 2002-08-15 André Pönitz <poenitz@gmx.net>
5048 * BufferView_pimpl.C: streamlining mathed <-> outer world
5052 * LyXAction.C: remove unused LFUN_MATH
5054 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5056 * paragraph.[Ch]: add some NO_NEXT ifdefs.
5058 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5060 * paragraph.C (Paragraph): reformat a bit
5061 (cutIntoMinibuffer): use builtin InsetList function instad of
5065 * buffer.C: include boost/bind.hpp, add using std::for_each
5066 (writeFileAscii): use ParagraphList iterators
5067 (validate): use for_each for validate traversal of paragraphs
5068 (getBibkeyList): use ParagraphList iterators
5069 (resizeInsets): use for_each to resizeInsetsLyXText for all
5071 (getParFromID): use ParagraphList iterators
5073 * BufferView2.C (lockInset): use paragraph list and iterators
5075 2002-08-14 John Levon <levon@movementarian.org>
5077 * lyxserver.C: remove spurious xforms include
5079 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5081 * lyxfunc.C (getStatus): disable math-extern outside of math mode
5083 2002-08-13 André Pönitz <poenitz@gmx.net>
5086 * lyxfunc.C: further cleaning
5088 2002-08-13 André Pönitz <poenitz@gmx.net>
5090 * funcrequest.h: new constructor
5092 * funcrequest.C: move stuff here from .h
5095 * BufferView_pimpl.C:
5098 * lyxfunc.C: subsequent changes
5100 * lyxfunc.h: new view() member function
5102 * lyxfunc.C: subsequent changes
5104 2002-08-13 Angus Leeming <leeming@lyx.org>
5107 * BufferView_pimpl.C:
5115 changes due to the changed LyXView interface that now returns references
5116 to member variables not pointers.
5118 2002-08-13 Angus Leeming <leeming@lyx.org>
5120 * WordLangTuple (word, lang_code): return references to strings,
5125 * lyxtext.h: forward-declare WordLangTuple.
5130 * text.C: #include "WordLangTuple.h".
5133 * text.C: (selectNextWordToSpellcheck): constify return type.
5135 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
5141 * paragraph_pimpl.h:
5144 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5146 Made updateCounter always count from start of buffer, and removed
5147 second argument (par).
5148 Reverted floats number display to '#'. Perhaps I'll try again when the
5149 code base is sanitized a bit.
5151 2002-08-12 Angus Leeming <leeming@lyx.org>
5153 * buffer.[Ch] (getLabelList): constify.
5155 2002-08-07 André Pönitz <poenitz@gmx.net>
5157 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5159 * funcrequest.h: extension to keep mouse (x,y) position
5161 2002-08-12 Juergen Vigna <jug@sad.it>
5163 * BufferView2.C (insertErrors): forbid undo when inserting error
5166 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5168 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5170 * ParagraphList.[Ch]: new files
5172 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5174 * BufferView2.C (lockInset): ParagraphList changes
5177 * bufferlist.C: ditto
5181 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5183 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5184 unused class variable counter_,
5186 * paragraph.[Ch] (getFirstCounter): delete unused function
5188 * counters.C: include LAssert.h
5189 (reset): add a new function with no arg, change other version to
5190 not have def. arg and to not allow empty arg.
5192 * text2.C (setCounter): remove empty arg from call to Counters::reset
5194 2002-08-11 John Levon <levon@movementarian.org>
5196 * Makefile.am: add WordLangTuple.h
5198 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5200 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5201 lyxfunc.C lyxlex_pimpl.C: ws changes only.
5203 * insets/insettext.C: InsetList changes
5205 * graphics/GraphicsSupport.C (operator()): InsetList changes
5207 * toc.C (getTocList): InsetList changes
5209 * paragraph_pimpl.[Ch]: InsetList changes
5211 * paragraph.[Ch]: InsetList changes
5213 * buffer.C (inset_iterator): InsetList changes
5214 (setParagraph): ditto
5215 * buffer.h (inset_iterator): ditto
5216 * iterators.C (operator++): ditto
5217 * iterators.h: ditto
5219 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5221 * InsetList.[Ch]: new files, most InsetList handling moved out of
5224 * BufferView2.C (removeAutoInsets): InsetList changes
5226 (ChangeInsets): ditto
5228 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5230 * paragraph_pimpl.h (empty): new function
5232 * paragraph.[Ch] (empty): new function
5234 * other files: use the new Paragraph::empty function
5236 2002-08-09 John Levon <levon@movementarian.org>
5238 * lyxtext.h: remove unused refresh_height
5240 2002-08-09 John Levon <levon@movementarian.org>
5247 * paragraph.C: move sgml char escaping out of paragraph
5250 * paragraph.C: remove id setter
5254 * paragraph_pimpl.C: remove dead tex_code_break_column
5256 * bufferview_funcs.C: small cleanup
5258 * lyxfunc.C: remove dead proto
5260 * lyxtext.h: make some stuff private. Remove some dead stuff.
5262 * lyxgluelength.C: make as[LyX]String() readable
5264 2002-08-08 John Levon <levon@movementarian.org>
5269 * ToolbarDefaults.C:
5272 * toc.C: lyxaction cleanup
5274 2002-08-08 John Levon <levon@movementarian.org>
5276 * BufferView2.C: small cleanup
5279 * lyxfind.C: move unnecessary header into the .C
5281 2002-08-08 John Levon <levon@movementarian.org>
5283 * funcrequest.h: just tedious nonsense
5286 * lyx_main.C: cleanups
5289 * vspace.C: remove dead header lyx_main.h
5291 2002-08-07 Angus Leeming <leeming@lyx.org>
5294 * paragraph_pimpl.h:
5295 Forward declare class Counters in paragraph.h by moving the ctrs member
5296 variable into Paragraph::Pimpl.
5297 (counters): new method, returning a reference to pimpl_->ctrs.
5299 * text2.C: ensuing changes.
5301 2002-08-07 John Levon <levon@movementarian.org>
5303 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
5305 * BufferView_pimpl.C: announce X selection on double/triple
5308 * lyx_main.C: use correct bool in batch dispatch
5310 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
5312 2002-08-07 André Pönitz <poenitz@gmx.net>
5314 * funcrequest.h: new class to wrap a kb_action and its argument
5317 * BufferView_pimpl[Ch]:
5321 * lyxrc.C: subsequent changes
5324 2002-08-07 John Levon <levon@movementarian.org>
5326 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
5327 document options change.
5329 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5334 * makefile.am: move counters functionality over from
5335 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
5337 2002-08-06 John Levon <levon@movementarian.org>
5339 * WordLangTuple.h: new file for word + language code tuple
5350 * BufferView2.C: use WordLangTuple
5353 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
5355 2002-08-06 John Levon <levon@movementarian.org>
5357 * lyx_main.C: fix cmdline batch handling
5359 2002-08-06 André Pönitz <poenitz@gmx.net>
5361 * lyxrc.C: set default for show_banner to true
5363 2002-08-06 John Levon <levon@movementarian.org>
5365 * pspell.C: fix a crash, and allow new aspell to work
5367 2002-08-06 John Levon <levon@movementarian.org>
5370 * kbmap.C: small cleanup
5373 * vspace.C: add const
5375 2002-08-05 John Levon <levon@movementarian.org>
5377 * LyXAction.C: back to tabular-insert
5379 2002-08-04 John Levon <levon@movementarian.org>
5382 * BufferView.C: cosmetic change
5384 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
5394 * BufferView2.C: purge all "Lyx" not "LyX" strings
5397 * lyxcursor.C: attempt to add some documentation
5402 * ToolbarDefaults.C:
5403 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
5404 merge with LFUN_TABULAR_INSERT
5411 * pspell.C: split up i/pspell implementations into separate
5412 files, many cleanups
5414 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
5416 * text2.C: some cleanup
5418 * lyxfunc.C: don't check for isp_command == "none" any more, it
5419 didn't make any sense
5421 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5426 * makefile.am: move counters functionality over
5427 from text2.C/paragraph.[Ch] to counters.[Ch], and
5429 2002-08-02 John Levon <levon@movementarian.org>
5431 * buffer.C: s/lyxconvert/lyx2lyx/
5433 2002-08-02 Angus Leeming <leeming@lyx.org>
5435 * lyxlex.C: revert John's change as it breaks reading of the user
5438 2002-08-02 Angus Leeming <leeming@lyx.org>
5440 * importer.C (Import):
5441 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
5442 changes due to LyXView::view() now returning a boost::shared_ptr.
5444 2002-08-02 John Levon <levon@movementarian.org>
5446 * lyxlex.C: small cleanup
5448 2002-08-02 John Levon <levon@movementarian.org>
5450 * text2.C (status): small cleanup, no logic change
5452 2002-08-01 John Levon <levon@movementarian.org>
5455 * buffer.C (writeFile): don't output alerts, caller
5459 * lyx_cb.C: from above
5461 * lyxfunc.C: allow to open non-existent files
5463 2002-07-31 John Levon <levon@movementarian.org>
5465 * lyxserver.C: don't let incidental errors get
5468 2002-07-30 John Levon <levon@movementarian.org>
5470 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
5472 2002-07-30 John Levon <levon@movementarian.org>
5475 * lyxserver.C: remove I/O callback too
5477 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5479 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
5482 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5484 * many files: strip,frontStrip -> trim,ltrim,rtrim
5486 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5488 * PrinterParams.h: remove extern containsOnly, and include
5489 support/lstrings.h instead.
5491 * LaTeX.C (scanAuxFile): modify because of strip changes
5493 * buffer.C (makeLaTeXFile): ditto
5494 * bufferparams.C (writeFile): ditt
5495 * lyxfont.C (stateText): ditto
5496 * lyxserver.C (read_ready): ditto
5497 * vc-backend.C (scanMaster): ditto
5499 * BufferView_pimpl.h: ws changes
5501 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
5503 2002-07-26 André Pönitz <poenitz@gmx.net>
5505 * kb_sequence.C: remove unnedred usings
5507 2002-07-26 Juergen Vigna <jug@sad.it>
5509 * lyxfind.C (LyXReplace): we have to check better if the returned
5510 text is not of theLockingInset()->getLockingInset().
5512 2002-07-25 Juergen Vigna <jug@sad.it>
5514 * lyxfind.C (LyXReplace): don't replace if we don't get the
5517 * undo_funcs.C (createUndo): remove debugging code.
5519 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
5521 * buffer.C (parseSingleLyXformat2Token): Use default placement
5522 when reading old floats.
5524 * FloatList.C (FloatList): Change the default placement of figure
5525 and tables to "tbp".
5527 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
5529 * MenuBackend.C: using std::max
5531 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5533 * MenuBackend.C (expandToc):
5534 (expandToc2): code moved from xforms menu frontend. It is now
5535 generic and TOCs are transparent to menu frontends.
5537 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5539 * toc.C (getTocList): protect against buf=0
5541 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
5542 Menu as first parameter. Now, this calls itself recursively to
5543 expand a whole tree (this will be useful for TOC handling)
5544 (expandFloatInsert): remove 'wide' version of floats
5546 * MenuBackend.h (submenuname): returns the name of the submenu.
5547 (submenu): returns the submenu itself, provided it has been
5548 created by MenuBackend::expand
5550 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5552 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
5553 insets which have noFontChange == true. (bug #172)
5555 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5557 * BufferView_pimpl.C: add connection objects and use them...
5560 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5562 * MenuBackend.C (expandLastfiles):
5565 (expandFloatListInsert):
5566 (expandFloatInsert):
5567 (expand): split expand in parts
5569 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5571 * lyx_gui.C: use lyx_gui::exit()
5573 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5575 * LyXAction.C: show the failing pseudo action
5577 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
5579 * buffer.C (readFile): Run the lyxconvert script in order to read
5582 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5586 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
5588 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5592 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
5594 2002-07-22 Herbert Voss <voss@lyx.org>
5597 * lyxlength.[Ch]: add support for the vertical lengths
5599 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
5601 * toc.[Ch]: std:: fixes
5603 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5605 * lyxrc.C: do not include lyx_main.h
5607 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
5613 * BufferView2.C: include "lyxlex.h"
5616 * bufferparams.h: do not #include "lyxlex.h"
5618 * lyxtextclasslist.C (Add): remove method
5619 (classlist): renamed to classlist_
5621 * paragraph_pimpl.C:
5625 * bufferview_funcs.C:
5630 * toc.C (getTocList): use BufferParams::getLyXTextClass
5632 * toc.C (getTocList): use InsetFloat::addToToc
5634 * toc.[Ch]: new files, containing helper functions to handle table
5637 * lyxfunc.C (dispatch): no need to remove spaces around command
5639 (getStatus): handle LFUN_SEQUENCE by returning the status of the
5640 first command of the sequence; it is not very clever, but I do not
5641 have a better idea, actually
5643 * LyXAction.C (LookupFunc): make sure to remove space at the
5644 beginning and end of the command
5646 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5648 * MenuBackend.C (getMenubar): new method: return the menubar of
5650 (read): treat differently reading of menu and menubar (in
5651 particular, the menubar has no name now)
5652 (Menu::menubar): remove
5654 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
5657 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5659 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
5660 a bibitem inset in a RTL paragraph.
5662 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
5664 * paragraph_pimpl.C: constify
5666 * BufferView_pimpl.C:
5668 * lyxfunc.C: fix dispatch in a nicer way
5670 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5672 * lyxfunc.C (dispatch):
5673 * BufferView_pimpl.C:
5674 * BufferView_pimpl.h:
5676 * BufferView.h: rename Dispatch() to dispatch()
5678 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
5680 * lyxlayout.C (Read): honor DependsOn tag
5682 * lyxlayout.[Ch] (depends_on): new method
5684 * version.C.in: update lyx_docversion
5686 * LaTeXFeatures.C (getMacros): only define \LyX when needed
5688 * paragraph.C (validate): remove from here...
5689 * paragraph_pimpl.C (validate): ... and move here
5690 (isTextAt): make it const
5692 * buffer.C (getLists): ws cleanup
5694 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5696 * language.C (read): Use iso8859-1 encoding in latex_lang
5697 (this prevents LyX from crashing when using iso10646-1 encoding).
5699 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5701 * text2.C (toggleInset): if cursor is inside an inset, close the
5702 inset and leave cursor _after_ it
5704 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5706 * lyxfunc.C: move minibuffer completion handling out of here
5708 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5710 * BufferView_pimpl.C:
5711 * LaTeX.C: fix dispatch calls
5713 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
5715 * text.C (drawChars): Fix Arabic text rendering.
5717 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
5721 * lyxfunc.C: remove message-push/pop
5725 * lyxfunc.C: rationalise some code by removing verboseDispatch
5726 in favour of a bool argument to dispatch()
5728 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5730 * lyx_main.C (init): make sure to read symlinks as absolute paths
5732 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5735 * lyxfunc.C: no need for commandshortcut to be a member
5737 2002-07-15 André Pönitz <poenitz@gmx.net>
5739 * converter.C: add support for $$s (scripts from lib/scripts dir)
5740 * lyx_main.C: white space
5742 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5746 * lyxrc.C: remove second exit confirmation
5748 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5753 * BufferView_pimpl.h:
5754 * BufferView_pimpl.C:
5755 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
5757 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5759 * MenuBackend.C (expand): add numeric shortcuts to document menu
5761 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
5763 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5765 * lyxfont.C (setLyXFamily):
5772 * buffer.C (asciiParagraph): use ascii_lowercase
5774 2002-07-15 Mike Fabian <mfabian@suse.de>
5776 * lyxlex_pimpl.C (search_kw):
5777 * lyxlex.C (getLongString):
5778 * converter.h (operator<):
5779 * converter.C (operator<):
5780 * buffer.C (parseSingleLyXformat2Token):
5782 * ToolbarDefaults.C (read):
5783 * MenuBackend.C (checkShortcuts):
5785 * LColor.C (getFromGUIName):
5786 (getFromLyXName): use the compare_ascii_no_case instead of
5787 compare_no_case, because in turkish, 'i' is not the lowercase
5788 version of 'I', and thus turkish locale breaks parsing of tags.
5790 2002-07-16 Angus Leeming <leeming@lyx.org>
5792 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
5793 now takes a Buffer const & argument.
5795 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
5797 * BufferView.C (resize): check there's a buffer to resize
5799 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
5801 * lyxfunc.C: remove dead code
5804 * lyxserver.C: use lyx_guii::set_read_callback
5806 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
5808 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
5809 an inset in a RTL paragraph.
5811 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5813 * lyxfunc.C: repaint after a font size update
5815 2002-07-15 André Pönitz <poenitz@gmx.net>
5817 * lyxlength.C: inBP should be able to return negative values
5819 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5821 * lyxfunc.C: use lyx_gui::update_fonts()
5823 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5825 * lyxfunc.C: use lyx_gui::update_color()
5827 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5833 * lyxrc.C: remove file->new asks for name option, and let
5834 buffer-new take an argument
5836 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5838 * BufferView_pimpl.C: remove unneeded extra repaint()
5840 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
5842 * LyXAction.C: allow command-sequence with NoBuffer
5844 * lyxfunc.C: don't insist on trailing ';' for command-sequence
5846 2002-07-10 Angus Leeming <leeming@lyx.org>
5848 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
5850 2002-07-09 Angus Leeming <leeming@lyx.org>
5852 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
5854 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5856 * lengthcommon.h: whitespace
5858 * lyxfunc.C: update scrollbar after goto paragraph
5860 * lyxtext.h: factor out page break drawing, and fix it so
5861 page break/added space paints as selected nicely
5863 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5865 * BufferView_pimpl.C: add FIXMEs, clean up a little
5867 2002-07-09 André Pönitz <poenitz@gmx.net>
5869 * lyxfont.[Ch]: support for wasy symbols
5871 2002-07-08 André Pönitz <poenitz@gmx.net>
5873 * BufferView_pimpl.C: apply John's patch for #93.
5875 2002-07-05 Angus Leeming <leeming@lyx.org>
5877 * BufferView_pimpl.C (buffer): generate previews if desired.
5879 * LColor.h: add "preview" to the color enum.
5881 * LColor.C (LColor): add a corresponding entry to the items array.
5883 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
5886 2002-07-05 Angus Leeming <leeming@lyx.org>
5888 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
5889 The body of the code is now in the method that is passed an ostream &
5890 rather than a file name.
5891 Pass an additional only_preamble parameter, useful for the forthcoming
5894 2002-07-03 André Pönitz <poenitz@gmx.net>
5896 * lyxfunc.C: simplify getStatus() a bit for math stuff
5898 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5900 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5902 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5904 * text.C (changeRegionCase): do not change case of all the
5905 document when region ends at paragraph end (bug #461)
5907 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5909 * paragraph.C (startTeXParParams):
5910 (endTeXParParams): add \protect when necessary
5912 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5914 * BufferView_pimpl.C (workAreaExpose): remove warning
5916 2002-06-27 Angus Leeming <leeming@lyx.org>
5918 * Makefile.am: add lyxlayout_ptr_fwd.h.
5920 2002-06-26 André Pönitz <poenitz@gmx.net>
5922 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
5924 2002-06-25 Angus Leeming <leeming@lyx.org>
5926 * lyxfunc.C (dispatch): Comment out the call to
5927 grfx::GCache::changeDisplay. The method no longer exists now that the
5928 pixmap generation part of the graphics loader has been moved into
5931 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5933 * text2.C: layout as layout
5935 * text.C: layout as layout
5937 * tabular.C (OldFormatRead): layout as layout
5939 * paragraph_pimpl.C (TeXDeeper): layout as layout
5940 (realizeFont): layout as layout
5942 * paragraph.C (writeFile): layout as layout
5943 (validate): layout as layout
5944 (getFont): layout as layout
5945 (getLabelFont): layout as layout
5946 (getLayoutFont): layout as layout
5947 (breakParagraph): layout as layout
5948 (stripLeadingSpaces): layout as layout
5949 (getEndLabel): layout as layout
5950 (getMaxDepthAfter): layout as layout
5951 (applyLayout): layout as layout
5952 (TeXOnePar): layout as layout
5953 (simpleTeXOnePar): layout as layout
5954 (TeXEnvironment): layout as layout
5955 (layout): layout as layout
5956 (layout): layout as layout
5958 * lyxtextclass.C (compare_name): new functor to work with
5959 shared_ptr, layout as layout
5960 (Read): layout as layout
5961 (hasLayout): layout as layout
5962 (operator): layout as layout
5963 (delete_layout): layout as layout
5964 (defaultLayout): layout as layout
5966 * lyxlayout_ptr_fwd.h: new file
5968 * lyxlayout.C (Read): layout as layout
5970 * lyx_cb.C (MenuInsertLabel): layout as layout
5972 * bufferlist.C (newFile): layout as layout
5974 * buffer.C (readLyXformat2): layout as layout
5975 (parseSingleLyXformat2Token): layout as layout
5976 (insertStringAsLines): layout as layout
5977 (asciiParagraph): layout as layout
5978 (latexParagraphs): layout as layout
5979 (makeLinuxDocFile): layout as layout
5980 (simpleLinuxDocOnePar): layout as layout
5981 (makeDocBookFile): layout as layout
5982 (simpleDocBookOnePar): layout as layout
5983 (getLists): layout as layout
5985 * LaTeXFeatures.C (getTClassPreamble): layout as layout
5987 * CutAndPaste.C (cutSelection): layout as layout
5988 (pasteSelection): layout as layout
5989 (SwitchLayoutsBetweenClasses): layout as layout
5991 * BufferView_pimpl.C (Dispatch): layout as layout
5992 (smartQuote): layout as layout
5994 * BufferView2.C (unlockInset): layout as layout
5996 2002-06-24 André Pönitz <poenitz@gmx.net>
5998 * lyxfunc.C: fix #487
6000 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6004 * lyxfunc.C: remove display_shortcuts, show_banner
6006 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6008 * Buffer_pimpl.C: oops, update on resize
6010 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6017 * BufferView.C: use repaint()
6019 * BufferView_pimpl.h:
6020 * BufferView_pimpl.C: s/updateScreen()/repaint()/
6021 as it's a clearer description. Remove superfluous
6024 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6026 * text.C: fix bug 488. Not ideal, but getting
6027 getWord() to work properly for the insets that
6028 matter is more difficult ...
6030 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6032 * BufferView_pimpl.C:
6035 * lyxfunc.C: remove the six million index lyxfuncs to just
6036 one, and DTRT (bug 458)
6038 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6042 * BufferView_pimpl.h:
6043 * BufferView_pimpl.C: clean up resize() stuff,
6044 and unnecessary updateScreen()s
6046 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6050 * BufferView_pimpl.h:
6051 * BufferView_pimpl.C:
6054 * minibuffer.C: remove focus management of workarea,
6055 not needed. Use screen's greyOut()
6057 2002-06-17 Herbert Voss <voss@lyx.org>
6059 * converter.C: (convert) do not post a message, when converting
6060 fails, let the calling function decide what to do in this case
6062 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
6064 * lyxfunc.C: tidy up a little
6066 2002-06-16 <alstrup@diku.dk>
6068 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6069 Got rid of FORMS_H_LOCATION include. Now we are
6072 2002-06-15 LyX Development team <lyx@rilke>
6074 * buffer.[Ch] (sgmlOpenTag):
6075 (sgmlCloseTag): Added support for avoiding pernicious mixed
6076 content. Return number of lines written.
6079 (makeDocBookFile): Fixed calls to sgml*Tag.
6080 Simple white space clean.
6082 (simpleDocBookOnePar): Simple white space clean.
6084 * tabular.[Ch] (docBook): Renamed to docbook and got another
6085 argument to related with the pernicious mixed content.
6087 (docbookRow): Fixed calls for docbook inset method.
6089 2002-06-15 Lyx Development team <larsbj@birdstep.com>
6091 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6092 so it's X11 independent.
6096 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6098 2002-06-15 Lyx Development team <lyx@electronia>
6100 * intl.h: Renamed getTrans to getTransManager.
6102 2002-06-14 Angus Leeming <leeming@lyx.org>
6104 * Makefile.am: nuke forgotten stl_string_fwd.h.
6106 2002-06-12 Angus Leeming <leeming@lyx.org>
6108 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6110 2002-06-13 Angus Leeming <leeming@lyx.org>
6113 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6115 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
6117 * kbmap.C (getiso): add support for cyrillic and greek
6119 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6123 * BufferView_pimpl.h:
6124 * BufferView_pimpl.C: move bogus scrolling logic
6127 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6130 * BufferView_pimpl.C: view->resize() change
6132 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6134 * BufferView_pimpl.C: topCursorVisible
6137 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6141 * lyx_gui.C: move to frontends/
6145 * lyx_main.C: changes from above
6147 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6154 * lyx_main.C: minor tidy
6156 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6158 * BufferView_pimpl.h:
6159 * BufferView_pimpl.C:
6161 * BufferView.C: make painter() const,
6164 * BufferView2.C: use screen() accessor
6167 * lyx_main.C: some minor cleanup
6169 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6171 * BufferView_pimpl.h:
6172 * BufferView_pimpl.C: remove enter/leaveView,
6175 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6180 * BufferView_pimpl.h:
6181 * BufferView_pimpl.C: only construct screen once,
6184 * lyxrc.C: remove pointless comment
6186 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6189 * BufferView.C: remove active() and belowMouse()
6191 * BufferView_pimpl.h:
6192 * BufferView_pimpl.C: use workarea() not workarea_,
6193 and make it use a scoped_ptr instead
6195 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6197 * lyx_gui.C: add debug message on BadWindow
6199 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6201 * sp_spell.C: fdopen is not part of the C++ standard.
6203 * paragraph.C (InsetIterator): use >= instead of ==
6205 2002-06-07 Angus Leeming <leeming@lyx.org>
6207 Fixes needed to compile with Compaq cxx 6.5.
6208 * BufferView_pimpl.C:
6215 * lyxtextclasslist.C:
6220 all c-library variables have been moved into namespace std. Wrap
6221 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6226 Add a using std::abs declaration.
6228 * kbmap.h (modifier_pair):
6229 * paragraph.h (InsetTable, InsetList):
6230 * lyxfont.h (FontBits):
6231 type definition made public.
6233 * bufferlist.C (emergencyWriteAll): the compiler complains that
6234 there is more than one possible lyx::class_fun template to choose from.
6235 I re-named the void specialisation as lyx::void_class_fun.
6237 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6239 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6240 the compiler is is unable to find tostr in write_attribute.
6242 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6244 * buffer.C (sgmlError): hide #warning
6246 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6248 * xtl/*: get rid of xtl, which is not in use anyway
6250 * LyXAction.C (init):
6251 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
6252 were unimplemented xtl experimentation
6254 2002-06-04 André Pönitz <poenitz@gmx.net>
6256 * lyxfunc.C: disable array operation on simple formulae
6258 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
6260 * converter.C: constify a bit
6262 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
6264 * lyx_gui.C: check xforms version correctly
6266 2002-04-30 Herbert Voss <voss@lyx.org>
6268 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6271 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
6273 * lyxvc.C: fix bug 416 (make sure buffer is saved before
6274 attempt to register it with a VCS)
6276 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6278 * lyx_main.C (init): honor variables LYX_DIR_13x and
6281 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6285 * lyx_main.C: fix a crash on bad command line,
6286 and give a useful exit status on error
6288 * lyxfunc.C (doImport): allow -i lyx to work
6290 2002-03-30 André Pönitz <poenitz@gmx.net>
6292 * lyxfunc.C: mathed font changes
6294 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6309 * trans_mgr.h: srcdocs, and some minor cleanups
6311 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6313 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
6314 call getFont all the time)
6316 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6318 * switch from SigC signals to boost::signals
6320 2002-05-29 André Pönitz <poenitz@gmx.net>
6322 * paragraph_pimpl.C (getChar): don't call size() too often...
6324 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6326 * paragraph_pimpl.C (insertChar): do not try to update tables when
6327 appending (pos == size())
6329 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
6330 in order to reduce drastically the number of comparisons needed to
6331 parse a large document
6333 2002-05-29 André Pönitz <poenitz@gmx.net>
6339 * textclasslist.[Ch]:
6340 * sp_ispell.h: whitespace change
6342 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6344 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
6345 lyxaction directly now.
6347 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
6351 * lyxvc.C: remove unused headers
6353 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6360 * undo_funcs.C: some cleanups. Use shared_ptr
6361 and a template for the undo stacks.
6363 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6365 * BufferView_pimpl.h:
6366 * BufferView_pimpl.C:
6373 * text2.C: use key_state/mouse_state
6375 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6377 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
6380 * chset.C: change include order
6381 (loadFile): use boost regex and get rid of LRegex and LSubstring
6383 * Makefile.am (BOOST_LIBS): new variable
6386 * LaTeX.C: change include order.
6387 (scanAuxFile): use boost regex and get rid of LRegex and
6391 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6396 * FontInfo.C: moved to frontends/xforms/
6399 * FontLoader.C: moved into frontends for GUIIzation
6404 * lyxfunc.C: changes from above
6406 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6408 * LColor.C: remove spurious X include
6410 * BufferView_pimpl.C:
6415 * text2.C: move font metrics to frontends/
6417 2002-05-24 Juergen Vigna <jug@sad.it>
6419 * undo_funcs.C (textHandleUndo): fix the cursor selection after
6420 setting the undo_cursor.
6422 * ParagraphParameters.h: include local includes first.
6424 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6426 * BufferView_pimpl.C:
6427 * BufferView_pimpl.h:
6431 * screen.C: move WorkArea into frontends/
6437 * BufferView2.C: move LyXScreen into frontends/
6441 * lyx_gui.C: move lyxlookup into frontends/xforms/
6443 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6446 * BufferView_pimpl.C:
6456 * bufferview_funcs.C:
6469 * vc-backend.C: move LyX/XFormsView into frontends/
6471 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6483 * text2.C: move Painter to frontends/
6485 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6487 * buffer.C: comment out some some code that depend upon lyx_format
6490 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
6491 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
6493 * buffer.h (NO_COMPABILITY): turn off compability
6495 * ColorHandler.C: include scoped_array.hpp
6497 * font.C: Use more specific smart_ptr header.
6500 * ShareContainer.h: ditto
6504 * BufferView_pimpl.h: ditto
6505 * ColorHandler.h: ditto
6507 * kbmap.C (defkey): change call to shared_ptr::reset
6509 2002-05-21 Juergen Vigna <jug@sad.it>
6511 * buffer.C (insertErtContents): fix to insert ert asis if it is
6512 non empty. Skip it completely if it contains only whitespaces.
6514 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
6516 * BufferView_pimpl.C:
6517 * BufferView2.C: clear selection on paste (bug 393)
6519 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6521 * DepTable.C: include ctime
6523 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
6525 * buffer.C (latexParagraphs): Add new argument (moving_arg).
6527 2002-05-14 Juergen Vigna <jug@sad.it>
6529 * text.C (breakParagraph): fixed function to honor the keepempty
6530 layout in the right maner and also to permit the right breaking
6531 algorithm on empty or non empyt keepempty paragraphs.
6533 * paragraph.C (breakParagraph): we have to check also if the par
6534 is really empty (!size()) for isempty otherwise we do the wrong
6537 2002-05-10 Juergen Vigna <jug@sad.it>
6539 * buffer.[Ch] : The following are only changes to the ert
6540 compatibility read reading old LaTeX layout and font stuff and
6541 convert it to ERTInsets.
6543 * buffer.h: added isErtInset().
6545 * buffer.C (struct ErtComp): add a fromlayout bool to check
6546 if we're inside a LaTeX layout.
6547 (isErtInset): new helper function.
6548 (insertErtContents): look for other ert insets before this one
6549 and insert the contents there, so that we don't have subsequent
6550 ERT insets with nothing between them. This way we create only one
6551 inset with multiple paragraphs. Also check if we don't insert only
6552 spaces ' ' as they are ignored anyway afterwards in the .tex file
6553 so if we have only spaces we will ignore this latex part in the
6555 (parseSingleLyXformat2Token \\layout): better compatibility when
6556 reading layout-latex stuff.
6557 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
6559 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
6560 stuff after reading the inset only get the information back from
6563 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
6565 * buffer.C (makeLaTeXFile): Put language options after loading babel.
6567 * LaTeXFeatures.C (getBabelOptions): New method.
6569 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6571 * BufferView_pimpl.C (Dispatch): work around missing argument for
6574 2002-05-08 Juergen Vigna <jug@sad.it>
6576 * text.C (leftMargin): handle paragraph leftindent.
6578 * paragraph.C (writeFile): write the new \\leftindent tag.
6579 (validate): handle leftindent code.
6580 (TeXEnvironment): handle paragraphleftindent code again.
6582 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
6584 * buffer.C (parseSingleLyXformat2Token): added compatibility code
6585 for paragrap_extra indent code and new token \\leftindent.
6586 (latexParagraphs): handle the leftindent as environment.
6588 * ParameterStruct.h: added leftindent support.
6590 * ParagraphParameters.C (leftIndent): added support functions for
6591 the paragraph left indent.
6593 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
6596 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
6598 * paragraph.C (isRightToLeftPar): Return false for a paragraph
6601 * text.C (computeBidiTables): No bidi in insetERT.
6603 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
6606 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6608 * version.C.in: pre 5
6610 2002-05-02 José Matos <jamatos@fep.up.pt>
6611 * buffer.C (makeDocBookFile): white space changes, add newline to
6613 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
6615 * tabular.C (docBook): fix typo.
6617 2002-05-03 Juergen Vigna <jug@sad.it>
6619 * screen.C (drawFromTo): recalculate the rowpointer if we had a
6620 change in LyXText as we can not be sure it was not freed.
6621 (drawOneRow): remove unused code.
6623 * text.C (drawInset): redo the calculation of the need_break_row as
6624 it could have a row which was already freed.
6625 (draw): look at the return value of drawInset and return false if
6626 it also returned false.
6627 (paintRowText): look at the return value of draw and return false if
6628 it also returned false.
6630 * lyxtext.h: added bool return type to drawInset() and draw() so that
6631 if we have a change in the row so that the rowbreak has to be redone
6632 we abort drawing as it will be called again.
6634 2002-05-02 Juergen Vigna <jug@sad.it>
6636 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
6637 a change in the maintext also if we're inside an inset.
6638 (Dispatch): set the cursor again after a break line and after the
6639 screen has been updated as it could be we're in a different row.
6641 * text2.C (fixCursorAfterDelete): check to make sure we don't request
6642 to set the cursor behind the pargraph with > size().
6643 (setCursor): check also for the same paragraph when checking where
6644 to put the cursor if we have a NFR inset.
6646 * buffer.C (parseSingleLyXformat2Token): move the compatibility
6647 parts of layout read further up as it still was in the wrong
6650 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6652 * screen.C (drawFromTo): change sine fullRebreak always return
6655 * buffer.C (parseSingleLyXformat2Token): reindent some
6657 * BufferView_pimpl.C (update): change since fullRebreak always
6659 (Dispatch): git rid of the last hardcoded "Standard"s.
6661 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6663 * text2.[Ch] (fullRebreak): make it return void now that we always
6666 2002-04-30 Juergen Vigna <jug@sad.it>
6668 * buffer.C (parseSingleLyXformat2Token): reset the font before the
6669 ert compatibility check for "latex" layout.
6671 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
6673 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
6674 minipages: use col% instead of p%, and also use the current font.
6675 (makeLaTeXFile): Fix use babel condition.
6676 (parseSingleLyXformat2Token): Correct font when reading old floats.
6678 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
6680 * BufferView_pimpl.C (Dispatch): Check that float type exists when
6681 inserting list of floats.
6683 2002-04-25 Herbert Voss <voss@lyx.org>
6685 * MenuBackend.C (expand): don't add the graphics extensions to the
6688 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6690 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
6691 non-existing layout, do not complain if it was the default layout
6692 of the original class (bug #342)
6694 2002-04-24 Juergen Vigna <jug@sad.it>
6696 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
6697 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
6699 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
6701 * buffer.C (getBibkeyList): If using \bibliography, return the
6702 option field with the reference itself. Enables us to provide natbib
6703 support when using \bibliography.
6705 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
6707 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
6709 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
6710 natbib is provided by the LaTeX class.
6712 2002-04-23 Juergen Vigna <jug@sad.it>
6714 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
6717 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
6719 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6721 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
6723 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
6724 ensuremath around textordmasculine, textordfeminine and
6727 2002-04-19 Juergen Vigna <jug@sad.it>
6729 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
6730 reinitializing the buffer otherwise row-dimensions may be wrong.
6731 (update): reset also the selection cursors if they do exits otherwise
6732 their x/y positions may be wrong.
6734 * text2.C (cursorDown): don't enter the inset if we came from a row
6735 above and are one row over the inset.
6737 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
6738 really leaving an inset.
6740 2002-04-18 Juergen Vigna <jug@sad.it>
6742 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
6743 of the selected paragraph does not have the selected layout also if
6746 * text2.C (setLayout): fixed bug which did not change last selected
6749 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
6750 changed the read and substituted \\end_float with \\end_inset!
6752 * BufferView_pimpl.C (cursorPrevious):
6753 (cursorNext): fixed to make it work with rows heigher than the work
6754 area without moving the cursor only the draw of the row.
6755 (workAreaMotionNotify): fix jumping over high rows.
6757 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6759 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
6762 2002-04-16 Juergen Vigna <jug@sad.it>
6764 * text2.C (setCursor): set also the irow().
6765 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
6767 (cursorDown): support for locking an inset if the x_fix value goes
6768 inside it. That way I can transverse insets too with cursor up/down.
6770 * lyxrow.h: added irow helper function same as other (i) functions.
6772 * BufferView_pimpl.C (cursorPrevious):
6773 (cursorNext): fixed for insets!
6775 2002-04-15 Juergen Vigna <jug@sad.it>
6777 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
6778 position otherwise it is wrong in some cases.
6780 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
6781 inside the inset before the call.
6783 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
6785 * buffer.[Ch] (getBibkeyList): make it const.
6787 2002-04-12 Juergen Vigna <jug@sad.it>
6789 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
6791 * text2.C (getCursorX): new helper function
6792 (setCursor): compute also ix_
6793 (setCursorFromCoordinates): set also ix.
6795 * lyxcursor.h: added ix_ and helper functions.
6797 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
6799 * buffer.C (insertStringAsLines): dont break paragraph if the this
6800 paragraph is inside an inset which does not permit it!
6802 * text.C (breakParagraph): honor keepempty flag and break the paragraph
6803 also with no chars on this paragraph.
6804 (paintRowText): only paint stuff if it's inside the workarea!
6806 * paragraph.C (breakParagraph): honor keepempty flag and break the
6807 paragraph always below not above.
6809 * BufferView2.C (unlockInset): update the paragraph layout on inset
6810 unlock as we changed paragraph in such a case.
6812 * lyxfind.C (LyXFind): clear the former selection if not found!
6814 * text2.C (insertInset): freeze Undo after setUndo so that it is not
6815 again called in insertChar().
6817 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
6818 an inset which uses the whole row!
6819 (rightMargin): ditto.
6820 (insertChar): force a rebreak if we inserted an inset!
6822 2002-03-28 Herbert Voss <voss@lyx.org>
6824 * lyxlength.[Ch]: add inBP() to get the right PS-point
6825 units (BigPoint). With inPixels we have rounding errors
6827 2002-04-11 Juergen Vigna <jug@sad.it>
6829 * text2.C (setCursorFromCoordinates): set iy to the right value.
6830 (setCursor): add check if row->previous exists!
6832 * buffer.C (parseSingleLyXformat2Token): reset font after read of
6833 an old float_type as this was the case in the old code!
6835 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
6837 * BufferView2.C (showLockedInsetCursor): use iy
6838 (fitLockedInsetCursor): ditto
6840 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
6841 locked insets as there we have the right value now.
6843 * lyxcursor.C: added iy_ variable and iy functions to set to the
6844 baseline of cursor-y of the locked inset.
6846 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
6847 (setCursor): fixed for insets which need a full row.
6849 * text.C (rowLastPrintable): don't ignore the last space when before
6850 an inset which needs a full row.
6851 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
6852 as last character of a row when before a inset which needs a full row.
6854 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6856 * version.C.in: update date
6858 * text2.C (fullRebreak): try to always return true and see what
6861 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6863 * MenuBackend.C (expand): use Floating::listName
6865 * FloatList.C (FloatList): add listName argument to the built-in
6868 * Floating.[Ch]: add listName member, which is the 'List of XXX'
6869 text associated with the float.
6871 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6873 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
6875 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6877 * ShareContainer.h: add a couple of missing typenames.
6879 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
6881 * lyxrc.C (getDescription): use _() correctly rather than N_().
6883 2002-03-28 Herbert Voss <voss@lyx.org>
6885 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
6886 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
6888 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6890 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
6891 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
6893 2002-03-29 Juergen Vigna <jug@sad.it>
6895 * lyxfunc.C (dispatch): add a missing fitCursor call.
6897 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
6898 it was scrolled by a cursor move, so return the bool status.
6900 * BufferView.C (fitCursor): return the bool flag also to the outside
6901 world as this is needed.
6903 * screen.C (toggleToggle): don't subtract the offset if it's positive.
6905 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6906 call the edit() as it is not needed (and wrong) IMO.
6907 (workAreaButtonPress): set the screen_first variable before evt.
6908 unlock the inset as this may change screen_first and then we have
6909 a wrong y position for the click!
6911 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6913 * MenuBackend.C (expand): another translation that I missed
6915 2002-03-28 Juergen Vigna <jug@sad.it>
6917 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6919 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6921 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6923 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
6925 * MenuBackend.C (expand): fix export/view/update when there is no
6928 2002-03-27 Herbert Voss <voss@lyx.org>
6930 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
6933 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6935 * bufferview_funcs.C (currentState): only show paragraph number
6936 for is DEVEL_VERSION is set.
6938 * lyxfunc.C (dispatch): put warning in INFO channel
6940 * MenuBackend.C (expand): translate the name of floats
6942 * FloatList.C (FloatList): mark the float names for translation
6944 * converter.C (convert): use LibScriptSearch
6946 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6948 * MenuBackend.C (defaults): fix default menu (we might as well get
6951 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6953 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6956 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6958 * lyxvc.C: reorder includes.
6960 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
6962 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6965 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
6967 * CutAndPaste.C: change layouts earlier on paste
6968 to avoid crashing when calling getFont()
6970 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
6972 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6975 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6977 * WorkArea.C: remove 'Pending' debug message.
6979 * most files: ws cleanup
6981 * buffer.[Ch]: ws changes
6983 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6985 2002-03-21 Juergen Vigna <jug@sad.it>
6987 * tabular.C (SetMultiColumn): collapse also the contents of the
6988 cells and set the last border right. Added a Buffer const * param.
6990 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6992 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6995 2002-03-19 Juergen Vigna <jug@sad.it>
6997 * text2.C (clearSelection): reset also xsel_cache.
6999 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7000 where it needs to be called (John tells us to do so too :)
7001 (selectionLost): reset sel_cache.
7003 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7005 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7007 * text2.C (setCursorIntern): put debuging code in INSETS channel
7009 2002-03-19 André Pönitz <poenitz@gmx.net>
7011 * lyxfunc.C: tiny whitespace change
7013 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7015 * ToolbarDefaults.C (init):
7016 * LyXAction.C (init):
7018 * BufferView_pimpl.C (Dispatch):
7019 * lyxfunc.C (dispatch): remove LFUN_DEPTH
7021 2002-03-19 Allan Rae <rae@lyx.org>
7023 * exporter.C (Export): removeAutoInsets before doing anything else.
7024 While I've just introduced a dependency on BufferView this really is
7025 the best place to clean the buffer otherwise you need to cleanup in
7026 a dozen places before calling export or cleanup in a dozen functions
7029 * converter.C (runLaTeX):
7030 (scanLog): Better handling of removeAutoInsets and screen updates.
7032 * lyxfunc.C (dispatch): small whitespace changes
7034 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7036 * WorkArea.C (C_WorkAreaEvent): return a value.
7037 (event_cb): return 1 if we handled the event, 0 otherwise.
7039 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7041 2002-03-18 Juergen Vigna <jug@sad.it>
7043 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7044 (GetAdditionalWidth): ditto.
7048 * BufferView2.C (copy): use getLyXText() so that we do it inside an
7049 inset if we're there actually (probably not used right now but this
7050 is the direction to go for unifying code).
7051 (paste): disable code to clear the selection.
7053 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7054 inside an InsetText and move the check further up as it is in the
7057 * text2.C (pasteSelection): set a selection over the pasted text.
7059 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
7061 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7062 and libgraphics to build on Cygwin.
7064 2002-03-15 Juergen Vigna <jug@sad.it>
7066 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7067 inserting an Inset into the paragraph. I know this is not the best
7068 fix but we already use current_view in CutAndPaste so we will remove
7069 all of it's using at the same time.
7071 * buffer.C (sgmlError): deactivated function till it is rewritten in
7072 the right mode, now it can create problems.
7074 * paragraph.C (isLineSeparator): check if getInset returns != 0,
7075 before accessing it.
7077 2002-03-14 Juergen Vigna <jug@sad.it>
7079 * undo_funcs.C (textHandleUndo): do the right thing when updating
7080 the inset after the undo/redo.
7082 * text2.C (setCursor): just some testcode for #44 not ready yet.
7084 * undo_funcs.C (textHandleUndo): set the next() and previous()
7085 pointers of the paragraph to 0 before deleting otherwise we have
7086 problems with the Paragraph::[destructor].
7088 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7089 on a paragraph insertion.
7091 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7093 * buffer.C (asciiParagraph): use += operator for char append to
7096 * paragraph.C (getFontSettings): compare >= not just >
7097 (highestFontInRange): ditto
7100 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7102 * paragraph.C: change several algorithm to be more appripriate for
7103 the problem domain. This is lookip in FontList and in the InsetList.
7105 2002-03-13 André Pönitz <poenitz@gmx.net>
7108 * LyXAction.C: remove unused LFUN_MATH_MACROARG
7110 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
7115 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7117 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7119 * Painter.C (display): anon helper function, adjust code for this
7121 (pixmap): remove function.
7123 * Painter.h: remove private display variable.
7125 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7127 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
7129 * WorkArea.[Ch]: remove figinset_canvas cruft.
7131 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7133 * lyxtextclass.C (operator): add one item cache optimization.
7135 * bufferlist.h: doxy changes
7137 * bufferlist.C: ws changes
7139 * DepTable.[Ch] (ext_exist): place const in the right spot.
7141 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7143 (workAreaExpose): call resizeInsets when the with BufferView changes.
7144 (Dispatch): adjust for protectedBlank removal
7145 (specialChar): call updateInset if the insert went ok.
7147 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7148 specialChar instead.
7150 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7152 * BufferView.h: doxy change
7154 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7156 * lyxtextclass.C (operator[]): remove non-const version
7157 (defaultLayout): remove non-const version
7159 2002-03-12 Juergen Vigna <jug@sad.it>
7161 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7162 did resize the LyXText too.
7164 * buffer.C (readLyXformat2): set layout information on newly allocated
7167 * tabular.C (OldFormatRead): set layout information on the paragraph.
7169 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7171 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7173 2002-03-11 Juergen Vigna <jug@sad.it>
7175 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7177 (resizeCurrentBuffer): force also the insets to resize themselfes.
7178 (moveCursorUpdate): fixed up for InsetText.
7180 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
7183 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7184 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7185 value of Dialogs::tooltipsEnabled().
7186 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7188 2002-03-08 Juergen Vigna <jug@sad.it>
7190 * BufferView_pimpl.C (updateInset): update inset inside inset also
7191 if it isn't inside theLockingInset().
7193 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7195 * buffer.C (asciiParagraph): redo some of the word and line length
7197 (getLists): look for Caption instead of caption.
7199 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7201 * buffer.C (Buffer): initialize niceFile to true
7204 (makeDocBookFile): make sure niceFile is true on exit
7206 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7208 * buffer.C (makeLaTeXFile): escape ~ in \input@path
7210 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
7212 * LyXSendto.C: remove.
7213 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7214 * lyx_gui.C: remove now-redundant comment.
7215 * ColorHandler.h: remove forward declaration of class WorkArea.
7216 * lyxfunc.C: remove #include "WorkArea.h".
7218 2002-03-07 Juergen Vigna <jug@sad.it>
7220 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7221 got moved away with the DEPM and also set the inset_owner always
7222 right which before could have been omitted.
7224 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7226 * buffer.C (parseSingleLyXformat2Token): use default layout is the
7227 wanted layout is not found.
7229 2002-03-07 Juergen Vigna <jug@sad.it>
7231 * CutAndPaste.C (cutSelection): another layout settings forgotten.
7233 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7235 * paragraph.C (breakParagraph): use default layout not layout of
7237 (Paragraph): clear ParagraphParameters.
7239 2002-03-06 Juergen Vigna <jug@sad.it>
7241 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7242 otherwise it would not be a valid lenght. Fixed a special case in
7243 the minipage compatibility read where we end the document with a
7246 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7247 was set as it could be 0 for InsetTexts first entry.
7249 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7251 * paragraph.C (writeFile): if layout is empty write out
7252 defaultLayoutName().
7254 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
7255 file without named layout we set layout to defaultLayoutName().
7257 2002-03-06 Juergen Vigna <jug@sad.it>
7259 * CutAndPaste.C (copySelection): set layout for new paragraph.
7261 * text.C (prepareToPrint): leave ERT inset left aligned
7262 (leftMargin): don't indent paragraphs inside ERT insets
7264 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7266 * paragraph.C (breakParagraph): dont call clear do the work manually
7268 * paragraph.[Ch] (clear): remove function
7270 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7272 * paragraph.C (Paragraph): dont call clear, the work has already
7275 * lyxtextclass.C (operator): assert if n is empty
7277 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7278 work manually instead.
7280 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7282 * BufferView_pimpl.C: protect selectionLost against text == 0
7284 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7286 * text.C (breakParagraph): fix a setting layout to '0' problem.
7288 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7290 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
7291 final location of file, for the included files, and graphics.
7293 2002-03-05 Juergen Vigna <jug@sad.it>
7295 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
7297 2002-03-04 Juergen Vigna <jug@sad.it>
7299 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
7301 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
7302 last column of multicolumn cells.
7303 (SetWidthOfMulticolCell): recalculate NMC and real columns.
7305 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
7307 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
7308 file if it doesn't go to a temporary file.
7310 * buffer.C (sgmlOpenTag):
7311 (sgmlCloseTag): remove extra newline insertion.
7313 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7315 * text.C (getRowNearY): comment out debug msg
7317 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7319 * text2.C: first -> first_y
7321 * text.C (getRowNearY): add some attemts at a possible
7322 optimization, not working.
7324 * tabular.[Ch]: add BufferParams to several function so that newly
7325 created paragraph can be initialized to he default layotu for the
7328 * tabular-old.C (ReadOld): add buf->params to call of Init
7330 * screen.C: rename text->first to text->first_y
7332 * paragraph.C (breakParagraph): always set layout in the broken
7335 * lyxtextclass.C (Read): remove lowercase
7338 (delete_layout): ditto
7340 * lyxtext.h: rename first -> first_y
7342 * lyxlayout.C (Read): remove lowercase
7345 (obsoleted_by): ditto
7347 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
7349 * buffer.C (insertErtContents): add params are to InsetERT
7350 (parseSingleLyXformat2Token): add code to check if a paragraphs
7351 layout really exist.
7352 (parseSingleLyXformat2Token): add params to several inset
7354 (asciiParagraph): remove lowercase, do the layout comparisons with
7357 * BufferView_pimpl.C (cursorNext): first -> first_y
7358 (resizeCurrentBuffer): first -> first_y
7359 (updateScrollbar): first -> first_y
7360 (scrollCB): first -> first_y
7361 (workAreaMotionNotify): first -> first_y
7362 (workAreaButtonPress): first -> first_y
7363 (checkInsetHit): first -> first_y
7364 (cursorPrevious): first -> first_y
7365 (cursorNext): first -> first_y
7366 (Dispatch): add buffer_->params to severl inset contructors
7368 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7370 * lyxlayout.C (Read): remove some debug info that I forgot.
7372 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
7373 clean up the code slightly.
7374 (makeLinuxDocFile): ditto
7375 (makeDocBookFile): ditto
7377 * text2.C: layout as string
7379 * text.C: layout as string
7381 * paragraph_pimpl.C: layout as string
7383 * paragraph.[Ch]: layout as string
7385 * lyxtextclasslist.[Ch]: layout as string
7387 * lyxtextclass.[Ch]: layout as string
7389 * lyxtext.h: layout as string
7391 * lyxlayout.[Ch]: layout as string
7393 * lyx_cb.C: layout as string
7395 * bufferview_funcs.C: layout as string
7397 * bufferparams.C: layout as string
7399 * buffer.C: layout as string
7401 * LyXView.[Ch]: layout as string
7403 * LaTeXFeatures.[Ch]: layout as string
7405 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
7407 * BufferView_pimpl.C: change current_layout to string, remove
7412 (workAreaButtonRelease): layout as string
7414 * BufferView2.C (unlockInset): adjust
7416 * vspace.C (asLatexCommand): use an explict temp variable.
7418 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7420 * Makefile.am: use FRONTEND_*
7422 2002-03-01 Juergen Vigna <jug@sad.it>
7424 * tabular.C (SetWidthOfMulticolCell): changed to something better
7425 I hope but still work in progress.
7426 (recalculateMulticolumnsOfColumn): renamed function from
7427 recalculateMulticolCells as it is more appropriate now.
7428 (SetWidthOfCell): calculate multicols better.
7430 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7432 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
7434 * lyxfunc.C (processKeySym): print sequence also if it is
7435 `deleted' (complete)
7437 * kbsequence.C (print): print sequence even if it is deleted
7438 (complete would be a better word, actually).
7440 * lyxfunc.C (dispatch): print complete options after a prefix key
7442 * vspace.C (asLatexCommand): rewrite in a slightly different form.
7444 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
7446 * text2.C (setCharFont): eliminate setCharFont code duplication.
7448 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7450 * BufferView_pimpl.C (Dispatch): remove bogus handling of
7451 LFUN_TABULAR_FEATURE (bug #177)
7453 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
7455 * Makefile.am: remove figure.h
7457 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
7459 * Bufferview_pimpl.C:
7471 * text2.C: remove #include "lyx_gui_misc.h".
7473 * LaTeX.C: added #include <cstdio>
7475 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7477 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
7478 that the paragraph following this one can have.
7480 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
7482 * vspace.C (asLatexCommand): fix bogus gcc warning
7484 * Makefile.am (lyx_SOURCES): remove vms_defines.h
7486 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
7488 * text2.C (setLayout): get rid of redundant code
7490 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
7492 * text2.C (incDepth): make sure depth cannot be increased beyond
7495 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
7497 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
7498 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
7500 * PainterBase.h (image):
7501 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
7504 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7508 * BufferView_pimpl.C:
7509 * BufferView_pimpl.h:
7529 * sp_spell.C: remove fig inset, and the crap house of
7530 cards that follows it
7532 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7538 * nt_defines.h: move .h into support/
7540 * vms_defines.h: remove
7542 * WorkArea.C: add space in debug output
7546 * buffer.C: add WITH_WARNINGS
7550 * bufferlist.C: s/retrive/retrieve/, add docs
7561 * lyxgui.C: add ID to X error handler
7563 * lyxtestclass.c: fix typo
7565 2002-02-26 Juergen Vigna <jug@sad.it>
7567 * tabular_funcs.C (write_attribute): changed so that some default
7568 attributes are not written at all.
7569 (getTokenValue): set default values before trying to read the
7570 value so we have the return value always set as default if we don't
7571 find the token we search for.
7573 * tabular.C (Write): write bools as bools not as strings!
7575 2002-02-22 Juergen Vigna <jug@sad.it>
7577 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
7578 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
7580 * text.C (leftMargin): don't add an indent for paragraphs inside
7581 tabular cells (fix #208).
7583 2002-02-21 José Matos <jamatos@fep.up.pt>
7585 * tabular.C (docBook): fixed support for long tables.
7587 2002-02-20 Juergen Vigna <jug@sad.it>
7589 * text2.C (getFont): get the drawing font of the Inset if this
7590 paragraph is inside an inset (only important for InsetERT for now).
7592 * buffer.C (insertErtContents): use new lanugage params in ERT
7595 * CutAndPaste.C: commenting out seemingly uneeded code.
7597 2002-02-19 Allan Rae <rae@lyx.org>
7599 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
7600 Iterators might be simple to use but they also get invalidated.
7601 (removeAutoInsets): renamed saved cursor tracking variables and added
7602 some comments to clarify what everything does.
7604 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
7611 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
7612 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
7615 * vc-backend.h: remove #include "support/syscall.h"
7619 * converter.C: rearrange #includes in Lars' approved fashion.
7621 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
7622 forward declare class Timeout in the header file.
7624 * XFormsView.C: changes due to the above.
7626 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
7629 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
7630 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
7632 2002-02-18 José Matos <jamatos@fep.up.pt>
7634 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
7637 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7639 * a lot of small ws changes
7640 * add a lot of using std::XXX
7641 * use std construcs some places where approp.
7642 * use some exisint stuff from lyxfunctional where approp.
7643 * Make file changes to use partial linking (lets test this now...)
7645 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7649 remove #include "support/syscontr.h" as it's redundant. Always has been.
7657 change Systemcalls::System to Systemcalls::Wait and
7658 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
7659 No change of functionality, just reflects the stripped down Systemcalls
7662 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7664 * debug.[Ch]: add a GRAPHICS type to the enum.
7666 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7668 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
7670 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
7673 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7675 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
7676 match the changes below.
7678 * text2.C (toggleInset): if there is not editable inset at cursor
7679 position, try to see if cursor is _inside_ a collapsable inset
7682 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7684 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
7685 document menu has a nice checkbox
7687 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7689 * lyxlength.C (asLatexString): change PW to output as percent of
7692 * lengthcommon.C: change '%' to 't%'
7694 * lyxfunc.C (dispatch): a few comments from Martin
7696 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
7700 * BufferView_pimpl.h:
7701 * BufferView_pimpl.C: clear our selection when X tells us we've lost
7704 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7706 * vspace.C (inPixels): fix compiler warning
7708 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7710 * lyxfunc.C (getStatus): fix status message for disabled commands.
7712 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
7714 * BufferView_pimpl.C: fix crash on close buffer
7715 during selection (#227)
7717 2002-01-27 Herbert Voss <voss@lyx.org>
7719 * buffer.C: link old Figure to new graphic inset
7721 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
7723 * FontLoader.C (getFontinfo): Change the latex font names in order
7724 to match the names of type1inst.
7726 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7728 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
7730 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
7733 (remove_files_with_extension): ditto
7734 (remove_file): ditto
7737 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
7738 document is smaller than the work area height. Do not initialize
7739 static variables to 0.
7741 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7743 * lyx_gui.C (init): give the toolbar tooltips a normal font.
7745 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
7746 LFUN_LAYOUT_PARAGRAPHS.
7748 * tabular.C (GetCellFromInset): new method. Finds an inset in a
7749 tabular. It is possible to provide a possible cell, which will
7750 typically be the actcell from the corresponding insettabular
7752 * lyxfunc.C (getStatus): small cleanup; disable
7753 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
7756 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7758 * tabular.C (Validate): remove broken optimization (fixes bug #201)
7760 * paragraph.C (startTeXParParams):
7761 (endTeXParParams): new methods. The LaTeX code to
7762 start/end paragraph formatting
7763 (simpleTeXOnePar): call startTeXParParams also when paragraph is
7764 empty (fixes bug #200)
7766 * vspace.C (inPixels): adapt to the change below
7767 (inPixels): [later] more cleanups (remove unused variables)
7769 * lyxlength.C (inPixels): change to use a width and a height as
7772 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7774 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
7775 Replaced with \paperwidth
7777 * DepTable.C (insert): add std:: qualifier
7779 2002-01-18 Allan Rae <rae@lyx.org>
7781 * text2.C (removeRow): add comment. Should other refresh_?? vars be
7784 * text.C (drawInset): Turned out I didn't know enough about how
7785 rebreaking worked. This fixes most of the redraw problems. I see
7786 an occasional cursor trail when a line is broken now and the cursor
7787 placement can seem out by a few pixels also after a rebreak.
7789 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7791 * buffer.C (parseSingleLyXformat2Token): update because minipage
7792 width is now a LyXLength
7794 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
7796 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
7799 2002-01-17 Juergen Vigna <jug@sad.it>
7801 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
7803 * BufferView2.C (lockInset): call edit() so that theLockingInset()
7804 is set correctly and the inset is updated correctly.
7806 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7808 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
7809 the beginning of the loop.
7811 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
7813 * lyxrc.C: improve help for use_scalable_fonts
7815 2002-01-17 Allan Rae <rae@lyx.org>
7817 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
7819 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7821 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
7822 make sure to set their inset_owner to the right value (bug #171)
7824 2001-12-12 Ben Stanley <bds02@uow.edu.au>
7827 * DepTable.C: Implement mtime checking to reduce time spent doing
7830 2002-01-16 Juergen Vigna <jug@sad.it>
7832 * tabular.C (GetAdditionalHeight): one of error fixed.
7834 * lyxrc.C (output): small fix in writing use_pspell.
7836 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
7838 * sp_base.h: #include LString.h
7840 2002-01-16 Allan Rae <rae@lyx.org>
7842 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
7843 Can someone check this please?
7845 * text.C (drawInset): It was possible that p.row would be removed by
7846 breakAgainOneRow upsetting a few other settings. There may be another
7847 small tweak possible by setting need_break_row = 0 when p.row has been
7848 removed but I don't know enough about the logic here.
7850 2002-01-15 Allan Rae <rae@lyx.org>
7852 * text.C (insertChar): removed conditional truism.
7854 * BufferView2.C (removeAutoInsets): More tweaks.
7855 cur_par_prev could be a stray pointer. Check for trailing empty line
7856 in case last line was cur_par and only had an error inset on it.
7858 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7860 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
7863 * vc-backend.C (most methods):
7864 * exporter.C (Export):
7865 * converter.C (convert):
7867 * LyXSendto.C (SendtoApplyCB):
7868 * lyxfunc.C (dispatch):
7872 * lyx_cb.C (AutoSave):
7874 * BufferView_pimpl.C (MenuInsertLyXFile):
7875 * buffer.C (runChktex): use Buffer::filePath().
7877 * buffer.h: rename filename to filename_; rename filepath to
7878 filepath_ and make it private
7879 (filePath): new method
7881 * buffer.C (writeFile): use fileName()
7884 * lyx_main.C (init): fix starting of LyX when the binary is a
7885 link from so,ewhere else.
7887 * minibuffer.C: include <cctype> for isprint
7889 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7891 * buffer.C (parseSingleLyXformat2Token): changes associated with the
7892 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
7893 name clash with InsetCollapsable's width function.
7895 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7897 * lastfiles.C: include <iterator>
7899 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7901 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7904 * buffer.C (makeLaTeXFile): ditto.
7905 Also make loop operation more transparent.
7907 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7909 * ToolbarDefaults.C: remove trailing comma closing namespace.
7911 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7913 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7916 * trans.C (Load): comment out unused variable, allowed.
7918 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7920 * minibuffer.[Ch] (append_char): new method to recieve input from the
7921 drop-down completion browser. If a key was pressed, then recieve this
7922 char and append it to the existing string.
7923 (peek_event): modify the positioning data passed to the completion
7924 browser so that it can be placed above the minibuffer rather than below.
7925 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7927 * LyXAction.C (init): alloe error-next for readonly documents.
7929 * BufferView2.C (ChangeRefsIfUnique): use standard version of
7932 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7934 * bufferlist.C (readFile): create the buffer _after_ checking that
7937 * lyxfunc.C (verboseDispatch): fix handling of arguments
7939 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7941 * lyxrc.C: use string::erase() instead of initializing to "".
7944 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7946 * BufferView_pimpl.h:
7947 * BufferView_pimpl.C:
7950 * text2.C: tell X when we have made a selection for copying
7952 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7954 * BufferView_pimpl.C (MenuInsertLyXFile):
7955 * lyxfunc.C (menuNew):
7957 (doImport): add shortcuts to directory buttons
7959 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7962 * lyxfunc.C (setStatusMessage):
7963 (getStatusMessage): new methods
7964 (getStatus):use setStatusMessage instead of setErrorMessage
7965 (dispatch): when function is disabled, set error message here
7966 [instead of in getStatus previously]
7968 * BufferView_pimpl.C (workAreaButtonRelease): update
7969 toolbar/menubar here too.
7971 2002-01-13 Allan Rae <rae@lyx.org>
7973 * BufferView2.C (removeAutoInsets): finished off earlier fix.
7974 Now seems indestructible. Remaining task is to audit all other
7975 code affected by deleteEmptyParagraphMechanism. One small quirk
7976 left is that an empty document with an error in the preamble can
7977 be made to report an error but no error box appears. I don't know
7979 (removeAutoInsets): Improved comments.
7981 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
7984 * Thesaurus.C: update for Aiksaurus 0.14
7986 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7988 * text2.C (firstParagraph): removed member function, all uses
7989 replaces with ownerParagraph
7990 (redoParagraphs): here
7992 (toggleAppendix): here
7993 * BufferView2.C (insertErrors): here
7994 (setCursorFromRow): here
7996 2002-01-13 Allan Rae <rae@lyx.org>
7998 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7999 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8000 There is still a way to segfault this although you may have to do this
8001 multiple times: Have an InsetERT with an unknown command in it.
8002 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8003 <down-arrow>, <Enter> again, View->DVI, BANG!
8005 * text2.C (setCursor):
8006 (deleteEmptyParagraphMechanism):
8007 * lyxtext.h (setCursor):
8008 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8009 Making use of the return value may help fix other bugs.
8011 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8013 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8015 * LyXView.C (updateMenubar): call MenuBar::update here
8016 (updateToolbar): but not here
8017 (showState): do not update toolbar/menubar
8019 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8020 should need to care about that.
8022 * lyxfunc.C (verboseDispatch): simplify a bit
8023 (getStatus): have a version which takes a pseudoaction, and
8024 another which requires a (kb_action,string).
8026 * LyXAction.C (retrieveActionArg): make it work also when action
8027 is not a pseudo-action.
8028 (getActionName): simplify a bit
8031 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8033 * lyxfunc.C (verboseDispatch): new families of methods with
8034 several ways to specify a command and a bool to indicate whether
8035 the command name and shortcut should be displayed in minibuffer
8036 (eventually, we could extend that to a finer bitmask like
8037 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8038 (dispatch): the pristine dispatch command which just, well,
8039 dispatchs! Note it still sets its result to minibuffer; I'm not
8042 * lyxfunc.h: remove setHintMessage
8044 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8046 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8048 * BufferView_pimpl.C (specialChar): delete new inset if we have
8049 not been able to insert it.
8051 * kbmap.C: revert to using int instead of kb_action, since all we
8052 are dealing with is pseudo-actions.
8054 * LyXAction.C (searchActionArg): change to return int instead of
8055 kb_action, since the result is a pseudoaction.
8057 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
8059 * buffer.C (insertErtContents): Fix (partially) the font bug.
8061 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8063 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8064 as the other one is broken on my machine!
8066 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
8069 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8071 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
8073 * lyxrc.[Ch]: change names and descriptions of popup font variables to
8074 reflect their actual use. Provide compatibility code for older lyxrc
8077 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8079 change names of popup font variables in line with the changes to lyxrc.C
8081 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8083 * buffer.C (asciiParagraph): avoid outputing a word twice after
8086 * lyxrc.C (getDescription): document that document_path and
8087 template_path can be empty.
8089 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8091 * LaTeXFeatures.C (getMacros):
8092 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8094 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8096 * LaTeXFeatures.C (useFloat): require "float" here instead of in
8098 (getPackages): rename feature "floats" to "float". Use an array to
8099 iterate over 'simple' features (i.e. just a \usepackage). Add
8100 handling of "amsmath" (renamed from "amsstyle").
8102 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
8104 * LaTeXFeatures.C (require): Prevent duplicate entries in the
8107 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
8109 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8110 FuncStaus::FuncStatus & FuncStaus::some_method().
8112 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
8114 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8115 of the func_satus stuff. Edited and massaged in various ways by
8118 * lyxfunc.C (getStatus): use FuncStatus
8120 2002-01-08 Juergen Vigna <jug@sad.it>
8122 * text.C (nextBreakPoint): use function Inset::isChar().
8124 * paragraph.C (TeXOnePar): use function
8125 Inset::forceDefaultParagraphs.
8127 * buffer.C (latexParagraphs): use function
8128 Inset::forceDefaultParagraphs.
8130 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8132 * lyx_gui.C (init): set the style of the menu popups to
8133 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8135 2002-01-07 Juergen Vigna <jug@sad.it>
8137 * text.C (setHeightOfRow): small fix
8138 (prepareToPrint): don't look at alignment if we don't have the place
8141 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8143 * box.C: New file. Move the Box methods and functions out of box.h,
8144 following Lars' suggestion.
8146 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8148 * box.h: #include "support/LOstream.h", needed for inlined function.
8151 * lyxtextclasslist.C: added some using std declarations.
8153 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
8155 * box.h: make signed dimensions to allow insets wider than
8156 the screen (bug #162)
8158 * BufferView_pimpl.C: add some insetHit debug
8160 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
8162 * vc-backend.C: add FIXME
8164 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8166 * lyxfunc.C (getStatus): enable code for showing math font status
8169 2002-01-07 Juergen Vigna <jug@sad.it>
8171 * text.C (nextBreakPoint): removed debug output not needed anymore.
8173 2002-01-06 Juergen Vigna <jug@sad.it>
8175 * text.C (nextBreakPoint): fixed up this function we had this bug
8176 since ever but now hopefully we break row better.
8177 (insertChar): we have to check if an inset is the next char as it
8178 could now happen that a large inset is causing a break.
8180 2002-01-05 Juergen Vigna <jug@sad.it>
8182 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8183 if it doesn't like to be drawed.
8185 2002-01-04 Juergen Vigna <jug@sad.it>
8187 * BufferView2.C (lockInset): forgot to set a cursor.
8189 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8191 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
8196 * form_maths_panel.C:
8197 * form_maths_panel.h:
8198 * form_maths_panel.fd: implemented sub- and super- buttons in math
8201 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8202 (or ^ space) to be used as in TeX (req'd by André).
8204 * lyxfunc.C: Allow ^ and _ again to be used both as
8205 super/subscript (mathed) and as themselves (in text).
8207 2002-01-03 Allan Rae <rae@lyx.org>
8209 * LyXView.C (updateWindowTitle): Setup a short icon title of either
8210 "LyX" or the filename of the current buffer if it has one. This is a
8211 modified form of John Levon's patch.
8213 * XFormsView.C (setWindowTitle): also set icon title.
8215 * LyXView.h (setWindowTitle): signature changed.
8216 * XFormsView.h (setWindowTitle): ditto.
8218 2002-01-02 Juergen Vigna <jug@sad.it>
8220 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8222 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8224 * screen.C (topCursorVisible): introduce a temp var for
8225 text->cursor.row(), handle the case where this row is null. (kindo
8228 * text2.C (setCursor): add a couple of asserts.
8230 * paragraph.h (inset_iterator): add -> operator
8232 * paragraph.[Ch] (autoDeleteInsets): remove member function
8234 * BufferView2.C (removeAutoInsets): rewrite to handle the old
8235 cursor pos correctly and handle inset deletion by itself.
8236 (insertErrors): move iterator declaration out of for expression
8238 * lyxtextclass.C: add <algorithm>
8240 * Makefile.am: added the new files to sources, removed layout.C
8242 * layout.C: removed file
8244 * layout.h: remove LYX_DUMMY_LAYOUT
8246 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8250 * lyxtextclass.[Ch]:
8251 * lyxtextclasslist.[Ch]: new files
8253 * include order changes to a lot of files, also changes because of
8256 2001-12-27 Juergen Vigna <jug@sad.it>
8258 * buffer.C (asciiParagraph): more fixes.
8260 * tabular.C (ascii): make ascii export support export of only the
8261 data separated by a column-delimiter.
8262 (ascii): better support for ascii export.
8264 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8266 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8268 * tabular_funcs.C: use a "using std::getline" instead of the
8269 previous fix from Angus (necessary for cxx + lyxstring)
8271 2001-12-24 Juergen Vigna <jug@sad.it>
8273 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8275 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8276 problems. First check a minipage also if we have some ert-contents
8277 (not only on par->size(), second set the right depth of the paragraph
8278 on the relink to the root-paragraph-list!
8280 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8281 which then did not anymore update the main paragraphs on undo/redo!
8283 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8285 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
8286 code. Support all font-changing funcs (even those which are not in
8287 menu currently). Support for reporting font settings in
8288 mathed (disabled until Andre provides a function on mathed's side).
8290 * func_status.h (toggle): small helper function to set toggle
8293 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
8295 * tabular_funcs.C: getline -> std::getline
8297 2001-12-21 Juergen Vigna <jug@sad.it>
8299 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
8300 accessed and could be 0 (I couldn't generate this but it seems
8303 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8305 * tabular_funcs.C: add LIstream.h, move write_attribute to..
8306 * tabular_funcs.h: here and include iosfwd
8308 2001-12-20 Juergen Vigna <jug@sad.it>
8310 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
8311 inside inset but undo_par was.
8313 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8315 * Thesaurus.C: always include <config.h> in sources.
8319 * box.h: do not include <config.h> in header files
8321 * text.C (paintLastRow): remove unused variable
8323 * text.C (transformChar):
8325 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
8328 * font.C (width): rewrite to use uppercase() instead of
8331 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
8333 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
8335 * lyxfind.C: clean up of find failure position change
8337 2001-12-20 Juergen Vigna <jug@sad.it>
8339 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
8341 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
8342 (TeXRow): added to LaTeX a single tabular row.
8343 (TeXLongtableHeaderFooter): added to output LT-h/f data.
8344 (Latex): simplified and finally good LT-h/f support.
8345 (various_functions): just small adaptions for LT-h/f support.
8347 * tabular_funcs.[hC]: added and moved here all not classfunctions
8350 2001-12-19 Juergen Vigna <jug@sad.it>
8352 * tabular.[Ch]: better support for longtabular options (not finished
8355 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8357 * text.C (paintLastRow): use the label font instead of the font of
8358 the last character to compute the size of *_BOX. This makes more
8359 sense and avoids a crash with empty paragraphs.
8360 Use Painter::rectangle to draw EMPTY_BOX.
8362 2001-12-19 Juergen Vigna <jug@sad.it>
8364 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
8365 the paragraphs if the replaced paragraph is not the first one!
8366 Tried to delete not used paragraphs but does not work yet so for
8367 now it's inside #ifdef's and by default off!
8369 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8371 * MenuBackend.C: include "lyx_main.h" instead of declaring
8372 lastfiles (actually was declared as LastFiles* instead of a
8375 2001-12-17 Juergen Vigna <jug@sad.it>
8377 * tabular.C (AppendColumn): applied John's fix
8379 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
8383 * BufferView_pimpl.h:
8384 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
8387 * box.h: new start of class for above
8389 * lyxfunc.C: ignore space-only minibuffer dispatches.
8390 Show the command name when it doesn't exist
8392 * minibuffer.C: don't add empty lines to the history
8394 * minibuffer.C: add a space on dropdown completion
8396 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
8398 * text.C: fix line above/below drawing in insets
8400 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8402 * lyxlength.C (LyXLength): Initialize private variables.
8404 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
8406 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
8407 when inserting error insets.
8409 2001-12-13 Juergen Vigna <jug@sad.it>
8411 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
8412 actually sometimes the before-paragraph.
8413 (setUndo): don't clear the redostack if we're not actually undoing!
8415 2001-12-06 Juergen Vigna <jug@sad.it>
8417 * undo_funcs.C (textHandleUndo): well after John's hint I got here
8418 and fixed redoing of main paragraph, so we can use it now ;)
8420 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
8422 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8424 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
8427 2001-12-13 André Pönitz <poenitz@gmx.net>
8430 * undo_func.C: minor cleanup
8432 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8434 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
8435 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
8436 font in urw-fonts package which is marked as -urw-fontspecific and
8437 does not work (incidentally, changing the encoding in the
8438 fonts.dir of this package to -adobe-fontspecific fixes the
8441 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
8442 is a crash when undoing first paragraph (Juergen, please take a
8443 look). THis does not mean the undo fix is wrong, just that it
8446 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
8447 the (Paragraph*) version when needed instead of duplicating the
8450 * text.C (workWidth): use Inset::parOwner to find out where the
8451 inset has been inserted. This is a huge performance gain for large
8452 documents with lots of insets. If Inset::parOwner is not set, fall
8453 back on the brute force method
8455 * paragraph_pimpl.C (insertInset):
8456 * paragraph.C (Paragraph):
8457 (cutIntoMinibuffer): set parOwner of insets when
8458 inserting/removing them
8460 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8462 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
8468 * mathed/formulabase.C:
8469 * mathed/math_cursor.[Ch]:
8470 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
8473 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8475 * lyxlength.[Ch] (operator!=): new function
8477 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8479 * text.C (workWidth): use Inset::parOwner to find out where the
8480 inset has been inserted. This is a huge performance gain for large
8481 documents with lots of insets. If Inset::parOwner is not set, fall
8482 back on the brute force method
8484 * paragraph_pimpl.C (insertInset):
8485 * paragraph.C (Paragraph):
8486 (cutIntoMinibuffer): set parOwner of insets when
8487 inserting/removing them
8489 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8491 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8493 * tabular-old.C (getTokenValue):
8494 * tabular.C (getTokenValue):
8495 (write_attribute): new versions for LyXLength
8496 (everywhere): adjust the use of widths
8498 * tabular.h: change the type of widths from string to LyXLength
8500 2001-12-11 Ben Stanley <bds02@uow.edu.au>
8502 * paragraph.C: fixed missing line number count when exporting
8503 Environments to LaTeX file
8505 * buffer.C: added informational message for checking line numbers.
8507 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8509 * text2.C (deleteEmptyParagraphMechanism): if there is only one
8510 paragraph, do the 'double space' part, but not the 'empty
8513 * text.C (workWidth): small optimization
8514 (getLengthMarkerHeight): use minimal size for negative lengths.
8516 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
8518 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
8520 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
8522 2001-12-11 André Pönitz <poenitz@gmx.net>
8525 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
8527 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8529 * text2.C: keep selection on a setFont()
8531 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8533 * lyx_cb.C: another bv->text misuse, from insert label
8535 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8538 * kbsequence.C: re-instate nmodifier mask
8540 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
8542 * lyx_main.h: make lyxGUI private.
8544 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8546 * lyxfind.C: place the cursor correctly on failed search
8548 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8550 * text.C (getLengthMarkerHeight): for small heights, the arrows
8551 are not always on top/bottom of the text
8552 (drawLengthMarker): smaller arrows; take the left margin in
8553 account; draw also vfills.
8555 (paintLastRow): remove special code for vfill and standard spaces,
8556 since everything is handled in drawLengthMarker now.
8558 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8560 * buffer.C (insertErtContents): try to handle font and language
8561 interaction a bit better.g
8563 * ColorHandler.C (updateColor): change the hash to cover the whole
8564 LColor enum, ws cleanup
8565 (getGCLinepars): ditto
8566 (getGCLinepars): only lookup in the linecache once.
8568 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
8570 * iterators.C (operator++): Make the iterator more robust
8572 * BufferView2.C (removeAutoInsets): Use paragraph iterators
8574 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
8576 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8579 * text.C: better added space drawing
8581 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8584 * BufferView2.C: fix layout combo update on inset unlock
8586 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8588 * Makefile.am: don't compile unused files
8590 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8594 * LyXAction.C: remove old LFUN_LAYOUTNO
8596 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8598 * paragraph_pimpl.h:
8599 * paragraph_pimpl.C: isTextAt() doesn't need font param
8601 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8604 * lyxlex.C: little cleanup
8606 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8608 * BufferView_pimpl.C: fix insertAscii for insets
8610 2001-12-05 Juergen Vigna <jug@sad.it>
8612 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
8613 set the right font on the "multi" paragraph paste!
8615 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8621 * lyxlength.C: remove out-commented code.
8637 * vc-backend.C: change "while(" to "while ("
8639 * lyxlength.[Ch]: add zero function to check if length is zero or
8641 * lyxgluelength.C: use it
8643 2001-12-05 Allan Rae <rae@lyx.org>
8645 * lyxlength.C: Attempted a fix for the abs(int) header selection.
8646 Works for 2.95.3, from what I understand of Garst's reports this should
8647 work for other g++ versions. We're screwed if the abs(int) definition
8648 changed between bugfix releases of gcc.
8650 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8652 * text.C: fix chapter label offset !
8654 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8657 * text.C: fix hfill at end of line, clean up
8659 2001-12-04 Juergen Vigna <jug@sad.it>
8661 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
8662 that we force an update of the inset and it's owners if neccessary.
8664 2001-12-03 Juergen Vigna <jug@sad.it>
8666 * text.C (rowLast): simplified code
8668 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8670 * lyxfunc.C: fix show options on timeout
8672 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8674 * screen.C (topCursorVisible): scroll half a page when the cursor
8675 reached top of bottom of screen
8677 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
8679 * minibuffer.C: deactivate on loss of focus
8681 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8683 * vspace.[Ch] (operator!=): add operator.
8685 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
8687 * BufferView_pimpl.C: refuse to open an inset when
8688 there's a selection.
8690 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
8692 * BufferView_pimpl.C: allow to click on RHS of full row insets
8694 2001-11-30 Juergen Vigna <jug@sad.it>
8696 * tabular.C (LyXTabular): add a same_id to set the same id's in the
8697 insets for undo reasons.
8699 2001-11-28 André Pönitz <poenitz@gmx.net>
8701 * vspace.[Ch]: cosmetical changes
8703 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8713 * kbsequence.C: part re-write of old kb code
8716 * WorkArea.C: remove Lgb_bug_find_hack
8718 2001-11-30 José Matos <jamatos@fep.up.pt>
8720 * buffer.C (makeDocBookFile): add a comment to point a hack.
8721 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
8722 Fixed a double write of labels.
8724 2001-11-29 Ben Stanley <bds02@uow.edu.au>
8727 * LaTeX.h Fixed bug in LaTeX class where it would not
8728 re-run latex if no depfiles were changed, but the .dvi was removed.
8730 2001-11-28 André Pönitz <poenitz@gmx.net>
8732 * all the files from the change on 2001/11/26:
8733 use lyx::layout_type instead of LyXTextClass::size_type
8734 use lyx::textclass_type instead of LyXTextClassList::size_type
8736 2001-11-29 Juergen Vigna <jug@sad.it>
8738 * text.C: added support for paragraph::isFreeSpacing()
8740 * buffer.C: same as above
8742 * paragraph.h: inserted isFreeSpacing() function to enable
8743 FreeSpacing inside InsetERT.
8745 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
8746 of the paragraph's in the cut/copy buffer to 0!
8748 * text2.C (removeRow): remove the assert as it can!
8750 * lyxtext.h: added helper function firstRow returning firstrow and
8751 made firstrow private again.
8753 * BufferView2.C (lockInset): don't relock if we're already locked!
8755 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
8757 (removeRow): added Assert::(firstrow)
8759 * debug.C: forgot to add INSETTEXT here.
8761 2001-11-28 Juergen Vigna <jug@sad.it>
8763 * sp_spell.C (initialize): changed error text to more general
8764 spellchecker command use (not only ispell!)
8766 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
8768 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
8770 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8772 * vspace.C: initialise lyxgluelength on failure
8774 2001-11-28 Allan Rae <rae@lyx.org>
8776 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
8777 declaration & definition that looks like a function declaration.
8779 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8781 * BufferView2.C (copy):
8782 (copyEnvironment): do not clear the selection when doing a copy.
8784 * text.C (paintFirstRow): compilation fix
8786 2001-11-27 Ben Stanley <bds02@uow.edu.au>
8788 * tabular.C (Latex): correct line count when writing latex.
8790 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
8792 * paragraph_pimpl.h:
8793 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
8796 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8800 * LColor.C: change vfillline->added_space
8802 * text.C: add markers and text for added space
8804 * vspace.C: fix comment
8806 2001-11-28 André Pönitz <poenitz@gmx.net>
8808 * paragraph.C: whitespace changes
8809 * all the other files from the change on 2001/11/26:
8810 change *::pos_type into lyx::pos_type
8812 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
8814 * buffer.C (parseSingleLyXformat2Token): Set the language to the
8815 language of the document when inserting error insets.
8817 2001-11-26 André Pönitz <poenitz@gmx.net>
8819 * BufferView_pimpl.[Ch]:
8827 * paragraph_pimpl.[Ch]:
8830 * text2.C: reduce header dependencies, introduce type for positions
8832 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8834 * <various>: change to use Alert.h
8836 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
8838 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
8839 when encountering an unknown token.
8840 (readLyXformat2): Show an error message if there were unknown tokens.
8842 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
8845 * BufferView_pimpl.C:
8849 * text2.C: use par->isInset()
8851 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8853 * paragraph_pimpl.h:
8854 * paragraph_pimpl.C: cleanup
8856 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8858 * text2.C (removeRow):
8859 * text.C (setHeightOfRow): remove useless (and costly) call to
8862 2001-11-20 Allan Rae <rae@lyx.org>
8864 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
8865 Now need Inset*::checkInsertChar() to return true for appropriate
8866 cases so that the characters in the minibuffer will actually be
8869 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8871 * text.C: change the order of the includes.
8872 (workWidth): initialize it at once.
8873 (workWidth): make maxw unsigned
8874 (setHeightOfRow): remove unused variable (inset)
8875 (selectSelectedWord): remove unused variable (inset)
8876 (paintRowText): fix drawing of hfill characters, and clean up a bit.
8878 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8880 * lyxserver.C (emergencyCleanup): do not try to close pipes if
8881 server is not running.
8883 (closeConnection): add debug info when server is disabled.
8885 * ColorHandler.C (getGCForeground): send debug message to GUI
8888 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
8890 * kbmap.C (bind): modify because return conventions of
8891 kb_sequence::parse have changed.
8893 * kbsequence.C (parse): only ignore spaces and not any stupid
8894 control character. This avoids tests like s[i] <= ' ', which are
8895 guaranteed to fail with 8bit characters and signed chars.
8896 Change return code to string::npos when there have been no error
8897 (0 was a bad idea when error is at first character)
8899 2001-11-14 José Matos <jamatos@fep.up.pt>
8902 * buffer.C (simpleDocBookOnePar): removed unused argument.
8904 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8906 * text.C (selectNextWordToSpellcheck): do not test explicitely for
8907 insets which are part of a word. Paragraph::isLetter takes care of
8908 that now. Use Paragraph::isInset to identify insets.
8909 (selectSelectedWord): do not test for hyphenation break.
8911 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8912 that protected spaces are considered as spaces.
8914 * paragraph.C (isLetter): cleanup the code for ispell extras; use
8917 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
8920 * lyxserver.C: fix it. and small cleanup.
8922 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8924 * BufferView_pimpl.C: use inline helpers
8927 * LaTeXFeatures.C: fix typos
8930 * Spacing.C: move spacing_string into class
8932 * ToolbarDefaults.C: move stuff into namespace anon
8934 * layout.h: update enum
8936 * lyxfunc.C: use better debug
8938 * minibuffer.h: fix typo
8942 * WorkArea.C: add and use Debug::WORKAREA
8946 * text2.C: code re-organisation, inline helpers
8948 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
8950 * Layout.C: replaced a few cases of std::vector.size() == 0 with
8951 std::vector.empty().
8953 2001-11-09 Allan Rae <rae@lyx.org>
8955 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8956 '\n's after tables. Tabular and ERT inset work now makes this no
8959 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8962 * minibuffer.C: fix crash, improve drop-down completion
8964 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
8967 * lyxserver.C: invalidate fd's when doing endPipe()
8969 2001-11-08 José Matos <jamatos@fep.up.pt>
8971 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8972 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8975 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8977 2001-11-07 José Matos <jamatos@fep.up.pt>
8980 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8983 * buffer.C (sgmlOpenTag):
8984 * buffer.C (sgmlCloseTag): removed debug info.
8986 * buffer.h (sgmlOpenTag):
8987 * buffer.h (sgmlCloseTag): made public.
8989 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8991 * buffer.C (saveParamsAsDefaults):
8992 * lyx_cb.C (MenuLayoutSave): remove
8994 * LyXAction.C (init):
8996 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8998 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9000 * buffer.C (setPaperStuff): removed from here...
9002 * bufferparams.C (setPaperStuff): ... and moved there.
9004 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
9008 * XFormsView.C: add support for drop-down completion
9010 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
9012 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9015 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9017 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9020 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
9022 * lyx_main.C: change ref to known bugs
9024 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
9026 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9027 to work around older babel problems.
9029 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9031 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9033 2001-10-24 Juergen Vigna <jug@sad.it>
9035 * tabular-old.C (ReadOld): below variable changes reflected.
9037 * tabular.[Ch]: added ltType struct for longtable header/footer
9038 defines and changed all instances where they are used. Added
9039 future support for double top/bottom rows.
9041 2001-10-24 José Matos <jamatos@fep.up.pt>
9043 * buffer.h (docbookHandleCaption):
9044 * buffer.C (docbookHandleCaption): removed unused function.
9045 (makeDocBookFile): moved docbook supported version to v4.1.
9047 2001-10-24 José Matos <jamatos@fep.up.pt>
9050 * tabular.C (docbookRow): new function to export docbook code of a row.
9051 (DocBook): now honors the longtable flags.
9053 2001-10-23 José Matos <jamatos@fep.up.pt>
9056 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9057 of the lyx defined sgml entities used in a docbook/linuxdoc document.
9059 * buffer.C (makeLinuxDocFile):
9060 (makeDocBookFile): reworked the preamble, more clean, and with
9061 support for lyx defined entities. Changed the document declaration
9062 to be more XML friendly.
9064 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9065 if we need to output XML that should be done with a filter.
9067 2001-10-22 Juergen Vigna <jug@sad.it>
9069 * sp_pspell.h (class PSpell): add alive function needed in the
9070 controller to see if the spellchecker could be started.
9072 2001-10-22 Juergen Vigna <jug@sad.it>
9074 * buffer.C (insertStringAsLines): modify the font for inserting
9075 chars in certain conditions by calling checkInsertChar(font).
9077 2001-10-19 Juergen Vigna <jug@sad.it>
9079 * text.C (workWidth): use getRow instead of wrong algorithm.
9080 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9082 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
9087 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9089 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9091 * text.C (workWidth): do not search for the exact row when
9092 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9093 optimization for big documents.
9095 2001-10-18 Juergen Vigna <jug@sad.it>
9097 * text.C (workWidth): new function with added Inset * parameter.
9099 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9101 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9103 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9104 change return type of getColumnNearX.
9107 * text.C (changeRegionCase): use uppercase/lowercase instead of
9110 (rightMargin): simplify code by factoring out the uses of
9115 (appendParagraph): use Paragraph::size_type
9117 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9119 * vspace.C (asLatexString): add a missing break
9121 2001-10-15 Herbert Voss <voss@perce.de>
9123 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9125 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9127 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9130 2001-10-10 André Pönitz <poenitz@gmx.net>
9132 * lyxfunc.C: removed greek_kb_flag.
9134 2001-10-10 Herbert Voss <voss@perce.de>
9136 * lyx_main.C: delete global string help_lyxdir.
9138 2001-10-09 Herbert Voss <voss@perce.de>
9140 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9142 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9144 * lyx_main.C: added global string help_lyxdir.
9146 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9148 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
9150 * lyxrc.C (set_font_norm_type): support iso8859-4
9152 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
9154 * LaTeX.C (deplog): add another regex for MikTeX
9156 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
9158 * lyxrc.C (set_font_norm_type): support iso8859-3
9160 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9162 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9164 * LaTeXFeatures.C: remove special case of french and index
9166 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9167 before \begin{document}). This solves several incompatibilities.
9169 2001-10-03 Garst Reese <reese@isn.net>
9171 * lyx_cb.C: change CheckTex error msg.
9173 2001-10-03 José Matos <jamatos@fep.up.pt>
9175 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9177 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9179 * .cvsignore: update
9181 * lyx_main.C (commandLineVersionInfo): use new style version info.
9183 * buffer.C (writeFile):
9186 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9188 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9190 * version.h: update to use stuff in version.C
9192 * version.C.in: new file. Contains version information determined
9193 at compile time. This is a merging of version.h and
9196 2001-10-03 Juergen Vigna <jug@sad.it>
9198 * BufferView_pimpl.C (update): don't change "dirty" status in
9201 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
9203 * WorkArea.C (c-tor): re-position version string slightly.
9205 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
9207 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9208 revert to previous code.
9210 WorkArea.[Ch]: (show, destroySplash): methods removed.
9212 WorkArea.C: rework code so that it's an amalgam of the codes before and
9213 after the splash screen was moved to WorkArea.
9215 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9218 * vspace.C (inPixels):
9221 * buffer.C (insertStringAsLines):
9222 (asciiParagraph): fix types to be large enough
9224 * lyxlex_pimpl.h: change member status from short to int
9226 * layout.h: fix type of endlabeltype
9229 * kbsequence.C (parse): change return type to string::size_type
9231 * LaTeX.C (updateBibtexDependencies): comment out unneeded
9234 * Bullet.C (bulletSize):
9235 (bulletEntry): do not use short ints as parameters
9237 * BufferView2.C (insertLyXFile): change a char to an int.
9239 * WorkArea.C (WorkArea): remove unneeded floats in computation
9241 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
9243 * buffer.C (asciiParagraph): Treat '\\' as other chars.
9245 * paragraph.C (asString): Do not ignore newline/hfill chars when
9246 copying to the clipboard.
9248 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
9250 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9251 after a multi-line inset.
9253 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
9255 * paragraph.C (validate): Set NeedLyXFootnoteCode
9257 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9259 * lyxfont.C (LyXSizeNames): changed increase-error to increase
9260 and decrease-error to decrease.
9262 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9264 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9265 it more readable (should be equivalent)
9267 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
9269 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9271 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9273 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9274 of a cursor (row, etc.) after a character has been deleted
9275 (deleteEmptyParagraphMechanism): call the method above on _all_
9276 cursors held by the LyXText when a double space has been
9279 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9281 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9283 (resizeCurrentBuff): remove code to destroy the old splash dialog.
9285 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
9286 background. Use greyOut() and the new show() methods to toggle between
9287 the foreground and background. Add code to remove the splash after
9288 its initial showing.
9290 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
9291 (create_forms): no longer call Dialogs::showSplash.
9293 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9295 * .cvsignore: add version_info.h
9297 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9299 * version_info.h.in: new file
9301 * Makefile.am: add version_info.h.in
9303 * lyx_main.C (commandLineVersionInfo): use version_info defined in
9304 version_info.h instead of VERSION_INFO
9306 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
9308 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
9309 The ERT inset now returns string().
9311 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
9313 * lyxtext.h, text.C (selectNextWord): renamed as
9314 selectNextWordToSpellcheck.
9316 * text.C (selectNextWordToSpellcheck): Modified to not select
9317 words inside an ERT inset.
9319 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9321 * lyx_cb.C (MenuLayoutSave): change a bit the question
9323 * sp_base.h: include <sys/types.h>
9325 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
9327 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
9329 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
9331 * several files: fix typos in user-visible strings
9333 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9335 * text2.C (pasteSelection): do not set the selection, since it
9336 will be cleared later. Actually, the intent was to fix the way the
9337 selection was set, but I figured rmoving the code was just as good.
9339 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
9341 * FontLoader.C (available): Check if font is available without
9344 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
9346 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
9348 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
9350 * lyxrc.[Ch]: added display_graphics variable and associated code.
9352 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9354 * bufferparams.C (hasClassDefaults): new method. Returns true if
9355 the buffer parameters correspond to known class defaults
9357 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
9359 * XFormsView.C (show): set minimum size to the main window.
9361 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9363 * text2.C (copySelection):
9365 * lyxfind.C (LyXReplace):
9366 * BufferView_pimpl.C (Dispatch): pass the correct flag to
9367 LyXText::selectionAsString.
9369 * paragraph.C (asString): add "label" argument to the second form
9371 * text2.C (selectionAsString): add "label" argument and pass it to
9372 Paragraph::asString.
9374 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9376 * lyx_main.C (commandLineHelp): remove version information
9378 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
9380 * lyx_main.C: add -version commandline option
9382 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9384 * paragraph.h: make the optional constructor arg required instead.
9385 some modifications to other files because of this.
9387 * minibuffer.C (C_MiniBuffer_peek_event): make it static
9389 * lyxserver.C (C_LyXComm_callback): make it static
9391 * lyx_main.C (error_handler): make it static
9393 * lyx_gui.C (LyX_XErrHandler): make it static
9395 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
9397 * WorkArea.C: make the extern "C" methods static.
9399 * Makefile.am (lyx_LDADD): simplify
9401 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9403 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
9404 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
9406 * LyXAction.C (init):
9407 * lyxfunc.C (dispatch): associated code removal.
9409 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9411 * lyxfont.h (isSymbolFont): shut off warning
9413 * text.C (setHeightOfRow):
9414 (getVisibleRow): fix crash with empty paragraphs which have a
9417 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
9419 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
9422 2001-09-04 José Matos <jamatos@fep.up.pt>
9425 * tabular.C (docbook): rename docBook method to docbook.
9427 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9429 * Makefile.am: add dependencies to main.o.
9431 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
9433 * FontLoader.C (available): Return false if !lyxrc.use_gui
9435 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
9437 * FontInfo.C (query):
9438 * converter.C (view):
9439 * importer.C (Import):
9440 * exporter.C (Export): Can not -> cannot.
9442 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
9444 * BufferView_pimpl.C: allow to create index inset even if
9447 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9449 * buffer.C (getLists): replace boost::tie code with an explicit pair
9450 as boost::tie can break some compilers.
9452 * iterators.h: Added a std:: declaration to the return type of
9455 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
9457 * lyxrc.C: add help for view_dvi_paper_option, default to safe
9460 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
9462 * iterators.[Ch]: New files. Provide paragraph iterators.
9464 * buffer.C (changeLanguage): Use paragraph iterators.
9465 (isMultiLingual): ditto
9467 * BufferView2.C (ChangeInsets): Use paragraph iterators.
9469 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
9471 * FontLoader.C: Support for cmr font.
9473 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
9475 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
9476 (available): New method.
9478 * FontInfo.C (getFontname): Use scalable fonts even when
9479 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
9482 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9484 * converter.C (Formats::view): reverted! Incorrect fix.
9486 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9488 * converter.C (Formats::view): only output the -paper option
9489 if the dvi viewer is xdvi, thereby fixing bug #233429.
9491 2001-08-23 Herbert Voss <voss@perce>
9493 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
9495 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
9497 * Spacing.h (Spacing): Set space to Default on in the default
9500 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
9502 * vc-backend.h (RCS::versionString): add RCS to version
9503 (CVS::versionString): add CVS to version
9505 * vc-backend.C (scanMaster): do not add CVS to version.
9506 (scanMaster): do not add RCS to version
9508 * lyxvc.C (versionString): new method
9510 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
9512 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9514 * Spacing.C (set): initialize fval
9516 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
9518 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
9521 2001-08-16 Juergen Vigna <jug@sad.it>
9523 * lyxfunc.C (dispatch): implemented the new FINISHED states.
9525 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9527 * BufferView_pimpl.C:
9530 * text2.C: setParagraph takes linespacing now
9532 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
9534 * LyxAction.C: add internal LFUN_CITATION_INSERT
9536 * LyXView.C: actually apply fix
9538 * bufferlist.C: fix open non-existent file
9540 * lyxfind.C: fix indentation
9542 * lyxfunc.C: remove unneeded assert, fix typo
9544 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9546 * MenuBackend.C: use "Floatname List"
9548 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
9550 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
9551 when converting LaTeX layout to insetERT.
9552 Generate a non-collapsed float when reading old float
9554 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9556 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
9559 2001-08-13 Juergen Vigna <jug@sad.it>
9561 * text.C (fill): return 0 instead of 20 as this seems to be the more
9564 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9566 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
9569 2001-08-13 Juergen Vigna <jug@sad.it>
9571 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
9573 (SearchBackward): comment out the unlocking of the inset_owner this
9574 should not be needed!
9576 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
9578 * Many files: Remove inherit_language, and add latex_language
9580 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
9583 2001-08-10 Juergen Vigna <jug@sad.it>
9585 * text.C (prepareToPrint): fixed hfill-width in draw!
9587 * BufferView2.C (selectLastWord): save the selection cursor as this
9588 now is cleared in the function LyXText::clearSelection!
9590 2001-08-08 Juergen Vigna <jug@sad.it>
9592 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
9593 BACKSPACE type functions.
9595 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
9596 is only cutted from the document but not put in the cut-buffer, where
9597 still the old stuff should be.
9599 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
9601 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
9603 * tabular.C (SetWidthOfCell): fixed special case where the width
9605 (LeftLine): handle '|' in align_special.
9607 (LeftAlreadyDrawed): ditto
9608 (SetWidthOfCell): ditto
9610 2001-08-07 Juergen Vigna <jug@sad.it>
9612 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
9614 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9616 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
9617 * lyxlex.[hC]: ditto
9619 2001-08-06 Juergen Vigna <jug@sad.it>
9621 * text.C (getVisibleRow): fix up row clearing a bit.
9623 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9625 * minibuffer.C: make sure the X server sees the changes in the input.
9627 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9629 * paragraph.C (getFont): split into...
9630 (getLabelFont): this
9631 (getLayoutFont): and this
9632 * paragraph_pimpl.C (realizeFont): calling this
9634 * text2.C (getFont): split into...
9635 (getLayoutFont): this
9636 (getLabelFont): and this
9637 (realizeFont): all three calling this
9639 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
9642 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9644 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
9646 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
9648 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
9649 layouts from the Quote inset insertion.
9651 2001-08-03 Juergen Vigna <jug@sad.it>
9653 * BufferView_pimpl.C (update): do the fitCursor only at the end!
9655 * screen.C (drawFromTo): don't call fitcursor here and do the loop
9656 only if status not is already CHANGED_IN_DRAW (second level).
9658 * text.C (draw): don't set the need_break_row when inside an
9661 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9663 * buffer.C (parseSingleLyXformat2Token): handle more latex
9666 * bufferview_funcs.[hC]: change function names to
9667 begin with small char, adjust other files.
9669 2001-08-02 André Pönitz <poenitz@gmx.net>
9672 BufferView_pimpl.C: remove broken special code for math-greek
9674 2001-08-02 Juergen Vigna <jug@sad.it>
9676 * BufferView_pimpl.C (update): redone this function so that we
9677 update the text again if there was a CHANGE_IN_DRAW.
9679 * screen.C (cursorToggle): removed LyXText parameter and recoded.
9680 (drawFromTo): added a new internal bool which is used by draw() and
9682 (general): some cursor drawing problems fixed.
9684 2001-08-01 Juergen Vigna <jug@sad.it>
9686 * lyxfind.C (LyXFind): fixed
9687 (SearchForward): ditto
9688 (SearchBackward): ditto
9690 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
9691 spurius drawing of the cursor in the main area.
9693 * text2.C (status): small fix which could lead to a segfault!
9694 (clearSelection): remove unneeded BufferView param.
9696 2001-08-01 André Pönitz <poenitz@gmx.net>
9698 * lyxfunc.C: small change due to changed mathed interface
9700 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9702 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
9704 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
9706 * lyxfunc.c: fail gracefully if file doesn't exist
9711 * BufferView_pimpl.C: IsDirWriteable() proto changed
9713 * LyXView.C: fix updateWindowTitle() to store the last title
9715 2001-07-31 Juergen Vigna <jug@sad.it>
9717 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
9718 the font (wrong since using of Paragraph::highestFontInRange).
9720 * paragraph.C (highestFontInRange): added a default_size parameter.
9722 * text.C (getVisibleRow): minor clear row changes (still not perfect).
9723 (setHeightOfRow): reformat
9725 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9727 * converter.[hC] + affected files: move to (inital-char)lowercase
9730 * ParagraphParameters.C (ParagraphParameters): remove commented code
9732 * PainterBase.[Ch]: remove commented code
9734 * LaTeXFeatures.h: add "bool floats" for float.sty
9736 * LaTeXFeatures.C (LaTeXFeatures): init floats
9737 (require): handle float
9738 (getPackages): do it with floats
9740 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9742 * BufferView_pimpl.C (Dispatch): improve handling of
9743 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
9745 * commandtags.h: #include lyxfont.h here temporarily to avoid
9748 * bufferlist.h: include LString.h here.
9750 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9752 * text2.C (getStringToIndex): new method.
9754 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
9756 * *: Reduced header file dependencies all over.
9758 2001-07-30 Baruch Even <baruch@lyx.org>
9760 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
9762 2001-07-29 Baruch Even <baruch@lyx.org>
9764 * buffer.C (readInset): Changed GRAPHICS to Graphics.
9766 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9768 * ParameterStruct.h (endif): add a default constructor to make
9769 sure that all variables is initialized.
9771 * ParagraphParameters.C (ParagraphParameters): adjust
9773 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9775 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
9776 index; also, check that there is something to index, and that it
9777 does not span over several paragraphs.
9778 (doubleClick): use WHOLE_WORD_STRICT for double click.
9780 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
9782 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
9785 2001-07-26 Baruch Even <baruch@lyx.org>
9787 * buffer.C (readInset): Changed to call up InsetGraphics when reading
9788 an InsetFig figure, backwards compatible reading of old figure code.
9790 2001-07-27 Juergen Vigna <jug@sad.it>
9792 * text2.C: font.realize function adaption.
9794 * text.C (draw): add a warnings lyxerr text if needed.
9796 * layout.C: font.realize function adaption.
9798 * language.C: add inherit_language and implement it's handlings
9800 * bufferview_funcs.C (StyleReset): remove language parameter from
9801 font creation (should be language_inherit now).
9803 * bufferparams.C (writeFile): handle ignore_language.
9805 * paragraph.C (getFontSettings): the language has to be resolved
9806 otherwise we have problems in LyXFont!
9808 * lyxfont.C (lyxWriteChanges): added document_language parameter
9809 (update): removed unneeded language parameter
9811 * paragraph.C (validate): fixed wrong output of color-package when
9812 using interface colors for certain fonts in certain environments,
9813 which should not seen as that on the final output.
9815 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
9817 * BufferView_pimpl.C:
9822 * LyXAction.C: add thesaurus support
9825 * lyxfind.C: add "once" parameter, for thesaurus, to not
9826 move to the next match
9828 2001-07-26 Juergen Vigna <jug@sad.it>
9830 * lyxfont.C (realize): honor ignore_language too!
9833 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
9835 * text.C (draw): one place more for ignore_language to not draw
9838 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
9840 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
9842 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9844 * buffer.C (parseSingleLyXformat2Token): a more general fix for
9845 the minipage conversion problem.
9847 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9849 * buffer.C (parseSingleLyXformat2Token): check minipage if we
9852 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9854 * BufferView.h: don't forward declare WorkArea
9856 * BufferView.C: don't include WorkArea.h
9858 2001-07-25 André Pönitz <poenitz@gmx.net>
9862 * lyxfunc.C: new LFUN 'math-space'
9864 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
9866 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9868 * text2.C (toggleInset): call open/close
9870 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9872 * lyxfunc.C (dispatch): add debug for the disabled case
9874 * font.C (buttonText): make similar to rectText
9876 * buffer.C (readInset): comment out parsing of insetlist and
9879 * PainterBase.C (rectText): small correction
9881 * BufferView_pimpl.C: comment out insettheorem and insetlist
9882 * LyXAction.C: ditto
9883 * commandtags.h: ditto
9885 2001-07-24 Juergen Vigna <jug@sad.it>
9887 * text.C (draw): honor the ignore_language.
9889 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
9891 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9893 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
9896 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9898 * lyxtext.h: remove unused (and unimplemented) methods
9900 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9902 * text.C (getVisibleRow): honor background color
9905 * Painter.h: remove default color argument for fillRectangle
9907 * text.C (backgroundColor): new method
9909 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9911 * text.C (getVisibleRow): adjust
9913 * font.[Ch] (rectText): new method, metrics
9914 (buttonText): new method, metrics
9916 * PainterBase.[hC]: make rectText and buttonText always draw and take
9919 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9921 * ToolbarDefaults.C (read):
9922 * MenuBackend.C (read): allow escaping in all strings
9924 * BufferView_pimpl.C (insertAndEditInset): new method.
9925 (Dispatch): use insertAndEditInset whenever appropriate.
9927 * BufferView_pimpl.C (insertNote): removed
9929 * BufferView_pimpl.C (smartQuote): new method, moved from
9930 BufferView; if an insetquote cannot be inserted, insert a '"'
9933 * BufferView2.C: remove insertCorrectQuote();
9935 * lyxfunc.C (getStatus): Add support for all remaingin
9938 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9940 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9941 command (necessary to pass " as parameter of self-insert.
9943 * text.C (selectWordWhenUnderCursor):
9944 (selectWord): add word_location parameter
9945 (selectWordWhenUnderCursor): same + remove special code for word
9947 (selectNextWord): use kind() to guess type of insetspecialchar,
9950 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9951 (insertErtContents): create ert insets as collapsed.
9952 (readInset): better compatibility code for Info inset.
9954 2001-07-20 Juergen Vigna <jug@sad.it>
9956 * lyxfunc.C (dispatch): use always LyXFind now!
9958 * text2.C (init): add a reinit flag so that the LyXText can be
9959 reinited instead of deleted and reallocated (used in InsetText).
9961 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9967 2001-07-18 Juergen Vigna <jug@sad.it>
9969 * text.C (selectNextWord): handle insets inside inset by calling
9970 always the bv->text functions so that we can go up the_locking_inset!
9972 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9973 in strange locations when inside an inset!
9975 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9976 handling to include insets.
9978 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9980 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9982 * LyXAction.C (init):
9984 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9985 LIGATURE_BREAK, since the name is so stupid.
9987 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9989 * buffer.C (readInset): enable reading of new InsetNotes as well as old
9992 * FontLoader.C: remove FORMS_H_LOCATION cruft.
9994 * sp_form.[Ch]: remove.
9996 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9998 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10001 * src/buffer.C (readInset): ditto.
10003 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10005 * BufferView_pimpl.C (specialChar): new method. Obsoletes
10006 menuSeparator(), endOfSentenceDot(), ldots() and
10007 hyphenationPoint(), which are therefore removed.
10008 (Dispatch): handle LFUN_HYPHENATION_BREAK.
10010 * LyXAction.C (init):
10011 * commandtags.h: add LFUN_HYPHENATION_BREAK.
10013 * paragraph.C (getWord): removed.
10015 * BufferView_pimpl.C (Dispatch): use last word or selection for
10016 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10018 * lyx_main.C (queryUserLyXDir): do not ask before creating
10019 user_dir, except if it has been named explicitely.
10021 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10023 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10024 a document of zero size.
10026 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
10028 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10029 approriately in the c-tor and in require().
10030 (getPackages): output the appropriate LaTeX for natbib support.
10032 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10033 variables "use_natbib" and "use_numerical_citations" when reading the
10035 (readInset): read the various natbib cite commands.
10036 (validate): white-space change.
10038 * bufferparams.[Ch]: new variables "bool use_natbib" and
10039 "bool use_numerical_citations".
10040 (writeFile): output them in the LyX file.
10042 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10044 * lyxfunc.C (getStatus): add support for all the inset insertion
10047 * text2.C (insertInset):
10048 * paragraph.C (insetAllowed):
10049 * BufferView_pimpl.C (insertInset): update to take in account the
10050 renaming of insertInsetAllowed
10052 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10054 * text2.C (getInset): new method. returns inset at cursor position.
10056 * BufferView_pimpl.C (Dispatch): changes because of this.
10058 * LyXAction.C (init): rename open-stuff to inset-toggle.
10060 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10062 * text2.C (toggleInset): renamed from openStuff; use
10065 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
10067 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10069 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10071 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
10073 * buffer.C (readLyXformat2): Add filename to the error dialog
10075 2001-07-18 Juergen Vigna <jug@sad.it>
10077 * tabular.C (GetCellNumber): put an assert here instead of the check!
10079 2001-07-17 Juergen Vigna <jug@sad.it>
10081 * BufferView_pimpl.C (toggleSelection): adapted too.
10083 * text.C (selectNextWord): adapted for use with insets.
10084 (selectSelectedWord): ditto
10086 2001-07-17 Juergen Vigna <jug@sad.it>
10088 * sp_spell.C (PSpell): fix initialitation order.
10090 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10092 * paragraph.C: spacing
10094 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
10096 * sp_spell.C: repair language selection for pspell
10098 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10100 * lyxfunc.h: change more methods to begin with lower char.
10102 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
10104 * buffer.C (parseSingleLyXformat2Token): Generate error insets
10105 for unknown layouts.
10107 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
10109 * buffer.C (readLyXformat2): Generate an error dialog if there are
10112 2001-07-16 Juergen Vigna <jug@sad.it>
10114 * sp_spell.C: always compile ISpell part.
10116 * lyxrc.C: added use_pspell entry and it's handling.
10118 2001-07-13 Juergen Vigna <jug@sad.it>
10120 * sp_spell.C: removed double includes.
10122 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
10124 Consistent use of Lsstream.h:
10125 * Lsstream.h: added using std::stringstream for consistencies sake.
10127 * buffer.C: removed using std::stringstream
10129 * lyxfont.C (stateText):
10130 * paragraph.C (asString):
10131 * text.C (selectNextWord, selectSelectedWord):
10132 * text2.C (setCounter):
10133 * vspace.C (asString, asLatexString):
10134 std::ostringstream -> ostringstream.
10136 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10138 * LyXAction.C: add LFUN_HELP_ABOUTLYX
10139 * commandtags.h: add LFUN_HELP_ABOUTLYX
10140 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10142 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10144 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10146 * lyx_gui_misc.C: remove spellchecker
10147 * lyxfunc.C: showSpellchecker
10149 * sp_ispell.h: added
10150 * sp_pspell.h: added
10151 * sp_spell.C: added
10152 * sp_form.[Ch]: removed
10153 * spellchecker.[Ch]: removed
10155 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
10157 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10159 (simpleTeXSpecialChars): Simply print the input character without
10160 any special translation if pass_thru is set.
10162 * layout.h: Added bool pass_thru to layout class for being able to
10163 implement pass through of a paragraph for Literate Programming.
10165 * layout.C: add LT_PASS_THRU to LayoutTags enum.
10166 * layout.C (LyXLayout): set pass_thru to flase in constructor.
10167 * layout.C (Read): add "passthru" to list of layout tags and add
10168 code to set the pass_thru boolean when it is read.
10170 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10172 * trans_decl.h: remove allowed from KmodInfo
10174 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10175 remove allowed code
10178 * paragraph_pimpl.C (erase): use boost::prior
10180 * Painter.C (text): use data() instead of c_str() when length is
10182 * WorkArea.C (putClipboard): ditto
10183 * font.h (width): ditto
10185 * BufferView2.C: use it-> instead of (*it). for iterators
10187 * paragraph_pimpl.C: ditto
10188 * paragraph.C: ditto
10189 * minibuffer.C: ditto
10190 * language.C: ditto
10192 * encoding.C: ditto
10193 * counters.C: ditto
10194 * converter.C: ditto
10196 * Variables.C: ditto
10197 * TextCache.C: ditto
10198 * MenuBackend.C: ditto
10199 * LyXAction.C: ditto
10201 * FloatList.C: ditto
10202 * DepTable.C: ditto
10203 * ColorHandler.C (LyXColorHandler): ditto
10205 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10207 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10209 * text2.C (openStuff): reintroduce this method (which had been
10210 nuked in NEW_INSETS frenzy).
10212 * lyxfunc.C (Dispatch): when an action has not been handled, use
10213 its name in the error message, not its number.
10215 * paragraph.C (inInset): change method name to begin with lowercase.
10218 * text2.C: updates because of this.
10220 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10222 * ToolbarDefaults.C (add): add spaces in error message
10224 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10226 * buffer.C (readLyXformat2): initialize the ert comp. variables.
10227 (readLyXformat2): rename return_par to first_par, use lyxlex's
10228 pushToken and remove the manual push handling.
10229 (parseSingleLyXformat2Token): add another ert comp. variable:
10230 in_tabular, rename return_par to first_par. handle newlines better
10232 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10234 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10236 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10238 * text2.C (getParFromID): removed
10240 * buffer.C (getParFromID): new method moved form lyxtext.
10241 * BufferView2.C (insertErrors): adjust
10242 (setCursorFromRow): adjust
10243 * BufferView_pimpl.C (restorePosition): adjust
10244 * lyxfunc.C (Dispatch): adjust
10245 * undo_funcs.C (textUndo): adjust
10247 (textHandleUndo): adjust
10248 (textHandleUndo): adjust
10250 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10252 * buffer.C: up' the LYX_FORMAT
10254 * lyxfont.h: turn NO_LATEX on as default
10256 * buffer.C (insertErtContents): new methods of tex style compability.
10257 (parseSingleLyXformat2Token): use it several places.
10258 * tabular.C (OldFormatRead): and here
10260 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10262 * text2.C: remove some commented code.
10265 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10266 * trans.C: changes because of the above.
10268 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
10270 * text2.C (setCounter): Fix counters bug with bibliography layout.
10272 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10274 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10275 own member functions
10276 (simpleTeXSpecialChars): ditto
10278 2001-07-06 Juergen Vigna <jug@sad.it>
10280 * a lot of files: changed the access to LyXText::status and the
10281 call of undo-functions.
10283 * undo.[Ch]: added a inset_id to the undo informations.
10285 * undo_funcs.[Ch]: added and moved here all undo functions.
10287 * lyxtext.h: give the status enum a weight, made status_ a private
10288 variable and made accessor functions for it, removed the whole bunch
10289 of undo-functions as they are now in their own file, make some
10290 functions publically available. Added function ownerParagraph with
10293 * paragraph.[Ch]: added "bool same_ids" to the constructor,
10294 made InInset() a const function, added getParFromID() function.
10296 * buffer.[Ch]: added const version for inset_iterator functions,
10297 added getInsetFromID() function.
10299 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
10300 changed undo functions for new version.
10302 2001-07-05 Juergen Vigna <jug@sad.it>
10304 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
10305 unknow mechanism does not call the proper constructor but only this
10306 one also if I request the other!?
10308 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10310 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
10312 * text2.C (LyXText): use initialization lists.
10314 * lyxtext.h (Selection): initialize set_ and mark_
10315 (init): remove method
10317 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
10319 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
10321 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10323 * screen.[Ch]: change method names to begin with lowercase
10325 * BufferView_pimpl.C (updateScrollbar): simplify further and
10326 hopefully make it a bit faster.
10328 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10330 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
10331 calling directly xforms functions.
10333 * Painter.C (Painter):
10334 * lyx_cb.C (MenuWrite):
10335 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
10338 * lyx_gui.C: remove bogus guiruntime extern declaration.
10340 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10342 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
10344 (redoDrawingOfParagraph): ditto
10345 (redoParagraphs): ditto
10346 (cutSelection): don't create a object for CutAndPaste use the
10347 static method directly
10348 (pasteSelection): ditto
10350 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
10353 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10355 * modifications to some other files because of this.
10357 * Makefile.am (lyx_SOURCES): add XFormsView
10359 * XFormsView.[Ch]: new files
10361 * LyXView.[Ch]: make LyXView a base class for the gui handling for
10362 the main window. Move the gui dependent stuff to XFormsView
10364 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10366 * tabular.C (GetCellInset): update cur_cell also in the row/col
10367 version of this function.
10369 * lyxfunc.C: no need to include figure_form.h here.
10375 * lyxvc.C: no need to include forms.h here.
10377 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10379 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
10381 * lyxfunc.C (Dispatch):
10383 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
10384 constructor argument.
10386 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10388 * paragraph.C (Paragraph): dont't clear, and just set layout.
10389 (makeSameLayout): use params's copy contructor.
10391 * ParagraphParameters.[Ch] (makeSame): delete method
10393 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
10395 * Variables.[Ch]: fix indentation, rename set to isSet
10397 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10399 * lyxfunc.C (Dispatch): fix typo
10401 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10403 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
10406 * bufferlist.C: include assert.h for emergencyWrite().
10408 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10410 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
10411 give up at last (bug #425202) !
10413 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
10419 * spellchecker.C: strip spellchecker options and bring up
10420 preferences tab instead
10422 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10424 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
10425 the istringstream constructor
10427 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10429 * paragraph.C (getLayout): fix return value
10431 * paragraph.h: do not declare getLayout as inline.
10433 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
10435 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10437 * lyxcursor.h (operator<): new func
10438 (operator>): new func
10439 (operator>=): new func
10440 (operator<=): new func
10442 * text.C (changeCase): use selection.start and selection.end
10443 (changeRegionCase): require from to be <= to. Require par to be a
10446 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
10448 2001-06-27 Juergen Vigna <jug@sad.it>
10450 * text.C (cursorLeftOneWord): changed to return the cursor and added
10451 overlay with BufferView * parameter which calls this one.
10453 (selectWord): use new getWord function.
10454 (changeCase): renamed from changeWordCase as and extended to work
10455 also on selections.
10457 * lyxtext.h: added enum word_location
10459 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
10460 changeCase as this operates now also on selections.
10462 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
10464 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
10466 * many files: send debug output to Debug::INFO instead of
10469 * converter.C (View):
10471 (Move): send debug output to Debug::FILES instead of console.
10473 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
10475 * lyxfunc.C (getStatus): use func_status
10477 * func_status.h: new header, describing the results of
10478 LyXFunc::getStatus;
10480 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
10483 2001-06-25 The LyX Project <jug@sad.it>
10485 * buffer.C (sgmlOpenTag):
10487 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
10489 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10491 * text2.C: remove some dead code
10493 * tabular.C (GetCellInset): store the last cell checked (gotten)
10495 * tabular.h: add the helper for the speedup
10497 * lyxtext.h: remove some dead code
10499 2001-06-26 The LyX Project <Asger>
10501 * paragraph.C: Change export to LaTeX of alignment to
10502 \begin{center} and family for better roundtrip work with reLyX.
10504 * Tune the math drawing a bit.
10506 2001-06-25 The LyX Project <Asger>
10508 * LColor.C (LColor): New color for math background. New color
10511 2001-06-25 The LyX Project <jug@sad.it>
10513 * lyxfunc.C (MenuNew): remove extra check for .lyx file
10515 * lyxfunc.C (Open):
10516 * bufferlist.C (newFile): do not restrict to files ending with
10519 * BufferView_pimpl.C (MenuInsertLyXFile):
10521 2001-06-24 The LyX Project <jug@sad.it>
10523 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
10526 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10528 * lyxtext.h: rename most methods to begin with a small char.
10529 Lots of changes because of this.
10531 * paragraph.C (Paragraph): do not call fitToSize
10532 (erase): call Pimpl::erase
10533 (insertChar): call Pimpl::insertChar
10534 (insertInset): call Pipl::insertInset
10535 (breakParagraph): do not call fitToSize
10536 (breakParagraphConservative): do not call fitToSize
10537 (fitToSize): remove method
10539 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
10541 2001-06-24 The LyX Project <Asger>
10543 * Fix Qt compilation^2
10545 2001-06-24 The LyX Project <jug@sad.it>
10547 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
10548 depthHook(getDepth()-1).
10551 * ParagraphParameters.h:
10552 * ParameterStruct.h: change type of depth to unsigned int ==
10553 depth_type. Many adaptations to other files before of that.
10555 2001-06-24 The LyX Project <Asger>
10557 * Fix Qt compilation.
10559 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10561 * paragraph.h: renamed several methods to begin with small letter.
10562 several changes to many parts of the code because of this.
10564 2001-06-23 The LyX Project <jug@sad.it>
10566 * text2.C (InsertStringAsLines): renamed from InsertStringA;
10567 rewritten to discard all double spaces when KeepEmpty is off
10568 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
10569 to only handle newlines but not fiddle with spaces and friends.
10571 * lyxfunc.C (MenuNew): when doing 'new from template', use
10572 template_path as default directory
10574 2001-06-23 The LyX Project <Asger>
10576 * Clean-up of header file includes all over
10577 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
10579 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10581 * paragraph.h: renamed from lyxparagraph.h
10583 2001-06-23 Asger <lyx@violet.home.sad.it>
10585 * Buffer.h: Removed Buffer::resize
10586 * BufferList.h: Removed BufferList::resize
10587 * LyXView.h: Added LyXView::resize. This way, we will only reflow
10588 the document lazily when we change the width, or the font settings.
10590 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10592 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
10594 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10596 * buffer.h: remove out of date comment
10598 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10601 * screen.C: fix "theoretical" GC leak
10603 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10605 * LaTeX.C (scanAuxFile):
10606 (deplog): remove trailing \r when reading stream (useful under
10609 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
10611 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
10612 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
10613 and BufferView::theLockingInset(Inset*), so should use them and not
10614 access bv_->text->the_locking_inset directly.
10616 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
10618 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10621 * tex-defs.h: remove old unused file
10623 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
10625 * BufferView_pimpl.C: fix typo, remove minibuffer message
10626 when buffer has loaded
10628 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10630 * lyxfunc.C (Dispatch): use stringstream
10631 (MenuNew): use stringstream
10632 (Open): use stringstream
10634 * importer.C (Import): use stringstream
10636 * bufferview_funcs.C (CurrentState): use stringstream
10638 * LaTeX.C (run): use stringstream
10640 * BufferView_pimpl.C (savePosition): use stringstream
10641 (restorePosition): use stringstream
10642 (MenuInsertLyXFile): use stringstream
10644 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
10657 * vspace.C: removed // -*- C++ -*- as first line.
10660 * version.h: added // -*- C++ -*- as first line.
10662 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10664 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
10666 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
10669 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10671 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
10674 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10676 * gettext.C: include LString.h even when --disable-nls is on.
10678 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
10680 * converter.h (Get): changed argument type from int to
10681 FormatList::size_type to avoid unnecessary conversion.
10683 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
10686 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10688 * gettext.h: include LString.h even when --disable-nls is on.
10690 2001-06-07 Juergen Vigna <jug@sad.it>
10692 * text.C (BreakAgain): subst spaces with tabs.
10694 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
10695 (resizeInsetsLyXText): set force on resizeLyXText.
10697 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10699 * gettext.h (gettext_init):
10700 (locale_init): use a real definition instead of a macro
10702 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10704 * Bufferview_pimpl.C:
10706 * LColor.C: further lcolor tidies
10708 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10710 * BufferView_pimpl.C (updateScrollbar): simplify.
10712 * BufferView2.C: don't include insets/insetinfo.h, change
10713 prototype for insertInset and call the Pimpl version. let
10714 updateInset call Pimpl version.
10716 * BufferView.h: move inset_slept to BufferView::Pimpl, move
10717 gotoInset to BufferView::Pimpl
10719 2001-06-01 Juergen Vigna <jug@sad.it>
10721 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
10722 inside a LockingInset (is the update needed at all?).
10724 2001-05-31 Juergen Vigna <jug@sad.it>
10726 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
10727 here not the old one otherwise how should we compare it afterwards
10730 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10735 * FontInfo.C: bring C functions into global namespace when
10738 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10740 * LString.h: make sure config.h has been loaded before LString.h.
10742 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
10743 (one for each char read by EatLine!).
10745 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
10748 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10750 * paragraph.C (BreakParagraph): set the inset_owner in the new par
10751 to the same as the par we break from
10753 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
10755 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
10757 * MenuBackend.C (expand): also create menu entries for wide
10758 versions of the floats.
10760 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
10762 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
10764 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
10765 frontends/Makefile.am
10771 * tabular.C (getTokenValue): add std::
10773 * tabular-old.C (getTokenValue): add std::
10774 (getTokenValue): ditto
10775 (getTokenValue): ditto
10777 * screen.C (ToggleSelection): adjust
10779 * lyxtext.h: put selection cursors inside a Selection struct.
10781 * lyxfunc.C (moveCursorUpdate): adjust
10783 * lyxfont.C (latexWriteStartChanges): add std::
10785 * lyxfind.C: adjust
10787 * font.h: delete with(char const *, LyXFont const &)
10789 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
10791 * FontInfo.C (getFontname): add std::
10793 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
10794 (workAreaButtonPress): adjust
10795 (tripleClick): adjust
10797 (moveCursorUpdate): adjust
10800 * BufferView2.C (gotoInset): adjust
10802 2001-05-30 Juergen Vigna <jug@sad.it>
10804 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
10805 to check pspell I add this as default as I now have new pspell
10806 libraries and they seem to use this.
10808 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10810 * text2.C (CutSelection): make the cursor valid before the call to
10813 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10815 * kbsequence.C (parse): de-uglify a bit the parsing code, which
10816 relied on 0 terminated strings and other horrors. Bug found due to
10817 the new assert in lyxstring!
10819 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
10822 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10824 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
10827 * lyxfunc.C (processKeySym): change method of getting to the
10830 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
10831 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
10832 * BufferView_pimpl.[Ch]: here as private methods.
10834 2001-05-28 Juergen Vigna <jug@sad.it>
10836 * text.C (SetHeightOfRow): added the update() call again as it is
10837 needed to initialize inset dimensions!
10839 2001-05-16 Juergen Vigna <jug@sad.it>
10841 * text2.C (SetCharFont): Add new function with BufferView * and
10842 bool toggleall parameters for setting insets internal fonts.
10843 (SetFont): Freeze the undo as we may change fonts in Insets and
10844 all this change should be inside only one Undo!
10846 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
10847 setting font's in insets as for them we have the SetFont function!
10849 2001-05-15 Juergen Vigna <jug@sad.it>
10851 * text2.C (ClearSelection): to be sure we REALLY don't have any
10854 * tabular.C (TeXCellPreamble): fixed the left border problem for
10857 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
10859 * LaTeX.C (deplog): Make sure that the main .tex file is in the
10862 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10864 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
10865 LFUN_BREAKPARAGRAPH.
10867 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
10868 help test to "internal only", similar for LFUN_INSERT_URL
10870 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10871 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
10872 auto_region_delete and deadkeys.
10874 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
10877 * LColor.C: remove some dead entries, tidy a little
10879 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10881 * lyxfunc.C (processKeySym): comment the Escape handling, remove
10883 (Dispatch): implement LFUN_ESCAPE
10885 * commandtags.h: add LFUN_ESCAPE
10887 * LyXAction.C (init): add entry for LFUN_ESCAPE
10889 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
10890 Remove commented code.
10891 (insertNote): moved here
10892 (open_new_inset): moved here
10894 * BufferView[2].[Ch]: move insertNote and open_new_inset to
10897 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10899 * kbmap.C (findbinding): clean it up and make it work correctly.
10901 * lyx_main.C (init): do not pass argc and argv as parameters
10903 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
10905 * buffer.C: fix path for OS/2 & Win32
10909 * lyx_main.C: Added os:: class.
10911 * os2_defines.h: update
10913 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10915 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10916 better by trying again with reduced state.
10918 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10920 * lyxrc.C (read): print error about invalid key sequence only when
10921 debugging (because not all latinX keysyms are known to some X
10924 * kbsequence.C (getiso): add a few std:: qualifiers
10925 (getiso): comment out extra return statement.
10927 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
10929 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
10931 (Dispatch): enhance the accent inset a bit. (not perfect)
10933 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10935 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
10937 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10939 * bufferlist.C (emergencyWrite): fix assert() call
10941 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
10943 * text.C (InsertChar): Added trivial patch to only send the "you
10944 can not do multiple spaces this way" message once during a
10947 2001-05-08 Baruch Even <baruch@lyx.org>
10949 * Makefile.am: Changed order of libraries to get LyX to link properly
10950 with the gnome frontend.
10952 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10954 * LaTeXFeatures.h: add a std:: qualifier
10956 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10958 * paragraph.C (String): use stringstream
10960 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10962 * paragraph.C (writeFile): remove footflag arg
10964 * buffer.C (makeLaTeXFile): use stringstream
10965 (latexParagraphs): remove footnot gurba
10967 * LaTeXFeatures.C (getPackages): use stringstream
10968 (getMacros): likewise
10969 (getTClassPreamble): likewise
10970 (getFloatDefinitions): new method
10972 * paragraph.C (writeFile): reindent
10975 * WorkArea.h: revert the xpos + etc changes.
10977 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10979 * lyxparagraph.[Ch]: add copy constructor, remove Clone
10981 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10982 (pasteSelection): likewise
10983 * text2.C (CreateUndo): likewise
10985 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10987 * minibuffer.C (peek_event): temporarily reduce the functionality
10988 of the minibuffer (to allow args on lfuns)
10990 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10991 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10993 * buffer.C (readInset): add compability reading of old float
10994 lists, add reading of new style float list.
10995 (readInset): avoid reevaluation of inscmd.getCmdName()
10996 (getLists): reindent
10998 * MenuBackend.C (MenuItem): implement parsing of
10999 md_floatlistinsert and md_floatinsert.
11000 (expand::LastFiles): move initalizaton of iterators out of loop,
11001 avoid reevaluation.
11002 (expand::Documents): introduce typdedef vector<string> Strings,
11004 (expand::ExportFormats): introduce typedef vector<Format const *>
11005 Formats, and use it.
11006 (expand): implement FloatListInsert and FloatInsert.
11008 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11009 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11010 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11012 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11014 (Dispatch::LFUN_FLOAT_LIST): implement
11016 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11018 * LaTeX.C (run): Fix problem with --export code.
11020 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11022 * BufferView.[Ch] (workarea): removed.
11023 (getClipboard) new method; wrapper for workarea()->getClipboard()
11025 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11028 * WorkArea.h (width, height, xpos, ypos): These methods all
11029 returned the dimensions of the work_area sub-area of WorkArea,
11030 resulting in a position error if the WorkArea were resized. Now
11031 return the dimensions of the entire WorkArea.
11033 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11035 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11037 * LaTeX.C (deplog): correct the syntax of regex reg1
11039 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11041 * undo.C: remove !NEW_INSETS cruft
11043 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11045 * text2.C: remove !NEW_INSETS cruft
11047 * text.C: remove !NEW_INSETS cruft
11049 * tabular.C: remove !NEW_INSETS cruft
11051 * spellchecker.C: remove !NEW_INSETS cruft
11053 * lyxtext.h: remove !NEW_INSETS cruft
11055 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11057 * lyxfunc.C: remove !NEW_INSETS cruft
11059 * lyxfind.C: remove !NEW_INSETS cruft
11061 * lyx_cb.C: remove !NEW_INSETS cruft
11063 * figureForm.C: remove !NEW_INSETS cruft
11065 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11067 * buffer.[Ch]: remove !NEW_INSETS cruft
11069 * ToolbarDefaults.C: remove !NEW_INSETS cruft
11071 * CutAndPaste.C: remove !NEW_INSETS cruft
11073 * BufferView_pimpl.C: remove !NEW_INSETS cruft
11075 * BufferView2.C: remove !NEW_INSETS cruft
11077 * BufferView.h: remove !NEW_INSETS cruft
11079 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11081 * Lsstream.h: include LString.h before the sstream headers to
11082 fix problem with gcc 2.95.3 and lyxstring
11084 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11086 * lyx_main.C: add using directives when needed for C functions
11087 declared in std:: namespace.
11089 2001-04-27 Juergen Vigna <jug@sad.it>
11091 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11092 (SetHeightOfRow): comment out the update call should not be needed!
11094 2001-04-13 Juergen Vigna <jug@sad.it>
11096 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11097 (LyXTabular): tried to minimize operator= operations (and realized
11098 hopfully Lars wish).
11100 2001-04-27 Juergen Vigna <jug@sad.it>
11102 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11104 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11106 * lyxfunc.C (Dispatch): hack to make listof algorithm work
11108 * buffer.C (readInset): hack to make listof algorithm work
11110 * BufferView_pimpl.C: hack to make listof algorithm work
11112 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11114 * LyXAction.C: removed all !NEW_INSETS cruft
11115 (init): moved lfun_item in method
11117 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11119 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11121 * BufferView2.C (theLockingInset): white space.
11123 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11125 * minibuffer.C: include <iostream>
11127 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11129 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11131 * commandtags.h: add LFUN_TRANSPOSE_CHARS
11133 * text.[Ch] (TransposeChars): new method
11135 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11137 * call message directly through LyXView instead of through LyXFunc
11138 * BufferView2.C: adjust
11139 * BufferView_pimpl.C: adjust
11140 * FontLoader.C: adjust
11142 * bufferview_funcs.C: adjust
11143 * converter.C: adjust
11144 * figureForm.C: adjust
11145 * importer.C: adjust
11147 * lyx_gui_misc.C: adjust
11148 * lyxfunc.C: adjust
11151 + more files in subdirs
11153 * lyxparagraph.h (size): move up int file
11156 * adjust all uses of Assert to lyx::Assert.
11158 * BufferView2.C (ChangeCitationsIfUnique): adjust for
11159 lyxfunctional in namespace lyx
11160 * layout.C (hasLayout): ditto
11163 (delete_layout): ditto
11164 (NumberOfClass): ditto
11165 * converter.C (GetFormat): ditto
11170 * bufferlist.C (getFileNames): ditto
11171 (emergencyWriteAll): ditto
11174 * MenuBackend.C (hasSubmenu): ditto
11177 * BufferView_pimpl.C (getInsetByCode): ditto
11179 2001-04-18 Juergen Vigna <jug@sad.it>
11181 * vspace.C (asLatexString): fixed the 100% problem.
11183 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11185 * lyxfunc.C (Dispatch):
11187 * minibuffer.h: add a few std:: qualifiers
11189 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11191 * minibuffer.[Ch]: reimplement so that commands is initiated and
11192 run from lyxfunc, simplified som handling, and made the completion
11193 and history code for complete. wip.
11195 * lyxfunc.C (processKeySym): call message
11196 (miniDispatch): new temporary method
11197 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11198 (LFUN_MESSAGE): implement
11199 (LFUN_MESSAGE_PUSH): implement
11200 (LFUN_MESSAGE_POP): implement
11201 (initMiniBuffer): the initial/defualt minibuffer message.
11203 * lyxfont.[Ch]: inline some more getters
11205 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11207 * lyx_gui_misc.[Ch] (WriteStatus): remove method
11209 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11210 (AutoSave): use LFUN_MESSAGE
11211 (Reconfigure): ditto
11213 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11215 * figureForm.C: use LFUN_MESSAGE
11217 * converter.C (runLaTeX): use LFUN_MESSAGE
11219 * bufferview_funcs.C: use LFUN_MESSAGE
11221 (changeDepth): ditto
11223 * bufferparams.h: use boost::
11225 * bufferlist.h: inherit privately from noncopyable
11227 * bufferlist.C (loadLyXFile): remove some commented code.
11229 * buffer.C (runChktex): use LFUN_MESSAGE
11231 * ShareContainer.h: inherit privately from noncopyable
11233 * ParagraphParameters.[hC] (depth): inline it.
11235 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11237 (message): new method
11238 (messagePush): ditto
11239 (messagePop): ditto
11240 (show): init minibuffer
11241 (showState): direct call
11243 * LaTeX.[Ch]: inherit privately from noncopyable
11244 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11245 instead of WriteStatus.
11247 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
11249 * BufferView_pimpl.C (buffer): don't init minibuffer
11250 (workAreaButtonPress): use LFUN_MESSAGE
11251 (workAreaButtonRelease): ditto
11252 (savePosition): ditto
11253 (restorePosition): ditto
11254 (MenuInsertLyXFile): ditto
11255 (workAreaExpose): don't init minibuffer
11256 (update): remove commented code, simplify
11258 * BufferView2.C (openStuff): use LFUN_MESSAGE
11259 (toggleFloat): ditto
11262 (copyEnvironment): ditto
11263 (pasteEnvironment): ditto
11268 (updateInset): remove some commented code
11270 * lastfiles.h: inherit privately from noncopyable
11273 * lyx_main.h: ditto
11275 * lyxlex_pimpl.h: ditto
11277 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11278 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11279 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11281 * LyXAction.h: inherit privately from noncopyable, add methods
11282 func_begin, func_end, returning iterators to the func map.
11284 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
11285 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11286 (func_begin): new method
11287 (func_end): new method
11289 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
11291 (copySelection): ditto
11292 (pasteSelection): ditto
11294 * BufferView.C: whitespace change
11295 * BufferView.h: inherit privately from noncopyable
11297 2001-04-16 Allan Rae <rae@lyx.org>
11299 * tabular-old.C (l_getline):
11300 * spellchecker.C (sc_check_word):
11301 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
11302 an unrecognised preprocessor directive. So ensure they're wrapped.
11304 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
11306 * src/exporter.C (Export): Give an error message when path to file
11309 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
11311 * LaTeX.C (deplog): Always check that foundfile exists.
11313 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11316 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
11318 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11320 * tabular.[Ch] (getLabelList): implement new method
11322 * minibuffer.h: comment ouf setTiimer
11324 * minibuffer.C (ExecutingCB): constify res
11325 (peek_event): constify s
11326 (Set): constify ntext
11327 (Init): constify nicename
11329 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
11331 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
11332 (savePosition): use two params to Minibuffer::Set
11333 (restorePosition): ditto
11335 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11337 * lyx_main.C: include language.h
11339 * Makefile.am (lyx_main.o): add language.h
11341 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11347 * CutAndPaste.C: include gettext.h
11349 * lyxfont.h: remove old hack with ON and OFF.
11352 * lyxfont.h: do not include language.h...
11357 * bufferview_funcs.C:
11363 * paragraph.C: ... but do it here instead
11365 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11367 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
11369 * tabular.C: small reformat
11371 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
11374 (BreakParagraph): ditto
11375 (SetOnlyLayout): ditto
11378 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
11381 * lastfiles.C: removed most using decl, add std:: where needed
11383 * buffer.C: ws changes
11385 * MenuBackend.C (class compare_format): put into anon namespace
11386 (expand): constify label, names, action, action2
11389 * text.C (SingleWidth): constify font
11390 (IsBoundary): constify rtl2
11391 (GetVisibleRow): constify ww
11393 * LaTeX.C (deplog): constify logfile
11395 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
11397 (workAreaExpose): constify widthChange, heightChange
11399 * lyxrow.C (par): moved
11402 * lyxrow.h: as inlines here
11404 * lyxfont.h (shape): moved from lyxfont.C
11405 (emph): moved from lyxfont.C
11407 * lyxfont.C (LyXFont): use initialization list for all
11409 (shape): move to lyxfont.h as inline
11410 (emph): move to lyxfont.h as inline
11413 2001-04-04 Juergen Vigna <jug@sad.it>
11415 * vspace.C: had to include stdio.h for use of sscanf
11417 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
11420 * BufferView_pimpl.h: remove xforms cruft. Both classes are
11421 independent of xforms.
11423 2001-04-02 Juergen Vigna <jug@sad.it>
11425 * spellchecker.C: fixed namespace placing!
11427 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
11429 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
11430 the LyXParagraph * is 0.
11432 2001-03-29 Juergen Vigna <jug@sad.it>
11434 * vspace.C: added support for %, c%, p%, l%.
11435 (stringFromUnit): added helper function.
11436 (asLatexString): changed to give right results for the %-values.
11438 * buffer.C: convert the widthp in a width%.
11440 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
11442 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
11445 * figureForm.[Ch]: stripped the FD_from_figure manipulation
11446 code out of lux_cb.[Ch], ready for its (imminent?) removal.
11448 * lyx_cb.[Ch]: see above.
11450 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
11454 * lyx.[Ch]: replaced by figure_form.[Ch].
11458 * lyxfunc.C: changed headers associated with above changes.
11460 2001-03-27 Juergen Vigna <jug@sad.it>
11462 * BufferView_pimpl.C: set the temporary cursor right!
11464 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
11466 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
11468 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
11470 * LString.h: removed "using std::getline"!
11472 * BufferView_pimpl.C (Dispatch): changes due to changes in
11473 InsetInclude::Params.
11475 * buffer.C (tag_name): removed redundant break statements as they were
11476 producing lots of warnings with my compiler.
11478 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11480 * LString.h: add "using std::getline" when using the real <string>.
11482 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
11484 * buffer.C: removed bitset usage.
11485 PAR_TAG moved to an anonymous name space.
11486 (tag_name): new funtion, also in the anonymous namespace.
11487 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
11488 (makeDocBookFile): clean code. Completed transition from string arrays
11490 (SimpleDocBookOnePar): code clean.
11492 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11494 * tabular.C: add some comments.
11496 2001-03-22 Juergen Vigna <jug@sad.it>
11498 * buffer.C (parseSingleLyXformat2Token): redone the minipage
11499 compatibility read a bit and fixed bug with minipage in different
11502 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
11504 * buffer.C (pop_tag): removed.
11505 (push_tag): removed.
11506 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
11507 array replaced with vector. Added support for CDATA sections.
11508 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
11510 (makeDocBookFile): XML conformant declaration of CDATA section,
11511 fixed bug related to <emphasis> in the first paragraph char.
11512 (sgmlOpenTag): exclude empty tags.
11513 (sgmlCloseTag): ditto.
11515 * buffer.h (pop_tag): removed.
11516 (push_tag): removed.
11518 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
11520 * language.h (Languages): added size_type and size().
11522 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11524 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
11525 response on compability reading of minipages. One probliem is that
11526 the old usage of minipages was «flertydig»
11528 * several files here and in subdirs: don't use static at file
11529 scope use anon namespaces instead.
11531 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
11533 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
11534 LaTeX output. This is necessary for Literate document
11537 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11539 * buffer.C: insert hfill when needed.
11541 * tabular.C (l_getline): use string::erase, small whitespace change.
11543 * BufferView_pimpl.C: try the anon namespace.
11544 * WorkArea.C: ditto
11546 2001-03-16 Juergen Vigna <jug@sad.it>
11548 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
11549 otherwise it won't open options-dialogs.
11551 * buffer.C: honor pextraWidth(p) on converting minipages.
11553 * tabular.C (l_getline): changed the functions to strip trailing \r.
11555 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
11557 * BufferView_pimpl.C:
11558 * minibuffer..C: added "using SigC::slot" declaration.
11560 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11562 * lyxlex_pimpl.h: noncopyable is in namespace boost.
11568 * paragraph.C: ditto
11570 * lyxtext.h: NO_PEXTRA
11572 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
11574 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
11575 * ParameterStruct.h: ditto
11576 * ParagraphParameters.h: ditto
11577 * lyxparagraph.h: ditto
11579 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11581 * buffer.C: add compability for minipage alignment.
11582 (latexParagraphs): remove unwanted pextra check.
11584 * several files: remove CXX_WORKING_NAMESPACES
11586 * buffer.C (pop_tag): tie is in namespace boost
11588 * BufferView.h: noncopyable is in namespace boost
11590 * lyx_main.h: ditto
11593 * lastfiles.h: ditto
11594 * bufferlist.h: ditto
11595 * ShareContainer.h: ditto
11597 * LyXAction.h: ditto
11600 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11602 * Merging changes from BRANCH_MVC back into HEAD.
11604 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
11606 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
11608 * BufferView_pimpl.C: change from intl.C
11612 * Makefile.am: move combox.*
11618 * intl.C: remove dialog (covered by prefs)
11620 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11622 * lyxfunc.C (Dispatch): removed redundant break statement.
11624 2001-03-14 Juergen Vigna <jug@sad.it>
11626 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
11628 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11630 * buffer.C: add hack to fix compability reading of minipages.
11632 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
11634 * buffer.C (getLists): Cleanup.
11636 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11638 * lyxfont.C (update): don't honor toggleall on font size.
11640 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
11644 * Makefile.am: moved to frontends/xforms/
11648 * BufferView_pimpl.C: changes for moved mathpanel
11650 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11652 * gettext.h: fix gettext_init() in --disable-nls
11654 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11656 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
11658 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
11661 * lyx.h: strip external form
11663 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11665 * BufferView_pimpl.C: add comment, destroySplash()
11667 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11669 * BufferView_pimpl.C:
11673 * lyxfunc.C: use re-worked insetinclude
11675 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11677 * buffer.C: add using std::stringstream.
11679 * lyx_cb.C: readd using std::ios.
11681 * buffer.C: add using std::map.
11683 * BufferView_pimpl.C: add using std::vector.
11685 * ShareContainer.h: add std:: to swap.
11687 * buffer.h: add some typedefs
11688 * buffer.C (getLists): use them
11689 (getLists): renamed from getTocList.
11690 add a counter for the different float types and use it in the
11692 (getLists): use the same counter for the NEW_INSETS and the "non"
11695 * lyx_cb.h: remove unused items, includes, using etc.
11697 * ShareContainer.h: remove some commented code, add more comments
11698 and "documentation".
11700 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11702 * buffer.C (getTocList): make the list also when NEW_INSETS is
11705 * buffer.h: remove TocType
11707 * buffer.C (getTocList): change to return a map<string,
11708 vector<TocItem> >, implement for dynamic number of list.
11710 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
11711 * text2.C (PasteSelection): adjust
11712 * CutAndPaste.C (pasteSelection): adjust
11714 * FloatList.C (FloatList): update from the new_insets branch.
11715 * Floating.[Ch]: ditto
11716 * LaTeXFeatures.C: ditto
11718 * lyxlex_pimpl.C: ditto
11720 * paragraph.C (Last): remove when NEW_INSETS is defined.
11722 * other file: changes because of the above.
11724 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11726 * lyxparagraph.h: rename next to next_, previous to previous_,
11727 make them private for NEW_INSETS. Rename Next() to next(),
11728 Previous() to previous().
11730 * other files: changes because of the above.
11732 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
11735 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
11738 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11740 * main.C (main): pass lyx_localedir to gettext_init().
11742 * gettext.h: remove locale_init and gettext_init macros
11744 * gettext.C (locale_init): new function
11745 (gettext_init): new function
11747 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
11750 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
11752 * Moved credits to frontends:
11753 * credits.[Ch]: removed
11754 * credits_form.[Ch]: removed
11755 * lyx_gui_misc.C: remove credits stuff
11758 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11760 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
11762 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
11763 unneeded destructor.
11765 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
11766 a standalone pointer again.
11768 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
11770 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
11776 * ToolbarDefaults.C:
11785 * BufferView_pimpl.C: use new file dialog in GUII
11788 * lyx_cb.C: remove LayoutsCB to Toolbar
11790 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11792 * ShareContainer.h (get): add std:: qualifier
11794 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11796 * ShareContainer.h: define a proper ShareContainer::value_type
11797 type (and use typename to please compaq cxx)
11799 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11801 * lyxparagraph.h: move serveral local vars to
11802 ParameterStruct/ParagraphParameters., use ShareContainer in
11803 FontTable., make vars in FontTable private and add getter and
11806 * paragraph.C: changes because of the above.
11808 * lyxfont.h: remove copy constructor and copy assignment. (the
11809 default ones is ok), move number inside FontBits. move inlines to
11812 * lyxfont.C: add number to initializaton of statics, move several
11813 inlines here. constify several local vars. some whitespace
11814 cleanup. Dont hide outerscope variables.
11816 * Spacing.h: add two new constructors to match the set methods.
11818 * ShareContainer.h: new file, will perhaps be moved to support
11820 * ParameterStruct.h: new file
11822 * ParagraphParameters.h: new file
11824 * ParagraphParameters.C: new file
11826 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
11827 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
11829 * BufferView_pimpl.C: ParagraphParameter changes.
11830 * buffer.C: Likewise.
11831 * bufferview_funcs.C: Likewise.
11832 * text.C: Likewise.
11833 * text2.C: Likewise.
11835 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11837 * lyxfind.C (LyXReplace): do not redefine default argument in
11839 (IsStringInText): ditto
11840 (SearchForward): ditto
11841 (SearchBackward): ditto
11843 2001-03-06 Juergen Vigna <jug@sad.it>
11845 * lyxfind.C (IsStringInText): put parentes around expressions.
11847 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
11849 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
11851 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
11853 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
11855 * stl_string_fwd.h: add comment
11857 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
11860 * tabular.C: remove unused DocBook methods
11866 killed DO_USE_DEFAULT_LANGUAGE
11868 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11870 * lyx_gui.C: do not include language.h.
11872 * bufferview_funcs.C (ToggleAndShow): do not provide optional
11873 arguments in function implementation.
11875 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11877 * BufferView_pimpl.C: add <ctime>
11879 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11881 * BufferView_pimpl.C: add using std::find_if
11883 2001-02-27 José Matos <jamatos@fep.up.pt>
11885 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
11888 2001-02-11 José Matos <jamatos@fep.up.pt>
11890 * buffer.C (makeDocBookFile): command styles now have a parameter as
11891 "title" by default.
11893 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
11895 * layout_forms.[Ch]: removed
11896 * lyx_cb.[Ch]: out character
11897 * lyx_gui.C: out character
11898 * lyx_gui_misc.C: out character
11899 * bufferview_funcs.C: : out character,
11900 added toggleall as parameter in ToggleAndShow
11902 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
11904 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11906 * text2.C (SetCurrentFont): Disable number property at boundary.
11908 2001-02-26 Juergen Vigna <jug@sad.it>
11910 * lyxfunc.C (getStatus): added a string argument override function so
11911 that this is correctly called from LyXFunc::Dispatch if it contains a
11912 do_not_use_argument which is used!
11913 (Dispatch): added check for "custom" export and call appropriate func.
11915 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
11917 * lyxrc.C: Add language_command_local, language_use_babel and
11918 language_global_options.
11920 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11922 * buffer.C (makeLaTeXFile): Use language_use_babel and
11923 language_global_options.
11925 2001-02-23 Juergen Vigna <jug@sad.it>
11927 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
11928 which works with LyXText and putted it inside BufferView. Here now we
11929 only call for that part the BufferView::Dispatch() function.
11931 * BufferView.C (Dispatch): added.
11933 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
11934 functions which needs to use a LyXText over from LyXFunc.
11935 (MenuInsertLyXFile): added
11936 (getInsetByCode): added
11937 (moveCursorUpdate): added
11938 (static TEXT): added
11940 2001-02-22 Juergen Vigna <jug@sad.it>
11942 * BufferView_pimpl.C (update): call a status update to see if LyXText
11945 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11947 * vc-backend.C (revert): implement for CVS
11948 (getLog): implement for CVS
11950 2001-02-20 Juergen Vigna <jug@sad.it>
11952 * text2.C (ClearSelection): added BufferView param for inset_owner call
11954 * lyxfunc.C (TEXT): added this function and use it instead of
11955 directly owner->view()-text of getLyXText().
11957 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
11959 * src/layout_forms.C: out preamble
11960 * src/layout_forms.h: out preamble
11961 * src/lyx_cb.C: out preamble
11962 * src/lyx_cb.h: out preamble
11963 * src/lyx_gui.C: out preamble
11964 * src/lyx_gui_misc.C: out preamble
11965 * src/lyxfunc.C: connect with guii preamble
11967 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
11969 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11971 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
11973 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11974 whether to run bibtex.
11976 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
11978 * Makefile.am (lyx_SOURCES): Remove BackStack.h
11980 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11982 * Makefile.am (lyx_SOURCES): removed bibforms.h
11984 * vspace.h: doxygen
11986 * text.C (GetVisibleRow): make several local vars const
11988 * tabular.C: small cleanup.
11990 * lyxserver.C (callback): use compare instead of strncmp
11992 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11993 inlines to after class or to paragraph.C
11995 * lyxfont.h: remove friend operator!=
11997 * converter.h: move friend bool operator< to non friend and after
12000 * combox.h: small cleanup
12002 * buffer.h: doxygen, remove unused constructor, move inclas inlies
12003 to inlines after class def.
12005 * buffer.C (pop_tag): use string operations instead of strcmp
12007 * bmtable.c: doxygen, small cleanup
12009 * LaTeX.h: remove friend operator==
12011 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
12023 * BufferView_pimpl.C:
12024 * BufferView.[Ch]: remove cruft
12026 2001-02-14 Juergen Vigna <jug@sad.it>
12028 * lyxfunc.C: removed #if 0 unused code
12030 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12032 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12034 * text2.C (SetSelection): added a BufferView * parameter
12036 2001-02-13 Juergen Vigna <jug@sad.it>
12038 * lyxfunc.C (Dispatch): fixed protected blank problem.
12039 * BufferView2.C (protectedBlank): added LyxText * parameter.
12041 * tabular.C (AppendRow): forgot to set row_info of newly added row.
12042 (AppendColumn): same as above for column_info.
12044 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12045 (moveCursorUpdate): use a LyXText param for support of InsetText.
12047 * BufferView_pimpl.C (doubleClick): added support for InsetText.
12048 (tripleClick): ditto
12050 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12052 * BufferView_pimpl.C (update): added LyXText param to honor insets.
12054 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12056 * text2.C (SetSelection): set correct update status if inset_owner
12057 (ToggleFree): ditto
12059 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
12061 * tabular.C: remove some commented code.
12063 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
12065 * BufferView_pimpl.C: call hideSplash()
12067 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12070 * bibforms.h: remove
12073 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12074 add LFUN_CHILD_CREATE
12076 * counters.h: fix tiny typo
12081 * lyx.C: move splash to frontends/xforms/
12083 * lyx_gui_misc.C: move Include and Bibform to frontends
12085 * lyxvc.h: clarify comment
12087 * vspace.C: tiny housekeeping
12089 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
12091 * text.C (PrepareToPrint): RTL Fix.
12093 * paragraph.C (GetUChar): New method.
12094 (String): Use GetUChar.
12096 * buffer.C (asciiParagraph): Use GetUChar.
12098 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
12100 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12102 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
12105 * buffer.C: rename to getLogName(), handle
12106 build log / latex log nicely
12108 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12111 * MenuBackend.h: remove support for reference menuitem type.
12113 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
12115 * BufferView_pimpl.C: housekeeping
12116 * BufferView_pimpl.h:
12121 * minibuffer.h: move Timeout GUI-I
12123 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
12125 * lyxrc.C (read): Update converters data-structures.
12127 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
12129 * LaTeX.h (operator!=): add operator != for Aux_Info
12131 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
12133 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12135 * LaTeXLog.C: deleted, useful code moved to Buffer
12138 * buffer.C: new function getLatexLogName()
12144 * lyxfunc.C: use frontends for LaTeX and VC logs
12146 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12148 * LaTeX.h: yet another std:: that Allan forgot.
12150 * Variables.C (set): renamed from isset(), because this clashes
12151 with some HP-UX macros (grr).
12153 2001-02-06 Allan Rae <rae@lyx.org>
12155 * LaTeX.h: Another bug fix. Missing std:: this time.
12157 2001-02-04 Allan Rae <rae@lyx.org>
12159 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12160 floats problem. I've left it commented out because it's not quite
12161 correct. It should also test that the current object is a table or
12162 figure inset. But I haven't gotten around to figuring out how to do
12163 that. I *think* it'll be something like: "table" == inset.type()
12165 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12168 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
12170 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12171 all the citation/databases/styles in the auxilary file.
12172 (run): Rerun latex if there was a babel language error.
12174 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
12176 * text.C (Backspace): Preserve the font when changing newline char
12178 (BreakParagraph): If the cursor is before a space, delete the space.
12180 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12182 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
12184 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12185 new argument (code).
12186 (ChangeCitationsIfUnique): New method.
12188 * paragraph.C (GetPositionOfInset): Handle bibkey.
12190 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12192 * BufferView_pimpl.h: change type of Position::par_pos to
12193 LyXParagraph::size_type.
12195 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
12197 * BufferView_pimpl.C (savePosition, restorePosition): Write
12198 messages to minibuffer.
12200 2001-01-28 José Matos <jamatos@fep.up.pt>
12202 * buffer.C (makeDocBookFile): adds support for document language.
12203 A silly restriction on the name of LatexCommand types where removed.
12204 Added support for CDATA sections, allows to chars unescaped, used
12205 among others in code, to avoid escape < and >.
12207 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12209 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12210 saved positions instrad of a stack. Furthermore, a position is
12211 stored using paragraph id/paragraph position.
12213 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12214 Remove LFUN_REF_BACK.
12216 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12218 * converter.C (dvipdfm_options): New method.
12220 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
12222 * vspace.C (isValidLength): Fix for empty input string.
12224 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12226 * LyXAction.C (init): change description of LFUN_FIGURE to
12229 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12231 * LaTeX.C: add using directive
12233 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12235 * MenuBackend.C (expand): Fix the sorting of the formats.
12237 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
12239 * lyx_main.C: tiny error message fix
12241 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12243 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12244 calling fl_initialize(). This fixes the problem with ',' as
12245 decimal separator in text files.
12247 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12249 * trans.C (process): Fix the keymap bug.
12251 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
12253 * LaTeX.C (scanAuxFiles): New method. Provides support for
12254 multiple bibliographies (when using the bibtopic/bibunits pacakges).
12255 (scanLogFile) Scan for "run BibTeX" messages.
12257 * buffer.C (makeLaTeXFile): Do not load the ae package when using
12258 OT1 font encoding. Also, load the aecompl package if the ae
12261 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12263 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12265 * texrow.C (increasePos): turn two error messages into debug
12268 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
12270 * LaTeX.C (scanAux): Handle the \@input macro.
12271 (runBibTeX): Use scanAux().
12273 * language.C (latex_options_): New field.
12275 * LaTeXFeatures.C (getMacros): Add language macros.
12277 * buffer.C (makeLaTeXFile): Small fix.
12279 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12281 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12283 * text2.C: add a using directive.
12285 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
12290 * lyxfunc.C: kill LyXBell.
12292 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
12294 * text.C (IsBoundary): Remove the error message
12296 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
12298 * lyxrc.C (setDefaults): Correct initialization value for
12301 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
12303 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
12306 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
12307 and GotoNextNote().
12309 * src/LyXAction.C: Added reference-next.
12311 * text.C (InsertChar): Use contains instead of strchr.
12313 * lyx_cb.C (MenuInsertLabel): Enable default value code.
12315 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
12317 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
12318 alignment commands (when needed).
12320 * text.C (InsertChar): Add ':' to number separator chars.