1 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8 * undo_funcs.C: some cleanups. Use shared_ptr
9 and a template for the undo stacks.
12 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
22 * text2.C: use key_state/mouse_state
24 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
26 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
29 * chset.C: change include order
30 (loadFile): use boost regex and get rid of LRegex and LSubstring
32 * Makefile.am (BOOST_LIBS): new variable
35 * LaTeX.C: change include order.
36 (scanAuxFile): use boost regex and get rid of LRegex and
40 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
45 * FontInfo.C: moved to frontends/xforms/
48 * FontLoader.C: moved into frontends for GUIIzation
53 * lyxfunc.C: changes from above
55 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
57 * LColor.C: remove spurious X include
64 * text2.C: move font metrics to frontends/
66 2002-05-24 Juergen Vigna <jug@sad.it>
68 * undo_funcs.C (textHandleUndo): fix the cursor selection after
69 setting the undo_cursor.
71 * ParagraphParameters.h: include local includes first.
73 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
80 * screen.C: move WorkArea into frontends/
86 * BufferView2.C: move LyXScreen into frontends/
90 * lyx_gui.C: move lyxlookup into frontends/xforms/
92 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
105 * bufferview_funcs.C:
118 * vc-backend.C: move LyX/XFormsView into frontends/
120 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
132 * text2.C: move Painter to frontends/
134 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
136 * buffer.C: comment out some some code that depend upon lyx_format
139 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
140 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
142 * buffer.h (NO_COMPABILITY): turn off compability
144 * ColorHandler.C: include scoped_array.hpp
146 * font.C: Use more specific smart_ptr header.
149 * ShareContainer.h: ditto
153 * BufferView_pimpl.h: ditto
154 * ColorHandler.h: ditto
156 * kbmap.C (defkey): change call to shared_ptr::reset
158 2002-05-21 Juergen Vigna <jug@sad.it>
160 * buffer.C (insertErtContents): fix to insert ert asis if it is
161 non empty. Skip it completely if it contains only whitespaces.
163 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
165 * BufferView_pimpl.C:
166 * BufferView2.C: clear selection on paste (bug 393)
168 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
170 * DepTable.C: include ctime
172 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
174 * buffer.C (latexParagraphs): Add new argument (moving_arg).
176 2002-05-14 Juergen Vigna <jug@sad.it>
178 * text.C (breakParagraph): fixed function to honor the keepempty
179 layout in the right maner and also to permit the right breaking
180 algorithm on empty or non empyt keepempty paragraphs.
182 * paragraph.C (breakParagraph): we have to check also if the par
183 is really empty (!size()) for isempty otherwise we do the wrong
186 2002-05-10 Juergen Vigna <jug@sad.it>
188 * buffer.[Ch] : The following are only changes to the ert
189 compatibility read reading old LaTeX layout and font stuff and
190 convert it to ERTInsets.
192 * buffer.h: added isErtInset().
194 * buffer.C (struct ErtComp): add a fromlayout bool to check
195 if we're inside a LaTeX layout.
196 (isErtInset): new helper function.
197 (insertErtContents): look for other ert insets before this one
198 and insert the contents there, so that we don't have subsequent
199 ERT insets with nothing between them. This way we create only one
200 inset with multiple paragraphs. Also check if we don't insert only
201 spaces ' ' as they are ignored anyway afterwards in the .tex file
202 so if we have only spaces we will ignore this latex part in the
204 (parseSingleLyXformat2Token \\layout): better compatibility when
205 reading layout-latex stuff.
206 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
208 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
209 stuff after reading the inset only get the information back from
212 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
214 * buffer.C (makeLaTeXFile): Put language options after loading babel.
216 * LaTeXFeatures.C (getBabelOptions): New method.
218 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
220 * BufferView_pimpl.C (Dispatch): work around missing argument for
223 2002-05-08 Juergen Vigna <jug@sad.it>
225 * text.C (leftMargin): handle paragraph leftindent.
227 * paragraph.C (writeFile): write the new \\leftindent tag.
228 (validate): handle leftindent code.
229 (TeXEnvironment): handle paragraphleftindent code again.
231 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
233 * buffer.C (parseSingleLyXformat2Token): added compatibility code
234 for paragrap_extra indent code and new token \\leftindent.
235 (latexParagraphs): handle the leftindent as environment.
237 * ParameterStruct.h: added leftindent support.
239 * ParagraphParameters.C (leftIndent): added support functions for
240 the paragraph left indent.
242 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
245 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
247 * paragraph.C (isRightToLeftPar): Return false for a paragraph
250 * text.C (computeBidiTables): No bidi in insetERT.
252 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
255 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
257 * version.C.in: pre 5
259 2002-05-02 José Matos <jamatos@fep.up.pt>
260 * buffer.C (makeDocBookFile): white space changes, add newline to
262 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
264 * tabular.C (docBook): fix typo.
266 2002-05-03 Juergen Vigna <jug@sad.it>
268 * screen.C (drawFromTo): recalculate the rowpointer if we had a
269 change in LyXText as we can not be sure it was not freed.
270 (drawOneRow): remove unused code.
272 * text.C (drawInset): redo the calculation of the need_break_row as
273 it could have a row which was already freed.
274 (draw): look at the return value of drawInset and return false if
275 it also returned false.
276 (paintRowText): look at the return value of draw and return false if
277 it also returned false.
279 * lyxtext.h: added bool return type to drawInset() and draw() so that
280 if we have a change in the row so that the rowbreak has to be redone
281 we abort drawing as it will be called again.
283 2002-05-02 Juergen Vigna <jug@sad.it>
285 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
286 a change in the maintext also if we're inside an inset.
287 (Dispatch): set the cursor again after a break line and after the
288 screen has been updated as it could be we're in a different row.
290 * text2.C (fixCursorAfterDelete): check to make sure we don't request
291 to set the cursor behind the pargraph with > size().
292 (setCursor): check also for the same paragraph when checking where
293 to put the cursor if we have a NFR inset.
295 * buffer.C (parseSingleLyXformat2Token): move the compatibility
296 parts of layout read further up as it still was in the wrong
299 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
301 * screen.C (drawFromTo): change sine fullRebreak always return
304 * buffer.C (parseSingleLyXformat2Token): reindent some
306 * BufferView_pimpl.C (update): change since fullRebreak always
308 (Dispatch): git rid of the last hardcoded "Standard"s.
310 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
312 * text2.[Ch] (fullRebreak): make it return void now that we always
315 2002-04-30 Juergen Vigna <jug@sad.it>
317 * buffer.C (parseSingleLyXformat2Token): reset the font before the
318 ert compatibility check for "latex" layout.
320 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
322 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
323 minipages: use col% instead of p%, and also use the current font.
324 (makeLaTeXFile): Fix use babel condition.
325 (parseSingleLyXformat2Token): Correct font when reading old floats.
327 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
329 * BufferView_pimpl.C (Dispatch): Check that float type exists when
330 inserting list of floats.
332 2002-04-25 Herbert Voss <voss@lyx.org>
334 * MenuBackend.C (expand): don't add the graphics extensions to the
337 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
339 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
340 non-existing layout, do not complain if it was the default layout
341 of the original class (bug #342)
343 2002-04-24 Juergen Vigna <jug@sad.it>
345 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
346 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
348 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
350 * buffer.C (getBibkeyList): If using \bibliography, return the
351 option field with the reference itself. Enables us to provide natbib
352 support when using \bibliography.
354 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
356 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
358 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
359 natbib is provided by the LaTeX class.
361 2002-04-23 Juergen Vigna <jug@sad.it>
363 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
366 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
368 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
370 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
372 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
373 ensuremath around textordmasculine, textordfeminine and
376 2002-04-19 Juergen Vigna <jug@sad.it>
378 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
379 reinitializing the buffer otherwise row-dimensions may be wrong.
380 (update): reset also the selection cursors if they do exits otherwise
381 their x/y positions may be wrong.
383 * text2.C (cursorDown): don't enter the inset if we came from a row
384 above and are one row over the inset.
386 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
387 really leaving an inset.
389 2002-04-18 Juergen Vigna <jug@sad.it>
391 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
392 of the selected paragraph does not have the selected layout also if
395 * text2.C (setLayout): fixed bug which did not change last selected
398 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
399 changed the read and substituted \\end_float with \\end_inset!
401 * BufferView_pimpl.C (cursorPrevious):
402 (cursorNext): fixed to make it work with rows heigher than the work
403 area without moving the cursor only the draw of the row.
404 (workAreaMotionNotify): fix jumping over high rows.
406 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
408 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
411 2002-04-16 Juergen Vigna <jug@sad.it>
413 * text2.C (setCursor): set also the irow().
414 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
416 (cursorDown): support for locking an inset if the x_fix value goes
417 inside it. That way I can transverse insets too with cursor up/down.
419 * lyxrow.h: added irow helper function same as other (i) functions.
421 * BufferView_pimpl.C (cursorPrevious):
422 (cursorNext): fixed for insets!
424 2002-04-15 Juergen Vigna <jug@sad.it>
426 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
427 position otherwise it is wrong in some cases.
429 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
430 inside the inset before the call.
432 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
434 * buffer.[Ch] (getBibkeyList): make it const.
436 2002-04-12 Juergen Vigna <jug@sad.it>
438 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
440 * text2.C (getCursorX): new helper function
441 (setCursor): compute also ix_
442 (setCursorFromCoordinates): set also ix.
444 * lyxcursor.h: added ix_ and helper functions.
446 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
448 * buffer.C (insertStringAsLines): dont break paragraph if the this
449 paragraph is inside an inset which does not permit it!
451 * text.C (breakParagraph): honor keepempty flag and break the paragraph
452 also with no chars on this paragraph.
453 (paintRowText): only paint stuff if it's inside the workarea!
455 * paragraph.C (breakParagraph): honor keepempty flag and break the
456 paragraph always below not above.
458 * BufferView2.C (unlockInset): update the paragraph layout on inset
459 unlock as we changed paragraph in such a case.
461 * lyxfind.C (LyXFind): clear the former selection if not found!
463 * text2.C (insertInset): freeze Undo after setUndo so that it is not
464 again called in insertChar().
466 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
467 an inset which uses the whole row!
468 (rightMargin): ditto.
469 (insertChar): force a rebreak if we inserted an inset!
471 2002-03-28 Herbert Voss <voss@lyx.org>
473 * lyxlength.[Ch]: add inBP() to get the right PS-point
474 units (BigPoint). With inPixels we have rounding errors
476 2002-04-11 Juergen Vigna <jug@sad.it>
478 * text2.C (setCursorFromCoordinates): set iy to the right value.
479 (setCursor): add check if row->previous exists!
481 * buffer.C (parseSingleLyXformat2Token): reset font after read of
482 an old float_type as this was the case in the old code!
484 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
486 * BufferView2.C (showLockedInsetCursor): use iy
487 (fitLockedInsetCursor): ditto
489 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
490 locked insets as there we have the right value now.
492 * lyxcursor.C: added iy_ variable and iy functions to set to the
493 baseline of cursor-y of the locked inset.
495 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
496 (setCursor): fixed for insets which need a full row.
498 * text.C (rowLastPrintable): don't ignore the last space when before
499 an inset which needs a full row.
500 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
501 as last character of a row when before a inset which needs a full row.
503 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
505 * version.C.in: update date
507 * text2.C (fullRebreak): try to always return true and see what
510 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
512 * MenuBackend.C (expand): use Floating::listName
514 * FloatList.C (FloatList): add listName argument to the built-in
517 * Floating.[Ch]: add listName member, which is the 'List of XXX'
518 text associated with the float.
520 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
522 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
524 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
526 * ShareContainer.h: add a couple of missing typenames.
528 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
530 * lyxrc.C (getDescription): use _() correctly rather than N_().
532 2002-03-28 Herbert Voss <voss@lyx.org>
534 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
535 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
537 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
539 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
540 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
542 2002-03-29 Juergen Vigna <jug@sad.it>
544 * lyxfunc.C (dispatch): add a missing fitCursor call.
546 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
547 it was scrolled by a cursor move, so return the bool status.
549 * BufferView.C (fitCursor): return the bool flag also to the outside
550 world as this is needed.
552 * screen.C (toggleToggle): don't subtract the offset if it's positive.
554 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
555 call the edit() as it is not needed (and wrong) IMO.
556 (workAreaButtonPress): set the screen_first variable before evt.
557 unlock the inset as this may change screen_first and then we have
558 a wrong y position for the click!
560 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
562 * MenuBackend.C (expand): another translation that I missed
564 2002-03-28 Juergen Vigna <jug@sad.it>
566 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
568 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
570 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
572 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
574 * MenuBackend.C (expand): fix export/view/update when there is no
577 2002-03-27 Herbert Voss <voss@lyx.org>
579 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
582 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
584 * bufferview_funcs.C (currentState): only show paragraph number
585 for is DEVEL_VERSION is set.
587 * lyxfunc.C (dispatch): put warning in INFO channel
589 * MenuBackend.C (expand): translate the name of floats
591 * FloatList.C (FloatList): mark the float names for translation
593 * converter.C (convert): use LibScriptSearch
595 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
597 * MenuBackend.C (defaults): fix default menu (we might as well get
600 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
602 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
605 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
607 * lyxvc.C: reorder includes.
609 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
611 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
614 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
616 * CutAndPaste.C: change layouts earlier on paste
617 to avoid crashing when calling getFont()
619 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
621 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
624 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
626 * WorkArea.C: remove 'Pending' debug message.
628 * most files: ws cleanup
630 * buffer.[Ch]: ws changes
632 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
634 2002-03-21 Juergen Vigna <jug@sad.it>
636 * tabular.C (SetMultiColumn): collapse also the contents of the
637 cells and set the last border right. Added a Buffer const * param.
639 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
641 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
644 2002-03-19 Juergen Vigna <jug@sad.it>
646 * text2.C (clearSelection): reset also xsel_cache.
648 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
649 where it needs to be called (John tells us to do so too :)
650 (selectionLost): reset sel_cache.
652 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
654 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
656 * text2.C (setCursorIntern): put debuging code in INSETS channel
658 2002-03-19 André Pönitz <poenitz@gmx.net>
660 * lyxfunc.C: tiny whitespace change
662 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
664 * ToolbarDefaults.C (init):
665 * LyXAction.C (init):
667 * BufferView_pimpl.C (Dispatch):
668 * lyxfunc.C (dispatch): remove LFUN_DEPTH
670 2002-03-19 Allan Rae <rae@lyx.org>
672 * exporter.C (Export): removeAutoInsets before doing anything else.
673 While I've just introduced a dependency on BufferView this really is
674 the best place to clean the buffer otherwise you need to cleanup in
675 a dozen places before calling export or cleanup in a dozen functions
678 * converter.C (runLaTeX):
679 (scanLog): Better handling of removeAutoInsets and screen updates.
681 * lyxfunc.C (dispatch): small whitespace changes
683 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
685 * WorkArea.C (C_WorkAreaEvent): return a value.
686 (event_cb): return 1 if we handled the event, 0 otherwise.
688 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
690 2002-03-18 Juergen Vigna <jug@sad.it>
692 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
693 (GetAdditionalWidth): ditto.
697 * BufferView2.C (copy): use getLyXText() so that we do it inside an
698 inset if we're there actually (probably not used right now but this
699 is the direction to go for unifying code).
700 (paste): disable code to clear the selection.
702 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
703 inside an InsetText and move the check further up as it is in the
706 * text2.C (pasteSelection): set a selection over the pasted text.
708 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
710 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
711 and libgraphics to build on Cygwin.
713 2002-03-15 Juergen Vigna <jug@sad.it>
715 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
716 inserting an Inset into the paragraph. I know this is not the best
717 fix but we already use current_view in CutAndPaste so we will remove
718 all of it's using at the same time.
720 * buffer.C (sgmlError): deactivated function till it is rewritten in
721 the right mode, now it can create problems.
723 * paragraph.C (isLineSeparator): check if getInset returns != 0,
726 2002-03-14 Juergen Vigna <jug@sad.it>
728 * undo_funcs.C (textHandleUndo): do the right thing when updating
729 the inset after the undo/redo.
731 * text2.C (setCursor): just some testcode for #44 not ready yet.
733 * undo_funcs.C (textHandleUndo): set the next() and previous()
734 pointers of the paragraph to 0 before deleting otherwise we have
735 problems with the Paragraph::[destructor].
737 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
738 on a paragraph insertion.
740 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
742 * buffer.C (asciiParagraph): use += operator for char append to
745 * paragraph.C (getFontSettings): compare >= not just >
746 (highestFontInRange): ditto
749 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
751 * paragraph.C: change several algorithm to be more appripriate for
752 the problem domain. This is lookip in FontList and in the InsetList.
754 2002-03-13 André Pönitz <poenitz@gmx.net>
757 * LyXAction.C: remove unused LFUN_MATH_MACROARG
759 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
764 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
766 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
768 * Painter.C (display): anon helper function, adjust code for this
770 (pixmap): remove function.
772 * Painter.h: remove private display variable.
774 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
776 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
778 * WorkArea.[Ch]: remove figinset_canvas cruft.
780 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
782 * lyxtextclass.C (operator): add one item cache optimization.
784 * bufferlist.h: doxy changes
786 * bufferlist.C: ws changes
788 * DepTable.[Ch] (ext_exist): place const in the right spot.
790 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
792 (workAreaExpose): call resizeInsets when the with BufferView changes.
793 (Dispatch): adjust for protectedBlank removal
794 (specialChar): call updateInset if the insert went ok.
796 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
799 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
801 * BufferView.h: doxy change
803 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
805 * lyxtextclass.C (operator[]): remove non-const version
806 (defaultLayout): remove non-const version
808 2002-03-12 Juergen Vigna <jug@sad.it>
810 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
811 did resize the LyXText too.
813 * buffer.C (readLyXformat2): set layout information on newly allocated
816 * tabular.C (OldFormatRead): set layout information on the paragraph.
818 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
820 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
822 2002-03-11 Juergen Vigna <jug@sad.it>
824 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
826 (resizeCurrentBuffer): force also the insets to resize themselfes.
827 (moveCursorUpdate): fixed up for InsetText.
829 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
832 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
833 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
834 value of Dialogs::tooltipsEnabled().
835 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
837 2002-03-08 Juergen Vigna <jug@sad.it>
839 * BufferView_pimpl.C (updateInset): update inset inside inset also
840 if it isn't inside theLockingInset().
842 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
844 * buffer.C (asciiParagraph): redo some of the word and line length
846 (getLists): look for Caption instead of caption.
848 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
850 * buffer.C (Buffer): initialize niceFile to true
853 (makeDocBookFile): make sure niceFile is true on exit
855 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
857 * buffer.C (makeLaTeXFile): escape ~ in \input@path
859 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
861 * LyXSendto.C: remove.
862 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
863 * lyx_gui.C: remove now-redundant comment.
864 * ColorHandler.h: remove forward declaration of class WorkArea.
865 * lyxfunc.C: remove #include "WorkArea.h".
867 2002-03-07 Juergen Vigna <jug@sad.it>
869 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
870 got moved away with the DEPM and also set the inset_owner always
871 right which before could have been omitted.
873 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
875 * buffer.C (parseSingleLyXformat2Token): use default layout is the
876 wanted layout is not found.
878 2002-03-07 Juergen Vigna <jug@sad.it>
880 * CutAndPaste.C (cutSelection): another layout settings forgotten.
882 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
884 * paragraph.C (breakParagraph): use default layout not layout of
886 (Paragraph): clear ParagraphParameters.
888 2002-03-06 Juergen Vigna <jug@sad.it>
890 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
891 otherwise it would not be a valid lenght. Fixed a special case in
892 the minipage compatibility read where we end the document with a
895 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
896 was set as it could be 0 for InsetTexts first entry.
898 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
900 * paragraph.C (writeFile): if layout is empty write out
903 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
904 file without named layout we set layout to defaultLayoutName().
906 2002-03-06 Juergen Vigna <jug@sad.it>
908 * CutAndPaste.C (copySelection): set layout for new paragraph.
910 * text.C (prepareToPrint): leave ERT inset left aligned
911 (leftMargin): don't indent paragraphs inside ERT insets
913 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
915 * paragraph.C (breakParagraph): dont call clear do the work manually
917 * paragraph.[Ch] (clear): remove function
919 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
921 * paragraph.C (Paragraph): dont call clear, the work has already
924 * lyxtextclass.C (operator): assert if n is empty
926 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
927 work manually instead.
929 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
931 * BufferView_pimpl.C: protect selectionLost against text == 0
933 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
935 * text.C (breakParagraph): fix a setting layout to '0' problem.
937 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
939 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
940 final location of file, for the included files, and graphics.
942 2002-03-05 Juergen Vigna <jug@sad.it>
944 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
946 2002-03-04 Juergen Vigna <jug@sad.it>
948 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
950 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
951 last column of multicolumn cells.
952 (SetWidthOfMulticolCell): recalculate NMC and real columns.
954 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
956 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
957 file if it doesn't go to a temporary file.
959 * buffer.C (sgmlOpenTag):
960 (sgmlCloseTag): remove extra newline insertion.
962 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
964 * text.C (getRowNearY): comment out debug msg
966 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
968 * text2.C: first -> first_y
970 * text.C (getRowNearY): add some attemts at a possible
971 optimization, not working.
973 * tabular.[Ch]: add BufferParams to several function so that newly
974 created paragraph can be initialized to he default layotu for the
977 * tabular-old.C (ReadOld): add buf->params to call of Init
979 * screen.C: rename text->first to text->first_y
981 * paragraph.C (breakParagraph): always set layout in the broken
984 * lyxtextclass.C (Read): remove lowercase
987 (delete_layout): ditto
989 * lyxtext.h: rename first -> first_y
991 * lyxlayout.C (Read): remove lowercase
994 (obsoleted_by): ditto
996 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
998 * buffer.C (insertErtContents): add params are to InsetERT
999 (parseSingleLyXformat2Token): add code to check if a paragraphs
1000 layout really exist.
1001 (parseSingleLyXformat2Token): add params to several inset
1003 (asciiParagraph): remove lowercase, do the layout comparisons with
1006 * BufferView_pimpl.C (cursorNext): first -> first_y
1007 (resizeCurrentBuffer): first -> first_y
1008 (updateScrollbar): first -> first_y
1009 (scrollCB): first -> first_y
1010 (workAreaMotionNotify): first -> first_y
1011 (workAreaButtonPress): first -> first_y
1012 (checkInsetHit): first -> first_y
1013 (cursorPrevious): first -> first_y
1014 (cursorNext): first -> first_y
1015 (Dispatch): add buffer_->params to severl inset contructors
1017 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
1019 * lyxlayout.C (Read): remove some debug info that I forgot.
1021 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
1022 clean up the code slightly.
1023 (makeLinuxDocFile): ditto
1024 (makeDocBookFile): ditto
1026 * text2.C: layout as string
1028 * text.C: layout as string
1030 * paragraph_pimpl.C: layout as string
1032 * paragraph.[Ch]: layout as string
1034 * lyxtextclasslist.[Ch]: layout as string
1036 * lyxtextclass.[Ch]: layout as string
1038 * lyxtext.h: layout as string
1040 * lyxlayout.[Ch]: layout as string
1042 * lyx_cb.C: layout as string
1044 * bufferview_funcs.C: layout as string
1046 * bufferparams.C: layout as string
1048 * buffer.C: layout as string
1050 * LyXView.[Ch]: layout as string
1052 * LaTeXFeatures.[Ch]: layout as string
1054 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
1056 * BufferView_pimpl.C: change current_layout to string, remove
1061 (workAreaButtonRelease): layout as string
1063 * BufferView2.C (unlockInset): adjust
1065 * vspace.C (asLatexCommand): use an explict temp variable.
1067 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
1069 * Makefile.am: use FRONTEND_*
1071 2002-03-01 Juergen Vigna <jug@sad.it>
1073 * tabular.C (SetWidthOfMulticolCell): changed to something better
1074 I hope but still work in progress.
1075 (recalculateMulticolumnsOfColumn): renamed function from
1076 recalculateMulticolCells as it is more appropriate now.
1077 (SetWidthOfCell): calculate multicols better.
1079 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1081 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
1083 * lyxfunc.C (processKeySym): print sequence also if it is
1084 `deleted' (complete)
1086 * kbsequence.C (print): print sequence even if it is deleted
1087 (complete would be a better word, actually).
1089 * lyxfunc.C (dispatch): print complete options after a prefix key
1091 * vspace.C (asLatexCommand): rewrite in a slightly different form.
1093 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
1095 * text2.C (setCharFont): eliminate setCharFont code duplication.
1097 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1099 * BufferView_pimpl.C (Dispatch): remove bogus handling of
1100 LFUN_TABULAR_FEATURE (bug #177)
1102 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
1104 * Makefile.am: remove figure.h
1106 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
1108 * Bufferview_pimpl.C:
1120 * text2.C: remove #include "lyx_gui_misc.h".
1122 * LaTeX.C: added #include <cstdio>
1124 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1126 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
1127 that the paragraph following this one can have.
1129 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
1131 * vspace.C (asLatexCommand): fix bogus gcc warning
1133 * Makefile.am (lyx_SOURCES): remove vms_defines.h
1135 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
1137 * text2.C (setLayout): get rid of redundant code
1139 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
1141 * text2.C (incDepth): make sure depth cannot be increased beyond
1144 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
1146 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
1147 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
1149 * PainterBase.h (image):
1150 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
1153 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
1157 * BufferView_pimpl.C:
1158 * BufferView_pimpl.h:
1178 * sp_spell.C: remove fig inset, and the crap house of
1179 cards that follows it
1181 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
1187 * nt_defines.h: move .h into support/
1189 * vms_defines.h: remove
1191 * WorkArea.C: add space in debug output
1195 * buffer.C: add WITH_WARNINGS
1199 * bufferlist.C: s/retrive/retrieve/, add docs
1210 * lyxgui.C: add ID to X error handler
1212 * lyxtestclass.c: fix typo
1214 2002-02-26 Juergen Vigna <jug@sad.it>
1216 * tabular_funcs.C (write_attribute): changed so that some default
1217 attributes are not written at all.
1218 (getTokenValue): set default values before trying to read the
1219 value so we have the return value always set as default if we don't
1220 find the token we search for.
1222 * tabular.C (Write): write bools as bools not as strings!
1224 2002-02-22 Juergen Vigna <jug@sad.it>
1226 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
1227 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
1229 * text.C (leftMargin): don't add an indent for paragraphs inside
1230 tabular cells (fix #208).
1232 2002-02-21 José Matos <jamatos@fep.up.pt>
1234 * tabular.C (docBook): fixed support for long tables.
1236 2002-02-20 Juergen Vigna <jug@sad.it>
1238 * text2.C (getFont): get the drawing font of the Inset if this
1239 paragraph is inside an inset (only important for InsetERT for now).
1241 * buffer.C (insertErtContents): use new lanugage params in ERT
1244 * CutAndPaste.C: commenting out seemingly uneeded code.
1246 2002-02-19 Allan Rae <rae@lyx.org>
1248 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
1249 Iterators might be simple to use but they also get invalidated.
1250 (removeAutoInsets): renamed saved cursor tracking variables and added
1251 some comments to clarify what everything does.
1253 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
1260 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
1261 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
1264 * vc-backend.h: remove #include "support/syscall.h"
1268 * converter.C: rearrange #includes in Lars' approved fashion.
1270 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
1271 forward declare class Timeout in the header file.
1273 * XFormsView.C: changes due to the above.
1275 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
1278 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
1279 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
1281 2002-02-18 José Matos <jamatos@fep.up.pt>
1283 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
1286 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
1288 * a lot of small ws changes
1289 * add a lot of using std::XXX
1290 * use std construcs some places where approp.
1291 * use some exisint stuff from lyxfunctional where approp.
1292 * Make file changes to use partial linking (lets test this now...)
1294 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
1298 remove #include "support/syscontr.h" as it's redundant. Always has been.
1306 change Systemcalls::System to Systemcalls::Wait and
1307 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
1308 No change of functionality, just reflects the stripped down Systemcalls
1311 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
1313 * debug.[Ch]: add a GRAPHICS type to the enum.
1315 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1317 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
1319 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
1322 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1324 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
1325 match the changes below.
1327 * text2.C (toggleInset): if there is not editable inset at cursor
1328 position, try to see if cursor is _inside_ a collapsable inset
1331 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1333 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
1334 document menu has a nice checkbox
1336 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1338 * lyxlength.C (asLatexString): change PW to output as percent of
1341 * lengthcommon.C: change '%' to 't%'
1343 * lyxfunc.C (dispatch): a few comments from Martin
1345 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
1349 * BufferView_pimpl.h:
1350 * BufferView_pimpl.C: clear our selection when X tells us we've lost
1353 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1355 * vspace.C (inPixels): fix compiler warning
1357 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1359 * lyxfunc.C (getStatus): fix status message for disabled commands.
1361 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
1363 * BufferView_pimpl.C: fix crash on close buffer
1364 during selection (#227)
1366 2002-01-27 Herbert Voss <voss@lyx.org>
1368 * buffer.C: link old Figure to new graphic inset
1370 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
1372 * FontLoader.C (getFontinfo): Change the latex font names in order
1373 to match the names of type1inst.
1375 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1377 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
1379 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
1382 (remove_files_with_extension): ditto
1383 (remove_file): ditto
1386 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
1387 document is smaller than the work area height. Do not initialize
1388 static variables to 0.
1390 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1392 * lyx_gui.C (init): give the toolbar tooltips a normal font.
1394 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
1395 LFUN_LAYOUT_PARAGRAPHS.
1397 * tabular.C (GetCellFromInset): new method. Finds an inset in a
1398 tabular. It is possible to provide a possible cell, which will
1399 typically be the actcell from the corresponding insettabular
1401 * lyxfunc.C (getStatus): small cleanup; disable
1402 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
1405 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1407 * tabular.C (Validate): remove broken optimization (fixes bug #201)
1409 * paragraph.C (startTeXParParams):
1410 (endTeXParParams): new methods. The LaTeX code to
1411 start/end paragraph formatting
1412 (simpleTeXOnePar): call startTeXParParams also when paragraph is
1413 empty (fixes bug #200)
1415 * vspace.C (inPixels): adapt to the change below
1416 (inPixels): [later] more cleanups (remove unused variables)
1418 * lyxlength.C (inPixels): change to use a width and a height as
1421 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1423 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
1424 Replaced with \paperwidth
1426 * DepTable.C (insert): add std:: qualifier
1428 2002-01-18 Allan Rae <rae@lyx.org>
1430 * text2.C (removeRow): add comment. Should other refresh_?? vars be
1433 * text.C (drawInset): Turned out I didn't know enough about how
1434 rebreaking worked. This fixes most of the redraw problems. I see
1435 an occasional cursor trail when a line is broken now and the cursor
1436 placement can seem out by a few pixels also after a rebreak.
1438 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1440 * buffer.C (parseSingleLyXformat2Token): update because minipage
1441 width is now a LyXLength
1443 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
1445 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
1448 2002-01-17 Juergen Vigna <jug@sad.it>
1450 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
1452 * BufferView2.C (lockInset): call edit() so that theLockingInset()
1453 is set correctly and the inset is updated correctly.
1455 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1457 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
1458 the beginning of the loop.
1460 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
1462 * lyxrc.C: improve help for use_scalable_fonts
1464 2002-01-17 Allan Rae <rae@lyx.org>
1466 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
1468 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1470 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
1471 make sure to set their inset_owner to the right value (bug #171)
1473 2001-12-12 Ben Stanley <bds02@uow.edu.au>
1476 * DepTable.C: Implement mtime checking to reduce time spent doing
1479 2002-01-16 Juergen Vigna <jug@sad.it>
1481 * tabular.C (GetAdditionalHeight): one of error fixed.
1483 * lyxrc.C (output): small fix in writing use_pspell.
1485 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1487 * sp_base.h: #include LString.h
1489 2002-01-16 Allan Rae <rae@lyx.org>
1491 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
1492 Can someone check this please?
1494 * text.C (drawInset): It was possible that p.row would be removed by
1495 breakAgainOneRow upsetting a few other settings. There may be another
1496 small tweak possible by setting need_break_row = 0 when p.row has been
1497 removed but I don't know enough about the logic here.
1499 2002-01-15 Allan Rae <rae@lyx.org>
1501 * text.C (insertChar): removed conditional truism.
1503 * BufferView2.C (removeAutoInsets): More tweaks.
1504 cur_par_prev could be a stray pointer. Check for trailing empty line
1505 in case last line was cur_par and only had an error inset on it.
1507 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1509 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
1512 * vc-backend.C (most methods):
1513 * exporter.C (Export):
1514 * converter.C (convert):
1516 * LyXSendto.C (SendtoApplyCB):
1517 * lyxfunc.C (dispatch):
1521 * lyx_cb.C (AutoSave):
1523 * BufferView_pimpl.C (MenuInsertLyXFile):
1524 * buffer.C (runChktex): use Buffer::filePath().
1526 * buffer.h: rename filename to filename_; rename filepath to
1527 filepath_ and make it private
1528 (filePath): new method
1530 * buffer.C (writeFile): use fileName()
1533 * lyx_main.C (init): fix starting of LyX when the binary is a
1534 link from so,ewhere else.
1536 * minibuffer.C: include <cctype> for isprint
1538 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1540 * buffer.C (parseSingleLyXformat2Token): changes associated with the
1541 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
1542 name clash with InsetCollapsable's width function.
1544 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
1546 * lastfiles.C: include <iterator>
1548 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1550 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
1553 * buffer.C (makeLaTeXFile): ditto.
1554 Also make loop operation more transparent.
1556 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1558 * ToolbarDefaults.C: remove trailing comma closing namespace.
1560 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
1562 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
1565 * trans.C (Load): comment out unused variable, allowed.
1567 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
1569 * minibuffer.[Ch] (append_char): new method to recieve input from the
1570 drop-down completion browser. If a key was pressed, then recieve this
1571 char and append it to the existing string.
1572 (peek_event): modify the positioning data passed to the completion
1573 browser so that it can be placed above the minibuffer rather than below.
1574 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
1576 * LyXAction.C (init): alloe error-next for readonly documents.
1578 * BufferView2.C (ChangeRefsIfUnique): use standard version of
1581 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1583 * bufferlist.C (readFile): create the buffer _after_ checking that
1586 * lyxfunc.C (verboseDispatch): fix handling of arguments
1588 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
1590 * lyxrc.C: use string::erase() instead of initializing to "".
1593 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
1595 * BufferView_pimpl.h:
1596 * BufferView_pimpl.C:
1599 * text2.C: tell X when we have made a selection for copying
1601 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1603 * BufferView_pimpl.C (MenuInsertLyXFile):
1604 * lyxfunc.C (menuNew):
1606 (doImport): add shortcuts to directory buttons
1608 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
1611 * lyxfunc.C (setStatusMessage):
1612 (getStatusMessage): new methods
1613 (getStatus):use setStatusMessage instead of setErrorMessage
1614 (dispatch): when function is disabled, set error message here
1615 [instead of in getStatus previously]
1617 * BufferView_pimpl.C (workAreaButtonRelease): update
1618 toolbar/menubar here too.
1620 2002-01-13 Allan Rae <rae@lyx.org>
1622 * BufferView2.C (removeAutoInsets): finished off earlier fix.
1623 Now seems indestructible. Remaining task is to audit all other
1624 code affected by deleteEmptyParagraphMechanism. One small quirk
1625 left is that an empty document with an error in the preamble can
1626 be made to report an error but no error box appears. I don't know
1628 (removeAutoInsets): Improved comments.
1630 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
1633 * Thesaurus.C: update for Aiksaurus 0.14
1635 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
1637 * text2.C (firstParagraph): removed member function, all uses
1638 replaces with ownerParagraph
1639 (redoParagraphs): here
1641 (toggleAppendix): here
1642 * BufferView2.C (insertErrors): here
1643 (setCursorFromRow): here
1645 2002-01-13 Allan Rae <rae@lyx.org>
1647 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
1648 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
1649 There is still a way to segfault this although you may have to do this
1650 multiple times: Have an InsetERT with an unknown command in it.
1651 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
1652 <down-arrow>, <Enter> again, View->DVI, BANG!
1654 * text2.C (setCursor):
1655 (deleteEmptyParagraphMechanism):
1656 * lyxtext.h (setCursor):
1657 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
1658 Making use of the return value may help fix other bugs.
1660 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1662 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
1664 * LyXView.C (updateMenubar): call MenuBar::update here
1665 (updateToolbar): but not here
1666 (showState): do not update toolbar/menubar
1668 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
1669 should need to care about that.
1671 * lyxfunc.C (verboseDispatch): simplify a bit
1672 (getStatus): have a version which takes a pseudoaction, and
1673 another which requires a (kb_action,string).
1675 * LyXAction.C (retrieveActionArg): make it work also when action
1676 is not a pseudo-action.
1677 (getActionName): simplify a bit
1680 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1682 * lyxfunc.C (verboseDispatch): new families of methods with
1683 several ways to specify a command and a bool to indicate whether
1684 the command name and shortcut should be displayed in minibuffer
1685 (eventually, we could extend that to a finer bitmask like
1686 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
1687 (dispatch): the pristine dispatch command which just, well,
1688 dispatchs! Note it still sets its result to minibuffer; I'm not
1691 * lyxfunc.h: remove setHintMessage
1693 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
1695 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1697 * BufferView_pimpl.C (specialChar): delete new inset if we have
1698 not been able to insert it.
1700 * kbmap.C: revert to using int instead of kb_action, since all we
1701 are dealing with is pseudo-actions.
1703 * LyXAction.C (searchActionArg): change to return int instead of
1704 kb_action, since the result is a pseudoaction.
1706 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
1708 * buffer.C (insertErtContents): Fix (partially) the font bug.
1710 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
1712 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
1713 as the other one is broken on my machine!
1715 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
1718 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
1720 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
1722 * lyxrc.[Ch]: change names and descriptions of popup font variables to
1723 reflect their actual use. Provide compatibility code for older lyxrc
1726 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
1728 change names of popup font variables in line with the changes to lyxrc.C
1730 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1732 * buffer.C (asciiParagraph): avoid outputing a word twice after
1735 * lyxrc.C (getDescription): document that document_path and
1736 template_path can be empty.
1738 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1740 * LaTeXFeatures.C (getMacros):
1741 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
1743 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
1745 * LaTeXFeatures.C (useFloat): require "float" here instead of in
1747 (getPackages): rename feature "floats" to "float". Use an array to
1748 iterate over 'simple' features (i.e. just a \usepackage). Add
1749 handling of "amsmath" (renamed from "amsstyle").
1751 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
1753 * LaTeXFeatures.C (require): Prevent duplicate entries in the
1756 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
1758 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
1759 FuncStaus::FuncStatus & FuncStaus::some_method().
1761 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
1763 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
1764 of the func_satus stuff. Edited and massaged in various ways by
1767 * lyxfunc.C (getStatus): use FuncStatus
1769 2002-01-08 Juergen Vigna <jug@sad.it>
1771 * text.C (nextBreakPoint): use function Inset::isChar().
1773 * paragraph.C (TeXOnePar): use function
1774 Inset::forceDefaultParagraphs.
1776 * buffer.C (latexParagraphs): use function
1777 Inset::forceDefaultParagraphs.
1779 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
1781 * lyx_gui.C (init): set the style of the menu popups to
1782 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
1784 2002-01-07 Juergen Vigna <jug@sad.it>
1786 * text.C (setHeightOfRow): small fix
1787 (prepareToPrint): don't look at alignment if we don't have the place
1790 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
1792 * box.C: New file. Move the Box methods and functions out of box.h,
1793 following Lars' suggestion.
1795 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
1797 * box.h: #include "support/LOstream.h", needed for inlined function.
1800 * lyxtextclasslist.C: added some using std declarations.
1802 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
1804 * box.h: make signed dimensions to allow insets wider than
1805 the screen (bug #162)
1807 * BufferView_pimpl.C: add some insetHit debug
1809 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
1811 * vc-backend.C: add FIXME
1813 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1815 * lyxfunc.C (getStatus): enable code for showing math font status
1818 2002-01-07 Juergen Vigna <jug@sad.it>
1820 * text.C (nextBreakPoint): removed debug output not needed anymore.
1822 2002-01-06 Juergen Vigna <jug@sad.it>
1824 * text.C (nextBreakPoint): fixed up this function we had this bug
1825 since ever but now hopefully we break row better.
1826 (insertChar): we have to check if an inset is the next char as it
1827 could now happen that a large inset is causing a break.
1829 2002-01-05 Juergen Vigna <jug@sad.it>
1831 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
1832 if it doesn't like to be drawed.
1834 2002-01-04 Juergen Vigna <jug@sad.it>
1836 * BufferView2.C (lockInset): forgot to set a cursor.
1838 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
1840 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
1845 * form_maths_panel.C:
1846 * form_maths_panel.h:
1847 * form_maths_panel.fd: implemented sub- and super- buttons in math
1850 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
1851 (or ^ space) to be used as in TeX (req'd by André).
1853 * lyxfunc.C: Allow ^ and _ again to be used both as
1854 super/subscript (mathed) and as themselves (in text).
1856 2002-01-03 Allan Rae <rae@lyx.org>
1858 * LyXView.C (updateWindowTitle): Setup a short icon title of either
1859 "LyX" or the filename of the current buffer if it has one. This is a
1860 modified form of John Levon's patch.
1862 * XFormsView.C (setWindowTitle): also set icon title.
1864 * LyXView.h (setWindowTitle): signature changed.
1865 * XFormsView.h (setWindowTitle): ditto.
1867 2002-01-02 Juergen Vigna <jug@sad.it>
1869 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
1871 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
1873 * screen.C (topCursorVisible): introduce a temp var for
1874 text->cursor.row(), handle the case where this row is null. (kindo
1877 * text2.C (setCursor): add a couple of asserts.
1879 * paragraph.h (inset_iterator): add -> operator
1881 * paragraph.[Ch] (autoDeleteInsets): remove member function
1883 * BufferView2.C (removeAutoInsets): rewrite to handle the old
1884 cursor pos correctly and handle inset deletion by itself.
1885 (insertErrors): move iterator declaration out of for expression
1887 * lyxtextclass.C: add <algorithm>
1889 * Makefile.am: added the new files to sources, removed layout.C
1891 * layout.C: removed file
1893 * layout.h: remove LYX_DUMMY_LAYOUT
1895 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
1899 * lyxtextclass.[Ch]:
1900 * lyxtextclasslist.[Ch]: new files
1902 * include order changes to a lot of files, also changes because of
1905 2001-12-27 Juergen Vigna <jug@sad.it>
1907 * buffer.C (asciiParagraph): more fixes.
1909 * tabular.C (ascii): make ascii export support export of only the
1910 data separated by a column-delimiter.
1911 (ascii): better support for ascii export.
1913 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
1915 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1917 * tabular_funcs.C: use a "using std::getline" instead of the
1918 previous fix from Angus (necessary for cxx + lyxstring)
1920 2001-12-24 Juergen Vigna <jug@sad.it>
1922 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
1924 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
1925 problems. First check a minipage also if we have some ert-contents
1926 (not only on par->size(), second set the right depth of the paragraph
1927 on the relink to the root-paragraph-list!
1929 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
1930 which then did not anymore update the main paragraphs on undo/redo!
1932 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1934 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
1935 code. Support all font-changing funcs (even those which are not in
1936 menu currently). Support for reporting font settings in
1937 mathed (disabled until Andre provides a function on mathed's side).
1939 * func_status.h (toggle): small helper function to set toggle
1942 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
1944 * tabular_funcs.C: getline -> std::getline
1946 2001-12-21 Juergen Vigna <jug@sad.it>
1948 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
1949 accessed and could be 0 (I couldn't generate this but it seems
1952 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
1954 * tabular_funcs.C: add LIstream.h, move write_attribute to..
1955 * tabular_funcs.h: here and include iosfwd
1957 2001-12-20 Juergen Vigna <jug@sad.it>
1959 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
1960 inside inset but undo_par was.
1962 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1964 * Thesaurus.C: always include <config.h> in sources.
1968 * box.h: do not include <config.h> in header files
1970 * text.C (paintLastRow): remove unused variable
1972 * text.C (transformChar):
1974 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
1977 * font.C (width): rewrite to use uppercase() instead of
1980 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
1982 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
1984 * lyxfind.C: clean up of find failure position change
1986 2001-12-20 Juergen Vigna <jug@sad.it>
1988 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
1990 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
1991 (TeXRow): added to LaTeX a single tabular row.
1992 (TeXLongtableHeaderFooter): added to output LT-h/f data.
1993 (Latex): simplified and finally good LT-h/f support.
1994 (various_functions): just small adaptions for LT-h/f support.
1996 * tabular_funcs.[hC]: added and moved here all not classfunctions
1999 2001-12-19 Juergen Vigna <jug@sad.it>
2001 * tabular.[Ch]: better support for longtabular options (not finished
2004 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2006 * text.C (paintLastRow): use the label font instead of the font of
2007 the last character to compute the size of *_BOX. This makes more
2008 sense and avoids a crash with empty paragraphs.
2009 Use Painter::rectangle to draw EMPTY_BOX.
2011 2001-12-19 Juergen Vigna <jug@sad.it>
2013 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
2014 the paragraphs if the replaced paragraph is not the first one!
2015 Tried to delete not used paragraphs but does not work yet so for
2016 now it's inside #ifdef's and by default off!
2018 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2020 * MenuBackend.C: include "lyx_main.h" instead of declaring
2021 lastfiles (actually was declared as LastFiles* instead of a
2024 2001-12-17 Juergen Vigna <jug@sad.it>
2026 * tabular.C (AppendColumn): applied John's fix
2028 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
2032 * BufferView_pimpl.h:
2033 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
2036 * box.h: new start of class for above
2038 * lyxfunc.C: ignore space-only minibuffer dispatches.
2039 Show the command name when it doesn't exist
2041 * minibuffer.C: don't add empty lines to the history
2043 * minibuffer.C: add a space on dropdown completion
2045 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
2047 * text.C: fix line above/below drawing in insets
2049 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
2051 * lyxlength.C (LyXLength): Initialize private variables.
2053 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
2055 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
2056 when inserting error insets.
2058 2001-12-13 Juergen Vigna <jug@sad.it>
2060 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
2061 actually sometimes the before-paragraph.
2062 (setUndo): don't clear the redostack if we're not actually undoing!
2064 2001-12-06 Juergen Vigna <jug@sad.it>
2066 * undo_funcs.C (textHandleUndo): well after John's hint I got here
2067 and fixed redoing of main paragraph, so we can use it now ;)
2069 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
2071 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2073 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
2076 2001-12-13 André Pönitz <poenitz@gmx.net>
2079 * undo_func.C: minor cleanup
2081 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2083 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
2084 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
2085 font in urw-fonts package which is marked as -urw-fontspecific and
2086 does not work (incidentally, changing the encoding in the
2087 fonts.dir of this package to -adobe-fontspecific fixes the
2090 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
2091 is a crash when undoing first paragraph (Juergen, please take a
2092 look). THis does not mean the undo fix is wrong, just that it
2095 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
2096 the (Paragraph*) version when needed instead of duplicating the
2099 * text.C (workWidth): use Inset::parOwner to find out where the
2100 inset has been inserted. This is a huge performance gain for large
2101 documents with lots of insets. If Inset::parOwner is not set, fall
2102 back on the brute force method
2104 * paragraph_pimpl.C (insertInset):
2105 * paragraph.C (Paragraph):
2106 (cutIntoMinibuffer): set parOwner of insets when
2107 inserting/removing them
2109 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
2111 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
2117 * mathed/formulabase.C:
2118 * mathed/math_cursor.[Ch]:
2119 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
2122 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
2124 * lyxlength.[Ch] (operator!=): new function
2126 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2128 * text.C (workWidth): use Inset::parOwner to find out where the
2129 inset has been inserted. This is a huge performance gain for large
2130 documents with lots of insets. If Inset::parOwner is not set, fall
2131 back on the brute force method
2133 * paragraph_pimpl.C (insertInset):
2134 * paragraph.C (Paragraph):
2135 (cutIntoMinibuffer): set parOwner of insets when
2136 inserting/removing them
2138 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
2140 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2142 * tabular-old.C (getTokenValue):
2143 * tabular.C (getTokenValue):
2144 (write_attribute): new versions for LyXLength
2145 (everywhere): adjust the use of widths
2147 * tabular.h: change the type of widths from string to LyXLength
2149 2001-12-11 Ben Stanley <bds02@uow.edu.au>
2151 * paragraph.C: fixed missing line number count when exporting
2152 Environments to LaTeX file
2154 * buffer.C: added informational message for checking line numbers.
2156 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2158 * text2.C (deleteEmptyParagraphMechanism): if there is only one
2159 paragraph, do the 'double space' part, but not the 'empty
2162 * text.C (workWidth): small optimization
2163 (getLengthMarkerHeight): use minimal size for negative lengths.
2165 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
2167 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
2169 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
2171 2001-12-11 André Pönitz <poenitz@gmx.net>
2174 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
2176 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
2178 * text2.C: keep selection on a setFont()
2180 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
2182 * lyx_cb.C: another bv->text misuse, from insert label
2184 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
2187 * kbsequence.C: re-instate nmodifier mask
2189 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
2191 * lyx_main.h: make lyxGUI private.
2193 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
2195 * lyxfind.C: place the cursor correctly on failed search
2197 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2199 * text.C (getLengthMarkerHeight): for small heights, the arrows
2200 are not always on top/bottom of the text
2201 (drawLengthMarker): smaller arrows; take the left margin in
2202 account; draw also vfills.
2204 (paintLastRow): remove special code for vfill and standard spaces,
2205 since everything is handled in drawLengthMarker now.
2207 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
2209 * buffer.C (insertErtContents): try to handle font and language
2210 interaction a bit better.g
2212 * ColorHandler.C (updateColor): change the hash to cover the whole
2213 LColor enum, ws cleanup
2214 (getGCLinepars): ditto
2215 (getGCLinepars): only lookup in the linecache once.
2217 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
2219 * iterators.C (operator++): Make the iterator more robust
2221 * BufferView2.C (removeAutoInsets): Use paragraph iterators
2223 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
2225 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
2228 * text.C: better added space drawing
2230 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
2233 * BufferView2.C: fix layout combo update on inset unlock
2235 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
2237 * Makefile.am: don't compile unused files
2239 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
2243 * LyXAction.C: remove old LFUN_LAYOUTNO
2245 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
2247 * paragraph_pimpl.h:
2248 * paragraph_pimpl.C: isTextAt() doesn't need font param
2250 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
2253 * lyxlex.C: little cleanup
2255 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
2257 * BufferView_pimpl.C: fix insertAscii for insets
2259 2001-12-05 Juergen Vigna <jug@sad.it>
2261 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
2262 set the right font on the "multi" paragraph paste!
2264 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2270 * lyxlength.C: remove out-commented code.
2286 * vc-backend.C: change "while(" to "while ("
2288 * lyxlength.[Ch]: add zero function to check if length is zero or
2290 * lyxgluelength.C: use it
2292 2001-12-05 Allan Rae <rae@lyx.org>
2294 * lyxlength.C: Attempted a fix for the abs(int) header selection.
2295 Works for 2.95.3, from what I understand of Garst's reports this should
2296 work for other g++ versions. We're screwed if the abs(int) definition
2297 changed between bugfix releases of gcc.
2299 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
2301 * text.C: fix chapter label offset !
2303 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
2306 * text.C: fix hfill at end of line, clean up
2308 2001-12-04 Juergen Vigna <jug@sad.it>
2310 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
2311 that we force an update of the inset and it's owners if neccessary.
2313 2001-12-03 Juergen Vigna <jug@sad.it>
2315 * text.C (rowLast): simplified code
2317 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
2319 * lyxfunc.C: fix show options on timeout
2321 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2323 * screen.C (topCursorVisible): scroll half a page when the cursor
2324 reached top of bottom of screen
2326 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
2328 * minibuffer.C: deactivate on loss of focus
2330 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
2332 * vspace.[Ch] (operator!=): add operator.
2334 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
2336 * BufferView_pimpl.C: refuse to open an inset when
2337 there's a selection.
2339 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
2341 * BufferView_pimpl.C: allow to click on RHS of full row insets
2343 2001-11-30 Juergen Vigna <jug@sad.it>
2345 * tabular.C (LyXTabular): add a same_id to set the same id's in the
2346 insets for undo reasons.
2348 2001-11-28 André Pönitz <poenitz@gmx.net>
2350 * vspace.[Ch]: cosmetical changes
2352 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
2362 * kbsequence.C: part re-write of old kb code
2365 * WorkArea.C: remove Lgb_bug_find_hack
2367 2001-11-30 José Matos <jamatos@fep.up.pt>
2369 * buffer.C (makeDocBookFile): add a comment to point a hack.
2370 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
2371 Fixed a double write of labels.
2373 2001-11-29 Ben Stanley <bds02@uow.edu.au>
2376 * LaTeX.h Fixed bug in LaTeX class where it would not
2377 re-run latex if no depfiles were changed, but the .dvi was removed.
2379 2001-11-28 André Pönitz <poenitz@gmx.net>
2381 * all the files from the change on 2001/11/26:
2382 use lyx::layout_type instead of LyXTextClass::size_type
2383 use lyx::textclass_type instead of LyXTextClassList::size_type
2385 2001-11-29 Juergen Vigna <jug@sad.it>
2387 * text.C: added support for paragraph::isFreeSpacing()
2389 * buffer.C: same as above
2391 * paragraph.h: inserted isFreeSpacing() function to enable
2392 FreeSpacing inside InsetERT.
2394 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
2395 of the paragraph's in the cut/copy buffer to 0!
2397 * text2.C (removeRow): remove the assert as it can!
2399 * lyxtext.h: added helper function firstRow returning firstrow and
2400 made firstrow private again.
2402 * BufferView2.C (lockInset): don't relock if we're already locked!
2404 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
2406 (removeRow): added Assert::(firstrow)
2408 * debug.C: forgot to add INSETTEXT here.
2410 2001-11-28 Juergen Vigna <jug@sad.it>
2412 * sp_spell.C (initialize): changed error text to more general
2413 spellchecker command use (not only ispell!)
2415 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
2417 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
2419 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
2421 * vspace.C: initialise lyxgluelength on failure
2423 2001-11-28 Allan Rae <rae@lyx.org>
2425 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
2426 declaration & definition that looks like a function declaration.
2428 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2430 * BufferView2.C (copy):
2431 (copyEnvironment): do not clear the selection when doing a copy.
2433 * text.C (paintFirstRow): compilation fix
2435 2001-11-27 Ben Stanley <bds02@uow.edu.au>
2437 * tabular.C (Latex): correct line count when writing latex.
2439 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
2441 * paragraph_pimpl.h:
2442 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
2445 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
2449 * LColor.C: change vfillline->added_space
2451 * text.C: add markers and text for added space
2453 * vspace.C: fix comment
2455 2001-11-28 André Pönitz <poenitz@gmx.net>
2457 * paragraph.C: whitespace changes
2458 * all the other files from the change on 2001/11/26:
2459 change *::pos_type into lyx::pos_type
2461 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
2463 * buffer.C (parseSingleLyXformat2Token): Set the language to the
2464 language of the document when inserting error insets.
2466 2001-11-26 André Pönitz <poenitz@gmx.net>
2468 * BufferView_pimpl.[Ch]:
2476 * paragraph_pimpl.[Ch]:
2479 * text2.C: reduce header dependencies, introduce type for positions
2481 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
2483 * <various>: change to use Alert.h
2485 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
2487 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
2488 when encountering an unknown token.
2489 (readLyXformat2): Show an error message if there were unknown tokens.
2491 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
2494 * BufferView_pimpl.C:
2498 * text2.C: use par->isInset()
2500 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
2502 * paragraph_pimpl.h:
2503 * paragraph_pimpl.C: cleanup
2505 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2507 * text2.C (removeRow):
2508 * text.C (setHeightOfRow): remove useless (and costly) call to
2511 2001-11-20 Allan Rae <rae@lyx.org>
2513 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
2514 Now need Inset*::checkInsertChar() to return true for appropriate
2515 cases so that the characters in the minibuffer will actually be
2518 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
2520 * text.C: change the order of the includes.
2521 (workWidth): initialize it at once.
2522 (workWidth): make maxw unsigned
2523 (setHeightOfRow): remove unused variable (inset)
2524 (selectSelectedWord): remove unused variable (inset)
2525 (paintRowText): fix drawing of hfill characters, and clean up a bit.
2527 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2529 * lyxserver.C (emergencyCleanup): do not try to close pipes if
2530 server is not running.
2532 (closeConnection): add debug info when server is disabled.
2534 * ColorHandler.C (getGCForeground): send debug message to GUI
2537 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
2539 * kbmap.C (bind): modify because return conventions of
2540 kb_sequence::parse have changed.
2542 * kbsequence.C (parse): only ignore spaces and not any stupid
2543 control character. This avoids tests like s[i] <= ' ', which are
2544 guaranteed to fail with 8bit characters and signed chars.
2545 Change return code to string::npos when there have been no error
2546 (0 was a bad idea when error is at first character)
2548 2001-11-14 José Matos <jamatos@fep.up.pt>
2551 * buffer.C (simpleDocBookOnePar): removed unused argument.
2553 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2555 * text.C (selectNextWordToSpellcheck): do not test explicitely for
2556 insets which are part of a word. Paragraph::isLetter takes care of
2557 that now. Use Paragraph::isInset to identify insets.
2558 (selectSelectedWord): do not test for hyphenation break.
2560 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
2561 that protected spaces are considered as spaces.
2563 * paragraph.C (isLetter): cleanup the code for ispell extras; use
2566 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
2569 * lyxserver.C: fix it. and small cleanup.
2571 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
2573 * BufferView_pimpl.C: use inline helpers
2576 * LaTeXFeatures.C: fix typos
2579 * Spacing.C: move spacing_string into class
2581 * ToolbarDefaults.C: move stuff into namespace anon
2583 * layout.h: update enum
2585 * lyxfunc.C: use better debug
2587 * minibuffer.h: fix typo
2591 * WorkArea.C: add and use Debug::WORKAREA
2595 * text2.C: code re-organisation, inline helpers
2597 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
2599 * Layout.C: replaced a few cases of std::vector.size() == 0 with
2600 std::vector.empty().
2602 2001-11-09 Allan Rae <rae@lyx.org>
2604 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
2605 '\n's after tables. Tabular and ERT inset work now makes this no
2608 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
2611 * minibuffer.C: fix crash, improve drop-down completion
2613 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
2616 * lyxserver.C: invalidate fd's when doing endPipe()
2618 2001-11-08 José Matos <jamatos@fep.up.pt>
2620 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
2621 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
2624 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
2626 2001-11-07 José Matos <jamatos@fep.up.pt>
2629 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
2632 * buffer.C (sgmlOpenTag):
2633 * buffer.C (sgmlCloseTag): removed debug info.
2635 * buffer.h (sgmlOpenTag):
2636 * buffer.h (sgmlCloseTag): made public.
2638 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2640 * buffer.C (saveParamsAsDefaults):
2641 * lyx_cb.C (MenuLayoutSave): remove
2643 * LyXAction.C (init):
2645 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
2647 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2649 * buffer.C (setPaperStuff): removed from here...
2651 * bufferparams.C (setPaperStuff): ... and moved there.
2653 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
2657 * XFormsView.C: add support for drop-down completion
2659 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
2661 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
2664 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2666 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
2669 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
2671 * lyx_main.C: change ref to known bugs
2673 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
2675 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
2676 to work around older babel problems.
2678 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
2680 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
2682 2001-10-24 Juergen Vigna <jug@sad.it>
2684 * tabular-old.C (ReadOld): below variable changes reflected.
2686 * tabular.[Ch]: added ltType struct for longtable header/footer
2687 defines and changed all instances where they are used. Added
2688 future support for double top/bottom rows.
2690 2001-10-24 José Matos <jamatos@fep.up.pt>
2692 * buffer.h (docbookHandleCaption):
2693 * buffer.C (docbookHandleCaption): removed unused function.
2694 (makeDocBookFile): moved docbook supported version to v4.1.
2696 2001-10-24 José Matos <jamatos@fep.up.pt>
2699 * tabular.C (docbookRow): new function to export docbook code of a row.
2700 (DocBook): now honors the longtable flags.
2702 2001-10-23 José Matos <jamatos@fep.up.pt>
2705 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
2706 of the lyx defined sgml entities used in a docbook/linuxdoc document.
2708 * buffer.C (makeLinuxDocFile):
2709 (makeDocBookFile): reworked the preamble, more clean, and with
2710 support for lyx defined entities. Changed the document declaration
2711 to be more XML friendly.
2713 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
2714 if we need to output XML that should be done with a filter.
2716 2001-10-22 Juergen Vigna <jug@sad.it>
2718 * sp_pspell.h (class PSpell): add alive function needed in the
2719 controller to see if the spellchecker could be started.
2721 2001-10-22 Juergen Vigna <jug@sad.it>
2723 * buffer.C (insertStringAsLines): modify the font for inserting
2724 chars in certain conditions by calling checkInsertChar(font).
2726 2001-10-19 Juergen Vigna <jug@sad.it>
2728 * text.C (workWidth): use getRow instead of wrong algorithm.
2729 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
2731 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
2736 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
2738 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2740 * text.C (workWidth): do not search for the exact row when
2741 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
2742 optimization for big documents.
2744 2001-10-18 Juergen Vigna <jug@sad.it>
2746 * text.C (workWidth): new function with added Inset * parameter.
2748 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2750 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
2752 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
2753 change return type of getColumnNearX.
2756 * text.C (changeRegionCase): use uppercase/lowercase instead of
2759 (rightMargin): simplify code by factoring out the uses of
2764 (appendParagraph): use Paragraph::size_type
2766 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2768 * vspace.C (asLatexString): add a missing break
2770 2001-10-15 Herbert Voss <voss@perce.de>
2772 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
2774 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2776 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
2779 2001-10-10 André Pönitz <poenitz@gmx.net>
2781 * lyxfunc.C: removed greek_kb_flag.
2783 2001-10-10 Herbert Voss <voss@perce.de>
2785 * lyx_main.C: delete global string help_lyxdir.
2787 2001-10-09 Herbert Voss <voss@perce.de>
2789 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
2791 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
2793 * lyx_main.C: added global string help_lyxdir.
2795 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
2797 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2799 * lyxrc.C (set_font_norm_type): support iso8859-4
2801 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
2803 * LaTeX.C (deplog): add another regex for MikTeX
2805 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
2807 * lyxrc.C (set_font_norm_type): support iso8859-3
2809 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2811 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
2813 * LaTeXFeatures.C: remove special case of french and index
2815 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
2816 before \begin{document}). This solves several incompatibilities.
2818 2001-10-03 Garst Reese <reese@isn.net>
2820 * lyx_cb.C: change CheckTex error msg.
2822 2001-10-03 José Matos <jamatos@fep.up.pt>
2824 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
2826 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2828 * .cvsignore: update
2830 * lyx_main.C (commandLineVersionInfo): use new style version info.
2832 * buffer.C (writeFile):
2835 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
2837 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
2839 * version.h: update to use stuff in version.C
2841 * version.C.in: new file. Contains version information determined
2842 at compile time. This is a merging of version.h and
2845 2001-10-03 Juergen Vigna <jug@sad.it>
2847 * BufferView_pimpl.C (update): don't change "dirty" status in
2850 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
2852 * WorkArea.C (c-tor): re-position version string slightly.
2854 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
2856 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
2857 revert to previous code.
2859 WorkArea.[Ch]: (show, destroySplash): methods removed.
2861 WorkArea.C: rework code so that it's an amalgam of the codes before and
2862 after the splash screen was moved to WorkArea.
2864 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2867 * vspace.C (inPixels):
2870 * buffer.C (insertStringAsLines):
2871 (asciiParagraph): fix types to be large enough
2873 * lyxlex_pimpl.h: change member status from short to int
2875 * layout.h: fix type of endlabeltype
2878 * kbsequence.C (parse): change return type to string::size_type
2880 * LaTeX.C (updateBibtexDependencies): comment out unneeded
2883 * Bullet.C (bulletSize):
2884 (bulletEntry): do not use short ints as parameters
2886 * BufferView2.C (insertLyXFile): change a char to an int.
2888 * WorkArea.C (WorkArea): remove unneeded floats in computation
2890 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
2892 * buffer.C (asciiParagraph): Treat '\\' as other chars.
2894 * paragraph.C (asString): Do not ignore newline/hfill chars when
2895 copying to the clipboard.
2897 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
2899 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
2900 after a multi-line inset.
2902 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
2904 * paragraph.C (validate): Set NeedLyXFootnoteCode
2906 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
2908 * lyxfont.C (LyXSizeNames): changed increase-error to increase
2909 and decrease-error to decrease.
2911 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2913 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
2914 it more readable (should be equivalent)
2916 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
2918 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
2920 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2922 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
2923 of a cursor (row, etc.) after a character has been deleted
2924 (deleteEmptyParagraphMechanism): call the method above on _all_
2925 cursors held by the LyXText when a double space has been
2928 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
2930 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
2932 (resizeCurrentBuff): remove code to destroy the old splash dialog.
2934 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
2935 background. Use greyOut() and the new show() methods to toggle between
2936 the foreground and background. Add code to remove the splash after
2937 its initial showing.
2939 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
2940 (create_forms): no longer call Dialogs::showSplash.
2942 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2944 * .cvsignore: add version_info.h
2946 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2948 * version_info.h.in: new file
2950 * Makefile.am: add version_info.h.in
2952 * lyx_main.C (commandLineVersionInfo): use version_info defined in
2953 version_info.h instead of VERSION_INFO
2955 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
2957 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
2958 The ERT inset now returns string().
2960 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
2962 * lyxtext.h, text.C (selectNextWord): renamed as
2963 selectNextWordToSpellcheck.
2965 * text.C (selectNextWordToSpellcheck): Modified to not select
2966 words inside an ERT inset.
2968 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2970 * lyx_cb.C (MenuLayoutSave): change a bit the question
2972 * sp_base.h: include <sys/types.h>
2974 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
2976 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
2978 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
2980 * several files: fix typos in user-visible strings
2982 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2984 * text2.C (pasteSelection): do not set the selection, since it
2985 will be cleared later. Actually, the intent was to fix the way the
2986 selection was set, but I figured rmoving the code was just as good.
2988 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
2990 * FontLoader.C (available): Check if font is available without
2993 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2995 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
2997 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
2999 * lyxrc.[Ch]: added display_graphics variable and associated code.
3001 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3003 * bufferparams.C (hasClassDefaults): new method. Returns true if
3004 the buffer parameters correspond to known class defaults
3006 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
3008 * XFormsView.C (show): set minimum size to the main window.
3010 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3012 * text2.C (copySelection):
3014 * lyxfind.C (LyXReplace):
3015 * BufferView_pimpl.C (Dispatch): pass the correct flag to
3016 LyXText::selectionAsString.
3018 * paragraph.C (asString): add "label" argument to the second form
3020 * text2.C (selectionAsString): add "label" argument and pass it to
3021 Paragraph::asString.
3023 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3025 * lyx_main.C (commandLineHelp): remove version information
3027 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
3029 * lyx_main.C: add -version commandline option
3031 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
3033 * paragraph.h: make the optional constructor arg required instead.
3034 some modifications to other files because of this.
3036 * minibuffer.C (C_MiniBuffer_peek_event): make it static
3038 * lyxserver.C (C_LyXComm_callback): make it static
3040 * lyx_main.C (error_handler): make it static
3042 * lyx_gui.C (LyX_XErrHandler): make it static
3044 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
3046 * WorkArea.C: make the extern "C" methods static.
3048 * Makefile.am (lyx_LDADD): simplify
3050 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
3052 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
3053 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
3055 * LyXAction.C (init):
3056 * lyxfunc.C (dispatch): associated code removal.
3058 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3060 * lyxfont.h (isSymbolFont): shut off warning
3062 * text.C (setHeightOfRow):
3063 (getVisibleRow): fix crash with empty paragraphs which have a
3066 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
3068 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
3071 2001-09-04 José Matos <jamatos@fep.up.pt>
3074 * tabular.C (docbook): rename docBook method to docbook.
3076 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
3078 * Makefile.am: add dependencies to main.o.
3080 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
3082 * FontLoader.C (available): Return false if !lyxrc.use_gui
3084 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
3086 * FontInfo.C (query):
3087 * converter.C (view):
3088 * importer.C (Import):
3089 * exporter.C (Export): Can not -> cannot.
3091 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
3093 * BufferView_pimpl.C: allow to create index inset even if
3096 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
3098 * buffer.C (getLists): replace boost::tie code with an explicit pair
3099 as boost::tie can break some compilers.
3101 * iterators.h: Added a std:: declaration to the return type of
3104 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
3106 * lyxrc.C: add help for view_dvi_paper_option, default to safe
3109 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
3111 * iterators.[Ch]: New files. Provide paragraph iterators.
3113 * buffer.C (changeLanguage): Use paragraph iterators.
3114 (isMultiLingual): ditto
3116 * BufferView2.C (ChangeInsets): Use paragraph iterators.
3118 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
3120 * FontLoader.C: Support for cmr font.
3122 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
3124 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
3125 (available): New method.
3127 * FontInfo.C (getFontname): Use scalable fonts even when
3128 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
3131 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
3133 * converter.C (Formats::view): reverted! Incorrect fix.
3135 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
3137 * converter.C (Formats::view): only output the -paper option
3138 if the dvi viewer is xdvi, thereby fixing bug #233429.
3140 2001-08-23 Herbert Voss <voss@perce>
3142 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
3144 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
3146 * Spacing.h (Spacing): Set space to Default on in the default
3149 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
3151 * vc-backend.h (RCS::versionString): add RCS to version
3152 (CVS::versionString): add CVS to version
3154 * vc-backend.C (scanMaster): do not add CVS to version.
3155 (scanMaster): do not add RCS to version
3157 * lyxvc.C (versionString): new method
3159 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
3161 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
3163 * Spacing.C (set): initialize fval
3165 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
3167 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
3170 2001-08-16 Juergen Vigna <jug@sad.it>
3172 * lyxfunc.C (dispatch): implemented the new FINISHED states.
3174 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
3176 * BufferView_pimpl.C:
3179 * text2.C: setParagraph takes linespacing now
3181 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
3183 * LyxAction.C: add internal LFUN_CITATION_INSERT
3185 * LyXView.C: actually apply fix
3187 * bufferlist.C: fix open non-existent file
3189 * lyxfind.C: fix indentation
3191 * lyxfunc.C: remove unneeded assert, fix typo
3193 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
3195 * MenuBackend.C: use "Floatname List"
3197 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
3199 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
3200 when converting LaTeX layout to insetERT.
3201 Generate a non-collapsed float when reading old float
3203 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
3205 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
3208 2001-08-13 Juergen Vigna <jug@sad.it>
3210 * text.C (fill): return 0 instead of 20 as this seems to be the more
3213 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
3215 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
3218 2001-08-13 Juergen Vigna <jug@sad.it>
3220 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
3222 (SearchBackward): comment out the unlocking of the inset_owner this
3223 should not be needed!
3225 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
3227 * Many files: Remove inherit_language, and add latex_language
3229 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
3232 2001-08-10 Juergen Vigna <jug@sad.it>
3234 * text.C (prepareToPrint): fixed hfill-width in draw!
3236 * BufferView2.C (selectLastWord): save the selection cursor as this
3237 now is cleared in the function LyXText::clearSelection!
3239 2001-08-08 Juergen Vigna <jug@sad.it>
3241 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
3242 BACKSPACE type functions.
3244 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
3245 is only cutted from the document but not put in the cut-buffer, where
3246 still the old stuff should be.
3248 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
3250 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
3252 * tabular.C (SetWidthOfCell): fixed special case where the width
3254 (LeftLine): handle '|' in align_special.
3256 (LeftAlreadyDrawed): ditto
3257 (SetWidthOfCell): ditto
3259 2001-08-07 Juergen Vigna <jug@sad.it>
3261 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
3263 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3265 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
3266 * lyxlex.[hC]: ditto
3268 2001-08-06 Juergen Vigna <jug@sad.it>
3270 * text.C (getVisibleRow): fix up row clearing a bit.
3272 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3274 * minibuffer.C: make sure the X server sees the changes in the input.
3276 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3278 * paragraph.C (getFont): split into...
3279 (getLabelFont): this
3280 (getLayoutFont): and this
3281 * paragraph_pimpl.C (realizeFont): calling this
3283 * text2.C (getFont): split into...
3284 (getLayoutFont): this
3285 (getLabelFont): and this
3286 (realizeFont): all three calling this
3288 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
3291 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3293 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
3295 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
3297 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
3298 layouts from the Quote inset insertion.
3300 2001-08-03 Juergen Vigna <jug@sad.it>
3302 * BufferView_pimpl.C (update): do the fitCursor only at the end!
3304 * screen.C (drawFromTo): don't call fitcursor here and do the loop
3305 only if status not is already CHANGED_IN_DRAW (second level).
3307 * text.C (draw): don't set the need_break_row when inside an
3310 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3312 * buffer.C (parseSingleLyXformat2Token): handle more latex
3315 * bufferview_funcs.[hC]: change function names to
3316 begin with small char, adjust other files.
3318 2001-08-02 André Pönitz <poenitz@gmx.net>
3321 BufferView_pimpl.C: remove broken special code for math-greek
3323 2001-08-02 Juergen Vigna <jug@sad.it>
3325 * BufferView_pimpl.C (update): redone this function so that we
3326 update the text again if there was a CHANGE_IN_DRAW.
3328 * screen.C (cursorToggle): removed LyXText parameter and recoded.
3329 (drawFromTo): added a new internal bool which is used by draw() and
3331 (general): some cursor drawing problems fixed.
3333 2001-08-01 Juergen Vigna <jug@sad.it>
3335 * lyxfind.C (LyXFind): fixed
3336 (SearchForward): ditto
3337 (SearchBackward): ditto
3339 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
3340 spurius drawing of the cursor in the main area.
3342 * text2.C (status): small fix which could lead to a segfault!
3343 (clearSelection): remove unneeded BufferView param.
3345 2001-08-01 André Pönitz <poenitz@gmx.net>
3347 * lyxfunc.C: small change due to changed mathed interface
3349 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3351 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
3353 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
3355 * lyxfunc.c: fail gracefully if file doesn't exist
3360 * BufferView_pimpl.C: IsDirWriteable() proto changed
3362 * LyXView.C: fix updateWindowTitle() to store the last title
3364 2001-07-31 Juergen Vigna <jug@sad.it>
3366 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
3367 the font (wrong since using of Paragraph::highestFontInRange).
3369 * paragraph.C (highestFontInRange): added a default_size parameter.
3371 * text.C (getVisibleRow): minor clear row changes (still not perfect).
3372 (setHeightOfRow): reformat
3374 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
3376 * converter.[hC] + affected files: move to (inital-char)lowercase
3379 * ParagraphParameters.C (ParagraphParameters): remove commented code
3381 * PainterBase.[Ch]: remove commented code
3383 * LaTeXFeatures.h: add "bool floats" for float.sty
3385 * LaTeXFeatures.C (LaTeXFeatures): init floats
3386 (require): handle float
3387 (getPackages): do it with floats
3389 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3391 * BufferView_pimpl.C (Dispatch): improve handling of
3392 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
3394 * commandtags.h: #include lyxfont.h here temporarily to avoid
3397 * bufferlist.h: include LString.h here.
3399 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3401 * text2.C (getStringToIndex): new method.
3403 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
3405 * *: Reduced header file dependencies all over.
3407 2001-07-30 Baruch Even <baruch@lyx.org>
3409 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
3411 2001-07-29 Baruch Even <baruch@lyx.org>
3413 * buffer.C (readInset): Changed GRAPHICS to Graphics.
3415 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
3417 * ParameterStruct.h (endif): add a default constructor to make
3418 sure that all variables is initialized.
3420 * ParagraphParameters.C (ParagraphParameters): adjust
3422 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3424 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
3425 index; also, check that there is something to index, and that it
3426 does not span over several paragraphs.
3427 (doubleClick): use WHOLE_WORD_STRICT for double click.
3429 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
3431 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
3434 2001-07-26 Baruch Even <baruch@lyx.org>
3436 * buffer.C (readInset): Changed to call up InsetGraphics when reading
3437 an InsetFig figure, backwards compatible reading of old figure code.
3439 2001-07-27 Juergen Vigna <jug@sad.it>
3441 * text2.C: font.realize function adaption.
3443 * text.C (draw): add a warnings lyxerr text if needed.
3445 * layout.C: font.realize function adaption.
3447 * language.C: add inherit_language and implement it's handlings
3449 * bufferview_funcs.C (StyleReset): remove language parameter from
3450 font creation (should be language_inherit now).
3452 * bufferparams.C (writeFile): handle ignore_language.
3454 * paragraph.C (getFontSettings): the language has to be resolved
3455 otherwise we have problems in LyXFont!
3457 * lyxfont.C (lyxWriteChanges): added document_language parameter
3458 (update): removed unneeded language parameter
3460 * paragraph.C (validate): fixed wrong output of color-package when
3461 using interface colors for certain fonts in certain environments,
3462 which should not seen as that on the final output.
3464 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
3466 * BufferView_pimpl.C:
3471 * LyXAction.C: add thesaurus support
3474 * lyxfind.C: add "once" parameter, for thesaurus, to not
3475 move to the next match
3477 2001-07-26 Juergen Vigna <jug@sad.it>
3479 * lyxfont.C (realize): honor ignore_language too!
3482 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
3484 * text.C (draw): one place more for ignore_language to not draw
3487 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
3489 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
3491 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3493 * buffer.C (parseSingleLyXformat2Token): a more general fix for
3494 the minipage conversion problem.
3496 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3498 * buffer.C (parseSingleLyXformat2Token): check minipage if we
3501 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3503 * BufferView.h: don't forward declare WorkArea
3505 * BufferView.C: don't include WorkArea.h
3507 2001-07-25 André Pönitz <poenitz@gmx.net>
3511 * lyxfunc.C: new LFUN 'math-space'
3513 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
3515 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3517 * text2.C (toggleInset): call open/close
3519 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3521 * lyxfunc.C (dispatch): add debug for the disabled case
3523 * font.C (buttonText): make similar to rectText
3525 * buffer.C (readInset): comment out parsing of insetlist and
3528 * PainterBase.C (rectText): small correction
3530 * BufferView_pimpl.C: comment out insettheorem and insetlist
3531 * LyXAction.C: ditto
3532 * commandtags.h: ditto
3534 2001-07-24 Juergen Vigna <jug@sad.it>
3536 * text.C (draw): honor the ignore_language.
3538 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
3540 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3542 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
3545 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3547 * lyxtext.h: remove unused (and unimplemented) methods
3549 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3551 * text.C (getVisibleRow): honor background color
3554 * Painter.h: remove default color argument for fillRectangle
3556 * text.C (backgroundColor): new method
3558 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3560 * text.C (getVisibleRow): adjust
3562 * font.[Ch] (rectText): new method, metrics
3563 (buttonText): new method, metrics
3565 * PainterBase.[hC]: make rectText and buttonText always draw and take
3568 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3570 * ToolbarDefaults.C (read):
3571 * MenuBackend.C (read): allow escaping in all strings
3573 * BufferView_pimpl.C (insertAndEditInset): new method.
3574 (Dispatch): use insertAndEditInset whenever appropriate.
3576 * BufferView_pimpl.C (insertNote): removed
3578 * BufferView_pimpl.C (smartQuote): new method, moved from
3579 BufferView; if an insetquote cannot be inserted, insert a '"'
3582 * BufferView2.C: remove insertCorrectQuote();
3584 * lyxfunc.C (getStatus): Add support for all remaingin
3587 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
3589 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
3590 command (necessary to pass " as parameter of self-insert.
3592 * text.C (selectWordWhenUnderCursor):
3593 (selectWord): add word_location parameter
3594 (selectWordWhenUnderCursor): same + remove special code for word
3596 (selectNextWord): use kind() to guess type of insetspecialchar,
3599 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
3600 (insertErtContents): create ert insets as collapsed.
3601 (readInset): better compatibility code for Info inset.
3603 2001-07-20 Juergen Vigna <jug@sad.it>
3605 * lyxfunc.C (dispatch): use always LyXFind now!
3607 * text2.C (init): add a reinit flag so that the LyXText can be
3608 reinited instead of deleted and reallocated (used in InsetText).
3610 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
3616 2001-07-18 Juergen Vigna <jug@sad.it>
3618 * text.C (selectNextWord): handle insets inside inset by calling
3619 always the bv->text functions so that we can go up the_locking_inset!
3621 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
3622 in strange locations when inside an inset!
3624 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
3625 handling to include insets.
3627 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
3629 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3631 * LyXAction.C (init):
3633 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
3634 LIGATURE_BREAK, since the name is so stupid.
3636 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
3638 * buffer.C (readInset): enable reading of new InsetNotes as well as old
3641 * FontLoader.C: remove FORMS_H_LOCATION cruft.
3643 * sp_form.[Ch]: remove.
3645 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
3647 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
3650 * src/buffer.C (readInset): ditto.
3652 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3654 * BufferView_pimpl.C (specialChar): new method. Obsoletes
3655 menuSeparator(), endOfSentenceDot(), ldots() and
3656 hyphenationPoint(), which are therefore removed.
3657 (Dispatch): handle LFUN_HYPHENATION_BREAK.
3659 * LyXAction.C (init):
3660 * commandtags.h: add LFUN_HYPHENATION_BREAK.
3662 * paragraph.C (getWord): removed.
3664 * BufferView_pimpl.C (Dispatch): use last word or selection for
3665 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
3667 * lyx_main.C (queryUserLyXDir): do not ask before creating
3668 user_dir, except if it has been named explicitely.
3670 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
3672 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
3673 a document of zero size.
3675 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
3677 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
3678 approriately in the c-tor and in require().
3679 (getPackages): output the appropriate LaTeX for natbib support.
3681 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
3682 variables "use_natbib" and "use_numerical_citations" when reading the
3684 (readInset): read the various natbib cite commands.
3685 (validate): white-space change.
3687 * bufferparams.[Ch]: new variables "bool use_natbib" and
3688 "bool use_numerical_citations".
3689 (writeFile): output them in the LyX file.
3691 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3693 * lyxfunc.C (getStatus): add support for all the inset insertion
3696 * text2.C (insertInset):
3697 * paragraph.C (insetAllowed):
3698 * BufferView_pimpl.C (insertInset): update to take in account the
3699 renaming of insertInsetAllowed
3701 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
3703 * text2.C (getInset): new method. returns inset at cursor position.
3705 * BufferView_pimpl.C (Dispatch): changes because of this.
3707 * LyXAction.C (init): rename open-stuff to inset-toggle.
3709 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
3711 * text2.C (toggleInset): renamed from openStuff; use
3714 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
3716 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
3718 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
3720 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
3722 * buffer.C (readLyXformat2): Add filename to the error dialog
3724 2001-07-18 Juergen Vigna <jug@sad.it>
3726 * tabular.C (GetCellNumber): put an assert here instead of the check!
3728 2001-07-17 Juergen Vigna <jug@sad.it>
3730 * BufferView_pimpl.C (toggleSelection): adapted too.
3732 * text.C (selectNextWord): adapted for use with insets.
3733 (selectSelectedWord): ditto
3735 2001-07-17 Juergen Vigna <jug@sad.it>
3737 * sp_spell.C (PSpell): fix initialitation order.
3739 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3741 * paragraph.C: spacing
3743 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
3745 * sp_spell.C: repair language selection for pspell
3747 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
3749 * lyxfunc.h: change more methods to begin with lower char.
3751 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
3753 * buffer.C (parseSingleLyXformat2Token): Generate error insets
3754 for unknown layouts.
3756 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
3758 * buffer.C (readLyXformat2): Generate an error dialog if there are
3761 2001-07-16 Juergen Vigna <jug@sad.it>
3763 * sp_spell.C: always compile ISpell part.
3765 * lyxrc.C: added use_pspell entry and it's handling.
3767 2001-07-13 Juergen Vigna <jug@sad.it>
3769 * sp_spell.C: removed double includes.
3771 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
3773 Consistent use of Lsstream.h:
3774 * Lsstream.h: added using std::stringstream for consistencies sake.
3776 * buffer.C: removed using std::stringstream
3778 * lyxfont.C (stateText):
3779 * paragraph.C (asString):
3780 * text.C (selectNextWord, selectSelectedWord):
3781 * text2.C (setCounter):
3782 * vspace.C (asString, asLatexString):
3783 std::ostringstream -> ostringstream.
3785 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
3787 * LyXAction.C: add LFUN_HELP_ABOUTLYX
3788 * commandtags.h: add LFUN_HELP_ABOUTLYX
3789 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
3791 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
3793 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
3795 * lyx_gui_misc.C: remove spellchecker
3796 * lyxfunc.C: showSpellchecker
3798 * sp_ispell.h: added
3799 * sp_pspell.h: added
3801 * sp_form.[Ch]: removed
3802 * spellchecker.[Ch]: removed
3804 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
3806 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
3808 (simpleTeXSpecialChars): Simply print the input character without
3809 any special translation if pass_thru is set.
3811 * layout.h: Added bool pass_thru to layout class for being able to
3812 implement pass through of a paragraph for Literate Programming.
3814 * layout.C: add LT_PASS_THRU to LayoutTags enum.
3815 * layout.C (LyXLayout): set pass_thru to flase in constructor.
3816 * layout.C (Read): add "passthru" to list of layout tags and add
3817 code to set the pass_thru boolean when it is read.
3819 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
3821 * trans_decl.h: remove allowed from KmodInfo
3823 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
3827 * paragraph_pimpl.C (erase): use boost::prior
3829 * Painter.C (text): use data() instead of c_str() when length is
3831 * WorkArea.C (putClipboard): ditto
3832 * font.h (width): ditto
3834 * BufferView2.C: use it-> instead of (*it). for iterators
3836 * paragraph_pimpl.C: ditto
3837 * paragraph.C: ditto
3838 * minibuffer.C: ditto
3843 * converter.C: ditto
3845 * Variables.C: ditto
3846 * TextCache.C: ditto
3847 * MenuBackend.C: ditto
3848 * LyXAction.C: ditto
3850 * FloatList.C: ditto
3852 * ColorHandler.C (LyXColorHandler): ditto
3854 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3856 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
3858 * text2.C (openStuff): reintroduce this method (which had been
3859 nuked in NEW_INSETS frenzy).
3861 * lyxfunc.C (Dispatch): when an action has not been handled, use
3862 its name in the error message, not its number.
3864 * paragraph.C (inInset): change method name to begin with lowercase.
3867 * text2.C: updates because of this.
3869 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3871 * ToolbarDefaults.C (add): add spaces in error message
3873 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3875 * buffer.C (readLyXformat2): initialize the ert comp. variables.
3876 (readLyXformat2): rename return_par to first_par, use lyxlex's
3877 pushToken and remove the manual push handling.
3878 (parseSingleLyXformat2Token): add another ert comp. variable:
3879 in_tabular, rename return_par to first_par. handle newlines better
3881 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3883 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
3885 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
3887 * text2.C (getParFromID): removed
3889 * buffer.C (getParFromID): new method moved form lyxtext.
3890 * BufferView2.C (insertErrors): adjust
3891 (setCursorFromRow): adjust
3892 * BufferView_pimpl.C (restorePosition): adjust
3893 * lyxfunc.C (Dispatch): adjust
3894 * undo_funcs.C (textUndo): adjust
3896 (textHandleUndo): adjust
3897 (textHandleUndo): adjust
3899 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3901 * buffer.C: up' the LYX_FORMAT
3903 * lyxfont.h: turn NO_LATEX on as default
3905 * buffer.C (insertErtContents): new methods of tex style compability.
3906 (parseSingleLyXformat2Token): use it several places.
3907 * tabular.C (OldFormatRead): and here
3909 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3911 * text2.C: remove some commented code.
3914 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
3915 * trans.C: changes because of the above.
3917 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
3919 * text2.C (setCounter): Fix counters bug with bibliography layout.
3921 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3923 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
3924 own member functions
3925 (simpleTeXSpecialChars): ditto
3927 2001-07-06 Juergen Vigna <jug@sad.it>
3929 * a lot of files: changed the access to LyXText::status and the
3930 call of undo-functions.
3932 * undo.[Ch]: added a inset_id to the undo informations.
3934 * undo_funcs.[Ch]: added and moved here all undo functions.
3936 * lyxtext.h: give the status enum a weight, made status_ a private
3937 variable and made accessor functions for it, removed the whole bunch
3938 of undo-functions as they are now in their own file, make some
3939 functions publically available. Added function ownerParagraph with
3942 * paragraph.[Ch]: added "bool same_ids" to the constructor,
3943 made InInset() a const function, added getParFromID() function.
3945 * buffer.[Ch]: added const version for inset_iterator functions,
3946 added getInsetFromID() function.
3948 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
3949 changed undo functions for new version.
3951 2001-07-05 Juergen Vigna <jug@sad.it>
3953 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
3954 unknow mechanism does not call the proper constructor but only this
3955 one also if I request the other!?
3957 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3959 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
3961 * text2.C (LyXText): use initialization lists.
3963 * lyxtext.h (Selection): initialize set_ and mark_
3964 (init): remove method
3966 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
3968 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
3970 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3972 * screen.[Ch]: change method names to begin with lowercase
3974 * BufferView_pimpl.C (updateScrollbar): simplify further and
3975 hopefully make it a bit faster.
3977 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3979 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
3980 calling directly xforms functions.
3982 * Painter.C (Painter):
3983 * lyx_cb.C (MenuWrite):
3984 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
3987 * lyx_gui.C: remove bogus guiruntime extern declaration.
3989 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3991 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
3993 (redoDrawingOfParagraph): ditto
3994 (redoParagraphs): ditto
3995 (cutSelection): don't create a object for CutAndPaste use the
3996 static method directly
3997 (pasteSelection): ditto
3999 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
4002 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4004 * modifications to some other files because of this.
4006 * Makefile.am (lyx_SOURCES): add XFormsView
4008 * XFormsView.[Ch]: new files
4010 * LyXView.[Ch]: make LyXView a base class for the gui handling for
4011 the main window. Move the gui dependent stuff to XFormsView
4013 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4015 * tabular.C (GetCellInset): update cur_cell also in the row/col
4016 version of this function.
4018 * lyxfunc.C: no need to include figure_form.h here.
4024 * lyxvc.C: no need to include forms.h here.
4026 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4028 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
4030 * lyxfunc.C (Dispatch):
4032 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
4033 constructor argument.
4035 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4037 * paragraph.C (Paragraph): dont't clear, and just set layout.
4038 (makeSameLayout): use params's copy contructor.
4040 * ParagraphParameters.[Ch] (makeSame): delete method
4042 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
4044 * Variables.[Ch]: fix indentation, rename set to isSet
4046 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4048 * lyxfunc.C (Dispatch): fix typo
4050 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4052 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
4055 * bufferlist.C: include assert.h for emergencyWrite().
4057 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
4059 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
4060 give up at last (bug #425202) !
4062 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
4068 * spellchecker.C: strip spellchecker options and bring up
4069 preferences tab instead
4071 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4073 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
4074 the istringstream constructor
4076 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4078 * paragraph.C (getLayout): fix return value
4080 * paragraph.h: do not declare getLayout as inline.
4082 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
4084 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
4086 * lyxcursor.h (operator<): new func
4087 (operator>): new func
4088 (operator>=): new func
4089 (operator<=): new func
4091 * text.C (changeCase): use selection.start and selection.end
4092 (changeRegionCase): require from to be <= to. Require par to be a
4095 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
4097 2001-06-27 Juergen Vigna <jug@sad.it>
4099 * text.C (cursorLeftOneWord): changed to return the cursor and added
4100 overlay with BufferView * parameter which calls this one.
4102 (selectWord): use new getWord function.
4103 (changeCase): renamed from changeWordCase as and extended to work
4106 * lyxtext.h: added enum word_location
4108 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
4109 changeCase as this operates now also on selections.
4111 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
4113 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
4115 * many files: send debug output to Debug::INFO instead of
4118 * converter.C (View):
4120 (Move): send debug output to Debug::FILES instead of console.
4122 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
4124 * lyxfunc.C (getStatus): use func_status
4126 * func_status.h: new header, describing the results of
4129 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
4132 2001-06-25 The LyX Project <jug@sad.it>
4134 * buffer.C (sgmlOpenTag):
4136 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
4138 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4140 * text2.C: remove some dead code
4142 * tabular.C (GetCellInset): store the last cell checked (gotten)
4144 * tabular.h: add the helper for the speedup
4146 * lyxtext.h: remove some dead code
4148 2001-06-26 The LyX Project <Asger>
4150 * paragraph.C: Change export to LaTeX of alignment to
4151 \begin{center} and family for better roundtrip work with reLyX.
4153 * Tune the math drawing a bit.
4155 2001-06-25 The LyX Project <Asger>
4157 * LColor.C (LColor): New color for math background. New color
4160 2001-06-25 The LyX Project <jug@sad.it>
4162 * lyxfunc.C (MenuNew): remove extra check for .lyx file
4165 * bufferlist.C (newFile): do not restrict to files ending with
4168 * BufferView_pimpl.C (MenuInsertLyXFile):
4170 2001-06-24 The LyX Project <jug@sad.it>
4172 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
4175 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4177 * lyxtext.h: rename most methods to begin with a small char.
4178 Lots of changes because of this.
4180 * paragraph.C (Paragraph): do not call fitToSize
4181 (erase): call Pimpl::erase
4182 (insertChar): call Pimpl::insertChar
4183 (insertInset): call Pipl::insertInset
4184 (breakParagraph): do not call fitToSize
4185 (breakParagraphConservative): do not call fitToSize
4186 (fitToSize): remove method
4188 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
4190 2001-06-24 The LyX Project <Asger>
4192 * Fix Qt compilation^2
4194 2001-06-24 The LyX Project <jug@sad.it>
4196 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
4197 depthHook(getDepth()-1).
4200 * ParagraphParameters.h:
4201 * ParameterStruct.h: change type of depth to unsigned int ==
4202 depth_type. Many adaptations to other files before of that.
4204 2001-06-24 The LyX Project <Asger>
4206 * Fix Qt compilation.
4208 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4210 * paragraph.h: renamed several methods to begin with small letter.
4211 several changes to many parts of the code because of this.
4213 2001-06-23 The LyX Project <jug@sad.it>
4215 * text2.C (InsertStringAsLines): renamed from InsertStringA;
4216 rewritten to discard all double spaces when KeepEmpty is off
4217 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
4218 to only handle newlines but not fiddle with spaces and friends.
4220 * lyxfunc.C (MenuNew): when doing 'new from template', use
4221 template_path as default directory
4223 2001-06-23 The LyX Project <Asger>
4225 * Clean-up of header file includes all over
4226 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
4228 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
4230 * paragraph.h: renamed from lyxparagraph.h
4232 2001-06-23 Asger <lyx@violet.home.sad.it>
4234 * Buffer.h: Removed Buffer::resize
4235 * BufferList.h: Removed BufferList::resize
4236 * LyXView.h: Added LyXView::resize. This way, we will only reflow
4237 the document lazily when we change the width, or the font settings.
4239 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
4241 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
4243 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
4245 * buffer.h: remove out of date comment
4247 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
4250 * screen.C: fix "theoretical" GC leak
4252 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4254 * LaTeX.C (scanAuxFile):
4255 (deplog): remove trailing \r when reading stream (useful under
4258 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
4260 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
4261 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
4262 and BufferView::theLockingInset(Inset*), so should use them and not
4263 access bv_->text->the_locking_inset directly.
4265 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
4267 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
4270 * tex-defs.h: remove old unused file
4272 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
4274 * BufferView_pimpl.C: fix typo, remove minibuffer message
4275 when buffer has loaded
4277 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4279 * lyxfunc.C (Dispatch): use stringstream
4280 (MenuNew): use stringstream
4281 (Open): use stringstream
4283 * importer.C (Import): use stringstream
4285 * bufferview_funcs.C (CurrentState): use stringstream
4287 * LaTeX.C (run): use stringstream
4289 * BufferView_pimpl.C (savePosition): use stringstream
4290 (restorePosition): use stringstream
4291 (MenuInsertLyXFile): use stringstream
4293 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
4306 * vspace.C: removed // -*- C++ -*- as first line.
4309 * version.h: added // -*- C++ -*- as first line.
4311 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4313 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
4315 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
4318 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4320 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
4323 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4325 * gettext.C: include LString.h even when --disable-nls is on.
4327 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
4329 * converter.h (Get): changed argument type from int to
4330 FormatList::size_type to avoid unnecessary conversion.
4332 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
4335 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4337 * gettext.h: include LString.h even when --disable-nls is on.
4339 2001-06-07 Juergen Vigna <jug@sad.it>
4341 * text.C (BreakAgain): subst spaces with tabs.
4343 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
4344 (resizeInsetsLyXText): set force on resizeLyXText.
4346 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4348 * gettext.h (gettext_init):
4349 (locale_init): use a real definition instead of a macro
4351 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
4353 * Bufferview_pimpl.C:
4355 * LColor.C: further lcolor tidies
4357 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4359 * BufferView_pimpl.C (updateScrollbar): simplify.
4361 * BufferView2.C: don't include insets/insetinfo.h, change
4362 prototype for insertInset and call the Pimpl version. let
4363 updateInset call Pimpl version.
4365 * BufferView.h: move inset_slept to BufferView::Pimpl, move
4366 gotoInset to BufferView::Pimpl
4368 2001-06-01 Juergen Vigna <jug@sad.it>
4370 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
4371 inside a LockingInset (is the update needed at all?).
4373 2001-05-31 Juergen Vigna <jug@sad.it>
4375 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
4376 here not the old one otherwise how should we compare it afterwards
4379 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4384 * FontInfo.C: bring C functions into global namespace when
4387 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4389 * LString.h: make sure config.h has been loaded before LString.h.
4391 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
4392 (one for each char read by EatLine!).
4394 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
4397 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
4399 * paragraph.C (BreakParagraph): set the inset_owner in the new par
4400 to the same as the par we break from
4402 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
4404 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
4406 * MenuBackend.C (expand): also create menu entries for wide
4407 versions of the floats.
4409 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
4411 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
4413 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
4414 frontends/Makefile.am
4420 * tabular.C (getTokenValue): add std::
4422 * tabular-old.C (getTokenValue): add std::
4423 (getTokenValue): ditto
4424 (getTokenValue): ditto
4426 * screen.C (ToggleSelection): adjust
4428 * lyxtext.h: put selection cursors inside a Selection struct.
4430 * lyxfunc.C (moveCursorUpdate): adjust
4432 * lyxfont.C (latexWriteStartChanges): add std::
4436 * font.h: delete with(char const *, LyXFont const &)
4438 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
4440 * FontInfo.C (getFontname): add std::
4442 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4443 (workAreaButtonPress): adjust
4444 (tripleClick): adjust
4446 (moveCursorUpdate): adjust
4449 * BufferView2.C (gotoInset): adjust
4451 2001-05-30 Juergen Vigna <jug@sad.it>
4453 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
4454 to check pspell I add this as default as I now have new pspell
4455 libraries and they seem to use this.
4457 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
4459 * text2.C (CutSelection): make the cursor valid before the call to
4462 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4464 * kbsequence.C (parse): de-uglify a bit the parsing code, which
4465 relied on 0 terminated strings and other horrors. Bug found due to
4466 the new assert in lyxstring!
4468 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
4471 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4473 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
4476 * lyxfunc.C (processKeySym): change method of getting to the
4479 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
4480 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
4481 * BufferView_pimpl.[Ch]: here as private methods.
4483 2001-05-28 Juergen Vigna <jug@sad.it>
4485 * text.C (SetHeightOfRow): added the update() call again as it is
4486 needed to initialize inset dimensions!
4488 2001-05-16 Juergen Vigna <jug@sad.it>
4490 * text2.C (SetCharFont): Add new function with BufferView * and
4491 bool toggleall parameters for setting insets internal fonts.
4492 (SetFont): Freeze the undo as we may change fonts in Insets and
4493 all this change should be inside only one Undo!
4495 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
4496 setting font's in insets as for them we have the SetFont function!
4498 2001-05-15 Juergen Vigna <jug@sad.it>
4500 * text2.C (ClearSelection): to be sure we REALLY don't have any
4503 * tabular.C (TeXCellPreamble): fixed the left border problem for
4506 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
4508 * LaTeX.C (deplog): Make sure that the main .tex file is in the
4511 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
4513 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
4514 LFUN_BREAKPARAGRAPH.
4516 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
4517 help test to "internal only", similar for LFUN_INSERT_URL
4519 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
4520 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
4521 auto_region_delete and deadkeys.
4523 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
4526 * LColor.C: remove some dead entries, tidy a little
4528 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
4530 * lyxfunc.C (processKeySym): comment the Escape handling, remove
4532 (Dispatch): implement LFUN_ESCAPE
4534 * commandtags.h: add LFUN_ESCAPE
4536 * LyXAction.C (init): add entry for LFUN_ESCAPE
4538 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
4539 Remove commented code.
4540 (insertNote): moved here
4541 (open_new_inset): moved here
4543 * BufferView[2].[Ch]: move insertNote and open_new_inset to
4546 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4548 * kbmap.C (findbinding): clean it up and make it work correctly.
4550 * lyx_main.C (init): do not pass argc and argv as parameters
4552 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
4554 * buffer.C: fix path for OS/2 & Win32
4558 * lyx_main.C: Added os:: class.
4560 * os2_defines.h: update
4562 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
4564 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
4565 better by trying again with reduced state.
4567 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4569 * lyxrc.C (read): print error about invalid key sequence only when
4570 debugging (because not all latinX keysyms are known to some X
4573 * kbsequence.C (getiso): add a few std:: qualifiers
4574 (getiso): comment out extra return statement.
4576 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
4578 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
4580 (Dispatch): enhance the accent inset a bit. (not perfect)
4582 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4584 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
4586 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4588 * bufferlist.C (emergencyWrite): fix assert() call
4590 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
4592 * text.C (InsertChar): Added trivial patch to only send the "you
4593 can not do multiple spaces this way" message once during a
4596 2001-05-08 Baruch Even <baruch@lyx.org>
4598 * Makefile.am: Changed order of libraries to get LyX to link properly
4599 with the gnome frontend.
4601 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4603 * LaTeXFeatures.h: add a std:: qualifier
4605 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
4607 * paragraph.C (String): use stringstream
4609 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
4611 * paragraph.C (writeFile): remove footflag arg
4613 * buffer.C (makeLaTeXFile): use stringstream
4614 (latexParagraphs): remove footnot gurba
4616 * LaTeXFeatures.C (getPackages): use stringstream
4617 (getMacros): likewise
4618 (getTClassPreamble): likewise
4619 (getFloatDefinitions): new method
4621 * paragraph.C (writeFile): reindent
4624 * WorkArea.h: revert the xpos + etc changes.
4626 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
4628 * lyxparagraph.[Ch]: add copy constructor, remove Clone
4630 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
4631 (pasteSelection): likewise
4632 * text2.C (CreateUndo): likewise
4634 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4636 * minibuffer.C (peek_event): temporarily reduce the functionality
4637 of the minibuffer (to allow args on lfuns)
4639 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
4640 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
4642 * buffer.C (readInset): add compability reading of old float
4643 lists, add reading of new style float list.
4644 (readInset): avoid reevaluation of inscmd.getCmdName()
4645 (getLists): reindent
4647 * MenuBackend.C (MenuItem): implement parsing of
4648 md_floatlistinsert and md_floatinsert.
4649 (expand::LastFiles): move initalizaton of iterators out of loop,
4651 (expand::Documents): introduce typdedef vector<string> Strings,
4653 (expand::ExportFormats): introduce typedef vector<Format const *>
4654 Formats, and use it.
4655 (expand): implement FloatListInsert and FloatInsert.
4657 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
4658 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
4659 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
4661 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
4663 (Dispatch::LFUN_FLOAT_LIST): implement
4665 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
4667 * LaTeX.C (run): Fix problem with --export code.
4669 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
4671 * BufferView.[Ch] (workarea): removed.
4672 (getClipboard) new method; wrapper for workarea()->getClipboard()
4674 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
4677 * WorkArea.h (width, height, xpos, ypos): These methods all
4678 returned the dimensions of the work_area sub-area of WorkArea,
4679 resulting in a position error if the WorkArea were resized. Now
4680 return the dimensions of the entire WorkArea.
4682 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
4684 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4686 * LaTeX.C (deplog): correct the syntax of regex reg1
4688 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4690 * undo.C: remove !NEW_INSETS cruft
4692 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
4694 * text2.C: remove !NEW_INSETS cruft
4696 * text.C: remove !NEW_INSETS cruft
4698 * tabular.C: remove !NEW_INSETS cruft
4700 * spellchecker.C: remove !NEW_INSETS cruft
4702 * lyxtext.h: remove !NEW_INSETS cruft
4704 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
4706 * lyxfunc.C: remove !NEW_INSETS cruft
4708 * lyxfind.C: remove !NEW_INSETS cruft
4710 * lyx_cb.C: remove !NEW_INSETS cruft
4712 * figureForm.C: remove !NEW_INSETS cruft
4714 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
4716 * buffer.[Ch]: remove !NEW_INSETS cruft
4718 * ToolbarDefaults.C: remove !NEW_INSETS cruft
4720 * CutAndPaste.C: remove !NEW_INSETS cruft
4722 * BufferView_pimpl.C: remove !NEW_INSETS cruft
4724 * BufferView2.C: remove !NEW_INSETS cruft
4726 * BufferView.h: remove !NEW_INSETS cruft
4728 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4730 * Lsstream.h: include LString.h before the sstream headers to
4731 fix problem with gcc 2.95.3 and lyxstring
4733 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4735 * lyx_main.C: add using directives when needed for C functions
4736 declared in std:: namespace.
4738 2001-04-27 Juergen Vigna <jug@sad.it>
4740 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
4741 (SetHeightOfRow): comment out the update call should not be needed!
4743 2001-04-13 Juergen Vigna <jug@sad.it>
4745 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
4746 (LyXTabular): tried to minimize operator= operations (and realized
4747 hopfully Lars wish).
4749 2001-04-27 Juergen Vigna <jug@sad.it>
4751 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
4753 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
4755 * lyxfunc.C (Dispatch): hack to make listof algorithm work
4757 * buffer.C (readInset): hack to make listof algorithm work
4759 * BufferView_pimpl.C: hack to make listof algorithm work
4761 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4763 * LyXAction.C: removed all !NEW_INSETS cruft
4764 (init): moved lfun_item in method
4766 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
4768 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
4770 * BufferView2.C (theLockingInset): white space.
4772 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4774 * minibuffer.C: include <iostream>
4776 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
4778 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
4780 * commandtags.h: add LFUN_TRANSPOSE_CHARS
4782 * text.[Ch] (TransposeChars): new method
4784 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4786 * call message directly through LyXView instead of through LyXFunc
4787 * BufferView2.C: adjust
4788 * BufferView_pimpl.C: adjust
4789 * FontLoader.C: adjust
4791 * bufferview_funcs.C: adjust
4792 * converter.C: adjust
4793 * figureForm.C: adjust
4794 * importer.C: adjust
4796 * lyx_gui_misc.C: adjust
4800 + more files in subdirs
4802 * lyxparagraph.h (size): move up int file
4805 * adjust all uses of Assert to lyx::Assert.
4807 * BufferView2.C (ChangeCitationsIfUnique): adjust for
4808 lyxfunctional in namespace lyx
4809 * layout.C (hasLayout): ditto
4812 (delete_layout): ditto
4813 (NumberOfClass): ditto
4814 * converter.C (GetFormat): ditto
4819 * bufferlist.C (getFileNames): ditto
4820 (emergencyWriteAll): ditto
4823 * MenuBackend.C (hasSubmenu): ditto
4826 * BufferView_pimpl.C (getInsetByCode): ditto
4828 2001-04-18 Juergen Vigna <jug@sad.it>
4830 * vspace.C (asLatexString): fixed the 100% problem.
4832 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4834 * lyxfunc.C (Dispatch):
4836 * minibuffer.h: add a few std:: qualifiers
4838 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
4840 * minibuffer.[Ch]: reimplement so that commands is initiated and
4841 run from lyxfunc, simplified som handling, and made the completion
4842 and history code for complete. wip.
4844 * lyxfunc.C (processKeySym): call message
4845 (miniDispatch): new temporary method
4846 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
4847 (LFUN_MESSAGE): implement
4848 (LFUN_MESSAGE_PUSH): implement
4849 (LFUN_MESSAGE_POP): implement
4850 (initMiniBuffer): the initial/defualt minibuffer message.
4852 * lyxfont.[Ch]: inline some more getters
4854 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
4856 * lyx_gui_misc.[Ch] (WriteStatus): remove method
4858 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
4859 (AutoSave): use LFUN_MESSAGE
4860 (Reconfigure): ditto
4862 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
4864 * figureForm.C: use LFUN_MESSAGE
4866 * converter.C (runLaTeX): use LFUN_MESSAGE
4868 * bufferview_funcs.C: use LFUN_MESSAGE
4870 (changeDepth): ditto
4872 * bufferparams.h: use boost::
4874 * bufferlist.h: inherit privately from noncopyable
4876 * bufferlist.C (loadLyXFile): remove some commented code.
4878 * buffer.C (runChktex): use LFUN_MESSAGE
4880 * ShareContainer.h: inherit privately from noncopyable
4882 * ParagraphParameters.[hC] (depth): inline it.
4884 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
4886 (message): new method
4887 (messagePush): ditto
4889 (show): init minibuffer
4890 (showState): direct call
4892 * LaTeX.[Ch]: inherit privately from noncopyable
4893 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
4894 instead of WriteStatus.
4896 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
4898 * BufferView_pimpl.C (buffer): don't init minibuffer
4899 (workAreaButtonPress): use LFUN_MESSAGE
4900 (workAreaButtonRelease): ditto
4901 (savePosition): ditto
4902 (restorePosition): ditto
4903 (MenuInsertLyXFile): ditto
4904 (workAreaExpose): don't init minibuffer
4905 (update): remove commented code, simplify
4907 * BufferView2.C (openStuff): use LFUN_MESSAGE
4908 (toggleFloat): ditto
4911 (copyEnvironment): ditto
4912 (pasteEnvironment): ditto
4917 (updateInset): remove some commented code
4919 * lastfiles.h: inherit privately from noncopyable
4924 * lyxlex_pimpl.h: ditto
4926 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
4927 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
4928 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
4930 * LyXAction.h: inherit privately from noncopyable, add methods
4931 func_begin, func_end, returning iterators to the func map.
4933 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
4934 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
4935 (func_begin): new method
4936 (func_end): new method
4938 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
4940 (copySelection): ditto
4941 (pasteSelection): ditto
4943 * BufferView.C: whitespace change
4944 * BufferView.h: inherit privately from noncopyable
4946 2001-04-16 Allan Rae <rae@lyx.org>
4948 * tabular-old.C (l_getline):
4949 * spellchecker.C (sc_check_word):
4950 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
4951 an unrecognised preprocessor directive. So ensure they're wrapped.
4953 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
4955 * src/exporter.C (Export): Give an error message when path to file
4958 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
4960 * LaTeX.C (deplog): Always check that foundfile exists.
4962 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4965 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
4967 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4969 * tabular.[Ch] (getLabelList): implement new method
4971 * minibuffer.h: comment ouf setTiimer
4973 * minibuffer.C (ExecutingCB): constify res
4974 (peek_event): constify s
4975 (Set): constify ntext
4976 (Init): constify nicename
4978 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
4980 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
4981 (savePosition): use two params to Minibuffer::Set
4982 (restorePosition): ditto
4984 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4986 * lyx_main.C: include language.h
4988 * Makefile.am (lyx_main.o): add language.h
4990 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4996 * CutAndPaste.C: include gettext.h
4998 * lyxfont.h: remove old hack with ON and OFF.
5001 * lyxfont.h: do not include language.h...
5006 * bufferview_funcs.C:
5012 * paragraph.C: ... but do it here instead
5014 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5016 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
5018 * tabular.C: small reformat
5020 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
5023 (BreakParagraph): ditto
5024 (SetOnlyLayout): ditto
5027 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
5030 * lastfiles.C: removed most using decl, add std:: where needed
5032 * buffer.C: ws changes
5034 * MenuBackend.C (class compare_format): put into anon namespace
5035 (expand): constify label, names, action, action2
5038 * text.C (SingleWidth): constify font
5039 (IsBoundary): constify rtl2
5040 (GetVisibleRow): constify ww
5042 * LaTeX.C (deplog): constify logfile
5044 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
5046 (workAreaExpose): constify widthChange, heightChange
5048 * lyxrow.C (par): moved
5051 * lyxrow.h: as inlines here
5053 * lyxfont.h (shape): moved from lyxfont.C
5054 (emph): moved from lyxfont.C
5056 * lyxfont.C (LyXFont): use initialization list for all
5058 (shape): move to lyxfont.h as inline
5059 (emph): move to lyxfont.h as inline
5062 2001-04-04 Juergen Vigna <jug@sad.it>
5064 * vspace.C: had to include stdio.h for use of sscanf
5066 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
5069 * BufferView_pimpl.h: remove xforms cruft. Both classes are
5070 independent of xforms.
5072 2001-04-02 Juergen Vigna <jug@sad.it>
5074 * spellchecker.C: fixed namespace placing!
5076 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
5078 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
5079 the LyXParagraph * is 0.
5081 2001-03-29 Juergen Vigna <jug@sad.it>
5083 * vspace.C: added support for %, c%, p%, l%.
5084 (stringFromUnit): added helper function.
5085 (asLatexString): changed to give right results for the %-values.
5087 * buffer.C: convert the widthp in a width%.
5089 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
5091 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
5094 * figureForm.[Ch]: stripped the FD_from_figure manipulation
5095 code out of lux_cb.[Ch], ready for its (imminent?) removal.
5097 * lyx_cb.[Ch]: see above.
5099 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
5103 * lyx.[Ch]: replaced by figure_form.[Ch].
5107 * lyxfunc.C: changed headers associated with above changes.
5109 2001-03-27 Juergen Vigna <jug@sad.it>
5111 * BufferView_pimpl.C: set the temporary cursor right!
5113 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
5115 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
5117 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
5119 * LString.h: removed "using std::getline"!
5121 * BufferView_pimpl.C (Dispatch): changes due to changes in
5122 InsetInclude::Params.
5124 * buffer.C (tag_name): removed redundant break statements as they were
5125 producing lots of warnings with my compiler.
5127 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5129 * LString.h: add "using std::getline" when using the real <string>.
5131 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
5133 * buffer.C: removed bitset usage.
5134 PAR_TAG moved to an anonymous name space.
5135 (tag_name): new funtion, also in the anonymous namespace.
5136 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
5137 (makeDocBookFile): clean code. Completed transition from string arrays
5139 (SimpleDocBookOnePar): code clean.
5141 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5143 * tabular.C: add some comments.
5145 2001-03-22 Juergen Vigna <jug@sad.it>
5147 * buffer.C (parseSingleLyXformat2Token): redone the minipage
5148 compatibility read a bit and fixed bug with minipage in different
5151 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
5153 * buffer.C (pop_tag): removed.
5154 (push_tag): removed.
5155 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
5156 array replaced with vector. Added support for CDATA sections.
5157 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
5159 (makeDocBookFile): XML conformant declaration of CDATA section,
5160 fixed bug related to <emphasis> in the first paragraph char.
5161 (sgmlOpenTag): exclude empty tags.
5162 (sgmlCloseTag): ditto.
5164 * buffer.h (pop_tag): removed.
5165 (push_tag): removed.
5167 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
5169 * language.h (Languages): added size_type and size().
5171 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5173 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
5174 response on compability reading of minipages. One probliem is that
5175 the old usage of minipages was «flertydig»
5177 * several files here and in subdirs: don't use static at file
5178 scope use anon namespaces instead.
5180 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
5182 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
5183 LaTeX output. This is necessary for Literate document
5186 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5188 * buffer.C: insert hfill when needed.
5190 * tabular.C (l_getline): use string::erase, small whitespace change.
5192 * BufferView_pimpl.C: try the anon namespace.
5195 2001-03-16 Juergen Vigna <jug@sad.it>
5197 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
5198 otherwise it won't open options-dialogs.
5200 * buffer.C: honor pextraWidth(p) on converting minipages.
5202 * tabular.C (l_getline): changed the functions to strip trailing \r.
5204 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
5206 * BufferView_pimpl.C:
5207 * minibuffer..C: added "using SigC::slot" declaration.
5209 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5211 * lyxlex_pimpl.h: noncopyable is in namespace boost.
5217 * paragraph.C: ditto
5219 * lyxtext.h: NO_PEXTRA
5221 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
5223 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
5224 * ParameterStruct.h: ditto
5225 * ParagraphParameters.h: ditto
5226 * lyxparagraph.h: ditto
5228 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5230 * buffer.C: add compability for minipage alignment.
5231 (latexParagraphs): remove unwanted pextra check.
5233 * several files: remove CXX_WORKING_NAMESPACES
5235 * buffer.C (pop_tag): tie is in namespace boost
5237 * BufferView.h: noncopyable is in namespace boost
5242 * lastfiles.h: ditto
5243 * bufferlist.h: ditto
5244 * ShareContainer.h: ditto
5246 * LyXAction.h: ditto
5249 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
5251 * Merging changes from BRANCH_MVC back into HEAD.
5253 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
5255 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
5257 * BufferView_pimpl.C: change from intl.C
5261 * Makefile.am: move combox.*
5267 * intl.C: remove dialog (covered by prefs)
5269 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
5271 * lyxfunc.C (Dispatch): removed redundant break statement.
5273 2001-03-14 Juergen Vigna <jug@sad.it>
5275 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
5277 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5279 * buffer.C: add hack to fix compability reading of minipages.
5281 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
5283 * buffer.C (getLists): Cleanup.
5285 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5287 * lyxfont.C (update): don't honor toggleall on font size.
5289 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
5293 * Makefile.am: moved to frontends/xforms/
5297 * BufferView_pimpl.C: changes for moved mathpanel
5299 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
5301 * gettext.h: fix gettext_init() in --disable-nls
5303 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5305 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
5307 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
5310 * lyx.h: strip external form
5312 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
5314 * BufferView_pimpl.C: add comment, destroySplash()
5316 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
5318 * BufferView_pimpl.C:
5322 * lyxfunc.C: use re-worked insetinclude
5324 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5326 * buffer.C: add using std::stringstream.
5328 * lyx_cb.C: readd using std::ios.
5330 * buffer.C: add using std::map.
5332 * BufferView_pimpl.C: add using std::vector.
5334 * ShareContainer.h: add std:: to swap.
5336 * buffer.h: add some typedefs
5337 * buffer.C (getLists): use them
5338 (getLists): renamed from getTocList.
5339 add a counter for the different float types and use it in the
5341 (getLists): use the same counter for the NEW_INSETS and the "non"
5344 * lyx_cb.h: remove unused items, includes, using etc.
5346 * ShareContainer.h: remove some commented code, add more comments
5347 and "documentation".
5349 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5351 * buffer.C (getTocList): make the list also when NEW_INSETS is
5354 * buffer.h: remove TocType
5356 * buffer.C (getTocList): change to return a map<string,
5357 vector<TocItem> >, implement for dynamic number of list.
5359 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
5360 * text2.C (PasteSelection): adjust
5361 * CutAndPaste.C (pasteSelection): adjust
5363 * FloatList.C (FloatList): update from the new_insets branch.
5364 * Floating.[Ch]: ditto
5365 * LaTeXFeatures.C: ditto
5367 * lyxlex_pimpl.C: ditto
5369 * paragraph.C (Last): remove when NEW_INSETS is defined.
5371 * other file: changes because of the above.
5373 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5375 * lyxparagraph.h: rename next to next_, previous to previous_,
5376 make them private for NEW_INSETS. Rename Next() to next(),
5377 Previous() to previous().
5379 * other files: changes because of the above.
5381 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
5384 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
5387 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5389 * main.C (main): pass lyx_localedir to gettext_init().
5391 * gettext.h: remove locale_init and gettext_init macros
5393 * gettext.C (locale_init): new function
5394 (gettext_init): new function
5396 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
5399 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
5401 * Moved credits to frontends:
5402 * credits.[Ch]: removed
5403 * credits_form.[Ch]: removed
5404 * lyx_gui_misc.C: remove credits stuff
5407 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5409 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
5411 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
5412 unneeded destructor.
5414 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
5415 a standalone pointer again.
5417 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
5419 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
5425 * ToolbarDefaults.C:
5434 * BufferView_pimpl.C: use new file dialog in GUII
5437 * lyx_cb.C: remove LayoutsCB to Toolbar
5439 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5441 * ShareContainer.h (get): add std:: qualifier
5443 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5445 * ShareContainer.h: define a proper ShareContainer::value_type
5446 type (and use typename to please compaq cxx)
5448 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5450 * lyxparagraph.h: move serveral local vars to
5451 ParameterStruct/ParagraphParameters., use ShareContainer in
5452 FontTable., make vars in FontTable private and add getter and
5455 * paragraph.C: changes because of the above.
5457 * lyxfont.h: remove copy constructor and copy assignment. (the
5458 default ones is ok), move number inside FontBits. move inlines to
5461 * lyxfont.C: add number to initializaton of statics, move several
5462 inlines here. constify several local vars. some whitespace
5463 cleanup. Dont hide outerscope variables.
5465 * Spacing.h: add two new constructors to match the set methods.
5467 * ShareContainer.h: new file, will perhaps be moved to support
5469 * ParameterStruct.h: new file
5471 * ParagraphParameters.h: new file
5473 * ParagraphParameters.C: new file
5475 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
5476 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
5478 * BufferView_pimpl.C: ParagraphParameter changes.
5479 * buffer.C: Likewise.
5480 * bufferview_funcs.C: Likewise.
5482 * text2.C: Likewise.
5484 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5486 * lyxfind.C (LyXReplace): do not redefine default argument in
5488 (IsStringInText): ditto
5489 (SearchForward): ditto
5490 (SearchBackward): ditto
5492 2001-03-06 Juergen Vigna <jug@sad.it>
5494 * lyxfind.C (IsStringInText): put parentes around expressions.
5496 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
5498 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
5500 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
5502 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
5504 * stl_string_fwd.h: add comment
5506 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
5509 * tabular.C: remove unused DocBook methods
5515 killed DO_USE_DEFAULT_LANGUAGE
5517 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5519 * lyx_gui.C: do not include language.h.
5521 * bufferview_funcs.C (ToggleAndShow): do not provide optional
5522 arguments in function implementation.
5524 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5526 * BufferView_pimpl.C: add <ctime>
5528 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5530 * BufferView_pimpl.C: add using std::find_if
5532 2001-02-27 José Matos <jamatos@fep.up.pt>
5534 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
5537 2001-02-11 José Matos <jamatos@fep.up.pt>
5539 * buffer.C (makeDocBookFile): command styles now have a parameter as
5542 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
5544 * layout_forms.[Ch]: removed
5545 * lyx_cb.[Ch]: out character
5546 * lyx_gui.C: out character
5547 * lyx_gui_misc.C: out character
5548 * bufferview_funcs.C: : out character,
5549 added toggleall as parameter in ToggleAndShow
5551 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
5553 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
5555 * text2.C (SetCurrentFont): Disable number property at boundary.
5557 2001-02-26 Juergen Vigna <jug@sad.it>
5559 * lyxfunc.C (getStatus): added a string argument override function so
5560 that this is correctly called from LyXFunc::Dispatch if it contains a
5561 do_not_use_argument which is used!
5562 (Dispatch): added check for "custom" export and call appropriate func.
5564 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
5566 * lyxrc.C: Add language_command_local, language_use_babel and
5567 language_global_options.
5569 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
5571 * buffer.C (makeLaTeXFile): Use language_use_babel and
5572 language_global_options.
5574 2001-02-23 Juergen Vigna <jug@sad.it>
5576 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
5577 which works with LyXText and putted it inside BufferView. Here now we
5578 only call for that part the BufferView::Dispatch() function.
5580 * BufferView.C (Dispatch): added.
5582 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
5583 functions which needs to use a LyXText over from LyXFunc.
5584 (MenuInsertLyXFile): added
5585 (getInsetByCode): added
5586 (moveCursorUpdate): added
5587 (static TEXT): added
5589 2001-02-22 Juergen Vigna <jug@sad.it>
5591 * BufferView_pimpl.C (update): call a status update to see if LyXText
5594 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5596 * vc-backend.C (revert): implement for CVS
5597 (getLog): implement for CVS
5599 2001-02-20 Juergen Vigna <jug@sad.it>
5601 * text2.C (ClearSelection): added BufferView param for inset_owner call
5603 * lyxfunc.C (TEXT): added this function and use it instead of
5604 directly owner->view()-text of getLyXText().
5606 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
5608 * src/layout_forms.C: out preamble
5609 * src/layout_forms.h: out preamble
5610 * src/lyx_cb.C: out preamble
5611 * src/lyx_cb.h: out preamble
5612 * src/lyx_gui.C: out preamble
5613 * src/lyx_gui_misc.C: out preamble
5614 * src/lyxfunc.C: connect with guii preamble
5616 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
5618 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
5620 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
5622 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
5623 whether to run bibtex.
5625 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
5627 * Makefile.am (lyx_SOURCES): Remove BackStack.h
5629 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
5631 * Makefile.am (lyx_SOURCES): removed bibforms.h
5635 * text.C (GetVisibleRow): make several local vars const
5637 * tabular.C: small cleanup.
5639 * lyxserver.C (callback): use compare instead of strncmp
5641 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
5642 inlines to after class or to paragraph.C
5644 * lyxfont.h: remove friend operator!=
5646 * converter.h: move friend bool operator< to non friend and after
5649 * combox.h: small cleanup
5651 * buffer.h: doxygen, remove unused constructor, move inclas inlies
5652 to inlines after class def.
5654 * buffer.C (pop_tag): use string operations instead of strcmp
5656 * bmtable.c: doxygen, small cleanup
5658 * LaTeX.h: remove friend operator==
5660 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
5672 * BufferView_pimpl.C:
5673 * BufferView.[Ch]: remove cruft
5675 2001-02-14 Juergen Vigna <jug@sad.it>
5677 * lyxfunc.C: removed #if 0 unused code
5679 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
5681 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
5683 * text2.C (SetSelection): added a BufferView * parameter
5685 2001-02-13 Juergen Vigna <jug@sad.it>
5687 * lyxfunc.C (Dispatch): fixed protected blank problem.
5688 * BufferView2.C (protectedBlank): added LyxText * parameter.
5690 * tabular.C (AppendRow): forgot to set row_info of newly added row.
5691 (AppendColumn): same as above for column_info.
5693 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
5694 (moveCursorUpdate): use a LyXText param for support of InsetText.
5696 * BufferView_pimpl.C (doubleClick): added support for InsetText.
5697 (tripleClick): ditto
5699 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
5701 * BufferView_pimpl.C (update): added LyXText param to honor insets.
5703 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
5705 * text2.C (SetSelection): set correct update status if inset_owner
5708 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
5710 * tabular.C: remove some commented code.
5712 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
5714 * BufferView_pimpl.C: call hideSplash()
5716 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
5719 * bibforms.h: remove
5722 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
5723 add LFUN_CHILD_CREATE
5725 * counters.h: fix tiny typo
5730 * lyx.C: move splash to frontends/xforms/
5732 * lyx_gui_misc.C: move Include and Bibform to frontends
5734 * lyxvc.h: clarify comment
5736 * vspace.C: tiny housekeeping
5738 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
5740 * text.C (PrepareToPrint): RTL Fix.
5742 * paragraph.C (GetUChar): New method.
5743 (String): Use GetUChar.
5745 * buffer.C (asciiParagraph): Use GetUChar.
5747 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
5749 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
5751 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
5754 * buffer.C: rename to getLogName(), handle
5755 build log / latex log nicely
5757 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5760 * MenuBackend.h: remove support for reference menuitem type.
5762 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
5764 * BufferView_pimpl.C: housekeeping
5765 * BufferView_pimpl.h:
5770 * minibuffer.h: move Timeout GUI-I
5772 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
5774 * lyxrc.C (read): Update converters data-structures.
5776 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
5778 * LaTeX.h (operator!=): add operator != for Aux_Info
5780 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
5782 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
5784 * LaTeXLog.C: deleted, useful code moved to Buffer
5787 * buffer.C: new function getLatexLogName()
5793 * lyxfunc.C: use frontends for LaTeX and VC logs
5795 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5797 * LaTeX.h: yet another std:: that Allan forgot.
5799 * Variables.C (set): renamed from isset(), because this clashes
5800 with some HP-UX macros (grr).
5802 2001-02-06 Allan Rae <rae@lyx.org>
5804 * LaTeX.h: Another bug fix. Missing std:: this time.
5806 2001-02-04 Allan Rae <rae@lyx.org>
5808 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
5809 floats problem. I've left it commented out because it's not quite
5810 correct. It should also test that the current object is a table or
5811 figure inset. But I haven't gotten around to figuring out how to do
5812 that. I *think* it'll be something like: "table" == inset.type()
5814 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
5817 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
5819 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
5820 all the citation/databases/styles in the auxilary file.
5821 (run): Rerun latex if there was a babel language error.
5823 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
5825 * text.C (Backspace): Preserve the font when changing newline char
5827 (BreakParagraph): If the cursor is before a space, delete the space.
5829 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
5831 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
5833 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
5834 new argument (code).
5835 (ChangeCitationsIfUnique): New method.
5837 * paragraph.C (GetPositionOfInset): Handle bibkey.
5839 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5841 * BufferView_pimpl.h: change type of Position::par_pos to
5842 LyXParagraph::size_type.
5844 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
5846 * BufferView_pimpl.C (savePosition, restorePosition): Write
5847 messages to minibuffer.
5849 2001-01-28 José Matos <jamatos@fep.up.pt>
5851 * buffer.C (makeDocBookFile): adds support for document language.
5852 A silly restriction on the name of LatexCommand types where removed.
5853 Added support for CDATA sections, allows to chars unescaped, used
5854 among others in code, to avoid escape < and >.
5856 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
5858 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
5859 saved positions instrad of a stack. Furthermore, a position is
5860 stored using paragraph id/paragraph position.
5862 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
5863 Remove LFUN_REF_BACK.
5865 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
5867 * converter.C (dvipdfm_options): New method.
5869 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
5871 * vspace.C (isValidLength): Fix for empty input string.
5873 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5875 * LyXAction.C (init): change description of LFUN_FIGURE to
5878 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5880 * LaTeX.C: add using directive
5882 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
5884 * MenuBackend.C (expand): Fix the sorting of the formats.
5886 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
5888 * lyx_main.C: tiny error message fix
5890 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5892 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
5893 calling fl_initialize(). This fixes the problem with ',' as
5894 decimal separator in text files.
5896 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
5898 * trans.C (process): Fix the keymap bug.
5900 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
5902 * LaTeX.C (scanAuxFiles): New method. Provides support for
5903 multiple bibliographies (when using the bibtopic/bibunits pacakges).
5904 (scanLogFile) Scan for "run BibTeX" messages.
5906 * buffer.C (makeLaTeXFile): Do not load the ae package when using
5907 OT1 font encoding. Also, load the aecompl package if the ae
5910 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
5912 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5914 * texrow.C (increasePos): turn two error messages into debug
5917 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
5919 * LaTeX.C (scanAux): Handle the \@input macro.
5920 (runBibTeX): Use scanAux().
5922 * language.C (latex_options_): New field.
5924 * LaTeXFeatures.C (getMacros): Add language macros.
5926 * buffer.C (makeLaTeXFile): Small fix.
5928 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5930 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
5932 * text2.C: add a using directive.
5934 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
5939 * lyxfunc.C: kill LyXBell.
5941 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
5943 * text.C (IsBoundary): Remove the error message
5945 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
5947 * lyxrc.C (setDefaults): Correct initialization value for
5950 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
5952 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
5955 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
5958 * src/LyXAction.C: Added reference-next.
5960 * text.C (InsertChar): Use contains instead of strchr.
5962 * lyx_cb.C (MenuInsertLabel): Enable default value code.
5964 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
5966 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
5967 alignment commands (when needed).
5969 * text.C (InsertChar): Add ':' to number separator chars.