1 2002-03-28 Juergen Vigna <jug@sad.it>
3 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
5 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9 * MenuBackend.C (expand): fix export/view/update when there is no
12 2002-03-27 Herbert Voss <voss@lyx.org>
14 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
17 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
19 * bufferview_funcs.C (currentState): only show paragraph number
20 for is DEVEL_VERSION is set.
22 * lyxfunc.C (dispatch): put warning in INFO channel
24 * MenuBackend.C (expand): translate the name of floats
26 * FloatList.C (FloatList): mark the float names for translation
28 * converter.C (convert): use LibScriptSearch
30 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
32 * MenuBackend.C (defaults): fix default menu (we might as well get
35 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
37 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
40 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
42 * lyxvc.C: reorder includes.
44 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
46 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
49 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
51 * CutAndPaste.C: change layouts earlier on paste
52 to avoid crashing when calling getFont()
54 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
56 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
59 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
61 * WorkArea.C: remove 'Pending' debug message.
63 * most files: ws cleanup
65 * buffer.[Ch]: ws changes
67 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
69 2002-03-21 Juergen Vigna <jug@sad.it>
71 * tabular.C (SetMultiColumn): collapse also the contents of the
72 cells and set the last border right. Added a Buffer const * param.
74 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
76 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
79 2002-03-19 Juergen Vigna <jug@sad.it>
81 * text2.C (clearSelection): reset also xsel_cache.
83 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
84 where it needs to be called (John tells us to do so too :)
85 (selectionLost): reset sel_cache.
87 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
89 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
91 * text2.C (setCursorIntern): put debuging code in INSETS channel
93 2002-03-19 André Pönitz <poenitz@gmx.net>
95 * lyxfunc.C: tiny whitespace change
97 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
99 * ToolbarDefaults.C (init):
100 * LyXAction.C (init):
102 * BufferView_pimpl.C (Dispatch):
103 * lyxfunc.C (dispatch): remove LFUN_DEPTH
105 2002-03-19 Allan Rae <rae@lyx.org>
107 * exporter.C (Export): removeAutoInsets before doing anything else.
108 While I've just introduced a dependency on BufferView this really is
109 the best place to clean the buffer otherwise you need to cleanup in
110 a dozen places before calling export or cleanup in a dozen functions
113 * converter.C (runLaTeX):
114 (scanLog): Better handling of removeAutoInsets and screen updates.
116 * lyxfunc.C (dispatch): small whitespace changes
118 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
120 * WorkArea.C (C_WorkAreaEvent): return a value.
121 (event_cb): return 1 if we handled the event, 0 otherwise.
123 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
125 2002-03-18 Juergen Vigna <jug@sad.it>
127 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
128 (GetAdditionalWidth): ditto.
132 * BufferView2.C (copy): use getLyXText() so that we do it inside an
133 inset if we're there actually (probably not used right now but this
134 is the direction to go for unifying code).
135 (paste): disable code to clear the selection.
137 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
138 inside an InsetText and move the check further up as it is in the
141 * text2.C (pasteSelection): set a selection over the pasted text.
143 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
145 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
146 and libgraphics to build on Cygwin.
148 2002-03-15 Juergen Vigna <jug@sad.it>
150 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
151 inserting an Inset into the paragraph. I know this is not the best
152 fix but we already use current_view in CutAndPaste so we will remove
153 all of it's using at the same time.
155 * buffer.C (sgmlError): deactivated function till it is rewritten in
156 the right mode, now it can create problems.
158 * paragraph.C (isLineSeparator): check if getInset returns != 0,
161 2002-03-14 Juergen Vigna <jug@sad.it>
163 * undo_funcs.C (textHandleUndo): do the right thing when updating
164 the inset after the undo/redo.
166 * text2.C (setCursor): just some testcode for #44 not ready yet.
168 * undo_funcs.C (textHandleUndo): set the next() and previous()
169 pointers of the paragraph to 0 before deleting otherwise we have
170 problems with the Paragraph::[destructor].
172 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
173 on a paragraph insertion.
175 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
177 * buffer.C (asciiParagraph): use += operator for char append to
180 * paragraph.C (getFontSettings): compare >= not just >
181 (highestFontInRange): ditto
184 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
186 * paragraph.C: change several algorithm to be more appripriate for
187 the problem domain. This is lookip in FontList and in the InsetList.
189 2002-03-13 André Pönitz <poenitz@gmx.net>
192 * LyXAction.C: remove unused LFUN_MATH_MACROARG
194 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
199 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
201 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
203 * Painter.C (display): anon helper function, adjust code for this
205 (pixmap): remove function.
207 * Painter.h: remove private display variable.
209 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
211 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
213 * WorkArea.[Ch]: remove figinset_canvas cruft.
215 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
217 * lyxtextclass.C (operator): add one item cache optimization.
219 * bufferlist.h: doxy changes
221 * bufferlist.C: ws changes
223 * DepTable.[Ch] (ext_exist): place const in the right spot.
225 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
227 (workAreaExpose): call resizeInsets when the with BufferView changes.
228 (Dispatch): adjust for protectedBlank removal
229 (specialChar): call updateInset if the insert went ok.
231 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
234 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
236 * BufferView.h: doxy change
238 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
240 * lyxtextclass.C (operator[]): remove non-const version
241 (defaultLayout): remove non-const version
243 2002-03-12 Juergen Vigna <jug@sad.it>
245 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
246 did resize the LyXText too.
248 * buffer.C (readLyXformat2): set layout information on newly allocated
251 * tabular.C (OldFormatRead): set layout information on the paragraph.
253 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
255 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
257 2002-03-11 Juergen Vigna <jug@sad.it>
259 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
261 (resizeCurrentBuffer): force also the insets to resize themselfes.
262 (moveCursorUpdate): fixed up for InsetText.
264 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
267 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
268 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
269 value of Dialogs::tooltipsEnabled().
270 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
272 2002-03-08 Juergen Vigna <jug@sad.it>
274 * BufferView_pimpl.C (updateInset): update inset inside inset also
275 if it isn't inside theLockingInset().
277 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
279 * buffer.C (asciiParagraph): redo some of the word and line length
281 (getLists): look for Caption instead of caption.
283 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
285 * buffer.C (Buffer): initialize niceFile to true
288 (makeDocBookFile): make sure niceFile is true on exit
290 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
292 * buffer.C (makeLaTeXFile): escape ~ in \input@path
294 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
296 * LyXSendto.C: remove.
297 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
298 * lyx_gui.C: remove now-redundant comment.
299 * ColorHandler.h: remove forward declaration of class WorkArea.
300 * lyxfunc.C: remove #include "WorkArea.h".
302 2002-03-07 Juergen Vigna <jug@sad.it>
304 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
305 got moved away with the DEPM and also set the inset_owner always
306 right which before could have been omitted.
308 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
310 * buffer.C (parseSingleLyXformat2Token): use default layout is the
311 wanted layout is not found.
313 2002-03-07 Juergen Vigna <jug@sad.it>
315 * CutAndPaste.C (cutSelection): another layout settings forgotten.
317 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
319 * paragraph.C (breakParagraph): use default layout not layout of
321 (Paragraph): clear ParagraphParameters.
323 2002-03-06 Juergen Vigna <jug@sad.it>
325 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
326 otherwise it would not be a valid lenght. Fixed a special case in
327 the minipage compatibility read where we end the document with a
330 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
331 was set as it could be 0 for InsetTexts first entry.
333 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
335 * paragraph.C (writeFile): if layout is empty write out
338 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
339 file without named layout we set layout to defaultLayoutName().
341 2002-03-06 Juergen Vigna <jug@sad.it>
343 * CutAndPaste.C (copySelection): set layout for new paragraph.
345 * text.C (prepareToPrint): leave ERT inset left aligned
346 (leftMargin): don't indent paragraphs inside ERT insets
348 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
350 * paragraph.C (breakParagraph): dont call clear do the work manually
352 * paragraph.[Ch] (clear): remove function
354 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
356 * paragraph.C (Paragraph): dont call clear, the work has already
359 * lyxtextclass.C (operator): assert if n is empty
361 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
362 work manually instead.
364 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
366 * BufferView_pimpl.C: protect selectionLost against text == 0
368 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
370 * text.C (breakParagraph): fix a setting layout to '0' problem.
372 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
374 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
375 final location of file, for the included files, and graphics.
377 2002-03-05 Juergen Vigna <jug@sad.it>
379 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
381 2002-03-04 Juergen Vigna <jug@sad.it>
383 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
385 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
386 last column of multicolumn cells.
387 (SetWidthOfMulticolCell): recalculate NMC and real columns.
389 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
391 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
392 file if it doesn't go to a temporary file.
394 * buffer.C (sgmlOpenTag):
395 (sgmlCloseTag): remove extra newline insertion.
397 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
399 * text.C (getRowNearY): comment out debug msg
401 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
403 * text2.C: first -> first_y
405 * text.C (getRowNearY): add some attemts at a possible
406 optimization, not working.
408 * tabular.[Ch]: add BufferParams to several function so that newly
409 created paragraph can be initialized to he default layotu for the
412 * tabular-old.C (ReadOld): add buf->params to call of Init
414 * screen.C: rename text->first to text->first_y
416 * paragraph.C (breakParagraph): always set layout in the broken
419 * lyxtextclass.C (Read): remove lowercase
422 (delete_layout): ditto
424 * lyxtext.h: rename first -> first_y
426 * lyxlayout.C (Read): remove lowercase
429 (obsoleted_by): ditto
431 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
433 * buffer.C (insertErtContents): add params are to InsetERT
434 (parseSingleLyXformat2Token): add code to check if a paragraphs
436 (parseSingleLyXformat2Token): add params to several inset
438 (asciiParagraph): remove lowercase, do the layout comparisons with
441 * BufferView_pimpl.C (cursorNext): first -> first_y
442 (resizeCurrentBuffer): first -> first_y
443 (updateScrollbar): first -> first_y
444 (scrollCB): first -> first_y
445 (workAreaMotionNotify): first -> first_y
446 (workAreaButtonPress): first -> first_y
447 (checkInsetHit): first -> first_y
448 (cursorPrevious): first -> first_y
449 (cursorNext): first -> first_y
450 (Dispatch): add buffer_->params to severl inset contructors
452 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
454 * lyxlayout.C (Read): remove some debug info that I forgot.
456 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
457 clean up the code slightly.
458 (makeLinuxDocFile): ditto
459 (makeDocBookFile): ditto
461 * text2.C: layout as string
463 * text.C: layout as string
465 * paragraph_pimpl.C: layout as string
467 * paragraph.[Ch]: layout as string
469 * lyxtextclasslist.[Ch]: layout as string
471 * lyxtextclass.[Ch]: layout as string
473 * lyxtext.h: layout as string
475 * lyxlayout.[Ch]: layout as string
477 * lyx_cb.C: layout as string
479 * bufferview_funcs.C: layout as string
481 * bufferparams.C: layout as string
483 * buffer.C: layout as string
485 * LyXView.[Ch]: layout as string
487 * LaTeXFeatures.[Ch]: layout as string
489 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
491 * BufferView_pimpl.C: change current_layout to string, remove
496 (workAreaButtonRelease): layout as string
498 * BufferView2.C (unlockInset): adjust
500 * vspace.C (asLatexCommand): use an explict temp variable.
502 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
504 * Makefile.am: use FRONTEND_*
506 2002-03-01 Juergen Vigna <jug@sad.it>
508 * tabular.C (SetWidthOfMulticolCell): changed to something better
509 I hope but still work in progress.
510 (recalculateMulticolumnsOfColumn): renamed function from
511 recalculateMulticolCells as it is more appropriate now.
512 (SetWidthOfCell): calculate multicols better.
514 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
516 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
518 * lyxfunc.C (processKeySym): print sequence also if it is
521 * kbsequence.C (print): print sequence even if it is deleted
522 (complete would be a better word, actually).
524 * lyxfunc.C (dispatch): print complete options after a prefix key
526 * vspace.C (asLatexCommand): rewrite in a slightly different form.
528 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
530 * text2.C (setCharFont): eliminate setCharFont code duplication.
532 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
534 * BufferView_pimpl.C (Dispatch): remove bogus handling of
535 LFUN_TABULAR_FEATURE (bug #177)
537 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
539 * Makefile.am: remove figure.h
541 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
543 * Bufferview_pimpl.C:
555 * text2.C: remove #include "lyx_gui_misc.h".
557 * LaTeX.C: added #include <cstdio>
559 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
561 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
562 that the paragraph following this one can have.
564 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
566 * vspace.C (asLatexCommand): fix bogus gcc warning
568 * Makefile.am (lyx_SOURCES): remove vms_defines.h
570 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
572 * text2.C (setLayout): get rid of redundant code
574 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
576 * text2.C (incDepth): make sure depth cannot be increased beyond
579 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
581 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
582 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
584 * PainterBase.h (image):
585 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
588 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
592 * BufferView_pimpl.C:
593 * BufferView_pimpl.h:
613 * sp_spell.C: remove fig inset, and the crap house of
614 cards that follows it
616 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
622 * nt_defines.h: move .h into support/
624 * vms_defines.h: remove
626 * WorkArea.C: add space in debug output
630 * buffer.C: add WITH_WARNINGS
634 * bufferlist.C: s/retrive/retrieve/, add docs
645 * lyxgui.C: add ID to X error handler
647 * lyxtestclass.c: fix typo
649 2002-02-26 Juergen Vigna <jug@sad.it>
651 * tabular_funcs.C (write_attribute): changed so that some default
652 attributes are not written at all.
653 (getTokenValue): set default values before trying to read the
654 value so we have the return value always set as default if we don't
655 find the token we search for.
657 * tabular.C (Write): write bools as bools not as strings!
659 2002-02-22 Juergen Vigna <jug@sad.it>
661 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
662 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
664 * text.C (leftMargin): don't add an indent for paragraphs inside
665 tabular cells (fix #208).
667 2002-02-21 José Matos <jamatos@fep.up.pt>
669 * tabular.C (docBook): fixed support for long tables.
671 2002-02-20 Juergen Vigna <jug@sad.it>
673 * text2.C (getFont): get the drawing font of the Inset if this
674 paragraph is inside an inset (only important for InsetERT for now).
676 * buffer.C (insertErtContents): use new lanugage params in ERT
679 * CutAndPaste.C: commenting out seemingly uneeded code.
681 2002-02-19 Allan Rae <rae@lyx.org>
683 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
684 Iterators might be simple to use but they also get invalidated.
685 (removeAutoInsets): renamed saved cursor tracking variables and added
686 some comments to clarify what everything does.
688 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
695 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
696 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
699 * vc-backend.h: remove #include "support/syscall.h"
703 * converter.C: rearrange #includes in Lars' approved fashion.
705 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
706 forward declare class Timeout in the header file.
708 * XFormsView.C: changes due to the above.
710 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
713 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
714 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
716 2002-02-18 José Matos <jamatos@fep.up.pt>
718 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
721 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
723 * a lot of small ws changes
724 * add a lot of using std::XXX
725 * use std construcs some places where approp.
726 * use some exisint stuff from lyxfunctional where approp.
727 * Make file changes to use partial linking (lets test this now...)
729 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
733 remove #include "support/syscontr.h" as it's redundant. Always has been.
741 change Systemcalls::System to Systemcalls::Wait and
742 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
743 No change of functionality, just reflects the stripped down Systemcalls
746 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
748 * debug.[Ch]: add a GRAPHICS type to the enum.
750 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
752 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
754 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
757 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
759 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
760 match the changes below.
762 * text2.C (toggleInset): if there is not editable inset at cursor
763 position, try to see if cursor is _inside_ a collapsable inset
766 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
768 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
769 document menu has a nice checkbox
771 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
773 * lyxlength.C (asLatexString): change PW to output as percent of
776 * lengthcommon.C: change '%' to 't%'
778 * lyxfunc.C (dispatch): a few comments from Martin
780 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
784 * BufferView_pimpl.h:
785 * BufferView_pimpl.C: clear our selection when X tells us we've lost
788 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
790 * vspace.C (inPixels): fix compiler warning
792 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
794 * lyxfunc.C (getStatus): fix status message for disabled commands.
796 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
798 * BufferView_pimpl.C: fix crash on close buffer
799 during selection (#227)
801 2002-01-27 Herbert Voss <voss@lyx.org>
803 * buffer.C: link old Figure to new graphic inset
805 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
807 * FontLoader.C (getFontinfo): Change the latex font names in order
808 to match the names of type1inst.
810 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
812 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
814 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
817 (remove_files_with_extension): ditto
821 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
822 document is smaller than the work area height. Do not initialize
823 static variables to 0.
825 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
827 * lyx_gui.C (init): give the toolbar tooltips a normal font.
829 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
830 LFUN_LAYOUT_PARAGRAPHS.
832 * tabular.C (GetCellFromInset): new method. Finds an inset in a
833 tabular. It is possible to provide a possible cell, which will
834 typically be the actcell from the corresponding insettabular
836 * lyxfunc.C (getStatus): small cleanup; disable
837 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
840 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
842 * tabular.C (Validate): remove broken optimization (fixes bug #201)
844 * paragraph.C (startTeXParParams):
845 (endTeXParParams): new methods. The LaTeX code to
846 start/end paragraph formatting
847 (simpleTeXOnePar): call startTeXParParams also when paragraph is
848 empty (fixes bug #200)
850 * vspace.C (inPixels): adapt to the change below
851 (inPixels): [later] more cleanups (remove unused variables)
853 * lyxlength.C (inPixels): change to use a width and a height as
856 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
858 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
859 Replaced with \paperwidth
861 * DepTable.C (insert): add std:: qualifier
863 2002-01-18 Allan Rae <rae@lyx.org>
865 * text2.C (removeRow): add comment. Should other refresh_?? vars be
868 * text.C (drawInset): Turned out I didn't know enough about how
869 rebreaking worked. This fixes most of the redraw problems. I see
870 an occasional cursor trail when a line is broken now and the cursor
871 placement can seem out by a few pixels also after a rebreak.
873 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
875 * buffer.C (parseSingleLyXformat2Token): update because minipage
876 width is now a LyXLength
878 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
880 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
883 2002-01-17 Juergen Vigna <jug@sad.it>
885 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
887 * BufferView2.C (lockInset): call edit() so that theLockingInset()
888 is set correctly and the inset is updated correctly.
890 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
892 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
893 the beginning of the loop.
895 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
897 * lyxrc.C: improve help for use_scalable_fonts
899 2002-01-17 Allan Rae <rae@lyx.org>
901 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
903 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
905 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
906 make sure to set their inset_owner to the right value (bug #171)
908 2001-12-12 Ben Stanley <bds02@uow.edu.au>
911 * DepTable.C: Implement mtime checking to reduce time spent doing
914 2002-01-16 Juergen Vigna <jug@sad.it>
916 * tabular.C (GetAdditionalHeight): one of error fixed.
918 * lyxrc.C (output): small fix in writing use_pspell.
920 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
922 * sp_base.h: #include LString.h
924 2002-01-16 Allan Rae <rae@lyx.org>
926 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
927 Can someone check this please?
929 * text.C (drawInset): It was possible that p.row would be removed by
930 breakAgainOneRow upsetting a few other settings. There may be another
931 small tweak possible by setting need_break_row = 0 when p.row has been
932 removed but I don't know enough about the logic here.
934 2002-01-15 Allan Rae <rae@lyx.org>
936 * text.C (insertChar): removed conditional truism.
938 * BufferView2.C (removeAutoInsets): More tweaks.
939 cur_par_prev could be a stray pointer. Check for trailing empty line
940 in case last line was cur_par and only had an error inset on it.
942 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
944 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
947 * vc-backend.C (most methods):
948 * exporter.C (Export):
949 * converter.C (convert):
951 * LyXSendto.C (SendtoApplyCB):
952 * lyxfunc.C (dispatch):
956 * lyx_cb.C (AutoSave):
958 * BufferView_pimpl.C (MenuInsertLyXFile):
959 * buffer.C (runChktex): use Buffer::filePath().
961 * buffer.h: rename filename to filename_; rename filepath to
962 filepath_ and make it private
963 (filePath): new method
965 * buffer.C (writeFile): use fileName()
968 * lyx_main.C (init): fix starting of LyX when the binary is a
969 link from so,ewhere else.
971 * minibuffer.C: include <cctype> for isprint
973 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
975 * buffer.C (parseSingleLyXformat2Token): changes associated with the
976 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
977 name clash with InsetCollapsable's width function.
979 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
981 * lastfiles.C: include <iterator>
983 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
985 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
988 * buffer.C (makeLaTeXFile): ditto.
989 Also make loop operation more transparent.
991 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
993 * ToolbarDefaults.C: remove trailing comma closing namespace.
995 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
997 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
1000 * trans.C (Load): comment out unused variable, allowed.
1002 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
1004 * minibuffer.[Ch] (append_char): new method to recieve input from the
1005 drop-down completion browser. If a key was pressed, then recieve this
1006 char and append it to the existing string.
1007 (peek_event): modify the positioning data passed to the completion
1008 browser so that it can be placed above the minibuffer rather than below.
1009 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
1011 * LyXAction.C (init): alloe error-next for readonly documents.
1013 * BufferView2.C (ChangeRefsIfUnique): use standard version of
1016 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1018 * bufferlist.C (readFile): create the buffer _after_ checking that
1021 * lyxfunc.C (verboseDispatch): fix handling of arguments
1023 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
1025 * lyxrc.C: use string::erase() instead of initializing to "".
1028 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
1030 * BufferView_pimpl.h:
1031 * BufferView_pimpl.C:
1034 * text2.C: tell X when we have made a selection for copying
1036 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1038 * BufferView_pimpl.C (MenuInsertLyXFile):
1039 * lyxfunc.C (menuNew):
1041 (doImport): add shortcuts to directory buttons
1043 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
1046 * lyxfunc.C (setStatusMessage):
1047 (getStatusMessage): new methods
1048 (getStatus):use setStatusMessage instead of setErrorMessage
1049 (dispatch): when function is disabled, set error message here
1050 [instead of in getStatus previously]
1052 * BufferView_pimpl.C (workAreaButtonRelease): update
1053 toolbar/menubar here too.
1055 2002-01-13 Allan Rae <rae@lyx.org>
1057 * BufferView2.C (removeAutoInsets): finished off earlier fix.
1058 Now seems indestructible. Remaining task is to audit all other
1059 code affected by deleteEmptyParagraphMechanism. One small quirk
1060 left is that an empty document with an error in the preamble can
1061 be made to report an error but no error box appears. I don't know
1063 (removeAutoInsets): Improved comments.
1065 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
1068 * Thesaurus.C: update for Aiksaurus 0.14
1070 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
1072 * text2.C (firstParagraph): removed member function, all uses
1073 replaces with ownerParagraph
1074 (redoParagraphs): here
1076 (toggleAppendix): here
1077 * BufferView2.C (insertErrors): here
1078 (setCursorFromRow): here
1080 2002-01-13 Allan Rae <rae@lyx.org>
1082 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
1083 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
1084 There is still a way to segfault this although you may have to do this
1085 multiple times: Have an InsetERT with an unknown command in it.
1086 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
1087 <down-arrow>, <Enter> again, View->DVI, BANG!
1089 * text2.C (setCursor):
1090 (deleteEmptyParagraphMechanism):
1091 * lyxtext.h (setCursor):
1092 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
1093 Making use of the return value may help fix other bugs.
1095 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1097 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
1099 * LyXView.C (updateMenubar): call MenuBar::update here
1100 (updateToolbar): but not here
1101 (showState): do not update toolbar/menubar
1103 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
1104 should need to care about that.
1106 * lyxfunc.C (verboseDispatch): simplify a bit
1107 (getStatus): have a version which takes a pseudoaction, and
1108 another which requires a (kb_action,string).
1110 * LyXAction.C (retrieveActionArg): make it work also when action
1111 is not a pseudo-action.
1112 (getActionName): simplify a bit
1115 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1117 * lyxfunc.C (verboseDispatch): new families of methods with
1118 several ways to specify a command and a bool to indicate whether
1119 the command name and shortcut should be displayed in minibuffer
1120 (eventually, we could extend that to a finer bitmask like
1121 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
1122 (dispatch): the pristine dispatch command which just, well,
1123 dispatchs! Note it still sets its result to minibuffer; I'm not
1126 * lyxfunc.h: remove setHintMessage
1128 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
1130 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1132 * BufferView_pimpl.C (specialChar): delete new inset if we have
1133 not been able to insert it.
1135 * kbmap.C: revert to using int instead of kb_action, since all we
1136 are dealing with is pseudo-actions.
1138 * LyXAction.C (searchActionArg): change to return int instead of
1139 kb_action, since the result is a pseudoaction.
1141 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
1143 * buffer.C (insertErtContents): Fix (partially) the font bug.
1145 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
1147 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
1148 as the other one is broken on my machine!
1150 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
1153 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
1155 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
1157 * lyxrc.[Ch]: change names and descriptions of popup font variables to
1158 reflect their actual use. Provide compatibility code for older lyxrc
1161 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
1163 change names of popup font variables in line with the changes to lyxrc.C
1165 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1167 * buffer.C (asciiParagraph): avoid outputing a word twice after
1170 * lyxrc.C (getDescription): document that document_path and
1171 template_path can be empty.
1173 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1175 * LaTeXFeatures.C (getMacros):
1176 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
1178 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
1180 * LaTeXFeatures.C (useFloat): require "float" here instead of in
1182 (getPackages): rename feature "floats" to "float". Use an array to
1183 iterate over 'simple' features (i.e. just a \usepackage). Add
1184 handling of "amsmath" (renamed from "amsstyle").
1186 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
1188 * LaTeXFeatures.C (require): Prevent duplicate entries in the
1191 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
1193 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
1194 FuncStaus::FuncStatus & FuncStaus::some_method().
1196 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
1198 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
1199 of the func_satus stuff. Edited and massaged in various ways by
1202 * lyxfunc.C (getStatus): use FuncStatus
1204 2002-01-08 Juergen Vigna <jug@sad.it>
1206 * text.C (nextBreakPoint): use function Inset::isChar().
1208 * paragraph.C (TeXOnePar): use function
1209 Inset::forceDefaultParagraphs.
1211 * buffer.C (latexParagraphs): use function
1212 Inset::forceDefaultParagraphs.
1214 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
1216 * lyx_gui.C (init): set the style of the menu popups to
1217 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
1219 2002-01-07 Juergen Vigna <jug@sad.it>
1221 * text.C (setHeightOfRow): small fix
1222 (prepareToPrint): don't look at alignment if we don't have the place
1225 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
1227 * box.C: New file. Move the Box methods and functions out of box.h,
1228 following Lars' suggestion.
1230 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
1232 * box.h: #include "support/LOstream.h", needed for inlined function.
1235 * lyxtextclasslist.C: added some using std declarations.
1237 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
1239 * box.h: make signed dimensions to allow insets wider than
1240 the screen (bug #162)
1242 * BufferView_pimpl.C: add some insetHit debug
1244 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
1246 * vc-backend.C: add FIXME
1248 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1250 * lyxfunc.C (getStatus): enable code for showing math font status
1253 2002-01-07 Juergen Vigna <jug@sad.it>
1255 * text.C (nextBreakPoint): removed debug output not needed anymore.
1257 2002-01-06 Juergen Vigna <jug@sad.it>
1259 * text.C (nextBreakPoint): fixed up this function we had this bug
1260 since ever but now hopefully we break row better.
1261 (insertChar): we have to check if an inset is the next char as it
1262 could now happen that a large inset is causing a break.
1264 2002-01-05 Juergen Vigna <jug@sad.it>
1266 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
1267 if it doesn't like to be drawed.
1269 2002-01-04 Juergen Vigna <jug@sad.it>
1271 * BufferView2.C (lockInset): forgot to set a cursor.
1273 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
1275 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
1280 * form_maths_panel.C:
1281 * form_maths_panel.h:
1282 * form_maths_panel.fd: implemented sub- and super- buttons in math
1285 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
1286 (or ^ space) to be used as in TeX (req'd by André).
1288 * lyxfunc.C: Allow ^ and _ again to be used both as
1289 super/subscript (mathed) and as themselves (in text).
1291 2002-01-03 Allan Rae <rae@lyx.org>
1293 * LyXView.C (updateWindowTitle): Setup a short icon title of either
1294 "LyX" or the filename of the current buffer if it has one. This is a
1295 modified form of John Levon's patch.
1297 * XFormsView.C (setWindowTitle): also set icon title.
1299 * LyXView.h (setWindowTitle): signature changed.
1300 * XFormsView.h (setWindowTitle): ditto.
1302 2002-01-02 Juergen Vigna <jug@sad.it>
1304 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
1306 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
1308 * screen.C (topCursorVisible): introduce a temp var for
1309 text->cursor.row(), handle the case where this row is null. (kindo
1312 * text2.C (setCursor): add a couple of asserts.
1314 * paragraph.h (inset_iterator): add -> operator
1316 * paragraph.[Ch] (autoDeleteInsets): remove member function
1318 * BufferView2.C (removeAutoInsets): rewrite to handle the old
1319 cursor pos correctly and handle inset deletion by itself.
1320 (insertErrors): move iterator declaration out of for expression
1322 * lyxtextclass.C: add <algorithm>
1324 * Makefile.am: added the new files to sources, removed layout.C
1326 * layout.C: removed file
1328 * layout.h: remove LYX_DUMMY_LAYOUT
1330 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
1334 * lyxtextclass.[Ch]:
1335 * lyxtextclasslist.[Ch]: new files
1337 * include order changes to a lot of files, also changes because of
1340 2001-12-27 Juergen Vigna <jug@sad.it>
1342 * buffer.C (asciiParagraph): more fixes.
1344 * tabular.C (ascii): make ascii export support export of only the
1345 data separated by a column-delimiter.
1346 (ascii): better support for ascii export.
1348 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
1350 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1352 * tabular_funcs.C: use a "using std::getline" instead of the
1353 previous fix from Angus (necessary for cxx + lyxstring)
1355 2001-12-24 Juergen Vigna <jug@sad.it>
1357 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
1359 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
1360 problems. First check a minipage also if we have some ert-contents
1361 (not only on par->size(), second set the right depth of the paragraph
1362 on the relink to the root-paragraph-list!
1364 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
1365 which then did not anymore update the main paragraphs on undo/redo!
1367 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1369 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
1370 code. Support all font-changing funcs (even those which are not in
1371 menu currently). Support for reporting font settings in
1372 mathed (disabled until Andre provides a function on mathed's side).
1374 * func_status.h (toggle): small helper function to set toggle
1377 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
1379 * tabular_funcs.C: getline -> std::getline
1381 2001-12-21 Juergen Vigna <jug@sad.it>
1383 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
1384 accessed and could be 0 (I couldn't generate this but it seems
1387 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
1389 * tabular_funcs.C: add LIstream.h, move write_attribute to..
1390 * tabular_funcs.h: here and include iosfwd
1392 2001-12-20 Juergen Vigna <jug@sad.it>
1394 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
1395 inside inset but undo_par was.
1397 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1399 * Thesaurus.C: always include <config.h> in sources.
1403 * box.h: do not include <config.h> in header files
1405 * text.C (paintLastRow): remove unused variable
1407 * text.C (transformChar):
1409 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
1412 * font.C (width): rewrite to use uppercase() instead of
1415 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
1417 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
1419 * lyxfind.C: clean up of find failure position change
1421 2001-12-20 Juergen Vigna <jug@sad.it>
1423 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
1425 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
1426 (TeXRow): added to LaTeX a single tabular row.
1427 (TeXLongtableHeaderFooter): added to output LT-h/f data.
1428 (Latex): simplified and finally good LT-h/f support.
1429 (various_functions): just small adaptions for LT-h/f support.
1431 * tabular_funcs.[hC]: added and moved here all not classfunctions
1434 2001-12-19 Juergen Vigna <jug@sad.it>
1436 * tabular.[Ch]: better support for longtabular options (not finished
1439 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1441 * text.C (paintLastRow): use the label font instead of the font of
1442 the last character to compute the size of *_BOX. This makes more
1443 sense and avoids a crash with empty paragraphs.
1444 Use Painter::rectangle to draw EMPTY_BOX.
1446 2001-12-19 Juergen Vigna <jug@sad.it>
1448 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
1449 the paragraphs if the replaced paragraph is not the first one!
1450 Tried to delete not used paragraphs but does not work yet so for
1451 now it's inside #ifdef's and by default off!
1453 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1455 * MenuBackend.C: include "lyx_main.h" instead of declaring
1456 lastfiles (actually was declared as LastFiles* instead of a
1459 2001-12-17 Juergen Vigna <jug@sad.it>
1461 * tabular.C (AppendColumn): applied John's fix
1463 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
1467 * BufferView_pimpl.h:
1468 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
1471 * box.h: new start of class for above
1473 * lyxfunc.C: ignore space-only minibuffer dispatches.
1474 Show the command name when it doesn't exist
1476 * minibuffer.C: don't add empty lines to the history
1478 * minibuffer.C: add a space on dropdown completion
1480 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
1482 * text.C: fix line above/below drawing in insets
1484 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
1486 * lyxlength.C (LyXLength): Initialize private variables.
1488 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
1490 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
1491 when inserting error insets.
1493 2001-12-13 Juergen Vigna <jug@sad.it>
1495 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
1496 actually sometimes the before-paragraph.
1497 (setUndo): don't clear the redostack if we're not actually undoing!
1499 2001-12-06 Juergen Vigna <jug@sad.it>
1501 * undo_funcs.C (textHandleUndo): well after John's hint I got here
1502 and fixed redoing of main paragraph, so we can use it now ;)
1504 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
1506 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1508 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
1511 2001-12-13 André Pönitz <poenitz@gmx.net>
1514 * undo_func.C: minor cleanup
1516 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1518 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
1519 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
1520 font in urw-fonts package which is marked as -urw-fontspecific and
1521 does not work (incidentally, changing the encoding in the
1522 fonts.dir of this package to -adobe-fontspecific fixes the
1525 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
1526 is a crash when undoing first paragraph (Juergen, please take a
1527 look). THis does not mean the undo fix is wrong, just that it
1530 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
1531 the (Paragraph*) version when needed instead of duplicating the
1534 * text.C (workWidth): use Inset::parOwner to find out where the
1535 inset has been inserted. This is a huge performance gain for large
1536 documents with lots of insets. If Inset::parOwner is not set, fall
1537 back on the brute force method
1539 * paragraph_pimpl.C (insertInset):
1540 * paragraph.C (Paragraph):
1541 (cutIntoMinibuffer): set parOwner of insets when
1542 inserting/removing them
1544 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
1546 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
1552 * mathed/formulabase.C:
1553 * mathed/math_cursor.[Ch]:
1554 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
1557 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1559 * lyxlength.[Ch] (operator!=): new function
1561 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1563 * text.C (workWidth): use Inset::parOwner to find out where the
1564 inset has been inserted. This is a huge performance gain for large
1565 documents with lots of insets. If Inset::parOwner is not set, fall
1566 back on the brute force method
1568 * paragraph_pimpl.C (insertInset):
1569 * paragraph.C (Paragraph):
1570 (cutIntoMinibuffer): set parOwner of insets when
1571 inserting/removing them
1573 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
1575 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1577 * tabular-old.C (getTokenValue):
1578 * tabular.C (getTokenValue):
1579 (write_attribute): new versions for LyXLength
1580 (everywhere): adjust the use of widths
1582 * tabular.h: change the type of widths from string to LyXLength
1584 2001-12-11 Ben Stanley <bds02@uow.edu.au>
1586 * paragraph.C: fixed missing line number count when exporting
1587 Environments to LaTeX file
1589 * buffer.C: added informational message for checking line numbers.
1591 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1593 * text2.C (deleteEmptyParagraphMechanism): if there is only one
1594 paragraph, do the 'double space' part, but not the 'empty
1597 * text.C (workWidth): small optimization
1598 (getLengthMarkerHeight): use minimal size for negative lengths.
1600 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
1602 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
1604 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
1606 2001-12-11 André Pönitz <poenitz@gmx.net>
1609 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
1611 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
1613 * text2.C: keep selection on a setFont()
1615 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
1617 * lyx_cb.C: another bv->text misuse, from insert label
1619 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
1622 * kbsequence.C: re-instate nmodifier mask
1624 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
1626 * lyx_main.h: make lyxGUI private.
1628 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
1630 * lyxfind.C: place the cursor correctly on failed search
1632 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1634 * text.C (getLengthMarkerHeight): for small heights, the arrows
1635 are not always on top/bottom of the text
1636 (drawLengthMarker): smaller arrows; take the left margin in
1637 account; draw also vfills.
1639 (paintLastRow): remove special code for vfill and standard spaces,
1640 since everything is handled in drawLengthMarker now.
1642 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
1644 * buffer.C (insertErtContents): try to handle font and language
1645 interaction a bit better.g
1647 * ColorHandler.C (updateColor): change the hash to cover the whole
1648 LColor enum, ws cleanup
1649 (getGCLinepars): ditto
1650 (getGCLinepars): only lookup in the linecache once.
1652 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
1654 * iterators.C (operator++): Make the iterator more robust
1656 * BufferView2.C (removeAutoInsets): Use paragraph iterators
1658 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
1660 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1663 * text.C: better added space drawing
1665 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1668 * BufferView2.C: fix layout combo update on inset unlock
1670 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1672 * Makefile.am: don't compile unused files
1674 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1678 * LyXAction.C: remove old LFUN_LAYOUTNO
1680 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1682 * paragraph_pimpl.h:
1683 * paragraph_pimpl.C: isTextAt() doesn't need font param
1685 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1688 * lyxlex.C: little cleanup
1690 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1692 * BufferView_pimpl.C: fix insertAscii for insets
1694 2001-12-05 Juergen Vigna <jug@sad.it>
1696 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
1697 set the right font on the "multi" paragraph paste!
1699 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1705 * lyxlength.C: remove out-commented code.
1721 * vc-backend.C: change "while(" to "while ("
1723 * lyxlength.[Ch]: add zero function to check if length is zero or
1725 * lyxgluelength.C: use it
1727 2001-12-05 Allan Rae <rae@lyx.org>
1729 * lyxlength.C: Attempted a fix for the abs(int) header selection.
1730 Works for 2.95.3, from what I understand of Garst's reports this should
1731 work for other g++ versions. We're screwed if the abs(int) definition
1732 changed between bugfix releases of gcc.
1734 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
1736 * text.C: fix chapter label offset !
1738 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
1741 * text.C: fix hfill at end of line, clean up
1743 2001-12-04 Juergen Vigna <jug@sad.it>
1745 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
1746 that we force an update of the inset and it's owners if neccessary.
1748 2001-12-03 Juergen Vigna <jug@sad.it>
1750 * text.C (rowLast): simplified code
1752 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
1754 * lyxfunc.C: fix show options on timeout
1756 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1758 * screen.C (topCursorVisible): scroll half a page when the cursor
1759 reached top of bottom of screen
1761 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
1763 * minibuffer.C: deactivate on loss of focus
1765 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
1767 * vspace.[Ch] (operator!=): add operator.
1769 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
1771 * BufferView_pimpl.C: refuse to open an inset when
1772 there's a selection.
1774 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
1776 * BufferView_pimpl.C: allow to click on RHS of full row insets
1778 2001-11-30 Juergen Vigna <jug@sad.it>
1780 * tabular.C (LyXTabular): add a same_id to set the same id's in the
1781 insets for undo reasons.
1783 2001-11-28 André Pönitz <poenitz@gmx.net>
1785 * vspace.[Ch]: cosmetical changes
1787 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
1797 * kbsequence.C: part re-write of old kb code
1800 * WorkArea.C: remove Lgb_bug_find_hack
1802 2001-11-30 José Matos <jamatos@fep.up.pt>
1804 * buffer.C (makeDocBookFile): add a comment to point a hack.
1805 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
1806 Fixed a double write of labels.
1808 2001-11-29 Ben Stanley <bds02@uow.edu.au>
1811 * LaTeX.h Fixed bug in LaTeX class where it would not
1812 re-run latex if no depfiles were changed, but the .dvi was removed.
1814 2001-11-28 André Pönitz <poenitz@gmx.net>
1816 * all the files from the change on 2001/11/26:
1817 use lyx::layout_type instead of LyXTextClass::size_type
1818 use lyx::textclass_type instead of LyXTextClassList::size_type
1820 2001-11-29 Juergen Vigna <jug@sad.it>
1822 * text.C: added support for paragraph::isFreeSpacing()
1824 * buffer.C: same as above
1826 * paragraph.h: inserted isFreeSpacing() function to enable
1827 FreeSpacing inside InsetERT.
1829 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
1830 of the paragraph's in the cut/copy buffer to 0!
1832 * text2.C (removeRow): remove the assert as it can!
1834 * lyxtext.h: added helper function firstRow returning firstrow and
1835 made firstrow private again.
1837 * BufferView2.C (lockInset): don't relock if we're already locked!
1839 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
1841 (removeRow): added Assert::(firstrow)
1843 * debug.C: forgot to add INSETTEXT here.
1845 2001-11-28 Juergen Vigna <jug@sad.it>
1847 * sp_spell.C (initialize): changed error text to more general
1848 spellchecker command use (not only ispell!)
1850 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
1852 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
1854 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
1856 * vspace.C: initialise lyxgluelength on failure
1858 2001-11-28 Allan Rae <rae@lyx.org>
1860 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
1861 declaration & definition that looks like a function declaration.
1863 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1865 * BufferView2.C (copy):
1866 (copyEnvironment): do not clear the selection when doing a copy.
1868 * text.C (paintFirstRow): compilation fix
1870 2001-11-27 Ben Stanley <bds02@uow.edu.au>
1872 * tabular.C (Latex): correct line count when writing latex.
1874 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
1876 * paragraph_pimpl.h:
1877 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
1880 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
1884 * LColor.C: change vfillline->added_space
1886 * text.C: add markers and text for added space
1888 * vspace.C: fix comment
1890 2001-11-28 André Pönitz <poenitz@gmx.net>
1892 * paragraph.C: whitespace changes
1893 * all the other files from the change on 2001/11/26:
1894 change *::pos_type into lyx::pos_type
1896 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
1898 * buffer.C (parseSingleLyXformat2Token): Set the language to the
1899 language of the document when inserting error insets.
1901 2001-11-26 André Pönitz <poenitz@gmx.net>
1903 * BufferView_pimpl.[Ch]:
1911 * paragraph_pimpl.[Ch]:
1914 * text2.C: reduce header dependencies, introduce type for positions
1916 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
1918 * <various>: change to use Alert.h
1920 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
1922 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
1923 when encountering an unknown token.
1924 (readLyXformat2): Show an error message if there were unknown tokens.
1926 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
1929 * BufferView_pimpl.C:
1933 * text2.C: use par->isInset()
1935 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
1937 * paragraph_pimpl.h:
1938 * paragraph_pimpl.C: cleanup
1940 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1942 * text2.C (removeRow):
1943 * text.C (setHeightOfRow): remove useless (and costly) call to
1946 2001-11-20 Allan Rae <rae@lyx.org>
1948 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
1949 Now need Inset*::checkInsertChar() to return true for appropriate
1950 cases so that the characters in the minibuffer will actually be
1953 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
1955 * text.C: change the order of the includes.
1956 (workWidth): initialize it at once.
1957 (workWidth): make maxw unsigned
1958 (setHeightOfRow): remove unused variable (inset)
1959 (selectSelectedWord): remove unused variable (inset)
1960 (paintRowText): fix drawing of hfill characters, and clean up a bit.
1962 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1964 * lyxserver.C (emergencyCleanup): do not try to close pipes if
1965 server is not running.
1967 (closeConnection): add debug info when server is disabled.
1969 * ColorHandler.C (getGCForeground): send debug message to GUI
1972 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
1974 * kbmap.C (bind): modify because return conventions of
1975 kb_sequence::parse have changed.
1977 * kbsequence.C (parse): only ignore spaces and not any stupid
1978 control character. This avoids tests like s[i] <= ' ', which are
1979 guaranteed to fail with 8bit characters and signed chars.
1980 Change return code to string::npos when there have been no error
1981 (0 was a bad idea when error is at first character)
1983 2001-11-14 José Matos <jamatos@fep.up.pt>
1986 * buffer.C (simpleDocBookOnePar): removed unused argument.
1988 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1990 * text.C (selectNextWordToSpellcheck): do not test explicitely for
1991 insets which are part of a word. Paragraph::isLetter takes care of
1992 that now. Use Paragraph::isInset to identify insets.
1993 (selectSelectedWord): do not test for hyphenation break.
1995 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
1996 that protected spaces are considered as spaces.
1998 * paragraph.C (isLetter): cleanup the code for ispell extras; use
2001 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
2004 * lyxserver.C: fix it. and small cleanup.
2006 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
2008 * BufferView_pimpl.C: use inline helpers
2011 * LaTeXFeatures.C: fix typos
2014 * Spacing.C: move spacing_string into class
2016 * ToolbarDefaults.C: move stuff into namespace anon
2018 * layout.h: update enum
2020 * lyxfunc.C: use better debug
2022 * minibuffer.h: fix typo
2026 * WorkArea.C: add and use Debug::WORKAREA
2030 * text2.C: code re-organisation, inline helpers
2032 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
2034 * Layout.C: replaced a few cases of std::vector.size() == 0 with
2035 std::vector.empty().
2037 2001-11-09 Allan Rae <rae@lyx.org>
2039 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
2040 '\n's after tables. Tabular and ERT inset work now makes this no
2043 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
2046 * minibuffer.C: fix crash, improve drop-down completion
2048 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
2051 * lyxserver.C: invalidate fd's when doing endPipe()
2053 2001-11-08 José Matos <jamatos@fep.up.pt>
2055 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
2056 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
2059 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
2061 2001-11-07 José Matos <jamatos@fep.up.pt>
2064 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
2067 * buffer.C (sgmlOpenTag):
2068 * buffer.C (sgmlCloseTag): removed debug info.
2070 * buffer.h (sgmlOpenTag):
2071 * buffer.h (sgmlCloseTag): made public.
2073 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2075 * buffer.C (saveParamsAsDefaults):
2076 * lyx_cb.C (MenuLayoutSave): remove
2078 * LyXAction.C (init):
2080 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
2082 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2084 * buffer.C (setPaperStuff): removed from here...
2086 * bufferparams.C (setPaperStuff): ... and moved there.
2088 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
2092 * XFormsView.C: add support for drop-down completion
2094 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
2096 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
2099 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2101 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
2104 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
2106 * lyx_main.C: change ref to known bugs
2108 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
2110 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
2111 to work around older babel problems.
2113 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
2115 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
2117 2001-10-24 Juergen Vigna <jug@sad.it>
2119 * tabular-old.C (ReadOld): below variable changes reflected.
2121 * tabular.[Ch]: added ltType struct for longtable header/footer
2122 defines and changed all instances where they are used. Added
2123 future support for double top/bottom rows.
2125 2001-10-24 José Matos <jamatos@fep.up.pt>
2127 * buffer.h (docbookHandleCaption):
2128 * buffer.C (docbookHandleCaption): removed unused function.
2129 (makeDocBookFile): moved docbook supported version to v4.1.
2131 2001-10-24 José Matos <jamatos@fep.up.pt>
2134 * tabular.C (docbookRow): new function to export docbook code of a row.
2135 (DocBook): now honors the longtable flags.
2137 2001-10-23 José Matos <jamatos@fep.up.pt>
2140 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
2141 of the lyx defined sgml entities used in a docbook/linuxdoc document.
2143 * buffer.C (makeLinuxDocFile):
2144 (makeDocBookFile): reworked the preamble, more clean, and with
2145 support for lyx defined entities. Changed the document declaration
2146 to be more XML friendly.
2148 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
2149 if we need to output XML that should be done with a filter.
2151 2001-10-22 Juergen Vigna <jug@sad.it>
2153 * sp_pspell.h (class PSpell): add alive function needed in the
2154 controller to see if the spellchecker could be started.
2156 2001-10-22 Juergen Vigna <jug@sad.it>
2158 * buffer.C (insertStringAsLines): modify the font for inserting
2159 chars in certain conditions by calling checkInsertChar(font).
2161 2001-10-19 Juergen Vigna <jug@sad.it>
2163 * text.C (workWidth): use getRow instead of wrong algorithm.
2164 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
2166 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
2171 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
2173 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2175 * text.C (workWidth): do not search for the exact row when
2176 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
2177 optimization for big documents.
2179 2001-10-18 Juergen Vigna <jug@sad.it>
2181 * text.C (workWidth): new function with added Inset * parameter.
2183 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2185 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
2187 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
2188 change return type of getColumnNearX.
2191 * text.C (changeRegionCase): use uppercase/lowercase instead of
2194 (rightMargin): simplify code by factoring out the uses of
2199 (appendParagraph): use Paragraph::size_type
2201 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2203 * vspace.C (asLatexString): add a missing break
2205 2001-10-15 Herbert Voss <voss@perce.de>
2207 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
2209 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2211 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
2214 2001-10-10 André Pönitz <poenitz@gmx.net>
2216 * lyxfunc.C: removed greek_kb_flag.
2218 2001-10-10 Herbert Voss <voss@perce.de>
2220 * lyx_main.C: delete global string help_lyxdir.
2222 2001-10-09 Herbert Voss <voss@perce.de>
2224 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
2226 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
2228 * lyx_main.C: added global string help_lyxdir.
2230 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
2232 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2234 * lyxrc.C (set_font_norm_type): support iso8859-4
2236 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
2238 * LaTeX.C (deplog): add another regex for MikTeX
2240 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
2242 * lyxrc.C (set_font_norm_type): support iso8859-3
2244 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2246 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
2248 * LaTeXFeatures.C: remove special case of french and index
2250 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
2251 before \begin{document}). This solves several incompatibilities.
2253 2001-10-03 Garst Reese <reese@isn.net>
2255 * lyx_cb.C: change CheckTex error msg.
2257 2001-10-03 José Matos <jamatos@fep.up.pt>
2259 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
2261 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2263 * .cvsignore: update
2265 * lyx_main.C (commandLineVersionInfo): use new style version info.
2267 * buffer.C (writeFile):
2270 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
2272 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
2274 * version.h: update to use stuff in version.C
2276 * version.C.in: new file. Contains version information determined
2277 at compile time. This is a merging of version.h and
2280 2001-10-03 Juergen Vigna <jug@sad.it>
2282 * BufferView_pimpl.C (update): don't change "dirty" status in
2285 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
2287 * WorkArea.C (c-tor): re-position version string slightly.
2289 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
2291 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
2292 revert to previous code.
2294 WorkArea.[Ch]: (show, destroySplash): methods removed.
2296 WorkArea.C: rework code so that it's an amalgam of the codes before and
2297 after the splash screen was moved to WorkArea.
2299 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2302 * vspace.C (inPixels):
2305 * buffer.C (insertStringAsLines):
2306 (asciiParagraph): fix types to be large enough
2308 * lyxlex_pimpl.h: change member status from short to int
2310 * layout.h: fix type of endlabeltype
2313 * kbsequence.C (parse): change return type to string::size_type
2315 * LaTeX.C (updateBibtexDependencies): comment out unneeded
2318 * Bullet.C (bulletSize):
2319 (bulletEntry): do not use short ints as parameters
2321 * BufferView2.C (insertLyXFile): change a char to an int.
2323 * WorkArea.C (WorkArea): remove unneeded floats in computation
2325 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
2327 * buffer.C (asciiParagraph): Treat '\\' as other chars.
2329 * paragraph.C (asString): Do not ignore newline/hfill chars when
2330 copying to the clipboard.
2332 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
2334 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
2335 after a multi-line inset.
2337 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
2339 * paragraph.C (validate): Set NeedLyXFootnoteCode
2341 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
2343 * lyxfont.C (LyXSizeNames): changed increase-error to increase
2344 and decrease-error to decrease.
2346 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2348 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
2349 it more readable (should be equivalent)
2351 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
2353 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
2355 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2357 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
2358 of a cursor (row, etc.) after a character has been deleted
2359 (deleteEmptyParagraphMechanism): call the method above on _all_
2360 cursors held by the LyXText when a double space has been
2363 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
2365 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
2367 (resizeCurrentBuff): remove code to destroy the old splash dialog.
2369 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
2370 background. Use greyOut() and the new show() methods to toggle between
2371 the foreground and background. Add code to remove the splash after
2372 its initial showing.
2374 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
2375 (create_forms): no longer call Dialogs::showSplash.
2377 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2379 * .cvsignore: add version_info.h
2381 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2383 * version_info.h.in: new file
2385 * Makefile.am: add version_info.h.in
2387 * lyx_main.C (commandLineVersionInfo): use version_info defined in
2388 version_info.h instead of VERSION_INFO
2390 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
2392 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
2393 The ERT inset now returns string().
2395 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
2397 * lyxtext.h, text.C (selectNextWord): renamed as
2398 selectNextWordToSpellcheck.
2400 * text.C (selectNextWordToSpellcheck): Modified to not select
2401 words inside an ERT inset.
2403 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2405 * lyx_cb.C (MenuLayoutSave): change a bit the question
2407 * sp_base.h: include <sys/types.h>
2409 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
2411 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
2413 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
2415 * several files: fix typos in user-visible strings
2417 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2419 * text2.C (pasteSelection): do not set the selection, since it
2420 will be cleared later. Actually, the intent was to fix the way the
2421 selection was set, but I figured rmoving the code was just as good.
2423 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
2425 * FontLoader.C (available): Check if font is available without
2428 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2430 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
2432 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
2434 * lyxrc.[Ch]: added display_graphics variable and associated code.
2436 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2438 * bufferparams.C (hasClassDefaults): new method. Returns true if
2439 the buffer parameters correspond to known class defaults
2441 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
2443 * XFormsView.C (show): set minimum size to the main window.
2445 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2447 * text2.C (copySelection):
2449 * lyxfind.C (LyXReplace):
2450 * BufferView_pimpl.C (Dispatch): pass the correct flag to
2451 LyXText::selectionAsString.
2453 * paragraph.C (asString): add "label" argument to the second form
2455 * text2.C (selectionAsString): add "label" argument and pass it to
2456 Paragraph::asString.
2458 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2460 * lyx_main.C (commandLineHelp): remove version information
2462 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
2464 * lyx_main.C: add -version commandline option
2466 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
2468 * paragraph.h: make the optional constructor arg required instead.
2469 some modifications to other files because of this.
2471 * minibuffer.C (C_MiniBuffer_peek_event): make it static
2473 * lyxserver.C (C_LyXComm_callback): make it static
2475 * lyx_main.C (error_handler): make it static
2477 * lyx_gui.C (LyX_XErrHandler): make it static
2479 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
2481 * WorkArea.C: make the extern "C" methods static.
2483 * Makefile.am (lyx_LDADD): simplify
2485 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
2487 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
2488 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
2490 * LyXAction.C (init):
2491 * lyxfunc.C (dispatch): associated code removal.
2493 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2495 * lyxfont.h (isSymbolFont): shut off warning
2497 * text.C (setHeightOfRow):
2498 (getVisibleRow): fix crash with empty paragraphs which have a
2501 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
2503 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
2506 2001-09-04 José Matos <jamatos@fep.up.pt>
2509 * tabular.C (docbook): rename docBook method to docbook.
2511 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
2513 * Makefile.am: add dependencies to main.o.
2515 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
2517 * FontLoader.C (available): Return false if !lyxrc.use_gui
2519 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
2521 * FontInfo.C (query):
2522 * converter.C (view):
2523 * importer.C (Import):
2524 * exporter.C (Export): Can not -> cannot.
2526 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
2528 * BufferView_pimpl.C: allow to create index inset even if
2531 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
2533 * buffer.C (getLists): replace boost::tie code with an explicit pair
2534 as boost::tie can break some compilers.
2536 * iterators.h: Added a std:: declaration to the return type of
2539 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
2541 * lyxrc.C: add help for view_dvi_paper_option, default to safe
2544 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
2546 * iterators.[Ch]: New files. Provide paragraph iterators.
2548 * buffer.C (changeLanguage): Use paragraph iterators.
2549 (isMultiLingual): ditto
2551 * BufferView2.C (ChangeInsets): Use paragraph iterators.
2553 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
2555 * FontLoader.C: Support for cmr font.
2557 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
2559 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
2560 (available): New method.
2562 * FontInfo.C (getFontname): Use scalable fonts even when
2563 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
2566 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
2568 * converter.C (Formats::view): reverted! Incorrect fix.
2570 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
2572 * converter.C (Formats::view): only output the -paper option
2573 if the dvi viewer is xdvi, thereby fixing bug #233429.
2575 2001-08-23 Herbert Voss <voss@perce>
2577 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
2579 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
2581 * Spacing.h (Spacing): Set space to Default on in the default
2584 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
2586 * vc-backend.h (RCS::versionString): add RCS to version
2587 (CVS::versionString): add CVS to version
2589 * vc-backend.C (scanMaster): do not add CVS to version.
2590 (scanMaster): do not add RCS to version
2592 * lyxvc.C (versionString): new method
2594 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
2596 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
2598 * Spacing.C (set): initialize fval
2600 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
2602 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
2605 2001-08-16 Juergen Vigna <jug@sad.it>
2607 * lyxfunc.C (dispatch): implemented the new FINISHED states.
2609 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
2611 * BufferView_pimpl.C:
2614 * text2.C: setParagraph takes linespacing now
2616 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
2618 * LyxAction.C: add internal LFUN_CITATION_INSERT
2620 * LyXView.C: actually apply fix
2622 * bufferlist.C: fix open non-existent file
2624 * lyxfind.C: fix indentation
2626 * lyxfunc.C: remove unneeded assert, fix typo
2628 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
2630 * MenuBackend.C: use "Floatname List"
2632 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
2634 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
2635 when converting LaTeX layout to insetERT.
2636 Generate a non-collapsed float when reading old float
2638 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
2640 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
2643 2001-08-13 Juergen Vigna <jug@sad.it>
2645 * text.C (fill): return 0 instead of 20 as this seems to be the more
2648 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
2650 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
2653 2001-08-13 Juergen Vigna <jug@sad.it>
2655 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
2657 (SearchBackward): comment out the unlocking of the inset_owner this
2658 should not be needed!
2660 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
2662 * Many files: Remove inherit_language, and add latex_language
2664 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
2667 2001-08-10 Juergen Vigna <jug@sad.it>
2669 * text.C (prepareToPrint): fixed hfill-width in draw!
2671 * BufferView2.C (selectLastWord): save the selection cursor as this
2672 now is cleared in the function LyXText::clearSelection!
2674 2001-08-08 Juergen Vigna <jug@sad.it>
2676 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
2677 BACKSPACE type functions.
2679 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
2680 is only cutted from the document but not put in the cut-buffer, where
2681 still the old stuff should be.
2683 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
2685 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
2687 * tabular.C (SetWidthOfCell): fixed special case where the width
2689 (LeftLine): handle '|' in align_special.
2691 (LeftAlreadyDrawed): ditto
2692 (SetWidthOfCell): ditto
2694 2001-08-07 Juergen Vigna <jug@sad.it>
2696 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
2698 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2700 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
2701 * lyxlex.[hC]: ditto
2703 2001-08-06 Juergen Vigna <jug@sad.it>
2705 * text.C (getVisibleRow): fix up row clearing a bit.
2707 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2709 * minibuffer.C: make sure the X server sees the changes in the input.
2711 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2713 * paragraph.C (getFont): split into...
2714 (getLabelFont): this
2715 (getLayoutFont): and this
2716 * paragraph_pimpl.C (realizeFont): calling this
2718 * text2.C (getFont): split into...
2719 (getLayoutFont): this
2720 (getLabelFont): and this
2721 (realizeFont): all three calling this
2723 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
2726 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2728 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
2730 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
2732 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
2733 layouts from the Quote inset insertion.
2735 2001-08-03 Juergen Vigna <jug@sad.it>
2737 * BufferView_pimpl.C (update): do the fitCursor only at the end!
2739 * screen.C (drawFromTo): don't call fitcursor here and do the loop
2740 only if status not is already CHANGED_IN_DRAW (second level).
2742 * text.C (draw): don't set the need_break_row when inside an
2745 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
2747 * buffer.C (parseSingleLyXformat2Token): handle more latex
2750 * bufferview_funcs.[hC]: change function names to
2751 begin with small char, adjust other files.
2753 2001-08-02 André Pönitz <poenitz@gmx.net>
2756 BufferView_pimpl.C: remove broken special code for math-greek
2758 2001-08-02 Juergen Vigna <jug@sad.it>
2760 * BufferView_pimpl.C (update): redone this function so that we
2761 update the text again if there was a CHANGE_IN_DRAW.
2763 * screen.C (cursorToggle): removed LyXText parameter and recoded.
2764 (drawFromTo): added a new internal bool which is used by draw() and
2766 (general): some cursor drawing problems fixed.
2768 2001-08-01 Juergen Vigna <jug@sad.it>
2770 * lyxfind.C (LyXFind): fixed
2771 (SearchForward): ditto
2772 (SearchBackward): ditto
2774 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
2775 spurius drawing of the cursor in the main area.
2777 * text2.C (status): small fix which could lead to a segfault!
2778 (clearSelection): remove unneeded BufferView param.
2780 2001-08-01 André Pönitz <poenitz@gmx.net>
2782 * lyxfunc.C: small change due to changed mathed interface
2784 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2786 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
2788 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
2790 * lyxfunc.c: fail gracefully if file doesn't exist
2795 * BufferView_pimpl.C: IsDirWriteable() proto changed
2797 * LyXView.C: fix updateWindowTitle() to store the last title
2799 2001-07-31 Juergen Vigna <jug@sad.it>
2801 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
2802 the font (wrong since using of Paragraph::highestFontInRange).
2804 * paragraph.C (highestFontInRange): added a default_size parameter.
2806 * text.C (getVisibleRow): minor clear row changes (still not perfect).
2807 (setHeightOfRow): reformat
2809 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
2811 * converter.[hC] + affected files: move to (inital-char)lowercase
2814 * ParagraphParameters.C (ParagraphParameters): remove commented code
2816 * PainterBase.[Ch]: remove commented code
2818 * LaTeXFeatures.h: add "bool floats" for float.sty
2820 * LaTeXFeatures.C (LaTeXFeatures): init floats
2821 (require): handle float
2822 (getPackages): do it with floats
2824 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2826 * BufferView_pimpl.C (Dispatch): improve handling of
2827 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
2829 * commandtags.h: #include lyxfont.h here temporarily to avoid
2832 * bufferlist.h: include LString.h here.
2834 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2836 * text2.C (getStringToIndex): new method.
2838 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
2840 * *: Reduced header file dependencies all over.
2842 2001-07-30 Baruch Even <baruch@lyx.org>
2844 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
2846 2001-07-29 Baruch Even <baruch@lyx.org>
2848 * buffer.C (readInset): Changed GRAPHICS to Graphics.
2850 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
2852 * ParameterStruct.h (endif): add a default constructor to make
2853 sure that all variables is initialized.
2855 * ParagraphParameters.C (ParagraphParameters): adjust
2857 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2859 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
2860 index; also, check that there is something to index, and that it
2861 does not span over several paragraphs.
2862 (doubleClick): use WHOLE_WORD_STRICT for double click.
2864 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
2866 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
2869 2001-07-26 Baruch Even <baruch@lyx.org>
2871 * buffer.C (readInset): Changed to call up InsetGraphics when reading
2872 an InsetFig figure, backwards compatible reading of old figure code.
2874 2001-07-27 Juergen Vigna <jug@sad.it>
2876 * text2.C: font.realize function adaption.
2878 * text.C (draw): add a warnings lyxerr text if needed.
2880 * layout.C: font.realize function adaption.
2882 * language.C: add inherit_language and implement it's handlings
2884 * bufferview_funcs.C (StyleReset): remove language parameter from
2885 font creation (should be language_inherit now).
2887 * bufferparams.C (writeFile): handle ignore_language.
2889 * paragraph.C (getFontSettings): the language has to be resolved
2890 otherwise we have problems in LyXFont!
2892 * lyxfont.C (lyxWriteChanges): added document_language parameter
2893 (update): removed unneeded language parameter
2895 * paragraph.C (validate): fixed wrong output of color-package when
2896 using interface colors for certain fonts in certain environments,
2897 which should not seen as that on the final output.
2899 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
2901 * BufferView_pimpl.C:
2906 * LyXAction.C: add thesaurus support
2909 * lyxfind.C: add "once" parameter, for thesaurus, to not
2910 move to the next match
2912 2001-07-26 Juergen Vigna <jug@sad.it>
2914 * lyxfont.C (realize): honor ignore_language too!
2917 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
2919 * text.C (draw): one place more for ignore_language to not draw
2922 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
2924 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
2926 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2928 * buffer.C (parseSingleLyXformat2Token): a more general fix for
2929 the minipage conversion problem.
2931 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2933 * buffer.C (parseSingleLyXformat2Token): check minipage if we
2936 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
2938 * BufferView.h: don't forward declare WorkArea
2940 * BufferView.C: don't include WorkArea.h
2942 2001-07-25 André Pönitz <poenitz@gmx.net>
2946 * lyxfunc.C: new LFUN 'math-space'
2948 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
2950 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
2952 * text2.C (toggleInset): call open/close
2954 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2956 * lyxfunc.C (dispatch): add debug for the disabled case
2958 * font.C (buttonText): make similar to rectText
2960 * buffer.C (readInset): comment out parsing of insetlist and
2963 * PainterBase.C (rectText): small correction
2965 * BufferView_pimpl.C: comment out insettheorem and insetlist
2966 * LyXAction.C: ditto
2967 * commandtags.h: ditto
2969 2001-07-24 Juergen Vigna <jug@sad.it>
2971 * text.C (draw): honor the ignore_language.
2973 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
2975 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2977 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
2980 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2982 * lyxtext.h: remove unused (and unimplemented) methods
2984 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2986 * text.C (getVisibleRow): honor background color
2989 * Painter.h: remove default color argument for fillRectangle
2991 * text.C (backgroundColor): new method
2993 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2995 * text.C (getVisibleRow): adjust
2997 * font.[Ch] (rectText): new method, metrics
2998 (buttonText): new method, metrics
3000 * PainterBase.[hC]: make rectText and buttonText always draw and take
3003 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3005 * ToolbarDefaults.C (read):
3006 * MenuBackend.C (read): allow escaping in all strings
3008 * BufferView_pimpl.C (insertAndEditInset): new method.
3009 (Dispatch): use insertAndEditInset whenever appropriate.
3011 * BufferView_pimpl.C (insertNote): removed
3013 * BufferView_pimpl.C (smartQuote): new method, moved from
3014 BufferView; if an insetquote cannot be inserted, insert a '"'
3017 * BufferView2.C: remove insertCorrectQuote();
3019 * lyxfunc.C (getStatus): Add support for all remaingin
3022 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
3024 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
3025 command (necessary to pass " as parameter of self-insert.
3027 * text.C (selectWordWhenUnderCursor):
3028 (selectWord): add word_location parameter
3029 (selectWordWhenUnderCursor): same + remove special code for word
3031 (selectNextWord): use kind() to guess type of insetspecialchar,
3034 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
3035 (insertErtContents): create ert insets as collapsed.
3036 (readInset): better compatibility code for Info inset.
3038 2001-07-20 Juergen Vigna <jug@sad.it>
3040 * lyxfunc.C (dispatch): use always LyXFind now!
3042 * text2.C (init): add a reinit flag so that the LyXText can be
3043 reinited instead of deleted and reallocated (used in InsetText).
3045 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
3051 2001-07-18 Juergen Vigna <jug@sad.it>
3053 * text.C (selectNextWord): handle insets inside inset by calling
3054 always the bv->text functions so that we can go up the_locking_inset!
3056 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
3057 in strange locations when inside an inset!
3059 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
3060 handling to include insets.
3062 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
3064 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3066 * LyXAction.C (init):
3068 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
3069 LIGATURE_BREAK, since the name is so stupid.
3071 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
3073 * buffer.C (readInset): enable reading of new InsetNotes as well as old
3076 * FontLoader.C: remove FORMS_H_LOCATION cruft.
3078 * sp_form.[Ch]: remove.
3080 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
3082 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
3085 * src/buffer.C (readInset): ditto.
3087 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3089 * BufferView_pimpl.C (specialChar): new method. Obsoletes
3090 menuSeparator(), endOfSentenceDot(), ldots() and
3091 hyphenationPoint(), which are therefore removed.
3092 (Dispatch): handle LFUN_HYPHENATION_BREAK.
3094 * LyXAction.C (init):
3095 * commandtags.h: add LFUN_HYPHENATION_BREAK.
3097 * paragraph.C (getWord): removed.
3099 * BufferView_pimpl.C (Dispatch): use last word or selection for
3100 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
3102 * lyx_main.C (queryUserLyXDir): do not ask before creating
3103 user_dir, except if it has been named explicitely.
3105 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
3107 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
3108 a document of zero size.
3110 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
3112 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
3113 approriately in the c-tor and in require().
3114 (getPackages): output the appropriate LaTeX for natbib support.
3116 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
3117 variables "use_natbib" and "use_numerical_citations" when reading the
3119 (readInset): read the various natbib cite commands.
3120 (validate): white-space change.
3122 * bufferparams.[Ch]: new variables "bool use_natbib" and
3123 "bool use_numerical_citations".
3124 (writeFile): output them in the LyX file.
3126 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3128 * lyxfunc.C (getStatus): add support for all the inset insertion
3131 * text2.C (insertInset):
3132 * paragraph.C (insetAllowed):
3133 * BufferView_pimpl.C (insertInset): update to take in account the
3134 renaming of insertInsetAllowed
3136 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
3138 * text2.C (getInset): new method. returns inset at cursor position.
3140 * BufferView_pimpl.C (Dispatch): changes because of this.
3142 * LyXAction.C (init): rename open-stuff to inset-toggle.
3144 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
3146 * text2.C (toggleInset): renamed from openStuff; use
3149 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
3151 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
3153 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
3155 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
3157 * buffer.C (readLyXformat2): Add filename to the error dialog
3159 2001-07-18 Juergen Vigna <jug@sad.it>
3161 * tabular.C (GetCellNumber): put an assert here instead of the check!
3163 2001-07-17 Juergen Vigna <jug@sad.it>
3165 * BufferView_pimpl.C (toggleSelection): adapted too.
3167 * text.C (selectNextWord): adapted for use with insets.
3168 (selectSelectedWord): ditto
3170 2001-07-17 Juergen Vigna <jug@sad.it>
3172 * sp_spell.C (PSpell): fix initialitation order.
3174 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3176 * paragraph.C: spacing
3178 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
3180 * sp_spell.C: repair language selection for pspell
3182 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
3184 * lyxfunc.h: change more methods to begin with lower char.
3186 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
3188 * buffer.C (parseSingleLyXformat2Token): Generate error insets
3189 for unknown layouts.
3191 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
3193 * buffer.C (readLyXformat2): Generate an error dialog if there are
3196 2001-07-16 Juergen Vigna <jug@sad.it>
3198 * sp_spell.C: always compile ISpell part.
3200 * lyxrc.C: added use_pspell entry and it's handling.
3202 2001-07-13 Juergen Vigna <jug@sad.it>
3204 * sp_spell.C: removed double includes.
3206 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
3208 Consistent use of Lsstream.h:
3209 * Lsstream.h: added using std::stringstream for consistencies sake.
3211 * buffer.C: removed using std::stringstream
3213 * lyxfont.C (stateText):
3214 * paragraph.C (asString):
3215 * text.C (selectNextWord, selectSelectedWord):
3216 * text2.C (setCounter):
3217 * vspace.C (asString, asLatexString):
3218 std::ostringstream -> ostringstream.
3220 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
3222 * LyXAction.C: add LFUN_HELP_ABOUTLYX
3223 * commandtags.h: add LFUN_HELP_ABOUTLYX
3224 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
3226 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
3228 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
3230 * lyx_gui_misc.C: remove spellchecker
3231 * lyxfunc.C: showSpellchecker
3233 * sp_ispell.h: added
3234 * sp_pspell.h: added
3236 * sp_form.[Ch]: removed
3237 * spellchecker.[Ch]: removed
3239 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
3241 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
3243 (simpleTeXSpecialChars): Simply print the input character without
3244 any special translation if pass_thru is set.
3246 * layout.h: Added bool pass_thru to layout class for being able to
3247 implement pass through of a paragraph for Literate Programming.
3249 * layout.C: add LT_PASS_THRU to LayoutTags enum.
3250 * layout.C (LyXLayout): set pass_thru to flase in constructor.
3251 * layout.C (Read): add "passthru" to list of layout tags and add
3252 code to set the pass_thru boolean when it is read.
3254 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
3256 * trans_decl.h: remove allowed from KmodInfo
3258 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
3262 * paragraph_pimpl.C (erase): use boost::prior
3264 * Painter.C (text): use data() instead of c_str() when length is
3266 * WorkArea.C (putClipboard): ditto
3267 * font.h (width): ditto
3269 * BufferView2.C: use it-> instead of (*it). for iterators
3271 * paragraph_pimpl.C: ditto
3272 * paragraph.C: ditto
3273 * minibuffer.C: ditto
3278 * converter.C: ditto
3280 * Variables.C: ditto
3281 * TextCache.C: ditto
3282 * MenuBackend.C: ditto
3283 * LyXAction.C: ditto
3285 * FloatList.C: ditto
3287 * ColorHandler.C (LyXColorHandler): ditto
3289 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3291 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
3293 * text2.C (openStuff): reintroduce this method (which had been
3294 nuked in NEW_INSETS frenzy).
3296 * lyxfunc.C (Dispatch): when an action has not been handled, use
3297 its name in the error message, not its number.
3299 * paragraph.C (inInset): change method name to begin with lowercase.
3302 * text2.C: updates because of this.
3304 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3306 * ToolbarDefaults.C (add): add spaces in error message
3308 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3310 * buffer.C (readLyXformat2): initialize the ert comp. variables.
3311 (readLyXformat2): rename return_par to first_par, use lyxlex's
3312 pushToken and remove the manual push handling.
3313 (parseSingleLyXformat2Token): add another ert comp. variable:
3314 in_tabular, rename return_par to first_par. handle newlines better
3316 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3318 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
3320 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
3322 * text2.C (getParFromID): removed
3324 * buffer.C (getParFromID): new method moved form lyxtext.
3325 * BufferView2.C (insertErrors): adjust
3326 (setCursorFromRow): adjust
3327 * BufferView_pimpl.C (restorePosition): adjust
3328 * lyxfunc.C (Dispatch): adjust
3329 * undo_funcs.C (textUndo): adjust
3331 (textHandleUndo): adjust
3332 (textHandleUndo): adjust
3334 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3336 * buffer.C: up' the LYX_FORMAT
3338 * lyxfont.h: turn NO_LATEX on as default
3340 * buffer.C (insertErtContents): new methods of tex style compability.
3341 (parseSingleLyXformat2Token): use it several places.
3342 * tabular.C (OldFormatRead): and here
3344 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3346 * text2.C: remove some commented code.
3349 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
3350 * trans.C: changes because of the above.
3352 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
3354 * text2.C (setCounter): Fix counters bug with bibliography layout.
3356 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3358 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
3359 own member functions
3360 (simpleTeXSpecialChars): ditto
3362 2001-07-06 Juergen Vigna <jug@sad.it>
3364 * a lot of files: changed the access to LyXText::status and the
3365 call of undo-functions.
3367 * undo.[Ch]: added a inset_id to the undo informations.
3369 * undo_funcs.[Ch]: added and moved here all undo functions.
3371 * lyxtext.h: give the status enum a weight, made status_ a private
3372 variable and made accessor functions for it, removed the whole bunch
3373 of undo-functions as they are now in their own file, make some
3374 functions publically available. Added function ownerParagraph with
3377 * paragraph.[Ch]: added "bool same_ids" to the constructor,
3378 made InInset() a const function, added getParFromID() function.
3380 * buffer.[Ch]: added const version for inset_iterator functions,
3381 added getInsetFromID() function.
3383 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
3384 changed undo functions for new version.
3386 2001-07-05 Juergen Vigna <jug@sad.it>
3388 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
3389 unknow mechanism does not call the proper constructor but only this
3390 one also if I request the other!?
3392 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3394 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
3396 * text2.C (LyXText): use initialization lists.
3398 * lyxtext.h (Selection): initialize set_ and mark_
3399 (init): remove method
3401 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
3403 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
3405 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3407 * screen.[Ch]: change method names to begin with lowercase
3409 * BufferView_pimpl.C (updateScrollbar): simplify further and
3410 hopefully make it a bit faster.
3412 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3414 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
3415 calling directly xforms functions.
3417 * Painter.C (Painter):
3418 * lyx_cb.C (MenuWrite):
3419 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
3422 * lyx_gui.C: remove bogus guiruntime extern declaration.
3424 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3426 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
3428 (redoDrawingOfParagraph): ditto
3429 (redoParagraphs): ditto
3430 (cutSelection): don't create a object for CutAndPaste use the
3431 static method directly
3432 (pasteSelection): ditto
3434 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
3437 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3439 * modifications to some other files because of this.
3441 * Makefile.am (lyx_SOURCES): add XFormsView
3443 * XFormsView.[Ch]: new files
3445 * LyXView.[Ch]: make LyXView a base class for the gui handling for
3446 the main window. Move the gui dependent stuff to XFormsView
3448 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3450 * tabular.C (GetCellInset): update cur_cell also in the row/col
3451 version of this function.
3453 * lyxfunc.C: no need to include figure_form.h here.
3459 * lyxvc.C: no need to include forms.h here.
3461 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3463 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
3465 * lyxfunc.C (Dispatch):
3467 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
3468 constructor argument.
3470 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3472 * paragraph.C (Paragraph): dont't clear, and just set layout.
3473 (makeSameLayout): use params's copy contructor.
3475 * ParagraphParameters.[Ch] (makeSame): delete method
3477 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
3479 * Variables.[Ch]: fix indentation, rename set to isSet
3481 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3483 * lyxfunc.C (Dispatch): fix typo
3485 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3487 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
3490 * bufferlist.C: include assert.h for emergencyWrite().
3492 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
3494 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
3495 give up at last (bug #425202) !
3497 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
3503 * spellchecker.C: strip spellchecker options and bring up
3504 preferences tab instead
3506 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3508 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
3509 the istringstream constructor
3511 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3513 * paragraph.C (getLayout): fix return value
3515 * paragraph.h: do not declare getLayout as inline.
3517 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
3519 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
3521 * lyxcursor.h (operator<): new func
3522 (operator>): new func
3523 (operator>=): new func
3524 (operator<=): new func
3526 * text.C (changeCase): use selection.start and selection.end
3527 (changeRegionCase): require from to be <= to. Require par to be a
3530 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
3532 2001-06-27 Juergen Vigna <jug@sad.it>
3534 * text.C (cursorLeftOneWord): changed to return the cursor and added
3535 overlay with BufferView * parameter which calls this one.
3537 (selectWord): use new getWord function.
3538 (changeCase): renamed from changeWordCase as and extended to work
3541 * lyxtext.h: added enum word_location
3543 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
3544 changeCase as this operates now also on selections.
3546 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
3548 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
3550 * many files: send debug output to Debug::INFO instead of
3553 * converter.C (View):
3555 (Move): send debug output to Debug::FILES instead of console.
3557 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
3559 * lyxfunc.C (getStatus): use func_status
3561 * func_status.h: new header, describing the results of
3564 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
3567 2001-06-25 The LyX Project <jug@sad.it>
3569 * buffer.C (sgmlOpenTag):
3571 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
3573 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3575 * text2.C: remove some dead code
3577 * tabular.C (GetCellInset): store the last cell checked (gotten)
3579 * tabular.h: add the helper for the speedup
3581 * lyxtext.h: remove some dead code
3583 2001-06-26 The LyX Project <Asger>
3585 * paragraph.C: Change export to LaTeX of alignment to
3586 \begin{center} and family for better roundtrip work with reLyX.
3588 * Tune the math drawing a bit.
3590 2001-06-25 The LyX Project <Asger>
3592 * LColor.C (LColor): New color for math background. New color
3595 2001-06-25 The LyX Project <jug@sad.it>
3597 * lyxfunc.C (MenuNew): remove extra check for .lyx file
3600 * bufferlist.C (newFile): do not restrict to files ending with
3603 * BufferView_pimpl.C (MenuInsertLyXFile):
3605 2001-06-24 The LyX Project <jug@sad.it>
3607 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
3610 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3612 * lyxtext.h: rename most methods to begin with a small char.
3613 Lots of changes because of this.
3615 * paragraph.C (Paragraph): do not call fitToSize
3616 (erase): call Pimpl::erase
3617 (insertChar): call Pimpl::insertChar
3618 (insertInset): call Pipl::insertInset
3619 (breakParagraph): do not call fitToSize
3620 (breakParagraphConservative): do not call fitToSize
3621 (fitToSize): remove method
3623 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
3625 2001-06-24 The LyX Project <Asger>
3627 * Fix Qt compilation^2
3629 2001-06-24 The LyX Project <jug@sad.it>
3631 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
3632 depthHook(getDepth()-1).
3635 * ParagraphParameters.h:
3636 * ParameterStruct.h: change type of depth to unsigned int ==
3637 depth_type. Many adaptations to other files before of that.
3639 2001-06-24 The LyX Project <Asger>
3641 * Fix Qt compilation.
3643 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3645 * paragraph.h: renamed several methods to begin with small letter.
3646 several changes to many parts of the code because of this.
3648 2001-06-23 The LyX Project <jug@sad.it>
3650 * text2.C (InsertStringAsLines): renamed from InsertStringA;
3651 rewritten to discard all double spaces when KeepEmpty is off
3652 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
3653 to only handle newlines but not fiddle with spaces and friends.
3655 * lyxfunc.C (MenuNew): when doing 'new from template', use
3656 template_path as default directory
3658 2001-06-23 The LyX Project <Asger>
3660 * Clean-up of header file includes all over
3661 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
3663 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
3665 * paragraph.h: renamed from lyxparagraph.h
3667 2001-06-23 Asger <lyx@violet.home.sad.it>
3669 * Buffer.h: Removed Buffer::resize
3670 * BufferList.h: Removed BufferList::resize
3671 * LyXView.h: Added LyXView::resize. This way, we will only reflow
3672 the document lazily when we change the width, or the font settings.
3674 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
3676 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
3678 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
3680 * buffer.h: remove out of date comment
3682 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
3685 * screen.C: fix "theoretical" GC leak
3687 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3689 * LaTeX.C (scanAuxFile):
3690 (deplog): remove trailing \r when reading stream (useful under
3693 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
3695 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
3696 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
3697 and BufferView::theLockingInset(Inset*), so should use them and not
3698 access bv_->text->the_locking_inset directly.
3700 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
3702 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
3705 * tex-defs.h: remove old unused file
3707 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
3709 * BufferView_pimpl.C: fix typo, remove minibuffer message
3710 when buffer has loaded
3712 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3714 * lyxfunc.C (Dispatch): use stringstream
3715 (MenuNew): use stringstream
3716 (Open): use stringstream
3718 * importer.C (Import): use stringstream
3720 * bufferview_funcs.C (CurrentState): use stringstream
3722 * LaTeX.C (run): use stringstream
3724 * BufferView_pimpl.C (savePosition): use stringstream
3725 (restorePosition): use stringstream
3726 (MenuInsertLyXFile): use stringstream
3728 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
3741 * vspace.C: removed // -*- C++ -*- as first line.
3744 * version.h: added // -*- C++ -*- as first line.
3746 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3748 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
3750 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
3753 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
3755 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
3758 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3760 * gettext.C: include LString.h even when --disable-nls is on.
3762 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
3764 * converter.h (Get): changed argument type from int to
3765 FormatList::size_type to avoid unnecessary conversion.
3767 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
3770 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3772 * gettext.h: include LString.h even when --disable-nls is on.
3774 2001-06-07 Juergen Vigna <jug@sad.it>
3776 * text.C (BreakAgain): subst spaces with tabs.
3778 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
3779 (resizeInsetsLyXText): set force on resizeLyXText.
3781 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3783 * gettext.h (gettext_init):
3784 (locale_init): use a real definition instead of a macro
3786 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
3788 * Bufferview_pimpl.C:
3790 * LColor.C: further lcolor tidies
3792 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3794 * BufferView_pimpl.C (updateScrollbar): simplify.
3796 * BufferView2.C: don't include insets/insetinfo.h, change
3797 prototype for insertInset and call the Pimpl version. let
3798 updateInset call Pimpl version.
3800 * BufferView.h: move inset_slept to BufferView::Pimpl, move
3801 gotoInset to BufferView::Pimpl
3803 2001-06-01 Juergen Vigna <jug@sad.it>
3805 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
3806 inside a LockingInset (is the update needed at all?).
3808 2001-05-31 Juergen Vigna <jug@sad.it>
3810 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
3811 here not the old one otherwise how should we compare it afterwards
3814 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3819 * FontInfo.C: bring C functions into global namespace when
3822 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3824 * LString.h: make sure config.h has been loaded before LString.h.
3826 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
3827 (one for each char read by EatLine!).
3829 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
3832 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
3834 * paragraph.C (BreakParagraph): set the inset_owner in the new par
3835 to the same as the par we break from
3837 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
3839 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
3841 * MenuBackend.C (expand): also create menu entries for wide
3842 versions of the floats.
3844 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
3846 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
3848 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
3849 frontends/Makefile.am
3855 * tabular.C (getTokenValue): add std::
3857 * tabular-old.C (getTokenValue): add std::
3858 (getTokenValue): ditto
3859 (getTokenValue): ditto
3861 * screen.C (ToggleSelection): adjust
3863 * lyxtext.h: put selection cursors inside a Selection struct.
3865 * lyxfunc.C (moveCursorUpdate): adjust
3867 * lyxfont.C (latexWriteStartChanges): add std::
3871 * font.h: delete with(char const *, LyXFont const &)
3873 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
3875 * FontInfo.C (getFontname): add std::
3877 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3878 (workAreaButtonPress): adjust
3879 (tripleClick): adjust
3881 (moveCursorUpdate): adjust
3884 * BufferView2.C (gotoInset): adjust
3886 2001-05-30 Juergen Vigna <jug@sad.it>
3888 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
3889 to check pspell I add this as default as I now have new pspell
3890 libraries and they seem to use this.
3892 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
3894 * text2.C (CutSelection): make the cursor valid before the call to
3897 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3899 * kbsequence.C (parse): de-uglify a bit the parsing code, which
3900 relied on 0 terminated strings and other horrors. Bug found due to
3901 the new assert in lyxstring!
3903 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
3906 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3908 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
3911 * lyxfunc.C (processKeySym): change method of getting to the
3914 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
3915 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
3916 * BufferView_pimpl.[Ch]: here as private methods.
3918 2001-05-28 Juergen Vigna <jug@sad.it>
3920 * text.C (SetHeightOfRow): added the update() call again as it is
3921 needed to initialize inset dimensions!
3923 2001-05-16 Juergen Vigna <jug@sad.it>
3925 * text2.C (SetCharFont): Add new function with BufferView * and
3926 bool toggleall parameters for setting insets internal fonts.
3927 (SetFont): Freeze the undo as we may change fonts in Insets and
3928 all this change should be inside only one Undo!
3930 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
3931 setting font's in insets as for them we have the SetFont function!
3933 2001-05-15 Juergen Vigna <jug@sad.it>
3935 * text2.C (ClearSelection): to be sure we REALLY don't have any
3938 * tabular.C (TeXCellPreamble): fixed the left border problem for
3941 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
3943 * LaTeX.C (deplog): Make sure that the main .tex file is in the
3946 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
3948 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
3949 LFUN_BREAKPARAGRAPH.
3951 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
3952 help test to "internal only", similar for LFUN_INSERT_URL
3954 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
3955 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
3956 auto_region_delete and deadkeys.
3958 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
3961 * LColor.C: remove some dead entries, tidy a little
3963 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
3965 * lyxfunc.C (processKeySym): comment the Escape handling, remove
3967 (Dispatch): implement LFUN_ESCAPE
3969 * commandtags.h: add LFUN_ESCAPE
3971 * LyXAction.C (init): add entry for LFUN_ESCAPE
3973 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
3974 Remove commented code.
3975 (insertNote): moved here
3976 (open_new_inset): moved here
3978 * BufferView[2].[Ch]: move insertNote and open_new_inset to
3981 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3983 * kbmap.C (findbinding): clean it up and make it work correctly.
3985 * lyx_main.C (init): do not pass argc and argv as parameters
3987 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
3989 * buffer.C: fix path for OS/2 & Win32
3993 * lyx_main.C: Added os:: class.
3995 * os2_defines.h: update
3997 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3999 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
4000 better by trying again with reduced state.
4002 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4004 * lyxrc.C (read): print error about invalid key sequence only when
4005 debugging (because not all latinX keysyms are known to some X
4008 * kbsequence.C (getiso): add a few std:: qualifiers
4009 (getiso): comment out extra return statement.
4011 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
4013 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
4015 (Dispatch): enhance the accent inset a bit. (not perfect)
4017 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4019 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
4021 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4023 * bufferlist.C (emergencyWrite): fix assert() call
4025 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
4027 * text.C (InsertChar): Added trivial patch to only send the "you
4028 can not do multiple spaces this way" message once during a
4031 2001-05-08 Baruch Even <baruch@lyx.org>
4033 * Makefile.am: Changed order of libraries to get LyX to link properly
4034 with the gnome frontend.
4036 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4038 * LaTeXFeatures.h: add a std:: qualifier
4040 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
4042 * paragraph.C (String): use stringstream
4044 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
4046 * paragraph.C (writeFile): remove footflag arg
4048 * buffer.C (makeLaTeXFile): use stringstream
4049 (latexParagraphs): remove footnot gurba
4051 * LaTeXFeatures.C (getPackages): use stringstream
4052 (getMacros): likewise
4053 (getTClassPreamble): likewise
4054 (getFloatDefinitions): new method
4056 * paragraph.C (writeFile): reindent
4059 * WorkArea.h: revert the xpos + etc changes.
4061 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
4063 * lyxparagraph.[Ch]: add copy constructor, remove Clone
4065 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
4066 (pasteSelection): likewise
4067 * text2.C (CreateUndo): likewise
4069 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4071 * minibuffer.C (peek_event): temporarily reduce the functionality
4072 of the minibuffer (to allow args on lfuns)
4074 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
4075 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
4077 * buffer.C (readInset): add compability reading of old float
4078 lists, add reading of new style float list.
4079 (readInset): avoid reevaluation of inscmd.getCmdName()
4080 (getLists): reindent
4082 * MenuBackend.C (MenuItem): implement parsing of
4083 md_floatlistinsert and md_floatinsert.
4084 (expand::LastFiles): move initalizaton of iterators out of loop,
4086 (expand::Documents): introduce typdedef vector<string> Strings,
4088 (expand::ExportFormats): introduce typedef vector<Format const *>
4089 Formats, and use it.
4090 (expand): implement FloatListInsert and FloatInsert.
4092 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
4093 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
4094 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
4096 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
4098 (Dispatch::LFUN_FLOAT_LIST): implement
4100 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
4102 * LaTeX.C (run): Fix problem with --export code.
4104 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
4106 * BufferView.[Ch] (workarea): removed.
4107 (getClipboard) new method; wrapper for workarea()->getClipboard()
4109 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
4112 * WorkArea.h (width, height, xpos, ypos): These methods all
4113 returned the dimensions of the work_area sub-area of WorkArea,
4114 resulting in a position error if the WorkArea were resized. Now
4115 return the dimensions of the entire WorkArea.
4117 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
4119 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4121 * LaTeX.C (deplog): correct the syntax of regex reg1
4123 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4125 * undo.C: remove !NEW_INSETS cruft
4127 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
4129 * text2.C: remove !NEW_INSETS cruft
4131 * text.C: remove !NEW_INSETS cruft
4133 * tabular.C: remove !NEW_INSETS cruft
4135 * spellchecker.C: remove !NEW_INSETS cruft
4137 * lyxtext.h: remove !NEW_INSETS cruft
4139 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
4141 * lyxfunc.C: remove !NEW_INSETS cruft
4143 * lyxfind.C: remove !NEW_INSETS cruft
4145 * lyx_cb.C: remove !NEW_INSETS cruft
4147 * figureForm.C: remove !NEW_INSETS cruft
4149 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
4151 * buffer.[Ch]: remove !NEW_INSETS cruft
4153 * ToolbarDefaults.C: remove !NEW_INSETS cruft
4155 * CutAndPaste.C: remove !NEW_INSETS cruft
4157 * BufferView_pimpl.C: remove !NEW_INSETS cruft
4159 * BufferView2.C: remove !NEW_INSETS cruft
4161 * BufferView.h: remove !NEW_INSETS cruft
4163 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4165 * Lsstream.h: include LString.h before the sstream headers to
4166 fix problem with gcc 2.95.3 and lyxstring
4168 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4170 * lyx_main.C: add using directives when needed for C functions
4171 declared in std:: namespace.
4173 2001-04-27 Juergen Vigna <jug@sad.it>
4175 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
4176 (SetHeightOfRow): comment out the update call should not be needed!
4178 2001-04-13 Juergen Vigna <jug@sad.it>
4180 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
4181 (LyXTabular): tried to minimize operator= operations (and realized
4182 hopfully Lars wish).
4184 2001-04-27 Juergen Vigna <jug@sad.it>
4186 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
4188 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
4190 * lyxfunc.C (Dispatch): hack to make listof algorithm work
4192 * buffer.C (readInset): hack to make listof algorithm work
4194 * BufferView_pimpl.C: hack to make listof algorithm work
4196 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4198 * LyXAction.C: removed all !NEW_INSETS cruft
4199 (init): moved lfun_item in method
4201 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
4203 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
4205 * BufferView2.C (theLockingInset): white space.
4207 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4209 * minibuffer.C: include <iostream>
4211 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
4213 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
4215 * commandtags.h: add LFUN_TRANSPOSE_CHARS
4217 * text.[Ch] (TransposeChars): new method
4219 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4221 * call message directly through LyXView instead of through LyXFunc
4222 * BufferView2.C: adjust
4223 * BufferView_pimpl.C: adjust
4224 * FontLoader.C: adjust
4226 * bufferview_funcs.C: adjust
4227 * converter.C: adjust
4228 * figureForm.C: adjust
4229 * importer.C: adjust
4231 * lyx_gui_misc.C: adjust
4235 + more files in subdirs
4237 * lyxparagraph.h (size): move up int file
4240 * adjust all uses of Assert to lyx::Assert.
4242 * BufferView2.C (ChangeCitationsIfUnique): adjust for
4243 lyxfunctional in namespace lyx
4244 * layout.C (hasLayout): ditto
4247 (delete_layout): ditto
4248 (NumberOfClass): ditto
4249 * converter.C (GetFormat): ditto
4254 * bufferlist.C (getFileNames): ditto
4255 (emergencyWriteAll): ditto
4258 * MenuBackend.C (hasSubmenu): ditto
4261 * BufferView_pimpl.C (getInsetByCode): ditto
4263 2001-04-18 Juergen Vigna <jug@sad.it>
4265 * vspace.C (asLatexString): fixed the 100% problem.
4267 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4269 * lyxfunc.C (Dispatch):
4271 * minibuffer.h: add a few std:: qualifiers
4273 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
4275 * minibuffer.[Ch]: reimplement so that commands is initiated and
4276 run from lyxfunc, simplified som handling, and made the completion
4277 and history code for complete. wip.
4279 * lyxfunc.C (processKeySym): call message
4280 (miniDispatch): new temporary method
4281 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
4282 (LFUN_MESSAGE): implement
4283 (LFUN_MESSAGE_PUSH): implement
4284 (LFUN_MESSAGE_POP): implement
4285 (initMiniBuffer): the initial/defualt minibuffer message.
4287 * lyxfont.[Ch]: inline some more getters
4289 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
4291 * lyx_gui_misc.[Ch] (WriteStatus): remove method
4293 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
4294 (AutoSave): use LFUN_MESSAGE
4295 (Reconfigure): ditto
4297 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
4299 * figureForm.C: use LFUN_MESSAGE
4301 * converter.C (runLaTeX): use LFUN_MESSAGE
4303 * bufferview_funcs.C: use LFUN_MESSAGE
4305 (changeDepth): ditto
4307 * bufferparams.h: use boost::
4309 * bufferlist.h: inherit privately from noncopyable
4311 * bufferlist.C (loadLyXFile): remove some commented code.
4313 * buffer.C (runChktex): use LFUN_MESSAGE
4315 * ShareContainer.h: inherit privately from noncopyable
4317 * ParagraphParameters.[hC] (depth): inline it.
4319 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
4321 (message): new method
4322 (messagePush): ditto
4324 (show): init minibuffer
4325 (showState): direct call
4327 * LaTeX.[Ch]: inherit privately from noncopyable
4328 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
4329 instead of WriteStatus.
4331 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
4333 * BufferView_pimpl.C (buffer): don't init minibuffer
4334 (workAreaButtonPress): use LFUN_MESSAGE
4335 (workAreaButtonRelease): ditto
4336 (savePosition): ditto
4337 (restorePosition): ditto
4338 (MenuInsertLyXFile): ditto
4339 (workAreaExpose): don't init minibuffer
4340 (update): remove commented code, simplify
4342 * BufferView2.C (openStuff): use LFUN_MESSAGE
4343 (toggleFloat): ditto
4346 (copyEnvironment): ditto
4347 (pasteEnvironment): ditto
4352 (updateInset): remove some commented code
4354 * lastfiles.h: inherit privately from noncopyable
4359 * lyxlex_pimpl.h: ditto
4361 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
4362 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
4363 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
4365 * LyXAction.h: inherit privately from noncopyable, add methods
4366 func_begin, func_end, returning iterators to the func map.
4368 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
4369 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
4370 (func_begin): new method
4371 (func_end): new method
4373 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
4375 (copySelection): ditto
4376 (pasteSelection): ditto
4378 * BufferView.C: whitespace change
4379 * BufferView.h: inherit privately from noncopyable
4381 2001-04-16 Allan Rae <rae@lyx.org>
4383 * tabular-old.C (l_getline):
4384 * spellchecker.C (sc_check_word):
4385 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
4386 an unrecognised preprocessor directive. So ensure they're wrapped.
4388 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
4390 * src/exporter.C (Export): Give an error message when path to file
4393 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
4395 * LaTeX.C (deplog): Always check that foundfile exists.
4397 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4400 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
4402 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4404 * tabular.[Ch] (getLabelList): implement new method
4406 * minibuffer.h: comment ouf setTiimer
4408 * minibuffer.C (ExecutingCB): constify res
4409 (peek_event): constify s
4410 (Set): constify ntext
4411 (Init): constify nicename
4413 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
4415 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
4416 (savePosition): use two params to Minibuffer::Set
4417 (restorePosition): ditto
4419 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4421 * lyx_main.C: include language.h
4423 * Makefile.am (lyx_main.o): add language.h
4425 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4431 * CutAndPaste.C: include gettext.h
4433 * lyxfont.h: remove old hack with ON and OFF.
4436 * lyxfont.h: do not include language.h...
4441 * bufferview_funcs.C:
4447 * paragraph.C: ... but do it here instead
4449 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4451 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
4453 * tabular.C: small reformat
4455 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
4458 (BreakParagraph): ditto
4459 (SetOnlyLayout): ditto
4462 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
4465 * lastfiles.C: removed most using decl, add std:: where needed
4467 * buffer.C: ws changes
4469 * MenuBackend.C (class compare_format): put into anon namespace
4470 (expand): constify label, names, action, action2
4473 * text.C (SingleWidth): constify font
4474 (IsBoundary): constify rtl2
4475 (GetVisibleRow): constify ww
4477 * LaTeX.C (deplog): constify logfile
4479 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
4481 (workAreaExpose): constify widthChange, heightChange
4483 * lyxrow.C (par): moved
4486 * lyxrow.h: as inlines here
4488 * lyxfont.h (shape): moved from lyxfont.C
4489 (emph): moved from lyxfont.C
4491 * lyxfont.C (LyXFont): use initialization list for all
4493 (shape): move to lyxfont.h as inline
4494 (emph): move to lyxfont.h as inline
4497 2001-04-04 Juergen Vigna <jug@sad.it>
4499 * vspace.C: had to include stdio.h for use of sscanf
4501 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
4504 * BufferView_pimpl.h: remove xforms cruft. Both classes are
4505 independent of xforms.
4507 2001-04-02 Juergen Vigna <jug@sad.it>
4509 * spellchecker.C: fixed namespace placing!
4511 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
4513 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
4514 the LyXParagraph * is 0.
4516 2001-03-29 Juergen Vigna <jug@sad.it>
4518 * vspace.C: added support for %, c%, p%, l%.
4519 (stringFromUnit): added helper function.
4520 (asLatexString): changed to give right results for the %-values.
4522 * buffer.C: convert the widthp in a width%.
4524 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
4526 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
4529 * figureForm.[Ch]: stripped the FD_from_figure manipulation
4530 code out of lux_cb.[Ch], ready for its (imminent?) removal.
4532 * lyx_cb.[Ch]: see above.
4534 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
4538 * lyx.[Ch]: replaced by figure_form.[Ch].
4542 * lyxfunc.C: changed headers associated with above changes.
4544 2001-03-27 Juergen Vigna <jug@sad.it>
4546 * BufferView_pimpl.C: set the temporary cursor right!
4548 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
4550 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
4552 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
4554 * LString.h: removed "using std::getline"!
4556 * BufferView_pimpl.C (Dispatch): changes due to changes in
4557 InsetInclude::Params.
4559 * buffer.C (tag_name): removed redundant break statements as they were
4560 producing lots of warnings with my compiler.
4562 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4564 * LString.h: add "using std::getline" when using the real <string>.
4566 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
4568 * buffer.C: removed bitset usage.
4569 PAR_TAG moved to an anonymous name space.
4570 (tag_name): new funtion, also in the anonymous namespace.
4571 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
4572 (makeDocBookFile): clean code. Completed transition from string arrays
4574 (SimpleDocBookOnePar): code clean.
4576 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4578 * tabular.C: add some comments.
4580 2001-03-22 Juergen Vigna <jug@sad.it>
4582 * buffer.C (parseSingleLyXformat2Token): redone the minipage
4583 compatibility read a bit and fixed bug with minipage in different
4586 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
4588 * buffer.C (pop_tag): removed.
4589 (push_tag): removed.
4590 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
4591 array replaced with vector. Added support for CDATA sections.
4592 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
4594 (makeDocBookFile): XML conformant declaration of CDATA section,
4595 fixed bug related to <emphasis> in the first paragraph char.
4596 (sgmlOpenTag): exclude empty tags.
4597 (sgmlCloseTag): ditto.
4599 * buffer.h (pop_tag): removed.
4600 (push_tag): removed.
4602 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
4604 * language.h (Languages): added size_type and size().
4606 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4608 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
4609 response on compability reading of minipages. One probliem is that
4610 the old usage of minipages was «flertydig»
4612 * several files here and in subdirs: don't use static at file
4613 scope use anon namespaces instead.
4615 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
4617 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
4618 LaTeX output. This is necessary for Literate document
4621 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4623 * buffer.C: insert hfill when needed.
4625 * tabular.C (l_getline): use string::erase, small whitespace change.
4627 * BufferView_pimpl.C: try the anon namespace.
4630 2001-03-16 Juergen Vigna <jug@sad.it>
4632 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
4633 otherwise it won't open options-dialogs.
4635 * buffer.C: honor pextraWidth(p) on converting minipages.
4637 * tabular.C (l_getline): changed the functions to strip trailing \r.
4639 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
4641 * BufferView_pimpl.C:
4642 * minibuffer..C: added "using SigC::slot" declaration.
4644 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4646 * lyxlex_pimpl.h: noncopyable is in namespace boost.
4652 * paragraph.C: ditto
4654 * lyxtext.h: NO_PEXTRA
4656 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
4658 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
4659 * ParameterStruct.h: ditto
4660 * ParagraphParameters.h: ditto
4661 * lyxparagraph.h: ditto
4663 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4665 * buffer.C: add compability for minipage alignment.
4666 (latexParagraphs): remove unwanted pextra check.
4668 * several files: remove CXX_WORKING_NAMESPACES
4670 * buffer.C (pop_tag): tie is in namespace boost
4672 * BufferView.h: noncopyable is in namespace boost
4677 * lastfiles.h: ditto
4678 * bufferlist.h: ditto
4679 * ShareContainer.h: ditto
4681 * LyXAction.h: ditto
4684 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
4686 * Merging changes from BRANCH_MVC back into HEAD.
4688 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
4690 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
4692 * BufferView_pimpl.C: change from intl.C
4696 * Makefile.am: move combox.*
4702 * intl.C: remove dialog (covered by prefs)
4704 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
4706 * lyxfunc.C (Dispatch): removed redundant break statement.
4708 2001-03-14 Juergen Vigna <jug@sad.it>
4710 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
4712 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4714 * buffer.C: add hack to fix compability reading of minipages.
4716 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
4718 * buffer.C (getLists): Cleanup.
4720 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4722 * lyxfont.C (update): don't honor toggleall on font size.
4724 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
4728 * Makefile.am: moved to frontends/xforms/
4732 * BufferView_pimpl.C: changes for moved mathpanel
4734 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
4736 * gettext.h: fix gettext_init() in --disable-nls
4738 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4740 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
4742 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
4745 * lyx.h: strip external form
4747 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
4749 * BufferView_pimpl.C: add comment, destroySplash()
4751 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
4753 * BufferView_pimpl.C:
4757 * lyxfunc.C: use re-worked insetinclude
4759 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4761 * buffer.C: add using std::stringstream.
4763 * lyx_cb.C: readd using std::ios.
4765 * buffer.C: add using std::map.
4767 * BufferView_pimpl.C: add using std::vector.
4769 * ShareContainer.h: add std:: to swap.
4771 * buffer.h: add some typedefs
4772 * buffer.C (getLists): use them
4773 (getLists): renamed from getTocList.
4774 add a counter for the different float types and use it in the
4776 (getLists): use the same counter for the NEW_INSETS and the "non"
4779 * lyx_cb.h: remove unused items, includes, using etc.
4781 * ShareContainer.h: remove some commented code, add more comments
4782 and "documentation".
4784 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4786 * buffer.C (getTocList): make the list also when NEW_INSETS is
4789 * buffer.h: remove TocType
4791 * buffer.C (getTocList): change to return a map<string,
4792 vector<TocItem> >, implement for dynamic number of list.
4794 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
4795 * text2.C (PasteSelection): adjust
4796 * CutAndPaste.C (pasteSelection): adjust
4798 * FloatList.C (FloatList): update from the new_insets branch.
4799 * Floating.[Ch]: ditto
4800 * LaTeXFeatures.C: ditto
4802 * lyxlex_pimpl.C: ditto
4804 * paragraph.C (Last): remove when NEW_INSETS is defined.
4806 * other file: changes because of the above.
4808 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4810 * lyxparagraph.h: rename next to next_, previous to previous_,
4811 make them private for NEW_INSETS. Rename Next() to next(),
4812 Previous() to previous().
4814 * other files: changes because of the above.
4816 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
4819 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
4822 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4824 * main.C (main): pass lyx_localedir to gettext_init().
4826 * gettext.h: remove locale_init and gettext_init macros
4828 * gettext.C (locale_init): new function
4829 (gettext_init): new function
4831 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
4834 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
4836 * Moved credits to frontends:
4837 * credits.[Ch]: removed
4838 * credits_form.[Ch]: removed
4839 * lyx_gui_misc.C: remove credits stuff
4842 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4844 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
4846 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
4847 unneeded destructor.
4849 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
4850 a standalone pointer again.
4852 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
4854 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
4860 * ToolbarDefaults.C:
4869 * BufferView_pimpl.C: use new file dialog in GUII
4872 * lyx_cb.C: remove LayoutsCB to Toolbar
4874 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4876 * ShareContainer.h (get): add std:: qualifier
4878 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4880 * ShareContainer.h: define a proper ShareContainer::value_type
4881 type (and use typename to please compaq cxx)
4883 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4885 * lyxparagraph.h: move serveral local vars to
4886 ParameterStruct/ParagraphParameters., use ShareContainer in
4887 FontTable., make vars in FontTable private and add getter and
4890 * paragraph.C: changes because of the above.
4892 * lyxfont.h: remove copy constructor and copy assignment. (the
4893 default ones is ok), move number inside FontBits. move inlines to
4896 * lyxfont.C: add number to initializaton of statics, move several
4897 inlines here. constify several local vars. some whitespace
4898 cleanup. Dont hide outerscope variables.
4900 * Spacing.h: add two new constructors to match the set methods.
4902 * ShareContainer.h: new file, will perhaps be moved to support
4904 * ParameterStruct.h: new file
4906 * ParagraphParameters.h: new file
4908 * ParagraphParameters.C: new file
4910 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
4911 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
4913 * BufferView_pimpl.C: ParagraphParameter changes.
4914 * buffer.C: Likewise.
4915 * bufferview_funcs.C: Likewise.
4917 * text2.C: Likewise.
4919 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4921 * lyxfind.C (LyXReplace): do not redefine default argument in
4923 (IsStringInText): ditto
4924 (SearchForward): ditto
4925 (SearchBackward): ditto
4927 2001-03-06 Juergen Vigna <jug@sad.it>
4929 * lyxfind.C (IsStringInText): put parentes around expressions.
4931 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
4933 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
4935 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
4937 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
4939 * stl_string_fwd.h: add comment
4941 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
4944 * tabular.C: remove unused DocBook methods
4950 killed DO_USE_DEFAULT_LANGUAGE
4952 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4954 * lyx_gui.C: do not include language.h.
4956 * bufferview_funcs.C (ToggleAndShow): do not provide optional
4957 arguments in function implementation.
4959 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4961 * BufferView_pimpl.C: add <ctime>
4963 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4965 * BufferView_pimpl.C: add using std::find_if
4967 2001-02-27 José Matos <jamatos@fep.up.pt>
4969 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
4972 2001-02-11 José Matos <jamatos@fep.up.pt>
4974 * buffer.C (makeDocBookFile): command styles now have a parameter as
4977 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
4979 * layout_forms.[Ch]: removed
4980 * lyx_cb.[Ch]: out character
4981 * lyx_gui.C: out character
4982 * lyx_gui_misc.C: out character
4983 * bufferview_funcs.C: : out character,
4984 added toggleall as parameter in ToggleAndShow
4986 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
4988 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
4990 * text2.C (SetCurrentFont): Disable number property at boundary.
4992 2001-02-26 Juergen Vigna <jug@sad.it>
4994 * lyxfunc.C (getStatus): added a string argument override function so
4995 that this is correctly called from LyXFunc::Dispatch if it contains a
4996 do_not_use_argument which is used!
4997 (Dispatch): added check for "custom" export and call appropriate func.
4999 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
5001 * lyxrc.C: Add language_command_local, language_use_babel and
5002 language_global_options.
5004 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
5006 * buffer.C (makeLaTeXFile): Use language_use_babel and
5007 language_global_options.
5009 2001-02-23 Juergen Vigna <jug@sad.it>
5011 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
5012 which works with LyXText and putted it inside BufferView. Here now we
5013 only call for that part the BufferView::Dispatch() function.
5015 * BufferView.C (Dispatch): added.
5017 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
5018 functions which needs to use a LyXText over from LyXFunc.
5019 (MenuInsertLyXFile): added
5020 (getInsetByCode): added
5021 (moveCursorUpdate): added
5022 (static TEXT): added
5024 2001-02-22 Juergen Vigna <jug@sad.it>
5026 * BufferView_pimpl.C (update): call a status update to see if LyXText
5029 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5031 * vc-backend.C (revert): implement for CVS
5032 (getLog): implement for CVS
5034 2001-02-20 Juergen Vigna <jug@sad.it>
5036 * text2.C (ClearSelection): added BufferView param for inset_owner call
5038 * lyxfunc.C (TEXT): added this function and use it instead of
5039 directly owner->view()-text of getLyXText().
5041 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
5043 * src/layout_forms.C: out preamble
5044 * src/layout_forms.h: out preamble
5045 * src/lyx_cb.C: out preamble
5046 * src/lyx_cb.h: out preamble
5047 * src/lyx_gui.C: out preamble
5048 * src/lyx_gui_misc.C: out preamble
5049 * src/lyxfunc.C: connect with guii preamble
5051 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
5053 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
5055 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
5057 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
5058 whether to run bibtex.
5060 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
5062 * Makefile.am (lyx_SOURCES): Remove BackStack.h
5064 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
5066 * Makefile.am (lyx_SOURCES): removed bibforms.h
5070 * text.C (GetVisibleRow): make several local vars const
5072 * tabular.C: small cleanup.
5074 * lyxserver.C (callback): use compare instead of strncmp
5076 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
5077 inlines to after class or to paragraph.C
5079 * lyxfont.h: remove friend operator!=
5081 * converter.h: move friend bool operator< to non friend and after
5084 * combox.h: small cleanup
5086 * buffer.h: doxygen, remove unused constructor, move inclas inlies
5087 to inlines after class def.
5089 * buffer.C (pop_tag): use string operations instead of strcmp
5091 * bmtable.c: doxygen, small cleanup
5093 * LaTeX.h: remove friend operator==
5095 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
5107 * BufferView_pimpl.C:
5108 * BufferView.[Ch]: remove cruft
5110 2001-02-14 Juergen Vigna <jug@sad.it>
5112 * lyxfunc.C: removed #if 0 unused code
5114 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
5116 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
5118 * text2.C (SetSelection): added a BufferView * parameter
5120 2001-02-13 Juergen Vigna <jug@sad.it>
5122 * lyxfunc.C (Dispatch): fixed protected blank problem.
5123 * BufferView2.C (protectedBlank): added LyxText * parameter.
5125 * tabular.C (AppendRow): forgot to set row_info of newly added row.
5126 (AppendColumn): same as above for column_info.
5128 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
5129 (moveCursorUpdate): use a LyXText param for support of InsetText.
5131 * BufferView_pimpl.C (doubleClick): added support for InsetText.
5132 (tripleClick): ditto
5134 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
5136 * BufferView_pimpl.C (update): added LyXText param to honor insets.
5138 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
5140 * text2.C (SetSelection): set correct update status if inset_owner
5143 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
5145 * tabular.C: remove some commented code.
5147 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
5149 * BufferView_pimpl.C: call hideSplash()
5151 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
5154 * bibforms.h: remove
5157 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
5158 add LFUN_CHILD_CREATE
5160 * counters.h: fix tiny typo
5165 * lyx.C: move splash to frontends/xforms/
5167 * lyx_gui_misc.C: move Include and Bibform to frontends
5169 * lyxvc.h: clarify comment
5171 * vspace.C: tiny housekeeping
5173 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
5175 * text.C (PrepareToPrint): RTL Fix.
5177 * paragraph.C (GetUChar): New method.
5178 (String): Use GetUChar.
5180 * buffer.C (asciiParagraph): Use GetUChar.
5182 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
5184 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
5186 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
5189 * buffer.C: rename to getLogName(), handle
5190 build log / latex log nicely
5192 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5195 * MenuBackend.h: remove support for reference menuitem type.
5197 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
5199 * BufferView_pimpl.C: housekeeping
5200 * BufferView_pimpl.h:
5205 * minibuffer.h: move Timeout GUI-I
5207 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
5209 * lyxrc.C (read): Update converters data-structures.
5211 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
5213 * LaTeX.h (operator!=): add operator != for Aux_Info
5215 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
5217 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
5219 * LaTeXLog.C: deleted, useful code moved to Buffer
5222 * buffer.C: new function getLatexLogName()
5228 * lyxfunc.C: use frontends for LaTeX and VC logs
5230 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5232 * LaTeX.h: yet another std:: that Allan forgot.
5234 * Variables.C (set): renamed from isset(), because this clashes
5235 with some HP-UX macros (grr).
5237 2001-02-06 Allan Rae <rae@lyx.org>
5239 * LaTeX.h: Another bug fix. Missing std:: this time.
5241 2001-02-04 Allan Rae <rae@lyx.org>
5243 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
5244 floats problem. I've left it commented out because it's not quite
5245 correct. It should also test that the current object is a table or
5246 figure inset. But I haven't gotten around to figuring out how to do
5247 that. I *think* it'll be something like: "table" == inset.type()
5249 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
5252 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
5254 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
5255 all the citation/databases/styles in the auxilary file.
5256 (run): Rerun latex if there was a babel language error.
5258 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
5260 * text.C (Backspace): Preserve the font when changing newline char
5262 (BreakParagraph): If the cursor is before a space, delete the space.
5264 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
5266 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
5268 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
5269 new argument (code).
5270 (ChangeCitationsIfUnique): New method.
5272 * paragraph.C (GetPositionOfInset): Handle bibkey.
5274 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5276 * BufferView_pimpl.h: change type of Position::par_pos to
5277 LyXParagraph::size_type.
5279 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
5281 * BufferView_pimpl.C (savePosition, restorePosition): Write
5282 messages to minibuffer.
5284 2001-01-28 José Matos <jamatos@fep.up.pt>
5286 * buffer.C (makeDocBookFile): adds support for document language.
5287 A silly restriction on the name of LatexCommand types where removed.
5288 Added support for CDATA sections, allows to chars unescaped, used
5289 among others in code, to avoid escape < and >.
5291 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
5293 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
5294 saved positions instrad of a stack. Furthermore, a position is
5295 stored using paragraph id/paragraph position.
5297 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
5298 Remove LFUN_REF_BACK.
5300 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
5302 * converter.C (dvipdfm_options): New method.
5304 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
5306 * vspace.C (isValidLength): Fix for empty input string.
5308 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5310 * LyXAction.C (init): change description of LFUN_FIGURE to
5313 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5315 * LaTeX.C: add using directive
5317 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
5319 * MenuBackend.C (expand): Fix the sorting of the formats.
5321 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
5323 * lyx_main.C: tiny error message fix
5325 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5327 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
5328 calling fl_initialize(). This fixes the problem with ',' as
5329 decimal separator in text files.
5331 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
5333 * trans.C (process): Fix the keymap bug.
5335 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
5337 * LaTeX.C (scanAuxFiles): New method. Provides support for
5338 multiple bibliographies (when using the bibtopic/bibunits pacakges).
5339 (scanLogFile) Scan for "run BibTeX" messages.
5341 * buffer.C (makeLaTeXFile): Do not load the ae package when using
5342 OT1 font encoding. Also, load the aecompl package if the ae
5345 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
5347 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5349 * texrow.C (increasePos): turn two error messages into debug
5352 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
5354 * LaTeX.C (scanAux): Handle the \@input macro.
5355 (runBibTeX): Use scanAux().
5357 * language.C (latex_options_): New field.
5359 * LaTeXFeatures.C (getMacros): Add language macros.
5361 * buffer.C (makeLaTeXFile): Small fix.
5363 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5365 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
5367 * text2.C: add a using directive.
5369 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
5374 * lyxfunc.C: kill LyXBell.
5376 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
5378 * text.C (IsBoundary): Remove the error message
5380 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
5382 * lyxrc.C (setDefaults): Correct initialization value for
5385 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
5387 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
5390 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
5393 * src/LyXAction.C: Added reference-next.
5395 * text.C (InsertChar): Use contains instead of strchr.
5397 * lyx_cb.C (MenuInsertLabel): Enable default value code.
5399 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
5401 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
5402 alignment commands (when needed).
5404 * text.C (InsertChar): Add ':' to number separator chars.