1 2002-05-03 Juergen Vigna <jug@sad.it>
3 * screen.C (drawFromTo): recalculate the rowpointer if we had a
4 change in LyXText as we can not be sure it was not freed.
5 (drawOneRow): remove unused code.
7 * text.C (drawInset): redo the calculation of the need_break_row as
8 it could have a row which was already freed.
9 (draw): look at the return value of drawInset and return false if
10 it also returned false.
11 (paintRowText): look at the return value of draw and return false if
12 it also returned false.
14 * lyxtext.h: added bool return type to drawInset() and draw() so that
15 if we have a change in the row so that the rowbreak has to be redone
16 we abort drawing as it will be called again.
18 2002-05-02 Juergen Vigna <jug@sad.it>
20 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
21 a change in the maintext also if we're inside an inset.
22 (Dispatch): set the cursor again after a break line and after the
23 screen has been updated as it could be we're in a different row.
25 * text2.C (fixCursorAfterDelete): check to make sure we don't request
26 to set the cursor behind the pargraph with > size().
27 (setCursor): check also for the same paragraph when checking where
28 to put the cursor if we have a NFR inset.
30 * buffer.C (parseSingleLyXformat2Token): move the compatibility
31 parts of layout read further up as it still was in the wrong
34 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
36 * screen.C (drawFromTo): change sine fullRebreak always return
39 * buffer.C (parseSingleLyXformat2Token): reindent some
41 * BufferView_pimpl.C (update): change since fullRebreak always
43 (Dispatch): git rid of the last hardcoded "Standard"s.
45 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
47 * text2.[Ch] (fullRebreak): make it return void now that we always
50 2002-04-30 Juergen Vigna <jug@sad.it>
52 * buffer.C (parseSingleLyXformat2Token): reset the font before the
53 ert compatibility check for "latex" layout.
55 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
57 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
58 minipages: use col% instead of p%, and also use the current font.
59 (makeLaTeXFile): Fix use babel condition.
60 (parseSingleLyXformat2Token): Correct font when reading old floats.
62 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
64 * BufferView_pimpl.C (Dispatch): Check that float type exists when
65 inserting list of floats.
67 2002-04-25 Herbert Voss <voss@lyx.org>
69 * MenuBackend.C (expand): don't add the graphics extensions to the
72 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
74 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
75 non-existing layout, do not complain if it was the default layout
76 of the original class (bug #342)
78 2002-04-24 Juergen Vigna <jug@sad.it>
80 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
81 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
83 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
85 * buffer.C (getBibkeyList): If using \bibliography, return the
86 option field with the reference itself. Enables us to provide natbib
87 support when using \bibliography.
89 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
91 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
93 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
94 natbib is provided by the LaTeX class.
96 2002-04-23 Juergen Vigna <jug@sad.it>
98 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
101 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
103 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
105 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
107 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
108 ensuremath around textordmasculine, textordfeminine and
111 2002-04-19 Juergen Vigna <jug@sad.it>
113 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
114 reinitializing the buffer otherwise row-dimensions may be wrong.
115 (update): reset also the selection cursors if they do exits otherwise
116 their x/y positions may be wrong.
118 * text2.C (cursorDown): don't enter the inset if we came from a row
119 above and are one row over the inset.
121 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
122 really leaving an inset.
124 2002-04-18 Juergen Vigna <jug@sad.it>
126 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
127 of the selected paragraph does not have the selected layout also if
130 * text2.C (setLayout): fixed bug which did not change last selected
133 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
134 changed the read and substituted \\end_float with \\end_inset!
136 * BufferView_pimpl.C (cursorPrevious):
137 (cursorNext): fixed to make it work with rows heigher than the work
138 area without moving the cursor only the draw of the row.
139 (workAreaMotionNotify): fix jumping over high rows.
141 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
143 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
146 2002-04-16 Juergen Vigna <jug@sad.it>
148 * text2.C (setCursor): set also the irow().
149 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
151 (cursorDown): support for locking an inset if the x_fix value goes
152 inside it. That way I can transverse insets too with cursor up/down.
154 * lyxrow.h: added irow helper function same as other (i) functions.
156 * BufferView_pimpl.C (cursorPrevious):
157 (cursorNext): fixed for insets!
159 2002-04-15 Juergen Vigna <jug@sad.it>
161 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
162 position otherwise it is wrong in some cases.
164 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
165 inside the inset before the call.
167 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
169 * buffer.[Ch] (getBibkeyList): make it const.
171 2002-04-12 Juergen Vigna <jug@sad.it>
173 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
175 * text2.C (getCursorX): new helper function
176 (setCursor): compute also ix_
177 (setCursorFromCoordinates): set also ix.
179 * lyxcursor.h: added ix_ and helper functions.
181 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
183 * buffer.C (insertStringAsLines): dont break paragraph if the this
184 paragraph is inside an inset which does not permit it!
186 * text.C (breakParagraph): honor keepempty flag and break the paragraph
187 also with no chars on this paragraph.
188 (paintRowText): only paint stuff if it's inside the workarea!
190 * paragraph.C (breakParagraph): honor keepempty flag and break the
191 paragraph always below not above.
193 * BufferView2.C (unlockInset): update the paragraph layout on inset
194 unlock as we changed paragraph in such a case.
196 * lyxfind.C (LyXFind): clear the former selection if not found!
198 * text2.C (insertInset): freeze Undo after setUndo so that it is not
199 again called in insertChar().
201 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
202 an inset which uses the whole row!
203 (rightMargin): ditto.
204 (insertChar): force a rebreak if we inserted an inset!
206 2002-03-28 Herbert Voss <voss@lyx.org>
208 * lyxlength.[Ch]: add inBP() to get the right PS-point
209 units (BigPoint). With inPixels we have rounding errors
211 2002-04-11 Juergen Vigna <jug@sad.it>
213 * text2.C (setCursorFromCoordinates): set iy to the right value.
214 (setCursor): add check if row->previous exists!
216 * buffer.C (parseSingleLyXformat2Token): reset font after read of
217 an old float_type as this was the case in the old code!
219 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
221 * BufferView2.C (showLockedInsetCursor): use iy
222 (fitLockedInsetCursor): ditto
224 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
225 locked insets as there we have the right value now.
227 * lyxcursor.C: added iy_ variable and iy functions to set to the
228 baseline of cursor-y of the locked inset.
230 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
231 (setCursor): fixed for insets which need a full row.
233 * text.C (rowLastPrintable): don't ignore the last space when before
234 an inset which needs a full row.
235 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
236 as last character of a row when before a inset which needs a full row.
238 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
240 * version.C.in: update date
242 * text2.C (fullRebreak): try to always return true and see what
245 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
247 * MenuBackend.C (expand): use Floating::listName
249 * FloatList.C (FloatList): add listName argument to the built-in
252 * Floating.[Ch]: add listName member, which is the 'List of XXX'
253 text associated with the float.
255 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
257 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
259 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
261 * ShareContainer.h: add a couple of missing typenames.
263 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
265 * lyxrc.C (getDescription): use _() correctly rather than N_().
267 2002-03-28 Herbert Voss <voss@lyx.org>
269 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
270 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
272 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
274 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
275 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
277 2002-03-29 Juergen Vigna <jug@sad.it>
279 * lyxfunc.C (dispatch): add a missing fitCursor call.
281 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
282 it was scrolled by a cursor move, so return the bool status.
284 * BufferView.C (fitCursor): return the bool flag also to the outside
285 world as this is needed.
287 * screen.C (toggleToggle): don't subtract the offset if it's positive.
289 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
290 call the edit() as it is not needed (and wrong) IMO.
291 (workAreaButtonPress): set the screen_first variable before evt.
292 unlock the inset as this may change screen_first and then we have
293 a wrong y position for the click!
295 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
297 * MenuBackend.C (expand): another translation that I missed
299 2002-03-28 Juergen Vigna <jug@sad.it>
301 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
303 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
305 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
307 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
309 * MenuBackend.C (expand): fix export/view/update when there is no
312 2002-03-27 Herbert Voss <voss@lyx.org>
314 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
317 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
319 * bufferview_funcs.C (currentState): only show paragraph number
320 for is DEVEL_VERSION is set.
322 * lyxfunc.C (dispatch): put warning in INFO channel
324 * MenuBackend.C (expand): translate the name of floats
326 * FloatList.C (FloatList): mark the float names for translation
328 * converter.C (convert): use LibScriptSearch
330 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
332 * MenuBackend.C (defaults): fix default menu (we might as well get
335 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
337 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
340 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
342 * lyxvc.C: reorder includes.
344 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
346 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
349 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
351 * CutAndPaste.C: change layouts earlier on paste
352 to avoid crashing when calling getFont()
354 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
356 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
359 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
361 * WorkArea.C: remove 'Pending' debug message.
363 * most files: ws cleanup
365 * buffer.[Ch]: ws changes
367 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
369 2002-03-21 Juergen Vigna <jug@sad.it>
371 * tabular.C (SetMultiColumn): collapse also the contents of the
372 cells and set the last border right. Added a Buffer const * param.
374 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
376 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
379 2002-03-19 Juergen Vigna <jug@sad.it>
381 * text2.C (clearSelection): reset also xsel_cache.
383 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
384 where it needs to be called (John tells us to do so too :)
385 (selectionLost): reset sel_cache.
387 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
389 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
391 * text2.C (setCursorIntern): put debuging code in INSETS channel
393 2002-03-19 André Pönitz <poenitz@gmx.net>
395 * lyxfunc.C: tiny whitespace change
397 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
399 * ToolbarDefaults.C (init):
400 * LyXAction.C (init):
402 * BufferView_pimpl.C (Dispatch):
403 * lyxfunc.C (dispatch): remove LFUN_DEPTH
405 2002-03-19 Allan Rae <rae@lyx.org>
407 * exporter.C (Export): removeAutoInsets before doing anything else.
408 While I've just introduced a dependency on BufferView this really is
409 the best place to clean the buffer otherwise you need to cleanup in
410 a dozen places before calling export or cleanup in a dozen functions
413 * converter.C (runLaTeX):
414 (scanLog): Better handling of removeAutoInsets and screen updates.
416 * lyxfunc.C (dispatch): small whitespace changes
418 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
420 * WorkArea.C (C_WorkAreaEvent): return a value.
421 (event_cb): return 1 if we handled the event, 0 otherwise.
423 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
425 2002-03-18 Juergen Vigna <jug@sad.it>
427 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
428 (GetAdditionalWidth): ditto.
432 * BufferView2.C (copy): use getLyXText() so that we do it inside an
433 inset if we're there actually (probably not used right now but this
434 is the direction to go for unifying code).
435 (paste): disable code to clear the selection.
437 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
438 inside an InsetText and move the check further up as it is in the
441 * text2.C (pasteSelection): set a selection over the pasted text.
443 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
445 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
446 and libgraphics to build on Cygwin.
448 2002-03-15 Juergen Vigna <jug@sad.it>
450 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
451 inserting an Inset into the paragraph. I know this is not the best
452 fix but we already use current_view in CutAndPaste so we will remove
453 all of it's using at the same time.
455 * buffer.C (sgmlError): deactivated function till it is rewritten in
456 the right mode, now it can create problems.
458 * paragraph.C (isLineSeparator): check if getInset returns != 0,
461 2002-03-14 Juergen Vigna <jug@sad.it>
463 * undo_funcs.C (textHandleUndo): do the right thing when updating
464 the inset after the undo/redo.
466 * text2.C (setCursor): just some testcode for #44 not ready yet.
468 * undo_funcs.C (textHandleUndo): set the next() and previous()
469 pointers of the paragraph to 0 before deleting otherwise we have
470 problems with the Paragraph::[destructor].
472 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
473 on a paragraph insertion.
475 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
477 * buffer.C (asciiParagraph): use += operator for char append to
480 * paragraph.C (getFontSettings): compare >= not just >
481 (highestFontInRange): ditto
484 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
486 * paragraph.C: change several algorithm to be more appripriate for
487 the problem domain. This is lookip in FontList and in the InsetList.
489 2002-03-13 André Pönitz <poenitz@gmx.net>
492 * LyXAction.C: remove unused LFUN_MATH_MACROARG
494 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
499 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
501 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
503 * Painter.C (display): anon helper function, adjust code for this
505 (pixmap): remove function.
507 * Painter.h: remove private display variable.
509 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
511 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
513 * WorkArea.[Ch]: remove figinset_canvas cruft.
515 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
517 * lyxtextclass.C (operator): add one item cache optimization.
519 * bufferlist.h: doxy changes
521 * bufferlist.C: ws changes
523 * DepTable.[Ch] (ext_exist): place const in the right spot.
525 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
527 (workAreaExpose): call resizeInsets when the with BufferView changes.
528 (Dispatch): adjust for protectedBlank removal
529 (specialChar): call updateInset if the insert went ok.
531 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
534 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
536 * BufferView.h: doxy change
538 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
540 * lyxtextclass.C (operator[]): remove non-const version
541 (defaultLayout): remove non-const version
543 2002-03-12 Juergen Vigna <jug@sad.it>
545 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
546 did resize the LyXText too.
548 * buffer.C (readLyXformat2): set layout information on newly allocated
551 * tabular.C (OldFormatRead): set layout information on the paragraph.
553 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
555 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
557 2002-03-11 Juergen Vigna <jug@sad.it>
559 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
561 (resizeCurrentBuffer): force also the insets to resize themselfes.
562 (moveCursorUpdate): fixed up for InsetText.
564 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
567 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
568 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
569 value of Dialogs::tooltipsEnabled().
570 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
572 2002-03-08 Juergen Vigna <jug@sad.it>
574 * BufferView_pimpl.C (updateInset): update inset inside inset also
575 if it isn't inside theLockingInset().
577 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
579 * buffer.C (asciiParagraph): redo some of the word and line length
581 (getLists): look for Caption instead of caption.
583 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
585 * buffer.C (Buffer): initialize niceFile to true
588 (makeDocBookFile): make sure niceFile is true on exit
590 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
592 * buffer.C (makeLaTeXFile): escape ~ in \input@path
594 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
596 * LyXSendto.C: remove.
597 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
598 * lyx_gui.C: remove now-redundant comment.
599 * ColorHandler.h: remove forward declaration of class WorkArea.
600 * lyxfunc.C: remove #include "WorkArea.h".
602 2002-03-07 Juergen Vigna <jug@sad.it>
604 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
605 got moved away with the DEPM and also set the inset_owner always
606 right which before could have been omitted.
608 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
610 * buffer.C (parseSingleLyXformat2Token): use default layout is the
611 wanted layout is not found.
613 2002-03-07 Juergen Vigna <jug@sad.it>
615 * CutAndPaste.C (cutSelection): another layout settings forgotten.
617 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
619 * paragraph.C (breakParagraph): use default layout not layout of
621 (Paragraph): clear ParagraphParameters.
623 2002-03-06 Juergen Vigna <jug@sad.it>
625 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
626 otherwise it would not be a valid lenght. Fixed a special case in
627 the minipage compatibility read where we end the document with a
630 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
631 was set as it could be 0 for InsetTexts first entry.
633 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
635 * paragraph.C (writeFile): if layout is empty write out
638 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
639 file without named layout we set layout to defaultLayoutName().
641 2002-03-06 Juergen Vigna <jug@sad.it>
643 * CutAndPaste.C (copySelection): set layout for new paragraph.
645 * text.C (prepareToPrint): leave ERT inset left aligned
646 (leftMargin): don't indent paragraphs inside ERT insets
648 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
650 * paragraph.C (breakParagraph): dont call clear do the work manually
652 * paragraph.[Ch] (clear): remove function
654 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
656 * paragraph.C (Paragraph): dont call clear, the work has already
659 * lyxtextclass.C (operator): assert if n is empty
661 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
662 work manually instead.
664 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
666 * BufferView_pimpl.C: protect selectionLost against text == 0
668 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
670 * text.C (breakParagraph): fix a setting layout to '0' problem.
672 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
674 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
675 final location of file, for the included files, and graphics.
677 2002-03-05 Juergen Vigna <jug@sad.it>
679 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
681 2002-03-04 Juergen Vigna <jug@sad.it>
683 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
685 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
686 last column of multicolumn cells.
687 (SetWidthOfMulticolCell): recalculate NMC and real columns.
689 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
691 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
692 file if it doesn't go to a temporary file.
694 * buffer.C (sgmlOpenTag):
695 (sgmlCloseTag): remove extra newline insertion.
697 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
699 * text.C (getRowNearY): comment out debug msg
701 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
703 * text2.C: first -> first_y
705 * text.C (getRowNearY): add some attemts at a possible
706 optimization, not working.
708 * tabular.[Ch]: add BufferParams to several function so that newly
709 created paragraph can be initialized to he default layotu for the
712 * tabular-old.C (ReadOld): add buf->params to call of Init
714 * screen.C: rename text->first to text->first_y
716 * paragraph.C (breakParagraph): always set layout in the broken
719 * lyxtextclass.C (Read): remove lowercase
722 (delete_layout): ditto
724 * lyxtext.h: rename first -> first_y
726 * lyxlayout.C (Read): remove lowercase
729 (obsoleted_by): ditto
731 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
733 * buffer.C (insertErtContents): add params are to InsetERT
734 (parseSingleLyXformat2Token): add code to check if a paragraphs
736 (parseSingleLyXformat2Token): add params to several inset
738 (asciiParagraph): remove lowercase, do the layout comparisons with
741 * BufferView_pimpl.C (cursorNext): first -> first_y
742 (resizeCurrentBuffer): first -> first_y
743 (updateScrollbar): first -> first_y
744 (scrollCB): first -> first_y
745 (workAreaMotionNotify): first -> first_y
746 (workAreaButtonPress): first -> first_y
747 (checkInsetHit): first -> first_y
748 (cursorPrevious): first -> first_y
749 (cursorNext): first -> first_y
750 (Dispatch): add buffer_->params to severl inset contructors
752 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
754 * lyxlayout.C (Read): remove some debug info that I forgot.
756 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
757 clean up the code slightly.
758 (makeLinuxDocFile): ditto
759 (makeDocBookFile): ditto
761 * text2.C: layout as string
763 * text.C: layout as string
765 * paragraph_pimpl.C: layout as string
767 * paragraph.[Ch]: layout as string
769 * lyxtextclasslist.[Ch]: layout as string
771 * lyxtextclass.[Ch]: layout as string
773 * lyxtext.h: layout as string
775 * lyxlayout.[Ch]: layout as string
777 * lyx_cb.C: layout as string
779 * bufferview_funcs.C: layout as string
781 * bufferparams.C: layout as string
783 * buffer.C: layout as string
785 * LyXView.[Ch]: layout as string
787 * LaTeXFeatures.[Ch]: layout as string
789 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
791 * BufferView_pimpl.C: change current_layout to string, remove
796 (workAreaButtonRelease): layout as string
798 * BufferView2.C (unlockInset): adjust
800 * vspace.C (asLatexCommand): use an explict temp variable.
802 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
804 * Makefile.am: use FRONTEND_*
806 2002-03-01 Juergen Vigna <jug@sad.it>
808 * tabular.C (SetWidthOfMulticolCell): changed to something better
809 I hope but still work in progress.
810 (recalculateMulticolumnsOfColumn): renamed function from
811 recalculateMulticolCells as it is more appropriate now.
812 (SetWidthOfCell): calculate multicols better.
814 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
816 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
818 * lyxfunc.C (processKeySym): print sequence also if it is
821 * kbsequence.C (print): print sequence even if it is deleted
822 (complete would be a better word, actually).
824 * lyxfunc.C (dispatch): print complete options after a prefix key
826 * vspace.C (asLatexCommand): rewrite in a slightly different form.
828 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
830 * text2.C (setCharFont): eliminate setCharFont code duplication.
832 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
834 * BufferView_pimpl.C (Dispatch): remove bogus handling of
835 LFUN_TABULAR_FEATURE (bug #177)
837 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
839 * Makefile.am: remove figure.h
841 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
843 * Bufferview_pimpl.C:
855 * text2.C: remove #include "lyx_gui_misc.h".
857 * LaTeX.C: added #include <cstdio>
859 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
861 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
862 that the paragraph following this one can have.
864 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
866 * vspace.C (asLatexCommand): fix bogus gcc warning
868 * Makefile.am (lyx_SOURCES): remove vms_defines.h
870 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
872 * text2.C (setLayout): get rid of redundant code
874 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
876 * text2.C (incDepth): make sure depth cannot be increased beyond
879 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
881 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
882 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
884 * PainterBase.h (image):
885 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
888 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
892 * BufferView_pimpl.C:
893 * BufferView_pimpl.h:
913 * sp_spell.C: remove fig inset, and the crap house of
914 cards that follows it
916 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
922 * nt_defines.h: move .h into support/
924 * vms_defines.h: remove
926 * WorkArea.C: add space in debug output
930 * buffer.C: add WITH_WARNINGS
934 * bufferlist.C: s/retrive/retrieve/, add docs
945 * lyxgui.C: add ID to X error handler
947 * lyxtestclass.c: fix typo
949 2002-02-26 Juergen Vigna <jug@sad.it>
951 * tabular_funcs.C (write_attribute): changed so that some default
952 attributes are not written at all.
953 (getTokenValue): set default values before trying to read the
954 value so we have the return value always set as default if we don't
955 find the token we search for.
957 * tabular.C (Write): write bools as bools not as strings!
959 2002-02-22 Juergen Vigna <jug@sad.it>
961 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
962 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
964 * text.C (leftMargin): don't add an indent for paragraphs inside
965 tabular cells (fix #208).
967 2002-02-21 José Matos <jamatos@fep.up.pt>
969 * tabular.C (docBook): fixed support for long tables.
971 2002-02-20 Juergen Vigna <jug@sad.it>
973 * text2.C (getFont): get the drawing font of the Inset if this
974 paragraph is inside an inset (only important for InsetERT for now).
976 * buffer.C (insertErtContents): use new lanugage params in ERT
979 * CutAndPaste.C: commenting out seemingly uneeded code.
981 2002-02-19 Allan Rae <rae@lyx.org>
983 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
984 Iterators might be simple to use but they also get invalidated.
985 (removeAutoInsets): renamed saved cursor tracking variables and added
986 some comments to clarify what everything does.
988 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
995 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
996 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
999 * vc-backend.h: remove #include "support/syscall.h"
1003 * converter.C: rearrange #includes in Lars' approved fashion.
1005 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
1006 forward declare class Timeout in the header file.
1008 * XFormsView.C: changes due to the above.
1010 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
1013 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
1014 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
1016 2002-02-18 José Matos <jamatos@fep.up.pt>
1018 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
1021 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
1023 * a lot of small ws changes
1024 * add a lot of using std::XXX
1025 * use std construcs some places where approp.
1026 * use some exisint stuff from lyxfunctional where approp.
1027 * Make file changes to use partial linking (lets test this now...)
1029 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
1033 remove #include "support/syscontr.h" as it's redundant. Always has been.
1041 change Systemcalls::System to Systemcalls::Wait and
1042 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
1043 No change of functionality, just reflects the stripped down Systemcalls
1046 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
1048 * debug.[Ch]: add a GRAPHICS type to the enum.
1050 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1052 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
1054 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
1057 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1059 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
1060 match the changes below.
1062 * text2.C (toggleInset): if there is not editable inset at cursor
1063 position, try to see if cursor is _inside_ a collapsable inset
1066 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1068 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
1069 document menu has a nice checkbox
1071 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1073 * lyxlength.C (asLatexString): change PW to output as percent of
1076 * lengthcommon.C: change '%' to 't%'
1078 * lyxfunc.C (dispatch): a few comments from Martin
1080 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
1084 * BufferView_pimpl.h:
1085 * BufferView_pimpl.C: clear our selection when X tells us we've lost
1088 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1090 * vspace.C (inPixels): fix compiler warning
1092 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1094 * lyxfunc.C (getStatus): fix status message for disabled commands.
1096 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
1098 * BufferView_pimpl.C: fix crash on close buffer
1099 during selection (#227)
1101 2002-01-27 Herbert Voss <voss@lyx.org>
1103 * buffer.C: link old Figure to new graphic inset
1105 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
1107 * FontLoader.C (getFontinfo): Change the latex font names in order
1108 to match the names of type1inst.
1110 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1112 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
1114 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
1117 (remove_files_with_extension): ditto
1118 (remove_file): ditto
1121 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
1122 document is smaller than the work area height. Do not initialize
1123 static variables to 0.
1125 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1127 * lyx_gui.C (init): give the toolbar tooltips a normal font.
1129 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
1130 LFUN_LAYOUT_PARAGRAPHS.
1132 * tabular.C (GetCellFromInset): new method. Finds an inset in a
1133 tabular. It is possible to provide a possible cell, which will
1134 typically be the actcell from the corresponding insettabular
1136 * lyxfunc.C (getStatus): small cleanup; disable
1137 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
1140 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1142 * tabular.C (Validate): remove broken optimization (fixes bug #201)
1144 * paragraph.C (startTeXParParams):
1145 (endTeXParParams): new methods. The LaTeX code to
1146 start/end paragraph formatting
1147 (simpleTeXOnePar): call startTeXParParams also when paragraph is
1148 empty (fixes bug #200)
1150 * vspace.C (inPixels): adapt to the change below
1151 (inPixels): [later] more cleanups (remove unused variables)
1153 * lyxlength.C (inPixels): change to use a width and a height as
1156 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1158 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
1159 Replaced with \paperwidth
1161 * DepTable.C (insert): add std:: qualifier
1163 2002-01-18 Allan Rae <rae@lyx.org>
1165 * text2.C (removeRow): add comment. Should other refresh_?? vars be
1168 * text.C (drawInset): Turned out I didn't know enough about how
1169 rebreaking worked. This fixes most of the redraw problems. I see
1170 an occasional cursor trail when a line is broken now and the cursor
1171 placement can seem out by a few pixels also after a rebreak.
1173 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1175 * buffer.C (parseSingleLyXformat2Token): update because minipage
1176 width is now a LyXLength
1178 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
1180 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
1183 2002-01-17 Juergen Vigna <jug@sad.it>
1185 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
1187 * BufferView2.C (lockInset): call edit() so that theLockingInset()
1188 is set correctly and the inset is updated correctly.
1190 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1192 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
1193 the beginning of the loop.
1195 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
1197 * lyxrc.C: improve help for use_scalable_fonts
1199 2002-01-17 Allan Rae <rae@lyx.org>
1201 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
1203 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1205 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
1206 make sure to set their inset_owner to the right value (bug #171)
1208 2001-12-12 Ben Stanley <bds02@uow.edu.au>
1211 * DepTable.C: Implement mtime checking to reduce time spent doing
1214 2002-01-16 Juergen Vigna <jug@sad.it>
1216 * tabular.C (GetAdditionalHeight): one of error fixed.
1218 * lyxrc.C (output): small fix in writing use_pspell.
1220 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
1222 * sp_base.h: #include LString.h
1224 2002-01-16 Allan Rae <rae@lyx.org>
1226 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
1227 Can someone check this please?
1229 * text.C (drawInset): It was possible that p.row would be removed by
1230 breakAgainOneRow upsetting a few other settings. There may be another
1231 small tweak possible by setting need_break_row = 0 when p.row has been
1232 removed but I don't know enough about the logic here.
1234 2002-01-15 Allan Rae <rae@lyx.org>
1236 * text.C (insertChar): removed conditional truism.
1238 * BufferView2.C (removeAutoInsets): More tweaks.
1239 cur_par_prev could be a stray pointer. Check for trailing empty line
1240 in case last line was cur_par and only had an error inset on it.
1242 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1244 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
1247 * vc-backend.C (most methods):
1248 * exporter.C (Export):
1249 * converter.C (convert):
1251 * LyXSendto.C (SendtoApplyCB):
1252 * lyxfunc.C (dispatch):
1256 * lyx_cb.C (AutoSave):
1258 * BufferView_pimpl.C (MenuInsertLyXFile):
1259 * buffer.C (runChktex): use Buffer::filePath().
1261 * buffer.h: rename filename to filename_; rename filepath to
1262 filepath_ and make it private
1263 (filePath): new method
1265 * buffer.C (writeFile): use fileName()
1268 * lyx_main.C (init): fix starting of LyX when the binary is a
1269 link from so,ewhere else.
1271 * minibuffer.C: include <cctype> for isprint
1273 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1275 * buffer.C (parseSingleLyXformat2Token): changes associated with the
1276 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
1277 name clash with InsetCollapsable's width function.
1279 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
1281 * lastfiles.C: include <iterator>
1283 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1285 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
1288 * buffer.C (makeLaTeXFile): ditto.
1289 Also make loop operation more transparent.
1291 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1293 * ToolbarDefaults.C: remove trailing comma closing namespace.
1295 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
1297 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
1300 * trans.C (Load): comment out unused variable, allowed.
1302 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
1304 * minibuffer.[Ch] (append_char): new method to recieve input from the
1305 drop-down completion browser. If a key was pressed, then recieve this
1306 char and append it to the existing string.
1307 (peek_event): modify the positioning data passed to the completion
1308 browser so that it can be placed above the minibuffer rather than below.
1309 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
1311 * LyXAction.C (init): alloe error-next for readonly documents.
1313 * BufferView2.C (ChangeRefsIfUnique): use standard version of
1316 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1318 * bufferlist.C (readFile): create the buffer _after_ checking that
1321 * lyxfunc.C (verboseDispatch): fix handling of arguments
1323 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
1325 * lyxrc.C: use string::erase() instead of initializing to "".
1328 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
1330 * BufferView_pimpl.h:
1331 * BufferView_pimpl.C:
1334 * text2.C: tell X when we have made a selection for copying
1336 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1338 * BufferView_pimpl.C (MenuInsertLyXFile):
1339 * lyxfunc.C (menuNew):
1341 (doImport): add shortcuts to directory buttons
1343 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
1346 * lyxfunc.C (setStatusMessage):
1347 (getStatusMessage): new methods
1348 (getStatus):use setStatusMessage instead of setErrorMessage
1349 (dispatch): when function is disabled, set error message here
1350 [instead of in getStatus previously]
1352 * BufferView_pimpl.C (workAreaButtonRelease): update
1353 toolbar/menubar here too.
1355 2002-01-13 Allan Rae <rae@lyx.org>
1357 * BufferView2.C (removeAutoInsets): finished off earlier fix.
1358 Now seems indestructible. Remaining task is to audit all other
1359 code affected by deleteEmptyParagraphMechanism. One small quirk
1360 left is that an empty document with an error in the preamble can
1361 be made to report an error but no error box appears. I don't know
1363 (removeAutoInsets): Improved comments.
1365 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
1368 * Thesaurus.C: update for Aiksaurus 0.14
1370 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
1372 * text2.C (firstParagraph): removed member function, all uses
1373 replaces with ownerParagraph
1374 (redoParagraphs): here
1376 (toggleAppendix): here
1377 * BufferView2.C (insertErrors): here
1378 (setCursorFromRow): here
1380 2002-01-13 Allan Rae <rae@lyx.org>
1382 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
1383 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
1384 There is still a way to segfault this although you may have to do this
1385 multiple times: Have an InsetERT with an unknown command in it.
1386 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
1387 <down-arrow>, <Enter> again, View->DVI, BANG!
1389 * text2.C (setCursor):
1390 (deleteEmptyParagraphMechanism):
1391 * lyxtext.h (setCursor):
1392 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
1393 Making use of the return value may help fix other bugs.
1395 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1397 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
1399 * LyXView.C (updateMenubar): call MenuBar::update here
1400 (updateToolbar): but not here
1401 (showState): do not update toolbar/menubar
1403 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
1404 should need to care about that.
1406 * lyxfunc.C (verboseDispatch): simplify a bit
1407 (getStatus): have a version which takes a pseudoaction, and
1408 another which requires a (kb_action,string).
1410 * LyXAction.C (retrieveActionArg): make it work also when action
1411 is not a pseudo-action.
1412 (getActionName): simplify a bit
1415 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1417 * lyxfunc.C (verboseDispatch): new families of methods with
1418 several ways to specify a command and a bool to indicate whether
1419 the command name and shortcut should be displayed in minibuffer
1420 (eventually, we could extend that to a finer bitmask like
1421 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
1422 (dispatch): the pristine dispatch command which just, well,
1423 dispatchs! Note it still sets its result to minibuffer; I'm not
1426 * lyxfunc.h: remove setHintMessage
1428 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
1430 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1432 * BufferView_pimpl.C (specialChar): delete new inset if we have
1433 not been able to insert it.
1435 * kbmap.C: revert to using int instead of kb_action, since all we
1436 are dealing with is pseudo-actions.
1438 * LyXAction.C (searchActionArg): change to return int instead of
1439 kb_action, since the result is a pseudoaction.
1441 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
1443 * buffer.C (insertErtContents): Fix (partially) the font bug.
1445 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
1447 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
1448 as the other one is broken on my machine!
1450 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
1453 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
1455 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
1457 * lyxrc.[Ch]: change names and descriptions of popup font variables to
1458 reflect their actual use. Provide compatibility code for older lyxrc
1461 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
1463 change names of popup font variables in line with the changes to lyxrc.C
1465 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1467 * buffer.C (asciiParagraph): avoid outputing a word twice after
1470 * lyxrc.C (getDescription): document that document_path and
1471 template_path can be empty.
1473 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1475 * LaTeXFeatures.C (getMacros):
1476 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
1478 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
1480 * LaTeXFeatures.C (useFloat): require "float" here instead of in
1482 (getPackages): rename feature "floats" to "float". Use an array to
1483 iterate over 'simple' features (i.e. just a \usepackage). Add
1484 handling of "amsmath" (renamed from "amsstyle").
1486 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
1488 * LaTeXFeatures.C (require): Prevent duplicate entries in the
1491 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
1493 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
1494 FuncStaus::FuncStatus & FuncStaus::some_method().
1496 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
1498 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
1499 of the func_satus stuff. Edited and massaged in various ways by
1502 * lyxfunc.C (getStatus): use FuncStatus
1504 2002-01-08 Juergen Vigna <jug@sad.it>
1506 * text.C (nextBreakPoint): use function Inset::isChar().
1508 * paragraph.C (TeXOnePar): use function
1509 Inset::forceDefaultParagraphs.
1511 * buffer.C (latexParagraphs): use function
1512 Inset::forceDefaultParagraphs.
1514 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
1516 * lyx_gui.C (init): set the style of the menu popups to
1517 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
1519 2002-01-07 Juergen Vigna <jug@sad.it>
1521 * text.C (setHeightOfRow): small fix
1522 (prepareToPrint): don't look at alignment if we don't have the place
1525 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
1527 * box.C: New file. Move the Box methods and functions out of box.h,
1528 following Lars' suggestion.
1530 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
1532 * box.h: #include "support/LOstream.h", needed for inlined function.
1535 * lyxtextclasslist.C: added some using std declarations.
1537 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
1539 * box.h: make signed dimensions to allow insets wider than
1540 the screen (bug #162)
1542 * BufferView_pimpl.C: add some insetHit debug
1544 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
1546 * vc-backend.C: add FIXME
1548 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1550 * lyxfunc.C (getStatus): enable code for showing math font status
1553 2002-01-07 Juergen Vigna <jug@sad.it>
1555 * text.C (nextBreakPoint): removed debug output not needed anymore.
1557 2002-01-06 Juergen Vigna <jug@sad.it>
1559 * text.C (nextBreakPoint): fixed up this function we had this bug
1560 since ever but now hopefully we break row better.
1561 (insertChar): we have to check if an inset is the next char as it
1562 could now happen that a large inset is causing a break.
1564 2002-01-05 Juergen Vigna <jug@sad.it>
1566 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
1567 if it doesn't like to be drawed.
1569 2002-01-04 Juergen Vigna <jug@sad.it>
1571 * BufferView2.C (lockInset): forgot to set a cursor.
1573 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
1575 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
1580 * form_maths_panel.C:
1581 * form_maths_panel.h:
1582 * form_maths_panel.fd: implemented sub- and super- buttons in math
1585 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
1586 (or ^ space) to be used as in TeX (req'd by André).
1588 * lyxfunc.C: Allow ^ and _ again to be used both as
1589 super/subscript (mathed) and as themselves (in text).
1591 2002-01-03 Allan Rae <rae@lyx.org>
1593 * LyXView.C (updateWindowTitle): Setup a short icon title of either
1594 "LyX" or the filename of the current buffer if it has one. This is a
1595 modified form of John Levon's patch.
1597 * XFormsView.C (setWindowTitle): also set icon title.
1599 * LyXView.h (setWindowTitle): signature changed.
1600 * XFormsView.h (setWindowTitle): ditto.
1602 2002-01-02 Juergen Vigna <jug@sad.it>
1604 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
1606 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
1608 * screen.C (topCursorVisible): introduce a temp var for
1609 text->cursor.row(), handle the case where this row is null. (kindo
1612 * text2.C (setCursor): add a couple of asserts.
1614 * paragraph.h (inset_iterator): add -> operator
1616 * paragraph.[Ch] (autoDeleteInsets): remove member function
1618 * BufferView2.C (removeAutoInsets): rewrite to handle the old
1619 cursor pos correctly and handle inset deletion by itself.
1620 (insertErrors): move iterator declaration out of for expression
1622 * lyxtextclass.C: add <algorithm>
1624 * Makefile.am: added the new files to sources, removed layout.C
1626 * layout.C: removed file
1628 * layout.h: remove LYX_DUMMY_LAYOUT
1630 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
1634 * lyxtextclass.[Ch]:
1635 * lyxtextclasslist.[Ch]: new files
1637 * include order changes to a lot of files, also changes because of
1640 2001-12-27 Juergen Vigna <jug@sad.it>
1642 * buffer.C (asciiParagraph): more fixes.
1644 * tabular.C (ascii): make ascii export support export of only the
1645 data separated by a column-delimiter.
1646 (ascii): better support for ascii export.
1648 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
1650 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1652 * tabular_funcs.C: use a "using std::getline" instead of the
1653 previous fix from Angus (necessary for cxx + lyxstring)
1655 2001-12-24 Juergen Vigna <jug@sad.it>
1657 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
1659 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
1660 problems. First check a minipage also if we have some ert-contents
1661 (not only on par->size(), second set the right depth of the paragraph
1662 on the relink to the root-paragraph-list!
1664 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
1665 which then did not anymore update the main paragraphs on undo/redo!
1667 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1669 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
1670 code. Support all font-changing funcs (even those which are not in
1671 menu currently). Support for reporting font settings in
1672 mathed (disabled until Andre provides a function on mathed's side).
1674 * func_status.h (toggle): small helper function to set toggle
1677 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
1679 * tabular_funcs.C: getline -> std::getline
1681 2001-12-21 Juergen Vigna <jug@sad.it>
1683 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
1684 accessed and could be 0 (I couldn't generate this but it seems
1687 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
1689 * tabular_funcs.C: add LIstream.h, move write_attribute to..
1690 * tabular_funcs.h: here and include iosfwd
1692 2001-12-20 Juergen Vigna <jug@sad.it>
1694 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
1695 inside inset but undo_par was.
1697 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1699 * Thesaurus.C: always include <config.h> in sources.
1703 * box.h: do not include <config.h> in header files
1705 * text.C (paintLastRow): remove unused variable
1707 * text.C (transformChar):
1709 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
1712 * font.C (width): rewrite to use uppercase() instead of
1715 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
1717 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
1719 * lyxfind.C: clean up of find failure position change
1721 2001-12-20 Juergen Vigna <jug@sad.it>
1723 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
1725 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
1726 (TeXRow): added to LaTeX a single tabular row.
1727 (TeXLongtableHeaderFooter): added to output LT-h/f data.
1728 (Latex): simplified and finally good LT-h/f support.
1729 (various_functions): just small adaptions for LT-h/f support.
1731 * tabular_funcs.[hC]: added and moved here all not classfunctions
1734 2001-12-19 Juergen Vigna <jug@sad.it>
1736 * tabular.[Ch]: better support for longtabular options (not finished
1739 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1741 * text.C (paintLastRow): use the label font instead of the font of
1742 the last character to compute the size of *_BOX. This makes more
1743 sense and avoids a crash with empty paragraphs.
1744 Use Painter::rectangle to draw EMPTY_BOX.
1746 2001-12-19 Juergen Vigna <jug@sad.it>
1748 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
1749 the paragraphs if the replaced paragraph is not the first one!
1750 Tried to delete not used paragraphs but does not work yet so for
1751 now it's inside #ifdef's and by default off!
1753 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1755 * MenuBackend.C: include "lyx_main.h" instead of declaring
1756 lastfiles (actually was declared as LastFiles* instead of a
1759 2001-12-17 Juergen Vigna <jug@sad.it>
1761 * tabular.C (AppendColumn): applied John's fix
1763 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
1767 * BufferView_pimpl.h:
1768 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
1771 * box.h: new start of class for above
1773 * lyxfunc.C: ignore space-only minibuffer dispatches.
1774 Show the command name when it doesn't exist
1776 * minibuffer.C: don't add empty lines to the history
1778 * minibuffer.C: add a space on dropdown completion
1780 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
1782 * text.C: fix line above/below drawing in insets
1784 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
1786 * lyxlength.C (LyXLength): Initialize private variables.
1788 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
1790 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
1791 when inserting error insets.
1793 2001-12-13 Juergen Vigna <jug@sad.it>
1795 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
1796 actually sometimes the before-paragraph.
1797 (setUndo): don't clear the redostack if we're not actually undoing!
1799 2001-12-06 Juergen Vigna <jug@sad.it>
1801 * undo_funcs.C (textHandleUndo): well after John's hint I got here
1802 and fixed redoing of main paragraph, so we can use it now ;)
1804 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
1806 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1808 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
1811 2001-12-13 André Pönitz <poenitz@gmx.net>
1814 * undo_func.C: minor cleanup
1816 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1818 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
1819 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
1820 font in urw-fonts package which is marked as -urw-fontspecific and
1821 does not work (incidentally, changing the encoding in the
1822 fonts.dir of this package to -adobe-fontspecific fixes the
1825 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
1826 is a crash when undoing first paragraph (Juergen, please take a
1827 look). THis does not mean the undo fix is wrong, just that it
1830 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
1831 the (Paragraph*) version when needed instead of duplicating the
1834 * text.C (workWidth): use Inset::parOwner to find out where the
1835 inset has been inserted. This is a huge performance gain for large
1836 documents with lots of insets. If Inset::parOwner is not set, fall
1837 back on the brute force method
1839 * paragraph_pimpl.C (insertInset):
1840 * paragraph.C (Paragraph):
1841 (cutIntoMinibuffer): set parOwner of insets when
1842 inserting/removing them
1844 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
1846 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
1852 * mathed/formulabase.C:
1853 * mathed/math_cursor.[Ch]:
1854 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
1857 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1859 * lyxlength.[Ch] (operator!=): new function
1861 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1863 * text.C (workWidth): use Inset::parOwner to find out where the
1864 inset has been inserted. This is a huge performance gain for large
1865 documents with lots of insets. If Inset::parOwner is not set, fall
1866 back on the brute force method
1868 * paragraph_pimpl.C (insertInset):
1869 * paragraph.C (Paragraph):
1870 (cutIntoMinibuffer): set parOwner of insets when
1871 inserting/removing them
1873 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
1875 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1877 * tabular-old.C (getTokenValue):
1878 * tabular.C (getTokenValue):
1879 (write_attribute): new versions for LyXLength
1880 (everywhere): adjust the use of widths
1882 * tabular.h: change the type of widths from string to LyXLength
1884 2001-12-11 Ben Stanley <bds02@uow.edu.au>
1886 * paragraph.C: fixed missing line number count when exporting
1887 Environments to LaTeX file
1889 * buffer.C: added informational message for checking line numbers.
1891 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1893 * text2.C (deleteEmptyParagraphMechanism): if there is only one
1894 paragraph, do the 'double space' part, but not the 'empty
1897 * text.C (workWidth): small optimization
1898 (getLengthMarkerHeight): use minimal size for negative lengths.
1900 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
1902 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
1904 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
1906 2001-12-11 André Pönitz <poenitz@gmx.net>
1909 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
1911 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
1913 * text2.C: keep selection on a setFont()
1915 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
1917 * lyx_cb.C: another bv->text misuse, from insert label
1919 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
1922 * kbsequence.C: re-instate nmodifier mask
1924 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
1926 * lyx_main.h: make lyxGUI private.
1928 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
1930 * lyxfind.C: place the cursor correctly on failed search
1932 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1934 * text.C (getLengthMarkerHeight): for small heights, the arrows
1935 are not always on top/bottom of the text
1936 (drawLengthMarker): smaller arrows; take the left margin in
1937 account; draw also vfills.
1939 (paintLastRow): remove special code for vfill and standard spaces,
1940 since everything is handled in drawLengthMarker now.
1942 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
1944 * buffer.C (insertErtContents): try to handle font and language
1945 interaction a bit better.g
1947 * ColorHandler.C (updateColor): change the hash to cover the whole
1948 LColor enum, ws cleanup
1949 (getGCLinepars): ditto
1950 (getGCLinepars): only lookup in the linecache once.
1952 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
1954 * iterators.C (operator++): Make the iterator more robust
1956 * BufferView2.C (removeAutoInsets): Use paragraph iterators
1958 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
1960 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1963 * text.C: better added space drawing
1965 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1968 * BufferView2.C: fix layout combo update on inset unlock
1970 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1972 * Makefile.am: don't compile unused files
1974 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1978 * LyXAction.C: remove old LFUN_LAYOUTNO
1980 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1982 * paragraph_pimpl.h:
1983 * paragraph_pimpl.C: isTextAt() doesn't need font param
1985 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1988 * lyxlex.C: little cleanup
1990 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1992 * BufferView_pimpl.C: fix insertAscii for insets
1994 2001-12-05 Juergen Vigna <jug@sad.it>
1996 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
1997 set the right font on the "multi" paragraph paste!
1999 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2005 * lyxlength.C: remove out-commented code.
2021 * vc-backend.C: change "while(" to "while ("
2023 * lyxlength.[Ch]: add zero function to check if length is zero or
2025 * lyxgluelength.C: use it
2027 2001-12-05 Allan Rae <rae@lyx.org>
2029 * lyxlength.C: Attempted a fix for the abs(int) header selection.
2030 Works for 2.95.3, from what I understand of Garst's reports this should
2031 work for other g++ versions. We're screwed if the abs(int) definition
2032 changed between bugfix releases of gcc.
2034 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
2036 * text.C: fix chapter label offset !
2038 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
2041 * text.C: fix hfill at end of line, clean up
2043 2001-12-04 Juergen Vigna <jug@sad.it>
2045 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
2046 that we force an update of the inset and it's owners if neccessary.
2048 2001-12-03 Juergen Vigna <jug@sad.it>
2050 * text.C (rowLast): simplified code
2052 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
2054 * lyxfunc.C: fix show options on timeout
2056 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2058 * screen.C (topCursorVisible): scroll half a page when the cursor
2059 reached top of bottom of screen
2061 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
2063 * minibuffer.C: deactivate on loss of focus
2065 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
2067 * vspace.[Ch] (operator!=): add operator.
2069 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
2071 * BufferView_pimpl.C: refuse to open an inset when
2072 there's a selection.
2074 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
2076 * BufferView_pimpl.C: allow to click on RHS of full row insets
2078 2001-11-30 Juergen Vigna <jug@sad.it>
2080 * tabular.C (LyXTabular): add a same_id to set the same id's in the
2081 insets for undo reasons.
2083 2001-11-28 André Pönitz <poenitz@gmx.net>
2085 * vspace.[Ch]: cosmetical changes
2087 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
2097 * kbsequence.C: part re-write of old kb code
2100 * WorkArea.C: remove Lgb_bug_find_hack
2102 2001-11-30 José Matos <jamatos@fep.up.pt>
2104 * buffer.C (makeDocBookFile): add a comment to point a hack.
2105 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
2106 Fixed a double write of labels.
2108 2001-11-29 Ben Stanley <bds02@uow.edu.au>
2111 * LaTeX.h Fixed bug in LaTeX class where it would not
2112 re-run latex if no depfiles were changed, but the .dvi was removed.
2114 2001-11-28 André Pönitz <poenitz@gmx.net>
2116 * all the files from the change on 2001/11/26:
2117 use lyx::layout_type instead of LyXTextClass::size_type
2118 use lyx::textclass_type instead of LyXTextClassList::size_type
2120 2001-11-29 Juergen Vigna <jug@sad.it>
2122 * text.C: added support for paragraph::isFreeSpacing()
2124 * buffer.C: same as above
2126 * paragraph.h: inserted isFreeSpacing() function to enable
2127 FreeSpacing inside InsetERT.
2129 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
2130 of the paragraph's in the cut/copy buffer to 0!
2132 * text2.C (removeRow): remove the assert as it can!
2134 * lyxtext.h: added helper function firstRow returning firstrow and
2135 made firstrow private again.
2137 * BufferView2.C (lockInset): don't relock if we're already locked!
2139 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
2141 (removeRow): added Assert::(firstrow)
2143 * debug.C: forgot to add INSETTEXT here.
2145 2001-11-28 Juergen Vigna <jug@sad.it>
2147 * sp_spell.C (initialize): changed error text to more general
2148 spellchecker command use (not only ispell!)
2150 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
2152 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
2154 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
2156 * vspace.C: initialise lyxgluelength on failure
2158 2001-11-28 Allan Rae <rae@lyx.org>
2160 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
2161 declaration & definition that looks like a function declaration.
2163 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2165 * BufferView2.C (copy):
2166 (copyEnvironment): do not clear the selection when doing a copy.
2168 * text.C (paintFirstRow): compilation fix
2170 2001-11-27 Ben Stanley <bds02@uow.edu.au>
2172 * tabular.C (Latex): correct line count when writing latex.
2174 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
2176 * paragraph_pimpl.h:
2177 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
2180 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
2184 * LColor.C: change vfillline->added_space
2186 * text.C: add markers and text for added space
2188 * vspace.C: fix comment
2190 2001-11-28 André Pönitz <poenitz@gmx.net>
2192 * paragraph.C: whitespace changes
2193 * all the other files from the change on 2001/11/26:
2194 change *::pos_type into lyx::pos_type
2196 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
2198 * buffer.C (parseSingleLyXformat2Token): Set the language to the
2199 language of the document when inserting error insets.
2201 2001-11-26 André Pönitz <poenitz@gmx.net>
2203 * BufferView_pimpl.[Ch]:
2211 * paragraph_pimpl.[Ch]:
2214 * text2.C: reduce header dependencies, introduce type for positions
2216 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
2218 * <various>: change to use Alert.h
2220 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
2222 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
2223 when encountering an unknown token.
2224 (readLyXformat2): Show an error message if there were unknown tokens.
2226 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
2229 * BufferView_pimpl.C:
2233 * text2.C: use par->isInset()
2235 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
2237 * paragraph_pimpl.h:
2238 * paragraph_pimpl.C: cleanup
2240 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2242 * text2.C (removeRow):
2243 * text.C (setHeightOfRow): remove useless (and costly) call to
2246 2001-11-20 Allan Rae <rae@lyx.org>
2248 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
2249 Now need Inset*::checkInsertChar() to return true for appropriate
2250 cases so that the characters in the minibuffer will actually be
2253 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
2255 * text.C: change the order of the includes.
2256 (workWidth): initialize it at once.
2257 (workWidth): make maxw unsigned
2258 (setHeightOfRow): remove unused variable (inset)
2259 (selectSelectedWord): remove unused variable (inset)
2260 (paintRowText): fix drawing of hfill characters, and clean up a bit.
2262 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2264 * lyxserver.C (emergencyCleanup): do not try to close pipes if
2265 server is not running.
2267 (closeConnection): add debug info when server is disabled.
2269 * ColorHandler.C (getGCForeground): send debug message to GUI
2272 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
2274 * kbmap.C (bind): modify because return conventions of
2275 kb_sequence::parse have changed.
2277 * kbsequence.C (parse): only ignore spaces and not any stupid
2278 control character. This avoids tests like s[i] <= ' ', which are
2279 guaranteed to fail with 8bit characters and signed chars.
2280 Change return code to string::npos when there have been no error
2281 (0 was a bad idea when error is at first character)
2283 2001-11-14 José Matos <jamatos@fep.up.pt>
2286 * buffer.C (simpleDocBookOnePar): removed unused argument.
2288 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2290 * text.C (selectNextWordToSpellcheck): do not test explicitely for
2291 insets which are part of a word. Paragraph::isLetter takes care of
2292 that now. Use Paragraph::isInset to identify insets.
2293 (selectSelectedWord): do not test for hyphenation break.
2295 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
2296 that protected spaces are considered as spaces.
2298 * paragraph.C (isLetter): cleanup the code for ispell extras; use
2301 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
2304 * lyxserver.C: fix it. and small cleanup.
2306 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
2308 * BufferView_pimpl.C: use inline helpers
2311 * LaTeXFeatures.C: fix typos
2314 * Spacing.C: move spacing_string into class
2316 * ToolbarDefaults.C: move stuff into namespace anon
2318 * layout.h: update enum
2320 * lyxfunc.C: use better debug
2322 * minibuffer.h: fix typo
2326 * WorkArea.C: add and use Debug::WORKAREA
2330 * text2.C: code re-organisation, inline helpers
2332 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
2334 * Layout.C: replaced a few cases of std::vector.size() == 0 with
2335 std::vector.empty().
2337 2001-11-09 Allan Rae <rae@lyx.org>
2339 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
2340 '\n's after tables. Tabular and ERT inset work now makes this no
2343 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
2346 * minibuffer.C: fix crash, improve drop-down completion
2348 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
2351 * lyxserver.C: invalidate fd's when doing endPipe()
2353 2001-11-08 José Matos <jamatos@fep.up.pt>
2355 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
2356 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
2359 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
2361 2001-11-07 José Matos <jamatos@fep.up.pt>
2364 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
2367 * buffer.C (sgmlOpenTag):
2368 * buffer.C (sgmlCloseTag): removed debug info.
2370 * buffer.h (sgmlOpenTag):
2371 * buffer.h (sgmlCloseTag): made public.
2373 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2375 * buffer.C (saveParamsAsDefaults):
2376 * lyx_cb.C (MenuLayoutSave): remove
2378 * LyXAction.C (init):
2380 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
2382 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2384 * buffer.C (setPaperStuff): removed from here...
2386 * bufferparams.C (setPaperStuff): ... and moved there.
2388 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
2392 * XFormsView.C: add support for drop-down completion
2394 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
2396 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
2399 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2401 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
2404 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
2406 * lyx_main.C: change ref to known bugs
2408 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
2410 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
2411 to work around older babel problems.
2413 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
2415 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
2417 2001-10-24 Juergen Vigna <jug@sad.it>
2419 * tabular-old.C (ReadOld): below variable changes reflected.
2421 * tabular.[Ch]: added ltType struct for longtable header/footer
2422 defines and changed all instances where they are used. Added
2423 future support for double top/bottom rows.
2425 2001-10-24 José Matos <jamatos@fep.up.pt>
2427 * buffer.h (docbookHandleCaption):
2428 * buffer.C (docbookHandleCaption): removed unused function.
2429 (makeDocBookFile): moved docbook supported version to v4.1.
2431 2001-10-24 José Matos <jamatos@fep.up.pt>
2434 * tabular.C (docbookRow): new function to export docbook code of a row.
2435 (DocBook): now honors the longtable flags.
2437 2001-10-23 José Matos <jamatos@fep.up.pt>
2440 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
2441 of the lyx defined sgml entities used in a docbook/linuxdoc document.
2443 * buffer.C (makeLinuxDocFile):
2444 (makeDocBookFile): reworked the preamble, more clean, and with
2445 support for lyx defined entities. Changed the document declaration
2446 to be more XML friendly.
2448 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
2449 if we need to output XML that should be done with a filter.
2451 2001-10-22 Juergen Vigna <jug@sad.it>
2453 * sp_pspell.h (class PSpell): add alive function needed in the
2454 controller to see if the spellchecker could be started.
2456 2001-10-22 Juergen Vigna <jug@sad.it>
2458 * buffer.C (insertStringAsLines): modify the font for inserting
2459 chars in certain conditions by calling checkInsertChar(font).
2461 2001-10-19 Juergen Vigna <jug@sad.it>
2463 * text.C (workWidth): use getRow instead of wrong algorithm.
2464 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
2466 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
2471 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
2473 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2475 * text.C (workWidth): do not search for the exact row when
2476 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
2477 optimization for big documents.
2479 2001-10-18 Juergen Vigna <jug@sad.it>
2481 * text.C (workWidth): new function with added Inset * parameter.
2483 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2485 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
2487 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
2488 change return type of getColumnNearX.
2491 * text.C (changeRegionCase): use uppercase/lowercase instead of
2494 (rightMargin): simplify code by factoring out the uses of
2499 (appendParagraph): use Paragraph::size_type
2501 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2503 * vspace.C (asLatexString): add a missing break
2505 2001-10-15 Herbert Voss <voss@perce.de>
2507 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
2509 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2511 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
2514 2001-10-10 André Pönitz <poenitz@gmx.net>
2516 * lyxfunc.C: removed greek_kb_flag.
2518 2001-10-10 Herbert Voss <voss@perce.de>
2520 * lyx_main.C: delete global string help_lyxdir.
2522 2001-10-09 Herbert Voss <voss@perce.de>
2524 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
2526 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
2528 * lyx_main.C: added global string help_lyxdir.
2530 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
2532 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2534 * lyxrc.C (set_font_norm_type): support iso8859-4
2536 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
2538 * LaTeX.C (deplog): add another regex for MikTeX
2540 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
2542 * lyxrc.C (set_font_norm_type): support iso8859-3
2544 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2546 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
2548 * LaTeXFeatures.C: remove special case of french and index
2550 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
2551 before \begin{document}). This solves several incompatibilities.
2553 2001-10-03 Garst Reese <reese@isn.net>
2555 * lyx_cb.C: change CheckTex error msg.
2557 2001-10-03 José Matos <jamatos@fep.up.pt>
2559 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
2561 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2563 * .cvsignore: update
2565 * lyx_main.C (commandLineVersionInfo): use new style version info.
2567 * buffer.C (writeFile):
2570 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
2572 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
2574 * version.h: update to use stuff in version.C
2576 * version.C.in: new file. Contains version information determined
2577 at compile time. This is a merging of version.h and
2580 2001-10-03 Juergen Vigna <jug@sad.it>
2582 * BufferView_pimpl.C (update): don't change "dirty" status in
2585 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
2587 * WorkArea.C (c-tor): re-position version string slightly.
2589 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
2591 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
2592 revert to previous code.
2594 WorkArea.[Ch]: (show, destroySplash): methods removed.
2596 WorkArea.C: rework code so that it's an amalgam of the codes before and
2597 after the splash screen was moved to WorkArea.
2599 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2602 * vspace.C (inPixels):
2605 * buffer.C (insertStringAsLines):
2606 (asciiParagraph): fix types to be large enough
2608 * lyxlex_pimpl.h: change member status from short to int
2610 * layout.h: fix type of endlabeltype
2613 * kbsequence.C (parse): change return type to string::size_type
2615 * LaTeX.C (updateBibtexDependencies): comment out unneeded
2618 * Bullet.C (bulletSize):
2619 (bulletEntry): do not use short ints as parameters
2621 * BufferView2.C (insertLyXFile): change a char to an int.
2623 * WorkArea.C (WorkArea): remove unneeded floats in computation
2625 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
2627 * buffer.C (asciiParagraph): Treat '\\' as other chars.
2629 * paragraph.C (asString): Do not ignore newline/hfill chars when
2630 copying to the clipboard.
2632 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
2634 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
2635 after a multi-line inset.
2637 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
2639 * paragraph.C (validate): Set NeedLyXFootnoteCode
2641 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
2643 * lyxfont.C (LyXSizeNames): changed increase-error to increase
2644 and decrease-error to decrease.
2646 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2648 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
2649 it more readable (should be equivalent)
2651 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
2653 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
2655 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2657 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
2658 of a cursor (row, etc.) after a character has been deleted
2659 (deleteEmptyParagraphMechanism): call the method above on _all_
2660 cursors held by the LyXText when a double space has been
2663 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
2665 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
2667 (resizeCurrentBuff): remove code to destroy the old splash dialog.
2669 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
2670 background. Use greyOut() and the new show() methods to toggle between
2671 the foreground and background. Add code to remove the splash after
2672 its initial showing.
2674 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
2675 (create_forms): no longer call Dialogs::showSplash.
2677 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2679 * .cvsignore: add version_info.h
2681 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2683 * version_info.h.in: new file
2685 * Makefile.am: add version_info.h.in
2687 * lyx_main.C (commandLineVersionInfo): use version_info defined in
2688 version_info.h instead of VERSION_INFO
2690 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
2692 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
2693 The ERT inset now returns string().
2695 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
2697 * lyxtext.h, text.C (selectNextWord): renamed as
2698 selectNextWordToSpellcheck.
2700 * text.C (selectNextWordToSpellcheck): Modified to not select
2701 words inside an ERT inset.
2703 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2705 * lyx_cb.C (MenuLayoutSave): change a bit the question
2707 * sp_base.h: include <sys/types.h>
2709 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
2711 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
2713 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
2715 * several files: fix typos in user-visible strings
2717 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2719 * text2.C (pasteSelection): do not set the selection, since it
2720 will be cleared later. Actually, the intent was to fix the way the
2721 selection was set, but I figured rmoving the code was just as good.
2723 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
2725 * FontLoader.C (available): Check if font is available without
2728 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2730 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
2732 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
2734 * lyxrc.[Ch]: added display_graphics variable and associated code.
2736 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2738 * bufferparams.C (hasClassDefaults): new method. Returns true if
2739 the buffer parameters correspond to known class defaults
2741 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
2743 * XFormsView.C (show): set minimum size to the main window.
2745 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2747 * text2.C (copySelection):
2749 * lyxfind.C (LyXReplace):
2750 * BufferView_pimpl.C (Dispatch): pass the correct flag to
2751 LyXText::selectionAsString.
2753 * paragraph.C (asString): add "label" argument to the second form
2755 * text2.C (selectionAsString): add "label" argument and pass it to
2756 Paragraph::asString.
2758 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2760 * lyx_main.C (commandLineHelp): remove version information
2762 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
2764 * lyx_main.C: add -version commandline option
2766 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
2768 * paragraph.h: make the optional constructor arg required instead.
2769 some modifications to other files because of this.
2771 * minibuffer.C (C_MiniBuffer_peek_event): make it static
2773 * lyxserver.C (C_LyXComm_callback): make it static
2775 * lyx_main.C (error_handler): make it static
2777 * lyx_gui.C (LyX_XErrHandler): make it static
2779 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
2781 * WorkArea.C: make the extern "C" methods static.
2783 * Makefile.am (lyx_LDADD): simplify
2785 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
2787 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
2788 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
2790 * LyXAction.C (init):
2791 * lyxfunc.C (dispatch): associated code removal.
2793 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2795 * lyxfont.h (isSymbolFont): shut off warning
2797 * text.C (setHeightOfRow):
2798 (getVisibleRow): fix crash with empty paragraphs which have a
2801 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
2803 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
2806 2001-09-04 José Matos <jamatos@fep.up.pt>
2809 * tabular.C (docbook): rename docBook method to docbook.
2811 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
2813 * Makefile.am: add dependencies to main.o.
2815 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
2817 * FontLoader.C (available): Return false if !lyxrc.use_gui
2819 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
2821 * FontInfo.C (query):
2822 * converter.C (view):
2823 * importer.C (Import):
2824 * exporter.C (Export): Can not -> cannot.
2826 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
2828 * BufferView_pimpl.C: allow to create index inset even if
2831 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
2833 * buffer.C (getLists): replace boost::tie code with an explicit pair
2834 as boost::tie can break some compilers.
2836 * iterators.h: Added a std:: declaration to the return type of
2839 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
2841 * lyxrc.C: add help for view_dvi_paper_option, default to safe
2844 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
2846 * iterators.[Ch]: New files. Provide paragraph iterators.
2848 * buffer.C (changeLanguage): Use paragraph iterators.
2849 (isMultiLingual): ditto
2851 * BufferView2.C (ChangeInsets): Use paragraph iterators.
2853 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
2855 * FontLoader.C: Support for cmr font.
2857 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
2859 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
2860 (available): New method.
2862 * FontInfo.C (getFontname): Use scalable fonts even when
2863 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
2866 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
2868 * converter.C (Formats::view): reverted! Incorrect fix.
2870 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
2872 * converter.C (Formats::view): only output the -paper option
2873 if the dvi viewer is xdvi, thereby fixing bug #233429.
2875 2001-08-23 Herbert Voss <voss@perce>
2877 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
2879 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
2881 * Spacing.h (Spacing): Set space to Default on in the default
2884 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
2886 * vc-backend.h (RCS::versionString): add RCS to version
2887 (CVS::versionString): add CVS to version
2889 * vc-backend.C (scanMaster): do not add CVS to version.
2890 (scanMaster): do not add RCS to version
2892 * lyxvc.C (versionString): new method
2894 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
2896 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
2898 * Spacing.C (set): initialize fval
2900 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
2902 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
2905 2001-08-16 Juergen Vigna <jug@sad.it>
2907 * lyxfunc.C (dispatch): implemented the new FINISHED states.
2909 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
2911 * BufferView_pimpl.C:
2914 * text2.C: setParagraph takes linespacing now
2916 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
2918 * LyxAction.C: add internal LFUN_CITATION_INSERT
2920 * LyXView.C: actually apply fix
2922 * bufferlist.C: fix open non-existent file
2924 * lyxfind.C: fix indentation
2926 * lyxfunc.C: remove unneeded assert, fix typo
2928 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
2930 * MenuBackend.C: use "Floatname List"
2932 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
2934 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
2935 when converting LaTeX layout to insetERT.
2936 Generate a non-collapsed float when reading old float
2938 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
2940 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
2943 2001-08-13 Juergen Vigna <jug@sad.it>
2945 * text.C (fill): return 0 instead of 20 as this seems to be the more
2948 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
2950 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
2953 2001-08-13 Juergen Vigna <jug@sad.it>
2955 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
2957 (SearchBackward): comment out the unlocking of the inset_owner this
2958 should not be needed!
2960 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
2962 * Many files: Remove inherit_language, and add latex_language
2964 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
2967 2001-08-10 Juergen Vigna <jug@sad.it>
2969 * text.C (prepareToPrint): fixed hfill-width in draw!
2971 * BufferView2.C (selectLastWord): save the selection cursor as this
2972 now is cleared in the function LyXText::clearSelection!
2974 2001-08-08 Juergen Vigna <jug@sad.it>
2976 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
2977 BACKSPACE type functions.
2979 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
2980 is only cutted from the document but not put in the cut-buffer, where
2981 still the old stuff should be.
2983 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
2985 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
2987 * tabular.C (SetWidthOfCell): fixed special case where the width
2989 (LeftLine): handle '|' in align_special.
2991 (LeftAlreadyDrawed): ditto
2992 (SetWidthOfCell): ditto
2994 2001-08-07 Juergen Vigna <jug@sad.it>
2996 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
2998 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3000 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
3001 * lyxlex.[hC]: ditto
3003 2001-08-06 Juergen Vigna <jug@sad.it>
3005 * text.C (getVisibleRow): fix up row clearing a bit.
3007 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3009 * minibuffer.C: make sure the X server sees the changes in the input.
3011 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3013 * paragraph.C (getFont): split into...
3014 (getLabelFont): this
3015 (getLayoutFont): and this
3016 * paragraph_pimpl.C (realizeFont): calling this
3018 * text2.C (getFont): split into...
3019 (getLayoutFont): this
3020 (getLabelFont): and this
3021 (realizeFont): all three calling this
3023 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
3026 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3028 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
3030 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
3032 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
3033 layouts from the Quote inset insertion.
3035 2001-08-03 Juergen Vigna <jug@sad.it>
3037 * BufferView_pimpl.C (update): do the fitCursor only at the end!
3039 * screen.C (drawFromTo): don't call fitcursor here and do the loop
3040 only if status not is already CHANGED_IN_DRAW (second level).
3042 * text.C (draw): don't set the need_break_row when inside an
3045 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3047 * buffer.C (parseSingleLyXformat2Token): handle more latex
3050 * bufferview_funcs.[hC]: change function names to
3051 begin with small char, adjust other files.
3053 2001-08-02 André Pönitz <poenitz@gmx.net>
3056 BufferView_pimpl.C: remove broken special code for math-greek
3058 2001-08-02 Juergen Vigna <jug@sad.it>
3060 * BufferView_pimpl.C (update): redone this function so that we
3061 update the text again if there was a CHANGE_IN_DRAW.
3063 * screen.C (cursorToggle): removed LyXText parameter and recoded.
3064 (drawFromTo): added a new internal bool which is used by draw() and
3066 (general): some cursor drawing problems fixed.
3068 2001-08-01 Juergen Vigna <jug@sad.it>
3070 * lyxfind.C (LyXFind): fixed
3071 (SearchForward): ditto
3072 (SearchBackward): ditto
3074 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
3075 spurius drawing of the cursor in the main area.
3077 * text2.C (status): small fix which could lead to a segfault!
3078 (clearSelection): remove unneeded BufferView param.
3080 2001-08-01 André Pönitz <poenitz@gmx.net>
3082 * lyxfunc.C: small change due to changed mathed interface
3084 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3086 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
3088 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
3090 * lyxfunc.c: fail gracefully if file doesn't exist
3095 * BufferView_pimpl.C: IsDirWriteable() proto changed
3097 * LyXView.C: fix updateWindowTitle() to store the last title
3099 2001-07-31 Juergen Vigna <jug@sad.it>
3101 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
3102 the font (wrong since using of Paragraph::highestFontInRange).
3104 * paragraph.C (highestFontInRange): added a default_size parameter.
3106 * text.C (getVisibleRow): minor clear row changes (still not perfect).
3107 (setHeightOfRow): reformat
3109 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
3111 * converter.[hC] + affected files: move to (inital-char)lowercase
3114 * ParagraphParameters.C (ParagraphParameters): remove commented code
3116 * PainterBase.[Ch]: remove commented code
3118 * LaTeXFeatures.h: add "bool floats" for float.sty
3120 * LaTeXFeatures.C (LaTeXFeatures): init floats
3121 (require): handle float
3122 (getPackages): do it with floats
3124 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3126 * BufferView_pimpl.C (Dispatch): improve handling of
3127 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
3129 * commandtags.h: #include lyxfont.h here temporarily to avoid
3132 * bufferlist.h: include LString.h here.
3134 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3136 * text2.C (getStringToIndex): new method.
3138 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
3140 * *: Reduced header file dependencies all over.
3142 2001-07-30 Baruch Even <baruch@lyx.org>
3144 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
3146 2001-07-29 Baruch Even <baruch@lyx.org>
3148 * buffer.C (readInset): Changed GRAPHICS to Graphics.
3150 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
3152 * ParameterStruct.h (endif): add a default constructor to make
3153 sure that all variables is initialized.
3155 * ParagraphParameters.C (ParagraphParameters): adjust
3157 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3159 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
3160 index; also, check that there is something to index, and that it
3161 does not span over several paragraphs.
3162 (doubleClick): use WHOLE_WORD_STRICT for double click.
3164 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
3166 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
3169 2001-07-26 Baruch Even <baruch@lyx.org>
3171 * buffer.C (readInset): Changed to call up InsetGraphics when reading
3172 an InsetFig figure, backwards compatible reading of old figure code.
3174 2001-07-27 Juergen Vigna <jug@sad.it>
3176 * text2.C: font.realize function adaption.
3178 * text.C (draw): add a warnings lyxerr text if needed.
3180 * layout.C: font.realize function adaption.
3182 * language.C: add inherit_language and implement it's handlings
3184 * bufferview_funcs.C (StyleReset): remove language parameter from
3185 font creation (should be language_inherit now).
3187 * bufferparams.C (writeFile): handle ignore_language.
3189 * paragraph.C (getFontSettings): the language has to be resolved
3190 otherwise we have problems in LyXFont!
3192 * lyxfont.C (lyxWriteChanges): added document_language parameter
3193 (update): removed unneeded language parameter
3195 * paragraph.C (validate): fixed wrong output of color-package when
3196 using interface colors for certain fonts in certain environments,
3197 which should not seen as that on the final output.
3199 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
3201 * BufferView_pimpl.C:
3206 * LyXAction.C: add thesaurus support
3209 * lyxfind.C: add "once" parameter, for thesaurus, to not
3210 move to the next match
3212 2001-07-26 Juergen Vigna <jug@sad.it>
3214 * lyxfont.C (realize): honor ignore_language too!
3217 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
3219 * text.C (draw): one place more for ignore_language to not draw
3222 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
3224 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
3226 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3228 * buffer.C (parseSingleLyXformat2Token): a more general fix for
3229 the minipage conversion problem.
3231 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3233 * buffer.C (parseSingleLyXformat2Token): check minipage if we
3236 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3238 * BufferView.h: don't forward declare WorkArea
3240 * BufferView.C: don't include WorkArea.h
3242 2001-07-25 André Pönitz <poenitz@gmx.net>
3246 * lyxfunc.C: new LFUN 'math-space'
3248 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
3250 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3252 * text2.C (toggleInset): call open/close
3254 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3256 * lyxfunc.C (dispatch): add debug for the disabled case
3258 * font.C (buttonText): make similar to rectText
3260 * buffer.C (readInset): comment out parsing of insetlist and
3263 * PainterBase.C (rectText): small correction
3265 * BufferView_pimpl.C: comment out insettheorem and insetlist
3266 * LyXAction.C: ditto
3267 * commandtags.h: ditto
3269 2001-07-24 Juergen Vigna <jug@sad.it>
3271 * text.C (draw): honor the ignore_language.
3273 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
3275 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3277 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
3280 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3282 * lyxtext.h: remove unused (and unimplemented) methods
3284 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3286 * text.C (getVisibleRow): honor background color
3289 * Painter.h: remove default color argument for fillRectangle
3291 * text.C (backgroundColor): new method
3293 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3295 * text.C (getVisibleRow): adjust
3297 * font.[Ch] (rectText): new method, metrics
3298 (buttonText): new method, metrics
3300 * PainterBase.[hC]: make rectText and buttonText always draw and take
3303 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3305 * ToolbarDefaults.C (read):
3306 * MenuBackend.C (read): allow escaping in all strings
3308 * BufferView_pimpl.C (insertAndEditInset): new method.
3309 (Dispatch): use insertAndEditInset whenever appropriate.
3311 * BufferView_pimpl.C (insertNote): removed
3313 * BufferView_pimpl.C (smartQuote): new method, moved from
3314 BufferView; if an insetquote cannot be inserted, insert a '"'
3317 * BufferView2.C: remove insertCorrectQuote();
3319 * lyxfunc.C (getStatus): Add support for all remaingin
3322 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
3324 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
3325 command (necessary to pass " as parameter of self-insert.
3327 * text.C (selectWordWhenUnderCursor):
3328 (selectWord): add word_location parameter
3329 (selectWordWhenUnderCursor): same + remove special code for word
3331 (selectNextWord): use kind() to guess type of insetspecialchar,
3334 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
3335 (insertErtContents): create ert insets as collapsed.
3336 (readInset): better compatibility code for Info inset.
3338 2001-07-20 Juergen Vigna <jug@sad.it>
3340 * lyxfunc.C (dispatch): use always LyXFind now!
3342 * text2.C (init): add a reinit flag so that the LyXText can be
3343 reinited instead of deleted and reallocated (used in InsetText).
3345 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
3351 2001-07-18 Juergen Vigna <jug@sad.it>
3353 * text.C (selectNextWord): handle insets inside inset by calling
3354 always the bv->text functions so that we can go up the_locking_inset!
3356 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
3357 in strange locations when inside an inset!
3359 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
3360 handling to include insets.
3362 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
3364 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3366 * LyXAction.C (init):
3368 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
3369 LIGATURE_BREAK, since the name is so stupid.
3371 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
3373 * buffer.C (readInset): enable reading of new InsetNotes as well as old
3376 * FontLoader.C: remove FORMS_H_LOCATION cruft.
3378 * sp_form.[Ch]: remove.
3380 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
3382 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
3385 * src/buffer.C (readInset): ditto.
3387 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3389 * BufferView_pimpl.C (specialChar): new method. Obsoletes
3390 menuSeparator(), endOfSentenceDot(), ldots() and
3391 hyphenationPoint(), which are therefore removed.
3392 (Dispatch): handle LFUN_HYPHENATION_BREAK.
3394 * LyXAction.C (init):
3395 * commandtags.h: add LFUN_HYPHENATION_BREAK.
3397 * paragraph.C (getWord): removed.
3399 * BufferView_pimpl.C (Dispatch): use last word or selection for
3400 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
3402 * lyx_main.C (queryUserLyXDir): do not ask before creating
3403 user_dir, except if it has been named explicitely.
3405 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
3407 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
3408 a document of zero size.
3410 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
3412 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
3413 approriately in the c-tor and in require().
3414 (getPackages): output the appropriate LaTeX for natbib support.
3416 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
3417 variables "use_natbib" and "use_numerical_citations" when reading the
3419 (readInset): read the various natbib cite commands.
3420 (validate): white-space change.
3422 * bufferparams.[Ch]: new variables "bool use_natbib" and
3423 "bool use_numerical_citations".
3424 (writeFile): output them in the LyX file.
3426 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3428 * lyxfunc.C (getStatus): add support for all the inset insertion
3431 * text2.C (insertInset):
3432 * paragraph.C (insetAllowed):
3433 * BufferView_pimpl.C (insertInset): update to take in account the
3434 renaming of insertInsetAllowed
3436 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
3438 * text2.C (getInset): new method. returns inset at cursor position.
3440 * BufferView_pimpl.C (Dispatch): changes because of this.
3442 * LyXAction.C (init): rename open-stuff to inset-toggle.
3444 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
3446 * text2.C (toggleInset): renamed from openStuff; use
3449 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
3451 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
3453 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
3455 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
3457 * buffer.C (readLyXformat2): Add filename to the error dialog
3459 2001-07-18 Juergen Vigna <jug@sad.it>
3461 * tabular.C (GetCellNumber): put an assert here instead of the check!
3463 2001-07-17 Juergen Vigna <jug@sad.it>
3465 * BufferView_pimpl.C (toggleSelection): adapted too.
3467 * text.C (selectNextWord): adapted for use with insets.
3468 (selectSelectedWord): ditto
3470 2001-07-17 Juergen Vigna <jug@sad.it>
3472 * sp_spell.C (PSpell): fix initialitation order.
3474 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3476 * paragraph.C: spacing
3478 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
3480 * sp_spell.C: repair language selection for pspell
3482 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
3484 * lyxfunc.h: change more methods to begin with lower char.
3486 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
3488 * buffer.C (parseSingleLyXformat2Token): Generate error insets
3489 for unknown layouts.
3491 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
3493 * buffer.C (readLyXformat2): Generate an error dialog if there are
3496 2001-07-16 Juergen Vigna <jug@sad.it>
3498 * sp_spell.C: always compile ISpell part.
3500 * lyxrc.C: added use_pspell entry and it's handling.
3502 2001-07-13 Juergen Vigna <jug@sad.it>
3504 * sp_spell.C: removed double includes.
3506 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
3508 Consistent use of Lsstream.h:
3509 * Lsstream.h: added using std::stringstream for consistencies sake.
3511 * buffer.C: removed using std::stringstream
3513 * lyxfont.C (stateText):
3514 * paragraph.C (asString):
3515 * text.C (selectNextWord, selectSelectedWord):
3516 * text2.C (setCounter):
3517 * vspace.C (asString, asLatexString):
3518 std::ostringstream -> ostringstream.
3520 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
3522 * LyXAction.C: add LFUN_HELP_ABOUTLYX
3523 * commandtags.h: add LFUN_HELP_ABOUTLYX
3524 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
3526 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
3528 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
3530 * lyx_gui_misc.C: remove spellchecker
3531 * lyxfunc.C: showSpellchecker
3533 * sp_ispell.h: added
3534 * sp_pspell.h: added
3536 * sp_form.[Ch]: removed
3537 * spellchecker.[Ch]: removed
3539 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
3541 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
3543 (simpleTeXSpecialChars): Simply print the input character without
3544 any special translation if pass_thru is set.
3546 * layout.h: Added bool pass_thru to layout class for being able to
3547 implement pass through of a paragraph for Literate Programming.
3549 * layout.C: add LT_PASS_THRU to LayoutTags enum.
3550 * layout.C (LyXLayout): set pass_thru to flase in constructor.
3551 * layout.C (Read): add "passthru" to list of layout tags and add
3552 code to set the pass_thru boolean when it is read.
3554 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
3556 * trans_decl.h: remove allowed from KmodInfo
3558 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
3562 * paragraph_pimpl.C (erase): use boost::prior
3564 * Painter.C (text): use data() instead of c_str() when length is
3566 * WorkArea.C (putClipboard): ditto
3567 * font.h (width): ditto
3569 * BufferView2.C: use it-> instead of (*it). for iterators
3571 * paragraph_pimpl.C: ditto
3572 * paragraph.C: ditto
3573 * minibuffer.C: ditto
3578 * converter.C: ditto
3580 * Variables.C: ditto
3581 * TextCache.C: ditto
3582 * MenuBackend.C: ditto
3583 * LyXAction.C: ditto
3585 * FloatList.C: ditto
3587 * ColorHandler.C (LyXColorHandler): ditto
3589 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3591 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
3593 * text2.C (openStuff): reintroduce this method (which had been
3594 nuked in NEW_INSETS frenzy).
3596 * lyxfunc.C (Dispatch): when an action has not been handled, use
3597 its name in the error message, not its number.
3599 * paragraph.C (inInset): change method name to begin with lowercase.
3602 * text2.C: updates because of this.
3604 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3606 * ToolbarDefaults.C (add): add spaces in error message
3608 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3610 * buffer.C (readLyXformat2): initialize the ert comp. variables.
3611 (readLyXformat2): rename return_par to first_par, use lyxlex's
3612 pushToken and remove the manual push handling.
3613 (parseSingleLyXformat2Token): add another ert comp. variable:
3614 in_tabular, rename return_par to first_par. handle newlines better
3616 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3618 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
3620 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
3622 * text2.C (getParFromID): removed
3624 * buffer.C (getParFromID): new method moved form lyxtext.
3625 * BufferView2.C (insertErrors): adjust
3626 (setCursorFromRow): adjust
3627 * BufferView_pimpl.C (restorePosition): adjust
3628 * lyxfunc.C (Dispatch): adjust
3629 * undo_funcs.C (textUndo): adjust
3631 (textHandleUndo): adjust
3632 (textHandleUndo): adjust
3634 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3636 * buffer.C: up' the LYX_FORMAT
3638 * lyxfont.h: turn NO_LATEX on as default
3640 * buffer.C (insertErtContents): new methods of tex style compability.
3641 (parseSingleLyXformat2Token): use it several places.
3642 * tabular.C (OldFormatRead): and here
3644 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3646 * text2.C: remove some commented code.
3649 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
3650 * trans.C: changes because of the above.
3652 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
3654 * text2.C (setCounter): Fix counters bug with bibliography layout.
3656 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3658 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
3659 own member functions
3660 (simpleTeXSpecialChars): ditto
3662 2001-07-06 Juergen Vigna <jug@sad.it>
3664 * a lot of files: changed the access to LyXText::status and the
3665 call of undo-functions.
3667 * undo.[Ch]: added a inset_id to the undo informations.
3669 * undo_funcs.[Ch]: added and moved here all undo functions.
3671 * lyxtext.h: give the status enum a weight, made status_ a private
3672 variable and made accessor functions for it, removed the whole bunch
3673 of undo-functions as they are now in their own file, make some
3674 functions publically available. Added function ownerParagraph with
3677 * paragraph.[Ch]: added "bool same_ids" to the constructor,
3678 made InInset() a const function, added getParFromID() function.
3680 * buffer.[Ch]: added const version for inset_iterator functions,
3681 added getInsetFromID() function.
3683 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
3684 changed undo functions for new version.
3686 2001-07-05 Juergen Vigna <jug@sad.it>
3688 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
3689 unknow mechanism does not call the proper constructor but only this
3690 one also if I request the other!?
3692 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3694 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
3696 * text2.C (LyXText): use initialization lists.
3698 * lyxtext.h (Selection): initialize set_ and mark_
3699 (init): remove method
3701 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
3703 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
3705 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3707 * screen.[Ch]: change method names to begin with lowercase
3709 * BufferView_pimpl.C (updateScrollbar): simplify further and
3710 hopefully make it a bit faster.
3712 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3714 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
3715 calling directly xforms functions.
3717 * Painter.C (Painter):
3718 * lyx_cb.C (MenuWrite):
3719 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
3722 * lyx_gui.C: remove bogus guiruntime extern declaration.
3724 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3726 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
3728 (redoDrawingOfParagraph): ditto
3729 (redoParagraphs): ditto
3730 (cutSelection): don't create a object for CutAndPaste use the
3731 static method directly
3732 (pasteSelection): ditto
3734 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
3737 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3739 * modifications to some other files because of this.
3741 * Makefile.am (lyx_SOURCES): add XFormsView
3743 * XFormsView.[Ch]: new files
3745 * LyXView.[Ch]: make LyXView a base class for the gui handling for
3746 the main window. Move the gui dependent stuff to XFormsView
3748 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3750 * tabular.C (GetCellInset): update cur_cell also in the row/col
3751 version of this function.
3753 * lyxfunc.C: no need to include figure_form.h here.
3759 * lyxvc.C: no need to include forms.h here.
3761 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3763 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
3765 * lyxfunc.C (Dispatch):
3767 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
3768 constructor argument.
3770 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3772 * paragraph.C (Paragraph): dont't clear, and just set layout.
3773 (makeSameLayout): use params's copy contructor.
3775 * ParagraphParameters.[Ch] (makeSame): delete method
3777 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
3779 * Variables.[Ch]: fix indentation, rename set to isSet
3781 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3783 * lyxfunc.C (Dispatch): fix typo
3785 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3787 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
3790 * bufferlist.C: include assert.h for emergencyWrite().
3792 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
3794 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
3795 give up at last (bug #425202) !
3797 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
3803 * spellchecker.C: strip spellchecker options and bring up
3804 preferences tab instead
3806 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3808 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
3809 the istringstream constructor
3811 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3813 * paragraph.C (getLayout): fix return value
3815 * paragraph.h: do not declare getLayout as inline.
3817 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
3819 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
3821 * lyxcursor.h (operator<): new func
3822 (operator>): new func
3823 (operator>=): new func
3824 (operator<=): new func
3826 * text.C (changeCase): use selection.start and selection.end
3827 (changeRegionCase): require from to be <= to. Require par to be a
3830 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
3832 2001-06-27 Juergen Vigna <jug@sad.it>
3834 * text.C (cursorLeftOneWord): changed to return the cursor and added
3835 overlay with BufferView * parameter which calls this one.
3837 (selectWord): use new getWord function.
3838 (changeCase): renamed from changeWordCase as and extended to work
3841 * lyxtext.h: added enum word_location
3843 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
3844 changeCase as this operates now also on selections.
3846 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
3848 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
3850 * many files: send debug output to Debug::INFO instead of
3853 * converter.C (View):
3855 (Move): send debug output to Debug::FILES instead of console.
3857 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
3859 * lyxfunc.C (getStatus): use func_status
3861 * func_status.h: new header, describing the results of
3864 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
3867 2001-06-25 The LyX Project <jug@sad.it>
3869 * buffer.C (sgmlOpenTag):
3871 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
3873 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3875 * text2.C: remove some dead code
3877 * tabular.C (GetCellInset): store the last cell checked (gotten)
3879 * tabular.h: add the helper for the speedup
3881 * lyxtext.h: remove some dead code
3883 2001-06-26 The LyX Project <Asger>
3885 * paragraph.C: Change export to LaTeX of alignment to
3886 \begin{center} and family for better roundtrip work with reLyX.
3888 * Tune the math drawing a bit.
3890 2001-06-25 The LyX Project <Asger>
3892 * LColor.C (LColor): New color for math background. New color
3895 2001-06-25 The LyX Project <jug@sad.it>
3897 * lyxfunc.C (MenuNew): remove extra check for .lyx file
3900 * bufferlist.C (newFile): do not restrict to files ending with
3903 * BufferView_pimpl.C (MenuInsertLyXFile):
3905 2001-06-24 The LyX Project <jug@sad.it>
3907 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
3910 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3912 * lyxtext.h: rename most methods to begin with a small char.
3913 Lots of changes because of this.
3915 * paragraph.C (Paragraph): do not call fitToSize
3916 (erase): call Pimpl::erase
3917 (insertChar): call Pimpl::insertChar
3918 (insertInset): call Pipl::insertInset
3919 (breakParagraph): do not call fitToSize
3920 (breakParagraphConservative): do not call fitToSize
3921 (fitToSize): remove method
3923 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
3925 2001-06-24 The LyX Project <Asger>
3927 * Fix Qt compilation^2
3929 2001-06-24 The LyX Project <jug@sad.it>
3931 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
3932 depthHook(getDepth()-1).
3935 * ParagraphParameters.h:
3936 * ParameterStruct.h: change type of depth to unsigned int ==
3937 depth_type. Many adaptations to other files before of that.
3939 2001-06-24 The LyX Project <Asger>
3941 * Fix Qt compilation.
3943 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3945 * paragraph.h: renamed several methods to begin with small letter.
3946 several changes to many parts of the code because of this.
3948 2001-06-23 The LyX Project <jug@sad.it>
3950 * text2.C (InsertStringAsLines): renamed from InsertStringA;
3951 rewritten to discard all double spaces when KeepEmpty is off
3952 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
3953 to only handle newlines but not fiddle with spaces and friends.
3955 * lyxfunc.C (MenuNew): when doing 'new from template', use
3956 template_path as default directory
3958 2001-06-23 The LyX Project <Asger>
3960 * Clean-up of header file includes all over
3961 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
3963 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
3965 * paragraph.h: renamed from lyxparagraph.h
3967 2001-06-23 Asger <lyx@violet.home.sad.it>
3969 * Buffer.h: Removed Buffer::resize
3970 * BufferList.h: Removed BufferList::resize
3971 * LyXView.h: Added LyXView::resize. This way, we will only reflow
3972 the document lazily when we change the width, or the font settings.
3974 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
3976 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
3978 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
3980 * buffer.h: remove out of date comment
3982 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
3985 * screen.C: fix "theoretical" GC leak
3987 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3989 * LaTeX.C (scanAuxFile):
3990 (deplog): remove trailing \r when reading stream (useful under
3993 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
3995 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
3996 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
3997 and BufferView::theLockingInset(Inset*), so should use them and not
3998 access bv_->text->the_locking_inset directly.
4000 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
4002 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
4005 * tex-defs.h: remove old unused file
4007 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
4009 * BufferView_pimpl.C: fix typo, remove minibuffer message
4010 when buffer has loaded
4012 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4014 * lyxfunc.C (Dispatch): use stringstream
4015 (MenuNew): use stringstream
4016 (Open): use stringstream
4018 * importer.C (Import): use stringstream
4020 * bufferview_funcs.C (CurrentState): use stringstream
4022 * LaTeX.C (run): use stringstream
4024 * BufferView_pimpl.C (savePosition): use stringstream
4025 (restorePosition): use stringstream
4026 (MenuInsertLyXFile): use stringstream
4028 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
4041 * vspace.C: removed // -*- C++ -*- as first line.
4044 * version.h: added // -*- C++ -*- as first line.
4046 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4048 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
4050 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
4053 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4055 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
4058 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4060 * gettext.C: include LString.h even when --disable-nls is on.
4062 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
4064 * converter.h (Get): changed argument type from int to
4065 FormatList::size_type to avoid unnecessary conversion.
4067 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
4070 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4072 * gettext.h: include LString.h even when --disable-nls is on.
4074 2001-06-07 Juergen Vigna <jug@sad.it>
4076 * text.C (BreakAgain): subst spaces with tabs.
4078 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
4079 (resizeInsetsLyXText): set force on resizeLyXText.
4081 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4083 * gettext.h (gettext_init):
4084 (locale_init): use a real definition instead of a macro
4086 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
4088 * Bufferview_pimpl.C:
4090 * LColor.C: further lcolor tidies
4092 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4094 * BufferView_pimpl.C (updateScrollbar): simplify.
4096 * BufferView2.C: don't include insets/insetinfo.h, change
4097 prototype for insertInset and call the Pimpl version. let
4098 updateInset call Pimpl version.
4100 * BufferView.h: move inset_slept to BufferView::Pimpl, move
4101 gotoInset to BufferView::Pimpl
4103 2001-06-01 Juergen Vigna <jug@sad.it>
4105 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
4106 inside a LockingInset (is the update needed at all?).
4108 2001-05-31 Juergen Vigna <jug@sad.it>
4110 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
4111 here not the old one otherwise how should we compare it afterwards
4114 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4119 * FontInfo.C: bring C functions into global namespace when
4122 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4124 * LString.h: make sure config.h has been loaded before LString.h.
4126 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
4127 (one for each char read by EatLine!).
4129 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
4132 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
4134 * paragraph.C (BreakParagraph): set the inset_owner in the new par
4135 to the same as the par we break from
4137 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
4139 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
4141 * MenuBackend.C (expand): also create menu entries for wide
4142 versions of the floats.
4144 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
4146 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
4148 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
4149 frontends/Makefile.am
4155 * tabular.C (getTokenValue): add std::
4157 * tabular-old.C (getTokenValue): add std::
4158 (getTokenValue): ditto
4159 (getTokenValue): ditto
4161 * screen.C (ToggleSelection): adjust
4163 * lyxtext.h: put selection cursors inside a Selection struct.
4165 * lyxfunc.C (moveCursorUpdate): adjust
4167 * lyxfont.C (latexWriteStartChanges): add std::
4171 * font.h: delete with(char const *, LyXFont const &)
4173 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
4175 * FontInfo.C (getFontname): add std::
4177 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4178 (workAreaButtonPress): adjust
4179 (tripleClick): adjust
4181 (moveCursorUpdate): adjust
4184 * BufferView2.C (gotoInset): adjust
4186 2001-05-30 Juergen Vigna <jug@sad.it>
4188 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
4189 to check pspell I add this as default as I now have new pspell
4190 libraries and they seem to use this.
4192 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
4194 * text2.C (CutSelection): make the cursor valid before the call to
4197 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4199 * kbsequence.C (parse): de-uglify a bit the parsing code, which
4200 relied on 0 terminated strings and other horrors. Bug found due to
4201 the new assert in lyxstring!
4203 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
4206 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4208 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
4211 * lyxfunc.C (processKeySym): change method of getting to the
4214 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
4215 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
4216 * BufferView_pimpl.[Ch]: here as private methods.
4218 2001-05-28 Juergen Vigna <jug@sad.it>
4220 * text.C (SetHeightOfRow): added the update() call again as it is
4221 needed to initialize inset dimensions!
4223 2001-05-16 Juergen Vigna <jug@sad.it>
4225 * text2.C (SetCharFont): Add new function with BufferView * and
4226 bool toggleall parameters for setting insets internal fonts.
4227 (SetFont): Freeze the undo as we may change fonts in Insets and
4228 all this change should be inside only one Undo!
4230 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
4231 setting font's in insets as for them we have the SetFont function!
4233 2001-05-15 Juergen Vigna <jug@sad.it>
4235 * text2.C (ClearSelection): to be sure we REALLY don't have any
4238 * tabular.C (TeXCellPreamble): fixed the left border problem for
4241 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
4243 * LaTeX.C (deplog): Make sure that the main .tex file is in the
4246 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
4248 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
4249 LFUN_BREAKPARAGRAPH.
4251 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
4252 help test to "internal only", similar for LFUN_INSERT_URL
4254 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
4255 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
4256 auto_region_delete and deadkeys.
4258 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
4261 * LColor.C: remove some dead entries, tidy a little
4263 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
4265 * lyxfunc.C (processKeySym): comment the Escape handling, remove
4267 (Dispatch): implement LFUN_ESCAPE
4269 * commandtags.h: add LFUN_ESCAPE
4271 * LyXAction.C (init): add entry for LFUN_ESCAPE
4273 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
4274 Remove commented code.
4275 (insertNote): moved here
4276 (open_new_inset): moved here
4278 * BufferView[2].[Ch]: move insertNote and open_new_inset to
4281 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4283 * kbmap.C (findbinding): clean it up and make it work correctly.
4285 * lyx_main.C (init): do not pass argc and argv as parameters
4287 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
4289 * buffer.C: fix path for OS/2 & Win32
4293 * lyx_main.C: Added os:: class.
4295 * os2_defines.h: update
4297 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
4299 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
4300 better by trying again with reduced state.
4302 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4304 * lyxrc.C (read): print error about invalid key sequence only when
4305 debugging (because not all latinX keysyms are known to some X
4308 * kbsequence.C (getiso): add a few std:: qualifiers
4309 (getiso): comment out extra return statement.
4311 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
4313 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
4315 (Dispatch): enhance the accent inset a bit. (not perfect)
4317 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4319 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
4321 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4323 * bufferlist.C (emergencyWrite): fix assert() call
4325 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
4327 * text.C (InsertChar): Added trivial patch to only send the "you
4328 can not do multiple spaces this way" message once during a
4331 2001-05-08 Baruch Even <baruch@lyx.org>
4333 * Makefile.am: Changed order of libraries to get LyX to link properly
4334 with the gnome frontend.
4336 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4338 * LaTeXFeatures.h: add a std:: qualifier
4340 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
4342 * paragraph.C (String): use stringstream
4344 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
4346 * paragraph.C (writeFile): remove footflag arg
4348 * buffer.C (makeLaTeXFile): use stringstream
4349 (latexParagraphs): remove footnot gurba
4351 * LaTeXFeatures.C (getPackages): use stringstream
4352 (getMacros): likewise
4353 (getTClassPreamble): likewise
4354 (getFloatDefinitions): new method
4356 * paragraph.C (writeFile): reindent
4359 * WorkArea.h: revert the xpos + etc changes.
4361 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
4363 * lyxparagraph.[Ch]: add copy constructor, remove Clone
4365 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
4366 (pasteSelection): likewise
4367 * text2.C (CreateUndo): likewise
4369 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4371 * minibuffer.C (peek_event): temporarily reduce the functionality
4372 of the minibuffer (to allow args on lfuns)
4374 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
4375 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
4377 * buffer.C (readInset): add compability reading of old float
4378 lists, add reading of new style float list.
4379 (readInset): avoid reevaluation of inscmd.getCmdName()
4380 (getLists): reindent
4382 * MenuBackend.C (MenuItem): implement parsing of
4383 md_floatlistinsert and md_floatinsert.
4384 (expand::LastFiles): move initalizaton of iterators out of loop,
4386 (expand::Documents): introduce typdedef vector<string> Strings,
4388 (expand::ExportFormats): introduce typedef vector<Format const *>
4389 Formats, and use it.
4390 (expand): implement FloatListInsert and FloatInsert.
4392 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
4393 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
4394 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
4396 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
4398 (Dispatch::LFUN_FLOAT_LIST): implement
4400 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
4402 * LaTeX.C (run): Fix problem with --export code.
4404 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
4406 * BufferView.[Ch] (workarea): removed.
4407 (getClipboard) new method; wrapper for workarea()->getClipboard()
4409 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
4412 * WorkArea.h (width, height, xpos, ypos): These methods all
4413 returned the dimensions of the work_area sub-area of WorkArea,
4414 resulting in a position error if the WorkArea were resized. Now
4415 return the dimensions of the entire WorkArea.
4417 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
4419 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4421 * LaTeX.C (deplog): correct the syntax of regex reg1
4423 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4425 * undo.C: remove !NEW_INSETS cruft
4427 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
4429 * text2.C: remove !NEW_INSETS cruft
4431 * text.C: remove !NEW_INSETS cruft
4433 * tabular.C: remove !NEW_INSETS cruft
4435 * spellchecker.C: remove !NEW_INSETS cruft
4437 * lyxtext.h: remove !NEW_INSETS cruft
4439 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
4441 * lyxfunc.C: remove !NEW_INSETS cruft
4443 * lyxfind.C: remove !NEW_INSETS cruft
4445 * lyx_cb.C: remove !NEW_INSETS cruft
4447 * figureForm.C: remove !NEW_INSETS cruft
4449 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
4451 * buffer.[Ch]: remove !NEW_INSETS cruft
4453 * ToolbarDefaults.C: remove !NEW_INSETS cruft
4455 * CutAndPaste.C: remove !NEW_INSETS cruft
4457 * BufferView_pimpl.C: remove !NEW_INSETS cruft
4459 * BufferView2.C: remove !NEW_INSETS cruft
4461 * BufferView.h: remove !NEW_INSETS cruft
4463 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4465 * Lsstream.h: include LString.h before the sstream headers to
4466 fix problem with gcc 2.95.3 and lyxstring
4468 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4470 * lyx_main.C: add using directives when needed for C functions
4471 declared in std:: namespace.
4473 2001-04-27 Juergen Vigna <jug@sad.it>
4475 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
4476 (SetHeightOfRow): comment out the update call should not be needed!
4478 2001-04-13 Juergen Vigna <jug@sad.it>
4480 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
4481 (LyXTabular): tried to minimize operator= operations (and realized
4482 hopfully Lars wish).
4484 2001-04-27 Juergen Vigna <jug@sad.it>
4486 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
4488 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
4490 * lyxfunc.C (Dispatch): hack to make listof algorithm work
4492 * buffer.C (readInset): hack to make listof algorithm work
4494 * BufferView_pimpl.C: hack to make listof algorithm work
4496 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4498 * LyXAction.C: removed all !NEW_INSETS cruft
4499 (init): moved lfun_item in method
4501 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
4503 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
4505 * BufferView2.C (theLockingInset): white space.
4507 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4509 * minibuffer.C: include <iostream>
4511 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
4513 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
4515 * commandtags.h: add LFUN_TRANSPOSE_CHARS
4517 * text.[Ch] (TransposeChars): new method
4519 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4521 * call message directly through LyXView instead of through LyXFunc
4522 * BufferView2.C: adjust
4523 * BufferView_pimpl.C: adjust
4524 * FontLoader.C: adjust
4526 * bufferview_funcs.C: adjust
4527 * converter.C: adjust
4528 * figureForm.C: adjust
4529 * importer.C: adjust
4531 * lyx_gui_misc.C: adjust
4535 + more files in subdirs
4537 * lyxparagraph.h (size): move up int file
4540 * adjust all uses of Assert to lyx::Assert.
4542 * BufferView2.C (ChangeCitationsIfUnique): adjust for
4543 lyxfunctional in namespace lyx
4544 * layout.C (hasLayout): ditto
4547 (delete_layout): ditto
4548 (NumberOfClass): ditto
4549 * converter.C (GetFormat): ditto
4554 * bufferlist.C (getFileNames): ditto
4555 (emergencyWriteAll): ditto
4558 * MenuBackend.C (hasSubmenu): ditto
4561 * BufferView_pimpl.C (getInsetByCode): ditto
4563 2001-04-18 Juergen Vigna <jug@sad.it>
4565 * vspace.C (asLatexString): fixed the 100% problem.
4567 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4569 * lyxfunc.C (Dispatch):
4571 * minibuffer.h: add a few std:: qualifiers
4573 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
4575 * minibuffer.[Ch]: reimplement so that commands is initiated and
4576 run from lyxfunc, simplified som handling, and made the completion
4577 and history code for complete. wip.
4579 * lyxfunc.C (processKeySym): call message
4580 (miniDispatch): new temporary method
4581 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
4582 (LFUN_MESSAGE): implement
4583 (LFUN_MESSAGE_PUSH): implement
4584 (LFUN_MESSAGE_POP): implement
4585 (initMiniBuffer): the initial/defualt minibuffer message.
4587 * lyxfont.[Ch]: inline some more getters
4589 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
4591 * lyx_gui_misc.[Ch] (WriteStatus): remove method
4593 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
4594 (AutoSave): use LFUN_MESSAGE
4595 (Reconfigure): ditto
4597 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
4599 * figureForm.C: use LFUN_MESSAGE
4601 * converter.C (runLaTeX): use LFUN_MESSAGE
4603 * bufferview_funcs.C: use LFUN_MESSAGE
4605 (changeDepth): ditto
4607 * bufferparams.h: use boost::
4609 * bufferlist.h: inherit privately from noncopyable
4611 * bufferlist.C (loadLyXFile): remove some commented code.
4613 * buffer.C (runChktex): use LFUN_MESSAGE
4615 * ShareContainer.h: inherit privately from noncopyable
4617 * ParagraphParameters.[hC] (depth): inline it.
4619 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
4621 (message): new method
4622 (messagePush): ditto
4624 (show): init minibuffer
4625 (showState): direct call
4627 * LaTeX.[Ch]: inherit privately from noncopyable
4628 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
4629 instead of WriteStatus.
4631 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
4633 * BufferView_pimpl.C (buffer): don't init minibuffer
4634 (workAreaButtonPress): use LFUN_MESSAGE
4635 (workAreaButtonRelease): ditto
4636 (savePosition): ditto
4637 (restorePosition): ditto
4638 (MenuInsertLyXFile): ditto
4639 (workAreaExpose): don't init minibuffer
4640 (update): remove commented code, simplify
4642 * BufferView2.C (openStuff): use LFUN_MESSAGE
4643 (toggleFloat): ditto
4646 (copyEnvironment): ditto
4647 (pasteEnvironment): ditto
4652 (updateInset): remove some commented code
4654 * lastfiles.h: inherit privately from noncopyable
4659 * lyxlex_pimpl.h: ditto
4661 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
4662 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
4663 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
4665 * LyXAction.h: inherit privately from noncopyable, add methods
4666 func_begin, func_end, returning iterators to the func map.
4668 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
4669 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
4670 (func_begin): new method
4671 (func_end): new method
4673 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
4675 (copySelection): ditto
4676 (pasteSelection): ditto
4678 * BufferView.C: whitespace change
4679 * BufferView.h: inherit privately from noncopyable
4681 2001-04-16 Allan Rae <rae@lyx.org>
4683 * tabular-old.C (l_getline):
4684 * spellchecker.C (sc_check_word):
4685 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
4686 an unrecognised preprocessor directive. So ensure they're wrapped.
4688 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
4690 * src/exporter.C (Export): Give an error message when path to file
4693 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
4695 * LaTeX.C (deplog): Always check that foundfile exists.
4697 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4700 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
4702 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4704 * tabular.[Ch] (getLabelList): implement new method
4706 * minibuffer.h: comment ouf setTiimer
4708 * minibuffer.C (ExecutingCB): constify res
4709 (peek_event): constify s
4710 (Set): constify ntext
4711 (Init): constify nicename
4713 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
4715 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
4716 (savePosition): use two params to Minibuffer::Set
4717 (restorePosition): ditto
4719 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4721 * lyx_main.C: include language.h
4723 * Makefile.am (lyx_main.o): add language.h
4725 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4731 * CutAndPaste.C: include gettext.h
4733 * lyxfont.h: remove old hack with ON and OFF.
4736 * lyxfont.h: do not include language.h...
4741 * bufferview_funcs.C:
4747 * paragraph.C: ... but do it here instead
4749 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4751 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
4753 * tabular.C: small reformat
4755 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
4758 (BreakParagraph): ditto
4759 (SetOnlyLayout): ditto
4762 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
4765 * lastfiles.C: removed most using decl, add std:: where needed
4767 * buffer.C: ws changes
4769 * MenuBackend.C (class compare_format): put into anon namespace
4770 (expand): constify label, names, action, action2
4773 * text.C (SingleWidth): constify font
4774 (IsBoundary): constify rtl2
4775 (GetVisibleRow): constify ww
4777 * LaTeX.C (deplog): constify logfile
4779 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
4781 (workAreaExpose): constify widthChange, heightChange
4783 * lyxrow.C (par): moved
4786 * lyxrow.h: as inlines here
4788 * lyxfont.h (shape): moved from lyxfont.C
4789 (emph): moved from lyxfont.C
4791 * lyxfont.C (LyXFont): use initialization list for all
4793 (shape): move to lyxfont.h as inline
4794 (emph): move to lyxfont.h as inline
4797 2001-04-04 Juergen Vigna <jug@sad.it>
4799 * vspace.C: had to include stdio.h for use of sscanf
4801 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
4804 * BufferView_pimpl.h: remove xforms cruft. Both classes are
4805 independent of xforms.
4807 2001-04-02 Juergen Vigna <jug@sad.it>
4809 * spellchecker.C: fixed namespace placing!
4811 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
4813 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
4814 the LyXParagraph * is 0.
4816 2001-03-29 Juergen Vigna <jug@sad.it>
4818 * vspace.C: added support for %, c%, p%, l%.
4819 (stringFromUnit): added helper function.
4820 (asLatexString): changed to give right results for the %-values.
4822 * buffer.C: convert the widthp in a width%.
4824 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
4826 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
4829 * figureForm.[Ch]: stripped the FD_from_figure manipulation
4830 code out of lux_cb.[Ch], ready for its (imminent?) removal.
4832 * lyx_cb.[Ch]: see above.
4834 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
4838 * lyx.[Ch]: replaced by figure_form.[Ch].
4842 * lyxfunc.C: changed headers associated with above changes.
4844 2001-03-27 Juergen Vigna <jug@sad.it>
4846 * BufferView_pimpl.C: set the temporary cursor right!
4848 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
4850 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
4852 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
4854 * LString.h: removed "using std::getline"!
4856 * BufferView_pimpl.C (Dispatch): changes due to changes in
4857 InsetInclude::Params.
4859 * buffer.C (tag_name): removed redundant break statements as they were
4860 producing lots of warnings with my compiler.
4862 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4864 * LString.h: add "using std::getline" when using the real <string>.
4866 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
4868 * buffer.C: removed bitset usage.
4869 PAR_TAG moved to an anonymous name space.
4870 (tag_name): new funtion, also in the anonymous namespace.
4871 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
4872 (makeDocBookFile): clean code. Completed transition from string arrays
4874 (SimpleDocBookOnePar): code clean.
4876 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4878 * tabular.C: add some comments.
4880 2001-03-22 Juergen Vigna <jug@sad.it>
4882 * buffer.C (parseSingleLyXformat2Token): redone the minipage
4883 compatibility read a bit and fixed bug with minipage in different
4886 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
4888 * buffer.C (pop_tag): removed.
4889 (push_tag): removed.
4890 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
4891 array replaced with vector. Added support for CDATA sections.
4892 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
4894 (makeDocBookFile): XML conformant declaration of CDATA section,
4895 fixed bug related to <emphasis> in the first paragraph char.
4896 (sgmlOpenTag): exclude empty tags.
4897 (sgmlCloseTag): ditto.
4899 * buffer.h (pop_tag): removed.
4900 (push_tag): removed.
4902 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
4904 * language.h (Languages): added size_type and size().
4906 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4908 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
4909 response on compability reading of minipages. One probliem is that
4910 the old usage of minipages was «flertydig»
4912 * several files here and in subdirs: don't use static at file
4913 scope use anon namespaces instead.
4915 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
4917 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
4918 LaTeX output. This is necessary for Literate document
4921 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4923 * buffer.C: insert hfill when needed.
4925 * tabular.C (l_getline): use string::erase, small whitespace change.
4927 * BufferView_pimpl.C: try the anon namespace.
4930 2001-03-16 Juergen Vigna <jug@sad.it>
4932 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
4933 otherwise it won't open options-dialogs.
4935 * buffer.C: honor pextraWidth(p) on converting minipages.
4937 * tabular.C (l_getline): changed the functions to strip trailing \r.
4939 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
4941 * BufferView_pimpl.C:
4942 * minibuffer..C: added "using SigC::slot" declaration.
4944 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4946 * lyxlex_pimpl.h: noncopyable is in namespace boost.
4952 * paragraph.C: ditto
4954 * lyxtext.h: NO_PEXTRA
4956 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
4958 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
4959 * ParameterStruct.h: ditto
4960 * ParagraphParameters.h: ditto
4961 * lyxparagraph.h: ditto
4963 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4965 * buffer.C: add compability for minipage alignment.
4966 (latexParagraphs): remove unwanted pextra check.
4968 * several files: remove CXX_WORKING_NAMESPACES
4970 * buffer.C (pop_tag): tie is in namespace boost
4972 * BufferView.h: noncopyable is in namespace boost
4977 * lastfiles.h: ditto
4978 * bufferlist.h: ditto
4979 * ShareContainer.h: ditto
4981 * LyXAction.h: ditto
4984 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
4986 * Merging changes from BRANCH_MVC back into HEAD.
4988 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
4990 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
4992 * BufferView_pimpl.C: change from intl.C
4996 * Makefile.am: move combox.*
5002 * intl.C: remove dialog (covered by prefs)
5004 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
5006 * lyxfunc.C (Dispatch): removed redundant break statement.
5008 2001-03-14 Juergen Vigna <jug@sad.it>
5010 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
5012 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5014 * buffer.C: add hack to fix compability reading of minipages.
5016 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
5018 * buffer.C (getLists): Cleanup.
5020 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5022 * lyxfont.C (update): don't honor toggleall on font size.
5024 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
5028 * Makefile.am: moved to frontends/xforms/
5032 * BufferView_pimpl.C: changes for moved mathpanel
5034 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
5036 * gettext.h: fix gettext_init() in --disable-nls
5038 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5040 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
5042 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
5045 * lyx.h: strip external form
5047 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
5049 * BufferView_pimpl.C: add comment, destroySplash()
5051 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
5053 * BufferView_pimpl.C:
5057 * lyxfunc.C: use re-worked insetinclude
5059 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5061 * buffer.C: add using std::stringstream.
5063 * lyx_cb.C: readd using std::ios.
5065 * buffer.C: add using std::map.
5067 * BufferView_pimpl.C: add using std::vector.
5069 * ShareContainer.h: add std:: to swap.
5071 * buffer.h: add some typedefs
5072 * buffer.C (getLists): use them
5073 (getLists): renamed from getTocList.
5074 add a counter for the different float types and use it in the
5076 (getLists): use the same counter for the NEW_INSETS and the "non"
5079 * lyx_cb.h: remove unused items, includes, using etc.
5081 * ShareContainer.h: remove some commented code, add more comments
5082 and "documentation".
5084 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5086 * buffer.C (getTocList): make the list also when NEW_INSETS is
5089 * buffer.h: remove TocType
5091 * buffer.C (getTocList): change to return a map<string,
5092 vector<TocItem> >, implement for dynamic number of list.
5094 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
5095 * text2.C (PasteSelection): adjust
5096 * CutAndPaste.C (pasteSelection): adjust
5098 * FloatList.C (FloatList): update from the new_insets branch.
5099 * Floating.[Ch]: ditto
5100 * LaTeXFeatures.C: ditto
5102 * lyxlex_pimpl.C: ditto
5104 * paragraph.C (Last): remove when NEW_INSETS is defined.
5106 * other file: changes because of the above.
5108 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5110 * lyxparagraph.h: rename next to next_, previous to previous_,
5111 make them private for NEW_INSETS. Rename Next() to next(),
5112 Previous() to previous().
5114 * other files: changes because of the above.
5116 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
5119 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
5122 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5124 * main.C (main): pass lyx_localedir to gettext_init().
5126 * gettext.h: remove locale_init and gettext_init macros
5128 * gettext.C (locale_init): new function
5129 (gettext_init): new function
5131 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
5134 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
5136 * Moved credits to frontends:
5137 * credits.[Ch]: removed
5138 * credits_form.[Ch]: removed
5139 * lyx_gui_misc.C: remove credits stuff
5142 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5144 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
5146 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
5147 unneeded destructor.
5149 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
5150 a standalone pointer again.
5152 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
5154 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
5160 * ToolbarDefaults.C:
5169 * BufferView_pimpl.C: use new file dialog in GUII
5172 * lyx_cb.C: remove LayoutsCB to Toolbar
5174 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5176 * ShareContainer.h (get): add std:: qualifier
5178 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5180 * ShareContainer.h: define a proper ShareContainer::value_type
5181 type (and use typename to please compaq cxx)
5183 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5185 * lyxparagraph.h: move serveral local vars to
5186 ParameterStruct/ParagraphParameters., use ShareContainer in
5187 FontTable., make vars in FontTable private and add getter and
5190 * paragraph.C: changes because of the above.
5192 * lyxfont.h: remove copy constructor and copy assignment. (the
5193 default ones is ok), move number inside FontBits. move inlines to
5196 * lyxfont.C: add number to initializaton of statics, move several
5197 inlines here. constify several local vars. some whitespace
5198 cleanup. Dont hide outerscope variables.
5200 * Spacing.h: add two new constructors to match the set methods.
5202 * ShareContainer.h: new file, will perhaps be moved to support
5204 * ParameterStruct.h: new file
5206 * ParagraphParameters.h: new file
5208 * ParagraphParameters.C: new file
5210 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
5211 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
5213 * BufferView_pimpl.C: ParagraphParameter changes.
5214 * buffer.C: Likewise.
5215 * bufferview_funcs.C: Likewise.
5217 * text2.C: Likewise.
5219 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5221 * lyxfind.C (LyXReplace): do not redefine default argument in
5223 (IsStringInText): ditto
5224 (SearchForward): ditto
5225 (SearchBackward): ditto
5227 2001-03-06 Juergen Vigna <jug@sad.it>
5229 * lyxfind.C (IsStringInText): put parentes around expressions.
5231 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
5233 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
5235 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
5237 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
5239 * stl_string_fwd.h: add comment
5241 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
5244 * tabular.C: remove unused DocBook methods
5250 killed DO_USE_DEFAULT_LANGUAGE
5252 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5254 * lyx_gui.C: do not include language.h.
5256 * bufferview_funcs.C (ToggleAndShow): do not provide optional
5257 arguments in function implementation.
5259 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5261 * BufferView_pimpl.C: add <ctime>
5263 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5265 * BufferView_pimpl.C: add using std::find_if
5267 2001-02-27 José Matos <jamatos@fep.up.pt>
5269 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
5272 2001-02-11 José Matos <jamatos@fep.up.pt>
5274 * buffer.C (makeDocBookFile): command styles now have a parameter as
5277 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
5279 * layout_forms.[Ch]: removed
5280 * lyx_cb.[Ch]: out character
5281 * lyx_gui.C: out character
5282 * lyx_gui_misc.C: out character
5283 * bufferview_funcs.C: : out character,
5284 added toggleall as parameter in ToggleAndShow
5286 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
5288 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
5290 * text2.C (SetCurrentFont): Disable number property at boundary.
5292 2001-02-26 Juergen Vigna <jug@sad.it>
5294 * lyxfunc.C (getStatus): added a string argument override function so
5295 that this is correctly called from LyXFunc::Dispatch if it contains a
5296 do_not_use_argument which is used!
5297 (Dispatch): added check for "custom" export and call appropriate func.
5299 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
5301 * lyxrc.C: Add language_command_local, language_use_babel and
5302 language_global_options.
5304 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
5306 * buffer.C (makeLaTeXFile): Use language_use_babel and
5307 language_global_options.
5309 2001-02-23 Juergen Vigna <jug@sad.it>
5311 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
5312 which works with LyXText and putted it inside BufferView. Here now we
5313 only call for that part the BufferView::Dispatch() function.
5315 * BufferView.C (Dispatch): added.
5317 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
5318 functions which needs to use a LyXText over from LyXFunc.
5319 (MenuInsertLyXFile): added
5320 (getInsetByCode): added
5321 (moveCursorUpdate): added
5322 (static TEXT): added
5324 2001-02-22 Juergen Vigna <jug@sad.it>
5326 * BufferView_pimpl.C (update): call a status update to see if LyXText
5329 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5331 * vc-backend.C (revert): implement for CVS
5332 (getLog): implement for CVS
5334 2001-02-20 Juergen Vigna <jug@sad.it>
5336 * text2.C (ClearSelection): added BufferView param for inset_owner call
5338 * lyxfunc.C (TEXT): added this function and use it instead of
5339 directly owner->view()-text of getLyXText().
5341 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
5343 * src/layout_forms.C: out preamble
5344 * src/layout_forms.h: out preamble
5345 * src/lyx_cb.C: out preamble
5346 * src/lyx_cb.h: out preamble
5347 * src/lyx_gui.C: out preamble
5348 * src/lyx_gui_misc.C: out preamble
5349 * src/lyxfunc.C: connect with guii preamble
5351 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
5353 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
5355 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
5357 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
5358 whether to run bibtex.
5360 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
5362 * Makefile.am (lyx_SOURCES): Remove BackStack.h
5364 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
5366 * Makefile.am (lyx_SOURCES): removed bibforms.h
5370 * text.C (GetVisibleRow): make several local vars const
5372 * tabular.C: small cleanup.
5374 * lyxserver.C (callback): use compare instead of strncmp
5376 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
5377 inlines to after class or to paragraph.C
5379 * lyxfont.h: remove friend operator!=
5381 * converter.h: move friend bool operator< to non friend and after
5384 * combox.h: small cleanup
5386 * buffer.h: doxygen, remove unused constructor, move inclas inlies
5387 to inlines after class def.
5389 * buffer.C (pop_tag): use string operations instead of strcmp
5391 * bmtable.c: doxygen, small cleanup
5393 * LaTeX.h: remove friend operator==
5395 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
5407 * BufferView_pimpl.C:
5408 * BufferView.[Ch]: remove cruft
5410 2001-02-14 Juergen Vigna <jug@sad.it>
5412 * lyxfunc.C: removed #if 0 unused code
5414 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
5416 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
5418 * text2.C (SetSelection): added a BufferView * parameter
5420 2001-02-13 Juergen Vigna <jug@sad.it>
5422 * lyxfunc.C (Dispatch): fixed protected blank problem.
5423 * BufferView2.C (protectedBlank): added LyxText * parameter.
5425 * tabular.C (AppendRow): forgot to set row_info of newly added row.
5426 (AppendColumn): same as above for column_info.
5428 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
5429 (moveCursorUpdate): use a LyXText param for support of InsetText.
5431 * BufferView_pimpl.C (doubleClick): added support for InsetText.
5432 (tripleClick): ditto
5434 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
5436 * BufferView_pimpl.C (update): added LyXText param to honor insets.
5438 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
5440 * text2.C (SetSelection): set correct update status if inset_owner
5443 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
5445 * tabular.C: remove some commented code.
5447 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
5449 * BufferView_pimpl.C: call hideSplash()
5451 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
5454 * bibforms.h: remove
5457 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
5458 add LFUN_CHILD_CREATE
5460 * counters.h: fix tiny typo
5465 * lyx.C: move splash to frontends/xforms/
5467 * lyx_gui_misc.C: move Include and Bibform to frontends
5469 * lyxvc.h: clarify comment
5471 * vspace.C: tiny housekeeping
5473 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
5475 * text.C (PrepareToPrint): RTL Fix.
5477 * paragraph.C (GetUChar): New method.
5478 (String): Use GetUChar.
5480 * buffer.C (asciiParagraph): Use GetUChar.
5482 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
5484 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
5486 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
5489 * buffer.C: rename to getLogName(), handle
5490 build log / latex log nicely
5492 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5495 * MenuBackend.h: remove support for reference menuitem type.
5497 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
5499 * BufferView_pimpl.C: housekeeping
5500 * BufferView_pimpl.h:
5505 * minibuffer.h: move Timeout GUI-I
5507 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
5509 * lyxrc.C (read): Update converters data-structures.
5511 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
5513 * LaTeX.h (operator!=): add operator != for Aux_Info
5515 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
5517 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
5519 * LaTeXLog.C: deleted, useful code moved to Buffer
5522 * buffer.C: new function getLatexLogName()
5528 * lyxfunc.C: use frontends for LaTeX and VC logs
5530 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5532 * LaTeX.h: yet another std:: that Allan forgot.
5534 * Variables.C (set): renamed from isset(), because this clashes
5535 with some HP-UX macros (grr).
5537 2001-02-06 Allan Rae <rae@lyx.org>
5539 * LaTeX.h: Another bug fix. Missing std:: this time.
5541 2001-02-04 Allan Rae <rae@lyx.org>
5543 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
5544 floats problem. I've left it commented out because it's not quite
5545 correct. It should also test that the current object is a table or
5546 figure inset. But I haven't gotten around to figuring out how to do
5547 that. I *think* it'll be something like: "table" == inset.type()
5549 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
5552 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
5554 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
5555 all the citation/databases/styles in the auxilary file.
5556 (run): Rerun latex if there was a babel language error.
5558 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
5560 * text.C (Backspace): Preserve the font when changing newline char
5562 (BreakParagraph): If the cursor is before a space, delete the space.
5564 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
5566 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
5568 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
5569 new argument (code).
5570 (ChangeCitationsIfUnique): New method.
5572 * paragraph.C (GetPositionOfInset): Handle bibkey.
5574 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5576 * BufferView_pimpl.h: change type of Position::par_pos to
5577 LyXParagraph::size_type.
5579 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
5581 * BufferView_pimpl.C (savePosition, restorePosition): Write
5582 messages to minibuffer.
5584 2001-01-28 José Matos <jamatos@fep.up.pt>
5586 * buffer.C (makeDocBookFile): adds support for document language.
5587 A silly restriction on the name of LatexCommand types where removed.
5588 Added support for CDATA sections, allows to chars unescaped, used
5589 among others in code, to avoid escape < and >.
5591 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
5593 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
5594 saved positions instrad of a stack. Furthermore, a position is
5595 stored using paragraph id/paragraph position.
5597 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
5598 Remove LFUN_REF_BACK.
5600 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
5602 * converter.C (dvipdfm_options): New method.
5604 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
5606 * vspace.C (isValidLength): Fix for empty input string.
5608 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5610 * LyXAction.C (init): change description of LFUN_FIGURE to
5613 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5615 * LaTeX.C: add using directive
5617 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
5619 * MenuBackend.C (expand): Fix the sorting of the formats.
5621 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
5623 * lyx_main.C: tiny error message fix
5625 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5627 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
5628 calling fl_initialize(). This fixes the problem with ',' as
5629 decimal separator in text files.
5631 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
5633 * trans.C (process): Fix the keymap bug.
5635 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
5637 * LaTeX.C (scanAuxFiles): New method. Provides support for
5638 multiple bibliographies (when using the bibtopic/bibunits pacakges).
5639 (scanLogFile) Scan for "run BibTeX" messages.
5641 * buffer.C (makeLaTeXFile): Do not load the ae package when using
5642 OT1 font encoding. Also, load the aecompl package if the ae
5645 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
5647 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5649 * texrow.C (increasePos): turn two error messages into debug
5652 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
5654 * LaTeX.C (scanAux): Handle the \@input macro.
5655 (runBibTeX): Use scanAux().
5657 * language.C (latex_options_): New field.
5659 * LaTeXFeatures.C (getMacros): Add language macros.
5661 * buffer.C (makeLaTeXFile): Small fix.
5663 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5665 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
5667 * text2.C: add a using directive.
5669 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
5674 * lyxfunc.C: kill LyXBell.
5676 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
5678 * text.C (IsBoundary): Remove the error message
5680 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
5682 * lyxrc.C (setDefaults): Correct initialization value for
5685 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
5687 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
5690 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
5693 * src/LyXAction.C: Added reference-next.
5695 * text.C (InsertChar): Use contains instead of strchr.
5697 * lyx_cb.C (MenuInsertLabel): Enable default value code.
5699 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
5701 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
5702 alignment commands (when needed).
5704 * text.C (InsertChar): Add ':' to number separator chars.