1 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
4 * BufferView.C: remove active() and belowMouse()
7 * BufferView_pimpl.C: use workarea() not workarea_,
8 and make it use a scoped_ptr instead
10 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12 * lyx_gui.C: add debug message on BadWindow
14 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16 * sp_spell.C: fdopen is not part of the C++ standard.
18 * paragraph.C (InsetIterator): use >= instead of ==
20 2002-06-07 Angus Leeming <leeming@lyx.org>
22 Fixes needed to compile with Compaq cxx 6.5.
35 all c-library variables have been moved into namespace std. Wrap
36 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
41 Add a using std::abs declaration.
43 * kbmap.h (modifier_pair):
44 * paragraph.h (InsetTable, InsetList):
45 * lyxfont.h (FontBits):
46 type definition made public.
48 * bufferlist.C (emergencyWriteAll): the compiler complains that
49 there is more than one possible lyx::class_fun template to choose from.
50 I re-named the void specialisation as lyx::void_class_fun.
52 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
54 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
55 the compiler is is unable to find tostr in write_attribute.
57 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
59 * buffer.C (sgmlError): hide #warning
61 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
63 * xtl/*: get rid of xtl, which is not in use anyway
66 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
67 were unimplemented xtl experimentation
69 2002-06-04 André Pönitz <poenitz@gmx.net>
71 * lyxfunc.C: disable array operation on simple formulae
73 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
75 * converter.C: constify a bit
77 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
79 * lyx_gui.C: check xforms version correctly
81 2002-04-30 Herbert Voss <voss@lyx.org>
83 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
86 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
88 * lyxvc.C: fix bug 416 (make sure buffer is saved before
89 attempt to register it with a VCS)
91 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
93 * lyx_main.C (init): honor variables LYX_DIR_13x and
96 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
100 * lyx_main.C: fix a crash on bad command line,
101 and give a useful exit status on error
103 * lyxfunc.C (doImport): allow -i lyx to work
105 2002-03-30 André Pönitz <poenitz@gmx.net>
107 * lyxfunc.C: mathed font changes
109 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
124 * trans_mgr.h: srcdocs, and some minor cleanups
126 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
128 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
129 call getFont all the time)
131 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
133 * switch from SigC signals to boost::signals
135 2002-05-29 André Pönitz <poenitz@gmx.net>
137 * paragraph_pimpl.C (getChar): don't call size() too often...
139 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
141 * paragraph_pimpl.C (insertChar): do not try to update tables when
142 appending (pos == size())
144 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
145 in order to reduce drastically the number of comparisons needed to
146 parse a large document
148 2002-05-29 André Pönitz <poenitz@gmx.net>
154 * textclasslist.[Ch]:
155 * sp_ispell.h: whitespace change
157 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
159 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
160 lyxaction directly now.
162 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
166 * lyxvc.C: remove unused headers
168 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
175 * undo_funcs.C: some cleanups. Use shared_ptr
176 and a template for the undo stacks.
178 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
180 * BufferView_pimpl.h:
181 * BufferView_pimpl.C:
188 * text2.C: use key_state/mouse_state
190 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
192 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
195 * chset.C: change include order
196 (loadFile): use boost regex and get rid of LRegex and LSubstring
198 * Makefile.am (BOOST_LIBS): new variable
201 * LaTeX.C: change include order.
202 (scanAuxFile): use boost regex and get rid of LRegex and
206 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
211 * FontInfo.C: moved to frontends/xforms/
214 * FontLoader.C: moved into frontends for GUIIzation
219 * lyxfunc.C: changes from above
221 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
223 * LColor.C: remove spurious X include
225 * BufferView_pimpl.C:
230 * text2.C: move font metrics to frontends/
232 2002-05-24 Juergen Vigna <jug@sad.it>
234 * undo_funcs.C (textHandleUndo): fix the cursor selection after
235 setting the undo_cursor.
237 * ParagraphParameters.h: include local includes first.
239 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
241 * BufferView_pimpl.C:
242 * BufferView_pimpl.h:
246 * screen.C: move WorkArea into frontends/
252 * BufferView2.C: move LyXScreen into frontends/
256 * lyx_gui.C: move lyxlookup into frontends/xforms/
258 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
261 * BufferView_pimpl.C:
271 * bufferview_funcs.C:
284 * vc-backend.C: move LyX/XFormsView into frontends/
286 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
298 * text2.C: move Painter to frontends/
300 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
302 * buffer.C: comment out some some code that depend upon lyx_format
305 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
306 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
308 * buffer.h (NO_COMPABILITY): turn off compability
310 * ColorHandler.C: include scoped_array.hpp
312 * font.C: Use more specific smart_ptr header.
315 * ShareContainer.h: ditto
319 * BufferView_pimpl.h: ditto
320 * ColorHandler.h: ditto
322 * kbmap.C (defkey): change call to shared_ptr::reset
324 2002-05-21 Juergen Vigna <jug@sad.it>
326 * buffer.C (insertErtContents): fix to insert ert asis if it is
327 non empty. Skip it completely if it contains only whitespaces.
329 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
331 * BufferView_pimpl.C:
332 * BufferView2.C: clear selection on paste (bug 393)
334 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
336 * DepTable.C: include ctime
338 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
340 * buffer.C (latexParagraphs): Add new argument (moving_arg).
342 2002-05-14 Juergen Vigna <jug@sad.it>
344 * text.C (breakParagraph): fixed function to honor the keepempty
345 layout in the right maner and also to permit the right breaking
346 algorithm on empty or non empyt keepempty paragraphs.
348 * paragraph.C (breakParagraph): we have to check also if the par
349 is really empty (!size()) for isempty otherwise we do the wrong
352 2002-05-10 Juergen Vigna <jug@sad.it>
354 * buffer.[Ch] : The following are only changes to the ert
355 compatibility read reading old LaTeX layout and font stuff and
356 convert it to ERTInsets.
358 * buffer.h: added isErtInset().
360 * buffer.C (struct ErtComp): add a fromlayout bool to check
361 if we're inside a LaTeX layout.
362 (isErtInset): new helper function.
363 (insertErtContents): look for other ert insets before this one
364 and insert the contents there, so that we don't have subsequent
365 ERT insets with nothing between them. This way we create only one
366 inset with multiple paragraphs. Also check if we don't insert only
367 spaces ' ' as they are ignored anyway afterwards in the .tex file
368 so if we have only spaces we will ignore this latex part in the
370 (parseSingleLyXformat2Token \\layout): better compatibility when
371 reading layout-latex stuff.
372 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
374 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
375 stuff after reading the inset only get the information back from
378 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
380 * buffer.C (makeLaTeXFile): Put language options after loading babel.
382 * LaTeXFeatures.C (getBabelOptions): New method.
384 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
386 * BufferView_pimpl.C (Dispatch): work around missing argument for
389 2002-05-08 Juergen Vigna <jug@sad.it>
391 * text.C (leftMargin): handle paragraph leftindent.
393 * paragraph.C (writeFile): write the new \\leftindent tag.
394 (validate): handle leftindent code.
395 (TeXEnvironment): handle paragraphleftindent code again.
397 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
399 * buffer.C (parseSingleLyXformat2Token): added compatibility code
400 for paragrap_extra indent code and new token \\leftindent.
401 (latexParagraphs): handle the leftindent as environment.
403 * ParameterStruct.h: added leftindent support.
405 * ParagraphParameters.C (leftIndent): added support functions for
406 the paragraph left indent.
408 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
411 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
413 * paragraph.C (isRightToLeftPar): Return false for a paragraph
416 * text.C (computeBidiTables): No bidi in insetERT.
418 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
421 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
423 * version.C.in: pre 5
425 2002-05-02 José Matos <jamatos@fep.up.pt>
426 * buffer.C (makeDocBookFile): white space changes, add newline to
428 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
430 * tabular.C (docBook): fix typo.
432 2002-05-03 Juergen Vigna <jug@sad.it>
434 * screen.C (drawFromTo): recalculate the rowpointer if we had a
435 change in LyXText as we can not be sure it was not freed.
436 (drawOneRow): remove unused code.
438 * text.C (drawInset): redo the calculation of the need_break_row as
439 it could have a row which was already freed.
440 (draw): look at the return value of drawInset and return false if
441 it also returned false.
442 (paintRowText): look at the return value of draw and return false if
443 it also returned false.
445 * lyxtext.h: added bool return type to drawInset() and draw() so that
446 if we have a change in the row so that the rowbreak has to be redone
447 we abort drawing as it will be called again.
449 2002-05-02 Juergen Vigna <jug@sad.it>
451 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
452 a change in the maintext also if we're inside an inset.
453 (Dispatch): set the cursor again after a break line and after the
454 screen has been updated as it could be we're in a different row.
456 * text2.C (fixCursorAfterDelete): check to make sure we don't request
457 to set the cursor behind the pargraph with > size().
458 (setCursor): check also for the same paragraph when checking where
459 to put the cursor if we have a NFR inset.
461 * buffer.C (parseSingleLyXformat2Token): move the compatibility
462 parts of layout read further up as it still was in the wrong
465 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
467 * screen.C (drawFromTo): change sine fullRebreak always return
470 * buffer.C (parseSingleLyXformat2Token): reindent some
472 * BufferView_pimpl.C (update): change since fullRebreak always
474 (Dispatch): git rid of the last hardcoded "Standard"s.
476 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
478 * text2.[Ch] (fullRebreak): make it return void now that we always
481 2002-04-30 Juergen Vigna <jug@sad.it>
483 * buffer.C (parseSingleLyXformat2Token): reset the font before the
484 ert compatibility check for "latex" layout.
486 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
488 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
489 minipages: use col% instead of p%, and also use the current font.
490 (makeLaTeXFile): Fix use babel condition.
491 (parseSingleLyXformat2Token): Correct font when reading old floats.
493 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
495 * BufferView_pimpl.C (Dispatch): Check that float type exists when
496 inserting list of floats.
498 2002-04-25 Herbert Voss <voss@lyx.org>
500 * MenuBackend.C (expand): don't add the graphics extensions to the
503 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
505 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
506 non-existing layout, do not complain if it was the default layout
507 of the original class (bug #342)
509 2002-04-24 Juergen Vigna <jug@sad.it>
511 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
512 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
514 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
516 * buffer.C (getBibkeyList): If using \bibliography, return the
517 option field with the reference itself. Enables us to provide natbib
518 support when using \bibliography.
520 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
522 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
524 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
525 natbib is provided by the LaTeX class.
527 2002-04-23 Juergen Vigna <jug@sad.it>
529 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
532 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
534 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
536 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
538 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
539 ensuremath around textordmasculine, textordfeminine and
542 2002-04-19 Juergen Vigna <jug@sad.it>
544 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
545 reinitializing the buffer otherwise row-dimensions may be wrong.
546 (update): reset also the selection cursors if they do exits otherwise
547 their x/y positions may be wrong.
549 * text2.C (cursorDown): don't enter the inset if we came from a row
550 above and are one row over the inset.
552 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
553 really leaving an inset.
555 2002-04-18 Juergen Vigna <jug@sad.it>
557 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
558 of the selected paragraph does not have the selected layout also if
561 * text2.C (setLayout): fixed bug which did not change last selected
564 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
565 changed the read and substituted \\end_float with \\end_inset!
567 * BufferView_pimpl.C (cursorPrevious):
568 (cursorNext): fixed to make it work with rows heigher than the work
569 area without moving the cursor only the draw of the row.
570 (workAreaMotionNotify): fix jumping over high rows.
572 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
574 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
577 2002-04-16 Juergen Vigna <jug@sad.it>
579 * text2.C (setCursor): set also the irow().
580 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
582 (cursorDown): support for locking an inset if the x_fix value goes
583 inside it. That way I can transverse insets too with cursor up/down.
585 * lyxrow.h: added irow helper function same as other (i) functions.
587 * BufferView_pimpl.C (cursorPrevious):
588 (cursorNext): fixed for insets!
590 2002-04-15 Juergen Vigna <jug@sad.it>
592 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
593 position otherwise it is wrong in some cases.
595 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
596 inside the inset before the call.
598 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
600 * buffer.[Ch] (getBibkeyList): make it const.
602 2002-04-12 Juergen Vigna <jug@sad.it>
604 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
606 * text2.C (getCursorX): new helper function
607 (setCursor): compute also ix_
608 (setCursorFromCoordinates): set also ix.
610 * lyxcursor.h: added ix_ and helper functions.
612 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
614 * buffer.C (insertStringAsLines): dont break paragraph if the this
615 paragraph is inside an inset which does not permit it!
617 * text.C (breakParagraph): honor keepempty flag and break the paragraph
618 also with no chars on this paragraph.
619 (paintRowText): only paint stuff if it's inside the workarea!
621 * paragraph.C (breakParagraph): honor keepempty flag and break the
622 paragraph always below not above.
624 * BufferView2.C (unlockInset): update the paragraph layout on inset
625 unlock as we changed paragraph in such a case.
627 * lyxfind.C (LyXFind): clear the former selection if not found!
629 * text2.C (insertInset): freeze Undo after setUndo so that it is not
630 again called in insertChar().
632 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
633 an inset which uses the whole row!
634 (rightMargin): ditto.
635 (insertChar): force a rebreak if we inserted an inset!
637 2002-03-28 Herbert Voss <voss@lyx.org>
639 * lyxlength.[Ch]: add inBP() to get the right PS-point
640 units (BigPoint). With inPixels we have rounding errors
642 2002-04-11 Juergen Vigna <jug@sad.it>
644 * text2.C (setCursorFromCoordinates): set iy to the right value.
645 (setCursor): add check if row->previous exists!
647 * buffer.C (parseSingleLyXformat2Token): reset font after read of
648 an old float_type as this was the case in the old code!
650 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
652 * BufferView2.C (showLockedInsetCursor): use iy
653 (fitLockedInsetCursor): ditto
655 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
656 locked insets as there we have the right value now.
658 * lyxcursor.C: added iy_ variable and iy functions to set to the
659 baseline of cursor-y of the locked inset.
661 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
662 (setCursor): fixed for insets which need a full row.
664 * text.C (rowLastPrintable): don't ignore the last space when before
665 an inset which needs a full row.
666 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
667 as last character of a row when before a inset which needs a full row.
669 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
671 * version.C.in: update date
673 * text2.C (fullRebreak): try to always return true and see what
676 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
678 * MenuBackend.C (expand): use Floating::listName
680 * FloatList.C (FloatList): add listName argument to the built-in
683 * Floating.[Ch]: add listName member, which is the 'List of XXX'
684 text associated with the float.
686 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
688 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
690 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
692 * ShareContainer.h: add a couple of missing typenames.
694 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
696 * lyxrc.C (getDescription): use _() correctly rather than N_().
698 2002-03-28 Herbert Voss <voss@lyx.org>
700 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
701 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
703 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
705 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
706 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
708 2002-03-29 Juergen Vigna <jug@sad.it>
710 * lyxfunc.C (dispatch): add a missing fitCursor call.
712 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
713 it was scrolled by a cursor move, so return the bool status.
715 * BufferView.C (fitCursor): return the bool flag also to the outside
716 world as this is needed.
718 * screen.C (toggleToggle): don't subtract the offset if it's positive.
720 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
721 call the edit() as it is not needed (and wrong) IMO.
722 (workAreaButtonPress): set the screen_first variable before evt.
723 unlock the inset as this may change screen_first and then we have
724 a wrong y position for the click!
726 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
728 * MenuBackend.C (expand): another translation that I missed
730 2002-03-28 Juergen Vigna <jug@sad.it>
732 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
734 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
736 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
738 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
740 * MenuBackend.C (expand): fix export/view/update when there is no
743 2002-03-27 Herbert Voss <voss@lyx.org>
745 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
748 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
750 * bufferview_funcs.C (currentState): only show paragraph number
751 for is DEVEL_VERSION is set.
753 * lyxfunc.C (dispatch): put warning in INFO channel
755 * MenuBackend.C (expand): translate the name of floats
757 * FloatList.C (FloatList): mark the float names for translation
759 * converter.C (convert): use LibScriptSearch
761 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
763 * MenuBackend.C (defaults): fix default menu (we might as well get
766 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
768 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
771 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
773 * lyxvc.C: reorder includes.
775 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
777 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
780 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
782 * CutAndPaste.C: change layouts earlier on paste
783 to avoid crashing when calling getFont()
785 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
787 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
790 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
792 * WorkArea.C: remove 'Pending' debug message.
794 * most files: ws cleanup
796 * buffer.[Ch]: ws changes
798 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
800 2002-03-21 Juergen Vigna <jug@sad.it>
802 * tabular.C (SetMultiColumn): collapse also the contents of the
803 cells and set the last border right. Added a Buffer const * param.
805 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
807 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
810 2002-03-19 Juergen Vigna <jug@sad.it>
812 * text2.C (clearSelection): reset also xsel_cache.
814 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
815 where it needs to be called (John tells us to do so too :)
816 (selectionLost): reset sel_cache.
818 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
820 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
822 * text2.C (setCursorIntern): put debuging code in INSETS channel
824 2002-03-19 André Pönitz <poenitz@gmx.net>
826 * lyxfunc.C: tiny whitespace change
828 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
830 * ToolbarDefaults.C (init):
831 * LyXAction.C (init):
833 * BufferView_pimpl.C (Dispatch):
834 * lyxfunc.C (dispatch): remove LFUN_DEPTH
836 2002-03-19 Allan Rae <rae@lyx.org>
838 * exporter.C (Export): removeAutoInsets before doing anything else.
839 While I've just introduced a dependency on BufferView this really is
840 the best place to clean the buffer otherwise you need to cleanup in
841 a dozen places before calling export or cleanup in a dozen functions
844 * converter.C (runLaTeX):
845 (scanLog): Better handling of removeAutoInsets and screen updates.
847 * lyxfunc.C (dispatch): small whitespace changes
849 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
851 * WorkArea.C (C_WorkAreaEvent): return a value.
852 (event_cb): return 1 if we handled the event, 0 otherwise.
854 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
856 2002-03-18 Juergen Vigna <jug@sad.it>
858 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
859 (GetAdditionalWidth): ditto.
863 * BufferView2.C (copy): use getLyXText() so that we do it inside an
864 inset if we're there actually (probably not used right now but this
865 is the direction to go for unifying code).
866 (paste): disable code to clear the selection.
868 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
869 inside an InsetText and move the check further up as it is in the
872 * text2.C (pasteSelection): set a selection over the pasted text.
874 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
876 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
877 and libgraphics to build on Cygwin.
879 2002-03-15 Juergen Vigna <jug@sad.it>
881 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
882 inserting an Inset into the paragraph. I know this is not the best
883 fix but we already use current_view in CutAndPaste so we will remove
884 all of it's using at the same time.
886 * buffer.C (sgmlError): deactivated function till it is rewritten in
887 the right mode, now it can create problems.
889 * paragraph.C (isLineSeparator): check if getInset returns != 0,
892 2002-03-14 Juergen Vigna <jug@sad.it>
894 * undo_funcs.C (textHandleUndo): do the right thing when updating
895 the inset after the undo/redo.
897 * text2.C (setCursor): just some testcode for #44 not ready yet.
899 * undo_funcs.C (textHandleUndo): set the next() and previous()
900 pointers of the paragraph to 0 before deleting otherwise we have
901 problems with the Paragraph::[destructor].
903 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
904 on a paragraph insertion.
906 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
908 * buffer.C (asciiParagraph): use += operator for char append to
911 * paragraph.C (getFontSettings): compare >= not just >
912 (highestFontInRange): ditto
915 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
917 * paragraph.C: change several algorithm to be more appripriate for
918 the problem domain. This is lookip in FontList and in the InsetList.
920 2002-03-13 André Pönitz <poenitz@gmx.net>
923 * LyXAction.C: remove unused LFUN_MATH_MACROARG
925 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
930 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
932 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
934 * Painter.C (display): anon helper function, adjust code for this
936 (pixmap): remove function.
938 * Painter.h: remove private display variable.
940 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
942 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
944 * WorkArea.[Ch]: remove figinset_canvas cruft.
946 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
948 * lyxtextclass.C (operator): add one item cache optimization.
950 * bufferlist.h: doxy changes
952 * bufferlist.C: ws changes
954 * DepTable.[Ch] (ext_exist): place const in the right spot.
956 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
958 (workAreaExpose): call resizeInsets when the with BufferView changes.
959 (Dispatch): adjust for protectedBlank removal
960 (specialChar): call updateInset if the insert went ok.
962 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
965 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
967 * BufferView.h: doxy change
969 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
971 * lyxtextclass.C (operator[]): remove non-const version
972 (defaultLayout): remove non-const version
974 2002-03-12 Juergen Vigna <jug@sad.it>
976 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
977 did resize the LyXText too.
979 * buffer.C (readLyXformat2): set layout information on newly allocated
982 * tabular.C (OldFormatRead): set layout information on the paragraph.
984 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
986 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
988 2002-03-11 Juergen Vigna <jug@sad.it>
990 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
992 (resizeCurrentBuffer): force also the insets to resize themselfes.
993 (moveCursorUpdate): fixed up for InsetText.
995 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
998 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
999 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
1000 value of Dialogs::tooltipsEnabled().
1001 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
1003 2002-03-08 Juergen Vigna <jug@sad.it>
1005 * BufferView_pimpl.C (updateInset): update inset inside inset also
1006 if it isn't inside theLockingInset().
1008 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
1010 * buffer.C (asciiParagraph): redo some of the word and line length
1012 (getLists): look for Caption instead of caption.
1014 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1016 * buffer.C (Buffer): initialize niceFile to true
1019 (makeDocBookFile): make sure niceFile is true on exit
1021 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1023 * buffer.C (makeLaTeXFile): escape ~ in \input@path
1025 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1027 * LyXSendto.C: remove.
1028 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
1029 * lyx_gui.C: remove now-redundant comment.
1030 * ColorHandler.h: remove forward declaration of class WorkArea.
1031 * lyxfunc.C: remove #include "WorkArea.h".
1033 2002-03-07 Juergen Vigna <jug@sad.it>
1035 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
1036 got moved away with the DEPM and also set the inset_owner always
1037 right which before could have been omitted.
1039 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
1041 * buffer.C (parseSingleLyXformat2Token): use default layout is the
1042 wanted layout is not found.
1044 2002-03-07 Juergen Vigna <jug@sad.it>
1046 * CutAndPaste.C (cutSelection): another layout settings forgotten.
1048 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
1050 * paragraph.C (breakParagraph): use default layout not layout of
1052 (Paragraph): clear ParagraphParameters.
1054 2002-03-06 Juergen Vigna <jug@sad.it>
1056 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
1057 otherwise it would not be a valid lenght. Fixed a special case in
1058 the minipage compatibility read where we end the document with a
1061 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
1062 was set as it could be 0 for InsetTexts first entry.
1064 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1066 * paragraph.C (writeFile): if layout is empty write out
1067 defaultLayoutName().
1069 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
1070 file without named layout we set layout to defaultLayoutName().
1072 2002-03-06 Juergen Vigna <jug@sad.it>
1074 * CutAndPaste.C (copySelection): set layout for new paragraph.
1076 * text.C (prepareToPrint): leave ERT inset left aligned
1077 (leftMargin): don't indent paragraphs inside ERT insets
1079 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1081 * paragraph.C (breakParagraph): dont call clear do the work manually
1083 * paragraph.[Ch] (clear): remove function
1085 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1087 * paragraph.C (Paragraph): dont call clear, the work has already
1090 * lyxtextclass.C (operator): assert if n is empty
1092 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
1093 work manually instead.
1095 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
1097 * BufferView_pimpl.C: protect selectionLost against text == 0
1099 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1101 * text.C (breakParagraph): fix a setting layout to '0' problem.
1103 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
1105 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
1106 final location of file, for the included files, and graphics.
1108 2002-03-05 Juergen Vigna <jug@sad.it>
1110 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
1112 2002-03-04 Juergen Vigna <jug@sad.it>
1114 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
1116 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
1117 last column of multicolumn cells.
1118 (SetWidthOfMulticolCell): recalculate NMC and real columns.
1120 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
1122 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
1123 file if it doesn't go to a temporary file.
1125 * buffer.C (sgmlOpenTag):
1126 (sgmlCloseTag): remove extra newline insertion.
1128 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1130 * text.C (getRowNearY): comment out debug msg
1132 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1134 * text2.C: first -> first_y
1136 * text.C (getRowNearY): add some attemts at a possible
1137 optimization, not working.
1139 * tabular.[Ch]: add BufferParams to several function so that newly
1140 created paragraph can be initialized to he default layotu for the
1143 * tabular-old.C (ReadOld): add buf->params to call of Init
1145 * screen.C: rename text->first to text->first_y
1147 * paragraph.C (breakParagraph): always set layout in the broken
1150 * lyxtextclass.C (Read): remove lowercase
1153 (delete_layout): ditto
1155 * lyxtext.h: rename first -> first_y
1157 * lyxlayout.C (Read): remove lowercase
1160 (obsoleted_by): ditto
1162 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
1164 * buffer.C (insertErtContents): add params are to InsetERT
1165 (parseSingleLyXformat2Token): add code to check if a paragraphs
1166 layout really exist.
1167 (parseSingleLyXformat2Token): add params to several inset
1169 (asciiParagraph): remove lowercase, do the layout comparisons with
1172 * BufferView_pimpl.C (cursorNext): first -> first_y
1173 (resizeCurrentBuffer): first -> first_y
1174 (updateScrollbar): first -> first_y
1175 (scrollCB): first -> first_y
1176 (workAreaMotionNotify): first -> first_y
1177 (workAreaButtonPress): first -> first_y
1178 (checkInsetHit): first -> first_y
1179 (cursorPrevious): first -> first_y
1180 (cursorNext): first -> first_y
1181 (Dispatch): add buffer_->params to severl inset contructors
1183 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
1185 * lyxlayout.C (Read): remove some debug info that I forgot.
1187 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
1188 clean up the code slightly.
1189 (makeLinuxDocFile): ditto
1190 (makeDocBookFile): ditto
1192 * text2.C: layout as string
1194 * text.C: layout as string
1196 * paragraph_pimpl.C: layout as string
1198 * paragraph.[Ch]: layout as string
1200 * lyxtextclasslist.[Ch]: layout as string
1202 * lyxtextclass.[Ch]: layout as string
1204 * lyxtext.h: layout as string
1206 * lyxlayout.[Ch]: layout as string
1208 * lyx_cb.C: layout as string
1210 * bufferview_funcs.C: layout as string
1212 * bufferparams.C: layout as string
1214 * buffer.C: layout as string
1216 * LyXView.[Ch]: layout as string
1218 * LaTeXFeatures.[Ch]: layout as string
1220 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
1222 * BufferView_pimpl.C: change current_layout to string, remove
1227 (workAreaButtonRelease): layout as string
1229 * BufferView2.C (unlockInset): adjust
1231 * vspace.C (asLatexCommand): use an explict temp variable.
1233 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
1235 * Makefile.am: use FRONTEND_*
1237 2002-03-01 Juergen Vigna <jug@sad.it>
1239 * tabular.C (SetWidthOfMulticolCell): changed to something better
1240 I hope but still work in progress.
1241 (recalculateMulticolumnsOfColumn): renamed function from
1242 recalculateMulticolCells as it is more appropriate now.
1243 (SetWidthOfCell): calculate multicols better.
1245 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1247 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
1249 * lyxfunc.C (processKeySym): print sequence also if it is
1250 `deleted' (complete)
1252 * kbsequence.C (print): print sequence even if it is deleted
1253 (complete would be a better word, actually).
1255 * lyxfunc.C (dispatch): print complete options after a prefix key
1257 * vspace.C (asLatexCommand): rewrite in a slightly different form.
1259 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
1261 * text2.C (setCharFont): eliminate setCharFont code duplication.
1263 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1265 * BufferView_pimpl.C (Dispatch): remove bogus handling of
1266 LFUN_TABULAR_FEATURE (bug #177)
1268 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
1270 * Makefile.am: remove figure.h
1272 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
1274 * Bufferview_pimpl.C:
1286 * text2.C: remove #include "lyx_gui_misc.h".
1288 * LaTeX.C: added #include <cstdio>
1290 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1292 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
1293 that the paragraph following this one can have.
1295 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
1297 * vspace.C (asLatexCommand): fix bogus gcc warning
1299 * Makefile.am (lyx_SOURCES): remove vms_defines.h
1301 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
1303 * text2.C (setLayout): get rid of redundant code
1305 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
1307 * text2.C (incDepth): make sure depth cannot be increased beyond
1310 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
1312 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
1313 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
1315 * PainterBase.h (image):
1316 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
1319 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
1323 * BufferView_pimpl.C:
1324 * BufferView_pimpl.h:
1344 * sp_spell.C: remove fig inset, and the crap house of
1345 cards that follows it
1347 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
1353 * nt_defines.h: move .h into support/
1355 * vms_defines.h: remove
1357 * WorkArea.C: add space in debug output
1361 * buffer.C: add WITH_WARNINGS
1365 * bufferlist.C: s/retrive/retrieve/, add docs
1376 * lyxgui.C: add ID to X error handler
1378 * lyxtestclass.c: fix typo
1380 2002-02-26 Juergen Vigna <jug@sad.it>
1382 * tabular_funcs.C (write_attribute): changed so that some default
1383 attributes are not written at all.
1384 (getTokenValue): set default values before trying to read the
1385 value so we have the return value always set as default if we don't
1386 find the token we search for.
1388 * tabular.C (Write): write bools as bools not as strings!
1390 2002-02-22 Juergen Vigna <jug@sad.it>
1392 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
1393 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
1395 * text.C (leftMargin): don't add an indent for paragraphs inside
1396 tabular cells (fix #208).
1398 2002-02-21 José Matos <jamatos@fep.up.pt>
1400 * tabular.C (docBook): fixed support for long tables.
1402 2002-02-20 Juergen Vigna <jug@sad.it>
1404 * text2.C (getFont): get the drawing font of the Inset if this
1405 paragraph is inside an inset (only important for InsetERT for now).
1407 * buffer.C (insertErtContents): use new lanugage params in ERT
1410 * CutAndPaste.C: commenting out seemingly uneeded code.
1412 2002-02-19 Allan Rae <rae@lyx.org>
1414 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
1415 Iterators might be simple to use but they also get invalidated.
1416 (removeAutoInsets): renamed saved cursor tracking variables and added
1417 some comments to clarify what everything does.
1419 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
1426 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
1427 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
1430 * vc-backend.h: remove #include "support/syscall.h"
1434 * converter.C: rearrange #includes in Lars' approved fashion.
1436 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
1437 forward declare class Timeout in the header file.
1439 * XFormsView.C: changes due to the above.
1441 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
1444 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
1445 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
1447 2002-02-18 José Matos <jamatos@fep.up.pt>
1449 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
1452 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
1454 * a lot of small ws changes
1455 * add a lot of using std::XXX
1456 * use std construcs some places where approp.
1457 * use some exisint stuff from lyxfunctional where approp.
1458 * Make file changes to use partial linking (lets test this now...)
1460 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
1464 remove #include "support/syscontr.h" as it's redundant. Always has been.
1472 change Systemcalls::System to Systemcalls::Wait and
1473 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
1474 No change of functionality, just reflects the stripped down Systemcalls
1477 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
1479 * debug.[Ch]: add a GRAPHICS type to the enum.
1481 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1483 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
1485 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
1488 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1490 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
1491 match the changes below.
1493 * text2.C (toggleInset): if there is not editable inset at cursor
1494 position, try to see if cursor is _inside_ a collapsable inset
1497 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1499 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
1500 document menu has a nice checkbox
1502 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1504 * lyxlength.C (asLatexString): change PW to output as percent of
1507 * lengthcommon.C: change '%' to 't%'
1509 * lyxfunc.C (dispatch): a few comments from Martin
1511 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
1515 * BufferView_pimpl.h:
1516 * BufferView_pimpl.C: clear our selection when X tells us we've lost
1519 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1521 * vspace.C (inPixels): fix compiler warning
1523 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1525 * lyxfunc.C (getStatus): fix status message for disabled commands.
1527 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
1529 * BufferView_pimpl.C: fix crash on close buffer
1530 during selection (#227)
1532 2002-01-27 Herbert Voss <voss@lyx.org>
1534 * buffer.C: link old Figure to new graphic inset
1536 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
1538 * FontLoader.C (getFontinfo): Change the latex font names in order
1539 to match the names of type1inst.
1541 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1543 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
1545 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
1548 (remove_files_with_extension): ditto
1549 (remove_file): ditto
1552 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
1553 document is smaller than the work area height. Do not initialize
1554 static variables to 0.
1556 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1558 * lyx_gui.C (init): give the toolbar tooltips a normal font.
1560 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
1561 LFUN_LAYOUT_PARAGRAPHS.
1563 * tabular.C (GetCellFromInset): new method. Finds an inset in a
1564 tabular. It is possible to provide a possible cell, which will
1565 typically be the actcell from the corresponding insettabular
1567 * lyxfunc.C (getStatus): small cleanup; disable
1568 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
1571 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1573 * tabular.C (Validate): remove broken optimization (fixes bug #201)
1575 * paragraph.C (startTeXParParams):
1576 (endTeXParParams): new methods. The LaTeX code to
1577 start/end paragraph formatting
1578 (simpleTeXOnePar): call startTeXParParams also when paragraph is
1579 empty (fixes bug #200)
1581 * vspace.C (inPixels): adapt to the change below
1582 (inPixels): [later] more cleanups (remove unused variables)
1584 * lyxlength.C (inPixels): change to use a width and a height as
1587 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1589 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
1590 Replaced with \paperwidth
1592 * DepTable.C (insert): add std:: qualifier
1594 2002-01-18 Allan Rae <rae@lyx.org>
1596 * text2.C (removeRow): add comment. Should other refresh_?? vars be
1599 * text.C (drawInset): Turned out I didn't know enough about how
1600 rebreaking worked. This fixes most of the redraw problems. I see
1601 an occasional cursor trail when a line is broken now and the cursor
1602 placement can seem out by a few pixels also after a rebreak.
1604 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1606 * buffer.C (parseSingleLyXformat2Token): update because minipage
1607 width is now a LyXLength
1609 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
1611 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
1614 2002-01-17 Juergen Vigna <jug@sad.it>
1616 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
1618 * BufferView2.C (lockInset): call edit() so that theLockingInset()
1619 is set correctly and the inset is updated correctly.
1621 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1623 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
1624 the beginning of the loop.
1626 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
1628 * lyxrc.C: improve help for use_scalable_fonts
1630 2002-01-17 Allan Rae <rae@lyx.org>
1632 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
1634 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1636 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
1637 make sure to set their inset_owner to the right value (bug #171)
1639 2001-12-12 Ben Stanley <bds02@uow.edu.au>
1642 * DepTable.C: Implement mtime checking to reduce time spent doing
1645 2002-01-16 Juergen Vigna <jug@sad.it>
1647 * tabular.C (GetAdditionalHeight): one of error fixed.
1649 * lyxrc.C (output): small fix in writing use_pspell.
1651 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1653 * sp_base.h: #include LString.h
1655 2002-01-16 Allan Rae <rae@lyx.org>
1657 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
1658 Can someone check this please?
1660 * text.C (drawInset): It was possible that p.row would be removed by
1661 breakAgainOneRow upsetting a few other settings. There may be another
1662 small tweak possible by setting need_break_row = 0 when p.row has been
1663 removed but I don't know enough about the logic here.
1665 2002-01-15 Allan Rae <rae@lyx.org>
1667 * text.C (insertChar): removed conditional truism.
1669 * BufferView2.C (removeAutoInsets): More tweaks.
1670 cur_par_prev could be a stray pointer. Check for trailing empty line
1671 in case last line was cur_par and only had an error inset on it.
1673 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1675 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
1678 * vc-backend.C (most methods):
1679 * exporter.C (Export):
1680 * converter.C (convert):
1682 * LyXSendto.C (SendtoApplyCB):
1683 * lyxfunc.C (dispatch):
1687 * lyx_cb.C (AutoSave):
1689 * BufferView_pimpl.C (MenuInsertLyXFile):
1690 * buffer.C (runChktex): use Buffer::filePath().
1692 * buffer.h: rename filename to filename_; rename filepath to
1693 filepath_ and make it private
1694 (filePath): new method
1696 * buffer.C (writeFile): use fileName()
1699 * lyx_main.C (init): fix starting of LyX when the binary is a
1700 link from so,ewhere else.
1702 * minibuffer.C: include <cctype> for isprint
1704 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1706 * buffer.C (parseSingleLyXformat2Token): changes associated with the
1707 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
1708 name clash with InsetCollapsable's width function.
1710 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
1712 * lastfiles.C: include <iterator>
1714 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1716 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
1719 * buffer.C (makeLaTeXFile): ditto.
1720 Also make loop operation more transparent.
1722 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1724 * ToolbarDefaults.C: remove trailing comma closing namespace.
1726 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
1728 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
1731 * trans.C (Load): comment out unused variable, allowed.
1733 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
1735 * minibuffer.[Ch] (append_char): new method to recieve input from the
1736 drop-down completion browser. If a key was pressed, then recieve this
1737 char and append it to the existing string.
1738 (peek_event): modify the positioning data passed to the completion
1739 browser so that it can be placed above the minibuffer rather than below.
1740 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
1742 * LyXAction.C (init): alloe error-next for readonly documents.
1744 * BufferView2.C (ChangeRefsIfUnique): use standard version of
1747 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1749 * bufferlist.C (readFile): create the buffer _after_ checking that
1752 * lyxfunc.C (verboseDispatch): fix handling of arguments
1754 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
1756 * lyxrc.C: use string::erase() instead of initializing to "".
1759 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
1761 * BufferView_pimpl.h:
1762 * BufferView_pimpl.C:
1765 * text2.C: tell X when we have made a selection for copying
1767 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1769 * BufferView_pimpl.C (MenuInsertLyXFile):
1770 * lyxfunc.C (menuNew):
1772 (doImport): add shortcuts to directory buttons
1774 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
1777 * lyxfunc.C (setStatusMessage):
1778 (getStatusMessage): new methods
1779 (getStatus):use setStatusMessage instead of setErrorMessage
1780 (dispatch): when function is disabled, set error message here
1781 [instead of in getStatus previously]
1783 * BufferView_pimpl.C (workAreaButtonRelease): update
1784 toolbar/menubar here too.
1786 2002-01-13 Allan Rae <rae@lyx.org>
1788 * BufferView2.C (removeAutoInsets): finished off earlier fix.
1789 Now seems indestructible. Remaining task is to audit all other
1790 code affected by deleteEmptyParagraphMechanism. One small quirk
1791 left is that an empty document with an error in the preamble can
1792 be made to report an error but no error box appears. I don't know
1794 (removeAutoInsets): Improved comments.
1796 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
1799 * Thesaurus.C: update for Aiksaurus 0.14
1801 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
1803 * text2.C (firstParagraph): removed member function, all uses
1804 replaces with ownerParagraph
1805 (redoParagraphs): here
1807 (toggleAppendix): here
1808 * BufferView2.C (insertErrors): here
1809 (setCursorFromRow): here
1811 2002-01-13 Allan Rae <rae@lyx.org>
1813 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
1814 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
1815 There is still a way to segfault this although you may have to do this
1816 multiple times: Have an InsetERT with an unknown command in it.
1817 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
1818 <down-arrow>, <Enter> again, View->DVI, BANG!
1820 * text2.C (setCursor):
1821 (deleteEmptyParagraphMechanism):
1822 * lyxtext.h (setCursor):
1823 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
1824 Making use of the return value may help fix other bugs.
1826 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1828 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
1830 * LyXView.C (updateMenubar): call MenuBar::update here
1831 (updateToolbar): but not here
1832 (showState): do not update toolbar/menubar
1834 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
1835 should need to care about that.
1837 * lyxfunc.C (verboseDispatch): simplify a bit
1838 (getStatus): have a version which takes a pseudoaction, and
1839 another which requires a (kb_action,string).
1841 * LyXAction.C (retrieveActionArg): make it work also when action
1842 is not a pseudo-action.
1843 (getActionName): simplify a bit
1846 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1848 * lyxfunc.C (verboseDispatch): new families of methods with
1849 several ways to specify a command and a bool to indicate whether
1850 the command name and shortcut should be displayed in minibuffer
1851 (eventually, we could extend that to a finer bitmask like
1852 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
1853 (dispatch): the pristine dispatch command which just, well,
1854 dispatchs! Note it still sets its result to minibuffer; I'm not
1857 * lyxfunc.h: remove setHintMessage
1859 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
1861 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1863 * BufferView_pimpl.C (specialChar): delete new inset if we have
1864 not been able to insert it.
1866 * kbmap.C: revert to using int instead of kb_action, since all we
1867 are dealing with is pseudo-actions.
1869 * LyXAction.C (searchActionArg): change to return int instead of
1870 kb_action, since the result is a pseudoaction.
1872 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
1874 * buffer.C (insertErtContents): Fix (partially) the font bug.
1876 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
1878 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
1879 as the other one is broken on my machine!
1881 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
1884 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
1886 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
1888 * lyxrc.[Ch]: change names and descriptions of popup font variables to
1889 reflect their actual use. Provide compatibility code for older lyxrc
1892 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
1894 change names of popup font variables in line with the changes to lyxrc.C
1896 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1898 * buffer.C (asciiParagraph): avoid outputing a word twice after
1901 * lyxrc.C (getDescription): document that document_path and
1902 template_path can be empty.
1904 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1906 * LaTeXFeatures.C (getMacros):
1907 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
1909 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
1911 * LaTeXFeatures.C (useFloat): require "float" here instead of in
1913 (getPackages): rename feature "floats" to "float". Use an array to
1914 iterate over 'simple' features (i.e. just a \usepackage). Add
1915 handling of "amsmath" (renamed from "amsstyle").
1917 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
1919 * LaTeXFeatures.C (require): Prevent duplicate entries in the
1922 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
1924 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
1925 FuncStaus::FuncStatus & FuncStaus::some_method().
1927 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
1929 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
1930 of the func_satus stuff. Edited and massaged in various ways by
1933 * lyxfunc.C (getStatus): use FuncStatus
1935 2002-01-08 Juergen Vigna <jug@sad.it>
1937 * text.C (nextBreakPoint): use function Inset::isChar().
1939 * paragraph.C (TeXOnePar): use function
1940 Inset::forceDefaultParagraphs.
1942 * buffer.C (latexParagraphs): use function
1943 Inset::forceDefaultParagraphs.
1945 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
1947 * lyx_gui.C (init): set the style of the menu popups to
1948 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
1950 2002-01-07 Juergen Vigna <jug@sad.it>
1952 * text.C (setHeightOfRow): small fix
1953 (prepareToPrint): don't look at alignment if we don't have the place
1956 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
1958 * box.C: New file. Move the Box methods and functions out of box.h,
1959 following Lars' suggestion.
1961 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
1963 * box.h: #include "support/LOstream.h", needed for inlined function.
1966 * lyxtextclasslist.C: added some using std declarations.
1968 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
1970 * box.h: make signed dimensions to allow insets wider than
1971 the screen (bug #162)
1973 * BufferView_pimpl.C: add some insetHit debug
1975 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
1977 * vc-backend.C: add FIXME
1979 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1981 * lyxfunc.C (getStatus): enable code for showing math font status
1984 2002-01-07 Juergen Vigna <jug@sad.it>
1986 * text.C (nextBreakPoint): removed debug output not needed anymore.
1988 2002-01-06 Juergen Vigna <jug@sad.it>
1990 * text.C (nextBreakPoint): fixed up this function we had this bug
1991 since ever but now hopefully we break row better.
1992 (insertChar): we have to check if an inset is the next char as it
1993 could now happen that a large inset is causing a break.
1995 2002-01-05 Juergen Vigna <jug@sad.it>
1997 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
1998 if it doesn't like to be drawed.
2000 2002-01-04 Juergen Vigna <jug@sad.it>
2002 * BufferView2.C (lockInset): forgot to set a cursor.
2004 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
2006 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
2011 * form_maths_panel.C:
2012 * form_maths_panel.h:
2013 * form_maths_panel.fd: implemented sub- and super- buttons in math
2016 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
2017 (or ^ space) to be used as in TeX (req'd by André).
2019 * lyxfunc.C: Allow ^ and _ again to be used both as
2020 super/subscript (mathed) and as themselves (in text).
2022 2002-01-03 Allan Rae <rae@lyx.org>
2024 * LyXView.C (updateWindowTitle): Setup a short icon title of either
2025 "LyX" or the filename of the current buffer if it has one. This is a
2026 modified form of John Levon's patch.
2028 * XFormsView.C (setWindowTitle): also set icon title.
2030 * LyXView.h (setWindowTitle): signature changed.
2031 * XFormsView.h (setWindowTitle): ditto.
2033 2002-01-02 Juergen Vigna <jug@sad.it>
2035 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
2037 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
2039 * screen.C (topCursorVisible): introduce a temp var for
2040 text->cursor.row(), handle the case where this row is null. (kindo
2043 * text2.C (setCursor): add a couple of asserts.
2045 * paragraph.h (inset_iterator): add -> operator
2047 * paragraph.[Ch] (autoDeleteInsets): remove member function
2049 * BufferView2.C (removeAutoInsets): rewrite to handle the old
2050 cursor pos correctly and handle inset deletion by itself.
2051 (insertErrors): move iterator declaration out of for expression
2053 * lyxtextclass.C: add <algorithm>
2055 * Makefile.am: added the new files to sources, removed layout.C
2057 * layout.C: removed file
2059 * layout.h: remove LYX_DUMMY_LAYOUT
2061 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
2065 * lyxtextclass.[Ch]:
2066 * lyxtextclasslist.[Ch]: new files
2068 * include order changes to a lot of files, also changes because of
2071 2001-12-27 Juergen Vigna <jug@sad.it>
2073 * buffer.C (asciiParagraph): more fixes.
2075 * tabular.C (ascii): make ascii export support export of only the
2076 data separated by a column-delimiter.
2077 (ascii): better support for ascii export.
2079 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
2081 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2083 * tabular_funcs.C: use a "using std::getline" instead of the
2084 previous fix from Angus (necessary for cxx + lyxstring)
2086 2001-12-24 Juergen Vigna <jug@sad.it>
2088 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
2090 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
2091 problems. First check a minipage also if we have some ert-contents
2092 (not only on par->size(), second set the right depth of the paragraph
2093 on the relink to the root-paragraph-list!
2095 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
2096 which then did not anymore update the main paragraphs on undo/redo!
2098 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2100 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
2101 code. Support all font-changing funcs (even those which are not in
2102 menu currently). Support for reporting font settings in
2103 mathed (disabled until Andre provides a function on mathed's side).
2105 * func_status.h (toggle): small helper function to set toggle
2108 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
2110 * tabular_funcs.C: getline -> std::getline
2112 2001-12-21 Juergen Vigna <jug@sad.it>
2114 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
2115 accessed and could be 0 (I couldn't generate this but it seems
2118 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
2120 * tabular_funcs.C: add LIstream.h, move write_attribute to..
2121 * tabular_funcs.h: here and include iosfwd
2123 2001-12-20 Juergen Vigna <jug@sad.it>
2125 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
2126 inside inset but undo_par was.
2128 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2130 * Thesaurus.C: always include <config.h> in sources.
2134 * box.h: do not include <config.h> in header files
2136 * text.C (paintLastRow): remove unused variable
2138 * text.C (transformChar):
2140 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
2143 * font.C (width): rewrite to use uppercase() instead of
2146 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
2148 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
2150 * lyxfind.C: clean up of find failure position change
2152 2001-12-20 Juergen Vigna <jug@sad.it>
2154 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
2156 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
2157 (TeXRow): added to LaTeX a single tabular row.
2158 (TeXLongtableHeaderFooter): added to output LT-h/f data.
2159 (Latex): simplified and finally good LT-h/f support.
2160 (various_functions): just small adaptions for LT-h/f support.
2162 * tabular_funcs.[hC]: added and moved here all not classfunctions
2165 2001-12-19 Juergen Vigna <jug@sad.it>
2167 * tabular.[Ch]: better support for longtabular options (not finished
2170 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2172 * text.C (paintLastRow): use the label font instead of the font of
2173 the last character to compute the size of *_BOX. This makes more
2174 sense and avoids a crash with empty paragraphs.
2175 Use Painter::rectangle to draw EMPTY_BOX.
2177 2001-12-19 Juergen Vigna <jug@sad.it>
2179 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
2180 the paragraphs if the replaced paragraph is not the first one!
2181 Tried to delete not used paragraphs but does not work yet so for
2182 now it's inside #ifdef's and by default off!
2184 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2186 * MenuBackend.C: include "lyx_main.h" instead of declaring
2187 lastfiles (actually was declared as LastFiles* instead of a
2190 2001-12-17 Juergen Vigna <jug@sad.it>
2192 * tabular.C (AppendColumn): applied John's fix
2194 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
2198 * BufferView_pimpl.h:
2199 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
2202 * box.h: new start of class for above
2204 * lyxfunc.C: ignore space-only minibuffer dispatches.
2205 Show the command name when it doesn't exist
2207 * minibuffer.C: don't add empty lines to the history
2209 * minibuffer.C: add a space on dropdown completion
2211 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
2213 * text.C: fix line above/below drawing in insets
2215 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
2217 * lyxlength.C (LyXLength): Initialize private variables.
2219 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
2221 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
2222 when inserting error insets.
2224 2001-12-13 Juergen Vigna <jug@sad.it>
2226 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
2227 actually sometimes the before-paragraph.
2228 (setUndo): don't clear the redostack if we're not actually undoing!
2230 2001-12-06 Juergen Vigna <jug@sad.it>
2232 * undo_funcs.C (textHandleUndo): well after John's hint I got here
2233 and fixed redoing of main paragraph, so we can use it now ;)
2235 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
2237 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2239 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
2242 2001-12-13 André Pönitz <poenitz@gmx.net>
2245 * undo_func.C: minor cleanup
2247 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2249 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
2250 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
2251 font in urw-fonts package which is marked as -urw-fontspecific and
2252 does not work (incidentally, changing the encoding in the
2253 fonts.dir of this package to -adobe-fontspecific fixes the
2256 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
2257 is a crash when undoing first paragraph (Juergen, please take a
2258 look). THis does not mean the undo fix is wrong, just that it
2261 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
2262 the (Paragraph*) version when needed instead of duplicating the
2265 * text.C (workWidth): use Inset::parOwner to find out where the
2266 inset has been inserted. This is a huge performance gain for large
2267 documents with lots of insets. If Inset::parOwner is not set, fall
2268 back on the brute force method
2270 * paragraph_pimpl.C (insertInset):
2271 * paragraph.C (Paragraph):
2272 (cutIntoMinibuffer): set parOwner of insets when
2273 inserting/removing them
2275 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
2277 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
2283 * mathed/formulabase.C:
2284 * mathed/math_cursor.[Ch]:
2285 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
2288 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
2290 * lyxlength.[Ch] (operator!=): new function
2292 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2294 * text.C (workWidth): use Inset::parOwner to find out where the
2295 inset has been inserted. This is a huge performance gain for large
2296 documents with lots of insets. If Inset::parOwner is not set, fall
2297 back on the brute force method
2299 * paragraph_pimpl.C (insertInset):
2300 * paragraph.C (Paragraph):
2301 (cutIntoMinibuffer): set parOwner of insets when
2302 inserting/removing them
2304 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
2306 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2308 * tabular-old.C (getTokenValue):
2309 * tabular.C (getTokenValue):
2310 (write_attribute): new versions for LyXLength
2311 (everywhere): adjust the use of widths
2313 * tabular.h: change the type of widths from string to LyXLength
2315 2001-12-11 Ben Stanley <bds02@uow.edu.au>
2317 * paragraph.C: fixed missing line number count when exporting
2318 Environments to LaTeX file
2320 * buffer.C: added informational message for checking line numbers.
2322 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2324 * text2.C (deleteEmptyParagraphMechanism): if there is only one
2325 paragraph, do the 'double space' part, but not the 'empty
2328 * text.C (workWidth): small optimization
2329 (getLengthMarkerHeight): use minimal size for negative lengths.
2331 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
2333 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
2335 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
2337 2001-12-11 André Pönitz <poenitz@gmx.net>
2340 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
2342 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
2344 * text2.C: keep selection on a setFont()
2346 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
2348 * lyx_cb.C: another bv->text misuse, from insert label
2350 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
2353 * kbsequence.C: re-instate nmodifier mask
2355 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
2357 * lyx_main.h: make lyxGUI private.
2359 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
2361 * lyxfind.C: place the cursor correctly on failed search
2363 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2365 * text.C (getLengthMarkerHeight): for small heights, the arrows
2366 are not always on top/bottom of the text
2367 (drawLengthMarker): smaller arrows; take the left margin in
2368 account; draw also vfills.
2370 (paintLastRow): remove special code for vfill and standard spaces,
2371 since everything is handled in drawLengthMarker now.
2373 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
2375 * buffer.C (insertErtContents): try to handle font and language
2376 interaction a bit better.g
2378 * ColorHandler.C (updateColor): change the hash to cover the whole
2379 LColor enum, ws cleanup
2380 (getGCLinepars): ditto
2381 (getGCLinepars): only lookup in the linecache once.
2383 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
2385 * iterators.C (operator++): Make the iterator more robust
2387 * BufferView2.C (removeAutoInsets): Use paragraph iterators
2389 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
2391 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
2394 * text.C: better added space drawing
2396 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
2399 * BufferView2.C: fix layout combo update on inset unlock
2401 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
2403 * Makefile.am: don't compile unused files
2405 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
2409 * LyXAction.C: remove old LFUN_LAYOUTNO
2411 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
2413 * paragraph_pimpl.h:
2414 * paragraph_pimpl.C: isTextAt() doesn't need font param
2416 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
2419 * lyxlex.C: little cleanup
2421 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
2423 * BufferView_pimpl.C: fix insertAscii for insets
2425 2001-12-05 Juergen Vigna <jug@sad.it>
2427 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
2428 set the right font on the "multi" paragraph paste!
2430 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2436 * lyxlength.C: remove out-commented code.
2452 * vc-backend.C: change "while(" to "while ("
2454 * lyxlength.[Ch]: add zero function to check if length is zero or
2456 * lyxgluelength.C: use it
2458 2001-12-05 Allan Rae <rae@lyx.org>
2460 * lyxlength.C: Attempted a fix for the abs(int) header selection.
2461 Works for 2.95.3, from what I understand of Garst's reports this should
2462 work for other g++ versions. We're screwed if the abs(int) definition
2463 changed between bugfix releases of gcc.
2465 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
2467 * text.C: fix chapter label offset !
2469 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
2472 * text.C: fix hfill at end of line, clean up
2474 2001-12-04 Juergen Vigna <jug@sad.it>
2476 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
2477 that we force an update of the inset and it's owners if neccessary.
2479 2001-12-03 Juergen Vigna <jug@sad.it>
2481 * text.C (rowLast): simplified code
2483 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
2485 * lyxfunc.C: fix show options on timeout
2487 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2489 * screen.C (topCursorVisible): scroll half a page when the cursor
2490 reached top of bottom of screen
2492 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
2494 * minibuffer.C: deactivate on loss of focus
2496 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
2498 * vspace.[Ch] (operator!=): add operator.
2500 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
2502 * BufferView_pimpl.C: refuse to open an inset when
2503 there's a selection.
2505 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
2507 * BufferView_pimpl.C: allow to click on RHS of full row insets
2509 2001-11-30 Juergen Vigna <jug@sad.it>
2511 * tabular.C (LyXTabular): add a same_id to set the same id's in the
2512 insets for undo reasons.
2514 2001-11-28 André Pönitz <poenitz@gmx.net>
2516 * vspace.[Ch]: cosmetical changes
2518 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
2528 * kbsequence.C: part re-write of old kb code
2531 * WorkArea.C: remove Lgb_bug_find_hack
2533 2001-11-30 José Matos <jamatos@fep.up.pt>
2535 * buffer.C (makeDocBookFile): add a comment to point a hack.
2536 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
2537 Fixed a double write of labels.
2539 2001-11-29 Ben Stanley <bds02@uow.edu.au>
2542 * LaTeX.h Fixed bug in LaTeX class where it would not
2543 re-run latex if no depfiles were changed, but the .dvi was removed.
2545 2001-11-28 André Pönitz <poenitz@gmx.net>
2547 * all the files from the change on 2001/11/26:
2548 use lyx::layout_type instead of LyXTextClass::size_type
2549 use lyx::textclass_type instead of LyXTextClassList::size_type
2551 2001-11-29 Juergen Vigna <jug@sad.it>
2553 * text.C: added support for paragraph::isFreeSpacing()
2555 * buffer.C: same as above
2557 * paragraph.h: inserted isFreeSpacing() function to enable
2558 FreeSpacing inside InsetERT.
2560 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
2561 of the paragraph's in the cut/copy buffer to 0!
2563 * text2.C (removeRow): remove the assert as it can!
2565 * lyxtext.h: added helper function firstRow returning firstrow and
2566 made firstrow private again.
2568 * BufferView2.C (lockInset): don't relock if we're already locked!
2570 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
2572 (removeRow): added Assert::(firstrow)
2574 * debug.C: forgot to add INSETTEXT here.
2576 2001-11-28 Juergen Vigna <jug@sad.it>
2578 * sp_spell.C (initialize): changed error text to more general
2579 spellchecker command use (not only ispell!)
2581 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
2583 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
2585 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
2587 * vspace.C: initialise lyxgluelength on failure
2589 2001-11-28 Allan Rae <rae@lyx.org>
2591 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
2592 declaration & definition that looks like a function declaration.
2594 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2596 * BufferView2.C (copy):
2597 (copyEnvironment): do not clear the selection when doing a copy.
2599 * text.C (paintFirstRow): compilation fix
2601 2001-11-27 Ben Stanley <bds02@uow.edu.au>
2603 * tabular.C (Latex): correct line count when writing latex.
2605 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
2607 * paragraph_pimpl.h:
2608 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
2611 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
2615 * LColor.C: change vfillline->added_space
2617 * text.C: add markers and text for added space
2619 * vspace.C: fix comment
2621 2001-11-28 André Pönitz <poenitz@gmx.net>
2623 * paragraph.C: whitespace changes
2624 * all the other files from the change on 2001/11/26:
2625 change *::pos_type into lyx::pos_type
2627 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
2629 * buffer.C (parseSingleLyXformat2Token): Set the language to the
2630 language of the document when inserting error insets.
2632 2001-11-26 André Pönitz <poenitz@gmx.net>
2634 * BufferView_pimpl.[Ch]:
2642 * paragraph_pimpl.[Ch]:
2645 * text2.C: reduce header dependencies, introduce type for positions
2647 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
2649 * <various>: change to use Alert.h
2651 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
2653 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
2654 when encountering an unknown token.
2655 (readLyXformat2): Show an error message if there were unknown tokens.
2657 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
2660 * BufferView_pimpl.C:
2664 * text2.C: use par->isInset()
2666 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
2668 * paragraph_pimpl.h:
2669 * paragraph_pimpl.C: cleanup
2671 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2673 * text2.C (removeRow):
2674 * text.C (setHeightOfRow): remove useless (and costly) call to
2677 2001-11-20 Allan Rae <rae@lyx.org>
2679 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
2680 Now need Inset*::checkInsertChar() to return true for appropriate
2681 cases so that the characters in the minibuffer will actually be
2684 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
2686 * text.C: change the order of the includes.
2687 (workWidth): initialize it at once.
2688 (workWidth): make maxw unsigned
2689 (setHeightOfRow): remove unused variable (inset)
2690 (selectSelectedWord): remove unused variable (inset)
2691 (paintRowText): fix drawing of hfill characters, and clean up a bit.
2693 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2695 * lyxserver.C (emergencyCleanup): do not try to close pipes if
2696 server is not running.
2698 (closeConnection): add debug info when server is disabled.
2700 * ColorHandler.C (getGCForeground): send debug message to GUI
2703 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
2705 * kbmap.C (bind): modify because return conventions of
2706 kb_sequence::parse have changed.
2708 * kbsequence.C (parse): only ignore spaces and not any stupid
2709 control character. This avoids tests like s[i] <= ' ', which are
2710 guaranteed to fail with 8bit characters and signed chars.
2711 Change return code to string::npos when there have been no error
2712 (0 was a bad idea when error is at first character)
2714 2001-11-14 José Matos <jamatos@fep.up.pt>
2717 * buffer.C (simpleDocBookOnePar): removed unused argument.
2719 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2721 * text.C (selectNextWordToSpellcheck): do not test explicitely for
2722 insets which are part of a word. Paragraph::isLetter takes care of
2723 that now. Use Paragraph::isInset to identify insets.
2724 (selectSelectedWord): do not test for hyphenation break.
2726 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
2727 that protected spaces are considered as spaces.
2729 * paragraph.C (isLetter): cleanup the code for ispell extras; use
2732 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
2735 * lyxserver.C: fix it. and small cleanup.
2737 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
2739 * BufferView_pimpl.C: use inline helpers
2742 * LaTeXFeatures.C: fix typos
2745 * Spacing.C: move spacing_string into class
2747 * ToolbarDefaults.C: move stuff into namespace anon
2749 * layout.h: update enum
2751 * lyxfunc.C: use better debug
2753 * minibuffer.h: fix typo
2757 * WorkArea.C: add and use Debug::WORKAREA
2761 * text2.C: code re-organisation, inline helpers
2763 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
2765 * Layout.C: replaced a few cases of std::vector.size() == 0 with
2766 std::vector.empty().
2768 2001-11-09 Allan Rae <rae@lyx.org>
2770 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
2771 '\n's after tables. Tabular and ERT inset work now makes this no
2774 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
2777 * minibuffer.C: fix crash, improve drop-down completion
2779 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
2782 * lyxserver.C: invalidate fd's when doing endPipe()
2784 2001-11-08 José Matos <jamatos@fep.up.pt>
2786 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
2787 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
2790 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
2792 2001-11-07 José Matos <jamatos@fep.up.pt>
2795 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
2798 * buffer.C (sgmlOpenTag):
2799 * buffer.C (sgmlCloseTag): removed debug info.
2801 * buffer.h (sgmlOpenTag):
2802 * buffer.h (sgmlCloseTag): made public.
2804 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2806 * buffer.C (saveParamsAsDefaults):
2807 * lyx_cb.C (MenuLayoutSave): remove
2809 * LyXAction.C (init):
2811 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
2813 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2815 * buffer.C (setPaperStuff): removed from here...
2817 * bufferparams.C (setPaperStuff): ... and moved there.
2819 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
2823 * XFormsView.C: add support for drop-down completion
2825 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
2827 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
2830 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2832 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
2835 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
2837 * lyx_main.C: change ref to known bugs
2839 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
2841 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
2842 to work around older babel problems.
2844 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
2846 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
2848 2001-10-24 Juergen Vigna <jug@sad.it>
2850 * tabular-old.C (ReadOld): below variable changes reflected.
2852 * tabular.[Ch]: added ltType struct for longtable header/footer
2853 defines and changed all instances where they are used. Added
2854 future support for double top/bottom rows.
2856 2001-10-24 José Matos <jamatos@fep.up.pt>
2858 * buffer.h (docbookHandleCaption):
2859 * buffer.C (docbookHandleCaption): removed unused function.
2860 (makeDocBookFile): moved docbook supported version to v4.1.
2862 2001-10-24 José Matos <jamatos@fep.up.pt>
2865 * tabular.C (docbookRow): new function to export docbook code of a row.
2866 (DocBook): now honors the longtable flags.
2868 2001-10-23 José Matos <jamatos@fep.up.pt>
2871 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
2872 of the lyx defined sgml entities used in a docbook/linuxdoc document.
2874 * buffer.C (makeLinuxDocFile):
2875 (makeDocBookFile): reworked the preamble, more clean, and with
2876 support for lyx defined entities. Changed the document declaration
2877 to be more XML friendly.
2879 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
2880 if we need to output XML that should be done with a filter.
2882 2001-10-22 Juergen Vigna <jug@sad.it>
2884 * sp_pspell.h (class PSpell): add alive function needed in the
2885 controller to see if the spellchecker could be started.
2887 2001-10-22 Juergen Vigna <jug@sad.it>
2889 * buffer.C (insertStringAsLines): modify the font for inserting
2890 chars in certain conditions by calling checkInsertChar(font).
2892 2001-10-19 Juergen Vigna <jug@sad.it>
2894 * text.C (workWidth): use getRow instead of wrong algorithm.
2895 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
2897 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
2902 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
2904 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2906 * text.C (workWidth): do not search for the exact row when
2907 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
2908 optimization for big documents.
2910 2001-10-18 Juergen Vigna <jug@sad.it>
2912 * text.C (workWidth): new function with added Inset * parameter.
2914 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2916 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
2918 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
2919 change return type of getColumnNearX.
2922 * text.C (changeRegionCase): use uppercase/lowercase instead of
2925 (rightMargin): simplify code by factoring out the uses of
2930 (appendParagraph): use Paragraph::size_type
2932 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2934 * vspace.C (asLatexString): add a missing break
2936 2001-10-15 Herbert Voss <voss@perce.de>
2938 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
2940 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2942 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
2945 2001-10-10 André Pönitz <poenitz@gmx.net>
2947 * lyxfunc.C: removed greek_kb_flag.
2949 2001-10-10 Herbert Voss <voss@perce.de>
2951 * lyx_main.C: delete global string help_lyxdir.
2953 2001-10-09 Herbert Voss <voss@perce.de>
2955 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
2957 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
2959 * lyx_main.C: added global string help_lyxdir.
2961 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
2963 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2965 * lyxrc.C (set_font_norm_type): support iso8859-4
2967 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
2969 * LaTeX.C (deplog): add another regex for MikTeX
2971 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
2973 * lyxrc.C (set_font_norm_type): support iso8859-3
2975 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2977 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
2979 * LaTeXFeatures.C: remove special case of french and index
2981 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
2982 before \begin{document}). This solves several incompatibilities.
2984 2001-10-03 Garst Reese <reese@isn.net>
2986 * lyx_cb.C: change CheckTex error msg.
2988 2001-10-03 José Matos <jamatos@fep.up.pt>
2990 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
2992 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2994 * .cvsignore: update
2996 * lyx_main.C (commandLineVersionInfo): use new style version info.
2998 * buffer.C (writeFile):
3001 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
3003 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
3005 * version.h: update to use stuff in version.C
3007 * version.C.in: new file. Contains version information determined
3008 at compile time. This is a merging of version.h and
3011 2001-10-03 Juergen Vigna <jug@sad.it>
3013 * BufferView_pimpl.C (update): don't change "dirty" status in
3016 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
3018 * WorkArea.C (c-tor): re-position version string slightly.
3020 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
3022 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
3023 revert to previous code.
3025 WorkArea.[Ch]: (show, destroySplash): methods removed.
3027 WorkArea.C: rework code so that it's an amalgam of the codes before and
3028 after the splash screen was moved to WorkArea.
3030 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3033 * vspace.C (inPixels):
3036 * buffer.C (insertStringAsLines):
3037 (asciiParagraph): fix types to be large enough
3039 * lyxlex_pimpl.h: change member status from short to int
3041 * layout.h: fix type of endlabeltype
3044 * kbsequence.C (parse): change return type to string::size_type
3046 * LaTeX.C (updateBibtexDependencies): comment out unneeded
3049 * Bullet.C (bulletSize):
3050 (bulletEntry): do not use short ints as parameters
3052 * BufferView2.C (insertLyXFile): change a char to an int.
3054 * WorkArea.C (WorkArea): remove unneeded floats in computation
3056 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
3058 * buffer.C (asciiParagraph): Treat '\\' as other chars.
3060 * paragraph.C (asString): Do not ignore newline/hfill chars when
3061 copying to the clipboard.
3063 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
3065 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
3066 after a multi-line inset.
3068 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
3070 * paragraph.C (validate): Set NeedLyXFootnoteCode
3072 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
3074 * lyxfont.C (LyXSizeNames): changed increase-error to increase
3075 and decrease-error to decrease.
3077 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3079 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
3080 it more readable (should be equivalent)
3082 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
3084 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
3086 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3088 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
3089 of a cursor (row, etc.) after a character has been deleted
3090 (deleteEmptyParagraphMechanism): call the method above on _all_
3091 cursors held by the LyXText when a double space has been
3094 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
3096 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
3098 (resizeCurrentBuff): remove code to destroy the old splash dialog.
3100 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
3101 background. Use greyOut() and the new show() methods to toggle between
3102 the foreground and background. Add code to remove the splash after
3103 its initial showing.
3105 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
3106 (create_forms): no longer call Dialogs::showSplash.
3108 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3110 * .cvsignore: add version_info.h
3112 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3114 * version_info.h.in: new file
3116 * Makefile.am: add version_info.h.in
3118 * lyx_main.C (commandLineVersionInfo): use version_info defined in
3119 version_info.h instead of VERSION_INFO
3121 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
3123 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
3124 The ERT inset now returns string().
3126 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
3128 * lyxtext.h, text.C (selectNextWord): renamed as
3129 selectNextWordToSpellcheck.
3131 * text.C (selectNextWordToSpellcheck): Modified to not select
3132 words inside an ERT inset.
3134 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3136 * lyx_cb.C (MenuLayoutSave): change a bit the question
3138 * sp_base.h: include <sys/types.h>
3140 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
3142 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
3144 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
3146 * several files: fix typos in user-visible strings
3148 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3150 * text2.C (pasteSelection): do not set the selection, since it
3151 will be cleared later. Actually, the intent was to fix the way the
3152 selection was set, but I figured rmoving the code was just as good.
3154 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
3156 * FontLoader.C (available): Check if font is available without
3159 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3161 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
3163 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
3165 * lyxrc.[Ch]: added display_graphics variable and associated code.
3167 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3169 * bufferparams.C (hasClassDefaults): new method. Returns true if
3170 the buffer parameters correspond to known class defaults
3172 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
3174 * XFormsView.C (show): set minimum size to the main window.
3176 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3178 * text2.C (copySelection):
3180 * lyxfind.C (LyXReplace):
3181 * BufferView_pimpl.C (Dispatch): pass the correct flag to
3182 LyXText::selectionAsString.
3184 * paragraph.C (asString): add "label" argument to the second form
3186 * text2.C (selectionAsString): add "label" argument and pass it to
3187 Paragraph::asString.
3189 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3191 * lyx_main.C (commandLineHelp): remove version information
3193 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
3195 * lyx_main.C: add -version commandline option
3197 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
3199 * paragraph.h: make the optional constructor arg required instead.
3200 some modifications to other files because of this.
3202 * minibuffer.C (C_MiniBuffer_peek_event): make it static
3204 * lyxserver.C (C_LyXComm_callback): make it static
3206 * lyx_main.C (error_handler): make it static
3208 * lyx_gui.C (LyX_XErrHandler): make it static
3210 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
3212 * WorkArea.C: make the extern "C" methods static.
3214 * Makefile.am (lyx_LDADD): simplify
3216 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
3218 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
3219 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
3221 * LyXAction.C (init):
3222 * lyxfunc.C (dispatch): associated code removal.
3224 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3226 * lyxfont.h (isSymbolFont): shut off warning
3228 * text.C (setHeightOfRow):
3229 (getVisibleRow): fix crash with empty paragraphs which have a
3232 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
3234 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
3237 2001-09-04 José Matos <jamatos@fep.up.pt>
3240 * tabular.C (docbook): rename docBook method to docbook.
3242 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
3244 * Makefile.am: add dependencies to main.o.
3246 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
3248 * FontLoader.C (available): Return false if !lyxrc.use_gui
3250 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
3252 * FontInfo.C (query):
3253 * converter.C (view):
3254 * importer.C (Import):
3255 * exporter.C (Export): Can not -> cannot.
3257 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
3259 * BufferView_pimpl.C: allow to create index inset even if
3262 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
3264 * buffer.C (getLists): replace boost::tie code with an explicit pair
3265 as boost::tie can break some compilers.
3267 * iterators.h: Added a std:: declaration to the return type of
3270 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
3272 * lyxrc.C: add help for view_dvi_paper_option, default to safe
3275 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
3277 * iterators.[Ch]: New files. Provide paragraph iterators.
3279 * buffer.C (changeLanguage): Use paragraph iterators.
3280 (isMultiLingual): ditto
3282 * BufferView2.C (ChangeInsets): Use paragraph iterators.
3284 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
3286 * FontLoader.C: Support for cmr font.
3288 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
3290 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
3291 (available): New method.
3293 * FontInfo.C (getFontname): Use scalable fonts even when
3294 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
3297 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
3299 * converter.C (Formats::view): reverted! Incorrect fix.
3301 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
3303 * converter.C (Formats::view): only output the -paper option
3304 if the dvi viewer is xdvi, thereby fixing bug #233429.
3306 2001-08-23 Herbert Voss <voss@perce>
3308 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
3310 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
3312 * Spacing.h (Spacing): Set space to Default on in the default
3315 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
3317 * vc-backend.h (RCS::versionString): add RCS to version
3318 (CVS::versionString): add CVS to version
3320 * vc-backend.C (scanMaster): do not add CVS to version.
3321 (scanMaster): do not add RCS to version
3323 * lyxvc.C (versionString): new method
3325 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
3327 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
3329 * Spacing.C (set): initialize fval
3331 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
3333 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
3336 2001-08-16 Juergen Vigna <jug@sad.it>
3338 * lyxfunc.C (dispatch): implemented the new FINISHED states.
3340 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
3342 * BufferView_pimpl.C:
3345 * text2.C: setParagraph takes linespacing now
3347 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
3349 * LyxAction.C: add internal LFUN_CITATION_INSERT
3351 * LyXView.C: actually apply fix
3353 * bufferlist.C: fix open non-existent file
3355 * lyxfind.C: fix indentation
3357 * lyxfunc.C: remove unneeded assert, fix typo
3359 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
3361 * MenuBackend.C: use "Floatname List"
3363 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
3365 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
3366 when converting LaTeX layout to insetERT.
3367 Generate a non-collapsed float when reading old float
3369 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
3371 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
3374 2001-08-13 Juergen Vigna <jug@sad.it>
3376 * text.C (fill): return 0 instead of 20 as this seems to be the more
3379 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
3381 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
3384 2001-08-13 Juergen Vigna <jug@sad.it>
3386 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
3388 (SearchBackward): comment out the unlocking of the inset_owner this
3389 should not be needed!
3391 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
3393 * Many files: Remove inherit_language, and add latex_language
3395 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
3398 2001-08-10 Juergen Vigna <jug@sad.it>
3400 * text.C (prepareToPrint): fixed hfill-width in draw!
3402 * BufferView2.C (selectLastWord): save the selection cursor as this
3403 now is cleared in the function LyXText::clearSelection!
3405 2001-08-08 Juergen Vigna <jug@sad.it>
3407 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
3408 BACKSPACE type functions.
3410 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
3411 is only cutted from the document but not put in the cut-buffer, where
3412 still the old stuff should be.
3414 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
3416 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
3418 * tabular.C (SetWidthOfCell): fixed special case where the width
3420 (LeftLine): handle '|' in align_special.
3422 (LeftAlreadyDrawed): ditto
3423 (SetWidthOfCell): ditto
3425 2001-08-07 Juergen Vigna <jug@sad.it>
3427 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
3429 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3431 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
3432 * lyxlex.[hC]: ditto
3434 2001-08-06 Juergen Vigna <jug@sad.it>
3436 * text.C (getVisibleRow): fix up row clearing a bit.
3438 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3440 * minibuffer.C: make sure the X server sees the changes in the input.
3442 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3444 * paragraph.C (getFont): split into...
3445 (getLabelFont): this
3446 (getLayoutFont): and this
3447 * paragraph_pimpl.C (realizeFont): calling this
3449 * text2.C (getFont): split into...
3450 (getLayoutFont): this
3451 (getLabelFont): and this
3452 (realizeFont): all three calling this
3454 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
3457 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3459 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
3461 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
3463 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
3464 layouts from the Quote inset insertion.
3466 2001-08-03 Juergen Vigna <jug@sad.it>
3468 * BufferView_pimpl.C (update): do the fitCursor only at the end!
3470 * screen.C (drawFromTo): don't call fitcursor here and do the loop
3471 only if status not is already CHANGED_IN_DRAW (second level).
3473 * text.C (draw): don't set the need_break_row when inside an
3476 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3478 * buffer.C (parseSingleLyXformat2Token): handle more latex
3481 * bufferview_funcs.[hC]: change function names to
3482 begin with small char, adjust other files.
3484 2001-08-02 André Pönitz <poenitz@gmx.net>
3487 BufferView_pimpl.C: remove broken special code for math-greek
3489 2001-08-02 Juergen Vigna <jug@sad.it>
3491 * BufferView_pimpl.C (update): redone this function so that we
3492 update the text again if there was a CHANGE_IN_DRAW.
3494 * screen.C (cursorToggle): removed LyXText parameter and recoded.
3495 (drawFromTo): added a new internal bool which is used by draw() and
3497 (general): some cursor drawing problems fixed.
3499 2001-08-01 Juergen Vigna <jug@sad.it>
3501 * lyxfind.C (LyXFind): fixed
3502 (SearchForward): ditto
3503 (SearchBackward): ditto
3505 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
3506 spurius drawing of the cursor in the main area.
3508 * text2.C (status): small fix which could lead to a segfault!
3509 (clearSelection): remove unneeded BufferView param.
3511 2001-08-01 André Pönitz <poenitz@gmx.net>
3513 * lyxfunc.C: small change due to changed mathed interface
3515 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3517 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
3519 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
3521 * lyxfunc.c: fail gracefully if file doesn't exist
3526 * BufferView_pimpl.C: IsDirWriteable() proto changed
3528 * LyXView.C: fix updateWindowTitle() to store the last title
3530 2001-07-31 Juergen Vigna <jug@sad.it>
3532 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
3533 the font (wrong since using of Paragraph::highestFontInRange).
3535 * paragraph.C (highestFontInRange): added a default_size parameter.
3537 * text.C (getVisibleRow): minor clear row changes (still not perfect).
3538 (setHeightOfRow): reformat
3540 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
3542 * converter.[hC] + affected files: move to (inital-char)lowercase
3545 * ParagraphParameters.C (ParagraphParameters): remove commented code
3547 * PainterBase.[Ch]: remove commented code
3549 * LaTeXFeatures.h: add "bool floats" for float.sty
3551 * LaTeXFeatures.C (LaTeXFeatures): init floats
3552 (require): handle float
3553 (getPackages): do it with floats
3555 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3557 * BufferView_pimpl.C (Dispatch): improve handling of
3558 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
3560 * commandtags.h: #include lyxfont.h here temporarily to avoid
3563 * bufferlist.h: include LString.h here.
3565 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3567 * text2.C (getStringToIndex): new method.
3569 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
3571 * *: Reduced header file dependencies all over.
3573 2001-07-30 Baruch Even <baruch@lyx.org>
3575 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
3577 2001-07-29 Baruch Even <baruch@lyx.org>
3579 * buffer.C (readInset): Changed GRAPHICS to Graphics.
3581 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
3583 * ParameterStruct.h (endif): add a default constructor to make
3584 sure that all variables is initialized.
3586 * ParagraphParameters.C (ParagraphParameters): adjust
3588 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3590 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
3591 index; also, check that there is something to index, and that it
3592 does not span over several paragraphs.
3593 (doubleClick): use WHOLE_WORD_STRICT for double click.
3595 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
3597 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
3600 2001-07-26 Baruch Even <baruch@lyx.org>
3602 * buffer.C (readInset): Changed to call up InsetGraphics when reading
3603 an InsetFig figure, backwards compatible reading of old figure code.
3605 2001-07-27 Juergen Vigna <jug@sad.it>
3607 * text2.C: font.realize function adaption.
3609 * text.C (draw): add a warnings lyxerr text if needed.
3611 * layout.C: font.realize function adaption.
3613 * language.C: add inherit_language and implement it's handlings
3615 * bufferview_funcs.C (StyleReset): remove language parameter from
3616 font creation (should be language_inherit now).
3618 * bufferparams.C (writeFile): handle ignore_language.
3620 * paragraph.C (getFontSettings): the language has to be resolved
3621 otherwise we have problems in LyXFont!
3623 * lyxfont.C (lyxWriteChanges): added document_language parameter
3624 (update): removed unneeded language parameter
3626 * paragraph.C (validate): fixed wrong output of color-package when
3627 using interface colors for certain fonts in certain environments,
3628 which should not seen as that on the final output.
3630 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
3632 * BufferView_pimpl.C:
3637 * LyXAction.C: add thesaurus support
3640 * lyxfind.C: add "once" parameter, for thesaurus, to not
3641 move to the next match
3643 2001-07-26 Juergen Vigna <jug@sad.it>
3645 * lyxfont.C (realize): honor ignore_language too!
3648 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
3650 * text.C (draw): one place more for ignore_language to not draw
3653 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
3655 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
3657 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3659 * buffer.C (parseSingleLyXformat2Token): a more general fix for
3660 the minipage conversion problem.
3662 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3664 * buffer.C (parseSingleLyXformat2Token): check minipage if we
3667 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3669 * BufferView.h: don't forward declare WorkArea
3671 * BufferView.C: don't include WorkArea.h
3673 2001-07-25 André Pönitz <poenitz@gmx.net>
3677 * lyxfunc.C: new LFUN 'math-space'
3679 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
3681 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3683 * text2.C (toggleInset): call open/close
3685 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3687 * lyxfunc.C (dispatch): add debug for the disabled case
3689 * font.C (buttonText): make similar to rectText
3691 * buffer.C (readInset): comment out parsing of insetlist and
3694 * PainterBase.C (rectText): small correction
3696 * BufferView_pimpl.C: comment out insettheorem and insetlist
3697 * LyXAction.C: ditto
3698 * commandtags.h: ditto
3700 2001-07-24 Juergen Vigna <jug@sad.it>
3702 * text.C (draw): honor the ignore_language.
3704 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
3706 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3708 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
3711 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3713 * lyxtext.h: remove unused (and unimplemented) methods
3715 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3717 * text.C (getVisibleRow): honor background color
3720 * Painter.h: remove default color argument for fillRectangle
3722 * text.C (backgroundColor): new method
3724 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3726 * text.C (getVisibleRow): adjust
3728 * font.[Ch] (rectText): new method, metrics
3729 (buttonText): new method, metrics
3731 * PainterBase.[hC]: make rectText and buttonText always draw and take
3734 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3736 * ToolbarDefaults.C (read):
3737 * MenuBackend.C (read): allow escaping in all strings
3739 * BufferView_pimpl.C (insertAndEditInset): new method.
3740 (Dispatch): use insertAndEditInset whenever appropriate.
3742 * BufferView_pimpl.C (insertNote): removed
3744 * BufferView_pimpl.C (smartQuote): new method, moved from
3745 BufferView; if an insetquote cannot be inserted, insert a '"'
3748 * BufferView2.C: remove insertCorrectQuote();
3750 * lyxfunc.C (getStatus): Add support for all remaingin
3753 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
3755 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
3756 command (necessary to pass " as parameter of self-insert.
3758 * text.C (selectWordWhenUnderCursor):
3759 (selectWord): add word_location parameter
3760 (selectWordWhenUnderCursor): same + remove special code for word
3762 (selectNextWord): use kind() to guess type of insetspecialchar,
3765 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
3766 (insertErtContents): create ert insets as collapsed.
3767 (readInset): better compatibility code for Info inset.
3769 2001-07-20 Juergen Vigna <jug@sad.it>
3771 * lyxfunc.C (dispatch): use always LyXFind now!
3773 * text2.C (init): add a reinit flag so that the LyXText can be
3774 reinited instead of deleted and reallocated (used in InsetText).
3776 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
3782 2001-07-18 Juergen Vigna <jug@sad.it>
3784 * text.C (selectNextWord): handle insets inside inset by calling
3785 always the bv->text functions so that we can go up the_locking_inset!
3787 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
3788 in strange locations when inside an inset!
3790 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
3791 handling to include insets.
3793 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
3795 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3797 * LyXAction.C (init):
3799 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
3800 LIGATURE_BREAK, since the name is so stupid.
3802 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
3804 * buffer.C (readInset): enable reading of new InsetNotes as well as old
3807 * FontLoader.C: remove FORMS_H_LOCATION cruft.
3809 * sp_form.[Ch]: remove.
3811 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
3813 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
3816 * src/buffer.C (readInset): ditto.
3818 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3820 * BufferView_pimpl.C (specialChar): new method. Obsoletes
3821 menuSeparator(), endOfSentenceDot(), ldots() and
3822 hyphenationPoint(), which are therefore removed.
3823 (Dispatch): handle LFUN_HYPHENATION_BREAK.
3825 * LyXAction.C (init):
3826 * commandtags.h: add LFUN_HYPHENATION_BREAK.
3828 * paragraph.C (getWord): removed.
3830 * BufferView_pimpl.C (Dispatch): use last word or selection for
3831 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
3833 * lyx_main.C (queryUserLyXDir): do not ask before creating
3834 user_dir, except if it has been named explicitely.
3836 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
3838 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
3839 a document of zero size.
3841 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
3843 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
3844 approriately in the c-tor and in require().
3845 (getPackages): output the appropriate LaTeX for natbib support.
3847 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
3848 variables "use_natbib" and "use_numerical_citations" when reading the
3850 (readInset): read the various natbib cite commands.
3851 (validate): white-space change.
3853 * bufferparams.[Ch]: new variables "bool use_natbib" and
3854 "bool use_numerical_citations".
3855 (writeFile): output them in the LyX file.
3857 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3859 * lyxfunc.C (getStatus): add support for all the inset insertion
3862 * text2.C (insertInset):
3863 * paragraph.C (insetAllowed):
3864 * BufferView_pimpl.C (insertInset): update to take in account the
3865 renaming of insertInsetAllowed
3867 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
3869 * text2.C (getInset): new method. returns inset at cursor position.
3871 * BufferView_pimpl.C (Dispatch): changes because of this.
3873 * LyXAction.C (init): rename open-stuff to inset-toggle.
3875 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
3877 * text2.C (toggleInset): renamed from openStuff; use
3880 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
3882 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
3884 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
3886 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
3888 * buffer.C (readLyXformat2): Add filename to the error dialog
3890 2001-07-18 Juergen Vigna <jug@sad.it>
3892 * tabular.C (GetCellNumber): put an assert here instead of the check!
3894 2001-07-17 Juergen Vigna <jug@sad.it>
3896 * BufferView_pimpl.C (toggleSelection): adapted too.
3898 * text.C (selectNextWord): adapted for use with insets.
3899 (selectSelectedWord): ditto
3901 2001-07-17 Juergen Vigna <jug@sad.it>
3903 * sp_spell.C (PSpell): fix initialitation order.
3905 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3907 * paragraph.C: spacing
3909 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
3911 * sp_spell.C: repair language selection for pspell
3913 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
3915 * lyxfunc.h: change more methods to begin with lower char.
3917 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
3919 * buffer.C (parseSingleLyXformat2Token): Generate error insets
3920 for unknown layouts.
3922 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
3924 * buffer.C (readLyXformat2): Generate an error dialog if there are
3927 2001-07-16 Juergen Vigna <jug@sad.it>
3929 * sp_spell.C: always compile ISpell part.
3931 * lyxrc.C: added use_pspell entry and it's handling.
3933 2001-07-13 Juergen Vigna <jug@sad.it>
3935 * sp_spell.C: removed double includes.
3937 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
3939 Consistent use of Lsstream.h:
3940 * Lsstream.h: added using std::stringstream for consistencies sake.
3942 * buffer.C: removed using std::stringstream
3944 * lyxfont.C (stateText):
3945 * paragraph.C (asString):
3946 * text.C (selectNextWord, selectSelectedWord):
3947 * text2.C (setCounter):
3948 * vspace.C (asString, asLatexString):
3949 std::ostringstream -> ostringstream.
3951 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
3953 * LyXAction.C: add LFUN_HELP_ABOUTLYX
3954 * commandtags.h: add LFUN_HELP_ABOUTLYX
3955 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
3957 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
3959 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
3961 * lyx_gui_misc.C: remove spellchecker
3962 * lyxfunc.C: showSpellchecker
3964 * sp_ispell.h: added
3965 * sp_pspell.h: added
3967 * sp_form.[Ch]: removed
3968 * spellchecker.[Ch]: removed
3970 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
3972 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
3974 (simpleTeXSpecialChars): Simply print the input character without
3975 any special translation if pass_thru is set.
3977 * layout.h: Added bool pass_thru to layout class for being able to
3978 implement pass through of a paragraph for Literate Programming.
3980 * layout.C: add LT_PASS_THRU to LayoutTags enum.
3981 * layout.C (LyXLayout): set pass_thru to flase in constructor.
3982 * layout.C (Read): add "passthru" to list of layout tags and add
3983 code to set the pass_thru boolean when it is read.
3985 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
3987 * trans_decl.h: remove allowed from KmodInfo
3989 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
3993 * paragraph_pimpl.C (erase): use boost::prior
3995 * Painter.C (text): use data() instead of c_str() when length is
3997 * WorkArea.C (putClipboard): ditto
3998 * font.h (width): ditto
4000 * BufferView2.C: use it-> instead of (*it). for iterators
4002 * paragraph_pimpl.C: ditto
4003 * paragraph.C: ditto
4004 * minibuffer.C: ditto
4009 * converter.C: ditto
4011 * Variables.C: ditto
4012 * TextCache.C: ditto
4013 * MenuBackend.C: ditto
4014 * LyXAction.C: ditto
4016 * FloatList.C: ditto
4018 * ColorHandler.C (LyXColorHandler): ditto
4020 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4022 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
4024 * text2.C (openStuff): reintroduce this method (which had been
4025 nuked in NEW_INSETS frenzy).
4027 * lyxfunc.C (Dispatch): when an action has not been handled, use
4028 its name in the error message, not its number.
4030 * paragraph.C (inInset): change method name to begin with lowercase.
4033 * text2.C: updates because of this.
4035 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4037 * ToolbarDefaults.C (add): add spaces in error message
4039 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4041 * buffer.C (readLyXformat2): initialize the ert comp. variables.
4042 (readLyXformat2): rename return_par to first_par, use lyxlex's
4043 pushToken and remove the manual push handling.
4044 (parseSingleLyXformat2Token): add another ert comp. variable:
4045 in_tabular, rename return_par to first_par. handle newlines better
4047 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4049 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
4051 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
4053 * text2.C (getParFromID): removed
4055 * buffer.C (getParFromID): new method moved form lyxtext.
4056 * BufferView2.C (insertErrors): adjust
4057 (setCursorFromRow): adjust
4058 * BufferView_pimpl.C (restorePosition): adjust
4059 * lyxfunc.C (Dispatch): adjust
4060 * undo_funcs.C (textUndo): adjust
4062 (textHandleUndo): adjust
4063 (textHandleUndo): adjust
4065 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
4067 * buffer.C: up' the LYX_FORMAT
4069 * lyxfont.h: turn NO_LATEX on as default
4071 * buffer.C (insertErtContents): new methods of tex style compability.
4072 (parseSingleLyXformat2Token): use it several places.
4073 * tabular.C (OldFormatRead): and here
4075 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4077 * text2.C: remove some commented code.
4080 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
4081 * trans.C: changes because of the above.
4083 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
4085 * text2.C (setCounter): Fix counters bug with bibliography layout.
4087 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4089 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
4090 own member functions
4091 (simpleTeXSpecialChars): ditto
4093 2001-07-06 Juergen Vigna <jug@sad.it>
4095 * a lot of files: changed the access to LyXText::status and the
4096 call of undo-functions.
4098 * undo.[Ch]: added a inset_id to the undo informations.
4100 * undo_funcs.[Ch]: added and moved here all undo functions.
4102 * lyxtext.h: give the status enum a weight, made status_ a private
4103 variable and made accessor functions for it, removed the whole bunch
4104 of undo-functions as they are now in their own file, make some
4105 functions publically available. Added function ownerParagraph with
4108 * paragraph.[Ch]: added "bool same_ids" to the constructor,
4109 made InInset() a const function, added getParFromID() function.
4111 * buffer.[Ch]: added const version for inset_iterator functions,
4112 added getInsetFromID() function.
4114 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
4115 changed undo functions for new version.
4117 2001-07-05 Juergen Vigna <jug@sad.it>
4119 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
4120 unknow mechanism does not call the proper constructor but only this
4121 one also if I request the other!?
4123 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4125 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
4127 * text2.C (LyXText): use initialization lists.
4129 * lyxtext.h (Selection): initialize set_ and mark_
4130 (init): remove method
4132 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
4134 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
4136 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4138 * screen.[Ch]: change method names to begin with lowercase
4140 * BufferView_pimpl.C (updateScrollbar): simplify further and
4141 hopefully make it a bit faster.
4143 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4145 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
4146 calling directly xforms functions.
4148 * Painter.C (Painter):
4149 * lyx_cb.C (MenuWrite):
4150 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
4153 * lyx_gui.C: remove bogus guiruntime extern declaration.
4155 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4157 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
4159 (redoDrawingOfParagraph): ditto
4160 (redoParagraphs): ditto
4161 (cutSelection): don't create a object for CutAndPaste use the
4162 static method directly
4163 (pasteSelection): ditto
4165 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
4168 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4170 * modifications to some other files because of this.
4172 * Makefile.am (lyx_SOURCES): add XFormsView
4174 * XFormsView.[Ch]: new files
4176 * LyXView.[Ch]: make LyXView a base class for the gui handling for
4177 the main window. Move the gui dependent stuff to XFormsView
4179 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4181 * tabular.C (GetCellInset): update cur_cell also in the row/col
4182 version of this function.
4184 * lyxfunc.C: no need to include figure_form.h here.
4190 * lyxvc.C: no need to include forms.h here.
4192 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4194 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
4196 * lyxfunc.C (Dispatch):
4198 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
4199 constructor argument.
4201 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4203 * paragraph.C (Paragraph): dont't clear, and just set layout.
4204 (makeSameLayout): use params's copy contructor.
4206 * ParagraphParameters.[Ch] (makeSame): delete method
4208 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
4210 * Variables.[Ch]: fix indentation, rename set to isSet
4212 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4214 * lyxfunc.C (Dispatch): fix typo
4216 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4218 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
4221 * bufferlist.C: include assert.h for emergencyWrite().
4223 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
4225 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
4226 give up at last (bug #425202) !
4228 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
4234 * spellchecker.C: strip spellchecker options and bring up
4235 preferences tab instead
4237 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4239 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
4240 the istringstream constructor
4242 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4244 * paragraph.C (getLayout): fix return value
4246 * paragraph.h: do not declare getLayout as inline.
4248 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
4250 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
4252 * lyxcursor.h (operator<): new func
4253 (operator>): new func
4254 (operator>=): new func
4255 (operator<=): new func
4257 * text.C (changeCase): use selection.start and selection.end
4258 (changeRegionCase): require from to be <= to. Require par to be a
4261 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
4263 2001-06-27 Juergen Vigna <jug@sad.it>
4265 * text.C (cursorLeftOneWord): changed to return the cursor and added
4266 overlay with BufferView * parameter which calls this one.
4268 (selectWord): use new getWord function.
4269 (changeCase): renamed from changeWordCase as and extended to work
4272 * lyxtext.h: added enum word_location
4274 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
4275 changeCase as this operates now also on selections.
4277 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
4279 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
4281 * many files: send debug output to Debug::INFO instead of
4284 * converter.C (View):
4286 (Move): send debug output to Debug::FILES instead of console.
4288 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
4290 * lyxfunc.C (getStatus): use func_status
4292 * func_status.h: new header, describing the results of
4295 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
4298 2001-06-25 The LyX Project <jug@sad.it>
4300 * buffer.C (sgmlOpenTag):
4302 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
4304 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4306 * text2.C: remove some dead code
4308 * tabular.C (GetCellInset): store the last cell checked (gotten)
4310 * tabular.h: add the helper for the speedup
4312 * lyxtext.h: remove some dead code
4314 2001-06-26 The LyX Project <Asger>
4316 * paragraph.C: Change export to LaTeX of alignment to
4317 \begin{center} and family for better roundtrip work with reLyX.
4319 * Tune the math drawing a bit.
4321 2001-06-25 The LyX Project <Asger>
4323 * LColor.C (LColor): New color for math background. New color
4326 2001-06-25 The LyX Project <jug@sad.it>
4328 * lyxfunc.C (MenuNew): remove extra check for .lyx file
4331 * bufferlist.C (newFile): do not restrict to files ending with
4334 * BufferView_pimpl.C (MenuInsertLyXFile):
4336 2001-06-24 The LyX Project <jug@sad.it>
4338 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
4341 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4343 * lyxtext.h: rename most methods to begin with a small char.
4344 Lots of changes because of this.
4346 * paragraph.C (Paragraph): do not call fitToSize
4347 (erase): call Pimpl::erase
4348 (insertChar): call Pimpl::insertChar
4349 (insertInset): call Pipl::insertInset
4350 (breakParagraph): do not call fitToSize
4351 (breakParagraphConservative): do not call fitToSize
4352 (fitToSize): remove method
4354 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
4356 2001-06-24 The LyX Project <Asger>
4358 * Fix Qt compilation^2
4360 2001-06-24 The LyX Project <jug@sad.it>
4362 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
4363 depthHook(getDepth()-1).
4366 * ParagraphParameters.h:
4367 * ParameterStruct.h: change type of depth to unsigned int ==
4368 depth_type. Many adaptations to other files before of that.
4370 2001-06-24 The LyX Project <Asger>
4372 * Fix Qt compilation.
4374 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4376 * paragraph.h: renamed several methods to begin with small letter.
4377 several changes to many parts of the code because of this.
4379 2001-06-23 The LyX Project <jug@sad.it>
4381 * text2.C (InsertStringAsLines): renamed from InsertStringA;
4382 rewritten to discard all double spaces when KeepEmpty is off
4383 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
4384 to only handle newlines but not fiddle with spaces and friends.
4386 * lyxfunc.C (MenuNew): when doing 'new from template', use
4387 template_path as default directory
4389 2001-06-23 The LyX Project <Asger>
4391 * Clean-up of header file includes all over
4392 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
4394 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
4396 * paragraph.h: renamed from lyxparagraph.h
4398 2001-06-23 Asger <lyx@violet.home.sad.it>
4400 * Buffer.h: Removed Buffer::resize
4401 * BufferList.h: Removed BufferList::resize
4402 * LyXView.h: Added LyXView::resize. This way, we will only reflow
4403 the document lazily when we change the width, or the font settings.
4405 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
4407 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
4409 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
4411 * buffer.h: remove out of date comment
4413 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
4416 * screen.C: fix "theoretical" GC leak
4418 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4420 * LaTeX.C (scanAuxFile):
4421 (deplog): remove trailing \r when reading stream (useful under
4424 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
4426 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
4427 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
4428 and BufferView::theLockingInset(Inset*), so should use them and not
4429 access bv_->text->the_locking_inset directly.
4431 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
4433 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
4436 * tex-defs.h: remove old unused file
4438 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
4440 * BufferView_pimpl.C: fix typo, remove minibuffer message
4441 when buffer has loaded
4443 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4445 * lyxfunc.C (Dispatch): use stringstream
4446 (MenuNew): use stringstream
4447 (Open): use stringstream
4449 * importer.C (Import): use stringstream
4451 * bufferview_funcs.C (CurrentState): use stringstream
4453 * LaTeX.C (run): use stringstream
4455 * BufferView_pimpl.C (savePosition): use stringstream
4456 (restorePosition): use stringstream
4457 (MenuInsertLyXFile): use stringstream
4459 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
4472 * vspace.C: removed // -*- C++ -*- as first line.
4475 * version.h: added // -*- C++ -*- as first line.
4477 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4479 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
4481 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
4484 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4486 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
4489 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4491 * gettext.C: include LString.h even when --disable-nls is on.
4493 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
4495 * converter.h (Get): changed argument type from int to
4496 FormatList::size_type to avoid unnecessary conversion.
4498 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
4501 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4503 * gettext.h: include LString.h even when --disable-nls is on.
4505 2001-06-07 Juergen Vigna <jug@sad.it>
4507 * text.C (BreakAgain): subst spaces with tabs.
4509 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
4510 (resizeInsetsLyXText): set force on resizeLyXText.
4512 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4514 * gettext.h (gettext_init):
4515 (locale_init): use a real definition instead of a macro
4517 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
4519 * Bufferview_pimpl.C:
4521 * LColor.C: further lcolor tidies
4523 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4525 * BufferView_pimpl.C (updateScrollbar): simplify.
4527 * BufferView2.C: don't include insets/insetinfo.h, change
4528 prototype for insertInset and call the Pimpl version. let
4529 updateInset call Pimpl version.
4531 * BufferView.h: move inset_slept to BufferView::Pimpl, move
4532 gotoInset to BufferView::Pimpl
4534 2001-06-01 Juergen Vigna <jug@sad.it>
4536 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
4537 inside a LockingInset (is the update needed at all?).
4539 2001-05-31 Juergen Vigna <jug@sad.it>
4541 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
4542 here not the old one otherwise how should we compare it afterwards
4545 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4550 * FontInfo.C: bring C functions into global namespace when
4553 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4555 * LString.h: make sure config.h has been loaded before LString.h.
4557 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
4558 (one for each char read by EatLine!).
4560 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
4563 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
4565 * paragraph.C (BreakParagraph): set the inset_owner in the new par
4566 to the same as the par we break from
4568 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
4570 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
4572 * MenuBackend.C (expand): also create menu entries for wide
4573 versions of the floats.
4575 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
4577 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
4579 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
4580 frontends/Makefile.am
4586 * tabular.C (getTokenValue): add std::
4588 * tabular-old.C (getTokenValue): add std::
4589 (getTokenValue): ditto
4590 (getTokenValue): ditto
4592 * screen.C (ToggleSelection): adjust
4594 * lyxtext.h: put selection cursors inside a Selection struct.
4596 * lyxfunc.C (moveCursorUpdate): adjust
4598 * lyxfont.C (latexWriteStartChanges): add std::
4602 * font.h: delete with(char const *, LyXFont const &)
4604 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
4606 * FontInfo.C (getFontname): add std::
4608 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4609 (workAreaButtonPress): adjust
4610 (tripleClick): adjust
4612 (moveCursorUpdate): adjust
4615 * BufferView2.C (gotoInset): adjust
4617 2001-05-30 Juergen Vigna <jug@sad.it>
4619 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
4620 to check pspell I add this as default as I now have new pspell
4621 libraries and they seem to use this.
4623 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
4625 * text2.C (CutSelection): make the cursor valid before the call to
4628 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4630 * kbsequence.C (parse): de-uglify a bit the parsing code, which
4631 relied on 0 terminated strings and other horrors. Bug found due to
4632 the new assert in lyxstring!
4634 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
4637 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4639 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
4642 * lyxfunc.C (processKeySym): change method of getting to the
4645 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
4646 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
4647 * BufferView_pimpl.[Ch]: here as private methods.
4649 2001-05-28 Juergen Vigna <jug@sad.it>
4651 * text.C (SetHeightOfRow): added the update() call again as it is
4652 needed to initialize inset dimensions!
4654 2001-05-16 Juergen Vigna <jug@sad.it>
4656 * text2.C (SetCharFont): Add new function with BufferView * and
4657 bool toggleall parameters for setting insets internal fonts.
4658 (SetFont): Freeze the undo as we may change fonts in Insets and
4659 all this change should be inside only one Undo!
4661 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
4662 setting font's in insets as for them we have the SetFont function!
4664 2001-05-15 Juergen Vigna <jug@sad.it>
4666 * text2.C (ClearSelection): to be sure we REALLY don't have any
4669 * tabular.C (TeXCellPreamble): fixed the left border problem for
4672 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
4674 * LaTeX.C (deplog): Make sure that the main .tex file is in the
4677 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
4679 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
4680 LFUN_BREAKPARAGRAPH.
4682 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
4683 help test to "internal only", similar for LFUN_INSERT_URL
4685 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
4686 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
4687 auto_region_delete and deadkeys.
4689 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
4692 * LColor.C: remove some dead entries, tidy a little
4694 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
4696 * lyxfunc.C (processKeySym): comment the Escape handling, remove
4698 (Dispatch): implement LFUN_ESCAPE
4700 * commandtags.h: add LFUN_ESCAPE
4702 * LyXAction.C (init): add entry for LFUN_ESCAPE
4704 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
4705 Remove commented code.
4706 (insertNote): moved here
4707 (open_new_inset): moved here
4709 * BufferView[2].[Ch]: move insertNote and open_new_inset to
4712 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4714 * kbmap.C (findbinding): clean it up and make it work correctly.
4716 * lyx_main.C (init): do not pass argc and argv as parameters
4718 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
4720 * buffer.C: fix path for OS/2 & Win32
4724 * lyx_main.C: Added os:: class.
4726 * os2_defines.h: update
4728 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
4730 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
4731 better by trying again with reduced state.
4733 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4735 * lyxrc.C (read): print error about invalid key sequence only when
4736 debugging (because not all latinX keysyms are known to some X
4739 * kbsequence.C (getiso): add a few std:: qualifiers
4740 (getiso): comment out extra return statement.
4742 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
4744 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
4746 (Dispatch): enhance the accent inset a bit. (not perfect)
4748 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4750 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
4752 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4754 * bufferlist.C (emergencyWrite): fix assert() call
4756 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
4758 * text.C (InsertChar): Added trivial patch to only send the "you
4759 can not do multiple spaces this way" message once during a
4762 2001-05-08 Baruch Even <baruch@lyx.org>
4764 * Makefile.am: Changed order of libraries to get LyX to link properly
4765 with the gnome frontend.
4767 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4769 * LaTeXFeatures.h: add a std:: qualifier
4771 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
4773 * paragraph.C (String): use stringstream
4775 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
4777 * paragraph.C (writeFile): remove footflag arg
4779 * buffer.C (makeLaTeXFile): use stringstream
4780 (latexParagraphs): remove footnot gurba
4782 * LaTeXFeatures.C (getPackages): use stringstream
4783 (getMacros): likewise
4784 (getTClassPreamble): likewise
4785 (getFloatDefinitions): new method
4787 * paragraph.C (writeFile): reindent
4790 * WorkArea.h: revert the xpos + etc changes.
4792 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
4794 * lyxparagraph.[Ch]: add copy constructor, remove Clone
4796 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
4797 (pasteSelection): likewise
4798 * text2.C (CreateUndo): likewise
4800 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4802 * minibuffer.C (peek_event): temporarily reduce the functionality
4803 of the minibuffer (to allow args on lfuns)
4805 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
4806 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
4808 * buffer.C (readInset): add compability reading of old float
4809 lists, add reading of new style float list.
4810 (readInset): avoid reevaluation of inscmd.getCmdName()
4811 (getLists): reindent
4813 * MenuBackend.C (MenuItem): implement parsing of
4814 md_floatlistinsert and md_floatinsert.
4815 (expand::LastFiles): move initalizaton of iterators out of loop,
4817 (expand::Documents): introduce typdedef vector<string> Strings,
4819 (expand::ExportFormats): introduce typedef vector<Format const *>
4820 Formats, and use it.
4821 (expand): implement FloatListInsert and FloatInsert.
4823 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
4824 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
4825 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
4827 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
4829 (Dispatch::LFUN_FLOAT_LIST): implement
4831 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
4833 * LaTeX.C (run): Fix problem with --export code.
4835 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
4837 * BufferView.[Ch] (workarea): removed.
4838 (getClipboard) new method; wrapper for workarea()->getClipboard()
4840 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
4843 * WorkArea.h (width, height, xpos, ypos): These methods all
4844 returned the dimensions of the work_area sub-area of WorkArea,
4845 resulting in a position error if the WorkArea were resized. Now
4846 return the dimensions of the entire WorkArea.
4848 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
4850 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4852 * LaTeX.C (deplog): correct the syntax of regex reg1
4854 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4856 * undo.C: remove !NEW_INSETS cruft
4858 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
4860 * text2.C: remove !NEW_INSETS cruft
4862 * text.C: remove !NEW_INSETS cruft
4864 * tabular.C: remove !NEW_INSETS cruft
4866 * spellchecker.C: remove !NEW_INSETS cruft
4868 * lyxtext.h: remove !NEW_INSETS cruft
4870 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
4872 * lyxfunc.C: remove !NEW_INSETS cruft
4874 * lyxfind.C: remove !NEW_INSETS cruft
4876 * lyx_cb.C: remove !NEW_INSETS cruft
4878 * figureForm.C: remove !NEW_INSETS cruft
4880 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
4882 * buffer.[Ch]: remove !NEW_INSETS cruft
4884 * ToolbarDefaults.C: remove !NEW_INSETS cruft
4886 * CutAndPaste.C: remove !NEW_INSETS cruft
4888 * BufferView_pimpl.C: remove !NEW_INSETS cruft
4890 * BufferView2.C: remove !NEW_INSETS cruft
4892 * BufferView.h: remove !NEW_INSETS cruft
4894 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4896 * Lsstream.h: include LString.h before the sstream headers to
4897 fix problem with gcc 2.95.3 and lyxstring
4899 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4901 * lyx_main.C: add using directives when needed for C functions
4902 declared in std:: namespace.
4904 2001-04-27 Juergen Vigna <jug@sad.it>
4906 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
4907 (SetHeightOfRow): comment out the update call should not be needed!
4909 2001-04-13 Juergen Vigna <jug@sad.it>
4911 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
4912 (LyXTabular): tried to minimize operator= operations (and realized
4913 hopfully Lars wish).
4915 2001-04-27 Juergen Vigna <jug@sad.it>
4917 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
4919 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
4921 * lyxfunc.C (Dispatch): hack to make listof algorithm work
4923 * buffer.C (readInset): hack to make listof algorithm work
4925 * BufferView_pimpl.C: hack to make listof algorithm work
4927 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4929 * LyXAction.C: removed all !NEW_INSETS cruft
4930 (init): moved lfun_item in method
4932 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
4934 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
4936 * BufferView2.C (theLockingInset): white space.
4938 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4940 * minibuffer.C: include <iostream>
4942 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
4944 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
4946 * commandtags.h: add LFUN_TRANSPOSE_CHARS
4948 * text.[Ch] (TransposeChars): new method
4950 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4952 * call message directly through LyXView instead of through LyXFunc
4953 * BufferView2.C: adjust
4954 * BufferView_pimpl.C: adjust
4955 * FontLoader.C: adjust
4957 * bufferview_funcs.C: adjust
4958 * converter.C: adjust
4959 * figureForm.C: adjust
4960 * importer.C: adjust
4962 * lyx_gui_misc.C: adjust
4966 + more files in subdirs
4968 * lyxparagraph.h (size): move up int file
4971 * adjust all uses of Assert to lyx::Assert.
4973 * BufferView2.C (ChangeCitationsIfUnique): adjust for
4974 lyxfunctional in namespace lyx
4975 * layout.C (hasLayout): ditto
4978 (delete_layout): ditto
4979 (NumberOfClass): ditto
4980 * converter.C (GetFormat): ditto
4985 * bufferlist.C (getFileNames): ditto
4986 (emergencyWriteAll): ditto
4989 * MenuBackend.C (hasSubmenu): ditto
4992 * BufferView_pimpl.C (getInsetByCode): ditto
4994 2001-04-18 Juergen Vigna <jug@sad.it>
4996 * vspace.C (asLatexString): fixed the 100% problem.
4998 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5000 * lyxfunc.C (Dispatch):
5002 * minibuffer.h: add a few std:: qualifiers
5004 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5006 * minibuffer.[Ch]: reimplement so that commands is initiated and
5007 run from lyxfunc, simplified som handling, and made the completion
5008 and history code for complete. wip.
5010 * lyxfunc.C (processKeySym): call message
5011 (miniDispatch): new temporary method
5012 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
5013 (LFUN_MESSAGE): implement
5014 (LFUN_MESSAGE_PUSH): implement
5015 (LFUN_MESSAGE_POP): implement
5016 (initMiniBuffer): the initial/defualt minibuffer message.
5018 * lyxfont.[Ch]: inline some more getters
5020 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
5022 * lyx_gui_misc.[Ch] (WriteStatus): remove method
5024 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
5025 (AutoSave): use LFUN_MESSAGE
5026 (Reconfigure): ditto
5028 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
5030 * figureForm.C: use LFUN_MESSAGE
5032 * converter.C (runLaTeX): use LFUN_MESSAGE
5034 * bufferview_funcs.C: use LFUN_MESSAGE
5036 (changeDepth): ditto
5038 * bufferparams.h: use boost::
5040 * bufferlist.h: inherit privately from noncopyable
5042 * bufferlist.C (loadLyXFile): remove some commented code.
5044 * buffer.C (runChktex): use LFUN_MESSAGE
5046 * ShareContainer.h: inherit privately from noncopyable
5048 * ParagraphParameters.[hC] (depth): inline it.
5050 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
5052 (message): new method
5053 (messagePush): ditto
5055 (show): init minibuffer
5056 (showState): direct call
5058 * LaTeX.[Ch]: inherit privately from noncopyable
5059 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
5060 instead of WriteStatus.
5062 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
5064 * BufferView_pimpl.C (buffer): don't init minibuffer
5065 (workAreaButtonPress): use LFUN_MESSAGE
5066 (workAreaButtonRelease): ditto
5067 (savePosition): ditto
5068 (restorePosition): ditto
5069 (MenuInsertLyXFile): ditto
5070 (workAreaExpose): don't init minibuffer
5071 (update): remove commented code, simplify
5073 * BufferView2.C (openStuff): use LFUN_MESSAGE
5074 (toggleFloat): ditto
5077 (copyEnvironment): ditto
5078 (pasteEnvironment): ditto
5083 (updateInset): remove some commented code
5085 * lastfiles.h: inherit privately from noncopyable
5090 * lyxlex_pimpl.h: ditto
5092 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
5093 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
5094 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
5096 * LyXAction.h: inherit privately from noncopyable, add methods
5097 func_begin, func_end, returning iterators to the func map.
5099 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
5100 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
5101 (func_begin): new method
5102 (func_end): new method
5104 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
5106 (copySelection): ditto
5107 (pasteSelection): ditto
5109 * BufferView.C: whitespace change
5110 * BufferView.h: inherit privately from noncopyable
5112 2001-04-16 Allan Rae <rae@lyx.org>
5114 * tabular-old.C (l_getline):
5115 * spellchecker.C (sc_check_word):
5116 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
5117 an unrecognised preprocessor directive. So ensure they're wrapped.
5119 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
5121 * src/exporter.C (Export): Give an error message when path to file
5124 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
5126 * LaTeX.C (deplog): Always check that foundfile exists.
5128 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5131 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
5133 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5135 * tabular.[Ch] (getLabelList): implement new method
5137 * minibuffer.h: comment ouf setTiimer
5139 * minibuffer.C (ExecutingCB): constify res
5140 (peek_event): constify s
5141 (Set): constify ntext
5142 (Init): constify nicename
5144 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
5146 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
5147 (savePosition): use two params to Minibuffer::Set
5148 (restorePosition): ditto
5150 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5152 * lyx_main.C: include language.h
5154 * Makefile.am (lyx_main.o): add language.h
5156 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5162 * CutAndPaste.C: include gettext.h
5164 * lyxfont.h: remove old hack with ON and OFF.
5167 * lyxfont.h: do not include language.h...
5172 * bufferview_funcs.C:
5178 * paragraph.C: ... but do it here instead
5180 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5182 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
5184 * tabular.C: small reformat
5186 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
5189 (BreakParagraph): ditto
5190 (SetOnlyLayout): ditto
5193 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
5196 * lastfiles.C: removed most using decl, add std:: where needed
5198 * buffer.C: ws changes
5200 * MenuBackend.C (class compare_format): put into anon namespace
5201 (expand): constify label, names, action, action2
5204 * text.C (SingleWidth): constify font
5205 (IsBoundary): constify rtl2
5206 (GetVisibleRow): constify ww
5208 * LaTeX.C (deplog): constify logfile
5210 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
5212 (workAreaExpose): constify widthChange, heightChange
5214 * lyxrow.C (par): moved
5217 * lyxrow.h: as inlines here
5219 * lyxfont.h (shape): moved from lyxfont.C
5220 (emph): moved from lyxfont.C
5222 * lyxfont.C (LyXFont): use initialization list for all
5224 (shape): move to lyxfont.h as inline
5225 (emph): move to lyxfont.h as inline
5228 2001-04-04 Juergen Vigna <jug@sad.it>
5230 * vspace.C: had to include stdio.h for use of sscanf
5232 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
5235 * BufferView_pimpl.h: remove xforms cruft. Both classes are
5236 independent of xforms.
5238 2001-04-02 Juergen Vigna <jug@sad.it>
5240 * spellchecker.C: fixed namespace placing!
5242 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
5244 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
5245 the LyXParagraph * is 0.
5247 2001-03-29 Juergen Vigna <jug@sad.it>
5249 * vspace.C: added support for %, c%, p%, l%.
5250 (stringFromUnit): added helper function.
5251 (asLatexString): changed to give right results for the %-values.
5253 * buffer.C: convert the widthp in a width%.
5255 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
5257 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
5260 * figureForm.[Ch]: stripped the FD_from_figure manipulation
5261 code out of lux_cb.[Ch], ready for its (imminent?) removal.
5263 * lyx_cb.[Ch]: see above.
5265 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
5269 * lyx.[Ch]: replaced by figure_form.[Ch].
5273 * lyxfunc.C: changed headers associated with above changes.
5275 2001-03-27 Juergen Vigna <jug@sad.it>
5277 * BufferView_pimpl.C: set the temporary cursor right!
5279 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
5281 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
5283 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
5285 * LString.h: removed "using std::getline"!
5287 * BufferView_pimpl.C (Dispatch): changes due to changes in
5288 InsetInclude::Params.
5290 * buffer.C (tag_name): removed redundant break statements as they were
5291 producing lots of warnings with my compiler.
5293 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5295 * LString.h: add "using std::getline" when using the real <string>.
5297 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
5299 * buffer.C: removed bitset usage.
5300 PAR_TAG moved to an anonymous name space.
5301 (tag_name): new funtion, also in the anonymous namespace.
5302 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
5303 (makeDocBookFile): clean code. Completed transition from string arrays
5305 (SimpleDocBookOnePar): code clean.
5307 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5309 * tabular.C: add some comments.
5311 2001-03-22 Juergen Vigna <jug@sad.it>
5313 * buffer.C (parseSingleLyXformat2Token): redone the minipage
5314 compatibility read a bit and fixed bug with minipage in different
5317 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
5319 * buffer.C (pop_tag): removed.
5320 (push_tag): removed.
5321 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
5322 array replaced with vector. Added support for CDATA sections.
5323 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
5325 (makeDocBookFile): XML conformant declaration of CDATA section,
5326 fixed bug related to <emphasis> in the first paragraph char.
5327 (sgmlOpenTag): exclude empty tags.
5328 (sgmlCloseTag): ditto.
5330 * buffer.h (pop_tag): removed.
5331 (push_tag): removed.
5333 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
5335 * language.h (Languages): added size_type and size().
5337 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5339 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
5340 response on compability reading of minipages. One probliem is that
5341 the old usage of minipages was «flertydig»
5343 * several files here and in subdirs: don't use static at file
5344 scope use anon namespaces instead.
5346 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
5348 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
5349 LaTeX output. This is necessary for Literate document
5352 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5354 * buffer.C: insert hfill when needed.
5356 * tabular.C (l_getline): use string::erase, small whitespace change.
5358 * BufferView_pimpl.C: try the anon namespace.
5361 2001-03-16 Juergen Vigna <jug@sad.it>
5363 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
5364 otherwise it won't open options-dialogs.
5366 * buffer.C: honor pextraWidth(p) on converting minipages.
5368 * tabular.C (l_getline): changed the functions to strip trailing \r.
5370 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
5372 * BufferView_pimpl.C:
5373 * minibuffer..C: added "using SigC::slot" declaration.
5375 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5377 * lyxlex_pimpl.h: noncopyable is in namespace boost.
5383 * paragraph.C: ditto
5385 * lyxtext.h: NO_PEXTRA
5387 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
5389 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
5390 * ParameterStruct.h: ditto
5391 * ParagraphParameters.h: ditto
5392 * lyxparagraph.h: ditto
5394 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5396 * buffer.C: add compability for minipage alignment.
5397 (latexParagraphs): remove unwanted pextra check.
5399 * several files: remove CXX_WORKING_NAMESPACES
5401 * buffer.C (pop_tag): tie is in namespace boost
5403 * BufferView.h: noncopyable is in namespace boost
5408 * lastfiles.h: ditto
5409 * bufferlist.h: ditto
5410 * ShareContainer.h: ditto
5412 * LyXAction.h: ditto
5415 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
5417 * Merging changes from BRANCH_MVC back into HEAD.
5419 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
5421 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
5423 * BufferView_pimpl.C: change from intl.C
5427 * Makefile.am: move combox.*
5433 * intl.C: remove dialog (covered by prefs)
5435 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
5437 * lyxfunc.C (Dispatch): removed redundant break statement.
5439 2001-03-14 Juergen Vigna <jug@sad.it>
5441 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
5443 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5445 * buffer.C: add hack to fix compability reading of minipages.
5447 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
5449 * buffer.C (getLists): Cleanup.
5451 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5453 * lyxfont.C (update): don't honor toggleall on font size.
5455 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
5459 * Makefile.am: moved to frontends/xforms/
5463 * BufferView_pimpl.C: changes for moved mathpanel
5465 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
5467 * gettext.h: fix gettext_init() in --disable-nls
5469 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5471 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
5473 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
5476 * lyx.h: strip external form
5478 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
5480 * BufferView_pimpl.C: add comment, destroySplash()
5482 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
5484 * BufferView_pimpl.C:
5488 * lyxfunc.C: use re-worked insetinclude
5490 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5492 * buffer.C: add using std::stringstream.
5494 * lyx_cb.C: readd using std::ios.
5496 * buffer.C: add using std::map.
5498 * BufferView_pimpl.C: add using std::vector.
5500 * ShareContainer.h: add std:: to swap.
5502 * buffer.h: add some typedefs
5503 * buffer.C (getLists): use them
5504 (getLists): renamed from getTocList.
5505 add a counter for the different float types and use it in the
5507 (getLists): use the same counter for the NEW_INSETS and the "non"
5510 * lyx_cb.h: remove unused items, includes, using etc.
5512 * ShareContainer.h: remove some commented code, add more comments
5513 and "documentation".
5515 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5517 * buffer.C (getTocList): make the list also when NEW_INSETS is
5520 * buffer.h: remove TocType
5522 * buffer.C (getTocList): change to return a map<string,
5523 vector<TocItem> >, implement for dynamic number of list.
5525 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
5526 * text2.C (PasteSelection): adjust
5527 * CutAndPaste.C (pasteSelection): adjust
5529 * FloatList.C (FloatList): update from the new_insets branch.
5530 * Floating.[Ch]: ditto
5531 * LaTeXFeatures.C: ditto
5533 * lyxlex_pimpl.C: ditto
5535 * paragraph.C (Last): remove when NEW_INSETS is defined.
5537 * other file: changes because of the above.
5539 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5541 * lyxparagraph.h: rename next to next_, previous to previous_,
5542 make them private for NEW_INSETS. Rename Next() to next(),
5543 Previous() to previous().
5545 * other files: changes because of the above.
5547 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
5550 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
5553 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5555 * main.C (main): pass lyx_localedir to gettext_init().
5557 * gettext.h: remove locale_init and gettext_init macros
5559 * gettext.C (locale_init): new function
5560 (gettext_init): new function
5562 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
5565 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
5567 * Moved credits to frontends:
5568 * credits.[Ch]: removed
5569 * credits_form.[Ch]: removed
5570 * lyx_gui_misc.C: remove credits stuff
5573 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5575 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
5577 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
5578 unneeded destructor.
5580 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
5581 a standalone pointer again.
5583 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
5585 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
5591 * ToolbarDefaults.C:
5600 * BufferView_pimpl.C: use new file dialog in GUII
5603 * lyx_cb.C: remove LayoutsCB to Toolbar
5605 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5607 * ShareContainer.h (get): add std:: qualifier
5609 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5611 * ShareContainer.h: define a proper ShareContainer::value_type
5612 type (and use typename to please compaq cxx)
5614 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5616 * lyxparagraph.h: move serveral local vars to
5617 ParameterStruct/ParagraphParameters., use ShareContainer in
5618 FontTable., make vars in FontTable private and add getter and
5621 * paragraph.C: changes because of the above.
5623 * lyxfont.h: remove copy constructor and copy assignment. (the
5624 default ones is ok), move number inside FontBits. move inlines to
5627 * lyxfont.C: add number to initializaton of statics, move several
5628 inlines here. constify several local vars. some whitespace
5629 cleanup. Dont hide outerscope variables.
5631 * Spacing.h: add two new constructors to match the set methods.
5633 * ShareContainer.h: new file, will perhaps be moved to support
5635 * ParameterStruct.h: new file
5637 * ParagraphParameters.h: new file
5639 * ParagraphParameters.C: new file
5641 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
5642 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
5644 * BufferView_pimpl.C: ParagraphParameter changes.
5645 * buffer.C: Likewise.
5646 * bufferview_funcs.C: Likewise.
5648 * text2.C: Likewise.
5650 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5652 * lyxfind.C (LyXReplace): do not redefine default argument in
5654 (IsStringInText): ditto
5655 (SearchForward): ditto
5656 (SearchBackward): ditto
5658 2001-03-06 Juergen Vigna <jug@sad.it>
5660 * lyxfind.C (IsStringInText): put parentes around expressions.
5662 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
5664 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
5666 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
5668 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
5670 * stl_string_fwd.h: add comment
5672 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
5675 * tabular.C: remove unused DocBook methods
5681 killed DO_USE_DEFAULT_LANGUAGE
5683 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5685 * lyx_gui.C: do not include language.h.
5687 * bufferview_funcs.C (ToggleAndShow): do not provide optional
5688 arguments in function implementation.
5690 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5692 * BufferView_pimpl.C: add <ctime>
5694 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5696 * BufferView_pimpl.C: add using std::find_if
5698 2001-02-27 José Matos <jamatos@fep.up.pt>
5700 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
5703 2001-02-11 José Matos <jamatos@fep.up.pt>
5705 * buffer.C (makeDocBookFile): command styles now have a parameter as
5708 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
5710 * layout_forms.[Ch]: removed
5711 * lyx_cb.[Ch]: out character
5712 * lyx_gui.C: out character
5713 * lyx_gui_misc.C: out character
5714 * bufferview_funcs.C: : out character,
5715 added toggleall as parameter in ToggleAndShow
5717 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
5719 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
5721 * text2.C (SetCurrentFont): Disable number property at boundary.
5723 2001-02-26 Juergen Vigna <jug@sad.it>
5725 * lyxfunc.C (getStatus): added a string argument override function so
5726 that this is correctly called from LyXFunc::Dispatch if it contains a
5727 do_not_use_argument which is used!
5728 (Dispatch): added check for "custom" export and call appropriate func.
5730 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
5732 * lyxrc.C: Add language_command_local, language_use_babel and
5733 language_global_options.
5735 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
5737 * buffer.C (makeLaTeXFile): Use language_use_babel and
5738 language_global_options.
5740 2001-02-23 Juergen Vigna <jug@sad.it>
5742 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
5743 which works with LyXText and putted it inside BufferView. Here now we
5744 only call for that part the BufferView::Dispatch() function.
5746 * BufferView.C (Dispatch): added.
5748 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
5749 functions which needs to use a LyXText over from LyXFunc.
5750 (MenuInsertLyXFile): added
5751 (getInsetByCode): added
5752 (moveCursorUpdate): added
5753 (static TEXT): added
5755 2001-02-22 Juergen Vigna <jug@sad.it>
5757 * BufferView_pimpl.C (update): call a status update to see if LyXText
5760 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5762 * vc-backend.C (revert): implement for CVS
5763 (getLog): implement for CVS
5765 2001-02-20 Juergen Vigna <jug@sad.it>
5767 * text2.C (ClearSelection): added BufferView param for inset_owner call
5769 * lyxfunc.C (TEXT): added this function and use it instead of
5770 directly owner->view()-text of getLyXText().
5772 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
5774 * src/layout_forms.C: out preamble
5775 * src/layout_forms.h: out preamble
5776 * src/lyx_cb.C: out preamble
5777 * src/lyx_cb.h: out preamble
5778 * src/lyx_gui.C: out preamble
5779 * src/lyx_gui_misc.C: out preamble
5780 * src/lyxfunc.C: connect with guii preamble
5782 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
5784 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
5786 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
5788 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
5789 whether to run bibtex.
5791 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
5793 * Makefile.am (lyx_SOURCES): Remove BackStack.h
5795 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
5797 * Makefile.am (lyx_SOURCES): removed bibforms.h
5801 * text.C (GetVisibleRow): make several local vars const
5803 * tabular.C: small cleanup.
5805 * lyxserver.C (callback): use compare instead of strncmp
5807 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
5808 inlines to after class or to paragraph.C
5810 * lyxfont.h: remove friend operator!=
5812 * converter.h: move friend bool operator< to non friend and after
5815 * combox.h: small cleanup
5817 * buffer.h: doxygen, remove unused constructor, move inclas inlies
5818 to inlines after class def.
5820 * buffer.C (pop_tag): use string operations instead of strcmp
5822 * bmtable.c: doxygen, small cleanup
5824 * LaTeX.h: remove friend operator==
5826 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
5838 * BufferView_pimpl.C:
5839 * BufferView.[Ch]: remove cruft
5841 2001-02-14 Juergen Vigna <jug@sad.it>
5843 * lyxfunc.C: removed #if 0 unused code
5845 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
5847 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
5849 * text2.C (SetSelection): added a BufferView * parameter
5851 2001-02-13 Juergen Vigna <jug@sad.it>
5853 * lyxfunc.C (Dispatch): fixed protected blank problem.
5854 * BufferView2.C (protectedBlank): added LyxText * parameter.
5856 * tabular.C (AppendRow): forgot to set row_info of newly added row.
5857 (AppendColumn): same as above for column_info.
5859 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
5860 (moveCursorUpdate): use a LyXText param for support of InsetText.
5862 * BufferView_pimpl.C (doubleClick): added support for InsetText.
5863 (tripleClick): ditto
5865 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
5867 * BufferView_pimpl.C (update): added LyXText param to honor insets.
5869 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
5871 * text2.C (SetSelection): set correct update status if inset_owner
5874 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
5876 * tabular.C: remove some commented code.
5878 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
5880 * BufferView_pimpl.C: call hideSplash()
5882 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
5885 * bibforms.h: remove
5888 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
5889 add LFUN_CHILD_CREATE
5891 * counters.h: fix tiny typo
5896 * lyx.C: move splash to frontends/xforms/
5898 * lyx_gui_misc.C: move Include and Bibform to frontends
5900 * lyxvc.h: clarify comment
5902 * vspace.C: tiny housekeeping
5904 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
5906 * text.C (PrepareToPrint): RTL Fix.
5908 * paragraph.C (GetUChar): New method.
5909 (String): Use GetUChar.
5911 * buffer.C (asciiParagraph): Use GetUChar.
5913 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
5915 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
5917 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
5920 * buffer.C: rename to getLogName(), handle
5921 build log / latex log nicely
5923 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5926 * MenuBackend.h: remove support for reference menuitem type.
5928 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
5930 * BufferView_pimpl.C: housekeeping
5931 * BufferView_pimpl.h:
5936 * minibuffer.h: move Timeout GUI-I
5938 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
5940 * lyxrc.C (read): Update converters data-structures.
5942 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
5944 * LaTeX.h (operator!=): add operator != for Aux_Info
5946 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
5948 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
5950 * LaTeXLog.C: deleted, useful code moved to Buffer
5953 * buffer.C: new function getLatexLogName()
5959 * lyxfunc.C: use frontends for LaTeX and VC logs
5961 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5963 * LaTeX.h: yet another std:: that Allan forgot.
5965 * Variables.C (set): renamed from isset(), because this clashes
5966 with some HP-UX macros (grr).
5968 2001-02-06 Allan Rae <rae@lyx.org>
5970 * LaTeX.h: Another bug fix. Missing std:: this time.
5972 2001-02-04 Allan Rae <rae@lyx.org>
5974 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
5975 floats problem. I've left it commented out because it's not quite
5976 correct. It should also test that the current object is a table or
5977 figure inset. But I haven't gotten around to figuring out how to do
5978 that. I *think* it'll be something like: "table" == inset.type()
5980 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
5983 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
5985 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
5986 all the citation/databases/styles in the auxilary file.
5987 (run): Rerun latex if there was a babel language error.
5989 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
5991 * text.C (Backspace): Preserve the font when changing newline char
5993 (BreakParagraph): If the cursor is before a space, delete the space.
5995 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
5997 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
5999 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
6000 new argument (code).
6001 (ChangeCitationsIfUnique): New method.
6003 * paragraph.C (GetPositionOfInset): Handle bibkey.
6005 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6007 * BufferView_pimpl.h: change type of Position::par_pos to
6008 LyXParagraph::size_type.
6010 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
6012 * BufferView_pimpl.C (savePosition, restorePosition): Write
6013 messages to minibuffer.
6015 2001-01-28 José Matos <jamatos@fep.up.pt>
6017 * buffer.C (makeDocBookFile): adds support for document language.
6018 A silly restriction on the name of LatexCommand types where removed.
6019 Added support for CDATA sections, allows to chars unescaped, used
6020 among others in code, to avoid escape < and >.
6022 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
6024 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
6025 saved positions instrad of a stack. Furthermore, a position is
6026 stored using paragraph id/paragraph position.
6028 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
6029 Remove LFUN_REF_BACK.
6031 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
6033 * converter.C (dvipdfm_options): New method.
6035 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
6037 * vspace.C (isValidLength): Fix for empty input string.
6039 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6041 * LyXAction.C (init): change description of LFUN_FIGURE to
6044 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6046 * LaTeX.C: add using directive
6048 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
6050 * MenuBackend.C (expand): Fix the sorting of the formats.
6052 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
6054 * lyx_main.C: tiny error message fix
6056 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6058 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
6059 calling fl_initialize(). This fixes the problem with ',' as
6060 decimal separator in text files.
6062 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
6064 * trans.C (process): Fix the keymap bug.
6066 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
6068 * LaTeX.C (scanAuxFiles): New method. Provides support for
6069 multiple bibliographies (when using the bibtopic/bibunits pacakges).
6070 (scanLogFile) Scan for "run BibTeX" messages.
6072 * buffer.C (makeLaTeXFile): Do not load the ae package when using
6073 OT1 font encoding. Also, load the aecompl package if the ae
6076 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
6078 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6080 * texrow.C (increasePos): turn two error messages into debug
6083 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
6085 * LaTeX.C (scanAux): Handle the \@input macro.
6086 (runBibTeX): Use scanAux().
6088 * language.C (latex_options_): New field.
6090 * LaTeXFeatures.C (getMacros): Add language macros.
6092 * buffer.C (makeLaTeXFile): Small fix.
6094 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6096 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
6098 * text2.C: add a using directive.
6100 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
6105 * lyxfunc.C: kill LyXBell.
6107 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
6109 * text.C (IsBoundary): Remove the error message
6111 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
6113 * lyxrc.C (setDefaults): Correct initialization value for
6116 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
6118 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
6121 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
6124 * src/LyXAction.C: Added reference-next.
6126 * text.C (InsertChar): Use contains instead of strchr.
6128 * lyx_cb.C (MenuInsertLabel): Enable default value code.
6130 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
6132 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
6133 alignment commands (when needed).
6135 * text.C (InsertChar): Add ':' to number separator chars.