1 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
3 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
5 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
6 natbib is provided by the LaTeX class.
8 2002-04-23 Juergen Vigna <jug@sad.it>
10 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
15 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
17 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
19 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
20 ensuremath around textordmasculine, textordfeminine and
23 2002-04-19 Juergen Vigna <jug@sad.it>
25 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
26 reinitializing the buffer otherwise row-dimensions may be wrong.
27 (update): reset also the selection cursors if they do exits otherwise
28 their x/y positions may be wrong.
30 * text2.C (cursorDown): don't enter the inset if we came from a row
31 above and are one row over the inset.
33 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
34 really leaving an inset.
36 2002-04-18 Juergen Vigna <jug@sad.it>
38 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
39 of the selected paragraph does not have the selected layout also if
42 * text2.C (setLayout): fixed bug which did not change last selected
45 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
46 changed the read and substituted \\end_float with \\end_inset!
48 * BufferView_pimpl.C (cursorPrevious):
49 (cursorNext): fixed to make it work with rows heigher than the work
50 area without moving the cursor only the draw of the row.
51 (workAreaMotionNotify): fix jumping over high rows.
53 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
55 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
58 2002-04-16 Juergen Vigna <jug@sad.it>
60 * text2.C (setCursor): set also the irow().
61 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
63 (cursorDown): support for locking an inset if the x_fix value goes
64 inside it. That way I can transverse insets too with cursor up/down.
66 * lyxrow.h: added irow helper function same as other (i) functions.
68 * BufferView_pimpl.C (cursorPrevious):
69 (cursorNext): fixed for insets!
71 2002-04-15 Juergen Vigna <jug@sad.it>
73 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
74 position otherwise it is wrong in some cases.
76 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
77 inside the inset before the call.
79 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
81 * buffer.[Ch] (getBibkeyList): make it const.
83 2002-04-12 Juergen Vigna <jug@sad.it>
85 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
87 * text2.C (getCursorX): new helper function
88 (setCursor): compute also ix_
89 (setCursorFromCoordinates): set also ix.
91 * lyxcursor.h: added ix_ and helper functions.
93 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
95 * buffer.C (insertStringAsLines): dont break paragraph if the this
96 paragraph is inside an inset which does not permit it!
98 * text.C (breakParagraph): honor keepempty flag and break the paragraph
99 also with no chars on this paragraph.
100 (paintRowText): only paint stuff if it's inside the workarea!
102 * paragraph.C (breakParagraph): honor keepempty flag and break the
103 paragraph always below not above.
105 * BufferView2.C (unlockInset): update the paragraph layout on inset
106 unlock as we changed paragraph in such a case.
108 * lyxfind.C (LyXFind): clear the former selection if not found!
110 * text2.C (insertInset): freeze Undo after setUndo so that it is not
111 again called in insertChar().
113 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
114 an inset which uses the whole row!
115 (rightMargin): ditto.
116 (insertChar): force a rebreak if we inserted an inset!
118 2002-03-28 Herbert Voss <voss@lyx.org>
120 * lyxlength.[Ch]: add inBP() to get the right PS-point
121 units (BigPoint). With inPixels we have rounding errors
123 2002-04-11 Juergen Vigna <jug@sad.it>
125 * text2.C (setCursorFromCoordinates): set iy to the right value.
126 (setCursor): add check if row->previous exists!
128 * buffer.C (parseSingleLyXformat2Token): reset font after read of
129 an old float_type as this was the case in the old code!
131 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
133 * BufferView2.C (showLockedInsetCursor): use iy
134 (fitLockedInsetCursor): ditto
136 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
137 locked insets as there we have the right value now.
139 * lyxcursor.C: added iy_ variable and iy functions to set to the
140 baseline of cursor-y of the locked inset.
142 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
143 (setCursor): fixed for insets which need a full row.
145 * text.C (rowLastPrintable): don't ignore the last space when before
146 an inset which needs a full row.
147 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
148 as last character of a row when before a inset which needs a full row.
150 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
152 * version.C.in: update date
154 * text2.C (fullRebreak): try to always return true and see what
157 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
159 * MenuBackend.C (expand): use Floating::listName
161 * FloatList.C (FloatList): add listName argument to the built-in
164 * Floating.[Ch]: add listName member, which is the 'List of XXX'
165 text associated with the float.
167 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
169 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
171 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
173 * ShareContainer.h: add a couple of missing typenames.
175 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
177 * lyxrc.C (getDescription): use _() correctly rather than N_().
179 2002-03-28 Herbert Voss <voss@lyx.org>
181 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
182 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
184 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
186 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
187 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
189 2002-03-29 Juergen Vigna <jug@sad.it>
191 * lyxfunc.C (dispatch): add a missing fitCursor call.
193 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
194 it was scrolled by a cursor move, so return the bool status.
196 * BufferView.C (fitCursor): return the bool flag also to the outside
197 world as this is needed.
199 * screen.C (toggleToggle): don't subtract the offset if it's positive.
201 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
202 call the edit() as it is not needed (and wrong) IMO.
203 (workAreaButtonPress): set the screen_first variable before evt.
204 unlock the inset as this may change screen_first and then we have
205 a wrong y position for the click!
207 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
209 * MenuBackend.C (expand): another translation that I missed
211 2002-03-28 Juergen Vigna <jug@sad.it>
213 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
215 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
217 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
219 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
221 * MenuBackend.C (expand): fix export/view/update when there is no
224 2002-03-27 Herbert Voss <voss@lyx.org>
226 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
229 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
231 * bufferview_funcs.C (currentState): only show paragraph number
232 for is DEVEL_VERSION is set.
234 * lyxfunc.C (dispatch): put warning in INFO channel
236 * MenuBackend.C (expand): translate the name of floats
238 * FloatList.C (FloatList): mark the float names for translation
240 * converter.C (convert): use LibScriptSearch
242 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
244 * MenuBackend.C (defaults): fix default menu (we might as well get
247 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
249 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
252 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
254 * lyxvc.C: reorder includes.
256 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
258 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
261 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
263 * CutAndPaste.C: change layouts earlier on paste
264 to avoid crashing when calling getFont()
266 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
268 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
271 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
273 * WorkArea.C: remove 'Pending' debug message.
275 * most files: ws cleanup
277 * buffer.[Ch]: ws changes
279 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
281 2002-03-21 Juergen Vigna <jug@sad.it>
283 * tabular.C (SetMultiColumn): collapse also the contents of the
284 cells and set the last border right. Added a Buffer const * param.
286 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
288 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
291 2002-03-19 Juergen Vigna <jug@sad.it>
293 * text2.C (clearSelection): reset also xsel_cache.
295 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
296 where it needs to be called (John tells us to do so too :)
297 (selectionLost): reset sel_cache.
299 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
301 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
303 * text2.C (setCursorIntern): put debuging code in INSETS channel
305 2002-03-19 André Pönitz <poenitz@gmx.net>
307 * lyxfunc.C: tiny whitespace change
309 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
311 * ToolbarDefaults.C (init):
312 * LyXAction.C (init):
314 * BufferView_pimpl.C (Dispatch):
315 * lyxfunc.C (dispatch): remove LFUN_DEPTH
317 2002-03-19 Allan Rae <rae@lyx.org>
319 * exporter.C (Export): removeAutoInsets before doing anything else.
320 While I've just introduced a dependency on BufferView this really is
321 the best place to clean the buffer otherwise you need to cleanup in
322 a dozen places before calling export or cleanup in a dozen functions
325 * converter.C (runLaTeX):
326 (scanLog): Better handling of removeAutoInsets and screen updates.
328 * lyxfunc.C (dispatch): small whitespace changes
330 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
332 * WorkArea.C (C_WorkAreaEvent): return a value.
333 (event_cb): return 1 if we handled the event, 0 otherwise.
335 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
337 2002-03-18 Juergen Vigna <jug@sad.it>
339 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
340 (GetAdditionalWidth): ditto.
344 * BufferView2.C (copy): use getLyXText() so that we do it inside an
345 inset if we're there actually (probably not used right now but this
346 is the direction to go for unifying code).
347 (paste): disable code to clear the selection.
349 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
350 inside an InsetText and move the check further up as it is in the
353 * text2.C (pasteSelection): set a selection over the pasted text.
355 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
357 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
358 and libgraphics to build on Cygwin.
360 2002-03-15 Juergen Vigna <jug@sad.it>
362 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
363 inserting an Inset into the paragraph. I know this is not the best
364 fix but we already use current_view in CutAndPaste so we will remove
365 all of it's using at the same time.
367 * buffer.C (sgmlError): deactivated function till it is rewritten in
368 the right mode, now it can create problems.
370 * paragraph.C (isLineSeparator): check if getInset returns != 0,
373 2002-03-14 Juergen Vigna <jug@sad.it>
375 * undo_funcs.C (textHandleUndo): do the right thing when updating
376 the inset after the undo/redo.
378 * text2.C (setCursor): just some testcode for #44 not ready yet.
380 * undo_funcs.C (textHandleUndo): set the next() and previous()
381 pointers of the paragraph to 0 before deleting otherwise we have
382 problems with the Paragraph::[destructor].
384 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
385 on a paragraph insertion.
387 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
389 * buffer.C (asciiParagraph): use += operator for char append to
392 * paragraph.C (getFontSettings): compare >= not just >
393 (highestFontInRange): ditto
396 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
398 * paragraph.C: change several algorithm to be more appripriate for
399 the problem domain. This is lookip in FontList and in the InsetList.
401 2002-03-13 André Pönitz <poenitz@gmx.net>
404 * LyXAction.C: remove unused LFUN_MATH_MACROARG
406 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
411 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
413 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
415 * Painter.C (display): anon helper function, adjust code for this
417 (pixmap): remove function.
419 * Painter.h: remove private display variable.
421 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
423 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
425 * WorkArea.[Ch]: remove figinset_canvas cruft.
427 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
429 * lyxtextclass.C (operator): add one item cache optimization.
431 * bufferlist.h: doxy changes
433 * bufferlist.C: ws changes
435 * DepTable.[Ch] (ext_exist): place const in the right spot.
437 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
439 (workAreaExpose): call resizeInsets when the with BufferView changes.
440 (Dispatch): adjust for protectedBlank removal
441 (specialChar): call updateInset if the insert went ok.
443 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
446 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
448 * BufferView.h: doxy change
450 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
452 * lyxtextclass.C (operator[]): remove non-const version
453 (defaultLayout): remove non-const version
455 2002-03-12 Juergen Vigna <jug@sad.it>
457 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
458 did resize the LyXText too.
460 * buffer.C (readLyXformat2): set layout information on newly allocated
463 * tabular.C (OldFormatRead): set layout information on the paragraph.
465 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
467 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
469 2002-03-11 Juergen Vigna <jug@sad.it>
471 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
473 (resizeCurrentBuffer): force also the insets to resize themselfes.
474 (moveCursorUpdate): fixed up for InsetText.
476 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
479 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
480 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
481 value of Dialogs::tooltipsEnabled().
482 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
484 2002-03-08 Juergen Vigna <jug@sad.it>
486 * BufferView_pimpl.C (updateInset): update inset inside inset also
487 if it isn't inside theLockingInset().
489 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
491 * buffer.C (asciiParagraph): redo some of the word and line length
493 (getLists): look for Caption instead of caption.
495 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
497 * buffer.C (Buffer): initialize niceFile to true
500 (makeDocBookFile): make sure niceFile is true on exit
502 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
504 * buffer.C (makeLaTeXFile): escape ~ in \input@path
506 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
508 * LyXSendto.C: remove.
509 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
510 * lyx_gui.C: remove now-redundant comment.
511 * ColorHandler.h: remove forward declaration of class WorkArea.
512 * lyxfunc.C: remove #include "WorkArea.h".
514 2002-03-07 Juergen Vigna <jug@sad.it>
516 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
517 got moved away with the DEPM and also set the inset_owner always
518 right which before could have been omitted.
520 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
522 * buffer.C (parseSingleLyXformat2Token): use default layout is the
523 wanted layout is not found.
525 2002-03-07 Juergen Vigna <jug@sad.it>
527 * CutAndPaste.C (cutSelection): another layout settings forgotten.
529 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
531 * paragraph.C (breakParagraph): use default layout not layout of
533 (Paragraph): clear ParagraphParameters.
535 2002-03-06 Juergen Vigna <jug@sad.it>
537 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
538 otherwise it would not be a valid lenght. Fixed a special case in
539 the minipage compatibility read where we end the document with a
542 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
543 was set as it could be 0 for InsetTexts first entry.
545 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
547 * paragraph.C (writeFile): if layout is empty write out
550 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
551 file without named layout we set layout to defaultLayoutName().
553 2002-03-06 Juergen Vigna <jug@sad.it>
555 * CutAndPaste.C (copySelection): set layout for new paragraph.
557 * text.C (prepareToPrint): leave ERT inset left aligned
558 (leftMargin): don't indent paragraphs inside ERT insets
560 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
562 * paragraph.C (breakParagraph): dont call clear do the work manually
564 * paragraph.[Ch] (clear): remove function
566 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
568 * paragraph.C (Paragraph): dont call clear, the work has already
571 * lyxtextclass.C (operator): assert if n is empty
573 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
574 work manually instead.
576 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
578 * BufferView_pimpl.C: protect selectionLost against text == 0
580 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
582 * text.C (breakParagraph): fix a setting layout to '0' problem.
584 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
586 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
587 final location of file, for the included files, and graphics.
589 2002-03-05 Juergen Vigna <jug@sad.it>
591 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
593 2002-03-04 Juergen Vigna <jug@sad.it>
595 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
597 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
598 last column of multicolumn cells.
599 (SetWidthOfMulticolCell): recalculate NMC and real columns.
601 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
603 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
604 file if it doesn't go to a temporary file.
606 * buffer.C (sgmlOpenTag):
607 (sgmlCloseTag): remove extra newline insertion.
609 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
611 * text.C (getRowNearY): comment out debug msg
613 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
615 * text2.C: first -> first_y
617 * text.C (getRowNearY): add some attemts at a possible
618 optimization, not working.
620 * tabular.[Ch]: add BufferParams to several function so that newly
621 created paragraph can be initialized to he default layotu for the
624 * tabular-old.C (ReadOld): add buf->params to call of Init
626 * screen.C: rename text->first to text->first_y
628 * paragraph.C (breakParagraph): always set layout in the broken
631 * lyxtextclass.C (Read): remove lowercase
634 (delete_layout): ditto
636 * lyxtext.h: rename first -> first_y
638 * lyxlayout.C (Read): remove lowercase
641 (obsoleted_by): ditto
643 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
645 * buffer.C (insertErtContents): add params are to InsetERT
646 (parseSingleLyXformat2Token): add code to check if a paragraphs
648 (parseSingleLyXformat2Token): add params to several inset
650 (asciiParagraph): remove lowercase, do the layout comparisons with
653 * BufferView_pimpl.C (cursorNext): first -> first_y
654 (resizeCurrentBuffer): first -> first_y
655 (updateScrollbar): first -> first_y
656 (scrollCB): first -> first_y
657 (workAreaMotionNotify): first -> first_y
658 (workAreaButtonPress): first -> first_y
659 (checkInsetHit): first -> first_y
660 (cursorPrevious): first -> first_y
661 (cursorNext): first -> first_y
662 (Dispatch): add buffer_->params to severl inset contructors
664 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
666 * lyxlayout.C (Read): remove some debug info that I forgot.
668 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
669 clean up the code slightly.
670 (makeLinuxDocFile): ditto
671 (makeDocBookFile): ditto
673 * text2.C: layout as string
675 * text.C: layout as string
677 * paragraph_pimpl.C: layout as string
679 * paragraph.[Ch]: layout as string
681 * lyxtextclasslist.[Ch]: layout as string
683 * lyxtextclass.[Ch]: layout as string
685 * lyxtext.h: layout as string
687 * lyxlayout.[Ch]: layout as string
689 * lyx_cb.C: layout as string
691 * bufferview_funcs.C: layout as string
693 * bufferparams.C: layout as string
695 * buffer.C: layout as string
697 * LyXView.[Ch]: layout as string
699 * LaTeXFeatures.[Ch]: layout as string
701 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
703 * BufferView_pimpl.C: change current_layout to string, remove
708 (workAreaButtonRelease): layout as string
710 * BufferView2.C (unlockInset): adjust
712 * vspace.C (asLatexCommand): use an explict temp variable.
714 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
716 * Makefile.am: use FRONTEND_*
718 2002-03-01 Juergen Vigna <jug@sad.it>
720 * tabular.C (SetWidthOfMulticolCell): changed to something better
721 I hope but still work in progress.
722 (recalculateMulticolumnsOfColumn): renamed function from
723 recalculateMulticolCells as it is more appropriate now.
724 (SetWidthOfCell): calculate multicols better.
726 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
728 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
730 * lyxfunc.C (processKeySym): print sequence also if it is
733 * kbsequence.C (print): print sequence even if it is deleted
734 (complete would be a better word, actually).
736 * lyxfunc.C (dispatch): print complete options after a prefix key
738 * vspace.C (asLatexCommand): rewrite in a slightly different form.
740 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
742 * text2.C (setCharFont): eliminate setCharFont code duplication.
744 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
746 * BufferView_pimpl.C (Dispatch): remove bogus handling of
747 LFUN_TABULAR_FEATURE (bug #177)
749 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
751 * Makefile.am: remove figure.h
753 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
755 * Bufferview_pimpl.C:
767 * text2.C: remove #include "lyx_gui_misc.h".
769 * LaTeX.C: added #include <cstdio>
771 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
773 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
774 that the paragraph following this one can have.
776 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
778 * vspace.C (asLatexCommand): fix bogus gcc warning
780 * Makefile.am (lyx_SOURCES): remove vms_defines.h
782 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
784 * text2.C (setLayout): get rid of redundant code
786 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
788 * text2.C (incDepth): make sure depth cannot be increased beyond
791 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
793 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
794 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
796 * PainterBase.h (image):
797 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
800 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
804 * BufferView_pimpl.C:
805 * BufferView_pimpl.h:
825 * sp_spell.C: remove fig inset, and the crap house of
826 cards that follows it
828 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
834 * nt_defines.h: move .h into support/
836 * vms_defines.h: remove
838 * WorkArea.C: add space in debug output
842 * buffer.C: add WITH_WARNINGS
846 * bufferlist.C: s/retrive/retrieve/, add docs
857 * lyxgui.C: add ID to X error handler
859 * lyxtestclass.c: fix typo
861 2002-02-26 Juergen Vigna <jug@sad.it>
863 * tabular_funcs.C (write_attribute): changed so that some default
864 attributes are not written at all.
865 (getTokenValue): set default values before trying to read the
866 value so we have the return value always set as default if we don't
867 find the token we search for.
869 * tabular.C (Write): write bools as bools not as strings!
871 2002-02-22 Juergen Vigna <jug@sad.it>
873 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
874 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
876 * text.C (leftMargin): don't add an indent for paragraphs inside
877 tabular cells (fix #208).
879 2002-02-21 José Matos <jamatos@fep.up.pt>
881 * tabular.C (docBook): fixed support for long tables.
883 2002-02-20 Juergen Vigna <jug@sad.it>
885 * text2.C (getFont): get the drawing font of the Inset if this
886 paragraph is inside an inset (only important for InsetERT for now).
888 * buffer.C (insertErtContents): use new lanugage params in ERT
891 * CutAndPaste.C: commenting out seemingly uneeded code.
893 2002-02-19 Allan Rae <rae@lyx.org>
895 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
896 Iterators might be simple to use but they also get invalidated.
897 (removeAutoInsets): renamed saved cursor tracking variables and added
898 some comments to clarify what everything does.
900 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
907 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
908 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
911 * vc-backend.h: remove #include "support/syscall.h"
915 * converter.C: rearrange #includes in Lars' approved fashion.
917 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
918 forward declare class Timeout in the header file.
920 * XFormsView.C: changes due to the above.
922 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
925 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
926 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
928 2002-02-18 José Matos <jamatos@fep.up.pt>
930 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
933 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
935 * a lot of small ws changes
936 * add a lot of using std::XXX
937 * use std construcs some places where approp.
938 * use some exisint stuff from lyxfunctional where approp.
939 * Make file changes to use partial linking (lets test this now...)
941 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
945 remove #include "support/syscontr.h" as it's redundant. Always has been.
953 change Systemcalls::System to Systemcalls::Wait and
954 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
955 No change of functionality, just reflects the stripped down Systemcalls
958 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
960 * debug.[Ch]: add a GRAPHICS type to the enum.
962 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
964 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
966 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
969 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
971 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
972 match the changes below.
974 * text2.C (toggleInset): if there is not editable inset at cursor
975 position, try to see if cursor is _inside_ a collapsable inset
978 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
980 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
981 document menu has a nice checkbox
983 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
985 * lyxlength.C (asLatexString): change PW to output as percent of
988 * lengthcommon.C: change '%' to 't%'
990 * lyxfunc.C (dispatch): a few comments from Martin
992 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
996 * BufferView_pimpl.h:
997 * BufferView_pimpl.C: clear our selection when X tells us we've lost
1000 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1002 * vspace.C (inPixels): fix compiler warning
1004 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1006 * lyxfunc.C (getStatus): fix status message for disabled commands.
1008 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
1010 * BufferView_pimpl.C: fix crash on close buffer
1011 during selection (#227)
1013 2002-01-27 Herbert Voss <voss@lyx.org>
1015 * buffer.C: link old Figure to new graphic inset
1017 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
1019 * FontLoader.C (getFontinfo): Change the latex font names in order
1020 to match the names of type1inst.
1022 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1024 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
1026 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
1029 (remove_files_with_extension): ditto
1030 (remove_file): ditto
1033 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
1034 document is smaller than the work area height. Do not initialize
1035 static variables to 0.
1037 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1039 * lyx_gui.C (init): give the toolbar tooltips a normal font.
1041 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
1042 LFUN_LAYOUT_PARAGRAPHS.
1044 * tabular.C (GetCellFromInset): new method. Finds an inset in a
1045 tabular. It is possible to provide a possible cell, which will
1046 typically be the actcell from the corresponding insettabular
1048 * lyxfunc.C (getStatus): small cleanup; disable
1049 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
1052 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1054 * tabular.C (Validate): remove broken optimization (fixes bug #201)
1056 * paragraph.C (startTeXParParams):
1057 (endTeXParParams): new methods. The LaTeX code to
1058 start/end paragraph formatting
1059 (simpleTeXOnePar): call startTeXParParams also when paragraph is
1060 empty (fixes bug #200)
1062 * vspace.C (inPixels): adapt to the change below
1063 (inPixels): [later] more cleanups (remove unused variables)
1065 * lyxlength.C (inPixels): change to use a width and a height as
1068 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1070 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
1071 Replaced with \paperwidth
1073 * DepTable.C (insert): add std:: qualifier
1075 2002-01-18 Allan Rae <rae@lyx.org>
1077 * text2.C (removeRow): add comment. Should other refresh_?? vars be
1080 * text.C (drawInset): Turned out I didn't know enough about how
1081 rebreaking worked. This fixes most of the redraw problems. I see
1082 an occasional cursor trail when a line is broken now and the cursor
1083 placement can seem out by a few pixels also after a rebreak.
1085 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1087 * buffer.C (parseSingleLyXformat2Token): update because minipage
1088 width is now a LyXLength
1090 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
1092 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
1095 2002-01-17 Juergen Vigna <jug@sad.it>
1097 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
1099 * BufferView2.C (lockInset): call edit() so that theLockingInset()
1100 is set correctly and the inset is updated correctly.
1102 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1104 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
1105 the beginning of the loop.
1107 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
1109 * lyxrc.C: improve help for use_scalable_fonts
1111 2002-01-17 Allan Rae <rae@lyx.org>
1113 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
1115 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1117 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
1118 make sure to set their inset_owner to the right value (bug #171)
1120 2001-12-12 Ben Stanley <bds02@uow.edu.au>
1123 * DepTable.C: Implement mtime checking to reduce time spent doing
1126 2002-01-16 Juergen Vigna <jug@sad.it>
1128 * tabular.C (GetAdditionalHeight): one of error fixed.
1130 * lyxrc.C (output): small fix in writing use_pspell.
1132 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1134 * sp_base.h: #include LString.h
1136 2002-01-16 Allan Rae <rae@lyx.org>
1138 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
1139 Can someone check this please?
1141 * text.C (drawInset): It was possible that p.row would be removed by
1142 breakAgainOneRow upsetting a few other settings. There may be another
1143 small tweak possible by setting need_break_row = 0 when p.row has been
1144 removed but I don't know enough about the logic here.
1146 2002-01-15 Allan Rae <rae@lyx.org>
1148 * text.C (insertChar): removed conditional truism.
1150 * BufferView2.C (removeAutoInsets): More tweaks.
1151 cur_par_prev could be a stray pointer. Check for trailing empty line
1152 in case last line was cur_par and only had an error inset on it.
1154 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1156 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
1159 * vc-backend.C (most methods):
1160 * exporter.C (Export):
1161 * converter.C (convert):
1163 * LyXSendto.C (SendtoApplyCB):
1164 * lyxfunc.C (dispatch):
1168 * lyx_cb.C (AutoSave):
1170 * BufferView_pimpl.C (MenuInsertLyXFile):
1171 * buffer.C (runChktex): use Buffer::filePath().
1173 * buffer.h: rename filename to filename_; rename filepath to
1174 filepath_ and make it private
1175 (filePath): new method
1177 * buffer.C (writeFile): use fileName()
1180 * lyx_main.C (init): fix starting of LyX when the binary is a
1181 link from so,ewhere else.
1183 * minibuffer.C: include <cctype> for isprint
1185 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1187 * buffer.C (parseSingleLyXformat2Token): changes associated with the
1188 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
1189 name clash with InsetCollapsable's width function.
1191 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
1193 * lastfiles.C: include <iterator>
1195 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1197 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
1200 * buffer.C (makeLaTeXFile): ditto.
1201 Also make loop operation more transparent.
1203 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1205 * ToolbarDefaults.C: remove trailing comma closing namespace.
1207 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
1209 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
1212 * trans.C (Load): comment out unused variable, allowed.
1214 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
1216 * minibuffer.[Ch] (append_char): new method to recieve input from the
1217 drop-down completion browser. If a key was pressed, then recieve this
1218 char and append it to the existing string.
1219 (peek_event): modify the positioning data passed to the completion
1220 browser so that it can be placed above the minibuffer rather than below.
1221 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
1223 * LyXAction.C (init): alloe error-next for readonly documents.
1225 * BufferView2.C (ChangeRefsIfUnique): use standard version of
1228 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1230 * bufferlist.C (readFile): create the buffer _after_ checking that
1233 * lyxfunc.C (verboseDispatch): fix handling of arguments
1235 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
1237 * lyxrc.C: use string::erase() instead of initializing to "".
1240 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
1242 * BufferView_pimpl.h:
1243 * BufferView_pimpl.C:
1246 * text2.C: tell X when we have made a selection for copying
1248 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1250 * BufferView_pimpl.C (MenuInsertLyXFile):
1251 * lyxfunc.C (menuNew):
1253 (doImport): add shortcuts to directory buttons
1255 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
1258 * lyxfunc.C (setStatusMessage):
1259 (getStatusMessage): new methods
1260 (getStatus):use setStatusMessage instead of setErrorMessage
1261 (dispatch): when function is disabled, set error message here
1262 [instead of in getStatus previously]
1264 * BufferView_pimpl.C (workAreaButtonRelease): update
1265 toolbar/menubar here too.
1267 2002-01-13 Allan Rae <rae@lyx.org>
1269 * BufferView2.C (removeAutoInsets): finished off earlier fix.
1270 Now seems indestructible. Remaining task is to audit all other
1271 code affected by deleteEmptyParagraphMechanism. One small quirk
1272 left is that an empty document with an error in the preamble can
1273 be made to report an error but no error box appears. I don't know
1275 (removeAutoInsets): Improved comments.
1277 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
1280 * Thesaurus.C: update for Aiksaurus 0.14
1282 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
1284 * text2.C (firstParagraph): removed member function, all uses
1285 replaces with ownerParagraph
1286 (redoParagraphs): here
1288 (toggleAppendix): here
1289 * BufferView2.C (insertErrors): here
1290 (setCursorFromRow): here
1292 2002-01-13 Allan Rae <rae@lyx.org>
1294 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
1295 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
1296 There is still a way to segfault this although you may have to do this
1297 multiple times: Have an InsetERT with an unknown command in it.
1298 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
1299 <down-arrow>, <Enter> again, View->DVI, BANG!
1301 * text2.C (setCursor):
1302 (deleteEmptyParagraphMechanism):
1303 * lyxtext.h (setCursor):
1304 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
1305 Making use of the return value may help fix other bugs.
1307 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1309 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
1311 * LyXView.C (updateMenubar): call MenuBar::update here
1312 (updateToolbar): but not here
1313 (showState): do not update toolbar/menubar
1315 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
1316 should need to care about that.
1318 * lyxfunc.C (verboseDispatch): simplify a bit
1319 (getStatus): have a version which takes a pseudoaction, and
1320 another which requires a (kb_action,string).
1322 * LyXAction.C (retrieveActionArg): make it work also when action
1323 is not a pseudo-action.
1324 (getActionName): simplify a bit
1327 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1329 * lyxfunc.C (verboseDispatch): new families of methods with
1330 several ways to specify a command and a bool to indicate whether
1331 the command name and shortcut should be displayed in minibuffer
1332 (eventually, we could extend that to a finer bitmask like
1333 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
1334 (dispatch): the pristine dispatch command which just, well,
1335 dispatchs! Note it still sets its result to minibuffer; I'm not
1338 * lyxfunc.h: remove setHintMessage
1340 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
1342 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1344 * BufferView_pimpl.C (specialChar): delete new inset if we have
1345 not been able to insert it.
1347 * kbmap.C: revert to using int instead of kb_action, since all we
1348 are dealing with is pseudo-actions.
1350 * LyXAction.C (searchActionArg): change to return int instead of
1351 kb_action, since the result is a pseudoaction.
1353 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
1355 * buffer.C (insertErtContents): Fix (partially) the font bug.
1357 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
1359 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
1360 as the other one is broken on my machine!
1362 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
1365 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
1367 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
1369 * lyxrc.[Ch]: change names and descriptions of popup font variables to
1370 reflect their actual use. Provide compatibility code for older lyxrc
1373 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
1375 change names of popup font variables in line with the changes to lyxrc.C
1377 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1379 * buffer.C (asciiParagraph): avoid outputing a word twice after
1382 * lyxrc.C (getDescription): document that document_path and
1383 template_path can be empty.
1385 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1387 * LaTeXFeatures.C (getMacros):
1388 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
1390 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
1392 * LaTeXFeatures.C (useFloat): require "float" here instead of in
1394 (getPackages): rename feature "floats" to "float". Use an array to
1395 iterate over 'simple' features (i.e. just a \usepackage). Add
1396 handling of "amsmath" (renamed from "amsstyle").
1398 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
1400 * LaTeXFeatures.C (require): Prevent duplicate entries in the
1403 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
1405 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
1406 FuncStaus::FuncStatus & FuncStaus::some_method().
1408 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
1410 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
1411 of the func_satus stuff. Edited and massaged in various ways by
1414 * lyxfunc.C (getStatus): use FuncStatus
1416 2002-01-08 Juergen Vigna <jug@sad.it>
1418 * text.C (nextBreakPoint): use function Inset::isChar().
1420 * paragraph.C (TeXOnePar): use function
1421 Inset::forceDefaultParagraphs.
1423 * buffer.C (latexParagraphs): use function
1424 Inset::forceDefaultParagraphs.
1426 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
1428 * lyx_gui.C (init): set the style of the menu popups to
1429 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
1431 2002-01-07 Juergen Vigna <jug@sad.it>
1433 * text.C (setHeightOfRow): small fix
1434 (prepareToPrint): don't look at alignment if we don't have the place
1437 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
1439 * box.C: New file. Move the Box methods and functions out of box.h,
1440 following Lars' suggestion.
1442 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
1444 * box.h: #include "support/LOstream.h", needed for inlined function.
1447 * lyxtextclasslist.C: added some using std declarations.
1449 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
1451 * box.h: make signed dimensions to allow insets wider than
1452 the screen (bug #162)
1454 * BufferView_pimpl.C: add some insetHit debug
1456 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
1458 * vc-backend.C: add FIXME
1460 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1462 * lyxfunc.C (getStatus): enable code for showing math font status
1465 2002-01-07 Juergen Vigna <jug@sad.it>
1467 * text.C (nextBreakPoint): removed debug output not needed anymore.
1469 2002-01-06 Juergen Vigna <jug@sad.it>
1471 * text.C (nextBreakPoint): fixed up this function we had this bug
1472 since ever but now hopefully we break row better.
1473 (insertChar): we have to check if an inset is the next char as it
1474 could now happen that a large inset is causing a break.
1476 2002-01-05 Juergen Vigna <jug@sad.it>
1478 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
1479 if it doesn't like to be drawed.
1481 2002-01-04 Juergen Vigna <jug@sad.it>
1483 * BufferView2.C (lockInset): forgot to set a cursor.
1485 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
1487 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
1492 * form_maths_panel.C:
1493 * form_maths_panel.h:
1494 * form_maths_panel.fd: implemented sub- and super- buttons in math
1497 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
1498 (or ^ space) to be used as in TeX (req'd by André).
1500 * lyxfunc.C: Allow ^ and _ again to be used both as
1501 super/subscript (mathed) and as themselves (in text).
1503 2002-01-03 Allan Rae <rae@lyx.org>
1505 * LyXView.C (updateWindowTitle): Setup a short icon title of either
1506 "LyX" or the filename of the current buffer if it has one. This is a
1507 modified form of John Levon's patch.
1509 * XFormsView.C (setWindowTitle): also set icon title.
1511 * LyXView.h (setWindowTitle): signature changed.
1512 * XFormsView.h (setWindowTitle): ditto.
1514 2002-01-02 Juergen Vigna <jug@sad.it>
1516 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
1518 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
1520 * screen.C (topCursorVisible): introduce a temp var for
1521 text->cursor.row(), handle the case where this row is null. (kindo
1524 * text2.C (setCursor): add a couple of asserts.
1526 * paragraph.h (inset_iterator): add -> operator
1528 * paragraph.[Ch] (autoDeleteInsets): remove member function
1530 * BufferView2.C (removeAutoInsets): rewrite to handle the old
1531 cursor pos correctly and handle inset deletion by itself.
1532 (insertErrors): move iterator declaration out of for expression
1534 * lyxtextclass.C: add <algorithm>
1536 * Makefile.am: added the new files to sources, removed layout.C
1538 * layout.C: removed file
1540 * layout.h: remove LYX_DUMMY_LAYOUT
1542 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
1546 * lyxtextclass.[Ch]:
1547 * lyxtextclasslist.[Ch]: new files
1549 * include order changes to a lot of files, also changes because of
1552 2001-12-27 Juergen Vigna <jug@sad.it>
1554 * buffer.C (asciiParagraph): more fixes.
1556 * tabular.C (ascii): make ascii export support export of only the
1557 data separated by a column-delimiter.
1558 (ascii): better support for ascii export.
1560 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
1562 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1564 * tabular_funcs.C: use a "using std::getline" instead of the
1565 previous fix from Angus (necessary for cxx + lyxstring)
1567 2001-12-24 Juergen Vigna <jug@sad.it>
1569 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
1571 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
1572 problems. First check a minipage also if we have some ert-contents
1573 (not only on par->size(), second set the right depth of the paragraph
1574 on the relink to the root-paragraph-list!
1576 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
1577 which then did not anymore update the main paragraphs on undo/redo!
1579 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1581 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
1582 code. Support all font-changing funcs (even those which are not in
1583 menu currently). Support for reporting font settings in
1584 mathed (disabled until Andre provides a function on mathed's side).
1586 * func_status.h (toggle): small helper function to set toggle
1589 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
1591 * tabular_funcs.C: getline -> std::getline
1593 2001-12-21 Juergen Vigna <jug@sad.it>
1595 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
1596 accessed and could be 0 (I couldn't generate this but it seems
1599 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
1601 * tabular_funcs.C: add LIstream.h, move write_attribute to..
1602 * tabular_funcs.h: here and include iosfwd
1604 2001-12-20 Juergen Vigna <jug@sad.it>
1606 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
1607 inside inset but undo_par was.
1609 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1611 * Thesaurus.C: always include <config.h> in sources.
1615 * box.h: do not include <config.h> in header files
1617 * text.C (paintLastRow): remove unused variable
1619 * text.C (transformChar):
1621 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
1624 * font.C (width): rewrite to use uppercase() instead of
1627 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
1629 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
1631 * lyxfind.C: clean up of find failure position change
1633 2001-12-20 Juergen Vigna <jug@sad.it>
1635 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
1637 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
1638 (TeXRow): added to LaTeX a single tabular row.
1639 (TeXLongtableHeaderFooter): added to output LT-h/f data.
1640 (Latex): simplified and finally good LT-h/f support.
1641 (various_functions): just small adaptions for LT-h/f support.
1643 * tabular_funcs.[hC]: added and moved here all not classfunctions
1646 2001-12-19 Juergen Vigna <jug@sad.it>
1648 * tabular.[Ch]: better support for longtabular options (not finished
1651 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1653 * text.C (paintLastRow): use the label font instead of the font of
1654 the last character to compute the size of *_BOX. This makes more
1655 sense and avoids a crash with empty paragraphs.
1656 Use Painter::rectangle to draw EMPTY_BOX.
1658 2001-12-19 Juergen Vigna <jug@sad.it>
1660 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
1661 the paragraphs if the replaced paragraph is not the first one!
1662 Tried to delete not used paragraphs but does not work yet so for
1663 now it's inside #ifdef's and by default off!
1665 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1667 * MenuBackend.C: include "lyx_main.h" instead of declaring
1668 lastfiles (actually was declared as LastFiles* instead of a
1671 2001-12-17 Juergen Vigna <jug@sad.it>
1673 * tabular.C (AppendColumn): applied John's fix
1675 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
1679 * BufferView_pimpl.h:
1680 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
1683 * box.h: new start of class for above
1685 * lyxfunc.C: ignore space-only minibuffer dispatches.
1686 Show the command name when it doesn't exist
1688 * minibuffer.C: don't add empty lines to the history
1690 * minibuffer.C: add a space on dropdown completion
1692 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
1694 * text.C: fix line above/below drawing in insets
1696 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
1698 * lyxlength.C (LyXLength): Initialize private variables.
1700 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
1702 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
1703 when inserting error insets.
1705 2001-12-13 Juergen Vigna <jug@sad.it>
1707 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
1708 actually sometimes the before-paragraph.
1709 (setUndo): don't clear the redostack if we're not actually undoing!
1711 2001-12-06 Juergen Vigna <jug@sad.it>
1713 * undo_funcs.C (textHandleUndo): well after John's hint I got here
1714 and fixed redoing of main paragraph, so we can use it now ;)
1716 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
1718 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1720 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
1723 2001-12-13 André Pönitz <poenitz@gmx.net>
1726 * undo_func.C: minor cleanup
1728 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1730 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
1731 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
1732 font in urw-fonts package which is marked as -urw-fontspecific and
1733 does not work (incidentally, changing the encoding in the
1734 fonts.dir of this package to -adobe-fontspecific fixes the
1737 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
1738 is a crash when undoing first paragraph (Juergen, please take a
1739 look). THis does not mean the undo fix is wrong, just that it
1742 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
1743 the (Paragraph*) version when needed instead of duplicating the
1746 * text.C (workWidth): use Inset::parOwner to find out where the
1747 inset has been inserted. This is a huge performance gain for large
1748 documents with lots of insets. If Inset::parOwner is not set, fall
1749 back on the brute force method
1751 * paragraph_pimpl.C (insertInset):
1752 * paragraph.C (Paragraph):
1753 (cutIntoMinibuffer): set parOwner of insets when
1754 inserting/removing them
1756 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
1758 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
1764 * mathed/formulabase.C:
1765 * mathed/math_cursor.[Ch]:
1766 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
1769 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1771 * lyxlength.[Ch] (operator!=): new function
1773 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1775 * text.C (workWidth): use Inset::parOwner to find out where the
1776 inset has been inserted. This is a huge performance gain for large
1777 documents with lots of insets. If Inset::parOwner is not set, fall
1778 back on the brute force method
1780 * paragraph_pimpl.C (insertInset):
1781 * paragraph.C (Paragraph):
1782 (cutIntoMinibuffer): set parOwner of insets when
1783 inserting/removing them
1785 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
1787 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1789 * tabular-old.C (getTokenValue):
1790 * tabular.C (getTokenValue):
1791 (write_attribute): new versions for LyXLength
1792 (everywhere): adjust the use of widths
1794 * tabular.h: change the type of widths from string to LyXLength
1796 2001-12-11 Ben Stanley <bds02@uow.edu.au>
1798 * paragraph.C: fixed missing line number count when exporting
1799 Environments to LaTeX file
1801 * buffer.C: added informational message for checking line numbers.
1803 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1805 * text2.C (deleteEmptyParagraphMechanism): if there is only one
1806 paragraph, do the 'double space' part, but not the 'empty
1809 * text.C (workWidth): small optimization
1810 (getLengthMarkerHeight): use minimal size for negative lengths.
1812 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
1814 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
1816 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
1818 2001-12-11 André Pönitz <poenitz@gmx.net>
1821 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
1823 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
1825 * text2.C: keep selection on a setFont()
1827 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
1829 * lyx_cb.C: another bv->text misuse, from insert label
1831 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
1834 * kbsequence.C: re-instate nmodifier mask
1836 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
1838 * lyx_main.h: make lyxGUI private.
1840 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
1842 * lyxfind.C: place the cursor correctly on failed search
1844 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1846 * text.C (getLengthMarkerHeight): for small heights, the arrows
1847 are not always on top/bottom of the text
1848 (drawLengthMarker): smaller arrows; take the left margin in
1849 account; draw also vfills.
1851 (paintLastRow): remove special code for vfill and standard spaces,
1852 since everything is handled in drawLengthMarker now.
1854 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
1856 * buffer.C (insertErtContents): try to handle font and language
1857 interaction a bit better.g
1859 * ColorHandler.C (updateColor): change the hash to cover the whole
1860 LColor enum, ws cleanup
1861 (getGCLinepars): ditto
1862 (getGCLinepars): only lookup in the linecache once.
1864 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
1866 * iterators.C (operator++): Make the iterator more robust
1868 * BufferView2.C (removeAutoInsets): Use paragraph iterators
1870 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
1872 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1875 * text.C: better added space drawing
1877 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1880 * BufferView2.C: fix layout combo update on inset unlock
1882 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1884 * Makefile.am: don't compile unused files
1886 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1890 * LyXAction.C: remove old LFUN_LAYOUTNO
1892 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1894 * paragraph_pimpl.h:
1895 * paragraph_pimpl.C: isTextAt() doesn't need font param
1897 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1900 * lyxlex.C: little cleanup
1902 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1904 * BufferView_pimpl.C: fix insertAscii for insets
1906 2001-12-05 Juergen Vigna <jug@sad.it>
1908 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
1909 set the right font on the "multi" paragraph paste!
1911 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1917 * lyxlength.C: remove out-commented code.
1933 * vc-backend.C: change "while(" to "while ("
1935 * lyxlength.[Ch]: add zero function to check if length is zero or
1937 * lyxgluelength.C: use it
1939 2001-12-05 Allan Rae <rae@lyx.org>
1941 * lyxlength.C: Attempted a fix for the abs(int) header selection.
1942 Works for 2.95.3, from what I understand of Garst's reports this should
1943 work for other g++ versions. We're screwed if the abs(int) definition
1944 changed between bugfix releases of gcc.
1946 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
1948 * text.C: fix chapter label offset !
1950 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
1953 * text.C: fix hfill at end of line, clean up
1955 2001-12-04 Juergen Vigna <jug@sad.it>
1957 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
1958 that we force an update of the inset and it's owners if neccessary.
1960 2001-12-03 Juergen Vigna <jug@sad.it>
1962 * text.C (rowLast): simplified code
1964 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
1966 * lyxfunc.C: fix show options on timeout
1968 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1970 * screen.C (topCursorVisible): scroll half a page when the cursor
1971 reached top of bottom of screen
1973 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
1975 * minibuffer.C: deactivate on loss of focus
1977 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
1979 * vspace.[Ch] (operator!=): add operator.
1981 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
1983 * BufferView_pimpl.C: refuse to open an inset when
1984 there's a selection.
1986 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
1988 * BufferView_pimpl.C: allow to click on RHS of full row insets
1990 2001-11-30 Juergen Vigna <jug@sad.it>
1992 * tabular.C (LyXTabular): add a same_id to set the same id's in the
1993 insets for undo reasons.
1995 2001-11-28 André Pönitz <poenitz@gmx.net>
1997 * vspace.[Ch]: cosmetical changes
1999 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
2009 * kbsequence.C: part re-write of old kb code
2012 * WorkArea.C: remove Lgb_bug_find_hack
2014 2001-11-30 José Matos <jamatos@fep.up.pt>
2016 * buffer.C (makeDocBookFile): add a comment to point a hack.
2017 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
2018 Fixed a double write of labels.
2020 2001-11-29 Ben Stanley <bds02@uow.edu.au>
2023 * LaTeX.h Fixed bug in LaTeX class where it would not
2024 re-run latex if no depfiles were changed, but the .dvi was removed.
2026 2001-11-28 André Pönitz <poenitz@gmx.net>
2028 * all the files from the change on 2001/11/26:
2029 use lyx::layout_type instead of LyXTextClass::size_type
2030 use lyx::textclass_type instead of LyXTextClassList::size_type
2032 2001-11-29 Juergen Vigna <jug@sad.it>
2034 * text.C: added support for paragraph::isFreeSpacing()
2036 * buffer.C: same as above
2038 * paragraph.h: inserted isFreeSpacing() function to enable
2039 FreeSpacing inside InsetERT.
2041 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
2042 of the paragraph's in the cut/copy buffer to 0!
2044 * text2.C (removeRow): remove the assert as it can!
2046 * lyxtext.h: added helper function firstRow returning firstrow and
2047 made firstrow private again.
2049 * BufferView2.C (lockInset): don't relock if we're already locked!
2051 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
2053 (removeRow): added Assert::(firstrow)
2055 * debug.C: forgot to add INSETTEXT here.
2057 2001-11-28 Juergen Vigna <jug@sad.it>
2059 * sp_spell.C (initialize): changed error text to more general
2060 spellchecker command use (not only ispell!)
2062 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
2064 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
2066 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
2068 * vspace.C: initialise lyxgluelength on failure
2070 2001-11-28 Allan Rae <rae@lyx.org>
2072 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
2073 declaration & definition that looks like a function declaration.
2075 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2077 * BufferView2.C (copy):
2078 (copyEnvironment): do not clear the selection when doing a copy.
2080 * text.C (paintFirstRow): compilation fix
2082 2001-11-27 Ben Stanley <bds02@uow.edu.au>
2084 * tabular.C (Latex): correct line count when writing latex.
2086 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
2088 * paragraph_pimpl.h:
2089 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
2092 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
2096 * LColor.C: change vfillline->added_space
2098 * text.C: add markers and text for added space
2100 * vspace.C: fix comment
2102 2001-11-28 André Pönitz <poenitz@gmx.net>
2104 * paragraph.C: whitespace changes
2105 * all the other files from the change on 2001/11/26:
2106 change *::pos_type into lyx::pos_type
2108 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
2110 * buffer.C (parseSingleLyXformat2Token): Set the language to the
2111 language of the document when inserting error insets.
2113 2001-11-26 André Pönitz <poenitz@gmx.net>
2115 * BufferView_pimpl.[Ch]:
2123 * paragraph_pimpl.[Ch]:
2126 * text2.C: reduce header dependencies, introduce type for positions
2128 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
2130 * <various>: change to use Alert.h
2132 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
2134 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
2135 when encountering an unknown token.
2136 (readLyXformat2): Show an error message if there were unknown tokens.
2138 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
2141 * BufferView_pimpl.C:
2145 * text2.C: use par->isInset()
2147 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
2149 * paragraph_pimpl.h:
2150 * paragraph_pimpl.C: cleanup
2152 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2154 * text2.C (removeRow):
2155 * text.C (setHeightOfRow): remove useless (and costly) call to
2158 2001-11-20 Allan Rae <rae@lyx.org>
2160 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
2161 Now need Inset*::checkInsertChar() to return true for appropriate
2162 cases so that the characters in the minibuffer will actually be
2165 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
2167 * text.C: change the order of the includes.
2168 (workWidth): initialize it at once.
2169 (workWidth): make maxw unsigned
2170 (setHeightOfRow): remove unused variable (inset)
2171 (selectSelectedWord): remove unused variable (inset)
2172 (paintRowText): fix drawing of hfill characters, and clean up a bit.
2174 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2176 * lyxserver.C (emergencyCleanup): do not try to close pipes if
2177 server is not running.
2179 (closeConnection): add debug info when server is disabled.
2181 * ColorHandler.C (getGCForeground): send debug message to GUI
2184 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
2186 * kbmap.C (bind): modify because return conventions of
2187 kb_sequence::parse have changed.
2189 * kbsequence.C (parse): only ignore spaces and not any stupid
2190 control character. This avoids tests like s[i] <= ' ', which are
2191 guaranteed to fail with 8bit characters and signed chars.
2192 Change return code to string::npos when there have been no error
2193 (0 was a bad idea when error is at first character)
2195 2001-11-14 José Matos <jamatos@fep.up.pt>
2198 * buffer.C (simpleDocBookOnePar): removed unused argument.
2200 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2202 * text.C (selectNextWordToSpellcheck): do not test explicitely for
2203 insets which are part of a word. Paragraph::isLetter takes care of
2204 that now. Use Paragraph::isInset to identify insets.
2205 (selectSelectedWord): do not test for hyphenation break.
2207 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
2208 that protected spaces are considered as spaces.
2210 * paragraph.C (isLetter): cleanup the code for ispell extras; use
2213 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
2216 * lyxserver.C: fix it. and small cleanup.
2218 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
2220 * BufferView_pimpl.C: use inline helpers
2223 * LaTeXFeatures.C: fix typos
2226 * Spacing.C: move spacing_string into class
2228 * ToolbarDefaults.C: move stuff into namespace anon
2230 * layout.h: update enum
2232 * lyxfunc.C: use better debug
2234 * minibuffer.h: fix typo
2238 * WorkArea.C: add and use Debug::WORKAREA
2242 * text2.C: code re-organisation, inline helpers
2244 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
2246 * Layout.C: replaced a few cases of std::vector.size() == 0 with
2247 std::vector.empty().
2249 2001-11-09 Allan Rae <rae@lyx.org>
2251 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
2252 '\n's after tables. Tabular and ERT inset work now makes this no
2255 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
2258 * minibuffer.C: fix crash, improve drop-down completion
2260 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
2263 * lyxserver.C: invalidate fd's when doing endPipe()
2265 2001-11-08 José Matos <jamatos@fep.up.pt>
2267 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
2268 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
2271 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
2273 2001-11-07 José Matos <jamatos@fep.up.pt>
2276 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
2279 * buffer.C (sgmlOpenTag):
2280 * buffer.C (sgmlCloseTag): removed debug info.
2282 * buffer.h (sgmlOpenTag):
2283 * buffer.h (sgmlCloseTag): made public.
2285 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2287 * buffer.C (saveParamsAsDefaults):
2288 * lyx_cb.C (MenuLayoutSave): remove
2290 * LyXAction.C (init):
2292 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
2294 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2296 * buffer.C (setPaperStuff): removed from here...
2298 * bufferparams.C (setPaperStuff): ... and moved there.
2300 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
2304 * XFormsView.C: add support for drop-down completion
2306 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
2308 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
2311 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2313 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
2316 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
2318 * lyx_main.C: change ref to known bugs
2320 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
2322 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
2323 to work around older babel problems.
2325 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
2327 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
2329 2001-10-24 Juergen Vigna <jug@sad.it>
2331 * tabular-old.C (ReadOld): below variable changes reflected.
2333 * tabular.[Ch]: added ltType struct for longtable header/footer
2334 defines and changed all instances where they are used. Added
2335 future support for double top/bottom rows.
2337 2001-10-24 José Matos <jamatos@fep.up.pt>
2339 * buffer.h (docbookHandleCaption):
2340 * buffer.C (docbookHandleCaption): removed unused function.
2341 (makeDocBookFile): moved docbook supported version to v4.1.
2343 2001-10-24 José Matos <jamatos@fep.up.pt>
2346 * tabular.C (docbookRow): new function to export docbook code of a row.
2347 (DocBook): now honors the longtable flags.
2349 2001-10-23 José Matos <jamatos@fep.up.pt>
2352 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
2353 of the lyx defined sgml entities used in a docbook/linuxdoc document.
2355 * buffer.C (makeLinuxDocFile):
2356 (makeDocBookFile): reworked the preamble, more clean, and with
2357 support for lyx defined entities. Changed the document declaration
2358 to be more XML friendly.
2360 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
2361 if we need to output XML that should be done with a filter.
2363 2001-10-22 Juergen Vigna <jug@sad.it>
2365 * sp_pspell.h (class PSpell): add alive function needed in the
2366 controller to see if the spellchecker could be started.
2368 2001-10-22 Juergen Vigna <jug@sad.it>
2370 * buffer.C (insertStringAsLines): modify the font for inserting
2371 chars in certain conditions by calling checkInsertChar(font).
2373 2001-10-19 Juergen Vigna <jug@sad.it>
2375 * text.C (workWidth): use getRow instead of wrong algorithm.
2376 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
2378 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
2383 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
2385 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2387 * text.C (workWidth): do not search for the exact row when
2388 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
2389 optimization for big documents.
2391 2001-10-18 Juergen Vigna <jug@sad.it>
2393 * text.C (workWidth): new function with added Inset * parameter.
2395 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2397 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
2399 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
2400 change return type of getColumnNearX.
2403 * text.C (changeRegionCase): use uppercase/lowercase instead of
2406 (rightMargin): simplify code by factoring out the uses of
2411 (appendParagraph): use Paragraph::size_type
2413 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2415 * vspace.C (asLatexString): add a missing break
2417 2001-10-15 Herbert Voss <voss@perce.de>
2419 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
2421 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2423 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
2426 2001-10-10 André Pönitz <poenitz@gmx.net>
2428 * lyxfunc.C: removed greek_kb_flag.
2430 2001-10-10 Herbert Voss <voss@perce.de>
2432 * lyx_main.C: delete global string help_lyxdir.
2434 2001-10-09 Herbert Voss <voss@perce.de>
2436 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
2438 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
2440 * lyx_main.C: added global string help_lyxdir.
2442 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
2444 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2446 * lyxrc.C (set_font_norm_type): support iso8859-4
2448 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
2450 * LaTeX.C (deplog): add another regex for MikTeX
2452 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
2454 * lyxrc.C (set_font_norm_type): support iso8859-3
2456 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2458 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
2460 * LaTeXFeatures.C: remove special case of french and index
2462 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
2463 before \begin{document}). This solves several incompatibilities.
2465 2001-10-03 Garst Reese <reese@isn.net>
2467 * lyx_cb.C: change CheckTex error msg.
2469 2001-10-03 José Matos <jamatos@fep.up.pt>
2471 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
2473 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2475 * .cvsignore: update
2477 * lyx_main.C (commandLineVersionInfo): use new style version info.
2479 * buffer.C (writeFile):
2482 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
2484 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
2486 * version.h: update to use stuff in version.C
2488 * version.C.in: new file. Contains version information determined
2489 at compile time. This is a merging of version.h and
2492 2001-10-03 Juergen Vigna <jug@sad.it>
2494 * BufferView_pimpl.C (update): don't change "dirty" status in
2497 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
2499 * WorkArea.C (c-tor): re-position version string slightly.
2501 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
2503 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
2504 revert to previous code.
2506 WorkArea.[Ch]: (show, destroySplash): methods removed.
2508 WorkArea.C: rework code so that it's an amalgam of the codes before and
2509 after the splash screen was moved to WorkArea.
2511 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2514 * vspace.C (inPixels):
2517 * buffer.C (insertStringAsLines):
2518 (asciiParagraph): fix types to be large enough
2520 * lyxlex_pimpl.h: change member status from short to int
2522 * layout.h: fix type of endlabeltype
2525 * kbsequence.C (parse): change return type to string::size_type
2527 * LaTeX.C (updateBibtexDependencies): comment out unneeded
2530 * Bullet.C (bulletSize):
2531 (bulletEntry): do not use short ints as parameters
2533 * BufferView2.C (insertLyXFile): change a char to an int.
2535 * WorkArea.C (WorkArea): remove unneeded floats in computation
2537 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
2539 * buffer.C (asciiParagraph): Treat '\\' as other chars.
2541 * paragraph.C (asString): Do not ignore newline/hfill chars when
2542 copying to the clipboard.
2544 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
2546 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
2547 after a multi-line inset.
2549 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
2551 * paragraph.C (validate): Set NeedLyXFootnoteCode
2553 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
2555 * lyxfont.C (LyXSizeNames): changed increase-error to increase
2556 and decrease-error to decrease.
2558 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2560 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
2561 it more readable (should be equivalent)
2563 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
2565 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
2567 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2569 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
2570 of a cursor (row, etc.) after a character has been deleted
2571 (deleteEmptyParagraphMechanism): call the method above on _all_
2572 cursors held by the LyXText when a double space has been
2575 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
2577 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
2579 (resizeCurrentBuff): remove code to destroy the old splash dialog.
2581 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
2582 background. Use greyOut() and the new show() methods to toggle between
2583 the foreground and background. Add code to remove the splash after
2584 its initial showing.
2586 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
2587 (create_forms): no longer call Dialogs::showSplash.
2589 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2591 * .cvsignore: add version_info.h
2593 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2595 * version_info.h.in: new file
2597 * Makefile.am: add version_info.h.in
2599 * lyx_main.C (commandLineVersionInfo): use version_info defined in
2600 version_info.h instead of VERSION_INFO
2602 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
2604 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
2605 The ERT inset now returns string().
2607 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
2609 * lyxtext.h, text.C (selectNextWord): renamed as
2610 selectNextWordToSpellcheck.
2612 * text.C (selectNextWordToSpellcheck): Modified to not select
2613 words inside an ERT inset.
2615 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2617 * lyx_cb.C (MenuLayoutSave): change a bit the question
2619 * sp_base.h: include <sys/types.h>
2621 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
2623 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
2625 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
2627 * several files: fix typos in user-visible strings
2629 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2631 * text2.C (pasteSelection): do not set the selection, since it
2632 will be cleared later. Actually, the intent was to fix the way the
2633 selection was set, but I figured rmoving the code was just as good.
2635 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
2637 * FontLoader.C (available): Check if font is available without
2640 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2642 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
2644 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
2646 * lyxrc.[Ch]: added display_graphics variable and associated code.
2648 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2650 * bufferparams.C (hasClassDefaults): new method. Returns true if
2651 the buffer parameters correspond to known class defaults
2653 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
2655 * XFormsView.C (show): set minimum size to the main window.
2657 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2659 * text2.C (copySelection):
2661 * lyxfind.C (LyXReplace):
2662 * BufferView_pimpl.C (Dispatch): pass the correct flag to
2663 LyXText::selectionAsString.
2665 * paragraph.C (asString): add "label" argument to the second form
2667 * text2.C (selectionAsString): add "label" argument and pass it to
2668 Paragraph::asString.
2670 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2672 * lyx_main.C (commandLineHelp): remove version information
2674 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
2676 * lyx_main.C: add -version commandline option
2678 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
2680 * paragraph.h: make the optional constructor arg required instead.
2681 some modifications to other files because of this.
2683 * minibuffer.C (C_MiniBuffer_peek_event): make it static
2685 * lyxserver.C (C_LyXComm_callback): make it static
2687 * lyx_main.C (error_handler): make it static
2689 * lyx_gui.C (LyX_XErrHandler): make it static
2691 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
2693 * WorkArea.C: make the extern "C" methods static.
2695 * Makefile.am (lyx_LDADD): simplify
2697 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
2699 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
2700 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
2702 * LyXAction.C (init):
2703 * lyxfunc.C (dispatch): associated code removal.
2705 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2707 * lyxfont.h (isSymbolFont): shut off warning
2709 * text.C (setHeightOfRow):
2710 (getVisibleRow): fix crash with empty paragraphs which have a
2713 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
2715 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
2718 2001-09-04 José Matos <jamatos@fep.up.pt>
2721 * tabular.C (docbook): rename docBook method to docbook.
2723 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
2725 * Makefile.am: add dependencies to main.o.
2727 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
2729 * FontLoader.C (available): Return false if !lyxrc.use_gui
2731 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
2733 * FontInfo.C (query):
2734 * converter.C (view):
2735 * importer.C (Import):
2736 * exporter.C (Export): Can not -> cannot.
2738 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
2740 * BufferView_pimpl.C: allow to create index inset even if
2743 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
2745 * buffer.C (getLists): replace boost::tie code with an explicit pair
2746 as boost::tie can break some compilers.
2748 * iterators.h: Added a std:: declaration to the return type of
2751 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
2753 * lyxrc.C: add help for view_dvi_paper_option, default to safe
2756 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
2758 * iterators.[Ch]: New files. Provide paragraph iterators.
2760 * buffer.C (changeLanguage): Use paragraph iterators.
2761 (isMultiLingual): ditto
2763 * BufferView2.C (ChangeInsets): Use paragraph iterators.
2765 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
2767 * FontLoader.C: Support for cmr font.
2769 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
2771 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
2772 (available): New method.
2774 * FontInfo.C (getFontname): Use scalable fonts even when
2775 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
2778 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
2780 * converter.C (Formats::view): reverted! Incorrect fix.
2782 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
2784 * converter.C (Formats::view): only output the -paper option
2785 if the dvi viewer is xdvi, thereby fixing bug #233429.
2787 2001-08-23 Herbert Voss <voss@perce>
2789 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
2791 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
2793 * Spacing.h (Spacing): Set space to Default on in the default
2796 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
2798 * vc-backend.h (RCS::versionString): add RCS to version
2799 (CVS::versionString): add CVS to version
2801 * vc-backend.C (scanMaster): do not add CVS to version.
2802 (scanMaster): do not add RCS to version
2804 * lyxvc.C (versionString): new method
2806 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
2808 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
2810 * Spacing.C (set): initialize fval
2812 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
2814 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
2817 2001-08-16 Juergen Vigna <jug@sad.it>
2819 * lyxfunc.C (dispatch): implemented the new FINISHED states.
2821 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
2823 * BufferView_pimpl.C:
2826 * text2.C: setParagraph takes linespacing now
2828 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
2830 * LyxAction.C: add internal LFUN_CITATION_INSERT
2832 * LyXView.C: actually apply fix
2834 * bufferlist.C: fix open non-existent file
2836 * lyxfind.C: fix indentation
2838 * lyxfunc.C: remove unneeded assert, fix typo
2840 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
2842 * MenuBackend.C: use "Floatname List"
2844 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
2846 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
2847 when converting LaTeX layout to insetERT.
2848 Generate a non-collapsed float when reading old float
2850 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
2852 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
2855 2001-08-13 Juergen Vigna <jug@sad.it>
2857 * text.C (fill): return 0 instead of 20 as this seems to be the more
2860 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
2862 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
2865 2001-08-13 Juergen Vigna <jug@sad.it>
2867 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
2869 (SearchBackward): comment out the unlocking of the inset_owner this
2870 should not be needed!
2872 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
2874 * Many files: Remove inherit_language, and add latex_language
2876 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
2879 2001-08-10 Juergen Vigna <jug@sad.it>
2881 * text.C (prepareToPrint): fixed hfill-width in draw!
2883 * BufferView2.C (selectLastWord): save the selection cursor as this
2884 now is cleared in the function LyXText::clearSelection!
2886 2001-08-08 Juergen Vigna <jug@sad.it>
2888 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
2889 BACKSPACE type functions.
2891 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
2892 is only cutted from the document but not put in the cut-buffer, where
2893 still the old stuff should be.
2895 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
2897 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
2899 * tabular.C (SetWidthOfCell): fixed special case where the width
2901 (LeftLine): handle '|' in align_special.
2903 (LeftAlreadyDrawed): ditto
2904 (SetWidthOfCell): ditto
2906 2001-08-07 Juergen Vigna <jug@sad.it>
2908 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
2910 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2912 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
2913 * lyxlex.[hC]: ditto
2915 2001-08-06 Juergen Vigna <jug@sad.it>
2917 * text.C (getVisibleRow): fix up row clearing a bit.
2919 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2921 * minibuffer.C: make sure the X server sees the changes in the input.
2923 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2925 * paragraph.C (getFont): split into...
2926 (getLabelFont): this
2927 (getLayoutFont): and this
2928 * paragraph_pimpl.C (realizeFont): calling this
2930 * text2.C (getFont): split into...
2931 (getLayoutFont): this
2932 (getLabelFont): and this
2933 (realizeFont): all three calling this
2935 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
2938 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2940 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
2942 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
2944 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
2945 layouts from the Quote inset insertion.
2947 2001-08-03 Juergen Vigna <jug@sad.it>
2949 * BufferView_pimpl.C (update): do the fitCursor only at the end!
2951 * screen.C (drawFromTo): don't call fitcursor here and do the loop
2952 only if status not is already CHANGED_IN_DRAW (second level).
2954 * text.C (draw): don't set the need_break_row when inside an
2957 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
2959 * buffer.C (parseSingleLyXformat2Token): handle more latex
2962 * bufferview_funcs.[hC]: change function names to
2963 begin with small char, adjust other files.
2965 2001-08-02 André Pönitz <poenitz@gmx.net>
2968 BufferView_pimpl.C: remove broken special code for math-greek
2970 2001-08-02 Juergen Vigna <jug@sad.it>
2972 * BufferView_pimpl.C (update): redone this function so that we
2973 update the text again if there was a CHANGE_IN_DRAW.
2975 * screen.C (cursorToggle): removed LyXText parameter and recoded.
2976 (drawFromTo): added a new internal bool which is used by draw() and
2978 (general): some cursor drawing problems fixed.
2980 2001-08-01 Juergen Vigna <jug@sad.it>
2982 * lyxfind.C (LyXFind): fixed
2983 (SearchForward): ditto
2984 (SearchBackward): ditto
2986 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
2987 spurius drawing of the cursor in the main area.
2989 * text2.C (status): small fix which could lead to a segfault!
2990 (clearSelection): remove unneeded BufferView param.
2992 2001-08-01 André Pönitz <poenitz@gmx.net>
2994 * lyxfunc.C: small change due to changed mathed interface
2996 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2998 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
3000 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
3002 * lyxfunc.c: fail gracefully if file doesn't exist
3007 * BufferView_pimpl.C: IsDirWriteable() proto changed
3009 * LyXView.C: fix updateWindowTitle() to store the last title
3011 2001-07-31 Juergen Vigna <jug@sad.it>
3013 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
3014 the font (wrong since using of Paragraph::highestFontInRange).
3016 * paragraph.C (highestFontInRange): added a default_size parameter.
3018 * text.C (getVisibleRow): minor clear row changes (still not perfect).
3019 (setHeightOfRow): reformat
3021 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
3023 * converter.[hC] + affected files: move to (inital-char)lowercase
3026 * ParagraphParameters.C (ParagraphParameters): remove commented code
3028 * PainterBase.[Ch]: remove commented code
3030 * LaTeXFeatures.h: add "bool floats" for float.sty
3032 * LaTeXFeatures.C (LaTeXFeatures): init floats
3033 (require): handle float
3034 (getPackages): do it with floats
3036 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3038 * BufferView_pimpl.C (Dispatch): improve handling of
3039 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
3041 * commandtags.h: #include lyxfont.h here temporarily to avoid
3044 * bufferlist.h: include LString.h here.
3046 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3048 * text2.C (getStringToIndex): new method.
3050 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
3052 * *: Reduced header file dependencies all over.
3054 2001-07-30 Baruch Even <baruch@lyx.org>
3056 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
3058 2001-07-29 Baruch Even <baruch@lyx.org>
3060 * buffer.C (readInset): Changed GRAPHICS to Graphics.
3062 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
3064 * ParameterStruct.h (endif): add a default constructor to make
3065 sure that all variables is initialized.
3067 * ParagraphParameters.C (ParagraphParameters): adjust
3069 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3071 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
3072 index; also, check that there is something to index, and that it
3073 does not span over several paragraphs.
3074 (doubleClick): use WHOLE_WORD_STRICT for double click.
3076 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
3078 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
3081 2001-07-26 Baruch Even <baruch@lyx.org>
3083 * buffer.C (readInset): Changed to call up InsetGraphics when reading
3084 an InsetFig figure, backwards compatible reading of old figure code.
3086 2001-07-27 Juergen Vigna <jug@sad.it>
3088 * text2.C: font.realize function adaption.
3090 * text.C (draw): add a warnings lyxerr text if needed.
3092 * layout.C: font.realize function adaption.
3094 * language.C: add inherit_language and implement it's handlings
3096 * bufferview_funcs.C (StyleReset): remove language parameter from
3097 font creation (should be language_inherit now).
3099 * bufferparams.C (writeFile): handle ignore_language.
3101 * paragraph.C (getFontSettings): the language has to be resolved
3102 otherwise we have problems in LyXFont!
3104 * lyxfont.C (lyxWriteChanges): added document_language parameter
3105 (update): removed unneeded language parameter
3107 * paragraph.C (validate): fixed wrong output of color-package when
3108 using interface colors for certain fonts in certain environments,
3109 which should not seen as that on the final output.
3111 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
3113 * BufferView_pimpl.C:
3118 * LyXAction.C: add thesaurus support
3121 * lyxfind.C: add "once" parameter, for thesaurus, to not
3122 move to the next match
3124 2001-07-26 Juergen Vigna <jug@sad.it>
3126 * lyxfont.C (realize): honor ignore_language too!
3129 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
3131 * text.C (draw): one place more for ignore_language to not draw
3134 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
3136 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
3138 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3140 * buffer.C (parseSingleLyXformat2Token): a more general fix for
3141 the minipage conversion problem.
3143 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3145 * buffer.C (parseSingleLyXformat2Token): check minipage if we
3148 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3150 * BufferView.h: don't forward declare WorkArea
3152 * BufferView.C: don't include WorkArea.h
3154 2001-07-25 André Pönitz <poenitz@gmx.net>
3158 * lyxfunc.C: new LFUN 'math-space'
3160 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
3162 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3164 * text2.C (toggleInset): call open/close
3166 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3168 * lyxfunc.C (dispatch): add debug for the disabled case
3170 * font.C (buttonText): make similar to rectText
3172 * buffer.C (readInset): comment out parsing of insetlist and
3175 * PainterBase.C (rectText): small correction
3177 * BufferView_pimpl.C: comment out insettheorem and insetlist
3178 * LyXAction.C: ditto
3179 * commandtags.h: ditto
3181 2001-07-24 Juergen Vigna <jug@sad.it>
3183 * text.C (draw): honor the ignore_language.
3185 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
3187 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3189 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
3192 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3194 * lyxtext.h: remove unused (and unimplemented) methods
3196 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3198 * text.C (getVisibleRow): honor background color
3201 * Painter.h: remove default color argument for fillRectangle
3203 * text.C (backgroundColor): new method
3205 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3207 * text.C (getVisibleRow): adjust
3209 * font.[Ch] (rectText): new method, metrics
3210 (buttonText): new method, metrics
3212 * PainterBase.[hC]: make rectText and buttonText always draw and take
3215 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3217 * ToolbarDefaults.C (read):
3218 * MenuBackend.C (read): allow escaping in all strings
3220 * BufferView_pimpl.C (insertAndEditInset): new method.
3221 (Dispatch): use insertAndEditInset whenever appropriate.
3223 * BufferView_pimpl.C (insertNote): removed
3225 * BufferView_pimpl.C (smartQuote): new method, moved from
3226 BufferView; if an insetquote cannot be inserted, insert a '"'
3229 * BufferView2.C: remove insertCorrectQuote();
3231 * lyxfunc.C (getStatus): Add support for all remaingin
3234 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
3236 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
3237 command (necessary to pass " as parameter of self-insert.
3239 * text.C (selectWordWhenUnderCursor):
3240 (selectWord): add word_location parameter
3241 (selectWordWhenUnderCursor): same + remove special code for word
3243 (selectNextWord): use kind() to guess type of insetspecialchar,
3246 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
3247 (insertErtContents): create ert insets as collapsed.
3248 (readInset): better compatibility code for Info inset.
3250 2001-07-20 Juergen Vigna <jug@sad.it>
3252 * lyxfunc.C (dispatch): use always LyXFind now!
3254 * text2.C (init): add a reinit flag so that the LyXText can be
3255 reinited instead of deleted and reallocated (used in InsetText).
3257 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
3263 2001-07-18 Juergen Vigna <jug@sad.it>
3265 * text.C (selectNextWord): handle insets inside inset by calling
3266 always the bv->text functions so that we can go up the_locking_inset!
3268 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
3269 in strange locations when inside an inset!
3271 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
3272 handling to include insets.
3274 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
3276 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3278 * LyXAction.C (init):
3280 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
3281 LIGATURE_BREAK, since the name is so stupid.
3283 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
3285 * buffer.C (readInset): enable reading of new InsetNotes as well as old
3288 * FontLoader.C: remove FORMS_H_LOCATION cruft.
3290 * sp_form.[Ch]: remove.
3292 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
3294 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
3297 * src/buffer.C (readInset): ditto.
3299 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3301 * BufferView_pimpl.C (specialChar): new method. Obsoletes
3302 menuSeparator(), endOfSentenceDot(), ldots() and
3303 hyphenationPoint(), which are therefore removed.
3304 (Dispatch): handle LFUN_HYPHENATION_BREAK.
3306 * LyXAction.C (init):
3307 * commandtags.h: add LFUN_HYPHENATION_BREAK.
3309 * paragraph.C (getWord): removed.
3311 * BufferView_pimpl.C (Dispatch): use last word or selection for
3312 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
3314 * lyx_main.C (queryUserLyXDir): do not ask before creating
3315 user_dir, except if it has been named explicitely.
3317 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
3319 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
3320 a document of zero size.
3322 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
3324 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
3325 approriately in the c-tor and in require().
3326 (getPackages): output the appropriate LaTeX for natbib support.
3328 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
3329 variables "use_natbib" and "use_numerical_citations" when reading the
3331 (readInset): read the various natbib cite commands.
3332 (validate): white-space change.
3334 * bufferparams.[Ch]: new variables "bool use_natbib" and
3335 "bool use_numerical_citations".
3336 (writeFile): output them in the LyX file.
3338 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3340 * lyxfunc.C (getStatus): add support for all the inset insertion
3343 * text2.C (insertInset):
3344 * paragraph.C (insetAllowed):
3345 * BufferView_pimpl.C (insertInset): update to take in account the
3346 renaming of insertInsetAllowed
3348 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
3350 * text2.C (getInset): new method. returns inset at cursor position.
3352 * BufferView_pimpl.C (Dispatch): changes because of this.
3354 * LyXAction.C (init): rename open-stuff to inset-toggle.
3356 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
3358 * text2.C (toggleInset): renamed from openStuff; use
3361 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
3363 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
3365 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
3367 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
3369 * buffer.C (readLyXformat2): Add filename to the error dialog
3371 2001-07-18 Juergen Vigna <jug@sad.it>
3373 * tabular.C (GetCellNumber): put an assert here instead of the check!
3375 2001-07-17 Juergen Vigna <jug@sad.it>
3377 * BufferView_pimpl.C (toggleSelection): adapted too.
3379 * text.C (selectNextWord): adapted for use with insets.
3380 (selectSelectedWord): ditto
3382 2001-07-17 Juergen Vigna <jug@sad.it>
3384 * sp_spell.C (PSpell): fix initialitation order.
3386 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3388 * paragraph.C: spacing
3390 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
3392 * sp_spell.C: repair language selection for pspell
3394 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
3396 * lyxfunc.h: change more methods to begin with lower char.
3398 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
3400 * buffer.C (parseSingleLyXformat2Token): Generate error insets
3401 for unknown layouts.
3403 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
3405 * buffer.C (readLyXformat2): Generate an error dialog if there are
3408 2001-07-16 Juergen Vigna <jug@sad.it>
3410 * sp_spell.C: always compile ISpell part.
3412 * lyxrc.C: added use_pspell entry and it's handling.
3414 2001-07-13 Juergen Vigna <jug@sad.it>
3416 * sp_spell.C: removed double includes.
3418 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
3420 Consistent use of Lsstream.h:
3421 * Lsstream.h: added using std::stringstream for consistencies sake.
3423 * buffer.C: removed using std::stringstream
3425 * lyxfont.C (stateText):
3426 * paragraph.C (asString):
3427 * text.C (selectNextWord, selectSelectedWord):
3428 * text2.C (setCounter):
3429 * vspace.C (asString, asLatexString):
3430 std::ostringstream -> ostringstream.
3432 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
3434 * LyXAction.C: add LFUN_HELP_ABOUTLYX
3435 * commandtags.h: add LFUN_HELP_ABOUTLYX
3436 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
3438 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
3440 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
3442 * lyx_gui_misc.C: remove spellchecker
3443 * lyxfunc.C: showSpellchecker
3445 * sp_ispell.h: added
3446 * sp_pspell.h: added
3448 * sp_form.[Ch]: removed
3449 * spellchecker.[Ch]: removed
3451 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
3453 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
3455 (simpleTeXSpecialChars): Simply print the input character without
3456 any special translation if pass_thru is set.
3458 * layout.h: Added bool pass_thru to layout class for being able to
3459 implement pass through of a paragraph for Literate Programming.
3461 * layout.C: add LT_PASS_THRU to LayoutTags enum.
3462 * layout.C (LyXLayout): set pass_thru to flase in constructor.
3463 * layout.C (Read): add "passthru" to list of layout tags and add
3464 code to set the pass_thru boolean when it is read.
3466 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
3468 * trans_decl.h: remove allowed from KmodInfo
3470 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
3474 * paragraph_pimpl.C (erase): use boost::prior
3476 * Painter.C (text): use data() instead of c_str() when length is
3478 * WorkArea.C (putClipboard): ditto
3479 * font.h (width): ditto
3481 * BufferView2.C: use it-> instead of (*it). for iterators
3483 * paragraph_pimpl.C: ditto
3484 * paragraph.C: ditto
3485 * minibuffer.C: ditto
3490 * converter.C: ditto
3492 * Variables.C: ditto
3493 * TextCache.C: ditto
3494 * MenuBackend.C: ditto
3495 * LyXAction.C: ditto
3497 * FloatList.C: ditto
3499 * ColorHandler.C (LyXColorHandler): ditto
3501 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3503 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
3505 * text2.C (openStuff): reintroduce this method (which had been
3506 nuked in NEW_INSETS frenzy).
3508 * lyxfunc.C (Dispatch): when an action has not been handled, use
3509 its name in the error message, not its number.
3511 * paragraph.C (inInset): change method name to begin with lowercase.
3514 * text2.C: updates because of this.
3516 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3518 * ToolbarDefaults.C (add): add spaces in error message
3520 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3522 * buffer.C (readLyXformat2): initialize the ert comp. variables.
3523 (readLyXformat2): rename return_par to first_par, use lyxlex's
3524 pushToken and remove the manual push handling.
3525 (parseSingleLyXformat2Token): add another ert comp. variable:
3526 in_tabular, rename return_par to first_par. handle newlines better
3528 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3530 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
3532 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
3534 * text2.C (getParFromID): removed
3536 * buffer.C (getParFromID): new method moved form lyxtext.
3537 * BufferView2.C (insertErrors): adjust
3538 (setCursorFromRow): adjust
3539 * BufferView_pimpl.C (restorePosition): adjust
3540 * lyxfunc.C (Dispatch): adjust
3541 * undo_funcs.C (textUndo): adjust
3543 (textHandleUndo): adjust
3544 (textHandleUndo): adjust
3546 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3548 * buffer.C: up' the LYX_FORMAT
3550 * lyxfont.h: turn NO_LATEX on as default
3552 * buffer.C (insertErtContents): new methods of tex style compability.
3553 (parseSingleLyXformat2Token): use it several places.
3554 * tabular.C (OldFormatRead): and here
3556 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3558 * text2.C: remove some commented code.
3561 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
3562 * trans.C: changes because of the above.
3564 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
3566 * text2.C (setCounter): Fix counters bug with bibliography layout.
3568 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3570 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
3571 own member functions
3572 (simpleTeXSpecialChars): ditto
3574 2001-07-06 Juergen Vigna <jug@sad.it>
3576 * a lot of files: changed the access to LyXText::status and the
3577 call of undo-functions.
3579 * undo.[Ch]: added a inset_id to the undo informations.
3581 * undo_funcs.[Ch]: added and moved here all undo functions.
3583 * lyxtext.h: give the status enum a weight, made status_ a private
3584 variable and made accessor functions for it, removed the whole bunch
3585 of undo-functions as they are now in their own file, make some
3586 functions publically available. Added function ownerParagraph with
3589 * paragraph.[Ch]: added "bool same_ids" to the constructor,
3590 made InInset() a const function, added getParFromID() function.
3592 * buffer.[Ch]: added const version for inset_iterator functions,
3593 added getInsetFromID() function.
3595 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
3596 changed undo functions for new version.
3598 2001-07-05 Juergen Vigna <jug@sad.it>
3600 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
3601 unknow mechanism does not call the proper constructor but only this
3602 one also if I request the other!?
3604 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3606 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
3608 * text2.C (LyXText): use initialization lists.
3610 * lyxtext.h (Selection): initialize set_ and mark_
3611 (init): remove method
3613 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
3615 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
3617 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3619 * screen.[Ch]: change method names to begin with lowercase
3621 * BufferView_pimpl.C (updateScrollbar): simplify further and
3622 hopefully make it a bit faster.
3624 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3626 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
3627 calling directly xforms functions.
3629 * Painter.C (Painter):
3630 * lyx_cb.C (MenuWrite):
3631 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
3634 * lyx_gui.C: remove bogus guiruntime extern declaration.
3636 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3638 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
3640 (redoDrawingOfParagraph): ditto
3641 (redoParagraphs): ditto
3642 (cutSelection): don't create a object for CutAndPaste use the
3643 static method directly
3644 (pasteSelection): ditto
3646 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
3649 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3651 * modifications to some other files because of this.
3653 * Makefile.am (lyx_SOURCES): add XFormsView
3655 * XFormsView.[Ch]: new files
3657 * LyXView.[Ch]: make LyXView a base class for the gui handling for
3658 the main window. Move the gui dependent stuff to XFormsView
3660 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3662 * tabular.C (GetCellInset): update cur_cell also in the row/col
3663 version of this function.
3665 * lyxfunc.C: no need to include figure_form.h here.
3671 * lyxvc.C: no need to include forms.h here.
3673 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3675 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
3677 * lyxfunc.C (Dispatch):
3679 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
3680 constructor argument.
3682 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3684 * paragraph.C (Paragraph): dont't clear, and just set layout.
3685 (makeSameLayout): use params's copy contructor.
3687 * ParagraphParameters.[Ch] (makeSame): delete method
3689 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
3691 * Variables.[Ch]: fix indentation, rename set to isSet
3693 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3695 * lyxfunc.C (Dispatch): fix typo
3697 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3699 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
3702 * bufferlist.C: include assert.h for emergencyWrite().
3704 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
3706 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
3707 give up at last (bug #425202) !
3709 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
3715 * spellchecker.C: strip spellchecker options and bring up
3716 preferences tab instead
3718 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3720 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
3721 the istringstream constructor
3723 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3725 * paragraph.C (getLayout): fix return value
3727 * paragraph.h: do not declare getLayout as inline.
3729 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
3731 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
3733 * lyxcursor.h (operator<): new func
3734 (operator>): new func
3735 (operator>=): new func
3736 (operator<=): new func
3738 * text.C (changeCase): use selection.start and selection.end
3739 (changeRegionCase): require from to be <= to. Require par to be a
3742 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
3744 2001-06-27 Juergen Vigna <jug@sad.it>
3746 * text.C (cursorLeftOneWord): changed to return the cursor and added
3747 overlay with BufferView * parameter which calls this one.
3749 (selectWord): use new getWord function.
3750 (changeCase): renamed from changeWordCase as and extended to work
3753 * lyxtext.h: added enum word_location
3755 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
3756 changeCase as this operates now also on selections.
3758 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
3760 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
3762 * many files: send debug output to Debug::INFO instead of
3765 * converter.C (View):
3767 (Move): send debug output to Debug::FILES instead of console.
3769 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
3771 * lyxfunc.C (getStatus): use func_status
3773 * func_status.h: new header, describing the results of
3776 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
3779 2001-06-25 The LyX Project <jug@sad.it>
3781 * buffer.C (sgmlOpenTag):
3783 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
3785 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3787 * text2.C: remove some dead code
3789 * tabular.C (GetCellInset): store the last cell checked (gotten)
3791 * tabular.h: add the helper for the speedup
3793 * lyxtext.h: remove some dead code
3795 2001-06-26 The LyX Project <Asger>
3797 * paragraph.C: Change export to LaTeX of alignment to
3798 \begin{center} and family for better roundtrip work with reLyX.
3800 * Tune the math drawing a bit.
3802 2001-06-25 The LyX Project <Asger>
3804 * LColor.C (LColor): New color for math background. New color
3807 2001-06-25 The LyX Project <jug@sad.it>
3809 * lyxfunc.C (MenuNew): remove extra check for .lyx file
3812 * bufferlist.C (newFile): do not restrict to files ending with
3815 * BufferView_pimpl.C (MenuInsertLyXFile):
3817 2001-06-24 The LyX Project <jug@sad.it>
3819 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
3822 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3824 * lyxtext.h: rename most methods to begin with a small char.
3825 Lots of changes because of this.
3827 * paragraph.C (Paragraph): do not call fitToSize
3828 (erase): call Pimpl::erase
3829 (insertChar): call Pimpl::insertChar
3830 (insertInset): call Pipl::insertInset
3831 (breakParagraph): do not call fitToSize
3832 (breakParagraphConservative): do not call fitToSize
3833 (fitToSize): remove method
3835 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
3837 2001-06-24 The LyX Project <Asger>
3839 * Fix Qt compilation^2
3841 2001-06-24 The LyX Project <jug@sad.it>
3843 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
3844 depthHook(getDepth()-1).
3847 * ParagraphParameters.h:
3848 * ParameterStruct.h: change type of depth to unsigned int ==
3849 depth_type. Many adaptations to other files before of that.
3851 2001-06-24 The LyX Project <Asger>
3853 * Fix Qt compilation.
3855 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3857 * paragraph.h: renamed several methods to begin with small letter.
3858 several changes to many parts of the code because of this.
3860 2001-06-23 The LyX Project <jug@sad.it>
3862 * text2.C (InsertStringAsLines): renamed from InsertStringA;
3863 rewritten to discard all double spaces when KeepEmpty is off
3864 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
3865 to only handle newlines but not fiddle with spaces and friends.
3867 * lyxfunc.C (MenuNew): when doing 'new from template', use
3868 template_path as default directory
3870 2001-06-23 The LyX Project <Asger>
3872 * Clean-up of header file includes all over
3873 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
3875 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
3877 * paragraph.h: renamed from lyxparagraph.h
3879 2001-06-23 Asger <lyx@violet.home.sad.it>
3881 * Buffer.h: Removed Buffer::resize
3882 * BufferList.h: Removed BufferList::resize
3883 * LyXView.h: Added LyXView::resize. This way, we will only reflow
3884 the document lazily when we change the width, or the font settings.
3886 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
3888 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
3890 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
3892 * buffer.h: remove out of date comment
3894 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
3897 * screen.C: fix "theoretical" GC leak
3899 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3901 * LaTeX.C (scanAuxFile):
3902 (deplog): remove trailing \r when reading stream (useful under
3905 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
3907 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
3908 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
3909 and BufferView::theLockingInset(Inset*), so should use them and not
3910 access bv_->text->the_locking_inset directly.
3912 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
3914 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
3917 * tex-defs.h: remove old unused file
3919 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
3921 * BufferView_pimpl.C: fix typo, remove minibuffer message
3922 when buffer has loaded
3924 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3926 * lyxfunc.C (Dispatch): use stringstream
3927 (MenuNew): use stringstream
3928 (Open): use stringstream
3930 * importer.C (Import): use stringstream
3932 * bufferview_funcs.C (CurrentState): use stringstream
3934 * LaTeX.C (run): use stringstream
3936 * BufferView_pimpl.C (savePosition): use stringstream
3937 (restorePosition): use stringstream
3938 (MenuInsertLyXFile): use stringstream
3940 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
3953 * vspace.C: removed // -*- C++ -*- as first line.
3956 * version.h: added // -*- C++ -*- as first line.
3958 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3960 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
3962 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
3965 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
3967 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
3970 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3972 * gettext.C: include LString.h even when --disable-nls is on.
3974 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
3976 * converter.h (Get): changed argument type from int to
3977 FormatList::size_type to avoid unnecessary conversion.
3979 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
3982 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3984 * gettext.h: include LString.h even when --disable-nls is on.
3986 2001-06-07 Juergen Vigna <jug@sad.it>
3988 * text.C (BreakAgain): subst spaces with tabs.
3990 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
3991 (resizeInsetsLyXText): set force on resizeLyXText.
3993 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3995 * gettext.h (gettext_init):
3996 (locale_init): use a real definition instead of a macro
3998 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
4000 * Bufferview_pimpl.C:
4002 * LColor.C: further lcolor tidies
4004 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4006 * BufferView_pimpl.C (updateScrollbar): simplify.
4008 * BufferView2.C: don't include insets/insetinfo.h, change
4009 prototype for insertInset and call the Pimpl version. let
4010 updateInset call Pimpl version.
4012 * BufferView.h: move inset_slept to BufferView::Pimpl, move
4013 gotoInset to BufferView::Pimpl
4015 2001-06-01 Juergen Vigna <jug@sad.it>
4017 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
4018 inside a LockingInset (is the update needed at all?).
4020 2001-05-31 Juergen Vigna <jug@sad.it>
4022 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
4023 here not the old one otherwise how should we compare it afterwards
4026 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4031 * FontInfo.C: bring C functions into global namespace when
4034 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4036 * LString.h: make sure config.h has been loaded before LString.h.
4038 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
4039 (one for each char read by EatLine!).
4041 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
4044 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
4046 * paragraph.C (BreakParagraph): set the inset_owner in the new par
4047 to the same as the par we break from
4049 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
4051 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
4053 * MenuBackend.C (expand): also create menu entries for wide
4054 versions of the floats.
4056 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
4058 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
4060 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
4061 frontends/Makefile.am
4067 * tabular.C (getTokenValue): add std::
4069 * tabular-old.C (getTokenValue): add std::
4070 (getTokenValue): ditto
4071 (getTokenValue): ditto
4073 * screen.C (ToggleSelection): adjust
4075 * lyxtext.h: put selection cursors inside a Selection struct.
4077 * lyxfunc.C (moveCursorUpdate): adjust
4079 * lyxfont.C (latexWriteStartChanges): add std::
4083 * font.h: delete with(char const *, LyXFont const &)
4085 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
4087 * FontInfo.C (getFontname): add std::
4089 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4090 (workAreaButtonPress): adjust
4091 (tripleClick): adjust
4093 (moveCursorUpdate): adjust
4096 * BufferView2.C (gotoInset): adjust
4098 2001-05-30 Juergen Vigna <jug@sad.it>
4100 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
4101 to check pspell I add this as default as I now have new pspell
4102 libraries and they seem to use this.
4104 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
4106 * text2.C (CutSelection): make the cursor valid before the call to
4109 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4111 * kbsequence.C (parse): de-uglify a bit the parsing code, which
4112 relied on 0 terminated strings and other horrors. Bug found due to
4113 the new assert in lyxstring!
4115 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
4118 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4120 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
4123 * lyxfunc.C (processKeySym): change method of getting to the
4126 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
4127 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
4128 * BufferView_pimpl.[Ch]: here as private methods.
4130 2001-05-28 Juergen Vigna <jug@sad.it>
4132 * text.C (SetHeightOfRow): added the update() call again as it is
4133 needed to initialize inset dimensions!
4135 2001-05-16 Juergen Vigna <jug@sad.it>
4137 * text2.C (SetCharFont): Add new function with BufferView * and
4138 bool toggleall parameters for setting insets internal fonts.
4139 (SetFont): Freeze the undo as we may change fonts in Insets and
4140 all this change should be inside only one Undo!
4142 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
4143 setting font's in insets as for them we have the SetFont function!
4145 2001-05-15 Juergen Vigna <jug@sad.it>
4147 * text2.C (ClearSelection): to be sure we REALLY don't have any
4150 * tabular.C (TeXCellPreamble): fixed the left border problem for
4153 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
4155 * LaTeX.C (deplog): Make sure that the main .tex file is in the
4158 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
4160 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
4161 LFUN_BREAKPARAGRAPH.
4163 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
4164 help test to "internal only", similar for LFUN_INSERT_URL
4166 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
4167 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
4168 auto_region_delete and deadkeys.
4170 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
4173 * LColor.C: remove some dead entries, tidy a little
4175 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
4177 * lyxfunc.C (processKeySym): comment the Escape handling, remove
4179 (Dispatch): implement LFUN_ESCAPE
4181 * commandtags.h: add LFUN_ESCAPE
4183 * LyXAction.C (init): add entry for LFUN_ESCAPE
4185 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
4186 Remove commented code.
4187 (insertNote): moved here
4188 (open_new_inset): moved here
4190 * BufferView[2].[Ch]: move insertNote and open_new_inset to
4193 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4195 * kbmap.C (findbinding): clean it up and make it work correctly.
4197 * lyx_main.C (init): do not pass argc and argv as parameters
4199 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
4201 * buffer.C: fix path for OS/2 & Win32
4205 * lyx_main.C: Added os:: class.
4207 * os2_defines.h: update
4209 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
4211 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
4212 better by trying again with reduced state.
4214 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4216 * lyxrc.C (read): print error about invalid key sequence only when
4217 debugging (because not all latinX keysyms are known to some X
4220 * kbsequence.C (getiso): add a few std:: qualifiers
4221 (getiso): comment out extra return statement.
4223 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
4225 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
4227 (Dispatch): enhance the accent inset a bit. (not perfect)
4229 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4231 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
4233 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4235 * bufferlist.C (emergencyWrite): fix assert() call
4237 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
4239 * text.C (InsertChar): Added trivial patch to only send the "you
4240 can not do multiple spaces this way" message once during a
4243 2001-05-08 Baruch Even <baruch@lyx.org>
4245 * Makefile.am: Changed order of libraries to get LyX to link properly
4246 with the gnome frontend.
4248 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4250 * LaTeXFeatures.h: add a std:: qualifier
4252 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
4254 * paragraph.C (String): use stringstream
4256 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
4258 * paragraph.C (writeFile): remove footflag arg
4260 * buffer.C (makeLaTeXFile): use stringstream
4261 (latexParagraphs): remove footnot gurba
4263 * LaTeXFeatures.C (getPackages): use stringstream
4264 (getMacros): likewise
4265 (getTClassPreamble): likewise
4266 (getFloatDefinitions): new method
4268 * paragraph.C (writeFile): reindent
4271 * WorkArea.h: revert the xpos + etc changes.
4273 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
4275 * lyxparagraph.[Ch]: add copy constructor, remove Clone
4277 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
4278 (pasteSelection): likewise
4279 * text2.C (CreateUndo): likewise
4281 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4283 * minibuffer.C (peek_event): temporarily reduce the functionality
4284 of the minibuffer (to allow args on lfuns)
4286 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
4287 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
4289 * buffer.C (readInset): add compability reading of old float
4290 lists, add reading of new style float list.
4291 (readInset): avoid reevaluation of inscmd.getCmdName()
4292 (getLists): reindent
4294 * MenuBackend.C (MenuItem): implement parsing of
4295 md_floatlistinsert and md_floatinsert.
4296 (expand::LastFiles): move initalizaton of iterators out of loop,
4298 (expand::Documents): introduce typdedef vector<string> Strings,
4300 (expand::ExportFormats): introduce typedef vector<Format const *>
4301 Formats, and use it.
4302 (expand): implement FloatListInsert and FloatInsert.
4304 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
4305 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
4306 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
4308 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
4310 (Dispatch::LFUN_FLOAT_LIST): implement
4312 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
4314 * LaTeX.C (run): Fix problem with --export code.
4316 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
4318 * BufferView.[Ch] (workarea): removed.
4319 (getClipboard) new method; wrapper for workarea()->getClipboard()
4321 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
4324 * WorkArea.h (width, height, xpos, ypos): These methods all
4325 returned the dimensions of the work_area sub-area of WorkArea,
4326 resulting in a position error if the WorkArea were resized. Now
4327 return the dimensions of the entire WorkArea.
4329 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
4331 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4333 * LaTeX.C (deplog): correct the syntax of regex reg1
4335 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4337 * undo.C: remove !NEW_INSETS cruft
4339 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
4341 * text2.C: remove !NEW_INSETS cruft
4343 * text.C: remove !NEW_INSETS cruft
4345 * tabular.C: remove !NEW_INSETS cruft
4347 * spellchecker.C: remove !NEW_INSETS cruft
4349 * lyxtext.h: remove !NEW_INSETS cruft
4351 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
4353 * lyxfunc.C: remove !NEW_INSETS cruft
4355 * lyxfind.C: remove !NEW_INSETS cruft
4357 * lyx_cb.C: remove !NEW_INSETS cruft
4359 * figureForm.C: remove !NEW_INSETS cruft
4361 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
4363 * buffer.[Ch]: remove !NEW_INSETS cruft
4365 * ToolbarDefaults.C: remove !NEW_INSETS cruft
4367 * CutAndPaste.C: remove !NEW_INSETS cruft
4369 * BufferView_pimpl.C: remove !NEW_INSETS cruft
4371 * BufferView2.C: remove !NEW_INSETS cruft
4373 * BufferView.h: remove !NEW_INSETS cruft
4375 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4377 * Lsstream.h: include LString.h before the sstream headers to
4378 fix problem with gcc 2.95.3 and lyxstring
4380 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4382 * lyx_main.C: add using directives when needed for C functions
4383 declared in std:: namespace.
4385 2001-04-27 Juergen Vigna <jug@sad.it>
4387 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
4388 (SetHeightOfRow): comment out the update call should not be needed!
4390 2001-04-13 Juergen Vigna <jug@sad.it>
4392 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
4393 (LyXTabular): tried to minimize operator= operations (and realized
4394 hopfully Lars wish).
4396 2001-04-27 Juergen Vigna <jug@sad.it>
4398 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
4400 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
4402 * lyxfunc.C (Dispatch): hack to make listof algorithm work
4404 * buffer.C (readInset): hack to make listof algorithm work
4406 * BufferView_pimpl.C: hack to make listof algorithm work
4408 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4410 * LyXAction.C: removed all !NEW_INSETS cruft
4411 (init): moved lfun_item in method
4413 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
4415 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
4417 * BufferView2.C (theLockingInset): white space.
4419 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4421 * minibuffer.C: include <iostream>
4423 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
4425 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
4427 * commandtags.h: add LFUN_TRANSPOSE_CHARS
4429 * text.[Ch] (TransposeChars): new method
4431 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4433 * call message directly through LyXView instead of through LyXFunc
4434 * BufferView2.C: adjust
4435 * BufferView_pimpl.C: adjust
4436 * FontLoader.C: adjust
4438 * bufferview_funcs.C: adjust
4439 * converter.C: adjust
4440 * figureForm.C: adjust
4441 * importer.C: adjust
4443 * lyx_gui_misc.C: adjust
4447 + more files in subdirs
4449 * lyxparagraph.h (size): move up int file
4452 * adjust all uses of Assert to lyx::Assert.
4454 * BufferView2.C (ChangeCitationsIfUnique): adjust for
4455 lyxfunctional in namespace lyx
4456 * layout.C (hasLayout): ditto
4459 (delete_layout): ditto
4460 (NumberOfClass): ditto
4461 * converter.C (GetFormat): ditto
4466 * bufferlist.C (getFileNames): ditto
4467 (emergencyWriteAll): ditto
4470 * MenuBackend.C (hasSubmenu): ditto
4473 * BufferView_pimpl.C (getInsetByCode): ditto
4475 2001-04-18 Juergen Vigna <jug@sad.it>
4477 * vspace.C (asLatexString): fixed the 100% problem.
4479 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4481 * lyxfunc.C (Dispatch):
4483 * minibuffer.h: add a few std:: qualifiers
4485 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
4487 * minibuffer.[Ch]: reimplement so that commands is initiated and
4488 run from lyxfunc, simplified som handling, and made the completion
4489 and history code for complete. wip.
4491 * lyxfunc.C (processKeySym): call message
4492 (miniDispatch): new temporary method
4493 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
4494 (LFUN_MESSAGE): implement
4495 (LFUN_MESSAGE_PUSH): implement
4496 (LFUN_MESSAGE_POP): implement
4497 (initMiniBuffer): the initial/defualt minibuffer message.
4499 * lyxfont.[Ch]: inline some more getters
4501 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
4503 * lyx_gui_misc.[Ch] (WriteStatus): remove method
4505 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
4506 (AutoSave): use LFUN_MESSAGE
4507 (Reconfigure): ditto
4509 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
4511 * figureForm.C: use LFUN_MESSAGE
4513 * converter.C (runLaTeX): use LFUN_MESSAGE
4515 * bufferview_funcs.C: use LFUN_MESSAGE
4517 (changeDepth): ditto
4519 * bufferparams.h: use boost::
4521 * bufferlist.h: inherit privately from noncopyable
4523 * bufferlist.C (loadLyXFile): remove some commented code.
4525 * buffer.C (runChktex): use LFUN_MESSAGE
4527 * ShareContainer.h: inherit privately from noncopyable
4529 * ParagraphParameters.[hC] (depth): inline it.
4531 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
4533 (message): new method
4534 (messagePush): ditto
4536 (show): init minibuffer
4537 (showState): direct call
4539 * LaTeX.[Ch]: inherit privately from noncopyable
4540 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
4541 instead of WriteStatus.
4543 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
4545 * BufferView_pimpl.C (buffer): don't init minibuffer
4546 (workAreaButtonPress): use LFUN_MESSAGE
4547 (workAreaButtonRelease): ditto
4548 (savePosition): ditto
4549 (restorePosition): ditto
4550 (MenuInsertLyXFile): ditto
4551 (workAreaExpose): don't init minibuffer
4552 (update): remove commented code, simplify
4554 * BufferView2.C (openStuff): use LFUN_MESSAGE
4555 (toggleFloat): ditto
4558 (copyEnvironment): ditto
4559 (pasteEnvironment): ditto
4564 (updateInset): remove some commented code
4566 * lastfiles.h: inherit privately from noncopyable
4571 * lyxlex_pimpl.h: ditto
4573 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
4574 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
4575 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
4577 * LyXAction.h: inherit privately from noncopyable, add methods
4578 func_begin, func_end, returning iterators to the func map.
4580 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
4581 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
4582 (func_begin): new method
4583 (func_end): new method
4585 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
4587 (copySelection): ditto
4588 (pasteSelection): ditto
4590 * BufferView.C: whitespace change
4591 * BufferView.h: inherit privately from noncopyable
4593 2001-04-16 Allan Rae <rae@lyx.org>
4595 * tabular-old.C (l_getline):
4596 * spellchecker.C (sc_check_word):
4597 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
4598 an unrecognised preprocessor directive. So ensure they're wrapped.
4600 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
4602 * src/exporter.C (Export): Give an error message when path to file
4605 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
4607 * LaTeX.C (deplog): Always check that foundfile exists.
4609 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4612 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
4614 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4616 * tabular.[Ch] (getLabelList): implement new method
4618 * minibuffer.h: comment ouf setTiimer
4620 * minibuffer.C (ExecutingCB): constify res
4621 (peek_event): constify s
4622 (Set): constify ntext
4623 (Init): constify nicename
4625 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
4627 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
4628 (savePosition): use two params to Minibuffer::Set
4629 (restorePosition): ditto
4631 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4633 * lyx_main.C: include language.h
4635 * Makefile.am (lyx_main.o): add language.h
4637 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4643 * CutAndPaste.C: include gettext.h
4645 * lyxfont.h: remove old hack with ON and OFF.
4648 * lyxfont.h: do not include language.h...
4653 * bufferview_funcs.C:
4659 * paragraph.C: ... but do it here instead
4661 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4663 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
4665 * tabular.C: small reformat
4667 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
4670 (BreakParagraph): ditto
4671 (SetOnlyLayout): ditto
4674 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
4677 * lastfiles.C: removed most using decl, add std:: where needed
4679 * buffer.C: ws changes
4681 * MenuBackend.C (class compare_format): put into anon namespace
4682 (expand): constify label, names, action, action2
4685 * text.C (SingleWidth): constify font
4686 (IsBoundary): constify rtl2
4687 (GetVisibleRow): constify ww
4689 * LaTeX.C (deplog): constify logfile
4691 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
4693 (workAreaExpose): constify widthChange, heightChange
4695 * lyxrow.C (par): moved
4698 * lyxrow.h: as inlines here
4700 * lyxfont.h (shape): moved from lyxfont.C
4701 (emph): moved from lyxfont.C
4703 * lyxfont.C (LyXFont): use initialization list for all
4705 (shape): move to lyxfont.h as inline
4706 (emph): move to lyxfont.h as inline
4709 2001-04-04 Juergen Vigna <jug@sad.it>
4711 * vspace.C: had to include stdio.h for use of sscanf
4713 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
4716 * BufferView_pimpl.h: remove xforms cruft. Both classes are
4717 independent of xforms.
4719 2001-04-02 Juergen Vigna <jug@sad.it>
4721 * spellchecker.C: fixed namespace placing!
4723 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
4725 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
4726 the LyXParagraph * is 0.
4728 2001-03-29 Juergen Vigna <jug@sad.it>
4730 * vspace.C: added support for %, c%, p%, l%.
4731 (stringFromUnit): added helper function.
4732 (asLatexString): changed to give right results for the %-values.
4734 * buffer.C: convert the widthp in a width%.
4736 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
4738 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
4741 * figureForm.[Ch]: stripped the FD_from_figure manipulation
4742 code out of lux_cb.[Ch], ready for its (imminent?) removal.
4744 * lyx_cb.[Ch]: see above.
4746 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
4750 * lyx.[Ch]: replaced by figure_form.[Ch].
4754 * lyxfunc.C: changed headers associated with above changes.
4756 2001-03-27 Juergen Vigna <jug@sad.it>
4758 * BufferView_pimpl.C: set the temporary cursor right!
4760 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
4762 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
4764 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
4766 * LString.h: removed "using std::getline"!
4768 * BufferView_pimpl.C (Dispatch): changes due to changes in
4769 InsetInclude::Params.
4771 * buffer.C (tag_name): removed redundant break statements as they were
4772 producing lots of warnings with my compiler.
4774 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4776 * LString.h: add "using std::getline" when using the real <string>.
4778 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
4780 * buffer.C: removed bitset usage.
4781 PAR_TAG moved to an anonymous name space.
4782 (tag_name): new funtion, also in the anonymous namespace.
4783 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
4784 (makeDocBookFile): clean code. Completed transition from string arrays
4786 (SimpleDocBookOnePar): code clean.
4788 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4790 * tabular.C: add some comments.
4792 2001-03-22 Juergen Vigna <jug@sad.it>
4794 * buffer.C (parseSingleLyXformat2Token): redone the minipage
4795 compatibility read a bit and fixed bug with minipage in different
4798 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
4800 * buffer.C (pop_tag): removed.
4801 (push_tag): removed.
4802 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
4803 array replaced with vector. Added support for CDATA sections.
4804 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
4806 (makeDocBookFile): XML conformant declaration of CDATA section,
4807 fixed bug related to <emphasis> in the first paragraph char.
4808 (sgmlOpenTag): exclude empty tags.
4809 (sgmlCloseTag): ditto.
4811 * buffer.h (pop_tag): removed.
4812 (push_tag): removed.
4814 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
4816 * language.h (Languages): added size_type and size().
4818 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4820 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
4821 response on compability reading of minipages. One probliem is that
4822 the old usage of minipages was «flertydig»
4824 * several files here and in subdirs: don't use static at file
4825 scope use anon namespaces instead.
4827 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
4829 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
4830 LaTeX output. This is necessary for Literate document
4833 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4835 * buffer.C: insert hfill when needed.
4837 * tabular.C (l_getline): use string::erase, small whitespace change.
4839 * BufferView_pimpl.C: try the anon namespace.
4842 2001-03-16 Juergen Vigna <jug@sad.it>
4844 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
4845 otherwise it won't open options-dialogs.
4847 * buffer.C: honor pextraWidth(p) on converting minipages.
4849 * tabular.C (l_getline): changed the functions to strip trailing \r.
4851 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
4853 * BufferView_pimpl.C:
4854 * minibuffer..C: added "using SigC::slot" declaration.
4856 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4858 * lyxlex_pimpl.h: noncopyable is in namespace boost.
4864 * paragraph.C: ditto
4866 * lyxtext.h: NO_PEXTRA
4868 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
4870 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
4871 * ParameterStruct.h: ditto
4872 * ParagraphParameters.h: ditto
4873 * lyxparagraph.h: ditto
4875 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4877 * buffer.C: add compability for minipage alignment.
4878 (latexParagraphs): remove unwanted pextra check.
4880 * several files: remove CXX_WORKING_NAMESPACES
4882 * buffer.C (pop_tag): tie is in namespace boost
4884 * BufferView.h: noncopyable is in namespace boost
4889 * lastfiles.h: ditto
4890 * bufferlist.h: ditto
4891 * ShareContainer.h: ditto
4893 * LyXAction.h: ditto
4896 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
4898 * Merging changes from BRANCH_MVC back into HEAD.
4900 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
4902 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
4904 * BufferView_pimpl.C: change from intl.C
4908 * Makefile.am: move combox.*
4914 * intl.C: remove dialog (covered by prefs)
4916 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
4918 * lyxfunc.C (Dispatch): removed redundant break statement.
4920 2001-03-14 Juergen Vigna <jug@sad.it>
4922 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
4924 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4926 * buffer.C: add hack to fix compability reading of minipages.
4928 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
4930 * buffer.C (getLists): Cleanup.
4932 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4934 * lyxfont.C (update): don't honor toggleall on font size.
4936 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
4940 * Makefile.am: moved to frontends/xforms/
4944 * BufferView_pimpl.C: changes for moved mathpanel
4946 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
4948 * gettext.h: fix gettext_init() in --disable-nls
4950 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4952 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
4954 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
4957 * lyx.h: strip external form
4959 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
4961 * BufferView_pimpl.C: add comment, destroySplash()
4963 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
4965 * BufferView_pimpl.C:
4969 * lyxfunc.C: use re-worked insetinclude
4971 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4973 * buffer.C: add using std::stringstream.
4975 * lyx_cb.C: readd using std::ios.
4977 * buffer.C: add using std::map.
4979 * BufferView_pimpl.C: add using std::vector.
4981 * ShareContainer.h: add std:: to swap.
4983 * buffer.h: add some typedefs
4984 * buffer.C (getLists): use them
4985 (getLists): renamed from getTocList.
4986 add a counter for the different float types and use it in the
4988 (getLists): use the same counter for the NEW_INSETS and the "non"
4991 * lyx_cb.h: remove unused items, includes, using etc.
4993 * ShareContainer.h: remove some commented code, add more comments
4994 and "documentation".
4996 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4998 * buffer.C (getTocList): make the list also when NEW_INSETS is
5001 * buffer.h: remove TocType
5003 * buffer.C (getTocList): change to return a map<string,
5004 vector<TocItem> >, implement for dynamic number of list.
5006 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
5007 * text2.C (PasteSelection): adjust
5008 * CutAndPaste.C (pasteSelection): adjust
5010 * FloatList.C (FloatList): update from the new_insets branch.
5011 * Floating.[Ch]: ditto
5012 * LaTeXFeatures.C: ditto
5014 * lyxlex_pimpl.C: ditto
5016 * paragraph.C (Last): remove when NEW_INSETS is defined.
5018 * other file: changes because of the above.
5020 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5022 * lyxparagraph.h: rename next to next_, previous to previous_,
5023 make them private for NEW_INSETS. Rename Next() to next(),
5024 Previous() to previous().
5026 * other files: changes because of the above.
5028 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
5031 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
5034 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5036 * main.C (main): pass lyx_localedir to gettext_init().
5038 * gettext.h: remove locale_init and gettext_init macros
5040 * gettext.C (locale_init): new function
5041 (gettext_init): new function
5043 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
5046 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
5048 * Moved credits to frontends:
5049 * credits.[Ch]: removed
5050 * credits_form.[Ch]: removed
5051 * lyx_gui_misc.C: remove credits stuff
5054 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5056 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
5058 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
5059 unneeded destructor.
5061 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
5062 a standalone pointer again.
5064 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
5066 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
5072 * ToolbarDefaults.C:
5081 * BufferView_pimpl.C: use new file dialog in GUII
5084 * lyx_cb.C: remove LayoutsCB to Toolbar
5086 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5088 * ShareContainer.h (get): add std:: qualifier
5090 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5092 * ShareContainer.h: define a proper ShareContainer::value_type
5093 type (and use typename to please compaq cxx)
5095 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5097 * lyxparagraph.h: move serveral local vars to
5098 ParameterStruct/ParagraphParameters., use ShareContainer in
5099 FontTable., make vars in FontTable private and add getter and
5102 * paragraph.C: changes because of the above.
5104 * lyxfont.h: remove copy constructor and copy assignment. (the
5105 default ones is ok), move number inside FontBits. move inlines to
5108 * lyxfont.C: add number to initializaton of statics, move several
5109 inlines here. constify several local vars. some whitespace
5110 cleanup. Dont hide outerscope variables.
5112 * Spacing.h: add two new constructors to match the set methods.
5114 * ShareContainer.h: new file, will perhaps be moved to support
5116 * ParameterStruct.h: new file
5118 * ParagraphParameters.h: new file
5120 * ParagraphParameters.C: new file
5122 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
5123 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
5125 * BufferView_pimpl.C: ParagraphParameter changes.
5126 * buffer.C: Likewise.
5127 * bufferview_funcs.C: Likewise.
5129 * text2.C: Likewise.
5131 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5133 * lyxfind.C (LyXReplace): do not redefine default argument in
5135 (IsStringInText): ditto
5136 (SearchForward): ditto
5137 (SearchBackward): ditto
5139 2001-03-06 Juergen Vigna <jug@sad.it>
5141 * lyxfind.C (IsStringInText): put parentes around expressions.
5143 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
5145 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
5147 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
5149 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
5151 * stl_string_fwd.h: add comment
5153 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
5156 * tabular.C: remove unused DocBook methods
5162 killed DO_USE_DEFAULT_LANGUAGE
5164 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5166 * lyx_gui.C: do not include language.h.
5168 * bufferview_funcs.C (ToggleAndShow): do not provide optional
5169 arguments in function implementation.
5171 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5173 * BufferView_pimpl.C: add <ctime>
5175 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5177 * BufferView_pimpl.C: add using std::find_if
5179 2001-02-27 José Matos <jamatos@fep.up.pt>
5181 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
5184 2001-02-11 José Matos <jamatos@fep.up.pt>
5186 * buffer.C (makeDocBookFile): command styles now have a parameter as
5189 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
5191 * layout_forms.[Ch]: removed
5192 * lyx_cb.[Ch]: out character
5193 * lyx_gui.C: out character
5194 * lyx_gui_misc.C: out character
5195 * bufferview_funcs.C: : out character,
5196 added toggleall as parameter in ToggleAndShow
5198 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
5200 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
5202 * text2.C (SetCurrentFont): Disable number property at boundary.
5204 2001-02-26 Juergen Vigna <jug@sad.it>
5206 * lyxfunc.C (getStatus): added a string argument override function so
5207 that this is correctly called from LyXFunc::Dispatch if it contains a
5208 do_not_use_argument which is used!
5209 (Dispatch): added check for "custom" export and call appropriate func.
5211 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
5213 * lyxrc.C: Add language_command_local, language_use_babel and
5214 language_global_options.
5216 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
5218 * buffer.C (makeLaTeXFile): Use language_use_babel and
5219 language_global_options.
5221 2001-02-23 Juergen Vigna <jug@sad.it>
5223 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
5224 which works with LyXText and putted it inside BufferView. Here now we
5225 only call for that part the BufferView::Dispatch() function.
5227 * BufferView.C (Dispatch): added.
5229 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
5230 functions which needs to use a LyXText over from LyXFunc.
5231 (MenuInsertLyXFile): added
5232 (getInsetByCode): added
5233 (moveCursorUpdate): added
5234 (static TEXT): added
5236 2001-02-22 Juergen Vigna <jug@sad.it>
5238 * BufferView_pimpl.C (update): call a status update to see if LyXText
5241 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5243 * vc-backend.C (revert): implement for CVS
5244 (getLog): implement for CVS
5246 2001-02-20 Juergen Vigna <jug@sad.it>
5248 * text2.C (ClearSelection): added BufferView param for inset_owner call
5250 * lyxfunc.C (TEXT): added this function and use it instead of
5251 directly owner->view()-text of getLyXText().
5253 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
5255 * src/layout_forms.C: out preamble
5256 * src/layout_forms.h: out preamble
5257 * src/lyx_cb.C: out preamble
5258 * src/lyx_cb.h: out preamble
5259 * src/lyx_gui.C: out preamble
5260 * src/lyx_gui_misc.C: out preamble
5261 * src/lyxfunc.C: connect with guii preamble
5263 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
5265 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
5267 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
5269 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
5270 whether to run bibtex.
5272 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
5274 * Makefile.am (lyx_SOURCES): Remove BackStack.h
5276 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
5278 * Makefile.am (lyx_SOURCES): removed bibforms.h
5282 * text.C (GetVisibleRow): make several local vars const
5284 * tabular.C: small cleanup.
5286 * lyxserver.C (callback): use compare instead of strncmp
5288 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
5289 inlines to after class or to paragraph.C
5291 * lyxfont.h: remove friend operator!=
5293 * converter.h: move friend bool operator< to non friend and after
5296 * combox.h: small cleanup
5298 * buffer.h: doxygen, remove unused constructor, move inclas inlies
5299 to inlines after class def.
5301 * buffer.C (pop_tag): use string operations instead of strcmp
5303 * bmtable.c: doxygen, small cleanup
5305 * LaTeX.h: remove friend operator==
5307 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
5319 * BufferView_pimpl.C:
5320 * BufferView.[Ch]: remove cruft
5322 2001-02-14 Juergen Vigna <jug@sad.it>
5324 * lyxfunc.C: removed #if 0 unused code
5326 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
5328 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
5330 * text2.C (SetSelection): added a BufferView * parameter
5332 2001-02-13 Juergen Vigna <jug@sad.it>
5334 * lyxfunc.C (Dispatch): fixed protected blank problem.
5335 * BufferView2.C (protectedBlank): added LyxText * parameter.
5337 * tabular.C (AppendRow): forgot to set row_info of newly added row.
5338 (AppendColumn): same as above for column_info.
5340 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
5341 (moveCursorUpdate): use a LyXText param for support of InsetText.
5343 * BufferView_pimpl.C (doubleClick): added support for InsetText.
5344 (tripleClick): ditto
5346 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
5348 * BufferView_pimpl.C (update): added LyXText param to honor insets.
5350 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
5352 * text2.C (SetSelection): set correct update status if inset_owner
5355 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
5357 * tabular.C: remove some commented code.
5359 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
5361 * BufferView_pimpl.C: call hideSplash()
5363 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
5366 * bibforms.h: remove
5369 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
5370 add LFUN_CHILD_CREATE
5372 * counters.h: fix tiny typo
5377 * lyx.C: move splash to frontends/xforms/
5379 * lyx_gui_misc.C: move Include and Bibform to frontends
5381 * lyxvc.h: clarify comment
5383 * vspace.C: tiny housekeeping
5385 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
5387 * text.C (PrepareToPrint): RTL Fix.
5389 * paragraph.C (GetUChar): New method.
5390 (String): Use GetUChar.
5392 * buffer.C (asciiParagraph): Use GetUChar.
5394 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
5396 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
5398 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
5401 * buffer.C: rename to getLogName(), handle
5402 build log / latex log nicely
5404 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5407 * MenuBackend.h: remove support for reference menuitem type.
5409 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
5411 * BufferView_pimpl.C: housekeeping
5412 * BufferView_pimpl.h:
5417 * minibuffer.h: move Timeout GUI-I
5419 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
5421 * lyxrc.C (read): Update converters data-structures.
5423 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
5425 * LaTeX.h (operator!=): add operator != for Aux_Info
5427 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
5429 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
5431 * LaTeXLog.C: deleted, useful code moved to Buffer
5434 * buffer.C: new function getLatexLogName()
5440 * lyxfunc.C: use frontends for LaTeX and VC logs
5442 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5444 * LaTeX.h: yet another std:: that Allan forgot.
5446 * Variables.C (set): renamed from isset(), because this clashes
5447 with some HP-UX macros (grr).
5449 2001-02-06 Allan Rae <rae@lyx.org>
5451 * LaTeX.h: Another bug fix. Missing std:: this time.
5453 2001-02-04 Allan Rae <rae@lyx.org>
5455 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
5456 floats problem. I've left it commented out because it's not quite
5457 correct. It should also test that the current object is a table or
5458 figure inset. But I haven't gotten around to figuring out how to do
5459 that. I *think* it'll be something like: "table" == inset.type()
5461 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
5464 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
5466 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
5467 all the citation/databases/styles in the auxilary file.
5468 (run): Rerun latex if there was a babel language error.
5470 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
5472 * text.C (Backspace): Preserve the font when changing newline char
5474 (BreakParagraph): If the cursor is before a space, delete the space.
5476 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
5478 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
5480 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
5481 new argument (code).
5482 (ChangeCitationsIfUnique): New method.
5484 * paragraph.C (GetPositionOfInset): Handle bibkey.
5486 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5488 * BufferView_pimpl.h: change type of Position::par_pos to
5489 LyXParagraph::size_type.
5491 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
5493 * BufferView_pimpl.C (savePosition, restorePosition): Write
5494 messages to minibuffer.
5496 2001-01-28 José Matos <jamatos@fep.up.pt>
5498 * buffer.C (makeDocBookFile): adds support for document language.
5499 A silly restriction on the name of LatexCommand types where removed.
5500 Added support for CDATA sections, allows to chars unescaped, used
5501 among others in code, to avoid escape < and >.
5503 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
5505 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
5506 saved positions instrad of a stack. Furthermore, a position is
5507 stored using paragraph id/paragraph position.
5509 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
5510 Remove LFUN_REF_BACK.
5512 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
5514 * converter.C (dvipdfm_options): New method.
5516 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
5518 * vspace.C (isValidLength): Fix for empty input string.
5520 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5522 * LyXAction.C (init): change description of LFUN_FIGURE to
5525 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5527 * LaTeX.C: add using directive
5529 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
5531 * MenuBackend.C (expand): Fix the sorting of the formats.
5533 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
5535 * lyx_main.C: tiny error message fix
5537 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5539 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
5540 calling fl_initialize(). This fixes the problem with ',' as
5541 decimal separator in text files.
5543 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
5545 * trans.C (process): Fix the keymap bug.
5547 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
5549 * LaTeX.C (scanAuxFiles): New method. Provides support for
5550 multiple bibliographies (when using the bibtopic/bibunits pacakges).
5551 (scanLogFile) Scan for "run BibTeX" messages.
5553 * buffer.C (makeLaTeXFile): Do not load the ae package when using
5554 OT1 font encoding. Also, load the aecompl package if the ae
5557 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
5559 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5561 * texrow.C (increasePos): turn two error messages into debug
5564 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
5566 * LaTeX.C (scanAux): Handle the \@input macro.
5567 (runBibTeX): Use scanAux().
5569 * language.C (latex_options_): New field.
5571 * LaTeXFeatures.C (getMacros): Add language macros.
5573 * buffer.C (makeLaTeXFile): Small fix.
5575 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5577 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
5579 * text2.C: add a using directive.
5581 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
5586 * lyxfunc.C: kill LyXBell.
5588 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
5590 * text.C (IsBoundary): Remove the error message
5592 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
5594 * lyxrc.C (setDefaults): Correct initialization value for
5597 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
5599 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
5602 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
5605 * src/LyXAction.C: Added reference-next.
5607 * text.C (InsertChar): Use contains instead of strchr.
5609 * lyx_cb.C (MenuInsertLabel): Enable default value code.
5611 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
5613 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
5614 alignment commands (when needed).
5616 * text.C (InsertChar): Add ':' to number separator chars.