1 2003-09-02 John Levon <levon@movementarian.org>
7 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
9 2003-09-02 John Levon <levon@movementarian.org>
11 * text2.C: simplification of cursorEnd(), including partial
14 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
16 * buffer.C (readFile): add a space
18 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
20 * BufferView_pimpl.C (update): remove bogus fitCursor() call
22 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
24 * buffer.C (readFile): new function, take a filename and a
25 ParagraphList::iterator
27 (readFile): adjust, make it private. don't use setStream, make
28 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
29 always contain the filename.
31 * BufferView.C (insertLyXFile): simplify and make it work for
34 2003-08-30 John Levon <levon@movementarian.org>
36 * Makefile.am: fix dist (from Kayvan)
38 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
40 * most files: change to use const Buffer refs
42 2003-08-27 André Pönitz <poenitz@gmx.net>
44 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
47 2003-08-27 John Levon <levon@movementarian.org>
49 * funcrequest.C: properly initialise POD members
51 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
53 * lyxtext.h (top_y): move top_y from here
58 * BufferView_pimpl.[Ch]: to here
60 * insets/insettabular.C:
61 * insets/insettext.C: adjust
62 * rowpainter.[Ch] (paintRows): remove LyXText & argument
64 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
67 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
69 2003-08-26 André Pönitz <poenitz@gmx.net>
71 * paragraph_func.[Ch] (outerPar): new function
77 * text2.C: remove Inset::par_owner
79 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
84 * text2.C: eliminates the needFullRow/display() stuff
85 altogether, putting the logic in metrics/draw in the insets.
87 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
89 * text2.C (redoParagraphInternal, redoParagraphs):
90 * text.C (redoParagraph): add a call to updateRowPositions at the
91 end of each 'metrics-like' call. Remove all others.
92 (getRow): remove the 'y-computing' version.
93 (getRowNearY): do not compute nor return the real y. Solve the
94 'y < 0' problem and simplify.
96 2003-08-22 Angus Leeming <leeming@lyx.org>
98 * *.[Ch]: clean-up of licence and author blurbs.
99 Also move config.h out of a few .h files and into a few .C files.
101 2003-08-22 André Pönitz <poenitz@gmx.net>
103 * lyxrow.[Ch]: add x_ and *fill_ members
108 * text2.C: adjust/remove prepareToPrint() calls
110 2003-08-22 André Pönitz <poenitz@gmx.net>
112 * lyxrow.[Ch]: add end_ member
114 * lyxrow_funcs.C: use LyXRow::end_
116 * lyxtext.h (singleWidth): add LyXFont parameter
119 * text2.C: adjust LyXText::singleWidth() calls
121 * text.C (redoParagraph): simplify row breaking logic
124 2003-08-19 André Pönitz <poenitz@gmx.net>
126 * funcrequest.C: initialize button_ member
129 * rowpainter.[Ch]: interface consolidation
131 2003-08-18 André Pönitz <poenitz@gmx.net>
134 * BufferView_pimpl.C:
138 * text3.C: remove LyXScreen::draw() and fitCursor calls
140 * BranchList.h: remove spurious semicolons
142 * MenuBackend.C: fix branchlist related crash
144 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
156 * text3.C: implements the 'branch inset'
157 idea. This allows the output of various versions of a document
158 from a single source version, selectively outputing or suppressing
159 output of parts of the text.
160 This implementation contains a 'branch list editor' in a separate
161 tab of the document settings dialog. Branches are user definable
162 and have a "display colour" to distinguish them on-screen.
164 ColorHandler was somewhat cleaned up.
165 (1) make possible a dynamically growing LColor list by allowing
166 the graphic context cache to grow along (vector);
167 (2) eliminate an IMHO unnecessary step in colour allocation.
169 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
171 * BufferView_pimpl.C: compile fix
173 2003-08-15 André Pönitz <poenitz@gmx.net>
175 * rowpainter.C: remove extra metrics calls
177 * lyxtext.h: merge the two constructors into a single one,
178 pass reference to owner's par list
180 * BufferView_pimpl.C:
184 2003-08-15 André Pönitz <poenitz@gmx.net>
194 * text_funcs.C: split LyXText::rowlist_ into individual
195 Paragraph::rows_ chunks
198 * BufferView_pimpl.[Ch]:
201 * text3.C: remove toggleSelection()
203 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
205 * bufferlist.C: beautify two alerts (shorter text of buttons)
206 * buffer.C: Remove redundant ' ' from message
208 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
209 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
210 rename VALIGN_CENTER to VALIGN_MIDDLE
212 2003-08-11 André Pönitz <poenitz@gmx.net>
214 * lyxtext.h (getPar):
215 * text.C: new function
217 2003-08-11 André Pönitz <poenitz@gmx.net>
220 * tracer.[Ch]: remove unneeded files
222 * InsetList.[Ch]: remove resizeInsetsLyXText()
227 * text3.C: merge insertParagraphs() and appendParagraph()
228 remove breakAgain(), update()
230 * BufferView_pimpl.[Ch]:
231 * bufferview_funcs.[Ch]:
235 * tabular.C: adjust after text & InsetList changes.
237 2003-08-08 André Pönitz <poenitz@gmx.net>
239 * text.C (insertChar, backspace): replace rowlist fiddling
240 with rebreak of full par
243 * text.C (breakAgainOneRow, redoHeightOfParagraph,
244 checkParagraph, updateInset): removed
246 2003-08-07 André Pönitz <poenitz@gmx.net>
249 * text3.C: merge some LFUN handlers, remove dead code
251 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
253 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
255 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
257 * text2.C (DEPM): fix part of bug 1255 and 1256
259 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
261 * BufferView_pimpl.C (workAreaDispatch): change to use
262 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
263 that are no mouse related.
265 2003-08-05 André Pönitz <poenitz@gmx.net>
268 * BufferView_pimpl.[Ch]:
269 * bufferview_funcs.C:
271 * text3.C: rip out "deep update"
273 * textcursor.[Ch] (last_sel_cursor): remove unused member
275 2003-08-04 André Pönitz <poenitz@gmx.net>
278 * BufferView_pimpl.[Ch]:
279 * ParagraphParameters.C:
280 * bufferview_funcs.C:
286 * text3.C: replace "complicated" BufferView::update(...) calls with
289 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
291 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
293 * Makefile.am (lyx_SOURCES): add paper.h
295 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
297 * Makefile.am: move things around so that both lyx-qt and
298 lyx-xforms can be built (according to --with-frontend). Then lyx
299 is a symbolic link to lyx-[firstfrontend]
301 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
303 * Always use std::endl with lyxerr
305 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
307 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
309 2003-08-01 André Pönitz <poenitz@gmx.net>
312 * BufferView_pimpl.[Ch]:
314 * text3.C: merge BufferView::repaint() and BufferView::update()
316 2003-08-01 José Matos <jamatos@lyx.org>
318 * buffer.[Ch]: file_format is no longer a buffer data element.
320 2003-08-01 André Pönitz <poenitz@gmx.net>
325 * text2.C: make redoParagraph more independent of current cursor
327 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
329 * text2.C: remove unneeded members
331 2003-07-30 André Pönitz <poenitz@gmx.net>
333 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
335 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
336 create a single function...
338 * paragraph_funcs.C (moveItem): ... here.
341 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
343 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
345 * LColor.[Ch]: Add comment and greyedout logical colors.
347 2003-07-30 André Pönitz <poenitz@gmx.net>
349 * tabular.C: don't use Assert too heavily. This crashes where it
352 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
354 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
355 is disabled (bug 1232)
357 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
359 * factory.C: limited 'arg' scope
361 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
363 * factory.C: fixed Note submenu issues
365 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
367 * factory.C: submenu for Note/Comment/Greyedout
369 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
372 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
374 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
377 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
378 greyedout. Patch provided by Jürgen Spitzmüller.
380 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
382 * kbmap.C (read): fix error message when reading bind files
384 2003-07-29 Angus Leeming <leeming@lyx.org>
386 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
387 certainly does not do what it purports to do. I am doing it, and
388 us, a favour by killing it.
390 2003-07-28 José Matos <jamatos@lyx.org>
392 * buffer.C (readBody, do_writeFile):
393 * paragraph.C(readParagraph): \end_document replaces \the_end.
395 2003-07-29 André Pönitz <poenitz@gmx.net>
398 * BufferView_pimpl.[Ch]:
402 * textcursor.[Ch]: remove toggleToggle & Co
404 2003-07-28 José Matos <jamatos@fep.up.pt>
406 * buffer.C (readParagraph):
407 * params_func (readParToken, readParagraph):
408 * paragraph.C (write): \layout -> \begin_layout.
410 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
412 * lyxlex_pimpl.C (setFile): clean up slightly.
414 * bufferparams.h: add compressed var
416 * buffer_funcs.C (readFile): adjust for LyXLex change
417 (newFile): ditto + simplify
419 * buffer.C (writeFile): handle writing of compressed files
421 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
422 Check if the file is compressed and set a bufferparm if so.
424 * Makefile.am (lyx_LDADD): remove explicit -lz
426 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
428 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
429 makeDocBookFile): put the real LyX version in the first line of
433 * version.C.in: remove lyx_docversion
435 * tabular.C (write_attribute): add a template-based version to
438 2003-07-28 André Pönitz <poenitz@gmx.net>
443 * text3.C: use doubles again for x-coordinates. They are needed.
445 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
447 * messages.C (getLocaleDir): use lyx_localedir()
449 * lyxlex_pimpl.C (setFile): compress stuff
451 * buffer.C (writeFile): add some compression stuff
452 (do_writeFile): new func, dont call expliti close... will this
455 * Makefile.am (lyx_LDADD): add -lz
457 2003-07-28 José Matos <jamatos@fep.up.pt>
459 * buffer.C: increment file format.
460 * paragraph_funcs (readParagraph, readParToken):
461 * paragraph.C (readParagraph): add \end_layout.
463 2003-07-27 Angus Leeming <leeming@lyx.org>
465 * Makefile.am: remove special casing for configure-time setting of
466 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
468 * lyx_main.C (init): remove all Jean-Marc's magic setting of
469 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
471 2003-07-26 André Pönitz <poenitz@gmx.net>
473 * paragraph_func.[Ch]:
474 * paragraph.C (realizeFont): inline it whereever it is used
479 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
482 2003-07-26 André Pönitz <poenitz@gmx.net>
486 * text2.C: get rid of LyXText::need_break_row
488 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
490 * toc.[Ch]: put namespace toc inside namespace lyx
492 * MenuBackend.C (expandToc2): adjust for lyx::toc
495 * lyxfunc.C (dispatch): adjust for lyx::find
497 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
498 lyx::find instead. Reorganize a bit.
499 (LyXReplace): rename to replace
500 (LyXFind): rename to find
502 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
505 2003-07-26 André Pönitz <poenitz@gmx.net>
507 * text.C (setHeightOfRow): restrict scope of temporary variable
509 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
510 code (never has been used?)
512 2003-07-27 Asger Alstrup <alstrup@local>
514 * text.C (fill): Optimise algorithm to exploit that we can reuse
515 the LyXFont for many characters.
516 (setHeightOfRow): Same thing.
517 (rowBreakPoint): Same thing.
519 2003-07-26 Asger Alstrup <alstrup@local>
521 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
523 * text.C (singleWidth): Spurious font copying in hot-spot
524 singleWidth avoided. Reorder tests for arabic for efficiency.
526 * text.C (fill): handle empty paragraphs better.
528 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
531 * encoding.h: add includes
533 * lyxrc.C: remove reading of bind files
535 * lyx_main.C (init): setup bindings and menus only if we have a
538 * kbmap.C (read): new method. Do the actual reading of bind
541 * converter.C (dvipdfm_options):
544 (output): adapt PAPER_* enums.
546 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
548 * bufferparams.h: remove paper-related enums from there
550 * paper.h: New file. A trivial header file to hold paper-related
551 enums. It should later expand to contain many paper-related
554 * lyxrc.C: declare extern displayTranslator
556 2003-07-27 José Matos <jamatos@fep.up.pt>
558 * tabular.[Ch] (linuxdoc): add support for tables and figures
561 2003-07-27 José Matos <jamatos@fep.up.pt>
563 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
564 consistency in both functions.
565 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
567 2003-07-26 Asger Alstrup <alstrup@local>
569 * rowpainter.C (paintRows): Change algorithm to work directly on
570 the insets rather than asking every character in the document
571 whether its an inset.
573 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
575 * buffer.C (openFileWrite): factorize some code
577 2003-07-26 Angus Leeming <leeming@lyx.org>
580 * lyx_main.[Ch]: replace occurances of system_tempdir with
583 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
585 * rename Inset to InsetOld
587 2003-07-25 Asger Alstrup <alstrup@diku.dk>
589 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
590 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
591 which I think is a bit clearer. EDIT is gone, since it was
592 premature optimisation, and broken for mathed anyway.
593 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
594 with cursor positioning in insets as well (math insets still do not
595 work, but that's a different story anyway.) It mysteriously
596 crashes sometimes with undo in the first paragraph, but I'm fairly
597 confident that this is a compiler bug.
599 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
601 * paragraph.C (Paragraph): adjust for new clone return type
603 (copyIntoMinibuffer): ditto
605 2003-07-25 Asger Alstrup <alstrup@lyx.org>
607 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
608 by not having a special case, and always doing a full rebreak of
609 the document after undo.
611 2003-07-23 Angus Leeming <leeming@lyx.org>
613 * factory.C (createInset): InsetExternal::setParams now takes a
616 2003-07-23 Angus Leeming <leeming@lyx.org>
618 * factory.C (createInset): changed interface to the external and
619 graphics mailers' string2params functions.
621 2003-07-23 Angus Leeming <leeming@lyx.org>
623 * factory.C (createInset): pass a
624 Buffer const * parameter to InsetExternalMailer's string2params.
626 2003-07-22 John Levon <levon@movementarian.org>
628 * Thesaurus.h: include the right aiksaurus header
630 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
632 * MenuBackend.C (expand): check menu shortcuts unconditionally
634 2003-07-21 Angus Leeming <leeming@lyx.org>
636 * factory.C (createInset): pass a
637 buffer_path parameter to InsetGraphicsMailer's string2params.
639 2003-07-21 Angus Leeming <leeming@lyx.org>
641 * BufferView_pimpl.C (buffer):
644 * lyxfunc.C (dispatch):
645 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
646 rather than the grfx shortcut.
648 2003-07-21 André Pönitz <poenitz@gmx.net>
650 * rowpainter.C: remove unused variables
653 * tabular_funcs.h: move to tabular.C
654 * Makefile.am: adjust
656 * tabular.[Ch]: basic optical cleaning
658 * author.h: pass references, not values
660 2003-07-18 André Pönitz <poenitz@gmx.net>
668 * text3.C: two-phase drawing for InsetText and InsetTabular
669 some float -> int changes.
671 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
673 * lyx_main.C: fix the fix
675 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
677 * lyx_main.C: fix a crash in batch mode if no files specified
680 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
682 * format.[Ch] (papersize): moved to BufferParams
683 * converter.[Ch] (dvips_options): moved to BufferParams
684 (dvipdfm_options): moved to anon namespace
685 * bufferparams.[Ch]: added above functions.
687 2003-07-17 André Pönitz <poenitz@gmx.net>
691 * text2.C: don't call inset->update() anymore
693 * metricsinfo.[Ch]: add convenience constructor
695 2003-07-16 André Pönitz <poenitz@gmx.net>
700 * text2.C: replace the LyXCursor::irow_ member with
701 on-demand computation of the value
703 2003-07-16 John Levon <levon@movementarian.org>
705 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
707 2003-07-15 André Pönitz <poenitz@gmx.net>
710 * text2.C: remove no more needed refresh_row
712 2003-07-15 André Pönitz <poenitz@gmx.net>
717 * text3.C: refresh_status tristate -> need_update bool
719 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
721 * lyxtext.h (init): remove reinit argument (act as if always true)
722 * text2.C: adjust to that
724 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
726 * bufferview_funcs.[Ch]: introduce function replaceSelection()
727 * text3.C: use it to delete selections in some cases
728 (bugs 441, 673, 702, 954).
730 2003-07-14 André Pönitz <poenitz@gmx.net>
732 * rowpainter.[Ch]: reduce interface
734 2003-07-14 André Pönitz <poenitz@gmx.net>
736 * BufferView_pimpl.C:
737 * text2.C: adjust after removing unused BufferView * argument
739 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
741 * text2.C (init): fix a crash fired on resize
743 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
745 * buffer.[Ch]: added new closing signal
746 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
747 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
748 BufferView::Pimpl via the closing the signal
750 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
752 * buffer.[Ch]: take out all bv-related from buffer
754 * BufferView_pimpl.[Ch]: connect to new signals
755 * CutAndPaste.C: removed useless asserts
756 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
759 * lyxfunc.C: moved view-related funciontality from vc here
760 * paragraph.C: removed outdated comments
763 2003-07-10 André Pönitz <poenitz@gmx.net>
765 * BufferView_pimpl.C:
769 * text2.C: remove InsetText::InnerCache, clean up consequences
771 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
773 * ispell.C: fix two typos in error messages
775 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
777 * Extend Note inset to other forms of annotation like Comment
778 and Greyedout. Right button click gives dialog.
780 Files modified or added (+):
786 * Makefile.am in frontends/xforms, frontends/xforms/forms,
787 frontends/controllers
791 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
793 * aspell.C: add missing namespace lyx::support
795 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
797 * BufferView.[Ch] (newFile): Add
798 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
799 * LaTeX.[Ch] (message): added this signal and use it
800 * buffer.[Ch] (busy, message): added these signals and use them
801 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
805 * importer.C: use buffer signals instead of direct bv calling
806 * lyx_cb.[Ch] (ShowMessage): removed
810 * text2.C: use buffer signals
812 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
814 * introduce namespace lyx::graphics
816 2003-07-02 André Pönitz <poenitz@gmx.net>
818 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
820 2003-07-01 André Pönitz <poenitz@gmx.net>
827 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
828 text*.C to text_func.C
830 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
832 * introduce namespace lyx::support
834 2003-06-30 André Pönitz <poenitz@gmx.net>
839 * text.C: re-enable --with-included-string
841 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
843 * textcursor.C: add <config.h>
845 * text.C (getWord): remove const from word_location arg
847 * lyxvc.C (getLogFile): fix const type order
849 * lyxtext.h: remove const from word_location arg, add arg name
851 * lyxlayout.h: currect type on labeltype.
853 * importer.C: correct \file
855 * converter.C (intToFormat): use std:: on ret val, ws changes
857 * bufferlist.h: correct \file
859 * buffer.C (makeLinuxDocFile): fix const type order
860 (makeDocBookFile): ditto
861 (fillWithBibKeys): use std:: on stdlib args.
863 * CutAndPaste.C: fix authors.
864 (availableSelections): use std:: on return vector
866 2003-06-27 André Pönitz <poenitz@gmx.net>
868 * BufferView_pimpl.C:
869 * bufferview_funcs.C:
877 * text3.C: remove LyXCursor::row_ member
880 * text.C: rename fullRebreak() to partialRebreak() and implement
881 a fullRebreak() that really bereks fully
883 * textcursor.h: new struct for cursor-related data
885 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
887 * lyx_main.C (LyX): get full path of document loaded on the
890 2003-06-26 André Pönitz <poenitz@gmx.net>
892 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
893 remove unused/broken operator>,<,>=.
895 * text.C: remove only use of broken operator<= in an Assert().
897 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
899 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
900 moved errorlist_.clear to showErrorList
902 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
904 * converter.C (scanLog, runLaTeX):
905 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
906 move the bv->showErrorList call to the callers
907 * lyxfunc.C: i.e. here...
909 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
910 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
911 namespace, the second to...
912 * buffer_funcs (BufferFormat, parseErrors): added
913 * errorlist.C (ErrorList(TeXErrors const &)): removed
915 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
917 * ToolbarBackend.C (getIcon): complain when icon cannot be found
919 2003-06-24 "Garst R. Reese" <reese@isn.net>
923 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
925 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
927 * version.C.in: change docversion to 1.4
929 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
931 * buffer.C: fix a bug just introduced
933 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
935 * buffer.[Ch]: added the parseError signal and use it, removed
937 * BufferView.[Ch] (addError): moved to ...
938 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
939 to the Buffer::parseError signal to catch (guess what) parse errors
940 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
942 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
944 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
945 ability to create a buffer and to return an existing one from
946 the list. Moved these functions to...
947 * buffer_funcs.[Ch]: added
948 * BufferView.[Ch] (loadLyXFile): added
949 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
950 job removed from bufferlist::loadLyXFile.
951 * buffer.C (setReadOnly): make it work without view
952 (i.e added an if (users))
954 2003-06-19 Angus Leeming <leeming@lyx.org>
957 * LyXAction.C (init):
958 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
959 with LFUN_DIALOG_SHOW <name> <data>.
961 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
963 * CutAndPaste.C (availableSelections): small compilation fix for
964 ancient (gcc 2.9x) compilers
966 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
968 * text3.C (cursorNext): add tmp var
970 * text2.C (updateCounters): for function calling out of for clause
971 (replaceSelectionWithString): ditto
972 (insertStringAsParagraphs): ditto
973 (getColumnNearX): add tmp var
974 (setCursorFromCoordinates): add tmp var
975 (cursorDownParagraph): add tmp var
976 (deleteEmptyParagraphMechanism): add tmp var
978 * text.C (insertChar): add tmp var
980 * rowpainter.C (paintDepthBar): add tmp var
982 * CutAndPaste.C (availableSelections): potentially check all
983 paragraphs in a cut to fill the shown strings.
985 2003-06-18 André Pönitz <poenitz@gmx.net>
987 * kbmap.[Ch]: use vector<> instead of list<>
989 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
991 * text3.C (dispatch): handle arg to LFUN_PASTE, call
992 pasteSelection with index
994 * text2.C (pasteSelection): modify, call pasteSelection with index
996 * paragraph.C (asString): reimplement version with no interval to
997 call the one with interval.
999 * lyxtext.h: add index arg to pasteSelection
1001 * MenuBackend.C (MenuItem): handle PasteRecent
1002 (Menu::read::Menutags): add md_pasterecent
1004 (expandPasteRecent): new function
1007 * MenuBackend.h: add PasteRecent to MenuItem::Kind
1009 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1011 (availableSelections): new function
1013 2003-06-17 Angus Leeming <leeming@lyx.org>
1015 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1017 2003-06-17 Angus Leeming <leeming@lyx.org>
1020 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1022 * lyxfunc.C (dispatch): invoke it.
1024 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1026 * iterators.C (operator++, ParPosition): reintroduce some
1027 const_cast for the benefit of older compilers.
1029 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1031 * text3.C (dispatch): do not modify clipboard when doing
1032 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1033 LFUN_DELETE_SKIP on a selection selection
1035 2003-06-16 André Pönitz <poenitz@gmx.net>
1041 * tabular.[Ch]: IU of clone() and getLabelList();
1043 2003-06-13 André Pönitz <poenitz@gmx.net>
1045 * tabular.h: compactification
1047 2003-06-12 André Pönitz <poenitz@gmx.net>
1051 * tabular_funcs.h: some renaming plus whitespace
1053 2003-06-12 André Pönitz <poenitz@gmx.net>
1056 * BufferView_pimpl.C:
1062 * toc.C: Return a Paragraph & for ParIterator::operator*()
1064 2003-06-11 John Levon <levon@movementarian.org>
1068 * ToolbarBackend.C: add "Toolbars" section and
1071 2003-06-10 Angus Leeming <leeming@lyx.org>
1074 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1076 * lyxfunc.C (dispatch): invoke it.
1078 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1080 * main.C: protect <ios> with HAVE_IOS
1081 (main): protect sync_with_stdio with HAVE_IOS
1083 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
1085 * text2.C (cutSelection): adjust
1086 (pasteSelection): adjust
1088 * messages.C: handle get of empty string
1090 * main.C (main): use sync_with_stdio(false)
1092 * lyxfunc.C (dispatch): adjust
1094 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1095 (WriteAs): remove unneeded BufferView arg.
1097 * bufferparams.h: use correct types on papersize, papersize2 and
1100 * bufferparams.C (readToken): adjust for type
1101 (writeLaTeX): add missing cases to switch.
1103 * bufferlist.C (quitWriteBuffer): adjust
1106 * buffer.C (asciiParagraph): remove some commented code.
1108 * CutAndPaste.C: remove current_view extern variable.
1109 (cutSelection): add BufferParams arg.
1110 (eraseSelection): add BufferParams arg.
1111 (pasteSelection): add Buffer const & arg
1113 2003-06-07 John Levon <levon@movementarian.org>
1116 * paragraph_funcs.C:
1117 * paragraph_pimpl.C:
1121 * paragraph.C: allow InsetERT to freely space lines,
1122 and some consolidation of code
1124 2003-06-06 José Matos <jamatos@fep.up.pt>
1126 * buffer.C (makeDocBookFile): fix bug #821
1128 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
1130 * BufferView_pimpl.C (dispatch): use Dialogs::visible
1132 2003-06-04 Angus Leeming <leeming@lyx.org>
1134 * buffer.C: bump format to 224.
1136 2003-06-05 André Pönitz <poenitz@gmx.net>
1138 * text2.C (redoParagraphs): remove two const_cast<>
1140 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1142 * ParagraphList.h: remove last remnants of NO_STD_LIST
1144 2003-06-03 Angus Leeming <leeming@lyx.org>
1146 * factory.C (createInset): small change to the way InsetExternal's params
1149 2003-06-04 André Pönitz <poenitz@gmx.net>
1151 * buffer.h: use Undo directly instead of shared_ptr<Undo>
1153 * paragraph_pimpl.h:
1154 * paragraph.[Ch]: some Inset -> UpdatableInset changes
1156 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1158 * undo_funcs.C: make some simple cases of undo work again
1160 2003-06-03 John Levon <levon@movementarian.org>
1162 * ispell.C: HPUX doesn't have sys/select.h
1165 2003-06-03 John Levon <levon@movementarian.org>
1167 * CutAndPaste.C: update tabular and include inset
1172 * paragraph.C: remove owningBuffer(), don't pass Buffer
1175 * factory.C: insetGraphicsParams changed
1177 2003-06-02 John Levon <levon@movementarian.org>
1183 * text3.C: remove insetparent
1185 2003-06-02 John Levon <levon@movementarian.org>
1188 * buffer.C: fix inset_iterator.end(), move out of line
1191 2003-06-01 John Levon <levon@movementarian.org>
1193 * text3.C: use a proper cut/paste when doing inset
1194 insert (from Jürgen Spitzmüller)
1196 2003-06-01 John Levon <levon@movementarian.org>
1198 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1200 2003-05-30 André Pönitz <poenitz@gmx.net>
1202 * rowpainter.C: unify second drawing phase
1204 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1206 * trans_mgr.C: remove one case of current_view
1208 * text2.C (cursorBottom): delete NO_STD_LIST stuff
1210 * paragraph_funcs.h: remove paragraph.h include
1212 * paragraph.h: delete NO_STD_LIST stuff
1214 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1216 * buffer.h: remove paragraph.h include
1218 * ParagraphList.C: delete file
1220 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1222 * toc.C (getTocList): adjust
1224 * paragraph_pimpl.C (validate): adjust
1226 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1228 * paragraph.C (Paragraph): adjust
1229 (getPositionOfInset): use const_iterator, adjust
1230 (bibitem): use const_iterator, adjust
1231 (setInsetOwner): adjust
1233 * iterators.C (operator++): adjust
1235 * InsetList.[Ch]: Replace selfmade iterator with standard
1236 vector::iterator also introduce const_iterator. Remove getPos,
1237 getInset and setInset from InsetTable. Adjust accordingly.
1239 * BufferView.C (lockInset): adjust
1240 (ChangeInsets): adjust
1242 * tabular.[Ch]: delete commented same_id functions
1244 2003-05-28 John Levon <levon@movementarian.org>
1246 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1248 2003-05-28 André Pönitz <poenitz@gmx.net>
1250 * metricsinfo.[Ch]: remove 'fullredraw' member
1252 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
1254 * lyxtextclass.C (operator): remove caching.
1256 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1260 * text2.C (cursorBottom): adjust
1261 (setCounter): use ParagraphList::find, adjust
1263 * text.C (workWidth): use ParagraphList::find, adjust
1265 * lyxcursor.C (LyXCursor): adjust
1267 * buffer.C (inset_iterator): adjust
1269 * ParagraphList.h: make iterator(value_type) private, make
1270 ParagraphList a friend of iterator.
1272 * ParagraphList.C (find): new function
1274 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1276 2003-05-27 André Pönitz <poenitz@gmx.net>
1278 * dimension.[Ch]: a -> asc, d -> des, w -> wid
1280 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1282 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
1284 2003-05-26 John Levon <levon@movementarian.org>
1286 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
1288 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1290 * remove same_id from function signatures, adjust.
1292 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1294 * undo_funcs.C (createUndo): use the id functions directly, adjust.
1296 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
1298 * paragraph.C (Paragraph): get rid of same_ids parameter
1300 * ParagraphList.C (insert): adjust
1303 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1305 * paragraph_funcs.C (breakParagraph): adjust
1306 (breakParagraphConservative): adjust
1308 * buffer.C (readParagraph): adjust
1310 * ParagraphList.C (insert): take a reference instead of a pointer
1313 * paragraph.[Ch] (id): new function
1315 * bufferlist.C (newFile): adjust
1317 * ParagraphList.C (ParagraphList): adjust
1319 (push_back): take a reference instead of a pointer.
1321 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
1323 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
1326 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
1327 set else use old code.
1329 * ParagraphList.C: remove all NO_NEXT code and only compile this
1330 code of NO_STD_LIST is set.
1332 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1334 * BufferView_pimpl.C:
1344 * graphics/GraphicsConverter.C:
1345 * graphics/PreviewLoader.C: header adjustment
1347 2003-05-23 Angus Leeming <leeming@lyx.org>
1349 * LaTeXFeatures.[Ch] (useBabel): new method.
1350 * bufferparams.C (writeLaTeX): use it.
1352 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1354 * ParagraphList.h (set): remove unused function.
1356 2003-05-23 André Pönitz <poenitz@gmx.net>
1359 * BufferView_pimpl.C:
1363 * undo_funcs.C: setUndo reworked
1365 * iterators.[Ch]: add access to topmost ParagraphList
1367 * lyxtext.[Ch] (workWidth): add a const
1369 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1371 * texrow.[Ch] (increasePos): remove function
1372 * exporter.C (export): removed unused var and outdated comment
1374 2003-05-23 Angus Leeming <leeming@lyx.org>
1376 * latexrunparams.h: rename fragile as moving_arg.
1377 * paragraph.C (simpleTeXOnePar): ditto.
1378 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
1380 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1382 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
1384 (textUndoOrRedo): comment out a currently unused var.
1386 * paragraph.h (NO_NEXT): enable NO_NEXT
1388 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
1390 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
1392 * exporter.C (Export): adjust for removeAutoInsets removal.
1394 * buffer.C (runChktex): adjust for removeAutoInsets removal.
1396 * LyXAction.C (init): remove LFUN_REMOVEERRORS
1398 * BufferView.[Ch] (removeAutoInsets): delete function
1400 2003-05-22 Angus Leeming <leeming@lyx.org>
1402 * latexrunparams.h: add a free_spacing variable.
1404 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
1405 to pass moving_arg, as the data is stored in runparams.fragile.
1407 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
1408 to Inset::latexOptional or to simpleTeXOnePar.
1410 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
1411 free_spacing arg to Inset::latexOptional.
1413 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1416 2003-05-22 Angus Leeming <leeming@lyx.org>
1418 * latexrunparams.h: add fragile and use_babel variables.
1420 * bufferparams.[Ch] (writeLaTeX): return use_babel.
1421 * buffer.C (makeLaTeXFile): store this returned value in
1422 runparams.use_babel, thus passing it to the inset::latex methods.
1424 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
1425 simpleTeXSpecialChars as it is now stored in runparams.fragile.
1427 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
1428 longer has a fragile arg, as it is stored in runparams.fragile.
1430 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
1431 moving_arg parameter as the data is stored in runparams.fragile.
1433 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1434 a fragile parameter as the data is stored in runparams.fragile.
1436 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1438 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
1440 2003-05-22 Angus Leeming <leeming@lyx.org>
1442 * latexrunparams.h: add a 'bool nice' which defaults to false.
1444 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
1445 now encapsulated within runparams.
1447 * bufferlist.C (updateIncludedTeXfiles):
1448 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
1450 2003-05-22 Angus Leeming <leeming@lyx.org>
1452 * latexrunparams.h: new file containing struct LatexRunParams.
1453 * Makefile.am: add new file.
1455 * LaTeX.[Ch] (c-tor, run):
1456 * buffer.[Ch] (makeLaTeXFile):
1457 * bufferlist.[Ch] (updateIncludedTeXfiles):
1458 * converter.C (convert, scanLog):
1459 * converter.[Ch] (runLaTeX):
1460 * exporter.C (Export):
1461 * paragraph.[Ch] (simpleTeXOnePar):
1462 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
1463 * paragraph_funcs.[Ch] (latexParagraphs):
1464 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
1465 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
1466 pass around a LatexRunParams parameter.
1468 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1470 * paragraph.[Ch]: remove unused constructor
1472 * ParagraphList.C (erase): new function, taking two iterators
1474 2003-05-22 André Pönitz <poenitz@gmx.net>
1476 * undo_funcs.C: remove duplicated code
1478 * iterator.[Ch]: operator=
1480 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1482 * tabular.C (SetMultiColumn): ws changes
1484 * rowpainter.C (paintFirst): get rid of a ->previous
1486 * lyx_cb.C (getPossibleLabel): parlist simplification
1488 * BufferView.C (ChangeInsets): simplify slightly.
1490 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1492 * LyXAction.C: new lfun space-insert, kill protected-space-insert
1493 * lfuns.h: new LFUN_SPACE
1494 * lyxfunc.C: protected space has a new lfun
1495 * paragraph_funcs.C: read new space insets
1497 * factory.C: handle new space insets
1499 2003-05-22 André Pönitz <poenitz@gmx.net>
1502 * BufferView_pimpl.C:
1505 * undo_funcs.C: return a ParIterator from getParFromID.
1507 * iterators.[Ch]: add two const's
1509 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1511 * toc.C (getTocList): adjust
1513 * iterators.[Ch]: rework for parlist
1515 * buffer.C (par_iterator_begin): adjust
1516 (par_iterator_end): adjust
1518 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
1520 * BufferView.C (removeAutoInsets): adjust
1521 (ChangeInsets): adjust
1523 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
1525 * text.C (top_y): fix bug 1110
1527 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
1529 * errorlist.[Ch]: added
1532 * BufferView_pimpl.C:
1533 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
1536 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1538 * Makefile.am: ensure that lyx is relinked upon changes to the
1539 various "convenience" libs.
1541 2003-05-20 Angus Leeming <leeming@lyx.org>
1543 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
1544 files are compiled in alphabetical order again.
1546 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
1548 2003-05-19 Angus Leeming <leeming@lyx.org>
1550 * gettext.[Ch]: remove "char const * _(char const *)".
1552 2003-05-19 André Pönitz <poenitz@gmx.net>
1554 * dimension.[Ch]: promote from mathed/dimension.[Ch]
1563 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
1565 2003-05-19 André Pönitz <poenitz@gmx.net>
1569 * lyxtextclass.[Ch]:
1571 * paragraph_funcs.[Ch]:
1573 * text3.C: more insetenv work
1575 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
1577 * ParagraphParameters.C (params2string): small bug fixed
1579 2003-05-16 André Pönitz <poenitz@gmx.net>
1582 * bufferview_funcs.C: patch from Kornel Benko to prevent
1583 crash when _(...) is called twice in a statement
1585 2003-05-16 André Pönitz <poenitz@gmx.net>
1592 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
1594 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
1596 * lyx_main.C (init): remove spurious static_cast
1598 2003-05-14 André Pönitz <poenitz@gmx.net>
1600 * BufferView.C: fix format string
1602 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
1604 * BufferView.[Ch] (insertErrors): removed
1605 * BufferView.[Ch] (showErrorList): added
1606 * buffer.C (runChkTeX):
1607 * converter.C (scanLog): call showErrorList instead of inserterrors
1609 2003-05-13 André Pönitz <poenitz@gmx.net>
1611 * BufferView_pimpl.C:
1613 * bufferview_func.C:
1620 * tabular_funcs.h: tostr() from its own header
1622 * ParagraphParameters.C:
1627 * text3.C: STRCONV()
1629 2003-05-12 André Pönitz <poenitz@gmx.net>
1632 * BufferView_pimpl.C:
1636 * ParagraphParameters.C:
1640 * bufferview_funcs.C:
1653 * paragraph_funcs.C:
1657 * text3.C: boost::format -> bformat all over the place
1660 2003-05-09 André Pönitz <poenitz@gmx.net>
1662 * LColor.[Ch]: Pimpl the #include <map> away
1664 2003-05-09 John Levon <levon@movementarian.org>
1666 * bufferlist.C: never remove emergency saves
1668 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1670 * Makefile.am: better lib building
1672 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1674 * texrow.[Ch]: remove dependency on Paragraph and just store a id
1676 * paragraph_pimpl.C (simpleTeXBlanks): adjust
1677 (simpleTeXSpecialChars): adjust
1678 (simpleTeXSpecialChars): adjust
1679 * paragraph.C (simpleTeXOnePar): adjust
1680 * buffer.C (makeLaTeXFile): adjust
1682 * Makefile.am (BOOST_LIBS): allow boost as system lib.
1684 * text2.C (changeDepth): parlist cleanup
1685 (getColumnNearX): ditto
1687 * rowpainter.C (getLabelFont): parlist cleanup
1689 * bufferlist.C (newFile): parlist cleanup
1691 * CutAndPaste.C (eraseSelection): parlist cleanup
1693 * BufferView_pimpl.C (trackChanges): parlist cleanup
1696 * BufferView.C (lockInset): parlist cleanup.
1697 (ChangeInsets): ditto
1699 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1701 * CutAndPaste.h: Update file header.
1703 * CutAndPaste.C: Update file header.
1704 Store the parts cut out of the Document in a limited_stack.
1705 (copySelection): adjust
1706 (pasteSelection): new function, takes the index in the limited stack.
1707 (nrOfParagraphs): adjust
1708 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
1709 simplify error inset insertion.
1710 (checkPastePossible): adjust
1712 2003-05-06 John Levon <levon@movementarian.org>
1714 * text2.C: don't cast wrap inset to float
1716 2003-05-05 André Pönitz <poenitz@gmx.net>
1719 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
1721 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
1722 few naked Paragraph *.
1724 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
1726 * bufferparams.C: Output warning if a document with missing
1727 TeX document class is loaded
1728 * exporter.C: Disable TeX exports if the document class is missing
1731 * lyxtextclasslist.C: Handle new textclass.lst format; new method
1732 isTeXClassAvailable()
1734 2003-05-03 John Levon <levon@movementarian.org>
1737 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
1738 explicit cursor show/hide
1740 * BufferView_pimpl.h:
1741 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
1742 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
1744 * lyxfunc.C: hide cursor before dispatching.
1749 * text3.C: remove explicit cursor hides
1751 2003-05-02 André Pönitz <poenitz@gmx.net>
1753 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
1756 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
1759 * text2.C: tiny whitespace
1761 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1763 * undo_funcs.C: almost only ws changes.
1765 * ParagraphList.C (splice): just return if pl is empty.
1767 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1769 * ParagraphList.C (splice): new function.
1771 * CutAndPaste.C (pasteSelection): use it
1773 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1775 * CutAndPaste.C (pasteSelection): remove the last next and
1776 previous from this file.
1778 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1780 * CutAndPaste.C (pasteSelection): more clean up, user proper
1781 ParagraphList functions for pasteing.
1783 * ParagraphList.C (insert): new function, three arg insert
1785 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1787 * ParagraphList.C (insert): new function, three arg insert
1789 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
1792 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1794 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
1796 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1798 * CutAndPaste.C (pasteSelection): remove some unneeded code.
1800 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1802 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
1803 (copySelection): clean up a bit.
1804 (pasteSelection): use make_pair
1806 * ParagraphList.C (ParagraphList): implement copy constructor
1807 (operator=): implement, base on copy constructor.
1810 * paragraph.C (erase): return a bool
1812 * paragraph_pimpl.C (erasePos): remove function, move contents...
1813 (erase): ... here. Return a bool.
1814 (erase): call erase instead of erasePos.
1816 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
1818 * ParagraphList.h: define PitPosPair
1819 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
1820 ParagraphList, fix a bug on pasting multiple pars
1821 * text2.C: change interface to C&P
1823 2003-04-30 André Pönitz <poenitz@gmx.net>
1825 * undo_func.C: revert part of yesterday's patch 2
1827 2003-04-30 John Levon <levon@movementarian.org>
1829 * LColor.C: s/tabular/table/
1831 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1833 * text3.C (dispatch): do not convert iterator -> pointer
1834 * undo_funcs.C (setCursorParUndo): ditto
1835 * text_funcs.C (transposeChars): ditto
1837 * text2.C (setLayout): ws changes only
1839 * text.C (breakParagraph): do not convert iterator -> pointer
1841 (acceptChange): ditto
1842 (rejectChange): ditto
1847 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
1850 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1852 * text3.C (gotoInset): YABG (yet another bad getChar)
1854 2003-04-29 André Pönitz <poenitz@gmx.net>
1856 * paragraph.h: make operator= private unimplemented as long as
1859 * ParagraphList.C: whitespace
1862 * paragraph_pimpl.[Ch]:
1863 * paragraph_funcs.C:
1865 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
1868 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
1870 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1872 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
1873 * paragraph.[Ch] (erase):
1874 * paragraph_pimpl.[Ch] (erase): change return type and value
1875 * text2.C (cutSelection): some rework
1877 2003-04-28 John Levon <levon@movementarian.org>
1879 * bufferlist.C: changes for unsaved changes dialog
1881 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1883 * bufferlist.C (newFile): set language (messages_) for new
1886 * buffer.C (readFile): ws changes only.
1888 2003-04-28 André Pönitz <poenitz@gmx.net>
1893 * BufferView_pimpl.C:
1894 * BufferView.C: getParFromID related ParagraphList::iterator changes
1896 2003-04-28 André Pönitz <poenitz@gmx.net>
1898 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1901 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1903 * messages.C: remove one more localedir class variable.
1905 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1907 * messages.C (getLocaleDir): singleton generation function
1909 (Messages): add a default constructor.
1911 * main.C (main): do not setup localedir here, do not call
1914 * gettext.C (_): use it.
1915 (gettext_init): delete funciton
1917 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1919 * gettext.C (getLyXMessages): new singleton generating function.
1921 * buffer.C (updateDocLang): adjust
1923 * Makefile.am (messages.o): add target
1924 (main.o): remove target
1926 2003-04-27 John Levon <levon@movementarian.org>
1931 * lyxvc.C: specify cancel button in Alert::prompt
1933 2003-04-26 John Levon <levon@movementarian.org>
1938 * LyXAction.C: add LFUN_INSET_SETTINGS
1940 * lyxfunc.C: don't enable tabular-feature when there's
1941 just any locking inset
1943 2003-04-26 John Levon <levon@movementarian.org>
1945 * bufferlist.C: re-add Cancel to buffer close question
1947 * lyxfunc.C: fix import UI a bit
1949 2003-04-25 John Levon <levon@movementarian.org>
1951 * gettext.C: remove the broken asserts for now
1953 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1955 * messages.C: make case where setlocale cannot comply work better.
1957 * buffer.C (updateDocLang): new function
1958 (changeLanguage): use it
1961 * text2.C (setCounter): use B_ a bit.
1963 * lyxlayout.C (Read): be sure to trim the label strings.
1965 * messages.C (Messages): fix typo in comment
1967 * buffer.C (readFile): set message_ after file is loaded.
1968 (makeDocBookFile): remove double return
1969 (changeLanguage): reset message_ upon language change.
1970 (B_): new func, use this to get translated buffer strings.
1972 * main.C: add myself and Jean Marc as authors.
1974 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1976 * messages.[hC]: pimplify Messages, and three different pimpls to be
1977 used in different circumstances.
1979 * gettext.[Ch]: change for use with new message code.
1981 2003-04-24 André Pönitz <poenitz@gmx.net>
1983 * factory.C: support for eqref
1985 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1987 * messages.[Ch]: add missing char
1989 * Makefile.am (lyx_SOURCES): add messages.[Ch]
1991 * messages.[Ch]: New files
1993 2003-04-18 John Levon <levon@movementarian.org>
1997 * BufferView_pimpl.C:
2001 * text2.C: remove layout-copy/paste (bug 778)
2003 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2005 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2007 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2009 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2010 if they succeed. Act accordingly.
2012 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2014 * text2.C (setCharFont): adjust
2015 (setCounter): adjust
2016 (insertStringAsLines): adjust
2018 * text.C (leftMargin): adjust
2019 (setHeightOfRow): adjust
2021 * rowpainter.C (paintFirst): adjust
2024 * paragraph_funcs.C (depthHook): ParagraphList::iterators
2026 (isFirstInSequence): ditto
2027 (getEndLabel): ditto
2030 * paragraph.C (getParLanguage): comment out some hard stuff.
2032 * buffer.C (insertStringAsLines): take a ParagraphList as arg
2034 (simpleDocBookOnePar): ditto
2035 (makeDocBookFile): use ParagraphList::iterator
2037 * CutAndPaste.C (pasteSelection): adjust
2039 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2041 * text2.C (getFont): adjust
2042 (getLayoutFont): adjust
2043 (getLabelFont): adjust
2045 * paragraph_funcs.C (TeXOnePar): adjust
2047 * buffer.C (simpleLinuxDocOnePar): adjust
2048 (simpleDocBookOnePar): adjust
2050 * CutAndPaste.C (pasteSelection): adjust
2052 * BufferView.C (getEncoding): adjust
2054 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2056 2003-04-16 John Levon <levon@movementarian.org>
2058 * lyxfind.C: use parlist stuff for search/changes
2060 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2062 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2064 * text2.C (deleteEmptyParagraphMechanism): adjust
2066 * text2.[Ch] (ownerParagraph): delete func (both of them
2068 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2070 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2072 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2074 * ParagraphList.C: prepare for NO_NEXT
2076 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2078 * text2.C (getFont): adjust
2079 (getLayoutFont): adjust
2080 (getLabelFont): adjust
2082 * paragraph.C (getFont): adjust
2083 (getLabelFont): adjust
2084 (getLayoutFont): adjust
2086 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2088 2003-04-15 John Levon <levon@movementarian.org>
2092 * lyx_main.C: handle Include in .ui files
2094 2003-04-15 John Levon <levon@movementarian.org>
2096 * MenuBackend.C: make the doc files length shorter
2099 * ToolbarBackend.C: handle toolbar placement flags,
2102 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2104 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2107 * paragraph_funcs.C (TeXOnePar): adjust
2109 * paragraph.C (getLabelFont): add outerfont arg, adjust
2110 (getLayoutFont): ditto
2111 (simpleTeXOnePar): adjust
2113 * paragraph_pimpl.C (realizeFont): delete func
2115 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2117 * text2.C (beforeFullRowInset): added a bad getchar check, removed
2118 row argument, constify cur argument.
2120 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2122 * text2.C (getFont): adjust
2123 (getLayoutFont): adjust
2124 (getLabelFont): adjust
2126 * paragraph_funcs.C (TeXOnePar): adjust
2127 (outerFont): new func...
2128 (realizeFont): ...moved out from here, changed this to facilitate
2131 * paragraph.C (getFont): take outerfont as arg, adjust
2132 (simpleTeXOnePar): add outerfont arg, adjust
2134 * buffer.C (simpleLinuxDocOnePar): adjust
2135 (simpleDocBookOnePar): adjust
2137 * CutAndPaste.C (pasteSelection): adjust
2139 * BufferView.C (getEncoding): adjust
2141 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2143 * text2.C (setCharFont): adjust
2144 (setCounter): adjust
2146 * text.C (leftMargin): adjust
2147 (setHeightOfRow): adjust
2149 * rowpainter.C (paintFirst): adjust
2152 * paragraph_pimpl.C (realizeFont): adjust
2154 * paragraph.C (isFirstInSequence): move from here...
2155 * paragraph_funcs.C (isFirstInSequence): ...to here
2157 * paragraph.C (outerHook): move from here...
2158 * paragraph_funcs.C (outerHook): ...to here
2160 * paragraph.C (depthHook): move from here...
2161 * paragraph_funcs.C (depthHook): ...to here
2163 * paragraph.C (getEndLabel): move from here...
2164 * paragraph_funcs.C (getEndLabel): ...to here
2166 * text2.C (realizeFont): move from here...
2167 * paragraph_funcs.C (realizeFont): ...to here
2169 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2171 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2173 2003-04-14 Angus Leeming <leeming@lyx.org>
2175 * LColor.[Ch]: scrap LColor mathcursor.
2177 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2179 * lyxlex.[Ch] (text): delete function
2180 * trans.C (Load): adjust
2181 * paragraph_funcs.C (readParToken): adjust
2183 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2185 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2186 vector<char> instead of a char[].
2188 * lyxlex_pimpl.C (getString): adjust
2190 (lex): use getString
2194 * lyxlex.C (text): use pimpl_->getString()
2198 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2200 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2201 (makeFontEntriesLayoutSpecific): temp var for par.size()
2202 (setLayout): temp var for ownerParagraphs().end()
2203 (fullRebreak): temp var for rows().end()
2204 (selectionAsString): temp var for boost::next(startpit), realize
2205 that the while really is a regular for loop.
2206 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2207 setCursor in one place.
2208 (setParagraph): temp vr for ownerParagraphs().end()
2209 (updateCounters): make the while loop a for loop
2210 (cutSelection): temp var for ownerParagraphs().end()
2211 (updateInset): make the do {} while() a regular for loop
2212 (getCursorX): use temp vars
2213 (setCurrentFont): use temp vars
2214 (getColumnNearX): use temp vars
2216 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2218 * text.C (transformChar): use temp var for getChar
2219 (computeBidiTables): use temp var for row->par()
2220 (fill): move temp vars for row->par() and pit->layout() earlier in
2222 (labelFill): use temp var for row->par()
2223 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2224 asc and desc, realize that pit never changes and that firstpit is
2225 just a duplicate and not needed. Exchange rit->par() with pit in a
2227 (breakAgain): use a temp var for boost::next(rit)
2228 (breakAgainOneRow): ditto
2229 (breakParagraph): use a temp var for rows().begin()
2230 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
2231 (cursorRightOneWord): use temp var for cursor.par() and
2232 cursor.pos(), remove usage of tmpcursor.
2233 (cursorLeftOneWord): use temp var for cursor.par() and
2234 cursor.pos() only set cur at end of function.
2236 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2238 * text.C, text2.C: exchange all usage of Paragraph::next with
2239 boost::next(ParagraphList::iterator)
2241 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2243 * text2.C (cursorTop): simplify implementation
2244 (cursorBottom): ditto
2245 (setParagraph): use ParagraphList::iterator
2246 (setCurrentFont): adjust
2247 (getColumnNearX): adjust
2248 (cursorRight): adjust
2249 (cursorLeft): remove usage of Paragraph::previous
2250 (cursorUpParagraph): ditto
2251 (deleteEmptyParagraphMechanism): slight cleanup
2253 * text.C (isBoundary): take a Paragraph const & instead of a
2255 (addressBreakPoint): ditto
2256 (leftMargin): remove usage of Paragraph::previous.
2257 (setHeightOfRow): ditto
2258 (cursorLeftOneWord): ditto
2259 (selectNextWordToSpellcheck): ditto
2262 (breakParagraph): remove one usage of Paragraph::next
2263 (redoParagraph): ditto
2264 (acceptChange): ditto
2265 (insertChar): adjust
2266 (rowBreakPoint): adjust
2268 * bufferview_funcs.C (toggleAndShow): adjust
2270 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
2272 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
2273 methods to access it.
2275 * text.C: Added updateRowPositions to compute all row positions.
2276 Make top_y and getRowNearY() to use the cached y position
2278 2003-04-11 John Levon <levon@movementarian.org>
2280 * text.C (rowBreakPoint): reintroduce the labelEnd
2281 checks, code copied from the row fill stuff. Deep voodoo.
2283 * text.C (fill): add a comment and debugging for the
2286 2003-04-11 John Levon <levon@movementarian.org>
2288 * text.C: make sure fullrow insets get wrapped to the next line,
2289 even when they're in a manual label
2291 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2293 * text2.C (insertParagraph): make it take ParagraphList::iterator
2295 (setLayout): make it return ParagraphList::iterator
2296 (redoParagraphs): ditto
2298 (checkParagraph): ditto
2300 * text.C (getRow): make getrow take ParagraphList::iterator as arg
2302 * text2.C: adjust several funcs.
2303 (realizeFont): take a ParagraphList::iterator as arg.
2304 (getLayoutFont): ditto
2305 (getLabelFont): ditto
2306 (setCharFont): ditto
2308 * text.C: adjust several funcs.
2310 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2312 * text.C (selectNextWordToSpellcheck): don't accidentally
2315 2003-04-10 John Levon <levon@movementarian.org>
2317 * ToolbarBackend.C (getIcon): special handling for
2320 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2322 * text2.C (cursorRight): a getChar assert fixed
2324 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2326 * text2.C (getFont): change to take a ParagraphList::iterator
2327 instead of Paragraph*
2328 Adjust several functions.
2330 * text.C (transformChar): change to take a ParagraphList::iterator
2331 instead of Paragraph*
2332 (singleWidth): ditto
2333 Adjust several functions.
2335 * rowpainter.C: adjust several functions
2336 * rowpainter.h:store a ParagraphList::iterator and not a
2340 2003-04-09 John Levon <levon@movementarian.org>
2345 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
2346 and the "help" bits as well
2348 2003-04-09 John Levon <levon@movementarian.org>
2351 * ToolbarBackend.C: allow multiple toolbars
2353 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2355 * undo_funcs.C (setCursorParUndo): adjust
2357 * text_funcs.C (transposeChars): adjust
2359 * text3.C (gotoNextInset): adjust
2362 * text2.C (setLayout): adjust
2363 (changeDepth): adjust
2365 (redoParagraphs): adjust
2366 (selectionAsString): adjust
2367 (setParagraph): adjust
2368 (insertInset): adjust
2369 (cutSelection): adjust
2370 (copySelection): adjust
2371 (pasteSelection): adjust
2372 (insertStringAsLines): adjust
2373 (updateInset): adjust
2374 (setCursor): change to take a ParagraphList::iterator parameter
2375 (setCursorIntern): change to take a ParagraphList::iterator parameter
2376 (setCurrentFont): adjust
2377 (cursorLeft): adjust
2378 (cursorRight): adjust
2379 (deleteEmptyParagraphMechanism): adjust
2381 * text.C (breakParagraph): adjust
2382 (insertChar): adjust
2383 (acceptChange): adjust
2384 (rejectChange): adjust
2385 (selectNextWordToSpellcheck): adjust
2386 (changeCase): adjust
2390 * lyxfind.C (SearchForward): adjust
2391 (SearchBackward): adjust
2392 (nextChange): adjust
2394 * lyxcursor.C (par): adjust
2396 * lyxcursor.h: store a ParagraphList::iterator instead of a
2399 * lyx_cb.C (getPossibleLabel): adjust
2401 * bufferview_funcs.C (toggleAndShow): adjust
2403 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2406 * BufferView.C (removeAutoInsets): adjust
2407 (lockedInsetStoreUndo): adjust
2409 2003-04-09 John Levon <levon@movementarian.org>
2411 * ToolbarBackend.C: try icon without argument
2412 if with argument fails
2414 2003-04-08 John Levon <levon@movementarian.org>
2417 * ToolbarBackend.C: add getIcon(), handle tooltip,
2418 and change from "Icon" to "Item".
2420 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2422 * BufferView.C (lockInset): another bad getchar crunched
2424 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2426 * text2.C (changeDepth): do not setUndo on test_only (make undo work
2429 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2431 * lyxfind.C (searchForward, searchBackwards): bug 782
2433 2003-04-07 John Levon <levon@movementarian.org>
2435 * paragraph.C: remove dead comment
2437 * text.C: remove troublesome depth-fiddling code
2438 in leftMargin() and rightMargin() (bug 1017)
2440 * text.C: fix breaking of rows in nested lists
2443 * text2.C (updateCounters): fix up depth values
2446 2003-04-07 John Levon <levon@movementarian.org>
2448 * BufferView_pimpl.C: clear message when doc finishes resizing,
2449 and after a mouse event
2451 * lyxfunc.C: clear message after exiting inset
2453 2003-04-07 John Levon <levon@movementarian.org>
2455 * bufferview_funcs.C: show math status not outside
2456 status in the statusbar
2458 2003-04-07 John Levon <levon@movementarian.org>
2460 * lyxfunc.C: note status changed after a depth change
2462 2003-04-04 Angus Leeming <angus@localhost.localdomain>
2464 * LaTeX.h: move AuxInfo operator==, != out of line.
2465 Remove LaTeX virtual destructor; nothing derives from it.
2466 Move operator()() out of public area and rename it startscript().
2467 Change protected for private.
2469 2003-04-04 Angus Leeming <leeming@lyx.org>
2472 * text2.C: remove unneeded #includes.
2474 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2476 * text2.C (dEPM): fix the heigth of the next row
2478 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2480 * text.C: squashed an invalid getChar requester + some ws changes
2482 2003-04-03 John Levon <levon@movementarian.org>
2484 * bufferview_funcs.h:
2485 * bufferview_funcs.C:
2488 * text2.C: make getStatus work for the env depth lfuns
2490 2003-04-03 John Levon <levon@movementarian.org>
2492 * bufferview_funcs.h:
2493 * bufferview_funcs.C:
2496 * text2.C: parlistize decDepth(), by merging it with incDepth()
2498 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2500 * lyxrow.h: store a ParagraphList::iterator instead of a
2501 Paragraph* and adjust other class functions to suit.
2503 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
2506 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2508 * text2.C (setCursor): do not anchor to cursor row for the time being
2510 2003-04-02 John Levon <levon@movementarian.org>
2517 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
2519 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2521 * paragraph.h: make ParagraphList and ParagraphList::iterator
2522 friends of Paragraph.
2524 * buffer.C (makeLinuxDocFile): move towards ParagraphList
2526 * ParagraphList.C: Use the private next_ and previous_ from
2529 2003-04-01 John Levon <levon@movementarian.org>
2533 * Makefile.am: rename, remove defaults gunk
2536 * MenuBackend.C: remove defaults gunk
2539 * Languages.C: remove defaults gunk
2542 * lyx_main.C: error out if files couldn't be found.
2544 2003-04-02 John Levon <levon@movementarian.org>
2546 * text2.C: make incDepth() use parlist
2548 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2550 * undo_funcs.C (firstUndoParagraph): adjust
2552 * text3.C (gotoInset): adjust
2553 (dispatch): adjust, and rewrite loop.
2555 * text2.C (init): adjust, and rewrite loop.
2556 (redoParagraphs): adjust
2557 (updateInset): adjust, and rewrite loop.
2558 (deleteEmptyParagraphMechanism): adjust
2560 * tabular.C (LyXTabular): adjust
2561 (SetMultiColumn): adjust
2564 * lyxtext.[Ch] (ownerParagraph): delete function
2565 (ownerParagraphs): new function returns a ParagraphList.
2567 * BufferView.C (removeAutoInsets): adjust
2568 (insertErrors): adjust
2569 (setCursorFromRow): adjust
2571 2003-04-01 Angus Leeming <leeming@lyx.org>
2573 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
2576 2003-04-02 John Levon <levon@movementarian.org>
2582 * text_funcs.C: make transposeChars a free function
2584 * lyxrow_funcs.C: remove wrong comment
2586 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2589 * rowpainter.C: adjust
2594 * lyxrow_funcs. [Ch]: new files
2596 * lyxrow.[Ch]: remove next and previous pointers
2597 (next,previous): remove accessor functions
2598 (isParEnd): move to lyxrow_funcs
2599 (lastPos): move to lyxrow_funcs
2600 (nextRowIsAllInset): move to lyxrow_funcs
2601 (lastPrintablePos): move to lyxrow_funcs
2602 (numberOfSeparators): move to lyxrow_funcs
2603 (numberOfHfills): move to lyxrow_funcs
2604 (numberOfLabelHfills): move to lyxrow_funcs
2605 (hfillExpansion): move to lyxrow_funcs
2609 * bufferview_funcs.C (toggleAndShow): adjust
2611 * RowList.h: Remove class RowList from file leave just a
2614 * RowList.C: delete file
2616 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
2619 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2621 * text3.C (cursorPrevious): adjust
2622 (cursorNext): adjust
2625 * text2.C (redoHeightOfParagraph): adjust
2626 (redoDrawingOfParagraph): adjust
2629 * text.C (breakParagraph): adjust
2630 (insertChar): adjust
2633 * rowpainter.C (RowPainter): adjust
2634 (leftMargin): simplify and adjust
2635 (most rowpainter functions): adjust.
2637 * rowpainter.h: store the row as RowList::iterator not as Row*
2639 * lyxcursor.C (row): taka RowList::iterator as arg
2642 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
2645 2003-04-01 Angus Leeming <leeming@lyx.org>
2647 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
2648 stuff like bool Bool.
2650 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2652 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
2655 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2657 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
2660 * lyxtext.h (rows): drop one version and leve a const variant that
2661 returns a RowList::iterator.
2663 2003-03-31 Angus Leeming <leeming@lyx.org>
2665 * text.C (fill): ensure that the signature is the same as that in the
2668 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
2670 * text2.C (redoParagraphs): adjust
2671 (updateCounters): adjust
2672 (checkParagraph): adjust
2673 (getColumnNearX): adjust and reformat a bit.
2675 * text.C (top_y): adjust
2677 (leftMargin): adjust
2678 (prepareToPrint): adjust
2680 (getRowNearY): adjust
2682 * lyxtext.h: make rowlist_ mutable.
2684 * RowList.h: add const_iterator
2685 * RowList.C: adjust for RowList::const_iterator.
2687 * text2.C (getCursorX): make it take a RowList::iterator as arg,
2690 2003-03-31 John Levon <levon@movementarian.org>
2693 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
2695 * lyx_main.C: set default fonts from using lyx_gui funcs
2697 * exporter.C: pdf_mode moved from lyxrc
2700 * lyxfunc.C: changes from above
2702 2003-03-31 John Levon <levon@movementarian.org>
2704 * lyx_main.C: fix to the last fix
2706 2003-03-31 John Levon <levon@movementarian.org>
2708 * bufferlist.C: "Load original" -> "Load Original"
2714 * format.C: more Alert cleanups
2716 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2718 * text2.C (removeParagraph): make it take a RowList::iterator as
2720 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
2721 (postRowPaint): make it take a RowList::iterator as arg, adjust.
2723 * text.C (anchor_row): make it take a RowList::iterator as arg,
2725 (computeBidiTables): make it take a const reference to Row instead
2726 of Row pointer, adjust.
2727 (leftMargin): make it take a RowList::iterator as arg, adjust.
2728 (rowBreakPoint): adjust
2729 (breakAgainOneRow): make it take a RowList::iterator as arg,
2731 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
2733 * bufferview_funcs.C (toggleAndShow): adjust
2735 2003-03-30 John Levon <levon@movementarian.org>
2739 * boost-inst.C: moved to support
2741 * several files: changes as a result
2743 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2745 * text2.C (LyXText): adjust.
2747 (removeRow): make it take a RowList::iterator as arg, adjust.
2748 (fullRebreak): adjust
2749 (deleteEmptyParagraphMechanism): adjust
2750 (clearPaint): adjust
2753 * text.C (top_y): adjust
2754 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
2755 (breakAgain): make it take a RowList::iterator as arg, adjust.
2756 (breakParagraph): adjust
2757 (insertChar): adjust
2760 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
2761 need_break_row, and refresh_row.
2763 * text3.C (dispatch): adjust
2765 * text2.C (checkParagraph): adjust
2767 (setCursorFromCoordinates): adjust
2769 * text.C (top_y): adjust
2771 (getRow): make it return a RowList::iterator, adjust
2772 (getRowNearY): make it return a RowList::iterator, adjust
2774 * text2.C (init): adjust
2775 (insertRow): remove function
2776 (insertParagraph): adjust
2777 (redoParagraphs): adjust
2778 (fullRebreak): adjust
2779 (updateCounters): adjust
2781 * text.C (top_y): rewrite to use RowList iterators.
2783 (setHeightOfRow): rewrite to sue RowList iterators.
2784 (appendParagraph): adjust
2785 (breakAgain): adjust
2786 (breakAgainOneRow): adjust
2787 (breakParagraph): adjust
2789 (getRowNearY): adjust, and remove commented code.
2791 * lyxtext.h (firstRow): delete function
2792 (lastRow): delete function
2793 (rows): new function (const and non-const versions.)
2794 (insertRow): delete function
2796 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
2798 2003-03-29 John Levon <levon@movementarian.org>
2800 * BufferView_pimpl.C: always update scrollbar top
2801 because pasting text when we're anchored could mean we
2802 miss an update altogether
2804 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2806 * text2.C (init): use rowlist_.end() and not 0.
2807 (insertRow): change to take a RowList::iterator as arg, adjust
2809 (insertParagraph): change to take a RowList::iterator as arg,
2811 (redoParagraphs): remove some debug msgs.
2813 * text.C (appendParagraph): change to take a RowList::iterator
2814 arg, adjust for this.
2815 (breakAgain): add an assert
2816 (breakAgainOneRow): ditto
2818 2003-03-29 John Levon <levon@movementarian.org>
2820 * text2.C: do not clear selection after inc/decDepth
2823 2003-03-29 John Levon <levon@movementarian.org>
2826 * buffer.C: fix broken strerrors according to Lars
2828 2003-03-29 John Levon <levon@movementarian.org>
2830 * converters.C: more Alert cleanups
2832 2003-03-29 John Levon <levon@movementarian.org>
2834 * bufferview_funcs.C: remove pointless Alert
2836 * buffer.C: fix confusing error message when
2837 a template is chmoded 000
2839 2003-03-29 John Levon <levon@movementarian.org>
2843 * BufferView_pimpl.C: Alert fixes
2847 * tabular-old.C: remove unused table compat reading
2849 2003-03-29 John Levon <levon@movementarian.org>
2854 * lyx_cb.C: more Alert cleanups
2856 * lyxfunc.C: don't allow chktex if not latex document
2858 2003-03-29 John Levon <levon@movementarian.org>
2862 * buffer.C: warnings pushed down from support/,
2865 2003-03-29 John Levon <levon@movementarian.org>
2867 * lyxfunc.C: safety check for C-r (revert)
2869 2003-03-29 John Levon <levon@movementarian.org>
2872 * bufferlist.C: several UI fixes using Alert::prompt.
2873 Fix the pointless looping quit code. Fix stupid revert
2878 * lyx_cb.C: use Alert::prompt
2880 * lyx_main.C: remove a silly question
2882 * lyxfunc.C: remove a couple of silly questions,
2885 2003-03-28 John Levon <levon@movementarian.org>
2887 * text2.C: fix bug 974 (End on empty par)
2889 2003-03-28 John Levon <levon@movementarian.org>
2891 * BufferView_pimpl.C:
2893 * lfuns.h: remove do-nothing math greek lfuns
2895 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2897 * lyxgluelength.h (isValidGlueLength): add default arg on
2898 parameter 2. Remove default arg from friend in class.
2900 * lyxlength.h (isValidLength): add default arg on parameter 2.
2901 Remove default arg from friend in class.
2903 * text2.C (LyXText): adjust, initialize refresh_row.
2907 (insertParagraph): adjst
2908 (redoParagraphs): adjust
2909 (fullRebreak): adjust
2910 (updateCounters): adjust
2911 (deleteEmptyParagraphMechanism): first attempt at fixing a
2914 * text.C (top_y): adjust
2915 (setHeightOfRow): adjust
2917 (getRowNearY): adjust
2919 * lyxtext.h: include RowList.h
2920 (~LyXText): not needed anymore, deleted.
2921 (firstRow): modify for RowList
2922 (lastRow): new function
2923 Delete firstrow and lastrow class variables, add a Rowlist
2924 rowlist_ class variable.
2926 * lyxrow.C (lastPos): use empty() and not !size() to check if a
2929 * RowList.C (insert): fix case where it == begin().
2931 2003-03-26 Angus Leeming <leeming@lyx.org>
2933 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2934 the thesaurus dialog.
2936 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2938 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2940 * RowList.[Ch]: new files
2942 * ParagraphList.C (erase): handle the case where it == begin
2945 2003-03-25 John Levon <levon@movementarian.org>
2949 * aspell.C: add new aspell support
2952 * lyxrc.C: Make use_pspell be use_spell_lib. Always
2955 2003-03-25 Angus Leeming <leeming@lyx.org>
2958 * LyXAction.C (init): new LFUN_INSET_INSERT.
2960 * BufferView_pimpl.C (dispatch): split out part of the
2961 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2963 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2966 2003-03-25 Angus Leeming <leeming@lyx.org>
2968 * lyxfunc.C (dispatch): changes to the Dialogs interface.
2970 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
2973 * text3.C: remove useless row->height(0)
2975 2003-03-25 John Levon <levon@movementarian.org>
2979 * text3.C: rename the refreshing stuff to better names
2981 2003-03-24 John Levon <levon@movementarian.org>
2983 * BufferView_pimpl.h:
2984 * BufferView_pimpl.C: update layout choice on a mouse
2987 2003-03-23 John Levon <levon@movementarian.org>
2989 * Makefile.am: fix commandtags.h reference
2991 2003-03-22 John Levon <levon@movementarian.org>
2993 * BufferView_pimpl.C:
2998 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3000 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
3003 * text.C: take the rtl methods out of line
3005 2003-03-21 André Pönitz <poenitz@gmx.net>
3007 * metricsinfo.[Ch]: new files containing structures to be passed around
3008 during the two-phase-drawing...
3010 2003-03-21 André Pönitz <poenitz@gmx.net>
3012 * lyxtextclass.C: read 'environment' tag.
3014 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
3016 * text2.C (removeRow): fix bug 964
3018 2003-03-20 John Levon <levon@movementarian.org>
3022 * text2.C: paint cleanups. Inset::update() dropped font
3025 2003-03-19 John Levon <levon@movementarian.org>
3027 * lyxfunc.C: only fitcursor/markDirty if available()
3029 2003-03-19 John Levon <levon@movementarian.org>
3031 * commandtags.h: rename to ...
3033 * lfuns.h: ... this, and renumber / cleanup
3035 2003-03-19 John Levon <levon@movementarian.org>
3037 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3038 fit the cursor after an lfun
3042 * BufferView_pimpl.h:
3043 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3045 * LyXAction.C: layout-character should have ReadOnly
3047 * ParagraphParameters.C:
3049 * bufferview_funcs.C:
3056 * undo_funcs.C: changes from above
3058 2003-03-18 John Levon <levon@movementarian.org>
3060 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3061 remove it from update()
3063 * lyxfunc.C: update layout choice after an lfun
3065 * text3.C: remove extra updateLayoutChoice()s
3067 2003-03-18 John Levon <levon@movementarian.org>
3069 * text.C: top_y change means full repaint, fix
3070 a drawing bug with cursor movement
3072 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3076 * text2.C: anchor row on setCursor
3078 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3080 * lyxtext.h: remove almost all mutable keywords
3083 * text3.C: remove const keywords accordingly
3085 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3087 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3089 (TeXEnvironment): ditto
3092 2003-03-17 John Levon <levon@movementarian.org>
3094 * text.C (rowBreakPoint): remove attempt to fix displayed
3095 math insets inside a manual label
3097 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3099 * lyxtext.h: remove BufferView* as first arg from almost all class
3101 * other files: adjust.
3103 2003-03-17 John Levon <levon@movementarian.org>
3107 * text2.C: more paint cleanups
3109 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3112 * rowpainter.C: remove "smart" background painting code
3114 2003-03-16 John Levon <levon@movementarian.org>
3119 * text3.C: add helper functions for setting refresh_row/y
3121 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
3123 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3124 newline inset which *can* get inserted in the pass_thru layouts.
3125 This is primarily for literate documents.
3127 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
3129 * buffer.C: increment LYX_FORMAT to 223
3131 2003-03-14 André Pönitz <poenitz@gmx.net>
3133 * textclass.h: prepare for environment handling, ws changes
3134 * lyxlayout.C: read latexheader and latexfooter tags
3136 2003-03-14 John Levon <levon@movementarian.org>
3138 * text2.C: rewrite ::status() a bit
3140 2003-03-13 John Levon <levon@movementarian.org>
3142 * lyxtext.h: add some docs
3144 2003-03-13 John Levon <levon@movementarian.org>
3149 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3151 2003-03-13 John Levon <levon@movementarian.org>
3153 * text3.C: fix appendix redrawing
3155 2003-03-13 John Levon <levon@movementarian.org>
3157 * text.C (setHeightOfRow):
3159 * rowpainter.C: make appendix mark have the text
3160 "Appendix" so the user knows what it is
3163 * LColor.C: s/appendixline/appendix/ from above
3165 2003-03-13 John Levon <levon@movementarian.org>
3167 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3169 * text.C: fix a getChar(pos) bug properly
3171 2003-03-13 Angus Leeming <leeming@lyx.org>
3174 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3175 Probably only temporary. Let's see how things pan out.
3177 * BufferView.C (unlockInset):
3178 * BufferView_pimpl.C (fitCursor):
3179 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3181 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3182 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3184 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3185 new functions that convert ParagraphParameters to and from a string.
3187 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3188 BufferView::Pimpl's dispatch.
3189 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3191 2003-03-13 André Pönitz <poenitz@gmx.net>
3195 * factory.C: make it aware of InsetEnv
3197 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3199 * text2.C (setCursor): never ask for one past last
3200 (setCursor): add some debugging messages.
3202 * text.C (singleWidth): never ask for one past last
3203 (singleWidth): ditto
3205 (rightMargin): ditto
3206 (rowBreakPoint): ditto
3207 (setHeightOfRow): ditto
3208 (prepareToPrint): ditto
3210 * rowpainter.C (paintBackground): never ask for one past last
3211 (paintText): never ask for one past last
3213 * paragraph_pimpl.C (getChar): make the assert stricter, never
3214 allow the one past last pos to be taken
3216 * paragraph.C (getChar): ws changes only
3218 * lyxrow.C (nextRowIsAllInset): never ask for one past last
3219 (numberOfSeparators): ditto
3220 (numberOfHfills): ditto
3222 2003-03-12 John Levon <levon@movementarian.org>
3228 * paragraph_funcs.C: fix per-buffer authorlists
3230 2003-03-12 John Levon <levon@movementarian.org>
3232 * text.C: fix newline in right address
3234 2003-03-12 Angus Leeming <leeming@lyx.org>
3236 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
3237 duplicate those in LyXFunc::dispatch.
3241 * ToolbarDefaults.C:
3242 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3243 Add LFUN_FONTFREE_UPDATE.
3245 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3246 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3248 * bufferview_func.[Ch]: several new functions to facilliate
3249 transfer of data to and from the character dialog.
3251 2003-03-12 John Levon <levon@movementarian.org>
3256 * paragraph_funcs.C:
3257 * paragraph_pimpl.C:
3261 * text3.C: remove META_NEWLINE in favour of an inset
3264 * rowpainter.C: remove paintNewline (done by inset)
3266 2003-03-12 John Levon <levon@movementarian.org>
3268 * paragraph_pimpl.C: complain about bad getChar()s
3269 for a while at least
3271 2003-03-12 John Levon <levon@movementarian.org>
3274 * buffer.C: move paragraph read into a separate function,
3275 a little renaming to reflect that.
3278 * bufferparams.C: remove the author_ids map, not necessary now
3281 * factory.C: moved Buffer::readInset to here
3283 * paragraph_funcs.h:
3284 * paragraph_funcs.C: readParagraph free function moved from
3287 * tabular.C: name change
3289 2003-03-12 John Levon <levon@movementarian.org>
3292 * ParagraphParameters.C: move par params input to
3295 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
3296 behave like a normal read from the stream wrt reading
3297 a line vs. a \\token
3299 2003-03-12 John Levon <levon@movementarian.org>
3302 * ParagraphParameters.h:
3303 * ParagraphParameters.C: move output code to a
3306 2003-03-12 John Levon <levon@movementarian.org>
3308 * BufferView.C (insertLyXFile):
3311 * tabular.C: use a parlist iterator for creating the
3314 2003-03-12 John Levon <levon@movementarian.org>
3316 * buffer.C: make current_change static local not
3319 2003-03-12 John Levon <levon@movementarian.org>
3321 * buffer.C: fix insertStringAsLines for change tracking
3323 2003-03-12 John Levon <levon@movementarian.org>
3330 * bufferparams.C: move author list into params. Rename some
3331 functions. Move the header reading into a separate token
3332 loop. Move the header token reading into BufferParams.
3334 2003-03-12 John Levon <levon@movementarian.org>
3336 * changes.C: put debug inside lyxerr.debugging() checks
3338 2003-03-11 André Pönitz <poenitz@gmx.net>
3340 * factory.C: make it aware of InsetHFill
3342 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3344 * buffer.C (latexParagraphs): move function from here...
3345 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
3348 2003-03-10 Angus Leeming <leeming@lyx.org>
3350 * LyXAction.C (init): fix bug in poplating array with multiple entries
3351 with the same LFUN (spotted by JMarc).
3353 2003-03-10 John Levon <levon@movementarian.org>
3356 * text2.C: move getColumnNearX() near its
3359 2003-03-10 John Levon <levon@movementarian.org>
3361 * text.C: fix break before a minipage
3363 2003-03-10 John Levon <levon@movementarian.org>
3365 * text.C: fix the last commit
3367 2003-03-09 John Levon <levon@movementarian.org>
3371 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
3372 bug 365 (don't break before insets unless needed). Don't
3373 return a value > last under any circumstances.
3375 2003-03-09 Angus Leeming <leeming@lyx.org>
3377 * BufferView_pimpl.C (trackChanges, dispatch): call
3378 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
3380 2003-03-09 Angus Leeming <leeming@lyx.org>
3382 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
3383 than Dialogs::showAboutlyx().
3385 2003-03-09 Angus Leeming <leeming@lyx.org>
3387 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
3388 than Dialogs::showTabularCreate().
3390 2003-03-09 John Levon <levon@movementarian.org>
3394 * text2.C: 3rd arg to nextBreakPoint was always the same.
3397 2003-03-08 John Levon <levon@movementarian.org>
3404 * text2.C: Remove the "main" bit from the "main body"
3407 2003-03-08 John Levon <levon@movementarian.org>
3409 * text.C (leftMargin): The left margin of an empty
3410 manual label paragraph should not include the label width
3413 * text.C (prepareToPrint): don't attempt to measure hfills
3414 for empty manual label paragraphs - the answer should be 0
3416 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3418 * CutAndPaste.C: remove commented code and reindent.
3420 2003-03-08 John Levon <levon@movementarian.org>
3423 * lyxfunc.C: move reloadBuffer()
3426 * BufferView.C: to here
3428 * lyxvc.C: add comment
3431 * vc-backend.C: call bv->reload() to avoid
3432 getStatus() check on MENURELOAD
3434 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
3436 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
3437 to an old format .dep file.
3439 2003-03-07 Angus Leeming <leeming@lyx.org>
3441 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
3442 when the LFUN_MOUSE_RELEASE should have been handled by
3443 inset->localDispatch.
3445 2003-03-07 Angus Leeming <leeming@lyx.org>
3447 * BufferView_pimpl.C (dispatch):
3448 * LyXAction.C (init):
3449 * ToolbarDefaults.C (init):
3451 * lyxfunc.C (getStatus):
3452 remove LFUN_INSET_GRAPHICS.
3454 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
3456 2003-03-07 Angus Leeming <leeming@lyx.org>
3459 * LyXAction.C (init):
3460 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
3462 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
3465 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
3467 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
3468 localDispatch method LFUN_INSET_DIALOG_UPDATE.
3470 2003-03-07 Angus Leeming <leeming@lyx.org>
3472 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
3475 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3477 * ParagraphList.C (front): new function
3480 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3482 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
3483 and top_row_offset_. removed var first_y.
3485 * text2.C (LyXText, removeRow):
3487 * BufferView_pimpl.C:
3488 use these methods instead of using first_y
3490 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3492 * text2.C (pasteSelection): adjust for checkPastePossible
3494 * CutAndPaste.C: remove Paragraph * buf and replace with
3495 ParagraphList paragraphs.
3496 (DeleteBuffer): delete
3497 (cutSelection): change the tc type to textclass_type
3498 (copySelection): change the tc type to textclass_type
3499 (copySelection): adjust for ParagraphList
3500 (pasteSelection): change the tc type to textclass_type
3501 (pasteSelection): adjust for Paragraphlist
3502 (nrOfParagraphs): simplify for ParagraphList
3503 (checkPastePossible): simplify for ParagraphList
3504 (checkPastePossible): remove unused arg
3506 * ParagraphList.C (insert): handle the case where there are no
3509 * CutAndPaste.h: make CutAndPaste a namespace.
3511 * text3.C (dispatch): adjust
3513 * text.C (breakParagraph): add a ParagraphList as arg
3515 * paragraph_funcs.C (breakParagraph): change to take a
3516 BufferParams and a ParagraphList as args.
3517 (breakParagraphConservative): ditto
3518 (mergeParagraph): ditto
3519 (TeXDeeper): add a ParagraphList arg
3520 (TeXEnvironment): ditto
3523 * buffer.C (readLyXformat2): adjust
3524 (insertStringAsLines): adjust
3525 (latexParagraphs): adjust
3527 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
3528 (cutSelection): adjust
3529 (pasteSelection): adjust
3531 * BufferView_pimpl.C (insertInset): adjust
3533 2003-03-05 Angus Leeming <leeming@lyx.org>
3536 * LyXAction.C (init):
3537 * BufferView_pimpl.C (dispatch):
3538 * lyxfunc.C (getStatus):
3539 remove LFUN_CHILD_INSERT.
3541 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
3543 2003-03-05 Angus Leeming <leeming@lyx.org>
3546 * LyXAction.C (init):
3547 * src/factory.C (createInset):
3548 * lyxfunc.C (getStatus):
3549 * text3.C (dispatch):
3550 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
3552 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
3554 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3556 * ParagraphList.C (insert): handle insert right before end()
3557 (erase): fix cases where it can be first or last paragraph.
3559 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3561 * paragraph_funcs.C (TeXEnvironment): remove all usage of
3562 Paragraph::next and Paragraph::previous
3565 * text.C (breakParagraph): adjust
3567 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
3568 BufferParams& as arg.
3569 (breakParagraph): use ParagraphList::insert
3570 (breakParagraphConservative): take a Buffer* instead of a
3571 BufferParams& as arg.
3572 (breakParagraphConservative): use ParagraphList::insert.
3574 * buffer.C (insertStringAsLines): un-const it
3575 (insertStringAsLines): adjust
3577 * ParagraphList.C (insert): new function
3579 * CutAndPaste.C (pasteSelection): adjust
3581 * text.C (backspace): adjust
3583 * tabular.C (SetMultiColumn): adjust
3585 * CutAndPaste.C (cutSelection): adjust
3586 (pasteSelection): adjust
3588 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
3589 Buffer const * as arg
3591 * ParagraphList.C (erase): new function
3592 * paragraph_funcs.C (mergeParagraph): use it
3593 (mergeParagraph): make it take a Buffer* instead of a
3594 BufferParams* as arg
3596 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
3598 (breakParagraphConservative): ditto
3600 * paragraph.h: remove the breakParagraph friend
3602 * paragraph.C (eraseIntern): new function
3603 (setChange): new function
3605 * paragraph_funcs.C (mergeParagraph): make it take a
3606 ParagraphList::iterator instead of a Paragraph *, adjust
3609 * paragraph.h: move an #endif so that the change tracking stuff
3610 also works in the NO_NEXT case.
3612 2003-03-04 Angus Leeming <leeming@lyx.org>
3615 * LyXAction.C: new LFUN_INSET_MODIFY.
3617 * BufferView_pimpl.C (dispatch): if an inset is found to be open
3618 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
3620 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3622 * several files: ws changes only
3624 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
3625 (TeXEnvironment): ditto
3628 * buffer.C (makeLaTeXFile): adjust
3629 (latexParagraphs): make it take ParagraphList::iterator as args
3631 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3633 * buffer.C (latexParagraphs): adjust
3635 * paragraph.C (TeXOnePar): move function...
3636 (optArgInset): move function...
3637 (TeXEnvironment): move function...
3638 * paragraph_pimpl.C (TeXDeeper): move function...
3639 * paragraph_funcs.C: ...here
3641 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
3643 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3645 * buffer.C (readInset): remove compability code for old Figure and
3648 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3650 * buffer.C: ws changes
3653 * BufferView_pimpl.C: ditto
3656 * bufferlist.h: ditto
3660 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3662 * converter.[Ch]: split into itself +
3665 * Makefile.am: += graph.[Ch] + format.[Ch]
3672 * lyxrc.C: added #include "format.h"
3674 2003-02-27 Angus Leeming <leeming@lyx.org>
3676 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
3679 * factory.C (createInset): add "label" to the factory.
3681 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
3682 string and do no more.
3684 2003-02-27 Angus Leeming <leeming@lyx.org>
3687 * LyXAction.C (init):
3688 * factory.C (createInset):
3689 * BufferView_pimpl.C (dispatch):
3690 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3692 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
3694 * lyxfunc.C (dispatch):
3695 * text3.C (dispatch): pass name to params2string.
3697 2003-02-26 Angus Leeming <leeming@lyx.org>
3699 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
3701 Rearrange the ~includes. Strip out the unnecessary ones.
3703 * factory.C (createInset): reformat.
3704 create new insets for the various LFUN_XYZ_APPLY lfuns.
3706 2003-02-26 John Levon <levon@movementarian.org>
3709 * lyxrow.C: add isParStart,isParEnd helpers
3711 * paragraph.h: make isInserted/DeletedText take refs
3713 * paragraph_funcs.h:
3714 * paragraph_funcs.C: remove #if 0'd code
3719 * text.C: use lyxrow helpers above.
3720 Move draw and paint routines to RowPainter.
3721 Make several methods use refs not pointers.
3722 Make backgroundColor() const.
3723 Add markChangeInDraw(), isInInset().
3724 Merge changeRegionCase into changeCase.
3725 Make workWidth() shouldn't-happen code into an Assert.
3728 * rowpainter.C: new class for painting a row.
3731 * vspace.C: make inPixels take a ref
3733 2003-02-26 Angus Leeming <leeming@lyx.org>
3735 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
3738 2003-02-25 John Levon <levon@movementarian.org>
3740 * ispell.C: give the forked command a more accurate name
3742 2003-02-22 John Levon <levon@movementarian.org>
3745 * toc.C: make TocItem store an id not a Paragraph *
3748 2003-02-21 Angus Leeming <leeming@lyx.org>
3750 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
3751 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
3752 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
3753 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
3754 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
3755 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
3757 * BufferView_pimpl.C (dispatch):
3758 * LyXAction.C (init):
3759 * factory.C (createInset):
3760 * lyxfunc.C (getStatus, dispatch):
3761 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
3763 2003-02-21 Angus Leeming <leeming@lyx.org>
3765 * BufferView_pimpl.C (MenuInsertLyXFile):
3766 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3767 * lyxfunc.C (menuNew, open, doImport):
3768 no longer pass a LyXView & to fileDlg.
3770 2003-02-21 Angus Leeming <leeming@lyx.org>
3772 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
3773 * LyXAction.C: change, BIBKEY to BIBITEM.
3774 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
3775 Change InsetBibKey to InsetBibitem.
3776 Change BIBKEY_CODE to BIBITEM_CODE.
3777 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3778 * factory.C: replace insetbib.h with insetbibitem.h.
3779 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3780 * paragraph.C: replace insetbib.h with insetbibitem.h.
3781 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
3782 Change bibkey() to bibitem().
3783 * text.C: remove insetbib.h.
3784 * text2.C: replace insetbib.h with insetbibitem.h.
3785 change bibkey() to bibitem().
3786 * text3.C: remove insetbib.h.
3787 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3789 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3791 * lyxrc.C (output): enclose user email in quotes (in case there are
3794 2003-02-18 John Levon <levon@movementarian.org>
3796 * buffer.h: add std::
3798 2003-02-17 John Levon <levon@movementarian.org>
3804 * pspell.C: reworking. Especially in ispell, a large
3805 number of clean ups and bug fixes.
3807 * lyxfunc.C: fix revert to behave sensibly
3809 2003-02-17 André Pönitz <poenitz@gmx.net>
3812 * commandtags.h: new LFUN_INSERT_BIBKEY
3822 * paragraph_func.C: remove special bibkey handling
3824 2003-02-17 John Levon <levon@movementarian.org>
3826 * text.C (Delete): fix case where delete at the end of
3827 the very first paragraph would not merge the pars
3829 2003-02-17 John Levon <levon@movementarian.org>
3831 * lyxrow.C: fix lastPrintablePos()
3833 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3835 * bufferparams.C (writeLaTeX): add a std:here
3837 * buffer.C: and remove a using directive there
3839 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3841 * buffer.C (makeLaTeXFile): move the code that generates the
3844 * bufferparams.C (writeLaTeX): ... in this new method
3846 * LaTeXFeatures.C (getEncodingSet): make const
3847 (getLanguages): make const
3849 * MenuBackend.C (binding): returns the binding associated to this
3851 (add): sets the status of each item by calling getStatus. Adds
3853 (read): add support for OptSubMenu
3854 (expand): remove extra separator at the end of expanded menu
3856 2003-02-15 John Levon <levon@movementarian.org>
3859 * BufferView_pimpl.C:
3861 * bufferlist.C: remove pointless BufferStorage bloat. Remove
3862 inset code that had no actual effect. Remove unneeded status
3865 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3867 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
3870 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
3872 * text.C (drawLengthMarker): also draw an arrow marker for
3873 symbolic lengths (medskip...)
3875 2003-02-14 John Levon <levon@movementarian.org>
3878 * tabular.C: better method names
3880 2003-02-14 John Levon <levon@movementarian.org>
3882 * BufferView_pimpl.C:
3887 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3888 it's a more accurate name. Remove some pointless uses.
3890 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3892 * text2.C (LyXText): change order of initilizers to shut off
3895 2003-02-14 John Levon <levon@movementarian.org>
3897 * buffer.C: use ParIterator for getParFromID()
3901 * paragraph_pimpl.h:
3902 * paragraph_pimpl.C: remove unused getParFromID()
3904 2003-02-14 John Levon <levon@movementarian.org>
3906 * buffer.C: remove some very old #if 0'd parse code
3908 2003-02-13 John Levon <levon@movementarian.org>
3912 * text2.C: move hfillExpansion(), numberOfSeparators(),
3913 rowLast(), rowLastPrintable(), numberofHfills(),
3914 numberOfLabelHfills() ...
3917 * lyxrow.C: ... to member functions here.
3922 * text.C: remove LyXText::beginningOfMainBody(), and call
3923 p->beginningOfMainBody() directly. Move the check for
3924 LABEL_MANUAL into the latter.
3931 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3937 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3938 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3940 2003-02-13 John Levon <levon@movementarian.org>
3942 * CutAndPaste.C: remove debug
3944 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3946 * paragraph.C (asString): remove two unused variables
3948 * lyxtextclass.C (readTitleType):
3950 (LyXTextClass): handle new members titletype_ and titlename_
3952 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3954 2003-02-09 John Levon <levon@movementarian.org>
3957 * buffer.C: replace hand-coded list with a map for the dep clean
3959 2003-02-08 John Levon <levon@movementarian.org>
3961 * LaTeX.C: consolidate code into showRunMessage() helper
3963 2003-02-08 John Levon <levon@movementarian.org>
3968 * BufferView.C: change setSelectionOverString() to setSelectionRange()
3969 and pass the size in explicitly
3971 * BufferView_pimpl.h:
3972 * BufferView_pimpl.C:
3974 * BufferView.C: add getCurrentChange()
3976 * BufferView_pimpl.h:
3977 * BufferView_pimpl.C: handle change lfuns
3979 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3980 for changes. Mark pasted paragraphs as new.
3982 * support/lyxtime.h:
3983 * support/lyxtime.C:
3984 * DepTable.C: abstract time_t as lyx::time_type
3987 * LColor.C: add colours for new text, deleted text, changebars
3989 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3990 package use "usenames" option.
3994 * LyXAction.C: add change lfuns
3998 * author.C: author handling
4001 * buffer.C: add a per-buffer author list, with first entry as
4002 current author. Handle new .lyx tokens for change tracking. Output
4003 author list to .lyx file. Output dvipost stuff to .tex preamble.
4004 Bump lyx format to 222.
4007 * bufferlist.C: add setCurrentAuthor() to reset current author details
4011 * bufferparams.C: add param for tracking
4013 * bufferview_funcs.C: output change info in minibuffer
4017 * changes.C: add change-tracking structure
4020 * debug.C: add CHANGES debug flag
4023 * lyxfind.C: add code for finding the next change piece
4026 * lyxrc.C: add user_name and user_email
4029 * lyxrow.C: add a metric for the top of the text line
4032 * text.C: implement accept/rejectChange()
4035 * text.C: paint changebars. Paint new/deleted text in the chosen
4036 colours. Strike through deleted text.
4040 * paragraph_pimpl.h:
4041 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4042 in the current change to the insert functions. Rework erase to
4043 mark text as deleted, adding an eraseIntern() and a range-based
4044 erase(). Implement per-paragraph change lookup and
4047 * paragraph_funcs.C: Fixup paste for change tracking.
4049 * tabular.C: mark added row/columns as new.
4051 * text.C: fix rowLast() to never return -1. Don't allow
4052 spellchecking of deleted text. Track transpose changes. Don't
4053 allow paragraph break or merge where appropriate.
4055 * text2.C: leave cursor at end of selection after a cut.
4057 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4059 * text.C (getLengthMarkerHeight):
4060 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4061 visible on screen too.
4063 2003-02-07 John Levon <levon@movementarian.org>
4065 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4067 2003-02-05 Angus Leeming <leeming@lyx.org>
4069 * lyxserver.C (read_ready): revert my patch of 11 September last year
4070 as it sends PC cpu through the roof. Presumably this means that
4071 the lyxserver will no longer run on an Alpha...
4073 2003-01-30 Angus Leeming <leeming@lyx.org>
4075 * factory.C (createInset): create an InsetCommandParam of type "index"
4076 and use it to 'do the right thing'.
4078 * text2.C (getStringToIndex): ensure that cursor position is always
4079 reset to the reset_cursor position.
4081 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4083 * lyxfunc.C (getStatus): "buffer-export custom" should never be
4086 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4090 * lyxfunc.C: Output messages with identical spelling, punctuation,
4093 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
4095 * MenuBackend.C (expandFormats): List only viewable export formats
4098 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4101 * lyxfunc.C (getStatus): Make sure that formats other than
4102 "fax" can also be disabled
4104 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4106 * text3.C (dispatch): put the lfuns that insert insets in 3
4107 groups, and call doInsertInset with appropriate arguments.
4108 (doInsertInset): new function, that creates an inset and inserts
4109 it according to some boolean parameters.
4111 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4113 * buffer.C (readFile): remember to pass on 'par' when calling
4114 readFile recursively.
4116 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4118 * MenuBackend.C (expandFormats): add "..." to import formats.
4120 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
4122 * paragraph.C (asString): Remove XForms RTL hacks.
4124 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
4125 * buffer.C: fix typo
4127 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4129 * Makefile.am (LIBS): delete var
4130 (lyx_LDADD): add @LIBS@ here instead.
4132 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
4134 * Clarify the meaning of "wheel mouse jump"
4136 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4138 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4141 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4143 * importer.C (Loaders): do not preallocate 3 elements in the
4144 vector, since one ends up with 6 elements otherwise
4146 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4148 * DepTable.C (write): write the file name as last element of the
4149 .dep file (because it may contain spaces)
4150 (read): read info in the right order
4152 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4154 * paragraph_pimpl.C (simpleTeXBlanks):
4155 (simpleTeXSpecialChars):
4156 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4158 * tabular.C (latex): add some missing case statements. Reindent.
4160 * MenuBackend.C (expandToc): remove unused variable.
4162 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4171 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4174 2003-01-05 John Levon <levon@movementarian.org>
4177 * BufferView.C: add getEncoding()
4180 * kbsequence.C: do not store last keypress
4183 * lyxfunc.C: store last keypress here instead. Pass encoding
4186 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4188 * lyx_main.C (init): remove annoying error message when following
4189 symbolic links (bug #780)
4191 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4193 * text.C (insertChar):
4194 * lyxrc.C (getDescription): remove extra spaces
4196 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4198 * lyxrc.C (getDescription): remove extra spaces
4200 2002-12-20 John Levon <levon@movementarian.org>
4202 * text3.C: hack fix for page up/down across tall rows
4204 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4206 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4209 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4211 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4212 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4213 thesaurus is not compiled in
4215 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4217 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
4219 2002-12-16 Angus Leeming <leeming@lyx.org>
4222 * lyx_main.C (init): remove override_x_deadkeys stuff.
4224 2002-12-12 John Levon <levon@movementarian.org>
4226 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4227 insert. Only remove shift modifier under strict
4230 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4232 * MenuBackend.C (expandToc): fix crash.
4234 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4236 * MenuBackend.C (expandToc): gettext on float names.
4238 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4240 * lyxlength.[Ch]: set default unit to UNIT_NONE,
4241 implement bool empty() [bug 490]
4243 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4245 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4247 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4249 * several files: ws changes
4251 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4253 * text2.C (setCounter): clean up a bit, use boost.format.
4254 (updateCounters): initialize par upon declaration.
4256 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4257 if the layout exists. We do not just store the layout any more.
4258 (SwitchLayoutsBetweenClasses): use boost.format
4260 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4262 * converter.C (convert): if from and to files are the same, use a
4263 temporary files as intermediary
4265 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4268 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
4270 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
4272 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
4274 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4276 * tabular.C (asciiPrintCell): use string(size, char) instead of
4279 * sgml.C (openTag): fix order of arguments to string constructor
4282 * lyxfunc.C (dispatch): use boost.format
4284 * lots of files: change "c" -> 'c'
4286 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
4288 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
4290 2002-11-25 Angus Leeming <leeming@lyx.org>
4292 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
4294 * lyx_main.C (init): compile fix.
4296 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4298 * lyx_cb.C (start): boost.formatify
4299 do not include <iostream>
4301 * lengthcommon.C: ws only
4303 * boost-inst.C,BoostFormat.h: add more explict instantations
4305 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4307 * lots of files: handle USE_BOOST_FORMAT
4309 2002-11-21 John Levon <levon@movementarian.org>
4311 * pspell.C: fix compile
4313 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4315 * lyxfunc.C (dispatch): use boost::format
4319 * lyxfont.C (stateText): use boost::format
4321 * lyx_main.C (LyX): use boost::format
4323 (queryUserLyXDir): ditto
4326 (typedef boost::function): use the recommened syntax.
4328 * importer.C (Import): use boost::format
4330 * debug.C (showLevel): use boost::format
4332 * converter.C (view): use boost::format
4337 * bufferview_funcs.C (currentState): use boost::format
4339 * bufferlist.C (emergencyWrite): use boost::format
4341 * buffer.C (readLyXformat2): use boost::format
4342 (parseSingleLyXformat2Token): ditto
4344 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
4346 * LaTeX.C (run): use boost::format
4348 * Chktex.C (scanLogFile): use boost::format
4350 * BufferView_pimpl.C (savePosition): use boost::format
4351 (restorePosition): ditto
4352 (MenuInsertLyXFile): ditto
4354 * BoostFormat.h: help file for explicit instation.
4356 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4358 * tabular.C (latex): Support for block alignment in fixed width
4361 2002-11-17 John Levon <levon@movementarian.org>
4363 * BufferView_pimpl.C:
4365 * lyxfunc.C: split filedialog into open/save
4367 2002-11-08 Juergen Vigna <jug@sad.it>
4369 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
4370 by my last patch (hopefully).
4372 2002-11-08 John Levon <levon@movementarian.org>
4381 * toc.C: ParConstIterator, and use it (from Lars)
4383 2002-11-07 Ben Stanley <bds02@uow.edu.au>
4385 * lyxtextclass.[Ch]: revise and add doxygen comments
4387 2002-11-07 John Levon <levon@movementarian.org>
4389 * text.C: fix progress value for spellchecker
4391 * toc.C: fix navigate menu for insetwrap inside minipage
4393 * paragraph_funcs.C: added FIXME for suspect code
4395 2002-11-07 John Levon <levon@movementarian.org>
4397 * BufferView_pimpl.C: fix redrawing of insets
4400 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4402 * text2.C (updateCounters): fix bug 668
4404 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
4406 * text3.C (dispatch): Do not make the buffer dirty when moving the
4409 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4411 * vc-backend.C: STRCONV
4414 * text2.C (setCounter): STRCONV
4416 * paragraph.C (asString): STRCONV
4418 * lyxlength.C (asString): STRCONV
4419 (asLatexString): ditto
4421 * lyxgluelength.C (asString): STRCONV
4422 (asLatexString): ditto
4424 * lyxfunc.C (dispatch): STRCONV
4427 * lyxfont.C (stateText): STRCONV
4429 * importer.C (Import): STRCONV
4431 * counters.C (labelItem): STRCONV
4432 (numberLabel): ditto
4433 (numberLabel): remove unused ostringstream o
4438 * bufferview_funcs.C (currentState): STRCONV
4440 * buffer.C (readFile): STRCONV
4441 (asciiParagraph): ditto
4442 (makeLaTeXFile): ditto
4444 * Spacing.C (writeEnvirBegin): STRCONV
4446 * LaTeXFeatures.C (getLanguages): STRCONV
4447 (getPackages): ditto
4449 (getBabelOptions): ditto
4450 (getTClassPreamble): ditto
4451 (getLyXSGMLEntities): ditto
4452 (getIncludedFiles): ditto
4456 (scanAuxFile): ditto
4459 * LString.h: add the STRCONV macros
4461 * BufferView_pimpl.C (savePosition): STRCONV
4462 (restorePosition): ditto
4463 (MenuInsertLyXFile): ditto
4465 * vc-backend.C (scanMaster): change from submatch[...] to
4468 * funcrequest.C: include config.h
4470 * factory.C: include config.h
4472 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
4474 * box.C: include config.h
4476 * LaTeX.C (scanAuxFile): change from submatch[...] to
4480 2002-10-25 Angus Leeming <leeming@lyx.org>
4482 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
4484 * ispell.[Ch] (setError): new method.
4485 * ispell.C (c-tor): move out child process into new class LaunchIspell.
4486 Use setError() insetead of goto END.
4488 * lyx_cb.C (AutoSave): move out child process into new class
4491 2002-10-30 John Levon <levon@movementarian.org>
4493 * text3.C: make start appendix undoable
4495 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
4497 * lyxlength.C (inPixels): Fix returned value.
4499 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
4502 2002-10-24 Angus Leeming <leeming@lyx.org>
4504 * lyxgluelength.h: no need to forward declare BufferParams
4505 or BufferView, so don't.
4507 2002-10-21 John Levon <levon@movementarian.org>
4509 * BufferView.C: menuUndo ->undo, redo
4511 * BufferView.h: document, remove dead, make some methods private
4513 * paragraph_funcs.h:
4514 * paragraph_funcs.C:
4515 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
4520 * sgml.C: move sgml open/close tag into sgml.C
4522 * bufferview_funcs.h: unused prototype
4525 * lyxfunc.C: remove unused
4528 * text.C: remove unused
4530 2002-10-21 John Levon <levon@movementarian.org>
4534 * BufferView_pimpl.h:
4535 * BufferView_pimpl.C: fix mouse wheel handling based on
4536 patch from Darren Freeman
4538 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
4540 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
4542 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
4544 * lyxlength.C (inPixels): Fix hanfling of negative length.
4545 Fix LyXLength::MU case.
4547 2002-10-16 John Levon <levon@movementarian.org>
4549 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
4551 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4553 * converter.C (view): add support for $$i (file name) and $$p
4554 (file path) for the viewer command. If $$i is not specified, then
4555 it is appended to the command (for compatibility with old syntax)
4557 2002-10-14 Juergen Vigna <jug@sad.it>
4559 * undo_funcs.C (textHandleUndo): alter the order in which the
4560 new undopar is added to the LyXText, as we have to set first
4561 the right prev/next and then add it as otherwise the rebuild of
4562 LyXText is not correct. Also reset the cursor to the right paragraph,
4563 with this IMO we could remove the hack in "redoParagraphs()".
4565 2002-10-09 Angus Leeming <leeming@lyx.org>
4567 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
4568 to turn off an optimisation if a new inset is to be inserted.
4570 2002-10-11 André Pönitz <poenitz@gmx.net>
4572 * lyxtext.h: make some functions public to allow access
4573 from inset/lyxtext for handling LFUN_PRIOR/NEXT
4575 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4577 * text3.C (dispatch): when changing layout, avoid an infinite loop
4580 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4582 * lyxrc.C (read): treat a viewer or converter command of "none" as
4585 * MenuBackend.C (expandFormats): for an update, also allow the
4586 formats that are not viewable
4588 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
4589 script if it is newer than the lyxrc.defaults in user directory
4591 2002-10-07 André Pönitz <poenitz@gmx.net>
4593 * text.C: Vitaly Lipatov's small i18n fix
4595 2002-09-25 Angus Leeming <leeming@lyx.org>
4597 * ispell.h: doxygen fix.
4599 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
4601 * buffer.h (readFile): Add a new argument to the method, to allow
4602 reading of old-format templates.
4604 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4606 * toc.C (getTocList): Get TOC from InsetWrap.
4608 2002-09-16 John Levon <levon@movementarian.org>
4610 * lyxfunc.C: check tabular for cut/copy too
4612 2002-09-12 John Levon <levon@movementarian.org>
4617 * factory.C: add header
4619 * paragraph_funcs.h:
4620 * paragraph_funcs.C: cleanup
4622 2002-09-11 John Levon <levon@movementarian.org>
4624 * PrinterParams.h: odd/even default to true
4626 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4628 * PrinterParams.h: update printer parameters for new xforms dialog
4630 2002-09-11 Angus Leeming <leeming@lyx.org>
4632 * lyxserver.C (read_ready): re-write to make it more transparent
4633 and to make it work in coherent fashion under Tru64 Unix.
4635 2002-09-11 André Pönitz <poenitz@gmx.net>
4639 * text3.C: implement LFUN_WORDSEL
4641 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4643 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
4644 make floatlist_ a boost::shared_ptr<FloatList>
4646 * lyxtextclass.C: include FloatList.h
4647 (LyXTextClass): initialize floatlist_
4648 (TextClassTags): add TC_NOFLOAT
4649 (Read): match "nofloat" to TC_NOFLOAT and use it.
4650 (readFloat): modify call to floatlist_
4654 * FloatList.[Ch] (FloatList): remove commented out float
4656 (erase): new function
4658 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4660 * MenuBackend.C (expandToc): fix crash when there is no document
4663 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
4665 * many files: Add insetwrap.
4667 2002-09-09 John Levon <levon@movementarian.org>
4669 * text2.C: remove confusing and awkward depth wraparound
4671 2002-09-09 John Levon <levon@movementarian.org>
4673 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
4676 * buffer.C: remove getIncludeonlyList()
4679 * lyxfunc.C: remove headers
4681 2002-09-09 Juergen Vigna <jug@sad.it>
4683 * text.C (getColumnNearX): fix form Michael this is most
4684 probably a cut&paste bug.
4686 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4688 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
4690 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
4691 references, ws changes.
4693 * text2.C (init): update counters after init
4694 (insertParagraph): no need to set counter on idividual paragraphs.
4695 (setCounter): access the counters object in the textclass object
4696 on in the buffer object.
4697 (updateCounters): ditto
4699 * lyxtextclass.C: include counters.h, add variable ctrs_ as
4700 shared_ptr<Counters> to avoid loading counters.h in all
4702 (LyXTextClass): initialize ctrs_
4703 (TextClassTags): add TC_COUNTER, and ...
4704 (Read): use it here.
4705 (CounterTags): new tags
4706 (readCounter): new function
4707 (counters): new funtion
4708 (defaultLayoutName): return a const reference
4710 * counters.C (Counters): remove contructor
4711 (newCounter): remove a couple of unneeded statements.
4712 (newCounter): simplify a bit.
4713 (numberLabel): some small formatting changes.
4715 * buffer.[Ch]: remove all traces of counters, move the Counters
4716 object to the LyXTextClass.
4718 2002-09-06 Alain Castera <castera@in2p3.fr>
4720 * tabular.C: uses \tabularnewline; uses >{...} construct from array
4721 package to set the horizontal alignment on fixed width columns.
4724 * lyx_sty.h: added tabularnewline macro def.
4726 * LaTeXFeatures.C: added NeedTabularnewline macro feature
4728 2002-09-06 John Levon <levon@movementarian.org>
4730 * LyXAction.C: tooltips for sub/superscript
4732 * MenuBackend.C: a bit more verbose
4734 * lyxfunc.C: tiny clean
4736 * undo_funcs.C: document undo_frozen
4738 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4740 * counters.C (Counters): add missing algorithm counter.
4742 * text2.C (setCounter): lookup the counter with layouts latexname
4743 instead of by section number.
4744 (setCounter): use a hackish way to lookup the correct enum
4746 a float name->type change
4747 reset enum couners with counter name directly instead of depth value.
4749 * counters.C (Counters): remove the push_backs, change to use the
4750 float type not the float name.
4751 (labelItem): remove unused string, float name->type change
4753 * counters.h: don't include vector, loose the enums and sects vectors
4755 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4757 * lyxtextclass.C (TextClassTags): add TC_FLOAT
4758 (Read): add float->TC_FLOAT to textclassTags
4759 (Read): and handle it in the switch
4760 (readFloat): new function
4762 * FloatList.C (FloatList): comment out the hardcoded float
4765 * lyxlayout.h: ws change.
4767 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
4769 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
4771 2002-09-03 Angus Leeming <leeming@lyx.org>
4773 * BufferView_pimpl.h: qualified name is not allowed in member
4774 declaration: WorkArea & Pimpl::workarea() const;
4776 * factory.C: added using std::endl directive.
4778 * text3.C: added using std::find and std::vector directives.
4780 2002-08-29 André Pönitz <poenitz@gmx.net>
4783 * text2.C: remove unused member number_of_rows
4786 * BufferView2.C: remove file, move contents to...
4787 * BufferView.C: ... here
4789 * BufferView_pimpl.C:
4790 * factory.C: move more inset creation to factory
4792 * vspace.C: avoid direct usage of LyXText, ws changes
4795 don't provide direct access to WorkArea, use two simple
4796 acessors haveSelction() and workHeight() instead
4799 2002-08-29 John Levon <levon@movementarian.org>
4801 * BufferView_pimpl.C (dispatch): do not continue when
4804 2002-08-28 André Pönitz <poenitz@gmx.net>
4806 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
4809 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
4811 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4813 * buffer.C: increment LYX_FORMAT to 221
4815 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
4816 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
4818 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
4820 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
4822 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4824 * factory.C (createInset): use LyXTextClass::floats
4826 * MenuBackend.C (expandFloatListInsert):
4827 (expandFloatInsert):
4830 * text2.C (setCounter):
4832 * LaTeXFeatures.C (useFloat):
4833 (getFloatDefinitions):
4835 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
4837 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
4838 floatlist_, with accessor floats().
4840 * FloatList.h: remove global FloatList
4842 2002-08-26 André Pönitz <poenitz@gmx.net>
4844 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
4848 * BufferView_pimpl.C:
4849 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
4851 2002-08-25 John Levon <levon@movementarian.org>
4853 * LyXAction.C: fix margin note description
4855 2002-08-24 John Levon <levon@movementarian.org>
4859 * bufferview_funcs.C:
4861 * undo_funcs.C: cleanups
4863 * lyxfunc.C: disable CUT/COPY when no selection
4865 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4867 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
4868 in "enum UNIT"; e.g. PTW for Percent of TextWidth
4870 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
4871 Add backward compatibility to "mono", "gray" and "no".
4873 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
4875 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
4876 (and file_format >= 200).
4878 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4880 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
4882 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4884 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4886 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
4888 * BufferView_pimpl.C:
4895 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4896 inset and code to make it work with the paragraph code. The inset
4897 can be anywhere in the paragraph, but will only do the expected
4898 thing in LaTeX if the layout file contains the parameter line
4900 (or more generally, a nonzero value) for that layout.
4902 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4904 * paragraph.h: remove the declaration of undefined counters class
4907 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
4909 * text2.C (setCounter): fixed enumeration mis-count as reported by
4910 Dr. Richard Hawkins.
4912 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4914 * paragraph_funcs.h: remove some unneeded includes
4916 * text.C (backspace): pasteParagraph now in global scipe
4918 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
4919 (pasteSelection): ditto
4921 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4922 * paragraph_funcs.C (pasteParagraph): ... here
4924 2002-08-20 André Pönitz <poenitz@gmx.net>
4926 * commandtags.h: new LFUNs for swapping/copying table row/colums
4929 * lyxfunc.C: support for new lfuns
4931 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4934 * buffer.[Ch]: remove NO_COMPABILITY stuff
4936 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
4938 * boost.C (throw_exception): new file, with helper function for
4939 boost compiled without exceptions.
4944 * ParameterStruct.h:
4945 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4947 * bufferlist.C (emergencyWriteAll): use boost bind
4949 * BufferView_pimpl.C (moveCursorUpdate): remove inline
4951 * text.C: include paragraph_funcs.h
4952 (breakParagraph): breakParagraph is now in global scope
4954 * paragraph_funcs.[Ch]: new files
4956 * paragraph.C (breakParagraph,breakParagraphConservative): move to
4959 * buffer.C: include paragraph_funcs.h
4960 (insertStringAsLines): breakParagraph is now in global scope
4962 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4965 * CutAndPaste.C: include paragraph_funcs.h
4966 (cutSelection): breakParagraphConservative is now in global scope
4967 (pasteSelection): ditto
4969 * buffer.h: declare oprator== and operator!= for
4970 Buffer::inset_iterator
4972 * bufferlist.C (emergencyWrite): don't use fmt(...)
4974 * text3.C: add using std::endl
4976 * BufferView.C (moveCursorUpdate): remove default arg
4978 2002-08-20 André Pönitz <poenitz@gmx.net>
4980 * buffer.[Ch]: move inline functions to .C
4983 * BufferView_pimpl.C:
4985 * buffer.[Ch]: use improved inset_iterator
4988 * paragraph.[Ch]: write one paragraph at a time
4990 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
4992 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4993 style if style is not specified.
4995 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4997 * text2.C (setCounter): when searching for right label for a
4998 caption, make sure to recurse to parent insets (so that a caption
4999 in a minipage in a figure float works) (bug #568)
5001 2002-08-20 André Pönitz <poenitz@gmx.net>
5003 * text3.C: new file for LyXText::dispatch() and helpers
5005 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5007 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5009 2002-08-19 André Pönitz <poenitz@gmx.net>
5012 * text.C: new LyXText::dispatch()
5014 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5016 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
5018 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5020 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5023 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5025 * Makefile.am: use $(variables) instead of @substitutions@
5027 2002-08-15 André Pönitz <poenitz@gmx.net>
5030 * BufferView_pimpl.C: streamlining mathed <-> outer world
5034 * LyXAction.C: remove unused LFUN_MATH
5036 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5038 * paragraph.[Ch]: add some NO_NEXT ifdefs.
5040 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5042 * paragraph.C (Paragraph): reformat a bit
5043 (cutIntoMinibuffer): use builtin InsetList function instad of
5047 * buffer.C: include boost/bind.hpp, add using std::for_each
5048 (writeFileAscii): use ParagraphList iterators
5049 (validate): use for_each for validate traversal of paragraphs
5050 (getBibkeyList): use ParagraphList iterators
5051 (resizeInsets): use for_each to resizeInsetsLyXText for all
5053 (getParFromID): use ParagraphList iterators
5055 * BufferView2.C (lockInset): use paragraph list and iterators
5057 2002-08-14 John Levon <levon@movementarian.org>
5059 * lyxserver.C: remove spurious xforms include
5061 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5063 * lyxfunc.C (getStatus): disable math-extern outside of math mode
5065 2002-08-13 André Pönitz <poenitz@gmx.net>
5068 * lyxfunc.C: further cleaning
5070 2002-08-13 André Pönitz <poenitz@gmx.net>
5072 * funcrequest.h: new constructor
5074 * funcrequest.C: move stuff here from .h
5077 * BufferView_pimpl.C:
5080 * lyxfunc.C: subsequent changes
5082 * lyxfunc.h: new view() member function
5084 * lyxfunc.C: subsequent changes
5086 2002-08-13 Angus Leeming <leeming@lyx.org>
5089 * BufferView_pimpl.C:
5097 changes due to the changed LyXView interface that now returns references
5098 to member variables not pointers.
5100 2002-08-13 Angus Leeming <leeming@lyx.org>
5102 * WordLangTuple (word, lang_code): return references to strings,
5107 * lyxtext.h: forward-declare WordLangTuple.
5112 * text.C: #include "WordLangTuple.h".
5115 * text.C: (selectNextWordToSpellcheck): constify return type.
5117 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
5123 * paragraph_pimpl.h:
5126 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5128 Made updateCounter always count from start of buffer, and removed
5129 second argument (par).
5130 Reverted floats number display to '#'. Perhaps I'll try again when the
5131 code base is sanitized a bit.
5133 2002-08-12 Angus Leeming <leeming@lyx.org>
5135 * buffer.[Ch] (getLabelList): constify.
5137 2002-08-07 André Pönitz <poenitz@gmx.net>
5139 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5141 * funcrequest.h: extension to keep mouse (x,y) position
5143 2002-08-12 Juergen Vigna <jug@sad.it>
5145 * BufferView2.C (insertErrors): forbid undo when inserting error
5148 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5150 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5152 * ParagraphList.[Ch]: new files
5154 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5156 * BufferView2.C (lockInset): ParagraphList changes
5159 * bufferlist.C: ditto
5163 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5165 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5166 unused class variable counter_,
5168 * paragraph.[Ch] (getFirstCounter): delete unused function
5170 * counters.C: include LAssert.h
5171 (reset): add a new function with no arg, change other version to
5172 not have def. arg and to not allow empty arg.
5174 * text2.C (setCounter): remove empty arg from call to Counters::reset
5176 2002-08-11 John Levon <levon@movementarian.org>
5178 * Makefile.am: add WordLangTuple.h
5180 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5182 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5183 lyxfunc.C lyxlex_pimpl.C: ws changes only.
5185 * insets/insettext.C: InsetList changes
5187 * graphics/GraphicsSupport.C (operator()): InsetList changes
5189 * toc.C (getTocList): InsetList changes
5191 * paragraph_pimpl.[Ch]: InsetList changes
5193 * paragraph.[Ch]: InsetList changes
5195 * buffer.C (inset_iterator): InsetList changes
5196 (setParagraph): ditto
5197 * buffer.h (inset_iterator): ditto
5198 * iterators.C (operator++): ditto
5199 * iterators.h: ditto
5201 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5203 * InsetList.[Ch]: new files, most InsetList handling moved out of
5206 * BufferView2.C (removeAutoInsets): InsetList changes
5208 (ChangeInsets): ditto
5210 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5212 * paragraph_pimpl.h (empty): new function
5214 * paragraph.[Ch] (empty): new function
5216 * other files: use the new Paragraph::empty function
5218 2002-08-09 John Levon <levon@movementarian.org>
5220 * lyxtext.h: remove unused refresh_height
5222 2002-08-09 John Levon <levon@movementarian.org>
5229 * paragraph.C: move sgml char escaping out of paragraph
5232 * paragraph.C: remove id setter
5236 * paragraph_pimpl.C: remove dead tex_code_break_column
5238 * bufferview_funcs.C: small cleanup
5240 * lyxfunc.C: remove dead proto
5242 * lyxtext.h: make some stuff private. Remove some dead stuff.
5244 * lyxgluelength.C: make as[LyX]String() readable
5246 2002-08-08 John Levon <levon@movementarian.org>
5251 * ToolbarDefaults.C:
5254 * toc.C: lyxaction cleanup
5256 2002-08-08 John Levon <levon@movementarian.org>
5258 * BufferView2.C: small cleanup
5261 * lyxfind.C: move unnecessary header into the .C
5263 2002-08-08 John Levon <levon@movementarian.org>
5265 * funcrequest.h: just tedious nonsense
5268 * lyx_main.C: cleanups
5271 * vspace.C: remove dead header lyx_main.h
5273 2002-08-07 Angus Leeming <leeming@lyx.org>
5276 * paragraph_pimpl.h:
5277 Forward declare class Counters in paragraph.h by moving the ctrs member
5278 variable into Paragraph::Pimpl.
5279 (counters): new method, returning a reference to pimpl_->ctrs.
5281 * text2.C: ensuing changes.
5283 2002-08-07 John Levon <levon@movementarian.org>
5285 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
5287 * BufferView_pimpl.C: announce X selection on double/triple
5290 * lyx_main.C: use correct bool in batch dispatch
5292 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
5294 2002-08-07 André Pönitz <poenitz@gmx.net>
5296 * funcrequest.h: new class to wrap a kb_action and its argument
5299 * BufferView_pimpl[Ch]:
5303 * lyxrc.C: subsequent changes
5306 2002-08-07 John Levon <levon@movementarian.org>
5308 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
5309 document options change.
5311 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5316 * makefile.am: move counters functionality over from
5317 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
5319 2002-08-06 John Levon <levon@movementarian.org>
5321 * WordLangTuple.h: new file for word + language code tuple
5332 * BufferView2.C: use WordLangTuple
5335 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
5337 2002-08-06 John Levon <levon@movementarian.org>
5339 * lyx_main.C: fix cmdline batch handling
5341 2002-08-06 André Pönitz <poenitz@gmx.net>
5343 * lyxrc.C: set default for show_banner to true
5345 2002-08-06 John Levon <levon@movementarian.org>
5347 * pspell.C: fix a crash, and allow new aspell to work
5349 2002-08-06 John Levon <levon@movementarian.org>
5352 * kbmap.C: small cleanup
5355 * vspace.C: add const
5357 2002-08-05 John Levon <levon@movementarian.org>
5359 * LyXAction.C: back to tabular-insert
5361 2002-08-04 John Levon <levon@movementarian.org>
5364 * BufferView.C: cosmetic change
5366 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
5376 * BufferView2.C: purge all "Lyx" not "LyX" strings
5379 * lyxcursor.C: attempt to add some documentation
5384 * ToolbarDefaults.C:
5385 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
5386 merge with LFUN_TABULAR_INSERT
5393 * pspell.C: split up i/pspell implementations into separate
5394 files, many cleanups
5396 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
5398 * text2.C: some cleanup
5400 * lyxfunc.C: don't check for isp_command == "none" any more, it
5401 didn't make any sense
5403 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5408 * makefile.am: move counters functionality over
5409 from text2.C/paragraph.[Ch] to counters.[Ch], and
5411 2002-08-02 John Levon <levon@movementarian.org>
5413 * buffer.C: s/lyxconvert/lyx2lyx/
5415 2002-08-02 Angus Leeming <leeming@lyx.org>
5417 * lyxlex.C: revert John's change as it breaks reading of the user
5420 2002-08-02 Angus Leeming <leeming@lyx.org>
5422 * importer.C (Import):
5423 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
5424 changes due to LyXView::view() now returning a boost::shared_ptr.
5426 2002-08-02 John Levon <levon@movementarian.org>
5428 * lyxlex.C: small cleanup
5430 2002-08-02 John Levon <levon@movementarian.org>
5432 * text2.C (status): small cleanup, no logic change
5434 2002-08-01 John Levon <levon@movementarian.org>
5437 * buffer.C (writeFile): don't output alerts, caller
5441 * lyx_cb.C: from above
5443 * lyxfunc.C: allow to open non-existent files
5445 2002-07-31 John Levon <levon@movementarian.org>
5447 * lyxserver.C: don't let incidental errors get
5450 2002-07-30 John Levon <levon@movementarian.org>
5452 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
5454 2002-07-30 John Levon <levon@movementarian.org>
5457 * lyxserver.C: remove I/O callback too
5459 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5461 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
5464 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5466 * many files: strip,frontStrip -> trim,ltrim,rtrim
5468 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5470 * PrinterParams.h: remove extern containsOnly, and include
5471 support/lstrings.h instead.
5473 * LaTeX.C (scanAuxFile): modify because of strip changes
5475 * buffer.C (makeLaTeXFile): ditto
5476 * bufferparams.C (writeFile): ditt
5477 * lyxfont.C (stateText): ditto
5478 * lyxserver.C (read_ready): ditto
5479 * vc-backend.C (scanMaster): ditto
5481 * BufferView_pimpl.h: ws changes
5483 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
5485 2002-07-26 André Pönitz <poenitz@gmx.net>
5487 * kb_sequence.C: remove unnedred usings
5489 2002-07-26 Juergen Vigna <jug@sad.it>
5491 * lyxfind.C (LyXReplace): we have to check better if the returned
5492 text is not of theLockingInset()->getLockingInset().
5494 2002-07-25 Juergen Vigna <jug@sad.it>
5496 * lyxfind.C (LyXReplace): don't replace if we don't get the
5499 * undo_funcs.C (createUndo): remove debugging code.
5501 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
5503 * buffer.C (parseSingleLyXformat2Token): Use default placement
5504 when reading old floats.
5506 * FloatList.C (FloatList): Change the default placement of figure
5507 and tables to "tbp".
5509 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
5511 * MenuBackend.C: using std::max
5513 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5515 * MenuBackend.C (expandToc):
5516 (expandToc2): code moved from xforms menu frontend. It is now
5517 generic and TOCs are transparent to menu frontends.
5519 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5521 * toc.C (getTocList): protect against buf=0
5523 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
5524 Menu as first parameter. Now, this calls itself recursively to
5525 expand a whole tree (this will be useful for TOC handling)
5526 (expandFloatInsert): remove 'wide' version of floats
5528 * MenuBackend.h (submenuname): returns the name of the submenu.
5529 (submenu): returns the submenu itself, provided it has been
5530 created by MenuBackend::expand
5532 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5534 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
5535 insets which have noFontChange == true. (bug #172)
5537 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5539 * BufferView_pimpl.C: add connection objects and use them...
5542 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5544 * MenuBackend.C (expandLastfiles):
5547 (expandFloatListInsert):
5548 (expandFloatInsert):
5549 (expand): split expand in parts
5551 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5553 * lyx_gui.C: use lyx_gui::exit()
5555 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5557 * LyXAction.C: show the failing pseudo action
5559 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
5561 * buffer.C (readFile): Run the lyxconvert script in order to read
5564 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5568 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
5570 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5574 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
5576 2002-07-22 Herbert Voss <voss@lyx.org>
5579 * lyxlength.[Ch]: add support for the vertical lengths
5581 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
5583 * toc.[Ch]: std:: fixes
5585 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5587 * lyxrc.C: do not include lyx_main.h
5589 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
5595 * BufferView2.C: include "lyxlex.h"
5598 * bufferparams.h: do not #include "lyxlex.h"
5600 * lyxtextclasslist.C (Add): remove method
5601 (classlist): renamed to classlist_
5603 * paragraph_pimpl.C:
5607 * bufferview_funcs.C:
5612 * toc.C (getTocList): use BufferParams::getLyXTextClass
5614 * toc.C (getTocList): use InsetFloat::addToToc
5616 * toc.[Ch]: new files, containing helper functions to handle table
5619 * lyxfunc.C (dispatch): no need to remove spaces around command
5621 (getStatus): handle LFUN_SEQUENCE by returning the status of the
5622 first command of the sequence; it is not very clever, but I do not
5623 have a better idea, actually
5625 * LyXAction.C (LookupFunc): make sure to remove space at the
5626 beginning and end of the command
5628 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5630 * MenuBackend.C (getMenubar): new method: return the menubar of
5632 (read): treat differently reading of menu and menubar (in
5633 particular, the menubar has no name now)
5634 (Menu::menubar): remove
5636 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
5639 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5641 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
5642 a bibitem inset in a RTL paragraph.
5644 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
5646 * paragraph_pimpl.C: constify
5648 * BufferView_pimpl.C:
5650 * lyxfunc.C: fix dispatch in a nicer way
5652 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5654 * lyxfunc.C (dispatch):
5655 * BufferView_pimpl.C:
5656 * BufferView_pimpl.h:
5658 * BufferView.h: rename Dispatch() to dispatch()
5660 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
5662 * lyxlayout.C (Read): honor DependsOn tag
5664 * lyxlayout.[Ch] (depends_on): new method
5666 * version.C.in: update lyx_docversion
5668 * LaTeXFeatures.C (getMacros): only define \LyX when needed
5670 * paragraph.C (validate): remove from here...
5671 * paragraph_pimpl.C (validate): ... and move here
5672 (isTextAt): make it const
5674 * buffer.C (getLists): ws cleanup
5676 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5678 * language.C (read): Use iso8859-1 encoding in latex_lang
5679 (this prevents LyX from crashing when using iso10646-1 encoding).
5681 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5683 * text2.C (toggleInset): if cursor is inside an inset, close the
5684 inset and leave cursor _after_ it
5686 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5688 * lyxfunc.C: move minibuffer completion handling out of here
5690 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5692 * BufferView_pimpl.C:
5693 * LaTeX.C: fix dispatch calls
5695 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
5697 * text.C (drawChars): Fix Arabic text rendering.
5699 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
5703 * lyxfunc.C: remove message-push/pop
5707 * lyxfunc.C: rationalise some code by removing verboseDispatch
5708 in favour of a bool argument to dispatch()
5710 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5712 * lyx_main.C (init): make sure to read symlinks as absolute paths
5714 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5717 * lyxfunc.C: no need for commandshortcut to be a member
5719 2002-07-15 André Pönitz <poenitz@gmx.net>
5721 * converter.C: add support for $$s (scripts from lib/scripts dir)
5722 * lyx_main.C: white space
5724 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5728 * lyxrc.C: remove second exit confirmation
5730 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5735 * BufferView_pimpl.h:
5736 * BufferView_pimpl.C:
5737 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
5739 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5741 * MenuBackend.C (expand): add numeric shortcuts to document menu
5743 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
5745 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5747 * lyxfont.C (setLyXFamily):
5754 * buffer.C (asciiParagraph): use ascii_lowercase
5756 2002-07-15 Mike Fabian <mfabian@suse.de>
5758 * lyxlex_pimpl.C (search_kw):
5759 * lyxlex.C (getLongString):
5760 * converter.h (operator<):
5761 * converter.C (operator<):
5762 * buffer.C (parseSingleLyXformat2Token):
5764 * ToolbarDefaults.C (read):
5765 * MenuBackend.C (checkShortcuts):
5767 * LColor.C (getFromGUIName):
5768 (getFromLyXName): use the compare_ascii_no_case instead of
5769 compare_no_case, because in turkish, 'i' is not the lowercase
5770 version of 'I', and thus turkish locale breaks parsing of tags.
5772 2002-07-16 Angus Leeming <leeming@lyx.org>
5774 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
5775 now takes a Buffer const & argument.
5777 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
5779 * BufferView.C (resize): check there's a buffer to resize
5781 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
5783 * lyxfunc.C: remove dead code
5786 * lyxserver.C: use lyx_guii::set_read_callback
5788 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
5790 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
5791 an inset in a RTL paragraph.
5793 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5795 * lyxfunc.C: repaint after a font size update
5797 2002-07-15 André Pönitz <poenitz@gmx.net>
5799 * lyxlength.C: inBP should be able to return negative values
5801 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5803 * lyxfunc.C: use lyx_gui::update_fonts()
5805 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5807 * lyxfunc.C: use lyx_gui::update_color()
5809 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5815 * lyxrc.C: remove file->new asks for name option, and let
5816 buffer-new take an argument
5818 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5820 * BufferView_pimpl.C: remove unneeded extra repaint()
5822 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
5824 * LyXAction.C: allow command-sequence with NoBuffer
5826 * lyxfunc.C: don't insist on trailing ';' for command-sequence
5828 2002-07-10 Angus Leeming <leeming@lyx.org>
5830 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
5832 2002-07-09 Angus Leeming <leeming@lyx.org>
5834 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
5836 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5838 * lengthcommon.h: whitespace
5840 * lyxfunc.C: update scrollbar after goto paragraph
5842 * lyxtext.h: factor out page break drawing, and fix it so
5843 page break/added space paints as selected nicely
5845 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5847 * BufferView_pimpl.C: add FIXMEs, clean up a little
5849 2002-07-09 André Pönitz <poenitz@gmx.net>
5851 * lyxfont.[Ch]: support for wasy symbols
5853 2002-07-08 André Pönitz <poenitz@gmx.net>
5855 * BufferView_pimpl.C: apply John's patch for #93.
5857 2002-07-05 Angus Leeming <leeming@lyx.org>
5859 * BufferView_pimpl.C (buffer): generate previews if desired.
5861 * LColor.h: add "preview" to the color enum.
5863 * LColor.C (LColor): add a corresponding entry to the items array.
5865 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
5868 2002-07-05 Angus Leeming <leeming@lyx.org>
5870 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
5871 The body of the code is now in the method that is passed an ostream &
5872 rather than a file name.
5873 Pass an additional only_preamble parameter, useful for the forthcoming
5876 2002-07-03 André Pönitz <poenitz@gmx.net>
5878 * lyxfunc.C: simplify getStatus() a bit for math stuff
5880 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5882 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5884 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5886 * text.C (changeRegionCase): do not change case of all the
5887 document when region ends at paragraph end (bug #461)
5889 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5891 * paragraph.C (startTeXParParams):
5892 (endTeXParParams): add \protect when necessary
5894 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5896 * BufferView_pimpl.C (workAreaExpose): remove warning
5898 2002-06-27 Angus Leeming <leeming@lyx.org>
5900 * Makefile.am: add lyxlayout_ptr_fwd.h.
5902 2002-06-26 André Pönitz <poenitz@gmx.net>
5904 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
5906 2002-06-25 Angus Leeming <leeming@lyx.org>
5908 * lyxfunc.C (dispatch): Comment out the call to
5909 grfx::GCache::changeDisplay. The method no longer exists now that the
5910 pixmap generation part of the graphics loader has been moved into
5913 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5915 * text2.C: layout as layout
5917 * text.C: layout as layout
5919 * tabular.C (OldFormatRead): layout as layout
5921 * paragraph_pimpl.C (TeXDeeper): layout as layout
5922 (realizeFont): layout as layout
5924 * paragraph.C (writeFile): layout as layout
5925 (validate): layout as layout
5926 (getFont): layout as layout
5927 (getLabelFont): layout as layout
5928 (getLayoutFont): layout as layout
5929 (breakParagraph): layout as layout
5930 (stripLeadingSpaces): layout as layout
5931 (getEndLabel): layout as layout
5932 (getMaxDepthAfter): layout as layout
5933 (applyLayout): layout as layout
5934 (TeXOnePar): layout as layout
5935 (simpleTeXOnePar): layout as layout
5936 (TeXEnvironment): layout as layout
5937 (layout): layout as layout
5938 (layout): layout as layout
5940 * lyxtextclass.C (compare_name): new functor to work with
5941 shared_ptr, layout as layout
5942 (Read): layout as layout
5943 (hasLayout): layout as layout
5944 (operator): layout as layout
5945 (delete_layout): layout as layout
5946 (defaultLayout): layout as layout
5948 * lyxlayout_ptr_fwd.h: new file
5950 * lyxlayout.C (Read): layout as layout
5952 * lyx_cb.C (MenuInsertLabel): layout as layout
5954 * bufferlist.C (newFile): layout as layout
5956 * buffer.C (readLyXformat2): layout as layout
5957 (parseSingleLyXformat2Token): layout as layout
5958 (insertStringAsLines): layout as layout
5959 (asciiParagraph): layout as layout
5960 (latexParagraphs): layout as layout
5961 (makeLinuxDocFile): layout as layout
5962 (simpleLinuxDocOnePar): layout as layout
5963 (makeDocBookFile): layout as layout
5964 (simpleDocBookOnePar): layout as layout
5965 (getLists): layout as layout
5967 * LaTeXFeatures.C (getTClassPreamble): layout as layout
5969 * CutAndPaste.C (cutSelection): layout as layout
5970 (pasteSelection): layout as layout
5971 (SwitchLayoutsBetweenClasses): layout as layout
5973 * BufferView_pimpl.C (Dispatch): layout as layout
5974 (smartQuote): layout as layout
5976 * BufferView2.C (unlockInset): layout as layout
5978 2002-06-24 André Pönitz <poenitz@gmx.net>
5980 * lyxfunc.C: fix #487
5982 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5986 * lyxfunc.C: remove display_shortcuts, show_banner
5988 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5990 * Buffer_pimpl.C: oops, update on resize
5992 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5999 * BufferView.C: use repaint()
6001 * BufferView_pimpl.h:
6002 * BufferView_pimpl.C: s/updateScreen()/repaint()/
6003 as it's a clearer description. Remove superfluous
6006 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6008 * text.C: fix bug 488. Not ideal, but getting
6009 getWord() to work properly for the insets that
6010 matter is more difficult ...
6012 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6014 * BufferView_pimpl.C:
6017 * lyxfunc.C: remove the six million index lyxfuncs to just
6018 one, and DTRT (bug 458)
6020 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6024 * BufferView_pimpl.h:
6025 * BufferView_pimpl.C: clean up resize() stuff,
6026 and unnecessary updateScreen()s
6028 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6032 * BufferView_pimpl.h:
6033 * BufferView_pimpl.C:
6036 * minibuffer.C: remove focus management of workarea,
6037 not needed. Use screen's greyOut()
6039 2002-06-17 Herbert Voss <voss@lyx.org>
6041 * converter.C: (convert) do not post a message, when converting
6042 fails, let the calling function decide what to do in this case
6044 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
6046 * lyxfunc.C: tidy up a little
6048 2002-06-16 <alstrup@diku.dk>
6050 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6051 Got rid of FORMS_H_LOCATION include. Now we are
6054 2002-06-15 LyX Development team <lyx@rilke>
6056 * buffer.[Ch] (sgmlOpenTag):
6057 (sgmlCloseTag): Added support for avoiding pernicious mixed
6058 content. Return number of lines written.
6061 (makeDocBookFile): Fixed calls to sgml*Tag.
6062 Simple white space clean.
6064 (simpleDocBookOnePar): Simple white space clean.
6066 * tabular.[Ch] (docBook): Renamed to docbook and got another
6067 argument to related with the pernicious mixed content.
6069 (docbookRow): Fixed calls for docbook inset method.
6071 2002-06-15 Lyx Development team <larsbj@birdstep.com>
6073 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6074 so it's X11 independent.
6078 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6080 2002-06-15 Lyx Development team <lyx@electronia>
6082 * intl.h: Renamed getTrans to getTransManager.
6084 2002-06-14 Angus Leeming <leeming@lyx.org>
6086 * Makefile.am: nuke forgotten stl_string_fwd.h.
6088 2002-06-12 Angus Leeming <leeming@lyx.org>
6090 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6092 2002-06-13 Angus Leeming <leeming@lyx.org>
6095 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6097 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
6099 * kbmap.C (getiso): add support for cyrillic and greek
6101 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6105 * BufferView_pimpl.h:
6106 * BufferView_pimpl.C: move bogus scrolling logic
6109 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6112 * BufferView_pimpl.C: view->resize() change
6114 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6116 * BufferView_pimpl.C: topCursorVisible
6119 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6123 * lyx_gui.C: move to frontends/
6127 * lyx_main.C: changes from above
6129 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6136 * lyx_main.C: minor tidy
6138 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6140 * BufferView_pimpl.h:
6141 * BufferView_pimpl.C:
6143 * BufferView.C: make painter() const,
6146 * BufferView2.C: use screen() accessor
6149 * lyx_main.C: some minor cleanup
6151 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6153 * BufferView_pimpl.h:
6154 * BufferView_pimpl.C: remove enter/leaveView,
6157 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6162 * BufferView_pimpl.h:
6163 * BufferView_pimpl.C: only construct screen once,
6166 * lyxrc.C: remove pointless comment
6168 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6171 * BufferView.C: remove active() and belowMouse()
6173 * BufferView_pimpl.h:
6174 * BufferView_pimpl.C: use workarea() not workarea_,
6175 and make it use a scoped_ptr instead
6177 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6179 * lyx_gui.C: add debug message on BadWindow
6181 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6183 * sp_spell.C: fdopen is not part of the C++ standard.
6185 * paragraph.C (InsetIterator): use >= instead of ==
6187 2002-06-07 Angus Leeming <leeming@lyx.org>
6189 Fixes needed to compile with Compaq cxx 6.5.
6190 * BufferView_pimpl.C:
6197 * lyxtextclasslist.C:
6202 all c-library variables have been moved into namespace std. Wrap
6203 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6208 Add a using std::abs declaration.
6210 * kbmap.h (modifier_pair):
6211 * paragraph.h (InsetTable, InsetList):
6212 * lyxfont.h (FontBits):
6213 type definition made public.
6215 * bufferlist.C (emergencyWriteAll): the compiler complains that
6216 there is more than one possible lyx::class_fun template to choose from.
6217 I re-named the void specialisation as lyx::void_class_fun.
6219 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6221 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6222 the compiler is is unable to find tostr in write_attribute.
6224 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6226 * buffer.C (sgmlError): hide #warning
6228 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6230 * xtl/*: get rid of xtl, which is not in use anyway
6232 * LyXAction.C (init):
6233 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
6234 were unimplemented xtl experimentation
6236 2002-06-04 André Pönitz <poenitz@gmx.net>
6238 * lyxfunc.C: disable array operation on simple formulae
6240 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
6242 * converter.C: constify a bit
6244 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
6246 * lyx_gui.C: check xforms version correctly
6248 2002-04-30 Herbert Voss <voss@lyx.org>
6250 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6253 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
6255 * lyxvc.C: fix bug 416 (make sure buffer is saved before
6256 attempt to register it with a VCS)
6258 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6260 * lyx_main.C (init): honor variables LYX_DIR_13x and
6263 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6267 * lyx_main.C: fix a crash on bad command line,
6268 and give a useful exit status on error
6270 * lyxfunc.C (doImport): allow -i lyx to work
6272 2002-03-30 André Pönitz <poenitz@gmx.net>
6274 * lyxfunc.C: mathed font changes
6276 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6291 * trans_mgr.h: srcdocs, and some minor cleanups
6293 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6295 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
6296 call getFont all the time)
6298 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6300 * switch from SigC signals to boost::signals
6302 2002-05-29 André Pönitz <poenitz@gmx.net>
6304 * paragraph_pimpl.C (getChar): don't call size() too often...
6306 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6308 * paragraph_pimpl.C (insertChar): do not try to update tables when
6309 appending (pos == size())
6311 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
6312 in order to reduce drastically the number of comparisons needed to
6313 parse a large document
6315 2002-05-29 André Pönitz <poenitz@gmx.net>
6321 * textclasslist.[Ch]:
6322 * sp_ispell.h: whitespace change
6324 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6326 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
6327 lyxaction directly now.
6329 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
6333 * lyxvc.C: remove unused headers
6335 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6342 * undo_funcs.C: some cleanups. Use shared_ptr
6343 and a template for the undo stacks.
6345 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6347 * BufferView_pimpl.h:
6348 * BufferView_pimpl.C:
6355 * text2.C: use key_state/mouse_state
6357 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6359 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
6362 * chset.C: change include order
6363 (loadFile): use boost regex and get rid of LRegex and LSubstring
6365 * Makefile.am (BOOST_LIBS): new variable
6368 * LaTeX.C: change include order.
6369 (scanAuxFile): use boost regex and get rid of LRegex and
6373 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6378 * FontInfo.C: moved to frontends/xforms/
6381 * FontLoader.C: moved into frontends for GUIIzation
6386 * lyxfunc.C: changes from above
6388 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6390 * LColor.C: remove spurious X include
6392 * BufferView_pimpl.C:
6397 * text2.C: move font metrics to frontends/
6399 2002-05-24 Juergen Vigna <jug@sad.it>
6401 * undo_funcs.C (textHandleUndo): fix the cursor selection after
6402 setting the undo_cursor.
6404 * ParagraphParameters.h: include local includes first.
6406 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6408 * BufferView_pimpl.C:
6409 * BufferView_pimpl.h:
6413 * screen.C: move WorkArea into frontends/
6419 * BufferView2.C: move LyXScreen into frontends/
6423 * lyx_gui.C: move lyxlookup into frontends/xforms/
6425 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6428 * BufferView_pimpl.C:
6438 * bufferview_funcs.C:
6451 * vc-backend.C: move LyX/XFormsView into frontends/
6453 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6465 * text2.C: move Painter to frontends/
6467 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6469 * buffer.C: comment out some some code that depend upon lyx_format
6472 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
6473 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
6475 * buffer.h (NO_COMPABILITY): turn off compability
6477 * ColorHandler.C: include scoped_array.hpp
6479 * font.C: Use more specific smart_ptr header.
6482 * ShareContainer.h: ditto
6486 * BufferView_pimpl.h: ditto
6487 * ColorHandler.h: ditto
6489 * kbmap.C (defkey): change call to shared_ptr::reset
6491 2002-05-21 Juergen Vigna <jug@sad.it>
6493 * buffer.C (insertErtContents): fix to insert ert asis if it is
6494 non empty. Skip it completely if it contains only whitespaces.
6496 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
6498 * BufferView_pimpl.C:
6499 * BufferView2.C: clear selection on paste (bug 393)
6501 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6503 * DepTable.C: include ctime
6505 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
6507 * buffer.C (latexParagraphs): Add new argument (moving_arg).
6509 2002-05-14 Juergen Vigna <jug@sad.it>
6511 * text.C (breakParagraph): fixed function to honor the keepempty
6512 layout in the right maner and also to permit the right breaking
6513 algorithm on empty or non empyt keepempty paragraphs.
6515 * paragraph.C (breakParagraph): we have to check also if the par
6516 is really empty (!size()) for isempty otherwise we do the wrong
6519 2002-05-10 Juergen Vigna <jug@sad.it>
6521 * buffer.[Ch] : The following are only changes to the ert
6522 compatibility read reading old LaTeX layout and font stuff and
6523 convert it to ERTInsets.
6525 * buffer.h: added isErtInset().
6527 * buffer.C (struct ErtComp): add a fromlayout bool to check
6528 if we're inside a LaTeX layout.
6529 (isErtInset): new helper function.
6530 (insertErtContents): look for other ert insets before this one
6531 and insert the contents there, so that we don't have subsequent
6532 ERT insets with nothing between them. This way we create only one
6533 inset with multiple paragraphs. Also check if we don't insert only
6534 spaces ' ' as they are ignored anyway afterwards in the .tex file
6535 so if we have only spaces we will ignore this latex part in the
6537 (parseSingleLyXformat2Token \\layout): better compatibility when
6538 reading layout-latex stuff.
6539 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
6541 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
6542 stuff after reading the inset only get the information back from
6545 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
6547 * buffer.C (makeLaTeXFile): Put language options after loading babel.
6549 * LaTeXFeatures.C (getBabelOptions): New method.
6551 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6553 * BufferView_pimpl.C (Dispatch): work around missing argument for
6556 2002-05-08 Juergen Vigna <jug@sad.it>
6558 * text.C (leftMargin): handle paragraph leftindent.
6560 * paragraph.C (writeFile): write the new \\leftindent tag.
6561 (validate): handle leftindent code.
6562 (TeXEnvironment): handle paragraphleftindent code again.
6564 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
6566 * buffer.C (parseSingleLyXformat2Token): added compatibility code
6567 for paragrap_extra indent code and new token \\leftindent.
6568 (latexParagraphs): handle the leftindent as environment.
6570 * ParameterStruct.h: added leftindent support.
6572 * ParagraphParameters.C (leftIndent): added support functions for
6573 the paragraph left indent.
6575 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
6578 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
6580 * paragraph.C (isRightToLeftPar): Return false for a paragraph
6583 * text.C (computeBidiTables): No bidi in insetERT.
6585 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
6588 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6590 * version.C.in: pre 5
6592 2002-05-02 José Matos <jamatos@fep.up.pt>
6593 * buffer.C (makeDocBookFile): white space changes, add newline to
6595 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
6597 * tabular.C (docBook): fix typo.
6599 2002-05-03 Juergen Vigna <jug@sad.it>
6601 * screen.C (drawFromTo): recalculate the rowpointer if we had a
6602 change in LyXText as we can not be sure it was not freed.
6603 (drawOneRow): remove unused code.
6605 * text.C (drawInset): redo the calculation of the need_break_row as
6606 it could have a row which was already freed.
6607 (draw): look at the return value of drawInset and return false if
6608 it also returned false.
6609 (paintRowText): look at the return value of draw and return false if
6610 it also returned false.
6612 * lyxtext.h: added bool return type to drawInset() and draw() so that
6613 if we have a change in the row so that the rowbreak has to be redone
6614 we abort drawing as it will be called again.
6616 2002-05-02 Juergen Vigna <jug@sad.it>
6618 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
6619 a change in the maintext also if we're inside an inset.
6620 (Dispatch): set the cursor again after a break line and after the
6621 screen has been updated as it could be we're in a different row.
6623 * text2.C (fixCursorAfterDelete): check to make sure we don't request
6624 to set the cursor behind the pargraph with > size().
6625 (setCursor): check also for the same paragraph when checking where
6626 to put the cursor if we have a NFR inset.
6628 * buffer.C (parseSingleLyXformat2Token): move the compatibility
6629 parts of layout read further up as it still was in the wrong
6632 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6634 * screen.C (drawFromTo): change sine fullRebreak always return
6637 * buffer.C (parseSingleLyXformat2Token): reindent some
6639 * BufferView_pimpl.C (update): change since fullRebreak always
6641 (Dispatch): git rid of the last hardcoded "Standard"s.
6643 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6645 * text2.[Ch] (fullRebreak): make it return void now that we always
6648 2002-04-30 Juergen Vigna <jug@sad.it>
6650 * buffer.C (parseSingleLyXformat2Token): reset the font before the
6651 ert compatibility check for "latex" layout.
6653 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
6655 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
6656 minipages: use col% instead of p%, and also use the current font.
6657 (makeLaTeXFile): Fix use babel condition.
6658 (parseSingleLyXformat2Token): Correct font when reading old floats.
6660 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
6662 * BufferView_pimpl.C (Dispatch): Check that float type exists when
6663 inserting list of floats.
6665 2002-04-25 Herbert Voss <voss@lyx.org>
6667 * MenuBackend.C (expand): don't add the graphics extensions to the
6670 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6672 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
6673 non-existing layout, do not complain if it was the default layout
6674 of the original class (bug #342)
6676 2002-04-24 Juergen Vigna <jug@sad.it>
6678 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
6679 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
6681 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
6683 * buffer.C (getBibkeyList): If using \bibliography, return the
6684 option field with the reference itself. Enables us to provide natbib
6685 support when using \bibliography.
6687 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
6689 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
6691 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
6692 natbib is provided by the LaTeX class.
6694 2002-04-23 Juergen Vigna <jug@sad.it>
6696 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
6699 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
6701 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6703 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
6705 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
6706 ensuremath around textordmasculine, textordfeminine and
6709 2002-04-19 Juergen Vigna <jug@sad.it>
6711 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
6712 reinitializing the buffer otherwise row-dimensions may be wrong.
6713 (update): reset also the selection cursors if they do exits otherwise
6714 their x/y positions may be wrong.
6716 * text2.C (cursorDown): don't enter the inset if we came from a row
6717 above and are one row over the inset.
6719 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
6720 really leaving an inset.
6722 2002-04-18 Juergen Vigna <jug@sad.it>
6724 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
6725 of the selected paragraph does not have the selected layout also if
6728 * text2.C (setLayout): fixed bug which did not change last selected
6731 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
6732 changed the read and substituted \\end_float with \\end_inset!
6734 * BufferView_pimpl.C (cursorPrevious):
6735 (cursorNext): fixed to make it work with rows heigher than the work
6736 area without moving the cursor only the draw of the row.
6737 (workAreaMotionNotify): fix jumping over high rows.
6739 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6741 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
6744 2002-04-16 Juergen Vigna <jug@sad.it>
6746 * text2.C (setCursor): set also the irow().
6747 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
6749 (cursorDown): support for locking an inset if the x_fix value goes
6750 inside it. That way I can transverse insets too with cursor up/down.
6752 * lyxrow.h: added irow helper function same as other (i) functions.
6754 * BufferView_pimpl.C (cursorPrevious):
6755 (cursorNext): fixed for insets!
6757 2002-04-15 Juergen Vigna <jug@sad.it>
6759 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
6760 position otherwise it is wrong in some cases.
6762 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
6763 inside the inset before the call.
6765 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
6767 * buffer.[Ch] (getBibkeyList): make it const.
6769 2002-04-12 Juergen Vigna <jug@sad.it>
6771 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
6773 * text2.C (getCursorX): new helper function
6774 (setCursor): compute also ix_
6775 (setCursorFromCoordinates): set also ix.
6777 * lyxcursor.h: added ix_ and helper functions.
6779 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
6781 * buffer.C (insertStringAsLines): dont break paragraph if the this
6782 paragraph is inside an inset which does not permit it!
6784 * text.C (breakParagraph): honor keepempty flag and break the paragraph
6785 also with no chars on this paragraph.
6786 (paintRowText): only paint stuff if it's inside the workarea!
6788 * paragraph.C (breakParagraph): honor keepempty flag and break the
6789 paragraph always below not above.
6791 * BufferView2.C (unlockInset): update the paragraph layout on inset
6792 unlock as we changed paragraph in such a case.
6794 * lyxfind.C (LyXFind): clear the former selection if not found!
6796 * text2.C (insertInset): freeze Undo after setUndo so that it is not
6797 again called in insertChar().
6799 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
6800 an inset which uses the whole row!
6801 (rightMargin): ditto.
6802 (insertChar): force a rebreak if we inserted an inset!
6804 2002-03-28 Herbert Voss <voss@lyx.org>
6806 * lyxlength.[Ch]: add inBP() to get the right PS-point
6807 units (BigPoint). With inPixels we have rounding errors
6809 2002-04-11 Juergen Vigna <jug@sad.it>
6811 * text2.C (setCursorFromCoordinates): set iy to the right value.
6812 (setCursor): add check if row->previous exists!
6814 * buffer.C (parseSingleLyXformat2Token): reset font after read of
6815 an old float_type as this was the case in the old code!
6817 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
6819 * BufferView2.C (showLockedInsetCursor): use iy
6820 (fitLockedInsetCursor): ditto
6822 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
6823 locked insets as there we have the right value now.
6825 * lyxcursor.C: added iy_ variable and iy functions to set to the
6826 baseline of cursor-y of the locked inset.
6828 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
6829 (setCursor): fixed for insets which need a full row.
6831 * text.C (rowLastPrintable): don't ignore the last space when before
6832 an inset which needs a full row.
6833 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
6834 as last character of a row when before a inset which needs a full row.
6836 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6838 * version.C.in: update date
6840 * text2.C (fullRebreak): try to always return true and see what
6843 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6845 * MenuBackend.C (expand): use Floating::listName
6847 * FloatList.C (FloatList): add listName argument to the built-in
6850 * Floating.[Ch]: add listName member, which is the 'List of XXX'
6851 text associated with the float.
6853 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6855 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
6857 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6859 * ShareContainer.h: add a couple of missing typenames.
6861 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
6863 * lyxrc.C (getDescription): use _() correctly rather than N_().
6865 2002-03-28 Herbert Voss <voss@lyx.org>
6867 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
6868 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
6870 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6872 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
6873 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
6875 2002-03-29 Juergen Vigna <jug@sad.it>
6877 * lyxfunc.C (dispatch): add a missing fitCursor call.
6879 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
6880 it was scrolled by a cursor move, so return the bool status.
6882 * BufferView.C (fitCursor): return the bool flag also to the outside
6883 world as this is needed.
6885 * screen.C (toggleToggle): don't subtract the offset if it's positive.
6887 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6888 call the edit() as it is not needed (and wrong) IMO.
6889 (workAreaButtonPress): set the screen_first variable before evt.
6890 unlock the inset as this may change screen_first and then we have
6891 a wrong y position for the click!
6893 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6895 * MenuBackend.C (expand): another translation that I missed
6897 2002-03-28 Juergen Vigna <jug@sad.it>
6899 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6901 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6903 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6905 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
6907 * MenuBackend.C (expand): fix export/view/update when there is no
6910 2002-03-27 Herbert Voss <voss@lyx.org>
6912 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
6915 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6917 * bufferview_funcs.C (currentState): only show paragraph number
6918 for is DEVEL_VERSION is set.
6920 * lyxfunc.C (dispatch): put warning in INFO channel
6922 * MenuBackend.C (expand): translate the name of floats
6924 * FloatList.C (FloatList): mark the float names for translation
6926 * converter.C (convert): use LibScriptSearch
6928 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6930 * MenuBackend.C (defaults): fix default menu (we might as well get
6933 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6935 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6938 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6940 * lyxvc.C: reorder includes.
6942 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
6944 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6947 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
6949 * CutAndPaste.C: change layouts earlier on paste
6950 to avoid crashing when calling getFont()
6952 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
6954 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6957 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6959 * WorkArea.C: remove 'Pending' debug message.
6961 * most files: ws cleanup
6963 * buffer.[Ch]: ws changes
6965 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6967 2002-03-21 Juergen Vigna <jug@sad.it>
6969 * tabular.C (SetMultiColumn): collapse also the contents of the
6970 cells and set the last border right. Added a Buffer const * param.
6972 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6974 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6977 2002-03-19 Juergen Vigna <jug@sad.it>
6979 * text2.C (clearSelection): reset also xsel_cache.
6981 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6982 where it needs to be called (John tells us to do so too :)
6983 (selectionLost): reset sel_cache.
6985 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6987 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6989 * text2.C (setCursorIntern): put debuging code in INSETS channel
6991 2002-03-19 André Pönitz <poenitz@gmx.net>
6993 * lyxfunc.C: tiny whitespace change
6995 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6997 * ToolbarDefaults.C (init):
6998 * LyXAction.C (init):
7000 * BufferView_pimpl.C (Dispatch):
7001 * lyxfunc.C (dispatch): remove LFUN_DEPTH
7003 2002-03-19 Allan Rae <rae@lyx.org>
7005 * exporter.C (Export): removeAutoInsets before doing anything else.
7006 While I've just introduced a dependency on BufferView this really is
7007 the best place to clean the buffer otherwise you need to cleanup in
7008 a dozen places before calling export or cleanup in a dozen functions
7011 * converter.C (runLaTeX):
7012 (scanLog): Better handling of removeAutoInsets and screen updates.
7014 * lyxfunc.C (dispatch): small whitespace changes
7016 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7018 * WorkArea.C (C_WorkAreaEvent): return a value.
7019 (event_cb): return 1 if we handled the event, 0 otherwise.
7021 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7023 2002-03-18 Juergen Vigna <jug@sad.it>
7025 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7026 (GetAdditionalWidth): ditto.
7030 * BufferView2.C (copy): use getLyXText() so that we do it inside an
7031 inset if we're there actually (probably not used right now but this
7032 is the direction to go for unifying code).
7033 (paste): disable code to clear the selection.
7035 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7036 inside an InsetText and move the check further up as it is in the
7039 * text2.C (pasteSelection): set a selection over the pasted text.
7041 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
7043 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7044 and libgraphics to build on Cygwin.
7046 2002-03-15 Juergen Vigna <jug@sad.it>
7048 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7049 inserting an Inset into the paragraph. I know this is not the best
7050 fix but we already use current_view in CutAndPaste so we will remove
7051 all of it's using at the same time.
7053 * buffer.C (sgmlError): deactivated function till it is rewritten in
7054 the right mode, now it can create problems.
7056 * paragraph.C (isLineSeparator): check if getInset returns != 0,
7057 before accessing it.
7059 2002-03-14 Juergen Vigna <jug@sad.it>
7061 * undo_funcs.C (textHandleUndo): do the right thing when updating
7062 the inset after the undo/redo.
7064 * text2.C (setCursor): just some testcode for #44 not ready yet.
7066 * undo_funcs.C (textHandleUndo): set the next() and previous()
7067 pointers of the paragraph to 0 before deleting otherwise we have
7068 problems with the Paragraph::[destructor].
7070 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7071 on a paragraph insertion.
7073 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7075 * buffer.C (asciiParagraph): use += operator for char append to
7078 * paragraph.C (getFontSettings): compare >= not just >
7079 (highestFontInRange): ditto
7082 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7084 * paragraph.C: change several algorithm to be more appripriate for
7085 the problem domain. This is lookip in FontList and in the InsetList.
7087 2002-03-13 André Pönitz <poenitz@gmx.net>
7090 * LyXAction.C: remove unused LFUN_MATH_MACROARG
7092 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
7097 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7099 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7101 * Painter.C (display): anon helper function, adjust code for this
7103 (pixmap): remove function.
7105 * Painter.h: remove private display variable.
7107 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7109 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
7111 * WorkArea.[Ch]: remove figinset_canvas cruft.
7113 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7115 * lyxtextclass.C (operator): add one item cache optimization.
7117 * bufferlist.h: doxy changes
7119 * bufferlist.C: ws changes
7121 * DepTable.[Ch] (ext_exist): place const in the right spot.
7123 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7125 (workAreaExpose): call resizeInsets when the with BufferView changes.
7126 (Dispatch): adjust for protectedBlank removal
7127 (specialChar): call updateInset if the insert went ok.
7129 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7130 specialChar instead.
7132 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7134 * BufferView.h: doxy change
7136 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7138 * lyxtextclass.C (operator[]): remove non-const version
7139 (defaultLayout): remove non-const version
7141 2002-03-12 Juergen Vigna <jug@sad.it>
7143 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7144 did resize the LyXText too.
7146 * buffer.C (readLyXformat2): set layout information on newly allocated
7149 * tabular.C (OldFormatRead): set layout information on the paragraph.
7151 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7153 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7155 2002-03-11 Juergen Vigna <jug@sad.it>
7157 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7159 (resizeCurrentBuffer): force also the insets to resize themselfes.
7160 (moveCursorUpdate): fixed up for InsetText.
7162 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
7165 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7166 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7167 value of Dialogs::tooltipsEnabled().
7168 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7170 2002-03-08 Juergen Vigna <jug@sad.it>
7172 * BufferView_pimpl.C (updateInset): update inset inside inset also
7173 if it isn't inside theLockingInset().
7175 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7177 * buffer.C (asciiParagraph): redo some of the word and line length
7179 (getLists): look for Caption instead of caption.
7181 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7183 * buffer.C (Buffer): initialize niceFile to true
7186 (makeDocBookFile): make sure niceFile is true on exit
7188 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7190 * buffer.C (makeLaTeXFile): escape ~ in \input@path
7192 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
7194 * LyXSendto.C: remove.
7195 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7196 * lyx_gui.C: remove now-redundant comment.
7197 * ColorHandler.h: remove forward declaration of class WorkArea.
7198 * lyxfunc.C: remove #include "WorkArea.h".
7200 2002-03-07 Juergen Vigna <jug@sad.it>
7202 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7203 got moved away with the DEPM and also set the inset_owner always
7204 right which before could have been omitted.
7206 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7208 * buffer.C (parseSingleLyXformat2Token): use default layout is the
7209 wanted layout is not found.
7211 2002-03-07 Juergen Vigna <jug@sad.it>
7213 * CutAndPaste.C (cutSelection): another layout settings forgotten.
7215 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7217 * paragraph.C (breakParagraph): use default layout not layout of
7219 (Paragraph): clear ParagraphParameters.
7221 2002-03-06 Juergen Vigna <jug@sad.it>
7223 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7224 otherwise it would not be a valid lenght. Fixed a special case in
7225 the minipage compatibility read where we end the document with a
7228 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7229 was set as it could be 0 for InsetTexts first entry.
7231 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7233 * paragraph.C (writeFile): if layout is empty write out
7234 defaultLayoutName().
7236 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
7237 file without named layout we set layout to defaultLayoutName().
7239 2002-03-06 Juergen Vigna <jug@sad.it>
7241 * CutAndPaste.C (copySelection): set layout for new paragraph.
7243 * text.C (prepareToPrint): leave ERT inset left aligned
7244 (leftMargin): don't indent paragraphs inside ERT insets
7246 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7248 * paragraph.C (breakParagraph): dont call clear do the work manually
7250 * paragraph.[Ch] (clear): remove function
7252 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7254 * paragraph.C (Paragraph): dont call clear, the work has already
7257 * lyxtextclass.C (operator): assert if n is empty
7259 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7260 work manually instead.
7262 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7264 * BufferView_pimpl.C: protect selectionLost against text == 0
7266 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7268 * text.C (breakParagraph): fix a setting layout to '0' problem.
7270 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7272 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
7273 final location of file, for the included files, and graphics.
7275 2002-03-05 Juergen Vigna <jug@sad.it>
7277 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
7279 2002-03-04 Juergen Vigna <jug@sad.it>
7281 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
7283 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
7284 last column of multicolumn cells.
7285 (SetWidthOfMulticolCell): recalculate NMC and real columns.
7287 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
7289 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
7290 file if it doesn't go to a temporary file.
7292 * buffer.C (sgmlOpenTag):
7293 (sgmlCloseTag): remove extra newline insertion.
7295 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7297 * text.C (getRowNearY): comment out debug msg
7299 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7301 * text2.C: first -> first_y
7303 * text.C (getRowNearY): add some attemts at a possible
7304 optimization, not working.
7306 * tabular.[Ch]: add BufferParams to several function so that newly
7307 created paragraph can be initialized to he default layotu for the
7310 * tabular-old.C (ReadOld): add buf->params to call of Init
7312 * screen.C: rename text->first to text->first_y
7314 * paragraph.C (breakParagraph): always set layout in the broken
7317 * lyxtextclass.C (Read): remove lowercase
7320 (delete_layout): ditto
7322 * lyxtext.h: rename first -> first_y
7324 * lyxlayout.C (Read): remove lowercase
7327 (obsoleted_by): ditto
7329 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
7331 * buffer.C (insertErtContents): add params are to InsetERT
7332 (parseSingleLyXformat2Token): add code to check if a paragraphs
7333 layout really exist.
7334 (parseSingleLyXformat2Token): add params to several inset
7336 (asciiParagraph): remove lowercase, do the layout comparisons with
7339 * BufferView_pimpl.C (cursorNext): first -> first_y
7340 (resizeCurrentBuffer): first -> first_y
7341 (updateScrollbar): first -> first_y
7342 (scrollCB): first -> first_y
7343 (workAreaMotionNotify): first -> first_y
7344 (workAreaButtonPress): first -> first_y
7345 (checkInsetHit): first -> first_y
7346 (cursorPrevious): first -> first_y
7347 (cursorNext): first -> first_y
7348 (Dispatch): add buffer_->params to severl inset contructors
7350 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7352 * lyxlayout.C (Read): remove some debug info that I forgot.
7354 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
7355 clean up the code slightly.
7356 (makeLinuxDocFile): ditto
7357 (makeDocBookFile): ditto
7359 * text2.C: layout as string
7361 * text.C: layout as string
7363 * paragraph_pimpl.C: layout as string
7365 * paragraph.[Ch]: layout as string
7367 * lyxtextclasslist.[Ch]: layout as string
7369 * lyxtextclass.[Ch]: layout as string
7371 * lyxtext.h: layout as string
7373 * lyxlayout.[Ch]: layout as string
7375 * lyx_cb.C: layout as string
7377 * bufferview_funcs.C: layout as string
7379 * bufferparams.C: layout as string
7381 * buffer.C: layout as string
7383 * LyXView.[Ch]: layout as string
7385 * LaTeXFeatures.[Ch]: layout as string
7387 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
7389 * BufferView_pimpl.C: change current_layout to string, remove
7394 (workAreaButtonRelease): layout as string
7396 * BufferView2.C (unlockInset): adjust
7398 * vspace.C (asLatexCommand): use an explict temp variable.
7400 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7402 * Makefile.am: use FRONTEND_*
7404 2002-03-01 Juergen Vigna <jug@sad.it>
7406 * tabular.C (SetWidthOfMulticolCell): changed to something better
7407 I hope but still work in progress.
7408 (recalculateMulticolumnsOfColumn): renamed function from
7409 recalculateMulticolCells as it is more appropriate now.
7410 (SetWidthOfCell): calculate multicols better.
7412 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7414 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
7416 * lyxfunc.C (processKeySym): print sequence also if it is
7417 `deleted' (complete)
7419 * kbsequence.C (print): print sequence even if it is deleted
7420 (complete would be a better word, actually).
7422 * lyxfunc.C (dispatch): print complete options after a prefix key
7424 * vspace.C (asLatexCommand): rewrite in a slightly different form.
7426 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
7428 * text2.C (setCharFont): eliminate setCharFont code duplication.
7430 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7432 * BufferView_pimpl.C (Dispatch): remove bogus handling of
7433 LFUN_TABULAR_FEATURE (bug #177)
7435 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
7437 * Makefile.am: remove figure.h
7439 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
7441 * Bufferview_pimpl.C:
7453 * text2.C: remove #include "lyx_gui_misc.h".
7455 * LaTeX.C: added #include <cstdio>
7457 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7459 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
7460 that the paragraph following this one can have.
7462 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
7464 * vspace.C (asLatexCommand): fix bogus gcc warning
7466 * Makefile.am (lyx_SOURCES): remove vms_defines.h
7468 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
7470 * text2.C (setLayout): get rid of redundant code
7472 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
7474 * text2.C (incDepth): make sure depth cannot be increased beyond
7477 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
7479 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
7480 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
7482 * PainterBase.h (image):
7483 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
7486 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7490 * BufferView_pimpl.C:
7491 * BufferView_pimpl.h:
7511 * sp_spell.C: remove fig inset, and the crap house of
7512 cards that follows it
7514 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7520 * nt_defines.h: move .h into support/
7522 * vms_defines.h: remove
7524 * WorkArea.C: add space in debug output
7528 * buffer.C: add WITH_WARNINGS
7532 * bufferlist.C: s/retrive/retrieve/, add docs
7543 * lyxgui.C: add ID to X error handler
7545 * lyxtestclass.c: fix typo
7547 2002-02-26 Juergen Vigna <jug@sad.it>
7549 * tabular_funcs.C (write_attribute): changed so that some default
7550 attributes are not written at all.
7551 (getTokenValue): set default values before trying to read the
7552 value so we have the return value always set as default if we don't
7553 find the token we search for.
7555 * tabular.C (Write): write bools as bools not as strings!
7557 2002-02-22 Juergen Vigna <jug@sad.it>
7559 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
7560 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
7562 * text.C (leftMargin): don't add an indent for paragraphs inside
7563 tabular cells (fix #208).
7565 2002-02-21 José Matos <jamatos@fep.up.pt>
7567 * tabular.C (docBook): fixed support for long tables.
7569 2002-02-20 Juergen Vigna <jug@sad.it>
7571 * text2.C (getFont): get the drawing font of the Inset if this
7572 paragraph is inside an inset (only important for InsetERT for now).
7574 * buffer.C (insertErtContents): use new lanugage params in ERT
7577 * CutAndPaste.C: commenting out seemingly uneeded code.
7579 2002-02-19 Allan Rae <rae@lyx.org>
7581 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
7582 Iterators might be simple to use but they also get invalidated.
7583 (removeAutoInsets): renamed saved cursor tracking variables and added
7584 some comments to clarify what everything does.
7586 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
7593 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
7594 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
7597 * vc-backend.h: remove #include "support/syscall.h"
7601 * converter.C: rearrange #includes in Lars' approved fashion.
7603 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
7604 forward declare class Timeout in the header file.
7606 * XFormsView.C: changes due to the above.
7608 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
7611 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
7612 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
7614 2002-02-18 José Matos <jamatos@fep.up.pt>
7616 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
7619 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7621 * a lot of small ws changes
7622 * add a lot of using std::XXX
7623 * use std construcs some places where approp.
7624 * use some exisint stuff from lyxfunctional where approp.
7625 * Make file changes to use partial linking (lets test this now...)
7627 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7631 remove #include "support/syscontr.h" as it's redundant. Always has been.
7639 change Systemcalls::System to Systemcalls::Wait and
7640 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
7641 No change of functionality, just reflects the stripped down Systemcalls
7644 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7646 * debug.[Ch]: add a GRAPHICS type to the enum.
7648 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7650 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
7652 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
7655 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7657 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
7658 match the changes below.
7660 * text2.C (toggleInset): if there is not editable inset at cursor
7661 position, try to see if cursor is _inside_ a collapsable inset
7664 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7666 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
7667 document menu has a nice checkbox
7669 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7671 * lyxlength.C (asLatexString): change PW to output as percent of
7674 * lengthcommon.C: change '%' to 't%'
7676 * lyxfunc.C (dispatch): a few comments from Martin
7678 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
7682 * BufferView_pimpl.h:
7683 * BufferView_pimpl.C: clear our selection when X tells us we've lost
7686 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7688 * vspace.C (inPixels): fix compiler warning
7690 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7692 * lyxfunc.C (getStatus): fix status message for disabled commands.
7694 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
7696 * BufferView_pimpl.C: fix crash on close buffer
7697 during selection (#227)
7699 2002-01-27 Herbert Voss <voss@lyx.org>
7701 * buffer.C: link old Figure to new graphic inset
7703 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
7705 * FontLoader.C (getFontinfo): Change the latex font names in order
7706 to match the names of type1inst.
7708 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7710 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
7712 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
7715 (remove_files_with_extension): ditto
7716 (remove_file): ditto
7719 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
7720 document is smaller than the work area height. Do not initialize
7721 static variables to 0.
7723 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7725 * lyx_gui.C (init): give the toolbar tooltips a normal font.
7727 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
7728 LFUN_LAYOUT_PARAGRAPHS.
7730 * tabular.C (GetCellFromInset): new method. Finds an inset in a
7731 tabular. It is possible to provide a possible cell, which will
7732 typically be the actcell from the corresponding insettabular
7734 * lyxfunc.C (getStatus): small cleanup; disable
7735 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
7738 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7740 * tabular.C (Validate): remove broken optimization (fixes bug #201)
7742 * paragraph.C (startTeXParParams):
7743 (endTeXParParams): new methods. The LaTeX code to
7744 start/end paragraph formatting
7745 (simpleTeXOnePar): call startTeXParParams also when paragraph is
7746 empty (fixes bug #200)
7748 * vspace.C (inPixels): adapt to the change below
7749 (inPixels): [later] more cleanups (remove unused variables)
7751 * lyxlength.C (inPixels): change to use a width and a height as
7754 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7756 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
7757 Replaced with \paperwidth
7759 * DepTable.C (insert): add std:: qualifier
7761 2002-01-18 Allan Rae <rae@lyx.org>
7763 * text2.C (removeRow): add comment. Should other refresh_?? vars be
7766 * text.C (drawInset): Turned out I didn't know enough about how
7767 rebreaking worked. This fixes most of the redraw problems. I see
7768 an occasional cursor trail when a line is broken now and the cursor
7769 placement can seem out by a few pixels also after a rebreak.
7771 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7773 * buffer.C (parseSingleLyXformat2Token): update because minipage
7774 width is now a LyXLength
7776 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
7778 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
7781 2002-01-17 Juergen Vigna <jug@sad.it>
7783 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
7785 * BufferView2.C (lockInset): call edit() so that theLockingInset()
7786 is set correctly and the inset is updated correctly.
7788 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7790 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
7791 the beginning of the loop.
7793 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
7795 * lyxrc.C: improve help for use_scalable_fonts
7797 2002-01-17 Allan Rae <rae@lyx.org>
7799 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
7801 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7803 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
7804 make sure to set their inset_owner to the right value (bug #171)
7806 2001-12-12 Ben Stanley <bds02@uow.edu.au>
7809 * DepTable.C: Implement mtime checking to reduce time spent doing
7812 2002-01-16 Juergen Vigna <jug@sad.it>
7814 * tabular.C (GetAdditionalHeight): one of error fixed.
7816 * lyxrc.C (output): small fix in writing use_pspell.
7818 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
7820 * sp_base.h: #include LString.h
7822 2002-01-16 Allan Rae <rae@lyx.org>
7824 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
7825 Can someone check this please?
7827 * text.C (drawInset): It was possible that p.row would be removed by
7828 breakAgainOneRow upsetting a few other settings. There may be another
7829 small tweak possible by setting need_break_row = 0 when p.row has been
7830 removed but I don't know enough about the logic here.
7832 2002-01-15 Allan Rae <rae@lyx.org>
7834 * text.C (insertChar): removed conditional truism.
7836 * BufferView2.C (removeAutoInsets): More tweaks.
7837 cur_par_prev could be a stray pointer. Check for trailing empty line
7838 in case last line was cur_par and only had an error inset on it.
7840 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7842 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
7845 * vc-backend.C (most methods):
7846 * exporter.C (Export):
7847 * converter.C (convert):
7849 * LyXSendto.C (SendtoApplyCB):
7850 * lyxfunc.C (dispatch):
7854 * lyx_cb.C (AutoSave):
7856 * BufferView_pimpl.C (MenuInsertLyXFile):
7857 * buffer.C (runChktex): use Buffer::filePath().
7859 * buffer.h: rename filename to filename_; rename filepath to
7860 filepath_ and make it private
7861 (filePath): new method
7863 * buffer.C (writeFile): use fileName()
7866 * lyx_main.C (init): fix starting of LyX when the binary is a
7867 link from so,ewhere else.
7869 * minibuffer.C: include <cctype> for isprint
7871 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7873 * buffer.C (parseSingleLyXformat2Token): changes associated with the
7874 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
7875 name clash with InsetCollapsable's width function.
7877 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7879 * lastfiles.C: include <iterator>
7881 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7883 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7886 * buffer.C (makeLaTeXFile): ditto.
7887 Also make loop operation more transparent.
7889 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7891 * ToolbarDefaults.C: remove trailing comma closing namespace.
7893 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7895 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7898 * trans.C (Load): comment out unused variable, allowed.
7900 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7902 * minibuffer.[Ch] (append_char): new method to recieve input from the
7903 drop-down completion browser. If a key was pressed, then recieve this
7904 char and append it to the existing string.
7905 (peek_event): modify the positioning data passed to the completion
7906 browser so that it can be placed above the minibuffer rather than below.
7907 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7909 * LyXAction.C (init): alloe error-next for readonly documents.
7911 * BufferView2.C (ChangeRefsIfUnique): use standard version of
7914 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7916 * bufferlist.C (readFile): create the buffer _after_ checking that
7919 * lyxfunc.C (verboseDispatch): fix handling of arguments
7921 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7923 * lyxrc.C: use string::erase() instead of initializing to "".
7926 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7928 * BufferView_pimpl.h:
7929 * BufferView_pimpl.C:
7932 * text2.C: tell X when we have made a selection for copying
7934 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7936 * BufferView_pimpl.C (MenuInsertLyXFile):
7937 * lyxfunc.C (menuNew):
7939 (doImport): add shortcuts to directory buttons
7941 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7944 * lyxfunc.C (setStatusMessage):
7945 (getStatusMessage): new methods
7946 (getStatus):use setStatusMessage instead of setErrorMessage
7947 (dispatch): when function is disabled, set error message here
7948 [instead of in getStatus previously]
7950 * BufferView_pimpl.C (workAreaButtonRelease): update
7951 toolbar/menubar here too.
7953 2002-01-13 Allan Rae <rae@lyx.org>
7955 * BufferView2.C (removeAutoInsets): finished off earlier fix.
7956 Now seems indestructible. Remaining task is to audit all other
7957 code affected by deleteEmptyParagraphMechanism. One small quirk
7958 left is that an empty document with an error in the preamble can
7959 be made to report an error but no error box appears. I don't know
7961 (removeAutoInsets): Improved comments.
7963 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
7966 * Thesaurus.C: update for Aiksaurus 0.14
7968 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7970 * text2.C (firstParagraph): removed member function, all uses
7971 replaces with ownerParagraph
7972 (redoParagraphs): here
7974 (toggleAppendix): here
7975 * BufferView2.C (insertErrors): here
7976 (setCursorFromRow): here
7978 2002-01-13 Allan Rae <rae@lyx.org>
7980 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7981 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7982 There is still a way to segfault this although you may have to do this
7983 multiple times: Have an InsetERT with an unknown command in it.
7984 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7985 <down-arrow>, <Enter> again, View->DVI, BANG!
7987 * text2.C (setCursor):
7988 (deleteEmptyParagraphMechanism):
7989 * lyxtext.h (setCursor):
7990 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7991 Making use of the return value may help fix other bugs.
7993 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7995 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7997 * LyXView.C (updateMenubar): call MenuBar::update here
7998 (updateToolbar): but not here
7999 (showState): do not update toolbar/menubar
8001 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8002 should need to care about that.
8004 * lyxfunc.C (verboseDispatch): simplify a bit
8005 (getStatus): have a version which takes a pseudoaction, and
8006 another which requires a (kb_action,string).
8008 * LyXAction.C (retrieveActionArg): make it work also when action
8009 is not a pseudo-action.
8010 (getActionName): simplify a bit
8013 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8015 * lyxfunc.C (verboseDispatch): new families of methods with
8016 several ways to specify a command and a bool to indicate whether
8017 the command name and shortcut should be displayed in minibuffer
8018 (eventually, we could extend that to a finer bitmask like
8019 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8020 (dispatch): the pristine dispatch command which just, well,
8021 dispatchs! Note it still sets its result to minibuffer; I'm not
8024 * lyxfunc.h: remove setHintMessage
8026 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8028 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8030 * BufferView_pimpl.C (specialChar): delete new inset if we have
8031 not been able to insert it.
8033 * kbmap.C: revert to using int instead of kb_action, since all we
8034 are dealing with is pseudo-actions.
8036 * LyXAction.C (searchActionArg): change to return int instead of
8037 kb_action, since the result is a pseudoaction.
8039 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
8041 * buffer.C (insertErtContents): Fix (partially) the font bug.
8043 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8045 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8046 as the other one is broken on my machine!
8048 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
8051 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8053 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
8055 * lyxrc.[Ch]: change names and descriptions of popup font variables to
8056 reflect their actual use. Provide compatibility code for older lyxrc
8059 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8061 change names of popup font variables in line with the changes to lyxrc.C
8063 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8065 * buffer.C (asciiParagraph): avoid outputing a word twice after
8068 * lyxrc.C (getDescription): document that document_path and
8069 template_path can be empty.
8071 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8073 * LaTeXFeatures.C (getMacros):
8074 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8076 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8078 * LaTeXFeatures.C (useFloat): require "float" here instead of in
8080 (getPackages): rename feature "floats" to "float". Use an array to
8081 iterate over 'simple' features (i.e. just a \usepackage). Add
8082 handling of "amsmath" (renamed from "amsstyle").
8084 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
8086 * LaTeXFeatures.C (require): Prevent duplicate entries in the
8089 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
8091 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8092 FuncStaus::FuncStatus & FuncStaus::some_method().
8094 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
8096 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8097 of the func_satus stuff. Edited and massaged in various ways by
8100 * lyxfunc.C (getStatus): use FuncStatus
8102 2002-01-08 Juergen Vigna <jug@sad.it>
8104 * text.C (nextBreakPoint): use function Inset::isChar().
8106 * paragraph.C (TeXOnePar): use function
8107 Inset::forceDefaultParagraphs.
8109 * buffer.C (latexParagraphs): use function
8110 Inset::forceDefaultParagraphs.
8112 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8114 * lyx_gui.C (init): set the style of the menu popups to
8115 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8117 2002-01-07 Juergen Vigna <jug@sad.it>
8119 * text.C (setHeightOfRow): small fix
8120 (prepareToPrint): don't look at alignment if we don't have the place
8123 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8125 * box.C: New file. Move the Box methods and functions out of box.h,
8126 following Lars' suggestion.
8128 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8130 * box.h: #include "support/LOstream.h", needed for inlined function.
8133 * lyxtextclasslist.C: added some using std declarations.
8135 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
8137 * box.h: make signed dimensions to allow insets wider than
8138 the screen (bug #162)
8140 * BufferView_pimpl.C: add some insetHit debug
8142 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
8144 * vc-backend.C: add FIXME
8146 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8148 * lyxfunc.C (getStatus): enable code for showing math font status
8151 2002-01-07 Juergen Vigna <jug@sad.it>
8153 * text.C (nextBreakPoint): removed debug output not needed anymore.
8155 2002-01-06 Juergen Vigna <jug@sad.it>
8157 * text.C (nextBreakPoint): fixed up this function we had this bug
8158 since ever but now hopefully we break row better.
8159 (insertChar): we have to check if an inset is the next char as it
8160 could now happen that a large inset is causing a break.
8162 2002-01-05 Juergen Vigna <jug@sad.it>
8164 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8165 if it doesn't like to be drawed.
8167 2002-01-04 Juergen Vigna <jug@sad.it>
8169 * BufferView2.C (lockInset): forgot to set a cursor.
8171 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8173 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
8178 * form_maths_panel.C:
8179 * form_maths_panel.h:
8180 * form_maths_panel.fd: implemented sub- and super- buttons in math
8183 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8184 (or ^ space) to be used as in TeX (req'd by André).
8186 * lyxfunc.C: Allow ^ and _ again to be used both as
8187 super/subscript (mathed) and as themselves (in text).
8189 2002-01-03 Allan Rae <rae@lyx.org>
8191 * LyXView.C (updateWindowTitle): Setup a short icon title of either
8192 "LyX" or the filename of the current buffer if it has one. This is a
8193 modified form of John Levon's patch.
8195 * XFormsView.C (setWindowTitle): also set icon title.
8197 * LyXView.h (setWindowTitle): signature changed.
8198 * XFormsView.h (setWindowTitle): ditto.
8200 2002-01-02 Juergen Vigna <jug@sad.it>
8202 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8204 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8206 * screen.C (topCursorVisible): introduce a temp var for
8207 text->cursor.row(), handle the case where this row is null. (kindo
8210 * text2.C (setCursor): add a couple of asserts.
8212 * paragraph.h (inset_iterator): add -> operator
8214 * paragraph.[Ch] (autoDeleteInsets): remove member function
8216 * BufferView2.C (removeAutoInsets): rewrite to handle the old
8217 cursor pos correctly and handle inset deletion by itself.
8218 (insertErrors): move iterator declaration out of for expression
8220 * lyxtextclass.C: add <algorithm>
8222 * Makefile.am: added the new files to sources, removed layout.C
8224 * layout.C: removed file
8226 * layout.h: remove LYX_DUMMY_LAYOUT
8228 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8232 * lyxtextclass.[Ch]:
8233 * lyxtextclasslist.[Ch]: new files
8235 * include order changes to a lot of files, also changes because of
8238 2001-12-27 Juergen Vigna <jug@sad.it>
8240 * buffer.C (asciiParagraph): more fixes.
8242 * tabular.C (ascii): make ascii export support export of only the
8243 data separated by a column-delimiter.
8244 (ascii): better support for ascii export.
8246 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8248 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8250 * tabular_funcs.C: use a "using std::getline" instead of the
8251 previous fix from Angus (necessary for cxx + lyxstring)
8253 2001-12-24 Juergen Vigna <jug@sad.it>
8255 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8257 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8258 problems. First check a minipage also if we have some ert-contents
8259 (not only on par->size(), second set the right depth of the paragraph
8260 on the relink to the root-paragraph-list!
8262 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8263 which then did not anymore update the main paragraphs on undo/redo!
8265 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8267 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
8268 code. Support all font-changing funcs (even those which are not in
8269 menu currently). Support for reporting font settings in
8270 mathed (disabled until Andre provides a function on mathed's side).
8272 * func_status.h (toggle): small helper function to set toggle
8275 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
8277 * tabular_funcs.C: getline -> std::getline
8279 2001-12-21 Juergen Vigna <jug@sad.it>
8281 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
8282 accessed and could be 0 (I couldn't generate this but it seems
8285 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8287 * tabular_funcs.C: add LIstream.h, move write_attribute to..
8288 * tabular_funcs.h: here and include iosfwd
8290 2001-12-20 Juergen Vigna <jug@sad.it>
8292 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
8293 inside inset but undo_par was.
8295 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8297 * Thesaurus.C: always include <config.h> in sources.
8301 * box.h: do not include <config.h> in header files
8303 * text.C (paintLastRow): remove unused variable
8305 * text.C (transformChar):
8307 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
8310 * font.C (width): rewrite to use uppercase() instead of
8313 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
8315 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
8317 * lyxfind.C: clean up of find failure position change
8319 2001-12-20 Juergen Vigna <jug@sad.it>
8321 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
8323 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
8324 (TeXRow): added to LaTeX a single tabular row.
8325 (TeXLongtableHeaderFooter): added to output LT-h/f data.
8326 (Latex): simplified and finally good LT-h/f support.
8327 (various_functions): just small adaptions for LT-h/f support.
8329 * tabular_funcs.[hC]: added and moved here all not classfunctions
8332 2001-12-19 Juergen Vigna <jug@sad.it>
8334 * tabular.[Ch]: better support for longtabular options (not finished
8337 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8339 * text.C (paintLastRow): use the label font instead of the font of
8340 the last character to compute the size of *_BOX. This makes more
8341 sense and avoids a crash with empty paragraphs.
8342 Use Painter::rectangle to draw EMPTY_BOX.
8344 2001-12-19 Juergen Vigna <jug@sad.it>
8346 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
8347 the paragraphs if the replaced paragraph is not the first one!
8348 Tried to delete not used paragraphs but does not work yet so for
8349 now it's inside #ifdef's and by default off!
8351 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8353 * MenuBackend.C: include "lyx_main.h" instead of declaring
8354 lastfiles (actually was declared as LastFiles* instead of a
8357 2001-12-17 Juergen Vigna <jug@sad.it>
8359 * tabular.C (AppendColumn): applied John's fix
8361 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
8365 * BufferView_pimpl.h:
8366 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
8369 * box.h: new start of class for above
8371 * lyxfunc.C: ignore space-only minibuffer dispatches.
8372 Show the command name when it doesn't exist
8374 * minibuffer.C: don't add empty lines to the history
8376 * minibuffer.C: add a space on dropdown completion
8378 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
8380 * text.C: fix line above/below drawing in insets
8382 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8384 * lyxlength.C (LyXLength): Initialize private variables.
8386 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
8388 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
8389 when inserting error insets.
8391 2001-12-13 Juergen Vigna <jug@sad.it>
8393 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
8394 actually sometimes the before-paragraph.
8395 (setUndo): don't clear the redostack if we're not actually undoing!
8397 2001-12-06 Juergen Vigna <jug@sad.it>
8399 * undo_funcs.C (textHandleUndo): well after John's hint I got here
8400 and fixed redoing of main paragraph, so we can use it now ;)
8402 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
8404 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8406 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
8409 2001-12-13 André Pönitz <poenitz@gmx.net>
8412 * undo_func.C: minor cleanup
8414 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8416 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
8417 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
8418 font in urw-fonts package which is marked as -urw-fontspecific and
8419 does not work (incidentally, changing the encoding in the
8420 fonts.dir of this package to -adobe-fontspecific fixes the
8423 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
8424 is a crash when undoing first paragraph (Juergen, please take a
8425 look). THis does not mean the undo fix is wrong, just that it
8428 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
8429 the (Paragraph*) version when needed instead of duplicating the
8432 * text.C (workWidth): use Inset::parOwner to find out where the
8433 inset has been inserted. This is a huge performance gain for large
8434 documents with lots of insets. If Inset::parOwner is not set, fall
8435 back on the brute force method
8437 * paragraph_pimpl.C (insertInset):
8438 * paragraph.C (Paragraph):
8439 (cutIntoMinibuffer): set parOwner of insets when
8440 inserting/removing them
8442 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8444 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
8450 * mathed/formulabase.C:
8451 * mathed/math_cursor.[Ch]:
8452 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
8455 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8457 * lyxlength.[Ch] (operator!=): new function
8459 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8461 * text.C (workWidth): use Inset::parOwner to find out where the
8462 inset has been inserted. This is a huge performance gain for large
8463 documents with lots of insets. If Inset::parOwner is not set, fall
8464 back on the brute force method
8466 * paragraph_pimpl.C (insertInset):
8467 * paragraph.C (Paragraph):
8468 (cutIntoMinibuffer): set parOwner of insets when
8469 inserting/removing them
8471 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8473 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8475 * tabular-old.C (getTokenValue):
8476 * tabular.C (getTokenValue):
8477 (write_attribute): new versions for LyXLength
8478 (everywhere): adjust the use of widths
8480 * tabular.h: change the type of widths from string to LyXLength
8482 2001-12-11 Ben Stanley <bds02@uow.edu.au>
8484 * paragraph.C: fixed missing line number count when exporting
8485 Environments to LaTeX file
8487 * buffer.C: added informational message for checking line numbers.
8489 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8491 * text2.C (deleteEmptyParagraphMechanism): if there is only one
8492 paragraph, do the 'double space' part, but not the 'empty
8495 * text.C (workWidth): small optimization
8496 (getLengthMarkerHeight): use minimal size for negative lengths.
8498 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
8500 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
8502 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
8504 2001-12-11 André Pönitz <poenitz@gmx.net>
8507 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
8509 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8511 * text2.C: keep selection on a setFont()
8513 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8515 * lyx_cb.C: another bv->text misuse, from insert label
8517 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8520 * kbsequence.C: re-instate nmodifier mask
8522 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
8524 * lyx_main.h: make lyxGUI private.
8526 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8528 * lyxfind.C: place the cursor correctly on failed search
8530 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8532 * text.C (getLengthMarkerHeight): for small heights, the arrows
8533 are not always on top/bottom of the text
8534 (drawLengthMarker): smaller arrows; take the left margin in
8535 account; draw also vfills.
8537 (paintLastRow): remove special code for vfill and standard spaces,
8538 since everything is handled in drawLengthMarker now.
8540 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8542 * buffer.C (insertErtContents): try to handle font and language
8543 interaction a bit better.g
8545 * ColorHandler.C (updateColor): change the hash to cover the whole
8546 LColor enum, ws cleanup
8547 (getGCLinepars): ditto
8548 (getGCLinepars): only lookup in the linecache once.
8550 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
8552 * iterators.C (operator++): Make the iterator more robust
8554 * BufferView2.C (removeAutoInsets): Use paragraph iterators
8556 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
8558 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8561 * text.C: better added space drawing
8563 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8566 * BufferView2.C: fix layout combo update on inset unlock
8568 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8570 * Makefile.am: don't compile unused files
8572 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8576 * LyXAction.C: remove old LFUN_LAYOUTNO
8578 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8580 * paragraph_pimpl.h:
8581 * paragraph_pimpl.C: isTextAt() doesn't need font param
8583 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8586 * lyxlex.C: little cleanup
8588 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8590 * BufferView_pimpl.C: fix insertAscii for insets
8592 2001-12-05 Juergen Vigna <jug@sad.it>
8594 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
8595 set the right font on the "multi" paragraph paste!
8597 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8603 * lyxlength.C: remove out-commented code.
8619 * vc-backend.C: change "while(" to "while ("
8621 * lyxlength.[Ch]: add zero function to check if length is zero or
8623 * lyxgluelength.C: use it
8625 2001-12-05 Allan Rae <rae@lyx.org>
8627 * lyxlength.C: Attempted a fix for the abs(int) header selection.
8628 Works for 2.95.3, from what I understand of Garst's reports this should
8629 work for other g++ versions. We're screwed if the abs(int) definition
8630 changed between bugfix releases of gcc.
8632 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8634 * text.C: fix chapter label offset !
8636 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8639 * text.C: fix hfill at end of line, clean up
8641 2001-12-04 Juergen Vigna <jug@sad.it>
8643 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
8644 that we force an update of the inset and it's owners if neccessary.
8646 2001-12-03 Juergen Vigna <jug@sad.it>
8648 * text.C (rowLast): simplified code
8650 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8652 * lyxfunc.C: fix show options on timeout
8654 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8656 * screen.C (topCursorVisible): scroll half a page when the cursor
8657 reached top of bottom of screen
8659 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
8661 * minibuffer.C: deactivate on loss of focus
8663 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8665 * vspace.[Ch] (operator!=): add operator.
8667 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
8669 * BufferView_pimpl.C: refuse to open an inset when
8670 there's a selection.
8672 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
8674 * BufferView_pimpl.C: allow to click on RHS of full row insets
8676 2001-11-30 Juergen Vigna <jug@sad.it>
8678 * tabular.C (LyXTabular): add a same_id to set the same id's in the
8679 insets for undo reasons.
8681 2001-11-28 André Pönitz <poenitz@gmx.net>
8683 * vspace.[Ch]: cosmetical changes
8685 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8695 * kbsequence.C: part re-write of old kb code
8698 * WorkArea.C: remove Lgb_bug_find_hack
8700 2001-11-30 José Matos <jamatos@fep.up.pt>
8702 * buffer.C (makeDocBookFile): add a comment to point a hack.
8703 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
8704 Fixed a double write of labels.
8706 2001-11-29 Ben Stanley <bds02@uow.edu.au>
8709 * LaTeX.h Fixed bug in LaTeX class where it would not
8710 re-run latex if no depfiles were changed, but the .dvi was removed.
8712 2001-11-28 André Pönitz <poenitz@gmx.net>
8714 * all the files from the change on 2001/11/26:
8715 use lyx::layout_type instead of LyXTextClass::size_type
8716 use lyx::textclass_type instead of LyXTextClassList::size_type
8718 2001-11-29 Juergen Vigna <jug@sad.it>
8720 * text.C: added support for paragraph::isFreeSpacing()
8722 * buffer.C: same as above
8724 * paragraph.h: inserted isFreeSpacing() function to enable
8725 FreeSpacing inside InsetERT.
8727 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
8728 of the paragraph's in the cut/copy buffer to 0!
8730 * text2.C (removeRow): remove the assert as it can!
8732 * lyxtext.h: added helper function firstRow returning firstrow and
8733 made firstrow private again.
8735 * BufferView2.C (lockInset): don't relock if we're already locked!
8737 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
8739 (removeRow): added Assert::(firstrow)
8741 * debug.C: forgot to add INSETTEXT here.
8743 2001-11-28 Juergen Vigna <jug@sad.it>
8745 * sp_spell.C (initialize): changed error text to more general
8746 spellchecker command use (not only ispell!)
8748 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
8750 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
8752 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8754 * vspace.C: initialise lyxgluelength on failure
8756 2001-11-28 Allan Rae <rae@lyx.org>
8758 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
8759 declaration & definition that looks like a function declaration.
8761 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8763 * BufferView2.C (copy):
8764 (copyEnvironment): do not clear the selection when doing a copy.
8766 * text.C (paintFirstRow): compilation fix
8768 2001-11-27 Ben Stanley <bds02@uow.edu.au>
8770 * tabular.C (Latex): correct line count when writing latex.
8772 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
8774 * paragraph_pimpl.h:
8775 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
8778 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8782 * LColor.C: change vfillline->added_space
8784 * text.C: add markers and text for added space
8786 * vspace.C: fix comment
8788 2001-11-28 André Pönitz <poenitz@gmx.net>
8790 * paragraph.C: whitespace changes
8791 * all the other files from the change on 2001/11/26:
8792 change *::pos_type into lyx::pos_type
8794 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
8796 * buffer.C (parseSingleLyXformat2Token): Set the language to the
8797 language of the document when inserting error insets.
8799 2001-11-26 André Pönitz <poenitz@gmx.net>
8801 * BufferView_pimpl.[Ch]:
8809 * paragraph_pimpl.[Ch]:
8812 * text2.C: reduce header dependencies, introduce type for positions
8814 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8816 * <various>: change to use Alert.h
8818 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
8820 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
8821 when encountering an unknown token.
8822 (readLyXformat2): Show an error message if there were unknown tokens.
8824 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
8827 * BufferView_pimpl.C:
8831 * text2.C: use par->isInset()
8833 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8835 * paragraph_pimpl.h:
8836 * paragraph_pimpl.C: cleanup
8838 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8840 * text2.C (removeRow):
8841 * text.C (setHeightOfRow): remove useless (and costly) call to
8844 2001-11-20 Allan Rae <rae@lyx.org>
8846 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
8847 Now need Inset*::checkInsertChar() to return true for appropriate
8848 cases so that the characters in the minibuffer will actually be
8851 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8853 * text.C: change the order of the includes.
8854 (workWidth): initialize it at once.
8855 (workWidth): make maxw unsigned
8856 (setHeightOfRow): remove unused variable (inset)
8857 (selectSelectedWord): remove unused variable (inset)
8858 (paintRowText): fix drawing of hfill characters, and clean up a bit.
8860 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8862 * lyxserver.C (emergencyCleanup): do not try to close pipes if
8863 server is not running.
8865 (closeConnection): add debug info when server is disabled.
8867 * ColorHandler.C (getGCForeground): send debug message to GUI
8870 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
8872 * kbmap.C (bind): modify because return conventions of
8873 kb_sequence::parse have changed.
8875 * kbsequence.C (parse): only ignore spaces and not any stupid
8876 control character. This avoids tests like s[i] <= ' ', which are
8877 guaranteed to fail with 8bit characters and signed chars.
8878 Change return code to string::npos when there have been no error
8879 (0 was a bad idea when error is at first character)
8881 2001-11-14 José Matos <jamatos@fep.up.pt>
8884 * buffer.C (simpleDocBookOnePar): removed unused argument.
8886 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8888 * text.C (selectNextWordToSpellcheck): do not test explicitely for
8889 insets which are part of a word. Paragraph::isLetter takes care of
8890 that now. Use Paragraph::isInset to identify insets.
8891 (selectSelectedWord): do not test for hyphenation break.
8893 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8894 that protected spaces are considered as spaces.
8896 * paragraph.C (isLetter): cleanup the code for ispell extras; use
8899 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
8902 * lyxserver.C: fix it. and small cleanup.
8904 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8906 * BufferView_pimpl.C: use inline helpers
8909 * LaTeXFeatures.C: fix typos
8912 * Spacing.C: move spacing_string into class
8914 * ToolbarDefaults.C: move stuff into namespace anon
8916 * layout.h: update enum
8918 * lyxfunc.C: use better debug
8920 * minibuffer.h: fix typo
8924 * WorkArea.C: add and use Debug::WORKAREA
8928 * text2.C: code re-organisation, inline helpers
8930 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
8932 * Layout.C: replaced a few cases of std::vector.size() == 0 with
8933 std::vector.empty().
8935 2001-11-09 Allan Rae <rae@lyx.org>
8937 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8938 '\n's after tables. Tabular and ERT inset work now makes this no
8941 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8944 * minibuffer.C: fix crash, improve drop-down completion
8946 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
8949 * lyxserver.C: invalidate fd's when doing endPipe()
8951 2001-11-08 José Matos <jamatos@fep.up.pt>
8953 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8954 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8957 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8959 2001-11-07 José Matos <jamatos@fep.up.pt>
8962 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8965 * buffer.C (sgmlOpenTag):
8966 * buffer.C (sgmlCloseTag): removed debug info.
8968 * buffer.h (sgmlOpenTag):
8969 * buffer.h (sgmlCloseTag): made public.
8971 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8973 * buffer.C (saveParamsAsDefaults):
8974 * lyx_cb.C (MenuLayoutSave): remove
8976 * LyXAction.C (init):
8978 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8980 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8982 * buffer.C (setPaperStuff): removed from here...
8984 * bufferparams.C (setPaperStuff): ... and moved there.
8986 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
8990 * XFormsView.C: add support for drop-down completion
8992 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
8994 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8997 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8999 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9002 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
9004 * lyx_main.C: change ref to known bugs
9006 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
9008 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9009 to work around older babel problems.
9011 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9013 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9015 2001-10-24 Juergen Vigna <jug@sad.it>
9017 * tabular-old.C (ReadOld): below variable changes reflected.
9019 * tabular.[Ch]: added ltType struct for longtable header/footer
9020 defines and changed all instances where they are used. Added
9021 future support for double top/bottom rows.
9023 2001-10-24 José Matos <jamatos@fep.up.pt>
9025 * buffer.h (docbookHandleCaption):
9026 * buffer.C (docbookHandleCaption): removed unused function.
9027 (makeDocBookFile): moved docbook supported version to v4.1.
9029 2001-10-24 José Matos <jamatos@fep.up.pt>
9032 * tabular.C (docbookRow): new function to export docbook code of a row.
9033 (DocBook): now honors the longtable flags.
9035 2001-10-23 José Matos <jamatos@fep.up.pt>
9038 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9039 of the lyx defined sgml entities used in a docbook/linuxdoc document.
9041 * buffer.C (makeLinuxDocFile):
9042 (makeDocBookFile): reworked the preamble, more clean, and with
9043 support for lyx defined entities. Changed the document declaration
9044 to be more XML friendly.
9046 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9047 if we need to output XML that should be done with a filter.
9049 2001-10-22 Juergen Vigna <jug@sad.it>
9051 * sp_pspell.h (class PSpell): add alive function needed in the
9052 controller to see if the spellchecker could be started.
9054 2001-10-22 Juergen Vigna <jug@sad.it>
9056 * buffer.C (insertStringAsLines): modify the font for inserting
9057 chars in certain conditions by calling checkInsertChar(font).
9059 2001-10-19 Juergen Vigna <jug@sad.it>
9061 * text.C (workWidth): use getRow instead of wrong algorithm.
9062 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9064 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
9069 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9071 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9073 * text.C (workWidth): do not search for the exact row when
9074 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9075 optimization for big documents.
9077 2001-10-18 Juergen Vigna <jug@sad.it>
9079 * text.C (workWidth): new function with added Inset * parameter.
9081 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9083 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9085 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9086 change return type of getColumnNearX.
9089 * text.C (changeRegionCase): use uppercase/lowercase instead of
9092 (rightMargin): simplify code by factoring out the uses of
9097 (appendParagraph): use Paragraph::size_type
9099 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9101 * vspace.C (asLatexString): add a missing break
9103 2001-10-15 Herbert Voss <voss@perce.de>
9105 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9107 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9109 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9112 2001-10-10 André Pönitz <poenitz@gmx.net>
9114 * lyxfunc.C: removed greek_kb_flag.
9116 2001-10-10 Herbert Voss <voss@perce.de>
9118 * lyx_main.C: delete global string help_lyxdir.
9120 2001-10-09 Herbert Voss <voss@perce.de>
9122 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9124 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9126 * lyx_main.C: added global string help_lyxdir.
9128 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9130 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
9132 * lyxrc.C (set_font_norm_type): support iso8859-4
9134 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
9136 * LaTeX.C (deplog): add another regex for MikTeX
9138 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
9140 * lyxrc.C (set_font_norm_type): support iso8859-3
9142 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9144 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9146 * LaTeXFeatures.C: remove special case of french and index
9148 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9149 before \begin{document}). This solves several incompatibilities.
9151 2001-10-03 Garst Reese <reese@isn.net>
9153 * lyx_cb.C: change CheckTex error msg.
9155 2001-10-03 José Matos <jamatos@fep.up.pt>
9157 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9159 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9161 * .cvsignore: update
9163 * lyx_main.C (commandLineVersionInfo): use new style version info.
9165 * buffer.C (writeFile):
9168 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9170 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9172 * version.h: update to use stuff in version.C
9174 * version.C.in: new file. Contains version information determined
9175 at compile time. This is a merging of version.h and
9178 2001-10-03 Juergen Vigna <jug@sad.it>
9180 * BufferView_pimpl.C (update): don't change "dirty" status in
9183 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
9185 * WorkArea.C (c-tor): re-position version string slightly.
9187 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
9189 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9190 revert to previous code.
9192 WorkArea.[Ch]: (show, destroySplash): methods removed.
9194 WorkArea.C: rework code so that it's an amalgam of the codes before and
9195 after the splash screen was moved to WorkArea.
9197 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9200 * vspace.C (inPixels):
9203 * buffer.C (insertStringAsLines):
9204 (asciiParagraph): fix types to be large enough
9206 * lyxlex_pimpl.h: change member status from short to int
9208 * layout.h: fix type of endlabeltype
9211 * kbsequence.C (parse): change return type to string::size_type
9213 * LaTeX.C (updateBibtexDependencies): comment out unneeded
9216 * Bullet.C (bulletSize):
9217 (bulletEntry): do not use short ints as parameters
9219 * BufferView2.C (insertLyXFile): change a char to an int.
9221 * WorkArea.C (WorkArea): remove unneeded floats in computation
9223 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
9225 * buffer.C (asciiParagraph): Treat '\\' as other chars.
9227 * paragraph.C (asString): Do not ignore newline/hfill chars when
9228 copying to the clipboard.
9230 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
9232 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9233 after a multi-line inset.
9235 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
9237 * paragraph.C (validate): Set NeedLyXFootnoteCode
9239 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9241 * lyxfont.C (LyXSizeNames): changed increase-error to increase
9242 and decrease-error to decrease.
9244 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9246 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9247 it more readable (should be equivalent)
9249 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
9251 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9253 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9255 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9256 of a cursor (row, etc.) after a character has been deleted
9257 (deleteEmptyParagraphMechanism): call the method above on _all_
9258 cursors held by the LyXText when a double space has been
9261 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9263 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9265 (resizeCurrentBuff): remove code to destroy the old splash dialog.
9267 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
9268 background. Use greyOut() and the new show() methods to toggle between
9269 the foreground and background. Add code to remove the splash after
9270 its initial showing.
9272 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
9273 (create_forms): no longer call Dialogs::showSplash.
9275 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9277 * .cvsignore: add version_info.h
9279 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9281 * version_info.h.in: new file
9283 * Makefile.am: add version_info.h.in
9285 * lyx_main.C (commandLineVersionInfo): use version_info defined in
9286 version_info.h instead of VERSION_INFO
9288 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
9290 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
9291 The ERT inset now returns string().
9293 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
9295 * lyxtext.h, text.C (selectNextWord): renamed as
9296 selectNextWordToSpellcheck.
9298 * text.C (selectNextWordToSpellcheck): Modified to not select
9299 words inside an ERT inset.
9301 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9303 * lyx_cb.C (MenuLayoutSave): change a bit the question
9305 * sp_base.h: include <sys/types.h>
9307 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
9309 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
9311 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
9313 * several files: fix typos in user-visible strings
9315 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9317 * text2.C (pasteSelection): do not set the selection, since it
9318 will be cleared later. Actually, the intent was to fix the way the
9319 selection was set, but I figured rmoving the code was just as good.
9321 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
9323 * FontLoader.C (available): Check if font is available without
9326 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
9328 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
9330 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
9332 * lyxrc.[Ch]: added display_graphics variable and associated code.
9334 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9336 * bufferparams.C (hasClassDefaults): new method. Returns true if
9337 the buffer parameters correspond to known class defaults
9339 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
9341 * XFormsView.C (show): set minimum size to the main window.
9343 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9345 * text2.C (copySelection):
9347 * lyxfind.C (LyXReplace):
9348 * BufferView_pimpl.C (Dispatch): pass the correct flag to
9349 LyXText::selectionAsString.
9351 * paragraph.C (asString): add "label" argument to the second form
9353 * text2.C (selectionAsString): add "label" argument and pass it to
9354 Paragraph::asString.
9356 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9358 * lyx_main.C (commandLineHelp): remove version information
9360 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
9362 * lyx_main.C: add -version commandline option
9364 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9366 * paragraph.h: make the optional constructor arg required instead.
9367 some modifications to other files because of this.
9369 * minibuffer.C (C_MiniBuffer_peek_event): make it static
9371 * lyxserver.C (C_LyXComm_callback): make it static
9373 * lyx_main.C (error_handler): make it static
9375 * lyx_gui.C (LyX_XErrHandler): make it static
9377 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
9379 * WorkArea.C: make the extern "C" methods static.
9381 * Makefile.am (lyx_LDADD): simplify
9383 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9385 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
9386 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
9388 * LyXAction.C (init):
9389 * lyxfunc.C (dispatch): associated code removal.
9391 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9393 * lyxfont.h (isSymbolFont): shut off warning
9395 * text.C (setHeightOfRow):
9396 (getVisibleRow): fix crash with empty paragraphs which have a
9399 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
9401 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
9404 2001-09-04 José Matos <jamatos@fep.up.pt>
9407 * tabular.C (docbook): rename docBook method to docbook.
9409 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9411 * Makefile.am: add dependencies to main.o.
9413 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
9415 * FontLoader.C (available): Return false if !lyxrc.use_gui
9417 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
9419 * FontInfo.C (query):
9420 * converter.C (view):
9421 * importer.C (Import):
9422 * exporter.C (Export): Can not -> cannot.
9424 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
9426 * BufferView_pimpl.C: allow to create index inset even if
9429 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9431 * buffer.C (getLists): replace boost::tie code with an explicit pair
9432 as boost::tie can break some compilers.
9434 * iterators.h: Added a std:: declaration to the return type of
9437 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
9439 * lyxrc.C: add help for view_dvi_paper_option, default to safe
9442 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
9444 * iterators.[Ch]: New files. Provide paragraph iterators.
9446 * buffer.C (changeLanguage): Use paragraph iterators.
9447 (isMultiLingual): ditto
9449 * BufferView2.C (ChangeInsets): Use paragraph iterators.
9451 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
9453 * FontLoader.C: Support for cmr font.
9455 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
9457 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
9458 (available): New method.
9460 * FontInfo.C (getFontname): Use scalable fonts even when
9461 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
9464 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9466 * converter.C (Formats::view): reverted! Incorrect fix.
9468 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9470 * converter.C (Formats::view): only output the -paper option
9471 if the dvi viewer is xdvi, thereby fixing bug #233429.
9473 2001-08-23 Herbert Voss <voss@perce>
9475 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
9477 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
9479 * Spacing.h (Spacing): Set space to Default on in the default
9482 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
9484 * vc-backend.h (RCS::versionString): add RCS to version
9485 (CVS::versionString): add CVS to version
9487 * vc-backend.C (scanMaster): do not add CVS to version.
9488 (scanMaster): do not add RCS to version
9490 * lyxvc.C (versionString): new method
9492 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
9494 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9496 * Spacing.C (set): initialize fval
9498 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
9500 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
9503 2001-08-16 Juergen Vigna <jug@sad.it>
9505 * lyxfunc.C (dispatch): implemented the new FINISHED states.
9507 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9509 * BufferView_pimpl.C:
9512 * text2.C: setParagraph takes linespacing now
9514 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
9516 * LyxAction.C: add internal LFUN_CITATION_INSERT
9518 * LyXView.C: actually apply fix
9520 * bufferlist.C: fix open non-existent file
9522 * lyxfind.C: fix indentation
9524 * lyxfunc.C: remove unneeded assert, fix typo
9526 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9528 * MenuBackend.C: use "Floatname List"
9530 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
9532 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
9533 when converting LaTeX layout to insetERT.
9534 Generate a non-collapsed float when reading old float
9536 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9538 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
9541 2001-08-13 Juergen Vigna <jug@sad.it>
9543 * text.C (fill): return 0 instead of 20 as this seems to be the more
9546 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9548 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
9551 2001-08-13 Juergen Vigna <jug@sad.it>
9553 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
9555 (SearchBackward): comment out the unlocking of the inset_owner this
9556 should not be needed!
9558 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
9560 * Many files: Remove inherit_language, and add latex_language
9562 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
9565 2001-08-10 Juergen Vigna <jug@sad.it>
9567 * text.C (prepareToPrint): fixed hfill-width in draw!
9569 * BufferView2.C (selectLastWord): save the selection cursor as this
9570 now is cleared in the function LyXText::clearSelection!
9572 2001-08-08 Juergen Vigna <jug@sad.it>
9574 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
9575 BACKSPACE type functions.
9577 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
9578 is only cutted from the document but not put in the cut-buffer, where
9579 still the old stuff should be.
9581 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
9583 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
9585 * tabular.C (SetWidthOfCell): fixed special case where the width
9587 (LeftLine): handle '|' in align_special.
9589 (LeftAlreadyDrawed): ditto
9590 (SetWidthOfCell): ditto
9592 2001-08-07 Juergen Vigna <jug@sad.it>
9594 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
9596 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9598 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
9599 * lyxlex.[hC]: ditto
9601 2001-08-06 Juergen Vigna <jug@sad.it>
9603 * text.C (getVisibleRow): fix up row clearing a bit.
9605 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9607 * minibuffer.C: make sure the X server sees the changes in the input.
9609 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9611 * paragraph.C (getFont): split into...
9612 (getLabelFont): this
9613 (getLayoutFont): and this
9614 * paragraph_pimpl.C (realizeFont): calling this
9616 * text2.C (getFont): split into...
9617 (getLayoutFont): this
9618 (getLabelFont): and this
9619 (realizeFont): all three calling this
9621 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
9624 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9626 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
9628 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
9630 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
9631 layouts from the Quote inset insertion.
9633 2001-08-03 Juergen Vigna <jug@sad.it>
9635 * BufferView_pimpl.C (update): do the fitCursor only at the end!
9637 * screen.C (drawFromTo): don't call fitcursor here and do the loop
9638 only if status not is already CHANGED_IN_DRAW (second level).
9640 * text.C (draw): don't set the need_break_row when inside an
9643 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9645 * buffer.C (parseSingleLyXformat2Token): handle more latex
9648 * bufferview_funcs.[hC]: change function names to
9649 begin with small char, adjust other files.
9651 2001-08-02 André Pönitz <poenitz@gmx.net>
9654 BufferView_pimpl.C: remove broken special code for math-greek
9656 2001-08-02 Juergen Vigna <jug@sad.it>
9658 * BufferView_pimpl.C (update): redone this function so that we
9659 update the text again if there was a CHANGE_IN_DRAW.
9661 * screen.C (cursorToggle): removed LyXText parameter and recoded.
9662 (drawFromTo): added a new internal bool which is used by draw() and
9664 (general): some cursor drawing problems fixed.
9666 2001-08-01 Juergen Vigna <jug@sad.it>
9668 * lyxfind.C (LyXFind): fixed
9669 (SearchForward): ditto
9670 (SearchBackward): ditto
9672 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
9673 spurius drawing of the cursor in the main area.
9675 * text2.C (status): small fix which could lead to a segfault!
9676 (clearSelection): remove unneeded BufferView param.
9678 2001-08-01 André Pönitz <poenitz@gmx.net>
9680 * lyxfunc.C: small change due to changed mathed interface
9682 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9684 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
9686 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
9688 * lyxfunc.c: fail gracefully if file doesn't exist
9693 * BufferView_pimpl.C: IsDirWriteable() proto changed
9695 * LyXView.C: fix updateWindowTitle() to store the last title
9697 2001-07-31 Juergen Vigna <jug@sad.it>
9699 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
9700 the font (wrong since using of Paragraph::highestFontInRange).
9702 * paragraph.C (highestFontInRange): added a default_size parameter.
9704 * text.C (getVisibleRow): minor clear row changes (still not perfect).
9705 (setHeightOfRow): reformat
9707 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9709 * converter.[hC] + affected files: move to (inital-char)lowercase
9712 * ParagraphParameters.C (ParagraphParameters): remove commented code
9714 * PainterBase.[Ch]: remove commented code
9716 * LaTeXFeatures.h: add "bool floats" for float.sty
9718 * LaTeXFeatures.C (LaTeXFeatures): init floats
9719 (require): handle float
9720 (getPackages): do it with floats
9722 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9724 * BufferView_pimpl.C (Dispatch): improve handling of
9725 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
9727 * commandtags.h: #include lyxfont.h here temporarily to avoid
9730 * bufferlist.h: include LString.h here.
9732 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9734 * text2.C (getStringToIndex): new method.
9736 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
9738 * *: Reduced header file dependencies all over.
9740 2001-07-30 Baruch Even <baruch@lyx.org>
9742 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
9744 2001-07-29 Baruch Even <baruch@lyx.org>
9746 * buffer.C (readInset): Changed GRAPHICS to Graphics.
9748 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9750 * ParameterStruct.h (endif): add a default constructor to make
9751 sure that all variables is initialized.
9753 * ParagraphParameters.C (ParagraphParameters): adjust
9755 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9757 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
9758 index; also, check that there is something to index, and that it
9759 does not span over several paragraphs.
9760 (doubleClick): use WHOLE_WORD_STRICT for double click.
9762 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
9764 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
9767 2001-07-26 Baruch Even <baruch@lyx.org>
9769 * buffer.C (readInset): Changed to call up InsetGraphics when reading
9770 an InsetFig figure, backwards compatible reading of old figure code.
9772 2001-07-27 Juergen Vigna <jug@sad.it>
9774 * text2.C: font.realize function adaption.
9776 * text.C (draw): add a warnings lyxerr text if needed.
9778 * layout.C: font.realize function adaption.
9780 * language.C: add inherit_language and implement it's handlings
9782 * bufferview_funcs.C (StyleReset): remove language parameter from
9783 font creation (should be language_inherit now).
9785 * bufferparams.C (writeFile): handle ignore_language.
9787 * paragraph.C (getFontSettings): the language has to be resolved
9788 otherwise we have problems in LyXFont!
9790 * lyxfont.C (lyxWriteChanges): added document_language parameter
9791 (update): removed unneeded language parameter
9793 * paragraph.C (validate): fixed wrong output of color-package when
9794 using interface colors for certain fonts in certain environments,
9795 which should not seen as that on the final output.
9797 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
9799 * BufferView_pimpl.C:
9804 * LyXAction.C: add thesaurus support
9807 * lyxfind.C: add "once" parameter, for thesaurus, to not
9808 move to the next match
9810 2001-07-26 Juergen Vigna <jug@sad.it>
9812 * lyxfont.C (realize): honor ignore_language too!
9815 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
9817 * text.C (draw): one place more for ignore_language to not draw
9820 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
9822 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
9824 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9826 * buffer.C (parseSingleLyXformat2Token): a more general fix for
9827 the minipage conversion problem.
9829 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9831 * buffer.C (parseSingleLyXformat2Token): check minipage if we
9834 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9836 * BufferView.h: don't forward declare WorkArea
9838 * BufferView.C: don't include WorkArea.h
9840 2001-07-25 André Pönitz <poenitz@gmx.net>
9844 * lyxfunc.C: new LFUN 'math-space'
9846 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
9848 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9850 * text2.C (toggleInset): call open/close
9852 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9854 * lyxfunc.C (dispatch): add debug for the disabled case
9856 * font.C (buttonText): make similar to rectText
9858 * buffer.C (readInset): comment out parsing of insetlist and
9861 * PainterBase.C (rectText): small correction
9863 * BufferView_pimpl.C: comment out insettheorem and insetlist
9864 * LyXAction.C: ditto
9865 * commandtags.h: ditto
9867 2001-07-24 Juergen Vigna <jug@sad.it>
9869 * text.C (draw): honor the ignore_language.
9871 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
9873 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9875 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
9878 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9880 * lyxtext.h: remove unused (and unimplemented) methods
9882 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9884 * text.C (getVisibleRow): honor background color
9887 * Painter.h: remove default color argument for fillRectangle
9889 * text.C (backgroundColor): new method
9891 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9893 * text.C (getVisibleRow): adjust
9895 * font.[Ch] (rectText): new method, metrics
9896 (buttonText): new method, metrics
9898 * PainterBase.[hC]: make rectText and buttonText always draw and take
9901 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9903 * ToolbarDefaults.C (read):
9904 * MenuBackend.C (read): allow escaping in all strings
9906 * BufferView_pimpl.C (insertAndEditInset): new method.
9907 (Dispatch): use insertAndEditInset whenever appropriate.
9909 * BufferView_pimpl.C (insertNote): removed
9911 * BufferView_pimpl.C (smartQuote): new method, moved from
9912 BufferView; if an insetquote cannot be inserted, insert a '"'
9915 * BufferView2.C: remove insertCorrectQuote();
9917 * lyxfunc.C (getStatus): Add support for all remaingin
9920 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9922 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9923 command (necessary to pass " as parameter of self-insert.
9925 * text.C (selectWordWhenUnderCursor):
9926 (selectWord): add word_location parameter
9927 (selectWordWhenUnderCursor): same + remove special code for word
9929 (selectNextWord): use kind() to guess type of insetspecialchar,
9932 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9933 (insertErtContents): create ert insets as collapsed.
9934 (readInset): better compatibility code for Info inset.
9936 2001-07-20 Juergen Vigna <jug@sad.it>
9938 * lyxfunc.C (dispatch): use always LyXFind now!
9940 * text2.C (init): add a reinit flag so that the LyXText can be
9941 reinited instead of deleted and reallocated (used in InsetText).
9943 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9949 2001-07-18 Juergen Vigna <jug@sad.it>
9951 * text.C (selectNextWord): handle insets inside inset by calling
9952 always the bv->text functions so that we can go up the_locking_inset!
9954 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9955 in strange locations when inside an inset!
9957 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9958 handling to include insets.
9960 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9962 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9964 * LyXAction.C (init):
9966 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9967 LIGATURE_BREAK, since the name is so stupid.
9969 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9971 * buffer.C (readInset): enable reading of new InsetNotes as well as old
9974 * FontLoader.C: remove FORMS_H_LOCATION cruft.
9976 * sp_form.[Ch]: remove.
9978 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9980 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9983 * src/buffer.C (readInset): ditto.
9985 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9987 * BufferView_pimpl.C (specialChar): new method. Obsoletes
9988 menuSeparator(), endOfSentenceDot(), ldots() and
9989 hyphenationPoint(), which are therefore removed.
9990 (Dispatch): handle LFUN_HYPHENATION_BREAK.
9992 * LyXAction.C (init):
9993 * commandtags.h: add LFUN_HYPHENATION_BREAK.
9995 * paragraph.C (getWord): removed.
9997 * BufferView_pimpl.C (Dispatch): use last word or selection for
9998 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10000 * lyx_main.C (queryUserLyXDir): do not ask before creating
10001 user_dir, except if it has been named explicitely.
10003 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10005 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10006 a document of zero size.
10008 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
10010 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10011 approriately in the c-tor and in require().
10012 (getPackages): output the appropriate LaTeX for natbib support.
10014 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10015 variables "use_natbib" and "use_numerical_citations" when reading the
10017 (readInset): read the various natbib cite commands.
10018 (validate): white-space change.
10020 * bufferparams.[Ch]: new variables "bool use_natbib" and
10021 "bool use_numerical_citations".
10022 (writeFile): output them in the LyX file.
10024 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10026 * lyxfunc.C (getStatus): add support for all the inset insertion
10029 * text2.C (insertInset):
10030 * paragraph.C (insetAllowed):
10031 * BufferView_pimpl.C (insertInset): update to take in account the
10032 renaming of insertInsetAllowed
10034 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10036 * text2.C (getInset): new method. returns inset at cursor position.
10038 * BufferView_pimpl.C (Dispatch): changes because of this.
10040 * LyXAction.C (init): rename open-stuff to inset-toggle.
10042 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10044 * text2.C (toggleInset): renamed from openStuff; use
10047 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
10049 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10051 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10053 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
10055 * buffer.C (readLyXformat2): Add filename to the error dialog
10057 2001-07-18 Juergen Vigna <jug@sad.it>
10059 * tabular.C (GetCellNumber): put an assert here instead of the check!
10061 2001-07-17 Juergen Vigna <jug@sad.it>
10063 * BufferView_pimpl.C (toggleSelection): adapted too.
10065 * text.C (selectNextWord): adapted for use with insets.
10066 (selectSelectedWord): ditto
10068 2001-07-17 Juergen Vigna <jug@sad.it>
10070 * sp_spell.C (PSpell): fix initialitation order.
10072 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10074 * paragraph.C: spacing
10076 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
10078 * sp_spell.C: repair language selection for pspell
10080 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10082 * lyxfunc.h: change more methods to begin with lower char.
10084 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
10086 * buffer.C (parseSingleLyXformat2Token): Generate error insets
10087 for unknown layouts.
10089 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
10091 * buffer.C (readLyXformat2): Generate an error dialog if there are
10094 2001-07-16 Juergen Vigna <jug@sad.it>
10096 * sp_spell.C: always compile ISpell part.
10098 * lyxrc.C: added use_pspell entry and it's handling.
10100 2001-07-13 Juergen Vigna <jug@sad.it>
10102 * sp_spell.C: removed double includes.
10104 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
10106 Consistent use of Lsstream.h:
10107 * Lsstream.h: added using std::stringstream for consistencies sake.
10109 * buffer.C: removed using std::stringstream
10111 * lyxfont.C (stateText):
10112 * paragraph.C (asString):
10113 * text.C (selectNextWord, selectSelectedWord):
10114 * text2.C (setCounter):
10115 * vspace.C (asString, asLatexString):
10116 std::ostringstream -> ostringstream.
10118 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10120 * LyXAction.C: add LFUN_HELP_ABOUTLYX
10121 * commandtags.h: add LFUN_HELP_ABOUTLYX
10122 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10124 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10126 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10128 * lyx_gui_misc.C: remove spellchecker
10129 * lyxfunc.C: showSpellchecker
10131 * sp_ispell.h: added
10132 * sp_pspell.h: added
10133 * sp_spell.C: added
10134 * sp_form.[Ch]: removed
10135 * spellchecker.[Ch]: removed
10137 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
10139 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10141 (simpleTeXSpecialChars): Simply print the input character without
10142 any special translation if pass_thru is set.
10144 * layout.h: Added bool pass_thru to layout class for being able to
10145 implement pass through of a paragraph for Literate Programming.
10147 * layout.C: add LT_PASS_THRU to LayoutTags enum.
10148 * layout.C (LyXLayout): set pass_thru to flase in constructor.
10149 * layout.C (Read): add "passthru" to list of layout tags and add
10150 code to set the pass_thru boolean when it is read.
10152 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10154 * trans_decl.h: remove allowed from KmodInfo
10156 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10157 remove allowed code
10160 * paragraph_pimpl.C (erase): use boost::prior
10162 * Painter.C (text): use data() instead of c_str() when length is
10164 * WorkArea.C (putClipboard): ditto
10165 * font.h (width): ditto
10167 * BufferView2.C: use it-> instead of (*it). for iterators
10169 * paragraph_pimpl.C: ditto
10170 * paragraph.C: ditto
10171 * minibuffer.C: ditto
10172 * language.C: ditto
10174 * encoding.C: ditto
10175 * counters.C: ditto
10176 * converter.C: ditto
10178 * Variables.C: ditto
10179 * TextCache.C: ditto
10180 * MenuBackend.C: ditto
10181 * LyXAction.C: ditto
10183 * FloatList.C: ditto
10184 * DepTable.C: ditto
10185 * ColorHandler.C (LyXColorHandler): ditto
10187 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10189 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10191 * text2.C (openStuff): reintroduce this method (which had been
10192 nuked in NEW_INSETS frenzy).
10194 * lyxfunc.C (Dispatch): when an action has not been handled, use
10195 its name in the error message, not its number.
10197 * paragraph.C (inInset): change method name to begin with lowercase.
10200 * text2.C: updates because of this.
10202 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10204 * ToolbarDefaults.C (add): add spaces in error message
10206 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10208 * buffer.C (readLyXformat2): initialize the ert comp. variables.
10209 (readLyXformat2): rename return_par to first_par, use lyxlex's
10210 pushToken and remove the manual push handling.
10211 (parseSingleLyXformat2Token): add another ert comp. variable:
10212 in_tabular, rename return_par to first_par. handle newlines better
10214 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10216 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10218 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10220 * text2.C (getParFromID): removed
10222 * buffer.C (getParFromID): new method moved form lyxtext.
10223 * BufferView2.C (insertErrors): adjust
10224 (setCursorFromRow): adjust
10225 * BufferView_pimpl.C (restorePosition): adjust
10226 * lyxfunc.C (Dispatch): adjust
10227 * undo_funcs.C (textUndo): adjust
10229 (textHandleUndo): adjust
10230 (textHandleUndo): adjust
10232 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10234 * buffer.C: up' the LYX_FORMAT
10236 * lyxfont.h: turn NO_LATEX on as default
10238 * buffer.C (insertErtContents): new methods of tex style compability.
10239 (parseSingleLyXformat2Token): use it several places.
10240 * tabular.C (OldFormatRead): and here
10242 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10244 * text2.C: remove some commented code.
10247 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10248 * trans.C: changes because of the above.
10250 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
10252 * text2.C (setCounter): Fix counters bug with bibliography layout.
10254 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10256 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10257 own member functions
10258 (simpleTeXSpecialChars): ditto
10260 2001-07-06 Juergen Vigna <jug@sad.it>
10262 * a lot of files: changed the access to LyXText::status and the
10263 call of undo-functions.
10265 * undo.[Ch]: added a inset_id to the undo informations.
10267 * undo_funcs.[Ch]: added and moved here all undo functions.
10269 * lyxtext.h: give the status enum a weight, made status_ a private
10270 variable and made accessor functions for it, removed the whole bunch
10271 of undo-functions as they are now in their own file, make some
10272 functions publically available. Added function ownerParagraph with
10275 * paragraph.[Ch]: added "bool same_ids" to the constructor,
10276 made InInset() a const function, added getParFromID() function.
10278 * buffer.[Ch]: added const version for inset_iterator functions,
10279 added getInsetFromID() function.
10281 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
10282 changed undo functions for new version.
10284 2001-07-05 Juergen Vigna <jug@sad.it>
10286 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
10287 unknow mechanism does not call the proper constructor but only this
10288 one also if I request the other!?
10290 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10292 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
10294 * text2.C (LyXText): use initialization lists.
10296 * lyxtext.h (Selection): initialize set_ and mark_
10297 (init): remove method
10299 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
10301 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
10303 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10305 * screen.[Ch]: change method names to begin with lowercase
10307 * BufferView_pimpl.C (updateScrollbar): simplify further and
10308 hopefully make it a bit faster.
10310 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10312 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
10313 calling directly xforms functions.
10315 * Painter.C (Painter):
10316 * lyx_cb.C (MenuWrite):
10317 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
10320 * lyx_gui.C: remove bogus guiruntime extern declaration.
10322 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10324 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
10326 (redoDrawingOfParagraph): ditto
10327 (redoParagraphs): ditto
10328 (cutSelection): don't create a object for CutAndPaste use the
10329 static method directly
10330 (pasteSelection): ditto
10332 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
10335 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10337 * modifications to some other files because of this.
10339 * Makefile.am (lyx_SOURCES): add XFormsView
10341 * XFormsView.[Ch]: new files
10343 * LyXView.[Ch]: make LyXView a base class for the gui handling for
10344 the main window. Move the gui dependent stuff to XFormsView
10346 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10348 * tabular.C (GetCellInset): update cur_cell also in the row/col
10349 version of this function.
10351 * lyxfunc.C: no need to include figure_form.h here.
10357 * lyxvc.C: no need to include forms.h here.
10359 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10361 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
10363 * lyxfunc.C (Dispatch):
10365 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
10366 constructor argument.
10368 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10370 * paragraph.C (Paragraph): dont't clear, and just set layout.
10371 (makeSameLayout): use params's copy contructor.
10373 * ParagraphParameters.[Ch] (makeSame): delete method
10375 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
10377 * Variables.[Ch]: fix indentation, rename set to isSet
10379 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10381 * lyxfunc.C (Dispatch): fix typo
10383 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10385 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
10388 * bufferlist.C: include assert.h for emergencyWrite().
10390 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10392 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
10393 give up at last (bug #425202) !
10395 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
10401 * spellchecker.C: strip spellchecker options and bring up
10402 preferences tab instead
10404 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10406 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
10407 the istringstream constructor
10409 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10411 * paragraph.C (getLayout): fix return value
10413 * paragraph.h: do not declare getLayout as inline.
10415 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
10417 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10419 * lyxcursor.h (operator<): new func
10420 (operator>): new func
10421 (operator>=): new func
10422 (operator<=): new func
10424 * text.C (changeCase): use selection.start and selection.end
10425 (changeRegionCase): require from to be <= to. Require par to be a
10428 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
10430 2001-06-27 Juergen Vigna <jug@sad.it>
10432 * text.C (cursorLeftOneWord): changed to return the cursor and added
10433 overlay with BufferView * parameter which calls this one.
10435 (selectWord): use new getWord function.
10436 (changeCase): renamed from changeWordCase as and extended to work
10437 also on selections.
10439 * lyxtext.h: added enum word_location
10441 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
10442 changeCase as this operates now also on selections.
10444 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
10446 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
10448 * many files: send debug output to Debug::INFO instead of
10451 * converter.C (View):
10453 (Move): send debug output to Debug::FILES instead of console.
10455 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
10457 * lyxfunc.C (getStatus): use func_status
10459 * func_status.h: new header, describing the results of
10460 LyXFunc::getStatus;
10462 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
10465 2001-06-25 The LyX Project <jug@sad.it>
10467 * buffer.C (sgmlOpenTag):
10469 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
10471 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10473 * text2.C: remove some dead code
10475 * tabular.C (GetCellInset): store the last cell checked (gotten)
10477 * tabular.h: add the helper for the speedup
10479 * lyxtext.h: remove some dead code
10481 2001-06-26 The LyX Project <Asger>
10483 * paragraph.C: Change export to LaTeX of alignment to
10484 \begin{center} and family for better roundtrip work with reLyX.
10486 * Tune the math drawing a bit.
10488 2001-06-25 The LyX Project <Asger>
10490 * LColor.C (LColor): New color for math background. New color
10493 2001-06-25 The LyX Project <jug@sad.it>
10495 * lyxfunc.C (MenuNew): remove extra check for .lyx file
10497 * lyxfunc.C (Open):
10498 * bufferlist.C (newFile): do not restrict to files ending with
10501 * BufferView_pimpl.C (MenuInsertLyXFile):
10503 2001-06-24 The LyX Project <jug@sad.it>
10505 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
10508 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10510 * lyxtext.h: rename most methods to begin with a small char.
10511 Lots of changes because of this.
10513 * paragraph.C (Paragraph): do not call fitToSize
10514 (erase): call Pimpl::erase
10515 (insertChar): call Pimpl::insertChar
10516 (insertInset): call Pipl::insertInset
10517 (breakParagraph): do not call fitToSize
10518 (breakParagraphConservative): do not call fitToSize
10519 (fitToSize): remove method
10521 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
10523 2001-06-24 The LyX Project <Asger>
10525 * Fix Qt compilation^2
10527 2001-06-24 The LyX Project <jug@sad.it>
10529 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
10530 depthHook(getDepth()-1).
10533 * ParagraphParameters.h:
10534 * ParameterStruct.h: change type of depth to unsigned int ==
10535 depth_type. Many adaptations to other files before of that.
10537 2001-06-24 The LyX Project <Asger>
10539 * Fix Qt compilation.
10541 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10543 * paragraph.h: renamed several methods to begin with small letter.
10544 several changes to many parts of the code because of this.
10546 2001-06-23 The LyX Project <jug@sad.it>
10548 * text2.C (InsertStringAsLines): renamed from InsertStringA;
10549 rewritten to discard all double spaces when KeepEmpty is off
10550 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
10551 to only handle newlines but not fiddle with spaces and friends.
10553 * lyxfunc.C (MenuNew): when doing 'new from template', use
10554 template_path as default directory
10556 2001-06-23 The LyX Project <Asger>
10558 * Clean-up of header file includes all over
10559 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
10561 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10563 * paragraph.h: renamed from lyxparagraph.h
10565 2001-06-23 Asger <lyx@violet.home.sad.it>
10567 * Buffer.h: Removed Buffer::resize
10568 * BufferList.h: Removed BufferList::resize
10569 * LyXView.h: Added LyXView::resize. This way, we will only reflow
10570 the document lazily when we change the width, or the font settings.
10572 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10574 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
10576 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10578 * buffer.h: remove out of date comment
10580 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10583 * screen.C: fix "theoretical" GC leak
10585 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10587 * LaTeX.C (scanAuxFile):
10588 (deplog): remove trailing \r when reading stream (useful under
10591 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
10593 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
10594 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
10595 and BufferView::theLockingInset(Inset*), so should use them and not
10596 access bv_->text->the_locking_inset directly.
10598 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
10600 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10603 * tex-defs.h: remove old unused file
10605 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
10607 * BufferView_pimpl.C: fix typo, remove minibuffer message
10608 when buffer has loaded
10610 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10612 * lyxfunc.C (Dispatch): use stringstream
10613 (MenuNew): use stringstream
10614 (Open): use stringstream
10616 * importer.C (Import): use stringstream
10618 * bufferview_funcs.C (CurrentState): use stringstream
10620 * LaTeX.C (run): use stringstream
10622 * BufferView_pimpl.C (savePosition): use stringstream
10623 (restorePosition): use stringstream
10624 (MenuInsertLyXFile): use stringstream
10626 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
10639 * vspace.C: removed // -*- C++ -*- as first line.
10642 * version.h: added // -*- C++ -*- as first line.
10644 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10646 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
10648 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
10651 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10653 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
10656 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10658 * gettext.C: include LString.h even when --disable-nls is on.
10660 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
10662 * converter.h (Get): changed argument type from int to
10663 FormatList::size_type to avoid unnecessary conversion.
10665 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
10668 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10670 * gettext.h: include LString.h even when --disable-nls is on.
10672 2001-06-07 Juergen Vigna <jug@sad.it>
10674 * text.C (BreakAgain): subst spaces with tabs.
10676 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
10677 (resizeInsetsLyXText): set force on resizeLyXText.
10679 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10681 * gettext.h (gettext_init):
10682 (locale_init): use a real definition instead of a macro
10684 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10686 * Bufferview_pimpl.C:
10688 * LColor.C: further lcolor tidies
10690 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10692 * BufferView_pimpl.C (updateScrollbar): simplify.
10694 * BufferView2.C: don't include insets/insetinfo.h, change
10695 prototype for insertInset and call the Pimpl version. let
10696 updateInset call Pimpl version.
10698 * BufferView.h: move inset_slept to BufferView::Pimpl, move
10699 gotoInset to BufferView::Pimpl
10701 2001-06-01 Juergen Vigna <jug@sad.it>
10703 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
10704 inside a LockingInset (is the update needed at all?).
10706 2001-05-31 Juergen Vigna <jug@sad.it>
10708 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
10709 here not the old one otherwise how should we compare it afterwards
10712 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10717 * FontInfo.C: bring C functions into global namespace when
10720 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10722 * LString.h: make sure config.h has been loaded before LString.h.
10724 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
10725 (one for each char read by EatLine!).
10727 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
10730 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10732 * paragraph.C (BreakParagraph): set the inset_owner in the new par
10733 to the same as the par we break from
10735 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
10737 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
10739 * MenuBackend.C (expand): also create menu entries for wide
10740 versions of the floats.
10742 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
10744 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
10746 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
10747 frontends/Makefile.am
10753 * tabular.C (getTokenValue): add std::
10755 * tabular-old.C (getTokenValue): add std::
10756 (getTokenValue): ditto
10757 (getTokenValue): ditto
10759 * screen.C (ToggleSelection): adjust
10761 * lyxtext.h: put selection cursors inside a Selection struct.
10763 * lyxfunc.C (moveCursorUpdate): adjust
10765 * lyxfont.C (latexWriteStartChanges): add std::
10767 * lyxfind.C: adjust
10769 * font.h: delete with(char const *, LyXFont const &)
10771 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
10773 * FontInfo.C (getFontname): add std::
10775 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
10776 (workAreaButtonPress): adjust
10777 (tripleClick): adjust
10779 (moveCursorUpdate): adjust
10782 * BufferView2.C (gotoInset): adjust
10784 2001-05-30 Juergen Vigna <jug@sad.it>
10786 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
10787 to check pspell I add this as default as I now have new pspell
10788 libraries and they seem to use this.
10790 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10792 * text2.C (CutSelection): make the cursor valid before the call to
10795 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10797 * kbsequence.C (parse): de-uglify a bit the parsing code, which
10798 relied on 0 terminated strings and other horrors. Bug found due to
10799 the new assert in lyxstring!
10801 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
10804 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10806 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
10809 * lyxfunc.C (processKeySym): change method of getting to the
10812 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
10813 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
10814 * BufferView_pimpl.[Ch]: here as private methods.
10816 2001-05-28 Juergen Vigna <jug@sad.it>
10818 * text.C (SetHeightOfRow): added the update() call again as it is
10819 needed to initialize inset dimensions!
10821 2001-05-16 Juergen Vigna <jug@sad.it>
10823 * text2.C (SetCharFont): Add new function with BufferView * and
10824 bool toggleall parameters for setting insets internal fonts.
10825 (SetFont): Freeze the undo as we may change fonts in Insets and
10826 all this change should be inside only one Undo!
10828 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
10829 setting font's in insets as for them we have the SetFont function!
10831 2001-05-15 Juergen Vigna <jug@sad.it>
10833 * text2.C (ClearSelection): to be sure we REALLY don't have any
10836 * tabular.C (TeXCellPreamble): fixed the left border problem for
10839 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
10841 * LaTeX.C (deplog): Make sure that the main .tex file is in the
10844 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10846 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
10847 LFUN_BREAKPARAGRAPH.
10849 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
10850 help test to "internal only", similar for LFUN_INSERT_URL
10852 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10853 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
10854 auto_region_delete and deadkeys.
10856 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
10859 * LColor.C: remove some dead entries, tidy a little
10861 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10863 * lyxfunc.C (processKeySym): comment the Escape handling, remove
10865 (Dispatch): implement LFUN_ESCAPE
10867 * commandtags.h: add LFUN_ESCAPE
10869 * LyXAction.C (init): add entry for LFUN_ESCAPE
10871 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
10872 Remove commented code.
10873 (insertNote): moved here
10874 (open_new_inset): moved here
10876 * BufferView[2].[Ch]: move insertNote and open_new_inset to
10879 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10881 * kbmap.C (findbinding): clean it up and make it work correctly.
10883 * lyx_main.C (init): do not pass argc and argv as parameters
10885 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
10887 * buffer.C: fix path for OS/2 & Win32
10891 * lyx_main.C: Added os:: class.
10893 * os2_defines.h: update
10895 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10897 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10898 better by trying again with reduced state.
10900 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10902 * lyxrc.C (read): print error about invalid key sequence only when
10903 debugging (because not all latinX keysyms are known to some X
10906 * kbsequence.C (getiso): add a few std:: qualifiers
10907 (getiso): comment out extra return statement.
10909 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
10911 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
10913 (Dispatch): enhance the accent inset a bit. (not perfect)
10915 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10917 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
10919 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10921 * bufferlist.C (emergencyWrite): fix assert() call
10923 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
10925 * text.C (InsertChar): Added trivial patch to only send the "you
10926 can not do multiple spaces this way" message once during a
10929 2001-05-08 Baruch Even <baruch@lyx.org>
10931 * Makefile.am: Changed order of libraries to get LyX to link properly
10932 with the gnome frontend.
10934 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10936 * LaTeXFeatures.h: add a std:: qualifier
10938 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10940 * paragraph.C (String): use stringstream
10942 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10944 * paragraph.C (writeFile): remove footflag arg
10946 * buffer.C (makeLaTeXFile): use stringstream
10947 (latexParagraphs): remove footnot gurba
10949 * LaTeXFeatures.C (getPackages): use stringstream
10950 (getMacros): likewise
10951 (getTClassPreamble): likewise
10952 (getFloatDefinitions): new method
10954 * paragraph.C (writeFile): reindent
10957 * WorkArea.h: revert the xpos + etc changes.
10959 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10961 * lyxparagraph.[Ch]: add copy constructor, remove Clone
10963 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10964 (pasteSelection): likewise
10965 * text2.C (CreateUndo): likewise
10967 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10969 * minibuffer.C (peek_event): temporarily reduce the functionality
10970 of the minibuffer (to allow args on lfuns)
10972 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10973 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10975 * buffer.C (readInset): add compability reading of old float
10976 lists, add reading of new style float list.
10977 (readInset): avoid reevaluation of inscmd.getCmdName()
10978 (getLists): reindent
10980 * MenuBackend.C (MenuItem): implement parsing of
10981 md_floatlistinsert and md_floatinsert.
10982 (expand::LastFiles): move initalizaton of iterators out of loop,
10983 avoid reevaluation.
10984 (expand::Documents): introduce typdedef vector<string> Strings,
10986 (expand::ExportFormats): introduce typedef vector<Format const *>
10987 Formats, and use it.
10988 (expand): implement FloatListInsert and FloatInsert.
10990 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10991 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10992 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10994 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10996 (Dispatch::LFUN_FLOAT_LIST): implement
10998 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11000 * LaTeX.C (run): Fix problem with --export code.
11002 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11004 * BufferView.[Ch] (workarea): removed.
11005 (getClipboard) new method; wrapper for workarea()->getClipboard()
11007 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11010 * WorkArea.h (width, height, xpos, ypos): These methods all
11011 returned the dimensions of the work_area sub-area of WorkArea,
11012 resulting in a position error if the WorkArea were resized. Now
11013 return the dimensions of the entire WorkArea.
11015 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11017 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11019 * LaTeX.C (deplog): correct the syntax of regex reg1
11021 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11023 * undo.C: remove !NEW_INSETS cruft
11025 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11027 * text2.C: remove !NEW_INSETS cruft
11029 * text.C: remove !NEW_INSETS cruft
11031 * tabular.C: remove !NEW_INSETS cruft
11033 * spellchecker.C: remove !NEW_INSETS cruft
11035 * lyxtext.h: remove !NEW_INSETS cruft
11037 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11039 * lyxfunc.C: remove !NEW_INSETS cruft
11041 * lyxfind.C: remove !NEW_INSETS cruft
11043 * lyx_cb.C: remove !NEW_INSETS cruft
11045 * figureForm.C: remove !NEW_INSETS cruft
11047 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11049 * buffer.[Ch]: remove !NEW_INSETS cruft
11051 * ToolbarDefaults.C: remove !NEW_INSETS cruft
11053 * CutAndPaste.C: remove !NEW_INSETS cruft
11055 * BufferView_pimpl.C: remove !NEW_INSETS cruft
11057 * BufferView2.C: remove !NEW_INSETS cruft
11059 * BufferView.h: remove !NEW_INSETS cruft
11061 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11063 * Lsstream.h: include LString.h before the sstream headers to
11064 fix problem with gcc 2.95.3 and lyxstring
11066 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11068 * lyx_main.C: add using directives when needed for C functions
11069 declared in std:: namespace.
11071 2001-04-27 Juergen Vigna <jug@sad.it>
11073 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11074 (SetHeightOfRow): comment out the update call should not be needed!
11076 2001-04-13 Juergen Vigna <jug@sad.it>
11078 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11079 (LyXTabular): tried to minimize operator= operations (and realized
11080 hopfully Lars wish).
11082 2001-04-27 Juergen Vigna <jug@sad.it>
11084 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11086 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11088 * lyxfunc.C (Dispatch): hack to make listof algorithm work
11090 * buffer.C (readInset): hack to make listof algorithm work
11092 * BufferView_pimpl.C: hack to make listof algorithm work
11094 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11096 * LyXAction.C: removed all !NEW_INSETS cruft
11097 (init): moved lfun_item in method
11099 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11101 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11103 * BufferView2.C (theLockingInset): white space.
11105 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11107 * minibuffer.C: include <iostream>
11109 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11111 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11113 * commandtags.h: add LFUN_TRANSPOSE_CHARS
11115 * text.[Ch] (TransposeChars): new method
11117 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11119 * call message directly through LyXView instead of through LyXFunc
11120 * BufferView2.C: adjust
11121 * BufferView_pimpl.C: adjust
11122 * FontLoader.C: adjust
11124 * bufferview_funcs.C: adjust
11125 * converter.C: adjust
11126 * figureForm.C: adjust
11127 * importer.C: adjust
11129 * lyx_gui_misc.C: adjust
11130 * lyxfunc.C: adjust
11133 + more files in subdirs
11135 * lyxparagraph.h (size): move up int file
11138 * adjust all uses of Assert to lyx::Assert.
11140 * BufferView2.C (ChangeCitationsIfUnique): adjust for
11141 lyxfunctional in namespace lyx
11142 * layout.C (hasLayout): ditto
11145 (delete_layout): ditto
11146 (NumberOfClass): ditto
11147 * converter.C (GetFormat): ditto
11152 * bufferlist.C (getFileNames): ditto
11153 (emergencyWriteAll): ditto
11156 * MenuBackend.C (hasSubmenu): ditto
11159 * BufferView_pimpl.C (getInsetByCode): ditto
11161 2001-04-18 Juergen Vigna <jug@sad.it>
11163 * vspace.C (asLatexString): fixed the 100% problem.
11165 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11167 * lyxfunc.C (Dispatch):
11169 * minibuffer.h: add a few std:: qualifiers
11171 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11173 * minibuffer.[Ch]: reimplement so that commands is initiated and
11174 run from lyxfunc, simplified som handling, and made the completion
11175 and history code for complete. wip.
11177 * lyxfunc.C (processKeySym): call message
11178 (miniDispatch): new temporary method
11179 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11180 (LFUN_MESSAGE): implement
11181 (LFUN_MESSAGE_PUSH): implement
11182 (LFUN_MESSAGE_POP): implement
11183 (initMiniBuffer): the initial/defualt minibuffer message.
11185 * lyxfont.[Ch]: inline some more getters
11187 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11189 * lyx_gui_misc.[Ch] (WriteStatus): remove method
11191 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11192 (AutoSave): use LFUN_MESSAGE
11193 (Reconfigure): ditto
11195 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11197 * figureForm.C: use LFUN_MESSAGE
11199 * converter.C (runLaTeX): use LFUN_MESSAGE
11201 * bufferview_funcs.C: use LFUN_MESSAGE
11203 (changeDepth): ditto
11205 * bufferparams.h: use boost::
11207 * bufferlist.h: inherit privately from noncopyable
11209 * bufferlist.C (loadLyXFile): remove some commented code.
11211 * buffer.C (runChktex): use LFUN_MESSAGE
11213 * ShareContainer.h: inherit privately from noncopyable
11215 * ParagraphParameters.[hC] (depth): inline it.
11217 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11219 (message): new method
11220 (messagePush): ditto
11221 (messagePop): ditto
11222 (show): init minibuffer
11223 (showState): direct call
11225 * LaTeX.[Ch]: inherit privately from noncopyable
11226 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11227 instead of WriteStatus.
11229 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
11231 * BufferView_pimpl.C (buffer): don't init minibuffer
11232 (workAreaButtonPress): use LFUN_MESSAGE
11233 (workAreaButtonRelease): ditto
11234 (savePosition): ditto
11235 (restorePosition): ditto
11236 (MenuInsertLyXFile): ditto
11237 (workAreaExpose): don't init minibuffer
11238 (update): remove commented code, simplify
11240 * BufferView2.C (openStuff): use LFUN_MESSAGE
11241 (toggleFloat): ditto
11244 (copyEnvironment): ditto
11245 (pasteEnvironment): ditto
11250 (updateInset): remove some commented code
11252 * lastfiles.h: inherit privately from noncopyable
11255 * lyx_main.h: ditto
11257 * lyxlex_pimpl.h: ditto
11259 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11260 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11261 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11263 * LyXAction.h: inherit privately from noncopyable, add methods
11264 func_begin, func_end, returning iterators to the func map.
11266 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
11267 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11268 (func_begin): new method
11269 (func_end): new method
11271 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
11273 (copySelection): ditto
11274 (pasteSelection): ditto
11276 * BufferView.C: whitespace change
11277 * BufferView.h: inherit privately from noncopyable
11279 2001-04-16 Allan Rae <rae@lyx.org>
11281 * tabular-old.C (l_getline):
11282 * spellchecker.C (sc_check_word):
11283 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
11284 an unrecognised preprocessor directive. So ensure they're wrapped.
11286 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
11288 * src/exporter.C (Export): Give an error message when path to file
11291 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
11293 * LaTeX.C (deplog): Always check that foundfile exists.
11295 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11298 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
11300 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11302 * tabular.[Ch] (getLabelList): implement new method
11304 * minibuffer.h: comment ouf setTiimer
11306 * minibuffer.C (ExecutingCB): constify res
11307 (peek_event): constify s
11308 (Set): constify ntext
11309 (Init): constify nicename
11311 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
11313 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
11314 (savePosition): use two params to Minibuffer::Set
11315 (restorePosition): ditto
11317 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11319 * lyx_main.C: include language.h
11321 * Makefile.am (lyx_main.o): add language.h
11323 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11329 * CutAndPaste.C: include gettext.h
11331 * lyxfont.h: remove old hack with ON and OFF.
11334 * lyxfont.h: do not include language.h...
11339 * bufferview_funcs.C:
11345 * paragraph.C: ... but do it here instead
11347 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11349 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
11351 * tabular.C: small reformat
11353 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
11356 (BreakParagraph): ditto
11357 (SetOnlyLayout): ditto
11360 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
11363 * lastfiles.C: removed most using decl, add std:: where needed
11365 * buffer.C: ws changes
11367 * MenuBackend.C (class compare_format): put into anon namespace
11368 (expand): constify label, names, action, action2
11371 * text.C (SingleWidth): constify font
11372 (IsBoundary): constify rtl2
11373 (GetVisibleRow): constify ww
11375 * LaTeX.C (deplog): constify logfile
11377 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
11379 (workAreaExpose): constify widthChange, heightChange
11381 * lyxrow.C (par): moved
11384 * lyxrow.h: as inlines here
11386 * lyxfont.h (shape): moved from lyxfont.C
11387 (emph): moved from lyxfont.C
11389 * lyxfont.C (LyXFont): use initialization list for all
11391 (shape): move to lyxfont.h as inline
11392 (emph): move to lyxfont.h as inline
11395 2001-04-04 Juergen Vigna <jug@sad.it>
11397 * vspace.C: had to include stdio.h for use of sscanf
11399 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
11402 * BufferView_pimpl.h: remove xforms cruft. Both classes are
11403 independent of xforms.
11405 2001-04-02 Juergen Vigna <jug@sad.it>
11407 * spellchecker.C: fixed namespace placing!
11409 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
11411 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
11412 the LyXParagraph * is 0.
11414 2001-03-29 Juergen Vigna <jug@sad.it>
11416 * vspace.C: added support for %, c%, p%, l%.
11417 (stringFromUnit): added helper function.
11418 (asLatexString): changed to give right results for the %-values.
11420 * buffer.C: convert the widthp in a width%.
11422 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
11424 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
11427 * figureForm.[Ch]: stripped the FD_from_figure manipulation
11428 code out of lux_cb.[Ch], ready for its (imminent?) removal.
11430 * lyx_cb.[Ch]: see above.
11432 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
11436 * lyx.[Ch]: replaced by figure_form.[Ch].
11440 * lyxfunc.C: changed headers associated with above changes.
11442 2001-03-27 Juergen Vigna <jug@sad.it>
11444 * BufferView_pimpl.C: set the temporary cursor right!
11446 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
11448 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
11450 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
11452 * LString.h: removed "using std::getline"!
11454 * BufferView_pimpl.C (Dispatch): changes due to changes in
11455 InsetInclude::Params.
11457 * buffer.C (tag_name): removed redundant break statements as they were
11458 producing lots of warnings with my compiler.
11460 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11462 * LString.h: add "using std::getline" when using the real <string>.
11464 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
11466 * buffer.C: removed bitset usage.
11467 PAR_TAG moved to an anonymous name space.
11468 (tag_name): new funtion, also in the anonymous namespace.
11469 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
11470 (makeDocBookFile): clean code. Completed transition from string arrays
11472 (SimpleDocBookOnePar): code clean.
11474 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11476 * tabular.C: add some comments.
11478 2001-03-22 Juergen Vigna <jug@sad.it>
11480 * buffer.C (parseSingleLyXformat2Token): redone the minipage
11481 compatibility read a bit and fixed bug with minipage in different
11484 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
11486 * buffer.C (pop_tag): removed.
11487 (push_tag): removed.
11488 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
11489 array replaced with vector. Added support for CDATA sections.
11490 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
11492 (makeDocBookFile): XML conformant declaration of CDATA section,
11493 fixed bug related to <emphasis> in the first paragraph char.
11494 (sgmlOpenTag): exclude empty tags.
11495 (sgmlCloseTag): ditto.
11497 * buffer.h (pop_tag): removed.
11498 (push_tag): removed.
11500 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
11502 * language.h (Languages): added size_type and size().
11504 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11506 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
11507 response on compability reading of minipages. One probliem is that
11508 the old usage of minipages was «flertydig»
11510 * several files here and in subdirs: don't use static at file
11511 scope use anon namespaces instead.
11513 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
11515 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
11516 LaTeX output. This is necessary for Literate document
11519 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11521 * buffer.C: insert hfill when needed.
11523 * tabular.C (l_getline): use string::erase, small whitespace change.
11525 * BufferView_pimpl.C: try the anon namespace.
11526 * WorkArea.C: ditto
11528 2001-03-16 Juergen Vigna <jug@sad.it>
11530 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
11531 otherwise it won't open options-dialogs.
11533 * buffer.C: honor pextraWidth(p) on converting minipages.
11535 * tabular.C (l_getline): changed the functions to strip trailing \r.
11537 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
11539 * BufferView_pimpl.C:
11540 * minibuffer..C: added "using SigC::slot" declaration.
11542 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11544 * lyxlex_pimpl.h: noncopyable is in namespace boost.
11550 * paragraph.C: ditto
11552 * lyxtext.h: NO_PEXTRA
11554 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
11556 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
11557 * ParameterStruct.h: ditto
11558 * ParagraphParameters.h: ditto
11559 * lyxparagraph.h: ditto
11561 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11563 * buffer.C: add compability for minipage alignment.
11564 (latexParagraphs): remove unwanted pextra check.
11566 * several files: remove CXX_WORKING_NAMESPACES
11568 * buffer.C (pop_tag): tie is in namespace boost
11570 * BufferView.h: noncopyable is in namespace boost
11572 * lyx_main.h: ditto
11575 * lastfiles.h: ditto
11576 * bufferlist.h: ditto
11577 * ShareContainer.h: ditto
11579 * LyXAction.h: ditto
11582 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11584 * Merging changes from BRANCH_MVC back into HEAD.
11586 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
11588 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
11590 * BufferView_pimpl.C: change from intl.C
11594 * Makefile.am: move combox.*
11600 * intl.C: remove dialog (covered by prefs)
11602 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11604 * lyxfunc.C (Dispatch): removed redundant break statement.
11606 2001-03-14 Juergen Vigna <jug@sad.it>
11608 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
11610 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11612 * buffer.C: add hack to fix compability reading of minipages.
11614 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
11616 * buffer.C (getLists): Cleanup.
11618 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11620 * lyxfont.C (update): don't honor toggleall on font size.
11622 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
11626 * Makefile.am: moved to frontends/xforms/
11630 * BufferView_pimpl.C: changes for moved mathpanel
11632 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11634 * gettext.h: fix gettext_init() in --disable-nls
11636 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11638 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
11640 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
11643 * lyx.h: strip external form
11645 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11647 * BufferView_pimpl.C: add comment, destroySplash()
11649 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11651 * BufferView_pimpl.C:
11655 * lyxfunc.C: use re-worked insetinclude
11657 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11659 * buffer.C: add using std::stringstream.
11661 * lyx_cb.C: readd using std::ios.
11663 * buffer.C: add using std::map.
11665 * BufferView_pimpl.C: add using std::vector.
11667 * ShareContainer.h: add std:: to swap.
11669 * buffer.h: add some typedefs
11670 * buffer.C (getLists): use them
11671 (getLists): renamed from getTocList.
11672 add a counter for the different float types and use it in the
11674 (getLists): use the same counter for the NEW_INSETS and the "non"
11677 * lyx_cb.h: remove unused items, includes, using etc.
11679 * ShareContainer.h: remove some commented code, add more comments
11680 and "documentation".
11682 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11684 * buffer.C (getTocList): make the list also when NEW_INSETS is
11687 * buffer.h: remove TocType
11689 * buffer.C (getTocList): change to return a map<string,
11690 vector<TocItem> >, implement for dynamic number of list.
11692 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
11693 * text2.C (PasteSelection): adjust
11694 * CutAndPaste.C (pasteSelection): adjust
11696 * FloatList.C (FloatList): update from the new_insets branch.
11697 * Floating.[Ch]: ditto
11698 * LaTeXFeatures.C: ditto
11700 * lyxlex_pimpl.C: ditto
11702 * paragraph.C (Last): remove when NEW_INSETS is defined.
11704 * other file: changes because of the above.
11706 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11708 * lyxparagraph.h: rename next to next_, previous to previous_,
11709 make them private for NEW_INSETS. Rename Next() to next(),
11710 Previous() to previous().
11712 * other files: changes because of the above.
11714 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
11717 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
11720 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11722 * main.C (main): pass lyx_localedir to gettext_init().
11724 * gettext.h: remove locale_init and gettext_init macros
11726 * gettext.C (locale_init): new function
11727 (gettext_init): new function
11729 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
11732 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
11734 * Moved credits to frontends:
11735 * credits.[Ch]: removed
11736 * credits_form.[Ch]: removed
11737 * lyx_gui_misc.C: remove credits stuff
11740 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11742 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
11744 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
11745 unneeded destructor.
11747 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
11748 a standalone pointer again.
11750 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
11752 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
11758 * ToolbarDefaults.C:
11767 * BufferView_pimpl.C: use new file dialog in GUII
11770 * lyx_cb.C: remove LayoutsCB to Toolbar
11772 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11774 * ShareContainer.h (get): add std:: qualifier
11776 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11778 * ShareContainer.h: define a proper ShareContainer::value_type
11779 type (and use typename to please compaq cxx)
11781 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11783 * lyxparagraph.h: move serveral local vars to
11784 ParameterStruct/ParagraphParameters., use ShareContainer in
11785 FontTable., make vars in FontTable private and add getter and
11788 * paragraph.C: changes because of the above.
11790 * lyxfont.h: remove copy constructor and copy assignment. (the
11791 default ones is ok), move number inside FontBits. move inlines to
11794 * lyxfont.C: add number to initializaton of statics, move several
11795 inlines here. constify several local vars. some whitespace
11796 cleanup. Dont hide outerscope variables.
11798 * Spacing.h: add two new constructors to match the set methods.
11800 * ShareContainer.h: new file, will perhaps be moved to support
11802 * ParameterStruct.h: new file
11804 * ParagraphParameters.h: new file
11806 * ParagraphParameters.C: new file
11808 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
11809 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
11811 * BufferView_pimpl.C: ParagraphParameter changes.
11812 * buffer.C: Likewise.
11813 * bufferview_funcs.C: Likewise.
11814 * text.C: Likewise.
11815 * text2.C: Likewise.
11817 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11819 * lyxfind.C (LyXReplace): do not redefine default argument in
11821 (IsStringInText): ditto
11822 (SearchForward): ditto
11823 (SearchBackward): ditto
11825 2001-03-06 Juergen Vigna <jug@sad.it>
11827 * lyxfind.C (IsStringInText): put parentes around expressions.
11829 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
11831 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
11833 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
11835 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
11837 * stl_string_fwd.h: add comment
11839 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
11842 * tabular.C: remove unused DocBook methods
11848 killed DO_USE_DEFAULT_LANGUAGE
11850 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11852 * lyx_gui.C: do not include language.h.
11854 * bufferview_funcs.C (ToggleAndShow): do not provide optional
11855 arguments in function implementation.
11857 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11859 * BufferView_pimpl.C: add <ctime>
11861 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11863 * BufferView_pimpl.C: add using std::find_if
11865 2001-02-27 José Matos <jamatos@fep.up.pt>
11867 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
11870 2001-02-11 José Matos <jamatos@fep.up.pt>
11872 * buffer.C (makeDocBookFile): command styles now have a parameter as
11873 "title" by default.
11875 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
11877 * layout_forms.[Ch]: removed
11878 * lyx_cb.[Ch]: out character
11879 * lyx_gui.C: out character
11880 * lyx_gui_misc.C: out character
11881 * bufferview_funcs.C: : out character,
11882 added toggleall as parameter in ToggleAndShow
11884 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
11886 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11888 * text2.C (SetCurrentFont): Disable number property at boundary.
11890 2001-02-26 Juergen Vigna <jug@sad.it>
11892 * lyxfunc.C (getStatus): added a string argument override function so
11893 that this is correctly called from LyXFunc::Dispatch if it contains a
11894 do_not_use_argument which is used!
11895 (Dispatch): added check for "custom" export and call appropriate func.
11897 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
11899 * lyxrc.C: Add language_command_local, language_use_babel and
11900 language_global_options.
11902 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11904 * buffer.C (makeLaTeXFile): Use language_use_babel and
11905 language_global_options.
11907 2001-02-23 Juergen Vigna <jug@sad.it>
11909 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
11910 which works with LyXText and putted it inside BufferView. Here now we
11911 only call for that part the BufferView::Dispatch() function.
11913 * BufferView.C (Dispatch): added.
11915 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
11916 functions which needs to use a LyXText over from LyXFunc.
11917 (MenuInsertLyXFile): added
11918 (getInsetByCode): added
11919 (moveCursorUpdate): added
11920 (static TEXT): added
11922 2001-02-22 Juergen Vigna <jug@sad.it>
11924 * BufferView_pimpl.C (update): call a status update to see if LyXText
11927 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11929 * vc-backend.C (revert): implement for CVS
11930 (getLog): implement for CVS
11932 2001-02-20 Juergen Vigna <jug@sad.it>
11934 * text2.C (ClearSelection): added BufferView param for inset_owner call
11936 * lyxfunc.C (TEXT): added this function and use it instead of
11937 directly owner->view()-text of getLyXText().
11939 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
11941 * src/layout_forms.C: out preamble
11942 * src/layout_forms.h: out preamble
11943 * src/lyx_cb.C: out preamble
11944 * src/lyx_cb.h: out preamble
11945 * src/lyx_gui.C: out preamble
11946 * src/lyx_gui_misc.C: out preamble
11947 * src/lyxfunc.C: connect with guii preamble
11949 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
11951 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11953 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
11955 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11956 whether to run bibtex.
11958 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
11960 * Makefile.am (lyx_SOURCES): Remove BackStack.h
11962 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11964 * Makefile.am (lyx_SOURCES): removed bibforms.h
11966 * vspace.h: doxygen
11968 * text.C (GetVisibleRow): make several local vars const
11970 * tabular.C: small cleanup.
11972 * lyxserver.C (callback): use compare instead of strncmp
11974 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11975 inlines to after class or to paragraph.C
11977 * lyxfont.h: remove friend operator!=
11979 * converter.h: move friend bool operator< to non friend and after
11982 * combox.h: small cleanup
11984 * buffer.h: doxygen, remove unused constructor, move inclas inlies
11985 to inlines after class def.
11987 * buffer.C (pop_tag): use string operations instead of strcmp
11989 * bmtable.c: doxygen, small cleanup
11991 * LaTeX.h: remove friend operator==
11993 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
12005 * BufferView_pimpl.C:
12006 * BufferView.[Ch]: remove cruft
12008 2001-02-14 Juergen Vigna <jug@sad.it>
12010 * lyxfunc.C: removed #if 0 unused code
12012 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12014 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12016 * text2.C (SetSelection): added a BufferView * parameter
12018 2001-02-13 Juergen Vigna <jug@sad.it>
12020 * lyxfunc.C (Dispatch): fixed protected blank problem.
12021 * BufferView2.C (protectedBlank): added LyxText * parameter.
12023 * tabular.C (AppendRow): forgot to set row_info of newly added row.
12024 (AppendColumn): same as above for column_info.
12026 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12027 (moveCursorUpdate): use a LyXText param for support of InsetText.
12029 * BufferView_pimpl.C (doubleClick): added support for InsetText.
12030 (tripleClick): ditto
12032 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12034 * BufferView_pimpl.C (update): added LyXText param to honor insets.
12036 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12038 * text2.C (SetSelection): set correct update status if inset_owner
12039 (ToggleFree): ditto
12041 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
12043 * tabular.C: remove some commented code.
12045 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
12047 * BufferView_pimpl.C: call hideSplash()
12049 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12052 * bibforms.h: remove
12055 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12056 add LFUN_CHILD_CREATE
12058 * counters.h: fix tiny typo
12063 * lyx.C: move splash to frontends/xforms/
12065 * lyx_gui_misc.C: move Include and Bibform to frontends
12067 * lyxvc.h: clarify comment
12069 * vspace.C: tiny housekeeping
12071 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
12073 * text.C (PrepareToPrint): RTL Fix.
12075 * paragraph.C (GetUChar): New method.
12076 (String): Use GetUChar.
12078 * buffer.C (asciiParagraph): Use GetUChar.
12080 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
12082 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12084 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
12087 * buffer.C: rename to getLogName(), handle
12088 build log / latex log nicely
12090 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12093 * MenuBackend.h: remove support for reference menuitem type.
12095 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
12097 * BufferView_pimpl.C: housekeeping
12098 * BufferView_pimpl.h:
12103 * minibuffer.h: move Timeout GUI-I
12105 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
12107 * lyxrc.C (read): Update converters data-structures.
12109 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
12111 * LaTeX.h (operator!=): add operator != for Aux_Info
12113 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
12115 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12117 * LaTeXLog.C: deleted, useful code moved to Buffer
12120 * buffer.C: new function getLatexLogName()
12126 * lyxfunc.C: use frontends for LaTeX and VC logs
12128 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12130 * LaTeX.h: yet another std:: that Allan forgot.
12132 * Variables.C (set): renamed from isset(), because this clashes
12133 with some HP-UX macros (grr).
12135 2001-02-06 Allan Rae <rae@lyx.org>
12137 * LaTeX.h: Another bug fix. Missing std:: this time.
12139 2001-02-04 Allan Rae <rae@lyx.org>
12141 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12142 floats problem. I've left it commented out because it's not quite
12143 correct. It should also test that the current object is a table or
12144 figure inset. But I haven't gotten around to figuring out how to do
12145 that. I *think* it'll be something like: "table" == inset.type()
12147 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12150 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
12152 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12153 all the citation/databases/styles in the auxilary file.
12154 (run): Rerun latex if there was a babel language error.
12156 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
12158 * text.C (Backspace): Preserve the font when changing newline char
12160 (BreakParagraph): If the cursor is before a space, delete the space.
12162 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12164 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
12166 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12167 new argument (code).
12168 (ChangeCitationsIfUnique): New method.
12170 * paragraph.C (GetPositionOfInset): Handle bibkey.
12172 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12174 * BufferView_pimpl.h: change type of Position::par_pos to
12175 LyXParagraph::size_type.
12177 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
12179 * BufferView_pimpl.C (savePosition, restorePosition): Write
12180 messages to minibuffer.
12182 2001-01-28 José Matos <jamatos@fep.up.pt>
12184 * buffer.C (makeDocBookFile): adds support for document language.
12185 A silly restriction on the name of LatexCommand types where removed.
12186 Added support for CDATA sections, allows to chars unescaped, used
12187 among others in code, to avoid escape < and >.
12189 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12191 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12192 saved positions instrad of a stack. Furthermore, a position is
12193 stored using paragraph id/paragraph position.
12195 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12196 Remove LFUN_REF_BACK.
12198 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12200 * converter.C (dvipdfm_options): New method.
12202 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
12204 * vspace.C (isValidLength): Fix for empty input string.
12206 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12208 * LyXAction.C (init): change description of LFUN_FIGURE to
12211 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12213 * LaTeX.C: add using directive
12215 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12217 * MenuBackend.C (expand): Fix the sorting of the formats.
12219 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
12221 * lyx_main.C: tiny error message fix
12223 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12225 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12226 calling fl_initialize(). This fixes the problem with ',' as
12227 decimal separator in text files.
12229 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12231 * trans.C (process): Fix the keymap bug.
12233 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
12235 * LaTeX.C (scanAuxFiles): New method. Provides support for
12236 multiple bibliographies (when using the bibtopic/bibunits pacakges).
12237 (scanLogFile) Scan for "run BibTeX" messages.
12239 * buffer.C (makeLaTeXFile): Do not load the ae package when using
12240 OT1 font encoding. Also, load the aecompl package if the ae
12243 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12245 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12247 * texrow.C (increasePos): turn two error messages into debug
12250 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
12252 * LaTeX.C (scanAux): Handle the \@input macro.
12253 (runBibTeX): Use scanAux().
12255 * language.C (latex_options_): New field.
12257 * LaTeXFeatures.C (getMacros): Add language macros.
12259 * buffer.C (makeLaTeXFile): Small fix.
12261 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12263 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12265 * text2.C: add a using directive.
12267 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
12272 * lyxfunc.C: kill LyXBell.
12274 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
12276 * text.C (IsBoundary): Remove the error message
12278 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
12280 * lyxrc.C (setDefaults): Correct initialization value for
12283 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
12285 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
12288 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
12289 and GotoNextNote().
12291 * src/LyXAction.C: Added reference-next.
12293 * text.C (InsertChar): Use contains instead of strchr.
12295 * lyx_cb.C (MenuInsertLabel): Enable default value code.
12297 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
12299 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
12300 alignment commands (when needed).
12302 * text.C (InsertChar): Add ':' to number separator chars.