1 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
6 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
8 * debug.h: add DEBUG to enum and fix size of ANY.
10 * debug.C: add support for Debug::DEBUG
11 (showTags): cast errorTags.level to unsigned int
13 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
14 (redoCurrentBuffer): ditto
15 (updateScrollbar): ditto
16 * cursor.C (dispatch): ditto
17 * text2.C (setLayout): ditto
19 (updateCounters): ditto
21 (deleteEmptyParagraphMechanism): ditto
23 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
25 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
26 annotations to cleanup the Makefile slightly.
28 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
30 * lyxrc.C: do not set user_email to a default value but use empty
31 instead. The entry used to be translated, which does not work
32 since at the point where lyxrc is constructed there is no
33 translation service available
35 * messages.C (getLocaleDir): remove and use directly
36 lyx_localedir() instead
38 2004-06-02 Angus Leeming <leeming@lyx.org>
40 Fix crash caused by dereferencing null pointer 'exportdata' in
41 OutputParams by creating a new ExportData variable on the heap,
42 storing it in a boost::shared_ptr.
43 The crash was triggered when generating an Instant Preview
46 * Makefile.am: add outputparams.C
48 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
49 (c-tor): allocate memory to it.
51 * exporter.C (c-tor): associated changes.
53 2004-06-01 Angus Leeming <leeming@lyx.org>
55 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
56 contains data before calling isInset(0). (Bug 1513.)
58 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
60 * exporter.C (checkOverwrite): new method
61 * exporter.C (copyFile): new method
62 * exporter.C (Export): copy referenced files to the document dir
63 * exporter.[Ch]: new class ExportedFile
64 * exporter.[Ch]: new class ExportData. Contains currently the
65 names of referenced external files
66 * outputparams.h: add exportdata member.
68 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
70 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
73 2004-05-19 Angus Leeming <leeming@lyx.org>
78 * lyxfunc.C: small changes due to the introduction of namespace
79 lyx::frontend and the moving of namespace biblio to lyx::biblio.
81 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
83 * text3.C (dispatch): supress update when only moving the cursor
84 * cursor.C (selHandle): remove commented code
86 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
88 * paragraph.C (startTeXParParams): correct column count
89 * CutAndPaste.C (pasteSelection): remove const_cast
90 * output_docbook.C (docbookParagraphs): remove const_cast
91 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
92 const_cast and return ParagraphList::const_iterator
93 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
94 * output_plaintext.C (writeFileAscii): remove const_cast
95 * paragraph.[Ch] (simpleTeXOnePar): make const
96 * paragraph_funcs.C (outerPar): use const iterators
97 * paragraph_pimpl.C (validate): use const iterators
98 * text.C (setHeightOfRow): use const iterators
100 2004-05-17 Angus Leeming <leeming@lyx.org>
103 * LyXAction.C (init): new LFUN_INSET_REFRESH.
105 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
106 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
107 if the citation engine has changed.
109 2004-05-14 José Matos <jamatos@lyx.org>
111 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
112 if the textclass does not provide it. Have it different for sgml and
114 support the language of document.
115 * output_docbook.C (docbookParagraphs):
116 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
117 first anchor as the id of the paragraph, remove special case code.
118 * sgml.C (escapeChar): escape only < & >.
120 2004-05-14 Angus Leeming <leeming@lyx.org>
122 * bufferparams.h: move biblio::CiteEngine enum here to minimize
123 dependencies on src/frontends/controllers/biblio.h. Define a
124 CiteEngine_enum wrapper class to enable the enum to be forward
127 2004-05-12 Angus Leeming <leeming@lyx.org>
129 * buffer.C: up LYX_FORMAT to 234.
130 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
131 use_numerical_citations with a single biblio::CiteEngine cite_engine
133 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
135 2004-05-13 José Matos <jamatos@lyx.org>
138 * converter.C (Converter, readFlags): add xml member.
139 * outputparams.h: add XML flavor.
140 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
142 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
144 * lyxfunc.C (dispatch):
145 (getStatus): fix handling of LFUN_SEQUENCE
147 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
149 * debug.C (showLevel): do not forget the end-of-line marker
151 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
153 * kbmap.C (read): do not stop parsing a bind file when an error
156 2004-04-29 Angus Leeming <leeming@lyx.org>
161 * text2.C: wrap a bunch of #warning statements
162 inside #ifdef WITH_WARNINGS blocks.
164 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
166 * buffer.C: increment format to 233.
168 2004-04-28 Angus Leeming <leeming@lyx.org>
170 * BufferView_pimpl.C:
173 s/updateToolbar()/updateToolbars()/
174 s/Toolbar.h/Toolbars.h/
176 2004-04-28 Angus Leeming <leeming@lyx.org>
178 * BufferView.[Ch] (c-tor):
179 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
180 No longer passes these data to the WorkArea generator.
182 2004-04-28 Angus Leeming <leeming@lyx.org>
184 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
186 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
188 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
190 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
192 * output_latex.C (TeXEnvironment): make sure that there is a line
193 break before \end{foo} for the last paragraph of a document
194 (TeXOnePar): if the paragraph is at the end of the document (or
195 inset) and the language has to be reset, then make sure that the
196 line break is _before_ the language command, not after (fixes bug
197 1225); also make sure that the language reset command is the first
198 thing after the paragraph (to ensure proper nesting of
199 environments and thus fix bug 1404)
201 2004-04-21 John Levon <levon@movementarian.org>
204 * ToolbarBackend.C: make "name" be a programmatic name
205 and a gui_name field.
207 * lyxfunc.C: display the minibuffer on M-x
209 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
211 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
214 2004-04-19 Angus Leeming <leeming@lyx.org>
216 * BufferView_pimpl.C (setBuffer): changed preview interface.
218 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
221 2004-04-19 John Levon <levon@movementarian.org>
223 * BufferView_pimpl.C:
224 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
226 2004-04-05 Angus Leeming <leeming@lyx.org>
228 * text.C (redoParagraphs): add call to updateCounters(), thereby
229 fixing the missing "Figure #:" label from the caption of a
232 2004-04-13 Angus Leeming <leeming@lyx.org>
234 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
235 cursor is clicked out of an inset.
237 2004-04-13 Angus Leeming <leeming@lyx.org>
239 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
240 than an InsetOld one.
242 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
244 * format.[Ch]: add editor to Format
245 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
246 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
248 2004-04-08 André Pönitz <poenitz@gmx.net>
250 * metricsinfo.h: remove PainterInfo::width member
252 2004-04-08 Angus Leeming <leeming@lyx.org>
254 * lyx_sty.C (boldsymbol_def): modify so that it outputs
255 "\providecommand" rather than "\newcommand", thereby preventing
256 clashes with packages that define "\boldsymbol" themselves.
259 2004-04-08 Angus Leeming <leeming@lyx.org>
261 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
262 thereby squashing an unnecessary warning.
264 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
266 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
269 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
271 * BufferView.C (setCursor): call redoParagraph (some insets could
273 (putSelectionAt): remove the 'double update' trick
275 * BufferView_pimpl.C (fitCursor): call refreshPar
276 (workAreaDispatch): remove an uneeded update call
277 (dispatch): remove some manual update calls
279 * cursor.[Ch]: remove cached_y_, updatePos
280 (selHandle): set noUpdate when appropriate
282 * lyxfunc.C (dispatch): track if we need an update
284 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
286 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
287 (paintSelection): cheap optimization, do not call cursorX when not
289 (paintPars): change signature
292 (paintTextInset): adjust
296 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
298 * lengthcommon.C: compilation fix: remove explicit array size from
299 unit_name[] and friends
301 2004-04-05 Angus Leeming <leeming@lyx.org>
303 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
305 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
306 present only for the preferences dialog.
307 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
309 2004-04-05 Angus Leeming <leeming@lyx.org>
311 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
312 to enable the frontends to export changes to lyxrc correctly.
314 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
316 2004-04-07 André Pönitz <poenitz@gmx.net>
318 * cursor.[Ch] (selClear, adjust): remove math
320 * cursor_slice.C: more agressive assert
323 * BufferView_pimpl.C: rework mouse event dispatch
330 2004-04-05 André Pönitz <poenitz@gmx.net>
332 * cursor.[Ch] (valign, halign...): remove unneeded functions
334 2004-04-05 Angus Leeming <leeming@lyx.org>
336 * lyxlength.[Ch] (unit_name et al.): const-correct.
338 2004-04-05 Angus Leeming <leeming@lyx.org>
340 * BufferView_pimpl.C:
349 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
351 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
353 * text3.C (getStatus): add LFUN_BEGINNINGBUF
355 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
357 * lyxfind.C: add a couple of inTexted() tests + other small fixes
358 * BufferView_pimpl.[Ch] (getStatus)
359 * BufferView.[Ch] (getStatus): add
360 * lyxfunc.C (getStatus): move lfuns handled in
361 BufferView::dispatch to te function above
362 * Cursor.C (setSelection): set selection() = true
364 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
366 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
368 2004-03-31 Angus Leeming <leeming@lyx.org>
370 * lyxfunc.C (dispatch): Fall through to the generic
371 Dialogs::show("preamble").
373 2004-03-31 Angus Leeming <leeming@lyx.org>
375 * lyxfunc.C (dispatch): Fall through to the generic
376 Dialogs::show("spellchecker").
378 2004-03-31 Angus Leeming <leeming@lyx.org>
380 * lyxfunc.C (getStatus, dispatch): changed invocation of the
383 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
388 * insetiterator.[Ch]:
393 * undo.[Ch]: s/DocumentIterator/DocIterator/g
395 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
397 * BufferView.C (setCursor, putSelectionAt): call edit to open the
398 insets where we are putting the cursor.
400 2004-03-31 Angus Leeming <leeming@lyx.org>
403 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
405 * lyxrc.[Ch] (read, write): overloaded member functions taking
406 a std::[io]stream arguments.
408 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
410 2004-03-31 Angus Leeming <leeming@lyx.org>
412 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
413 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
415 * lyxtextclass.C (load): if the text class couldn't be loaded, then
416 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
418 2004-03-31 Angus Leeming <leeming@lyx.org>
420 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
421 the LFUN_ALL_INSETS_TOGGLE code.
423 2004-03-30 Angus Leeming <leeming@lyx.org>
425 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
426 has died. Fall through to the generic Dialogs::show("document").
428 2004-03-30 Angus Leeming <leeming@lyx.org>
431 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
432 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
434 * lyxfunc.C (getStatus, dispatch): define the actions for these
435 lfuns. Little more than a cut and pste job from ControlDocument.C
437 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
439 2004-03-30 Angus Leeming <leeming@lyx.org>
442 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
443 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
445 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
446 open/closed state of ollapsable insets. Usage:
448 all-inset-toggle <state> <name>, where
449 <state> == "open" || "closed" || "toggle" and
450 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
452 * lyxtext.h, text2.C (toggleInset): removed.
454 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
455 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
456 now passes LFUN_INSET_TOGGLE to the found inset.
458 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
459 is now invoked as "all-insets-toggle toggle branch".
461 2004-03-30 Angus Leeming <leeming@lyx.org>
465 * pariterator.[Ch]: added/corrected header blurb.
467 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
469 * dociterator.[Ch]: add an inset_ member
470 (backwardPos): implemented
471 (backwardPos, forwardPos): use inset_ when the stack is empty.
472 (doc_iterator_begin, doc_iterator_end): implemented
473 * pariterator.[Ch]: adjust, add begin, end
474 * insetiterator.[Ch]: adjust, add begin, end
478 * BufferView_pimpl.C:
479 * CutAndPaste.C: adjust
481 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
483 * buffer.C: increment file format to 232.
484 * LaTeXFeatures.C: add bibtopic package.
485 * bufferparams.[Ch]: param \use_bibtopic.
487 * lyxrc.[Ch]: add lyxrc bibtex_command
488 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
490 * buffer.C: increment file format to 231.
492 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
494 * dociterator.C: implement forwardPar
495 * iterators.[Ch]: remove, replaced by
496 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
498 * BufferView_pimpl.C:
501 * bufferview_funcs.C:
507 * Makefile.am: adjust
509 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
511 * CutAndPaste.C (pasteSelection): fix 2 crashes
512 (eraseSelection): fix a crash
513 * paragraph_funcs.C: remove a warning
515 2004-03-28 Angus Leeming <leeming@lyx.org>
518 * LyXAction.C (init): new LFUN_PRINT.
520 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
522 2004-03-27 Angus Leeming <leeming@lyx.org>
525 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
527 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
529 2004-03-27 Angus Leeming <leeming@lyx.org>
531 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
532 insetlist always contains non-null pointers to insets.
534 2004-03-26 Angus Leeming <leeming@lyx.org>
536 * src/BufferView_pimpl.C:
540 * src/output_plaintext.C:
541 * src/outputparams.h:
542 * src/paragraph_funcs.C:
546 * src/frontends/controllers/ControlErrorList.C:
547 * src/frontends/gtk/FileDialogPrivate.C:
548 * src/frontends/gtk/GPainter.C:
549 * src/frontends/gtk/GToolbar.C:
550 * src/frontends/qt2/QRef.C:
551 * src/mathed/math_scriptinset.C: squash compiler warnings.
553 2004-03-26 Angus Leeming <leeming@lyx.org>
555 * ispell.C (LaunchIspell::start):
556 * lyx_cb.C (AutoSaveBuffer::start):
557 invoke run(DontWait) rather than runNonBlocking().
559 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
561 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
563 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
565 * kbsequence.C (print): adjust
567 * kbmap.C (printKeySym): rename and change signature
568 (printKey): use LyXKeySym::print()
570 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
572 * undo.C: add using std::advance to compile for stlport
574 2004-03-24 Angus Leeming <leeming@lyx.org>
576 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
577 it leads to a crash when no buffer is present.
579 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
580 Martin Vermeer <martin.vermeer@hut.fi>
582 * lyxfunc.C (dispatch):
583 * bufferparams.C (readToken): use the new LColor::setColor
585 * LColor.[Ch] (setColor): new version that takes two strings as
586 argument and creates a new color entry if necessary
588 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
590 * buffer.C (makeLaTeXFile): if the main latex file that is
591 processed is usually a subdocument of some master, then pretend
592 for a while that it is actually the master
594 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
596 * buffer.C (getLabelList):
597 (getBibkeyList): use getMasterBuffer()
598 (getMasterBuffer): new method. Returns the main document in the
599 case where one is using included documents.
601 2004-03-25 André Pönitz <poenitz@gmx.net>
605 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
607 * ParagraphList_fwd.h: change ParagraphList to a std::vector
609 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
610 text*.C over here. Rename namespace CutAndPaste to lyx::cap
612 * ParameterStruct.h: merge with ParagraphParameters
614 * lyxtext.h: remove LyXText::parOffset() and getPar()
616 * text3.C: Remove all 'manual' update calls. We do now one per user
617 interaction which is completely sufficient.
621 * BufferView_pimpl.C:
624 * ParagraphParameters.[Ch]:
636 * output_docbook.[Ch]:
638 * output_linuxdoc.[Ch]:
639 * output_plaintext.[Ch]:
641 * paragraph_funcs.[Ch]:
642 * paragraph_pimpl.[Ch]:
650 * frontends/controllers/ControlDocument.C:
651 * frontends/controllers/ControlErrorList.C:
652 * frontends/controllers/ControlSpellchecker.C:
655 * insets/insetbase.h:
656 * insets/insetbibitem.C:
658 * insets/insetbranch.C:
659 * insets/insetcaption.C:
660 * insets/insetcharstyle.C:
661 * insets/insetcharstyle.h:
662 * insets/insetcollapsable.C:
663 * insets/insetcollapsable.h:
665 * insets/insetfloat.C:
666 * insets/insetfoot.C:
667 * insets/insetmarginal.C:
668 * insets/insetnote.C:
669 * insets/insetoptarg.C:
670 * insets/insettabular.C:
671 * insets/insettext.C:
672 * insets/insettext.h:
673 * insets/insetwrap.C:
674 * mathed/math_mboxinset.C:
675 * mathed/math_nestinset.C:
676 * mathed/math_scriptinset.C:
677 * mathed/math_scriptinset.h:
680 2004-03-24 Angus Leeming <leeming@lyx.org>
682 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
683 deal with any child processes that have finished but are waiting to
684 communicate this fact to the rest of LyX.
686 2004-03-24 Angus Leeming <leeming@lyx.org>
688 64-bit compile fixes.
690 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
691 (c-tor): pass lyx::pos_types rather than ints.
693 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
696 * text.C (Delete): compile fix.
697 (getPar): ensure that function declaration is the same as that in
700 2004-03-23 Angus Leeming <leeming@lyx.org>
702 * ispell.C (LaunchIspell):
703 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
704 a boost::shred_ptr rather than a std::auto_ptr.
706 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
708 * lyxfunc.C (getStatus): handle read-only buffers correctly;
709 handle LFUN_FILE_INSERT_*
711 * lyxrc.C (setDefaults, getDescription, output, read):
712 * lyxrc.h: remove ps_command
714 2004-03-22 Angus Leeming <leeming@lyx.org>
716 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
717 Ensure that error_handler is processed once only and that all data
718 is saved before attempting to output any warning messages.
720 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
722 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
724 * tabular.C (TeXRow): crash fix (from Kayvan and André)
726 2004-03-19 André Pönitz <poenitz@gmx.net>
728 * cursor.[Ch] (reset): take main text inset as argument
731 * BufferView_pimpl.C: adjust
733 * paragraph.[Ch]: fix completely broken operator=()
735 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
737 * LColor.C (getFromLyXName): make sure that the color name is used
740 2004-03-17 Angus Leeming <leeming@lyx.org>
743 * LyXAction.C (init): remove LFUN_FORKS_KILL.
745 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
746 dialog and to kill a forked process.
748 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
750 * text2.C (setCursorFromCoordinates): fix font problem
752 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
754 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
755 bogus "rebuild cursor" code
757 2004-03-11 André Pönitz <poenitz@gmx.net>
759 * buffer.[Ch]: use InsetText instead of LyXText as container for
762 * dociterator.[Ch]: drop the BufferView * member which is not needed
763 anymore after the change to buffer.C
769 * BufferView_pimpl.[Ch]:
771 * cursor_slice.[Ch]: adjust
773 * text3.C: fix bug in mathDispatch
775 2004-03-08 André Pönitz <poenitz@gmx.net>
777 * undo.[Ch]: use 'StableDocumentIterator' as base for
780 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
783 * bufferparams.[Ch]: add jurabib support and param.
785 * LaTeX.C: add FIXME/comment.
787 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
789 * buffer.C: increment file format to 230.
791 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
793 * cursor.C (dispatch): avoid infinite loops
795 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
797 * rowpainter.C (paintSelection): fix x coordinates
799 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
801 * text.C (rowBreakPoint): fix breaking before displayed insets
803 2004-03-01 André Pönitz <poenitz@gmx.net>
805 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
807 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
811 * BufferView_pimpl.C:
819 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
825 * BufferView_pimpl.C: rename textwidth -> maxwidth,
826 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
828 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
830 * Bidi.[Ch] (computeTables): const correctness
831 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
832 fill_hfill, fill_label_hfill and x from Row
833 * lyxtext.h: prepareToPrint returns a RowMetrics
834 * rowPainter.C: adjust
835 * text.C (prepareToPrint): use width, not textWidth. adjust
836 (redoParagraphInternal, cursorX): adjust
837 * text2.C (getColumnNearX): adjust
838 (init): put a default value to the top LyXText::width
840 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
842 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
844 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
846 * lyxtext.h: add FontIterator class
848 * text.C (FontIterator, operator*, operator->, operator++): add
849 (rowBreakPoint, setRowWidth): adjust (fixing a
852 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
854 * BufferView_pimpl.C (workAreaDispatch): allow also
855 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
857 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
859 * text.C (rowBreakPoint): fix a bug showing with very large insets
861 2004-02-25 André Pönitz <poenitz@gmx.net>
864 * cursor.[Ch]: move some mathed specific code to mathed
866 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
868 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
869 use_tempdir in preferences
870 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
872 * lyx_main.C: ensure that tempdir is valid
873 * lyxlex.h: correct typo
874 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
875 * paragraph.[Ch] (isMultiLingual): make const
876 * cursor.[Ch] (openable): make const
878 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
880 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
882 2004-02-20 André Pönitz <poenitz@gmx.net>
884 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
886 * cursor.[Ch]: prepare for localized getStatus()
892 * text3.C: streamlines the LyXText cursor movement handlers a bit.
894 2004-02-20 André Pönitz <poenitz@gmx.net>
896 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
898 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
900 * text2.C (setCursorFromCoordinates): switch to absolute coords
903 * text3.C (dispatch): adjust
905 2004-02-16 André Pönitz <poenitz@gmx.net>
907 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
910 * cursor_slice.[Ch]: remove unneeded acessor function
912 * lyxtext.h: rename rtl() to isRTL()
920 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
922 * rowpainter.C (paintSelection): coord fix
924 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
926 * Spacing.C: compile fix
928 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
930 * cursor.C (dispatch): restore current_ before returning
932 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
934 * text2.C (cursorUp, cursorDown): fix coords
937 2004-02-12 André Pönitz <poenitz@gmx.net>
942 * text3.C: add LCursor & parameter to most cursor movement functions
943 remove usage of LyXText::cursorRow() and cursorPar()
945 * cursor.[Ch]: add textRow() needed members
948 * BufferView_pimpl.C:
951 * BufferView_pimpl.C: adjust
953 2004-02-11 André Pönitz <poenitz@gmx.net>
957 * BufferView_pimpl.C: shift undo/redo handling
959 * cursor.[Ch]: fix mathed crash
962 * lyxtext.h: move selectionAsText to LCursor
970 * rowpainter.C: fix excessive drawing
972 2004-02-06 André Pönitz <poenitz@gmx.net>
975 * BufferView_pimpl.[Ch]:
976 * text3.C: move some text specific LFUN handling
978 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
980 * text3.C (checkInsetHit): adjust coords
981 * text2.C (getColumnNearX): adjust coords
982 (edit): adjust coords
983 * text.C (getRowNearY): add two asserts
985 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
988 * format.C: add using std::distance to compile on gcc 2.95/stlport
990 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
992 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
994 2004-02-04 André Pönitz <poenitz@gmx.net>
996 * BufferView.[Ch] (insertInset):
997 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1002 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1004 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1005 on the default clause of the switch
1006 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1007 wasn't catched by LCursor::dispatch
1009 2004-02-03 André Pönitz <poenitz@gmx.net>
1012 * cursor.[Ch]: some additional asserts
1014 * undo.[Ch]: remove LyXText dependency in interface
1018 * lyxtext.h (firstPar, lastPar): remove dead functions
1023 * paragraph.[Ch]: adjust
1025 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1027 * lyxfind.C (find): fix argument order in call to ::find
1029 2004-02-02 André Pönitz <poenitz@gmx.net>
1031 * cursor.[Ch]: remove direct access to anchor
1033 * text.C: remove findText() hack
1035 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1037 * iterators.[Ch] (lockPath): remove in favour of...
1038 * BufferView.[Ch] (setCursor): this addition
1039 * BufferView.C (putSelectionAt): adjust
1040 * undo.C (performUndoOrRedo): adjust
1041 * lyxfunc.C (dispatch): adjust
1043 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1045 * iterators.C (lockPath): add a missing slice
1046 * undo.C (performUndoOrRedo): remove redundant positioning code
1048 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1050 * vc-backend.C (scanMaster): ";" -> ';'
1052 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1054 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1055 std::binary_function
1057 * lyxtextclass.C (compare_name): rename to...
1058 (LayoutNamesEqual): ...this
1060 * lyxlex_pimpl.C (compare_tags): inherit from
1061 std::binary_function, put back into anon namespace
1063 * lyxfind.C (MatchString): inherig from std::binary_function
1064 (findChange): use empty() istead of !size()
1066 * format.C (FormatNamesEqual): new functor
1073 * converter.C (compare_Converter): rename to...
1074 (ConverterEqual): ...this, and fixup a bit.
1075 (getConverter): use it, and make function const
1076 (getNumber): use it, and make function const
1080 * bufferlist.C: add using boost::bind
1082 * MenuBackend.C (MenuNamesEqual): new functor
1083 (hasMenu): use it, and make function const
1084 (hasSubmenu): use nested bind to get rid of compare_memfun.
1086 2004-01-30 André Pönitz <poenitz@gmx.net>
1088 * BufferView_pimpl.C:
1091 * cursor_slice.[Ch]:
1094 * paragraph_funcs.C:
1095 * paragraph_funcs.h:
1099 * text3.C: move some of the edit(x,y) handling to the insets
1100 some coordinate changes.
1102 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1104 * text.C: add using statements for std::advance and std::distance
1106 * paragraph.C: add using statement for std::distance
1108 * lyxfind.C: add using statement for std::advance
1110 * cursor.C (region): remove std:: from swap
1111 (openable): use nucleus in stead of operator->
1113 * BufferView.C: add using statements for std::distance and std::swap
1115 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1117 * iterators.C: Remove the pimple, move the needed structures to
1118 the header file. Create accessor for the positions stack.
1119 (asPosIterator): remove function
1121 * PosIterator.C (PosIterator): move constructors to top of file
1122 (PosIterator): reimplement the constructor taking a ParIterator in
1124 (setFrom): new function
1125 (operator!=): inline it
1127 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1129 * lyxfind.C (replaceAll): use std::advance
1131 * iterators.h: inherit from std::iterator.
1133 * PosIterator.C (advance, distance): remove
1134 * PosIterator.h: interit from std::iterator.
1136 2004-01-26 André Pönitz <poenitz@gmx.net>
1139 * BufferView_pimpl.[Ch]:
1143 * bufferview_funcs.C:
1153 * output_linuxdoc.C:
1154 * output_plaintext.C:
1156 * paragraph_funcs.[Ch]:
1157 * paragraph_pimpl.[Ch]:
1163 * text3.C: more IU: dumps most of the rest of the mathcursor
1164 implementation into cursor.[Ch]; "globalize" a bit of it.
1166 2004-01-25 Angus Leeming <leeming@lyx.org>
1168 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1170 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1172 * LaTeXFeatures.h: add nice_ and nice() const
1173 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1175 2004-01-20 André Pönitz <poenitz@gmx.net>
1178 * BufferView_pimpl.C:
1180 * bufferview_funcs.C:
1182 * cursor_slice.[Ch]:
1193 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1194 LCursor and mathcursor parts to LCursor and InsetBase.
1196 2004-01-15 André Pönitz <poenitz@gmx.net>
1198 * cursor_slice.[Ch]: add a few covienience functions
1200 * funcrequest.[Ch]: remove BufferView * member
1202 * BufferView_pimpl.C:
1209 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1211 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1213 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1214 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1216 2004-01-13 André Pönitz <poenitz@gmx.net>
1219 * lyxtext.h: hide cursor and selection anchor behind accessor function
1222 * BufferView_pimpl.[Ch]:
1224 * bufferview_funcs.C:
1234 * cursor_slice.[Ch]: some integer type changes for inset unification
1236 * lyxcursor.[hC]: remove, it's CursorSlice now.
1239 * BufferView_pimpl.[Ch]:
1240 * bufferview_funcs.C:
1246 * textcursor.[Ch]: adjust
1248 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1250 * text2.C (undoSpan): add and use
1251 * text.C (breakParagraph): use undoSpan (fix bug 578)
1254 2004-01-08 Angus Leeming <leeming@lyx.org>
1256 * BufferView_pimpl.C (MenuInsertLyXFile):
1257 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1258 * lyxfunc.C (menuNew, open, doImport):
1259 FileFilterList change to the FileDialog open and save functions.
1261 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1263 * ShareContainer.h: make isEqual and isUnique adaptable
1265 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1267 2004-01-07 Angus Leeming <leeming@lyx.org>
1270 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1272 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1274 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1275 functions replacing find, replace and replaceAll.
1277 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1278 LFUN_WORDFIND(FORWARD|BACKWARD).
1280 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1282 * text.C (breakParagraph): remove an outdated #warning
1284 2004-01-07 André Pönitz <poenitz@gmx.net>
1286 * lyxfind.C: somewhat clearer logic
1288 * text.C: prevent crash in cursorX on unitialized row cache
1290 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1292 * lyxcursor.[Ch] (operator>): add
1293 * textcursor.C (selStart, selEnd): use std::min and std::max
1295 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1297 * Chktex.C: include boost/format.hpp
1299 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1301 * InsetList.C: replace functor MathcIt with adaptable functor
1303 (insetIterator): modify accordingly
1305 * BranchList.h: move the BranchNamesEqual functor here from...
1306 * BranchList.C: ... to here
1308 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1310 (add): replace a finding loop with std::find_if.
1312 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1314 * output_docbook.C: moving LatexParam functionality into
1317 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1319 * buffer.C: increment format to 229.
1321 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1324 * lyx_sty.[Ch]: remove minipageindent_def
1330 * text3.C: remove LFUN_INSET_MINIPAGE
1332 2003-12-28 Angus Leeming <leeming@lyx.org>
1334 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1336 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1338 * text2.C (setParagraph): fix off-by-one crash
1340 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1342 * output_docbook.C: header stuff for AGU
1344 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1346 * text2.C (redoCursor): remove
1349 * BufferView_pimpl.C: remove calls to redoCursor and
1350 setCursor(cursor.par(), cursor.pos()) all around
1352 2003-12-15 Angus Leeming <leeming@lyx.org>
1354 * buffer.C: up the format to 228.
1356 2003-12-15 André Pönitz <poenitz@gmx.net>
1358 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1363 * BufferView_pimpl.C:
1372 2003-12-15 Angus Leeming <leeming@lyx.org>
1374 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1375 than getFromGUIName to manipulate the color.
1377 2003-12-14 Angus Leeming <leeming@lyx.org>
1379 * BranchList.[Ch]: minimize the API.
1380 (Branch::getBranch, getColor): now return a 'const &'.
1381 (Branch::setSelected) now returns a bool set to true if the
1382 selection status changes.
1383 (BranchList::clear, size, getColor, setColor, setSelected,
1384 allBranches, allSelected, separator): removed.
1385 (BranchList::find): new functions, returning the Branch with
1387 (BranchList::add, remove): return a bool indicating that
1388 the operation was successful.
1390 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1391 new InsetBranch::isBranchSlected member function.
1393 * LColor.[Ch]: mimimize the API.
1394 (fill): renamed as addColor and made private.
1395 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1396 versions of these functions taking a string arg have been removed.
1398 * bufferparams.C (readToken):
1399 * lyxfunc.C (dispatch):
1400 * lyxrc.C (read): changes due to the altered BranchList and
1403 * factory.C (createInset, readInset): changes due to altered
1406 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1409 * lyxfunc.C: remove insetminipage. "minipage-insert"
1410 now produces a frameless minipage box inset.
1412 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1414 * textcursor.[Ch] (selStart,selEnd): add new methods
1415 remove selection::start, end, use LyXCursor::operator<
1416 * lyxcursor.[Ch] (operator<): add
1417 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1418 * BufferView.[Ch] (unsetXSel): add
1419 * text2.C (clearSelection): use unsetXSel,adjust
1422 * rowpainter.C: adjust
1423 * bufferview_funcs.C (put_selection_at): adjust
1425 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1427 * BufferView_pimpl.C: small coord. correction
1429 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1431 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1432 dragging over the splash screen.
1434 2003-12-11 Angus Leeming <leeming@lyx.org>
1436 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1437 as it is now handled in LyXText::dispatch.
1439 * text3.C (doInsertInset): remove a level of nesting.
1441 2003-12-11 Angus Leeming <leeming@lyx.org>
1443 * factory.C (createInset): changes due to the changed interface to
1444 InsetCommandMailer::string2params.
1446 2003-12-10 Angus Leeming <leeming@lyx.org>
1448 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1449 'dialog-show-new-inset <inset name>'
1451 2003-12-10 Angus Leeming <leeming@lyx.org>
1453 * buffer.C: up the format to 227.
1455 * factory.C: the box inset is now identified simply by 'Box'.
1457 2003-12-10 Angus Leeming <leeming@lyx.org>
1459 * buffer.C: up the format to 226.
1461 * factory.C: the note inset is now identified simply by 'Note'.
1463 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1465 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1466 when a pit is enough. Standarize a couple of loops.
1468 2003-12-05 Angus Leeming <leeming@lyx.org>
1470 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1471 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1472 data to the re-worked "log" dialog.
1474 2003-12-03 André Pönitz <poenitz@gmx.net>
1480 * paragraph_funcs.C:
1482 * text2.C: use Inset::getText instead of Inset::getParagraph
1484 2003-12-03 André Pönitz <poenitz@gmx.net>
1488 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1489 InsetText::read() as LyXText::read()
1491 2003-12-02 Angus Leeming <leeming@lyx.org>
1493 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1494 type. Add a comment in the implementation that the function uses
1495 the stream's bad() function rather than fail() as the std::streams
1498 2003-12-02 André Pönitz <poenitz@gmx.net>
1500 * lyxlex.[Ch]: make interface more similar to std::stream
1502 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1504 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1506 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1508 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1510 * vspace.[Ch]: remove VSpace::NONE
1512 2003-12-01 André Pönitz <poenitz@gmx.net>
1515 * lyxtext.h: move ParagraphList member to LyXText
1516 rename LyXText::ownerParagraphs to LyXText::paragraph
1519 * bufferview_funcs.C:
1529 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1531 * undo.C: fix cursor positioning
1533 2003-12-01 John Levon <levon@movementarian.org>
1535 * BufferView_pimpl.C: fix a crash on exit with
1538 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1540 * BranchList.C: fix setSelected() method.
1542 2003-11-28 André Pönitz <poenitz@gmx.net>
1544 * ParagraphParameters.[Ch]:
1545 * ParameterStruct.h: remove space above/below from Paragraph to
1548 * BufferView_pimpl.C:
1554 * paragraph_funcs.C:
1560 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1562 * factory.C: Syntax change for CharStyles
1564 2003-11-28 André Pönitz <poenitz@gmx.net>
1569 * buffer.[Ch]: move LyXText member
1571 2003-11-28 André Pönitz <poenitz@gmx.net>
1573 * BufferView.[Ch]: make LyXText * text a private member
1575 * BufferView_pimpl.C:
1586 * output_plaintext.C: cleanup
1588 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1591 * lyxtextclass.[Ch]: parametrize SGML document header
1593 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1596 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1599 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1601 * text2.C (setFont): rework using PosIterator (no more recursive)
1602 (setCharFont): no more needed
1603 (setLayout): no more selection cursors fiddling (done by redoCursor)
1604 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1605 destroy remaining ones)
1607 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1609 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1611 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1614 * text3.C: adjust + re-allow multi par depth changes
1615 * textcursor.C: simplify a bit
1617 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1623 * src/output_docbook.C:
1624 * src/output_latex.C:
1629 * src/text2.C: Introducing a number of tags parametrizing various
1630 XML formats that we may want to support
1632 2003-11-25 André Pönitz <poenitz@gmx.net>
1634 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1636 * lyxtext.h (leftMargin/rightMargin): simplify interface
1643 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1645 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1646 master file to any child files. Fixes bug 546.
1648 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1650 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1652 2003-11-24 André Pönitz <poenitz@gmx.net>
1654 * rowpainter.C: simplification
1656 * text2.C (updateCounters): remove call to redoParagraph on
1657 changed labels as this is far too expensive.
1659 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1661 * converter.C (convert): fix a crash: this function gets
1662 called with buffer == 0 from importer code.
1664 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1666 * text3.C (cursorPrevious): make sure that we do not compare
1667 iterators form different containers.
1670 * rowpainter.C (paintSelection): make sure that we do not compare
1671 iterators from different containers.
1673 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1674 iterators from different ParagraphList containers.
1677 * text2.C (LyXText): change order of initialization slightly
1678 (operator=): new function. copy all variables except cache_par_
1679 (moveUp): make sure that we do not compare iterators from
1680 different ParagraphList constainers.
1683 * text.C (firstPar): new function
1684 (lastPar): new function
1685 (endPar): new function
1687 * lyxtext.h: move things around and group public functions, public
1688 variables, private functions, private variables
1690 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1692 * factory.C: change call to InsetERT constructor to avoid
1693 additional invocation of method status
1694 * text2.C (toggleInset): remove redundant update() call
1695 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1696 instead of a Bufferview pointer
1698 2003-11-21 André Pönitz <poenitz@gmx.net>
1700 * rowpainter.C: simplification
1702 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1704 * text3.C (dispatch): make possible to extend a word/row selection
1707 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1709 * lyxtext.h: x0_,y0_ -> xo_,yo_
1710 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1711 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1712 * rowpainter.C (paintRows): paint full paragraphs
1714 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1716 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1719 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1721 * lyxtext.h: add x0_, y0_
1722 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1723 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1725 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1727 * text2.C (setCursorIntern): move the x_target update here *
1728 * text3.C: change some bv() to true/false in calls to
1729 cursorUp/Down/Right/Left
1730 * cursor.C: use helper function.
1732 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1734 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1735 * paragraph_funcs.[Ch]: correct comment
1736 * rowpainter.C: do not paint selections away from bv->cursor()
1737 Fix a long standing selection painting bug.
1738 * text3.C: generalize mouse-selection code to LyXTexts other that
1740 * textcursor.C: do not use y coords if we can use par offsets
1742 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1744 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1745 cursor position after e.g. inset insert)
1747 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1749 * lyxfind.C (replace): adjust to locking removal + some
1752 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1754 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1757 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1760 * output_docbook.C: XML sanitation: new layout
1761 parameters InnerTag and CommandDepth
1763 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1765 * BufferView_pimpl.C:
1767 * text3.C: Fix the insertion and modification of button-style
1770 2003-11-13 André Pönitz <poenitz@gmx.net>
1772 * InsetList.[Ch]: remove deleteLyXText
1774 * paragraph.[Ch]: cache beginOfBody position
1779 * text3.C: remove superfluous update() calls
1783 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1785 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1786 * BufferView.C (fitLockedInsetCursor): remove
1787 * cursor.[Ch] (getDim): add
1788 * text.C (getRowNearY): add faster version
1789 * text3.C: remove some update calls
1791 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1803 * text3.C: The Character Style /XML short element patch.
1805 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1808 * factory.C: Small step to solving 'unable to insert some insets'
1811 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1813 * cursor.[Ch] (updatePos): new function for updating the y
1814 position of the tip inset
1815 * bufferview_funcs.C (put_selection_at):
1816 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1818 2003-11-11 André Pönitz <poenitz@gmx.net>
1820 * text.C: remove big comment on invalid Paragraph pointers as it is
1823 2003-11-11 André Pönitz <poenitz@gmx.net>
1825 * text_funcs.[Ch]: merge with ...
1833 * Makefile.am: remove text_funcs.[Ch]
1835 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1837 * cursor.C (getPos): return absolute cached y coord
1839 * BufferView_pimpl.C (fitCursor): new simplistic code
1840 (workAreaDispatch): add a fitCursor call
1842 2003-11-10 André Pönitz <poenitz@gmx.net>
1845 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1847 2003-11-10 André Pönitz <poenitz@gmx.net>
1849 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1850 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1851 indicate that the cursor needs to leave an inset
1853 * lyxtext.h: remove inset locking
1855 * cursor.[Ch]: re-implement functionality provided by inset locking
1858 * BufferView_pimpl.[Ch]:
1860 * bufferview_funcs.[Ch]:
1872 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1874 * PosIterator.[Ch]: replace the stack with a vector, add inset
1876 * iterators.[C]: adjust
1878 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1880 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1882 * paragraph_funcs.C (readParToken): put the correct id in the
1883 error item, not the id of the top paragraph
1885 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1887 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1888 * bufferview_funcs.C (put_selection_at): use the above
1890 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1892 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1894 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1896 * output_linuxdoc.h:
1897 * output_plaintext.h:
1899 * output_docbook.h: add #include statements
1901 2003-11-05 José Matos <jamatos@lyx.org>
1903 * output_docbook.[Ch]:
1904 * output_latex.[Ch]:
1905 * output_linuxdoc.[Ch]:
1906 * output_plaintext.[Ch]: New files for output formats.
1907 * output.[Ch]: New file for helper functions.
1910 * paragraph_funcs.[Ch]: output functions moved to new files.
1912 * outputparams.h: rename of latexrunparams.h
1920 * paragraph_funcs.[Ch]:
1921 * paragraph_pimpl.[Ch]:
1922 * tabular.[Ch]: rename ascii to plaintext
1923 and LatexRunParams to OutputParams.
1925 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1927 * iterators.[Ch] (text): require bv argument
1928 * undo.C (recordUndo):
1929 * lyxfunc.C (dispatch):
1930 * bufferview_funcs.C (put_selection_at): adjust
1932 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1934 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1936 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1938 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1941 2003-11-04 André Pönitz <poenitz@gmx.net>
1943 * cursor.[Ch]: restructure
1946 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1948 * iterators.[Ch] (asCursor): remove
1950 * lfuns.h: remove LFUN_INSET_EDIT
1956 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1958 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1960 * lyxfind.[Ch]: complete overhaul
1961 * BufferView_pimpl.C:
1963 * paragraph.[Ch] (insert): add
1965 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1969 * text.C: remove dead spellcheck code
1971 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1973 * dispatchresult.h: add a val setter
1975 * cursor.C (dispatch): use a tempvar for data_[i]
1977 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1979 * PosIterator.[Ch]: compile fix
1981 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1983 * text.C (cursorPar): deactivate the cursor cache
1985 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1987 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1989 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1991 * text3.C (dispatch): adjust for new DisptchResult semantics.
1993 * lyxfunc.C (dispatch): handle update when return from
1994 Cursor::dispatch, adjust for new DispatchResult semantics.
1996 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1997 DispatchResult(true) mean to not update. Add class functions for
1998 setting dispatched and update, as well as reading.
2000 * cursor.C (dispatch): don't handle update here
2002 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2004 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2005 * trans_mgr.C: adjust
2007 * paragraph_funcs.C (readParToken): exception safety
2009 * lyxvc.h: store the vcs pointer in a scoped_ptr
2012 * lyxsocket.C (serverCallback): exception safety
2014 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2016 * ispell.C (clone): make it return a auto_ptr
2018 * factory.C (createInset): exception safety
2019 (readInset): exception safety
2021 * bufferlist.C (newBuffer): exception safety
2023 * Thesaurus.C (Thesaurus): use initialization for aik_
2025 * MenuBackend.C (expandToc): exception safety.
2027 2003-11-03 André Pönitz <poenitz@gmx.net>
2031 * bufferview_funcs.C: remove getInsetFromId()
2034 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2040 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2042 * PosIterator.C (distance, advance): new
2043 * bufferview_funcs.[Ch] (put_selection_at): new
2044 * iterators.[Ch] (lockPath): new
2046 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2048 * iterators.[Ch] (asPosIterator): added
2049 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2050 * PosIterator.[Ch]: added
2052 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2056 * cursor.C (dispatch):
2057 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2059 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2060 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2061 contructor, add a class function dispatched. Remove operator>=
2063 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2065 * debug.C: only use the default constructor for debugstream
2068 * main.C (main): include debug.h and setup the lyxerr streambuf
2071 2003-10-31 José Matos <jamatos@lyx.org>
2073 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2075 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2076 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2077 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2078 * paragraph_pimpl.C (simpleTeXSpecialC):
2079 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2080 add LatexRunParams argument.
2082 * exporter.C (Export): change call accordingly.
2084 * latexrunparams.h: add new member to take care of the other backends.
2085 2003-10-30 José Matos <jamatos@lyx.org>
2087 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2088 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2089 factorise code for paragraph output.
2091 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2094 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2096 * text3.C (dispatch):
2097 * lyxfunc.C (dispatch):
2098 * cursor.C (dispatch):
2099 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2101 * dispatchresult.h: make the dispatch_result_t ctor explicit
2103 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2106 * buffer.C: small refactoring of docbook stuff
2108 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2110 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2113 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2115 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2116 operator dispatch_result_t, and operators for == != and >=
2118 * cursor.C (dispatch): adjust for operator dispatch_result_t
2119 removal. comment out call to update
2121 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2123 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2131 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2134 * dispatchresult.h: new file, DispatchResult broken out of
2137 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2139 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2141 * text.C (rowBreakPoint): put a hack inside #if 0
2143 2003-10-28 André Pönitz <poenitz@gmx.net>
2147 * paragraph_funcs.C:
2150 * text2.C: general cleanup (lots of small stuff)
2152 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2154 * text2.C (cursorEnd): simple fix to the "end key goes to one
2155 before the end on last row" bug
2157 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2159 * text.C (backspace): fix the "zombie characters"
2161 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2163 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2165 2003-10-27 André Pönitz <poenitz@gmx.net>
2167 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2169 * factory.C: handle new InsetPagebreak, InsetLine
2171 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2172 and move handling into new InsetPagebreak, InsetLine
2174 * BufferView_pimpl.C:
2176 * ParagraphParameters.C:
2177 * ParameterStruct.h:
2182 * paragraph_funcs.C:
2183 * paragraph_pimpl.C:
2189 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2192 * lyxrow_funcs.[Ch]:
2198 * text3.C: remove lastPos uses in favour of Row::endpos
2200 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2202 * undo.C (performUndoOrRedo): fix two crashes by setting a
2203 cursor by hand and reordering some calls. Use bv->lockInset instead
2204 of inset->edit because the latter loses cursor information
2206 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2208 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2210 (rowBreakPoint): fix width. change point to point + 1.
2211 Add a missing check.
2213 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2216 * lyxfunc.C: fix (at least partly) the problems
2217 with the Nav menu and headers inside branch insets
2220 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2222 * paragraph.C (getChar): add strong asserts
2224 * lyxrow_funcs.C (lastPos): remove hideous hack
2226 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2227 (fill): adjust to that (avoid an infinite loop)
2229 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2231 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2233 2003-10-23 André Pönitz <poenitz@gmx.net>
2235 * RowList_fwd.h: change list<> to vector<> to gain speed
2236 after suggestion from Alfredo
2238 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2240 * lyxtext.h: move the bidi stuff from here...
2243 * Bidi.[Ch]: ... to here
2245 2003-10-23 André Pönitz <poenitz@gmx.net>
2248 * text.C (isLastRow, isFirstRow): new functions
2250 * paragraph.h: new width cache member
2252 * rowpainter.C: replace RowList::iterator with Row & where possible
2254 * lyxfunc.C: replace several view()->text with a single call
2256 * toc.C: fix 'unused' warning
2258 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2260 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2261 when woring with stream::pos_type
2262 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2264 2003-10-22 André Pönitz <poenitz@gmx.net>
2267 * text.C: use Row & instead of RowList::iterator
2269 * lyxrow.h: rename end() to endpos()
2275 2003-10-22 Angus Leeming <leeming@lyx.org>
2277 * buffer.[Ch] (fully_loaded): new member function, returning true
2278 only when the file has been loaded fully.
2279 Used to prevent the premature generation of previews and by the
2280 citation inset to prevent computation of the natbib-style label.
2282 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2283 templates are all set up.
2285 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2287 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2289 * text.C: fixed an "oops" in the "is a bit silly"
2292 2003-10-21 André Pönitz <poenitz@gmx.net>
2294 * FuncStatus.[Ch]: small stuff, whitespace
2296 * lyxfont.[Ch]: operator<<() for debug reasons
2300 * lyxtext.h: whitespace, spelling
2302 * paragraph.C: naming of variables
2305 * text2.C: small stuff
2308 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2310 * text.C: (1) finish off the inset display() work;
2311 (2) fix the "is a bit silly" bug (accessing char
2314 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2316 * text.C: re-introduce display() for insets, fixing the
2317 various bugs (stretch of line above, math inset
2320 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2322 * text.C (rightMargin): remove spurious semicolon
2324 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2327 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2329 * text3.C: fix one crash due to wrong cursor def
2331 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2333 * vc-backend.C (scanMaster): make the regex static
2335 * LaTeX.C (scanAuxFile): make the regexs static
2337 * text3.C (doInsertInset, dispatch, dispatch):
2338 * text2.C (cursorUp, cursorDown):
2339 * text.C (selectNextWordToSpellcheck):
2340 * BufferView_pimpl.C (dispatch):
2341 * lyxfunc.C (dispatch): localDispatch -> dispatch
2343 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2345 * lyxsocket.C: include <cerrno>
2347 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2349 * lyxfunc.C (dispatch): remove textcache stuff
2351 * bufferlist.C (release): remove textcache stuff
2354 * TextCache.C: delete file
2355 * TextCache.h: delete file
2357 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2359 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2360 delete of the bv_->text.
2361 (resizeCurrentBuffer): remove texcache stuff
2362 (workAreaResize): ditto
2364 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2366 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2369 2003-10-16 André Pönitz <poenitz@gmx.net>
2376 * text3.C: speed up by storing y positions per paragraph plus per-row
2377 offset instead of having a 'full' y position in the row.
2379 2003-10-15 André Pönitz <poenitz@gmx.net>
2383 * undo.[Ch]: make undo aware of inner insets
2385 2003-10-14 Angus Leeming <leeming@lyx.org>
2387 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2388 static member functions LyX::ref() and LyX::cref.
2389 (lastfiles): new accessor functions for the new lastfiles_ member var.
2390 (addLyXView, views_): add a new LyXView to the list of views_.
2391 (updateInset): loop over all LyXViews to call their own updateInset
2392 member function, returning a pointer to the Buffer owning the inset.
2394 * BufferView_pimpl.C (loadLyXFile):
2395 * MenuBackend.C (expandLastfiles):
2396 * bufferlist.C (MenuWrite, QuitLyX):
2397 lastfiles is no longer a global variable.
2398 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2400 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2401 static function. Access through LyX::cref().emergencyCleanup().
2403 2003-10-14 André Pönitz <poenitz@gmx.net>
2405 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2407 * undo.[Ch]: restoring part of 'undo in insets'
2410 * undo_funcs.[Ch]: merge with undo.[Ch]
2412 * tabular.C: small cleansing stuff
2414 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2416 * paragraph_funcs.C (readParToken): report unknown insets as error
2417 boxes. Use the outer paragraph as location (also for unknown
2420 * factory.C (readInset): do not abort on reading an unknown inset.
2421 Eat it and return 0.
2423 2003-10-13 Angus Leeming <leeming@lyx.org>
2425 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2427 * lyxrc.C: displayTranslator is now a function,
2428 declared in GraphicsTypes.h.
2430 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2432 * format.C: new placeholder $$a to pass the socket address.
2434 * bufferlist.[Ch]: new function getBufferFromTmp.
2436 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2437 files in the temporary dir.
2439 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2441 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2443 * Makefile.am: add lyxsocket.[Ch].
2445 * lyx_main.C (error_handler): handle SIGPIPE.
2447 2003-10-13 André Pönitz <poenitz@gmx.net>
2449 * BufferView_pimpl.C:
2454 * undo_funcs.[Ch]: use paroffset_type instead of
2455 ParagraphList::iterators to prevent multiple conversion
2456 (and get a more robust interface)
2458 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2460 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2462 * text3.C (dispatch): ditto
2464 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2466 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2467 move the onlyfile, use onlyfile instead of foundfile in a couple
2470 * DepTable.C (update): flush the error stream a bit more
2472 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2474 * lyxserver.C (callback): adjust
2476 * lyxfunc.C (getStatus): add a missing brace in commented code
2477 (ensureBufferClean): reindent
2478 (dispatch): delete version taking a string
2480 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2482 * LaTeX.C (deplog): move found file handlig from here...
2483 (handleFoundFile): .. to new function here.
2484 (deplog): make sure to discover several files mentioned on the
2487 2003-10-10 André Pönitz <poenitz@gmx.net>
2494 * text3.C: fix some of the tabular crashes
2496 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2498 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2500 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2502 2003-10-09 André Pönitz <poenitz@gmx.net>
2504 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2507 * BufferView_pimpl.C:
2508 * bufferview_funcs.C:
2519 * undo_funcs.C: adjust
2521 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2523 * text2.C (incrementItemDepth): new function, use a backtracking
2524 algorithm to discover the correct item depth.
2525 (resetEnumCounterIfNeeded): new function, use a backtracking
2526 algorithm to discover if counter reset is needed.
2527 (setCounter): use them. Simplify a bit. Add different labels for
2528 different item depths for itemize.
2530 * paragraph.C (Paragraph): remove initialization of enumdepth
2533 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2534 enumerate and itemize. Change the type of itemdepth to signed char.
2536 2003-10-08 André Pönitz <poenitz@gmx.net>
2538 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2543 * tabular.[Ch]: fix crash after 'row-insert'
2545 2003-10-08 Angus Leeming <leeming@lyx.org>
2547 Fix doxygen warnings.
2549 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2550 Remove CutAndPaste:: prefix from header file declaration.
2552 * LColor.h (fill): remove LColor:: prefix from declaration.
2554 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2555 use lyx::depth_type rather than Paragraph::depth_type so that
2556 header file and .C file match.
2558 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2560 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2561 * aspell.C: \file aspell_local.C -> \file aspell.C
2562 * gettext.C: \file gettext.C -> \file src/gettext.C
2563 * gettext.h: \file gettext.h -> \file src/gettext.h
2564 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2565 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2566 * text.C: \file text.C -> \file src/text.C
2568 * toc.C: move comment so that doxygen is not confused.
2570 2003-10-07 Angus Leeming <leeming@lyx.org>
2572 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2574 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2577 * aspell_local.h: add forgotten std::string's.
2579 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2586 * text3.C: The Box patch. Fancybox support, minipage, parbox
2588 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2594 * ParagraphParameters.h:
2604 * lyxtextclasslist.h:
2607 * paragraph_pimpl.C:
2608 * textcursor.h: add <string> and other small fixes to make Lars'
2609 std::string patch compile with STLport.
2611 2003-10-06 Angus Leeming <leeming@lyx.org>
2613 * LColor.h: Add missing #include <string>.
2615 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2617 * All most all file in all subdirs: Make <string> be the prefered
2618 way of getting to std::string, add using declarations.
2620 2003-10-06 André Pönitz <poenitz@gmx.net>
2622 * metricsinfo.C: initialize LyXFont before changing attribute.
2623 (fixes the 'math in \emph is upright' bug)
2625 2003-10-06 André Pönitz <poenitz@gmx.net>
2627 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2629 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2632 * paragraph_pimpl.C: Small fixes to build using STLport
2634 2003-10-02 André Pönitz <poenitz@gmx.net>
2637 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2639 2003-10-01 André Pönitz <poenitz@gmx.net>
2641 * factory.C: assert early
2643 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2645 * lyx_main.C: remove the global debug object
2647 * debug.h: adjust for new debugstream
2649 * debug.C: adjust for new debugstream and keep the global debug
2652 2003-09-22 Angus Leeming <leeming@lyx.org>
2654 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2655 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2656 an incomplete class LyXFont.
2658 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2660 * factory.C: bug fix in branches
2662 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2664 * lyxfunc.C (processKeySym): adjust
2666 (dispatch): change arg name from ev to func, adjust
2667 (sendDispatchMessage): ditto
2669 * lyx_main.C (defaultKeyBindings): adjust keybindings
2670 (deadKeyBindings): ditto
2672 * kbsequence.C (addkey): return a FuncRequest
2674 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2676 * kbmap.C (bind): take a FuncRequest as arg, adjust
2679 (defkey): change to take a FuncRequest as arg, adjust
2680 (findbinding): take a FuncRequest as arg, adjust.
2682 * funcrequest.h (operator=): added
2684 * funcrequest.C (FuncRequest): default kb_action changed from
2685 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2687 * buffer.C (dispatch): simplify
2688 (dispatch): adjust to take a FuncRequest as arg, adjust
2690 * boost.C (assertion_failed): change assertion message slightly
2692 * ToolbarBackend.C (read): simplify
2694 * MenuBackend.C (binding): adjust call to findbinding, add a
2695 message if no binding is found.
2697 (expandToc): correct by adding a empty FuncRequest
2699 * LyXAction.C: include <boost/assert.hpp>
2700 (isPseudoAction): delete function
2701 (LookupFunc): change name to...
2702 (lookupFunc): this. change return type to FuncRequest.
2703 (getActionName): take kb_action as arg, simplify
2704 (funcHasFlag): add an assert, simplify.
2706 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2708 * toc.C (action): return a FuncRequest, simplify
2710 * lyxfunc.C (processKeySym): adjust
2711 (getStatus): delete version that takes an int.
2713 (dispatch): delete version that takes action as int
2715 (sendDispatchMessage): simplify and adjust
2717 * funcrequest.C (getArg): take unsigned int as arg
2719 * ToolbarBackend.C (read): adjust
2720 (add): delete version that takes func as a string.
2721 (getIton): take a FuncRequest as arg
2723 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2726 * MenuBackend.C (MenuItem): add a new construct that only takes a
2727 Kind, simplify the constructor use for submenus.
2729 (expandLastfiles): adjust
2730 (expandDocuments): adjust
2731 (expandFormats): adjust
2732 (expandFloatListInsert): adjust
2733 (expandFloatInsert): adjust
2734 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2736 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2737 Remove class variables lyx_pseudo_map and lyx_arg_map
2739 * LyXAction.C (searchActionArg): delete function
2740 (getPseudoAction): delete function
2741 (retrieveActionArg): delete function
2742 (LookupFunc): make it return kb_action, simplify.
2743 (getActionName): simplify
2745 * factory.C (createInset): fix new bug
2747 2003-09-19 Angus Leeming <leeming@lyx.org>
2749 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2750 masterFilename_ parameter in the include inset.
2752 * factory.C (createInset): changes due to the changes to InsetInclude.
2754 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2756 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2758 2003-09-18 Angus Leeming <leeming@lyx.org>
2761 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2762 Inset::fillWithBibKeys.
2763 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2765 2003-09-18 Angus Leeming <leeming@lyx.org>
2767 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2769 (ctor): pass and store a 'Buffer const &'
2770 (buffer): new member function.
2772 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2773 '*this' to the LaTeXFeatures ctor.
2775 2003-09-18 Angus Leeming <leeming@lyx.org>
2781 * text.C: rename EnumLColor as LColor_color.
2783 2003-09-18 Angus Leeming <leeming@lyx.org>
2785 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2786 remove #include "insets/insetbase.h" from cursor.h.
2788 2003-09-18 Angus Leeming <leeming@lyx.org>
2790 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2791 InsetOld_code to remove #include "inset.h".
2793 * iterators.C: add #include "insets/inset.h"
2795 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2797 * BufferView.C: remove more locking stuff that apparently doesn't
2798 do anything sensible.
2800 2003-09-16 André Pönitz <poenitz@gmx.net>
2803 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2806 2003-09-16 Angus Leeming <leeming@lyx.org>
2808 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2810 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2813 * paragraph.h: remove #include "lyxfont.h". Forward declare
2816 2003-09-16 Angus Leeming <leeming@lyx.org>
2818 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2819 of support/textutils.h.
2820 (isWord): move the contents of support/textutils.h's IsWordChar here.
2826 * text2.C: add #include "paragraph.h".
2829 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2831 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2837 * LaTeX.C: use namespace alias for lyx::support::os
2839 2003-09-16 Angus Leeming <leeming@lyx.org>
2842 * bufferview_funcs.C:
2845 * paragraph_pimpl.C:
2847 * text.C: add #include "LColor.h".
2849 2003-09-16 Angus Leeming <leeming@lyx.org>
2851 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2852 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2854 Store the FontBits::color variable as an int rather than as an
2855 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2858 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2859 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2860 string calls together.
2862 * lyxrc.C: add #include "LColor.h".
2864 2003-09-15 Angus Leeming <leeming@lyx.org>
2866 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2869 2003-09-15 Angus Leeming <leeming@lyx.org>
2871 * LColor.h: add an EnumLColor wrapper for LColor::color.
2873 * lyxfont.[Ch] (color, setColor, realColor):
2874 * lyxtext.h, text.C (backgroundColor):
2875 pass EnumLColor args to/from the functions, rather than LColor::color
2879 * lyxtext.h: forward declare EnumLColor.
2881 * lyx_main.C: add #include "LColor.h".
2883 2003-09-15 Angus Leeming <leeming@lyx.org>
2885 * .cvsignore: add lyx-gtk.
2887 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2892 * ParagraphParameters.C
2896 * bufferview_funcs.C
2906 * vc-backend.C: remove usage of STRCONV
2908 2003-09-15 Angus Leeming <leeming@lyx.org>
2910 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2911 explicitly define the color passed to the painter.
2913 2003-09-15 Angus Leeming <leeming@lyx.org>
2915 * bufferparams.C (BufferParams): reorder member initializers to avoid
2918 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2920 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2921 * text.C (updateRowPositions): remove an unusual nop
2923 2003-09-12 André Pönitz <poenitz@gmx.net>
2925 * BufferView_pimpl.C:
2934 * Counters.[Ch]: finish the 'automatic counters' job
2936 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2938 * aspell.C: include <boost/assert.cpp> (compile fix)
2940 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2942 * boost.C (assertion_failed): use lyx::support::abort instead of
2945 2003-09-10 Angus Leeming <leeming@lyx.org>
2947 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2948 with their _fwd progeny.
2950 2003-09-09 Angus Leeming <leeming@lyx.org>
2952 134 files throughtout the source tree: replace 'using namespace abc;'
2953 directives with the appropriate 'using abc::xyz;' declarations.
2955 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2957 * boost.C (emergencyCleanup): moved here from LAssert.c
2958 (assertion_failed): new function, called by BOOST_ASSERT
2960 * several files: change Assert to BOOST_ASSERT
2962 2003-09-09 Angus Leeming <leeming@lyx.org>
2964 * buffer.[Ch]: Add an Impl class and move Buffer's member
2965 variables into it. As a result move several header files out of
2968 Add header files to lots of .C files all over the tree as a result.
2970 2003-09-09 Angus Leeming <leeming@lyx.org>
2972 * buffer.[Ch]: make Buffer's member variables private. Add
2975 Lots of changes all over the tree as a result.
2977 2003-09-08 Angus Leeming <leeming@lyx.org>
2979 * graph.C: #include <config.h>.
2981 2003-09-08 Angus Leeming <leeming@lyx.org>
2985 * BufferView_pimpl.C:
3014 * toc.C: remove redundant using directives.
3016 2003-09-07 Angus Leeming <leeming@lyx.org>
3018 * LaTeXFeatures.h: remove #include "support/types.h".
3019 * ToolbarBackend.h: remove #include <algorithm>.
3020 * changes.h: remove #include <ctime>.
3021 * debug.h: remove #include <iosfwd>.
3022 * graph.h: remove #include "support/std_string.h".
3023 * lyx_main.h: remove #include <csignal>.
3024 * lyxlex_pimpl.h: remove #include <fstream>.
3025 * sgml.h: remove #include <algorithm>, <utility>.
3026 * toc.h: remove #include "support/std_ostream.h".
3027 Add #include <iosfwd>.
3029 2003-09-07 Angus Leeming <leeming@lyx.org>
3031 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3033 * converter.h: forward declare LatexRunParams.
3034 * encoding.h: remove #include "lyxrc.h".
3035 * lyxtext.h: remove #include "LColor.h".
3036 * lyxtextclass.h: remove #include "support/types.h".
3037 * trans.h: remove #include "tex-accent.h".
3038 * trans_mgr.h: remove #include "tex-accent.h".
3039 * insets/inset.h: remove #include "support/types.h", <vector>.
3040 * insets/insetcollapsable.h: remove #include "LColor.h".
3041 * insets/insetinclude.h: remove #include "dimension.h".
3042 * insets/insetlatexaccent.h: remove #include "dimension.h".
3043 * insets/insetoptarg.h:: remove #include "insettext.h".
3044 * insets/insettext.h: remove #include "dimension.h",
3045 <boost/shared_ptr.hpp>
3047 * insets/renderers.h: add #include "dimension.h".
3048 * insets/updatableinset.h: add #include "support/types.h".
3050 * many .C files: Associated changes.
3052 2003-09-06 Angus Leeming <leeming@lyx.org>
3054 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3055 one, inside testInvariant.
3057 * PrinterParams.C: new file.
3058 * PrinterParams.[Ch]: move the function bodies out of line.
3060 2003-09-06 Angus Leeming <leeming@lyx.org>
3062 * ParagraphParameters.h: forward declare ParameterStruct rather than
3063 including its header file.
3064 (depth): moved out-of-line.
3066 2003-09-06 Angus Leeming <leeming@lyx.org>
3068 * BufferView_pimpl.h:
3071 * lyxfunc.h: forward declare LyXKeySym rather than
3072 #include "frontends/LyXKeySym.h".
3074 * BufferView_pimpl.C:
3077 * lyxfunc.C: associated changes.
3079 2003-09-06 Angus Leeming <leeming@lyx.org>
3081 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3082 As a result, can remove the #include "insets/inset.h" from BufferView.h
3084 2003-09-06 Angus Leeming <leeming@lyx.org>
3086 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3087 As a result, can remove the #include "insets/inset.h" from BufferView.h
3089 2003-09-06 Angus Leeming <leeming@lyx.org>
3095 * bufferview_funcs.C:
3096 * BufferView_pimpl.C:
3101 * ParagraphParameters.C:
3106 * frontends/controllers/ControlDocument.C:
3107 * insets/insetcaption.C: rearrange the #includes into some sort of
3110 * buffer.h: remove #includes ErrorList.h, undo.h
3112 2003-09-06 Angus Leeming <leeming@lyx.org>
3114 * support/types.h: add a 'depth_type' typedef, used to store the
3115 nesting depth of a paragraph.
3118 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3119 defining explicitly.
3122 * paragraph_funcs.h:
3123 * ParagraphParameters.h:
3124 * sgml.h: use lyx::depth_type rather than Paragraph or
3125 ParameterStruct's depth_type.
3128 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3131 * BufferView_pimpl.C:
3133 * ParagraphParameters.C:
3136 * bufferview_funcs.C:
3143 * frontends/LyXView.C:
3144 * frontends/controllers/ControlDocument.C:
3145 * frontends/controllers/ControlErrorList.C:
3146 * insets/insetbibitem.C:
3147 * insets/insetbranch.C:
3148 * insets/insetcaption.C:
3149 * insets/insetcollapsable.C:
3150 * insets/insetenv.C:
3151 * insets/insetert.C:
3152 * insets/insetfloat.C:
3153 * insets/insetfoot.C:
3154 * insets/insetfootlike.C:
3155 * insets/insetnewline.C:
3156 * insets/insetquotes.C:
3157 * insets/insettabular.C:
3158 * insets/insettext.C:
3159 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3161 * frontends/controllers/ControlChanges.C: #include "changes.h".
3163 2003-09-06 Angus Leeming <leeming@lyx.org>
3165 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3166 than #including paragraph.h.
3169 * RowList.h: deleted. Superfluous.
3179 * insets/insettext.h: use ParagraphList_fwd.h rather than
3182 * paragraph.h: don't forward declare ParagraphList.
3185 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3186 rather than ParagraphList.h. paragraph.h is still needed for the
3187 Paragraph::depth_type parameters.
3189 * textcursor.h: enable it to compile stand-alone in light of the
3192 * bufferview_funcs.C:
3204 * frontends/controllers/ControlParagraph.C:
3205 * frontends/controllers/ControlTabular.C:
3206 * insets/insetmarginal.C:
3207 * insets/insetminipage.C:
3208 * insets/insetnote.C:
3209 * insets/insetoptarg.C: add header files needed to compile again.
3211 2003-09-06 Angus Leeming <leeming@lyx.org>
3213 * RowList_fwd.h: new file, forward-declaring Row rather than
3214 #including lyxrow.h.
3219 * insets/insettext.h: use it instead of RowList.h
3221 * bufferview_funcs.C:
3228 * text3.C: #include "RowList.h".
3230 2003-09-05 Angus Leeming <leeming@lyx.org>
3232 * factory.C (createInset):
3233 * vspace.C (c-tor): replace sscanf call with an istringstream.
3234 * ispell.C: re-add missing HP/UX headers.
3235 * lyxserver.C: re-add missing os2 headers.
3237 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3246 * text3.C: re-add missing system headers, needed for 2.95.2.
3248 2003-09-05 Angus Leeming <leeming@lyx.org>
3250 Changes most place everywhere due to the removal of using directives
3251 from support/std_sstream.h.
3253 2003-09-05 Angus Leeming <leeming@lyx.org>
3255 Replace LString.h with support/std_string.h,
3256 Lsstream.h with support/std_sstream.h,
3257 support/LIstream.h with support/std_istream.h,
3258 support/LOstream.h with support/std_ostream.h.
3260 Changes resulting throughout the tree.
3262 2003-09-05 Angus Leeming <leeming@lyx.org>
3264 * sgml.h: ensure that the header file can be compiled stand-alone.
3265 * *.C: strip out redundant #includes. (320 in total.)
3267 2003-09-04 Angus Leeming <leeming@lyx.org>
3269 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3270 here (from getPackages).
3272 * debug.[Ch]: add a new EXTERNAL tag.
3274 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3276 * text2.C (cursorEnd): simplify
3278 (getColumnNearX): adjust
3280 * text.C (computeBidiTables): adjust
3283 * rowpainter.C (paintChars): adjust
3284 (paintSelection): adjust
3285 (paintChangeBar): adjust
3288 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3290 (numberOfSeparators): adjust
3292 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3298 * text3.C: Restricts the mouse click functionality
3299 of insets like bibtex, include, toc and floatlist to the visible
3300 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3301 up the dialogs. Cursor has to be in front of the inset (i.e.
3302 start of row) for this to function.
3304 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3306 * bufferview_funcs.C (currentState): output row information
3308 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3310 * bufferview_funcs.C (currentState): output paragraph position
3312 2003-09-04 Angus Leeming <leeming@lyx.org>
3314 * FloatList.h: move out #include "Floating.h".
3315 * LaTeX.h: move out #include "DepTable.h".
3316 * LyXAction.h: move out #include "funcrequest.h".
3317 * buffer.h: move out #include "author.h", "iterators.h".
3318 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3319 * lyx_main.h: move out #include "errorlist.h".
3320 * lyxfunc.h: move out #include "FuncStatus.h".
3321 * lyxtext: move out #include "lyxcursor.h".
3322 * paragraph_pimpl.h: move out #include "counters.h".
3324 2003-09-03 Angus Leeming <leeming@lyx.org>
3326 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3327 preamble_snippets list, enabling us to add snippets to the preamble
3328 only if the snippet was not there already.
3330 2003-09-04 Angus Leeming <leeming@lyx.org>
3332 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3334 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3336 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3339 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3341 * BranchList.C: point fix, earlier forgotten
3343 2003-09-02 Angus Leeming <leeming@lyx.org>
3345 * box.C (contains): renamed from 'contained' after a fantastic
3348 2003-09-02 John Levon <levon@movementarian.org>
3354 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3356 2003-09-02 John Levon <levon@movementarian.org>
3358 * text2.C: simplification of cursorEnd(), including partial
3361 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3363 * buffer.C (readFile): add a space
3365 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3367 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3369 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3371 * buffer.C (readFile): new function, take a filename and a
3372 ParagraphList::iterator
3374 (readFile): adjust, make it private. don't use setStream, make
3375 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3376 always contain the filename.
3378 * BufferView.C (insertLyXFile): simplify and make it work for
3381 2003-08-30 John Levon <levon@movementarian.org>
3383 * Makefile.am: fix dist (from Kayvan)
3385 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3387 * most files: change to use const Buffer refs
3389 2003-08-27 André Pönitz <poenitz@gmx.net>
3391 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3392 on top of ownerPar().
3394 2003-08-27 John Levon <levon@movementarian.org>
3396 * funcrequest.C: properly initialise POD members
3398 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3400 * lyxtext.h (top_y): move top_y from here
3405 * BufferView_pimpl.[Ch]: to here
3406 * frontends/screen.C:
3407 * insets/insettabular.C:
3408 * insets/insettext.C: adjust
3409 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3411 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3414 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3416 2003-08-26 André Pönitz <poenitz@gmx.net>
3418 * paragraph_func.[Ch] (outerPar): new function
3421 * paragraph_funcs.C:
3422 * paragraph_funcs.h:
3423 * paragraph_pimpl.C:
3424 * text2.C: remove Inset::par_owner
3426 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3431 * text2.C: eliminates the needFullRow/display() stuff
3432 altogether, putting the logic in metrics/draw in the insets.
3434 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3436 * text2.C (redoParagraphInternal, redoParagraphs):
3437 * text.C (redoParagraph): add a call to updateRowPositions at the
3438 end of each 'metrics-like' call. Remove all others.
3439 (getRow): remove the 'y-computing' version.
3440 (getRowNearY): do not compute nor return the real y. Solve the
3441 'y < 0' problem and simplify.
3443 2003-08-22 Angus Leeming <leeming@lyx.org>
3445 * *.[Ch]: clean-up of licence and author blurbs.
3446 Also move config.h out of a few .h files and into a few .C files.
3448 2003-08-22 André Pönitz <poenitz@gmx.net>
3450 * lyxrow.[Ch]: add x_ and *fill_ members
3455 * text2.C: adjust/remove prepareToPrint() calls
3457 2003-08-22 André Pönitz <poenitz@gmx.net>
3459 * lyxrow.[Ch]: add end_ member
3461 * lyxrow_funcs.C: use LyXRow::end_
3463 * lyxtext.h (singleWidth): add LyXFont parameter
3466 * text2.C: adjust LyXText::singleWidth() calls
3468 * text.C (redoParagraph): simplify row breaking logic
3471 2003-08-19 André Pönitz <poenitz@gmx.net>
3473 * funcrequest.C: initialize button_ member
3476 * rowpainter.[Ch]: interface consolidation
3478 2003-08-18 André Pönitz <poenitz@gmx.net>
3481 * BufferView_pimpl.C:
3483 * paragraph_funcs.C:
3485 * text3.C: remove LyXScreen::draw() and fitCursor calls
3487 * BranchList.h: remove spurious semicolons
3489 * MenuBackend.C: fix branchlist related crash
3491 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3499 * bufferparams.[Ch]:
3503 * text3.C: implements the 'branch inset'
3504 idea. This allows the output of various versions of a document
3505 from a single source version, selectively outputing or suppressing
3506 output of parts of the text.
3507 This implementation contains a 'branch list editor' in a separate
3508 tab of the document settings dialog. Branches are user definable
3509 and have a "display colour" to distinguish them on-screen.
3511 ColorHandler was somewhat cleaned up.
3512 (1) make possible a dynamically growing LColor list by allowing
3513 the graphic context cache to grow along (vector);
3514 (2) eliminate an IMHO unnecessary step in colour allocation.
3516 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3518 * BufferView_pimpl.C: compile fix
3520 2003-08-15 André Pönitz <poenitz@gmx.net>
3522 * rowpainter.C: remove extra metrics calls
3524 * lyxtext.h: merge the two constructors into a single one,
3525 pass reference to owner's par list
3527 * BufferView_pimpl.C:
3531 2003-08-15 André Pönitz <poenitz@gmx.net>
3533 * lyxrow_funcs.[Ch]:
3536 * paragraph_funcs.C:
3541 * text_funcs.C: split LyXText::rowlist_ into individual
3542 Paragraph::rows_ chunks
3545 * BufferView_pimpl.[Ch]:
3548 * text3.C: remove toggleSelection()
3550 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3552 * bufferlist.C: beautify two alerts (shorter text of buttons)
3553 * buffer.C: Remove redundant ' ' from message
3555 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3556 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3557 rename VALIGN_CENTER to VALIGN_MIDDLE
3559 2003-08-11 André Pönitz <poenitz@gmx.net>
3561 * lyxtext.h (getPar):
3562 * text.C: new function
3564 2003-08-11 André Pönitz <poenitz@gmx.net>
3567 * tracer.[Ch]: remove unneeded files
3569 * InsetList.[Ch]: remove resizeInsetsLyXText()
3574 * text3.C: merge insertParagraphs() and appendParagraph()
3575 remove breakAgain(), update()
3577 * BufferView_pimpl.[Ch]:
3578 * bufferview_funcs.[Ch]:
3582 * tabular.C: adjust after text & InsetList changes.
3584 2003-08-08 André Pönitz <poenitz@gmx.net>
3586 * text.C (insertChar, backspace): replace rowlist fiddling
3587 with rebreak of full par
3590 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3591 checkParagraph, updateInset): removed
3593 2003-08-07 André Pönitz <poenitz@gmx.net>
3596 * text3.C: merge some LFUN handlers, remove dead code
3598 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3600 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3602 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3604 * text2.C (DEPM): fix part of bug 1255 and 1256
3606 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3608 * BufferView_pimpl.C (workAreaDispatch): change to use
3609 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3610 that are no mouse related.
3612 2003-08-05 André Pönitz <poenitz@gmx.net>
3615 * BufferView_pimpl.[Ch]:
3616 * bufferview_funcs.C:
3618 * text3.C: rip out "deep update"
3620 * textcursor.[Ch] (last_sel_cursor): remove unused member
3622 2003-08-04 André Pönitz <poenitz@gmx.net>
3625 * BufferView_pimpl.[Ch]:
3626 * ParagraphParameters.C:
3627 * bufferview_funcs.C:
3633 * text3.C: replace "complicated" BufferView::update(...) calls with
3636 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3638 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3640 * Makefile.am (lyx_SOURCES): add paper.h
3642 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3644 * Makefile.am: move things around so that both lyx-qt and
3645 lyx-xforms can be built (according to --with-frontend). Then lyx
3646 is a symbolic link to lyx-[firstfrontend]
3648 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3650 * Always use std::endl with lyxerr
3652 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3654 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3656 2003-08-01 André Pönitz <poenitz@gmx.net>
3659 * BufferView_pimpl.[Ch]:
3661 * text3.C: merge BufferView::repaint() and BufferView::update()
3663 2003-08-01 José Matos <jamatos@lyx.org>
3665 * buffer.[Ch]: file_format is no longer a buffer data element.
3667 2003-08-01 André Pönitz <poenitz@gmx.net>
3672 * text2.C: make redoParagraph more independent of current cursor
3674 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3676 * text2.C: remove unneeded members
3678 2003-07-30 André Pönitz <poenitz@gmx.net>
3680 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3682 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3683 create a single function...
3685 * paragraph_funcs.C (moveItem): ... here.
3688 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3690 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3692 * LColor.[Ch]: Add comment and greyedout logical colors.
3694 2003-07-30 André Pönitz <poenitz@gmx.net>
3696 * tabular.C: don't use Assert too heavily. This crashes where it
3699 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3701 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3702 is disabled (bug 1232)
3704 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3706 * factory.C: limited 'arg' scope
3708 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3710 * factory.C: fixed Note submenu issues
3712 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3714 * factory.C: submenu for Note/Comment/Greyedout
3716 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3719 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3721 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3724 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3725 greyedout. Patch provided by Jürgen Spitzmüller.
3727 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3729 * kbmap.C (read): fix error message when reading bind files
3731 2003-07-29 Angus Leeming <leeming@lyx.org>
3733 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3734 certainly does not do what it purports to do. I am doing it, and
3735 us, a favour by killing it.
3737 2003-07-28 José Matos <jamatos@lyx.org>
3739 * buffer.C (readBody, do_writeFile):
3740 * paragraph.C(readParagraph): \end_document replaces \the_end.
3742 2003-07-29 André Pönitz <poenitz@gmx.net>
3745 * BufferView_pimpl.[Ch]:
3749 * textcursor.[Ch]: remove toggleToggle & Co
3751 2003-07-28 José Matos <jamatos@fep.up.pt>
3753 * buffer.C (readParagraph):
3754 * params_func (readParToken, readParagraph):
3755 * paragraph.C (write): \layout -> \begin_layout.
3757 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3759 * lyxlex_pimpl.C (setFile): clean up slightly.
3761 * bufferparams.h: add compressed var
3763 * buffer_funcs.C (readFile): adjust for LyXLex change
3764 (newFile): ditto + simplify
3766 * buffer.C (writeFile): handle writing of compressed files
3768 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3769 Check if the file is compressed and set a bufferparm if so.
3771 * Makefile.am (lyx_LDADD): remove explicit -lz
3773 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3775 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3776 makeDocBookFile): put the real LyX version in the first line of
3780 * version.C.in: remove lyx_docversion
3782 * tabular.C (write_attribute): add a template-based version to
3783 write enums properly
3785 2003-07-28 André Pönitz <poenitz@gmx.net>
3790 * text3.C: use doubles again for x-coordinates. They are needed.
3792 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3794 * messages.C (getLocaleDir): use lyx_localedir()
3796 * lyxlex_pimpl.C (setFile): compress stuff
3798 * buffer.C (writeFile): add some compression stuff
3799 (do_writeFile): new func, dont call expliti close... will this
3802 * Makefile.am (lyx_LDADD): add -lz
3804 2003-07-28 José Matos <jamatos@fep.up.pt>
3806 * buffer.C: increment file format.
3807 * paragraph_funcs (readParagraph, readParToken):
3808 * paragraph.C (readParagraph): add \end_layout.
3810 2003-07-27 Angus Leeming <leeming@lyx.org>
3812 * Makefile.am: remove special casing for configure-time setting of
3813 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3815 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3816 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3818 2003-07-26 André Pönitz <poenitz@gmx.net>
3820 * paragraph_func.[Ch]:
3821 * paragraph.C (realizeFont): inline it whereever it is used
3826 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3829 2003-07-26 André Pönitz <poenitz@gmx.net>
3833 * text2.C: get rid of LyXText::need_break_row
3835 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3837 * toc.[Ch]: put namespace toc inside namespace lyx
3839 * MenuBackend.C (expandToc2): adjust for lyx::toc
3842 * lyxfunc.C (dispatch): adjust for lyx::find
3844 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3845 lyx::find instead. Reorganize a bit.
3846 (LyXReplace): rename to replace
3847 (LyXFind): rename to find
3849 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3852 2003-07-26 André Pönitz <poenitz@gmx.net>
3854 * text.C (setHeightOfRow): restrict scope of temporary variable
3856 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3857 code (never has been used?)
3859 2003-07-27 Asger Alstrup <alstrup@local>
3861 * text.C (fill): Optimise algorithm to exploit that we can reuse
3862 the LyXFont for many characters.
3863 (setHeightOfRow): Same thing.
3864 (rowBreakPoint): Same thing.
3866 2003-07-26 Asger Alstrup <alstrup@local>
3868 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3870 * text.C (singleWidth): Spurious font copying in hot-spot
3871 singleWidth avoided. Reorder tests for arabic for efficiency.
3873 * text.C (fill): handle empty paragraphs better.
3875 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3878 * encoding.h: add includes
3880 * lyxrc.C: remove reading of bind files
3882 * lyx_main.C (init): setup bindings and menus only if we have a
3885 * kbmap.C (read): new method. Do the actual reading of bind
3888 * converter.C (dvipdfm_options):
3891 (output): adapt PAPER_* enums.
3893 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3895 * bufferparams.h: remove paper-related enums from there
3897 * paper.h: New file. A trivial header file to hold paper-related
3898 enums. It should later expand to contain many paper-related
3901 * lyxrc.C: declare extern displayTranslator
3903 2003-07-27 José Matos <jamatos@fep.up.pt>
3905 * tabular.[Ch] (linuxdoc): add support for tables and figures
3908 2003-07-27 José Matos <jamatos@fep.up.pt>
3910 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3911 consistency in both functions.
3912 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3914 2003-07-26 Asger Alstrup <alstrup@local>
3916 * rowpainter.C (paintRows): Change algorithm to work directly on
3917 the insets rather than asking every character in the document
3918 whether its an inset.
3920 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3922 * buffer.C (openFileWrite): factorize some code
3924 2003-07-26 Angus Leeming <leeming@lyx.org>
3927 * lyx_main.[Ch]: replace occurances of system_tempdir with
3930 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3932 * rename Inset to InsetOld
3934 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3936 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3937 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3938 which I think is a bit clearer. EDIT is gone, since it was
3939 premature optimisation, and broken for mathed anyway.
3940 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3941 with cursor positioning in insets as well (math insets still do not
3942 work, but that's a different story anyway.) It mysteriously
3943 crashes sometimes with undo in the first paragraph, but I'm fairly
3944 confident that this is a compiler bug.
3946 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3948 * paragraph.C (Paragraph): adjust for new clone return type
3950 (copyIntoMinibuffer): ditto
3952 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3954 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3955 by not having a special case, and always doing a full rebreak of
3956 the document after undo.
3958 2003-07-23 Angus Leeming <leeming@lyx.org>
3960 * factory.C (createInset): InsetExternal::setParams now takes a
3963 2003-07-23 Angus Leeming <leeming@lyx.org>
3965 * factory.C (createInset): changed interface to the external and
3966 graphics mailers' string2params functions.
3968 2003-07-23 Angus Leeming <leeming@lyx.org>
3970 * factory.C (createInset): pass a
3971 Buffer const * parameter to InsetExternalMailer's string2params.
3973 2003-07-22 John Levon <levon@movementarian.org>
3975 * Thesaurus.h: include the right aiksaurus header
3977 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3979 * MenuBackend.C (expand): check menu shortcuts unconditionally
3981 2003-07-21 Angus Leeming <leeming@lyx.org>
3983 * factory.C (createInset): pass a
3984 buffer_path parameter to InsetGraphicsMailer's string2params.
3986 2003-07-21 Angus Leeming <leeming@lyx.org>
3988 * BufferView_pimpl.C (buffer):
3991 * lyxfunc.C (dispatch):
3992 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3993 rather than the grfx shortcut.
3995 2003-07-21 André Pönitz <poenitz@gmx.net>
3997 * rowpainter.C: remove unused variables
4000 * tabular_funcs.h: move to tabular.C
4001 * Makefile.am: adjust
4003 * tabular.[Ch]: basic optical cleaning
4005 * author.h: pass references, not values
4007 2003-07-18 André Pönitz <poenitz@gmx.net>
4015 * text3.C: two-phase drawing for InsetText and InsetTabular
4016 some float -> int changes.
4018 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4020 * lyx_main.C: fix the fix
4022 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4024 * lyx_main.C: fix a crash in batch mode if no files specified
4027 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4029 * format.[Ch] (papersize): moved to BufferParams
4030 * converter.[Ch] (dvips_options): moved to BufferParams
4031 (dvipdfm_options): moved to anon namespace
4032 * bufferparams.[Ch]: added above functions.
4034 2003-07-17 André Pönitz <poenitz@gmx.net>
4038 * text2.C: don't call inset->update() anymore
4040 * metricsinfo.[Ch]: add convenience constructor
4042 2003-07-16 André Pönitz <poenitz@gmx.net>
4047 * text2.C: replace the LyXCursor::irow_ member with
4048 on-demand computation of the value
4050 2003-07-16 John Levon <levon@movementarian.org>
4052 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4054 2003-07-15 André Pönitz <poenitz@gmx.net>
4057 * text2.C: remove no more needed refresh_row
4059 2003-07-15 André Pönitz <poenitz@gmx.net>
4064 * text3.C: refresh_status tristate -> need_update bool
4066 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4068 * lyxtext.h (init): remove reinit argument (act as if always true)
4069 * text2.C: adjust to that
4071 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4073 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4074 * text3.C: use it to delete selections in some cases
4075 (bugs 441, 673, 702, 954).
4077 2003-07-14 André Pönitz <poenitz@gmx.net>
4079 * rowpainter.[Ch]: reduce interface
4081 2003-07-14 André Pönitz <poenitz@gmx.net>
4083 * BufferView_pimpl.C:
4084 * text2.C: adjust after removing unused BufferView * argument
4086 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4088 * text2.C (init): fix a crash fired on resize
4090 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4092 * buffer.[Ch]: added new closing signal
4093 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4094 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4095 BufferView::Pimpl via the closing the signal
4097 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4099 * buffer.[Ch]: take out all bv-related from buffer
4101 * BufferView_pimpl.[Ch]: connect to new signals
4102 * CutAndPaste.C: removed useless asserts
4103 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4106 * lyxfunc.C: moved view-related funciontality from vc here
4107 * paragraph.C: removed outdated comments
4110 2003-07-10 André Pönitz <poenitz@gmx.net>
4112 * BufferView_pimpl.C:
4116 * text2.C: remove InsetText::InnerCache, clean up consequences
4118 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4120 * ispell.C: fix two typos in error messages
4122 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4124 * Extend Note inset to other forms of annotation like Comment
4125 and Greyedout. Right button click gives dialog.
4127 Files modified or added (+):
4131 * ControlNote.[Ch] +
4133 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4134 frontends/controllers
4138 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4140 * aspell.C: add missing namespace lyx::support
4142 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4144 * BufferView.[Ch] (newFile): Add
4145 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4146 * LaTeX.[Ch] (message): added this signal and use it
4147 * buffer.[Ch] (busy, message): added these signals and use them
4148 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4152 * importer.C: use buffer signals instead of direct bv calling
4153 * lyx_cb.[Ch] (ShowMessage): removed
4156 * paragraph_funcs.C:
4157 * text2.C: use buffer signals
4159 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4161 * introduce namespace lyx::graphics
4163 2003-07-02 André Pönitz <poenitz@gmx.net>
4165 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4167 2003-07-01 André Pönitz <poenitz@gmx.net>
4174 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4175 text*.C to text_func.C
4177 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4179 * introduce namespace lyx::support
4181 2003-06-30 André Pönitz <poenitz@gmx.net>
4186 * text.C: re-enable --with-included-string
4188 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4190 * textcursor.C: add <config.h>
4192 * text.C (getWord): remove const from word_location arg
4194 * lyxvc.C (getLogFile): fix const type order
4196 * lyxtext.h: remove const from word_location arg, add arg name
4198 * lyxlayout.h: currect type on labeltype.
4200 * importer.C: correct \file
4202 * converter.C (intToFormat): use std:: on ret val, ws changes
4204 * bufferlist.h: correct \file
4206 * buffer.C (makeLinuxDocFile): fix const type order
4207 (makeDocBookFile): ditto
4208 (fillWithBibKeys): use std:: on stdlib args.
4210 * CutAndPaste.C: fix authors.
4211 (availableSelections): use std:: on return vector
4213 2003-06-27 André Pönitz <poenitz@gmx.net>
4215 * BufferView_pimpl.C:
4216 * bufferview_funcs.C:
4224 * text3.C: remove LyXCursor::row_ member
4227 * text.C: rename fullRebreak() to partialRebreak() and implement
4228 a fullRebreak() that really bereks fully
4230 * textcursor.h: new struct for cursor-related data
4232 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4234 * lyx_main.C (LyX): get full path of document loaded on the
4237 2003-06-26 André Pönitz <poenitz@gmx.net>
4239 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4240 remove unused/broken operator>,<,>=.
4242 * text.C: remove only use of broken operator<= in an Assert().
4244 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4246 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4247 moved errorlist_.clear to showErrorList
4249 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4251 * converter.C (scanLog, runLaTeX):
4252 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4253 move the bv->showErrorList call to the callers
4254 * lyxfunc.C: i.e. here...
4256 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4257 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4258 namespace, the second to...
4259 * buffer_funcs (BufferFormat, parseErrors): added
4260 * errorlist.C (ErrorList(TeXErrors const &)): removed
4262 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4264 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4266 2003-06-24 "Garst R. Reese" <reese@isn.net>
4270 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4272 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4274 * version.C.in: change docversion to 1.4
4276 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4278 * buffer.C: fix a bug just introduced
4280 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4282 * buffer.[Ch]: added the parseError signal and use it, removed
4284 * BufferView.[Ch] (addError): moved to ...
4285 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4286 to the Buffer::parseError signal to catch (guess what) parse errors
4287 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4289 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4291 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4292 ability to create a buffer and to return an existing one from
4293 the list. Moved these functions to...
4294 * buffer_funcs.[Ch]: added
4295 * BufferView.[Ch] (loadLyXFile): added
4296 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4297 job removed from bufferlist::loadLyXFile.
4298 * buffer.C (setReadOnly): make it work without view
4299 (i.e added an if (users))
4301 2003-06-19 Angus Leeming <leeming@lyx.org>
4304 * LyXAction.C (init):
4305 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4306 with LFUN_DIALOG_SHOW <name> <data>.
4308 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4310 * CutAndPaste.C (availableSelections): small compilation fix for
4311 ancient (gcc 2.9x) compilers
4313 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4315 * text3.C (cursorNext): add tmp var
4317 * text2.C (updateCounters): for function calling out of for clause
4318 (replaceSelectionWithString): ditto
4319 (insertStringAsParagraphs): ditto
4320 (getColumnNearX): add tmp var
4321 (setCursorFromCoordinates): add tmp var
4322 (cursorDownParagraph): add tmp var
4323 (deleteEmptyParagraphMechanism): add tmp var
4325 * text.C (insertChar): add tmp var
4327 * rowpainter.C (paintDepthBar): add tmp var
4329 * CutAndPaste.C (availableSelections): potentially check all
4330 paragraphs in a cut to fill the shown strings.
4332 2003-06-18 André Pönitz <poenitz@gmx.net>
4334 * kbmap.[Ch]: use vector<> instead of list<>
4336 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4338 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4339 pasteSelection with index
4341 * text2.C (pasteSelection): modify, call pasteSelection with index
4343 * paragraph.C (asString): reimplement version with no interval to
4344 call the one with interval.
4346 * lyxtext.h: add index arg to pasteSelection
4348 * MenuBackend.C (MenuItem): handle PasteRecent
4349 (Menu::read::Menutags): add md_pasterecent
4351 (expandPasteRecent): new function
4354 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4356 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4358 (availableSelections): new function
4360 2003-06-17 Angus Leeming <leeming@lyx.org>
4362 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4364 2003-06-17 Angus Leeming <leeming@lyx.org>
4367 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4369 * lyxfunc.C (dispatch): invoke it.
4371 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4373 * iterators.C (operator++, ParPosition): reintroduce some
4374 const_cast for the benefit of older compilers.
4376 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4378 * text3.C (dispatch): do not modify clipboard when doing
4379 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4380 LFUN_DELETE_SKIP on a selection selection
4382 2003-06-16 André Pönitz <poenitz@gmx.net>
4388 * tabular.[Ch]: IU of clone() and getLabelList();
4390 2003-06-13 André Pönitz <poenitz@gmx.net>
4392 * tabular.h: compactification
4394 2003-06-12 André Pönitz <poenitz@gmx.net>
4398 * tabular_funcs.h: some renaming plus whitespace
4400 2003-06-12 André Pönitz <poenitz@gmx.net>
4403 * BufferView_pimpl.C:
4409 * toc.C: Return a Paragraph & for ParIterator::operator*()
4411 2003-06-11 John Levon <levon@movementarian.org>
4415 * ToolbarBackend.C: add "Toolbars" section and
4418 2003-06-10 Angus Leeming <leeming@lyx.org>
4421 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4423 * lyxfunc.C (dispatch): invoke it.
4425 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4427 * main.C: protect <ios> with HAVE_IOS
4428 (main): protect sync_with_stdio with HAVE_IOS
4430 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4432 * text2.C (cutSelection): adjust
4433 (pasteSelection): adjust
4435 * messages.C: handle get of empty string
4437 * main.C (main): use sync_with_stdio(false)
4439 * lyxfunc.C (dispatch): adjust
4441 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4442 (WriteAs): remove unneeded BufferView arg.
4444 * bufferparams.h: use correct types on papersize, papersize2 and
4447 * bufferparams.C (readToken): adjust for type
4448 (writeLaTeX): add missing cases to switch.
4450 * bufferlist.C (quitWriteBuffer): adjust
4453 * buffer.C (asciiParagraph): remove some commented code.
4455 * CutAndPaste.C: remove current_view extern variable.
4456 (cutSelection): add BufferParams arg.
4457 (eraseSelection): add BufferParams arg.
4458 (pasteSelection): add Buffer const & arg
4460 2003-06-07 John Levon <levon@movementarian.org>
4463 * paragraph_funcs.C:
4464 * paragraph_pimpl.C:
4468 * paragraph.C: allow InsetERT to freely space lines,
4469 and some consolidation of code
4471 2003-06-06 José Matos <jamatos@fep.up.pt>
4473 * buffer.C (makeDocBookFile): fix bug #821
4475 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4477 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4479 2003-06-04 Angus Leeming <leeming@lyx.org>
4481 * buffer.C: bump format to 224.
4483 2003-06-05 André Pönitz <poenitz@gmx.net>
4485 * text2.C (redoParagraphs): remove two const_cast<>
4487 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4489 * ParagraphList.h: remove last remnants of NO_STD_LIST
4491 2003-06-03 Angus Leeming <leeming@lyx.org>
4493 * factory.C (createInset): small change to the way InsetExternal's params
4496 2003-06-04 André Pönitz <poenitz@gmx.net>
4498 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4500 * paragraph_pimpl.h:
4501 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4503 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4505 * undo_funcs.C: make some simple cases of undo work again
4507 2003-06-03 John Levon <levon@movementarian.org>
4509 * ispell.C: HPUX doesn't have sys/select.h
4512 2003-06-03 John Levon <levon@movementarian.org>
4514 * CutAndPaste.C: update tabular and include inset
4519 * paragraph.C: remove owningBuffer(), don't pass Buffer
4522 * factory.C: insetGraphicsParams changed
4524 2003-06-02 John Levon <levon@movementarian.org>
4530 * text3.C: remove insetparent
4532 2003-06-02 John Levon <levon@movementarian.org>
4535 * buffer.C: fix inset_iterator.end(), move out of line
4538 2003-06-01 John Levon <levon@movementarian.org>
4540 * text3.C: use a proper cut/paste when doing inset
4541 insert (from Jürgen Spitzmüller)
4543 2003-06-01 John Levon <levon@movementarian.org>
4545 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4547 2003-05-30 André Pönitz <poenitz@gmx.net>
4549 * rowpainter.C: unify second drawing phase
4551 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4553 * trans_mgr.C: remove one case of current_view
4555 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4557 * paragraph_funcs.h: remove paragraph.h include
4559 * paragraph.h: delete NO_STD_LIST stuff
4561 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4563 * buffer.h: remove paragraph.h include
4565 * ParagraphList.C: delete file
4567 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4569 * toc.C (getTocList): adjust
4571 * paragraph_pimpl.C (validate): adjust
4573 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4575 * paragraph.C (Paragraph): adjust
4576 (getPositionOfInset): use const_iterator, adjust
4577 (bibitem): use const_iterator, adjust
4578 (setInsetOwner): adjust
4580 * iterators.C (operator++): adjust
4582 * InsetList.[Ch]: Replace selfmade iterator with standard
4583 vector::iterator also introduce const_iterator. Remove getPos,
4584 getInset and setInset from InsetTable. Adjust accordingly.
4586 * BufferView.C (lockInset): adjust
4587 (ChangeInsets): adjust
4589 * tabular.[Ch]: delete commented same_id functions
4591 2003-05-28 John Levon <levon@movementarian.org>
4593 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4595 2003-05-28 André Pönitz <poenitz@gmx.net>
4597 * metricsinfo.[Ch]: remove 'fullredraw' member
4599 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4601 * lyxtextclass.C (operator): remove caching.
4603 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4607 * text2.C (cursorBottom): adjust
4608 (setCounter): use ParagraphList::find, adjust
4610 * text.C (workWidth): use ParagraphList::find, adjust
4612 * lyxcursor.C (LyXCursor): adjust
4614 * buffer.C (inset_iterator): adjust
4616 * ParagraphList.h: make iterator(value_type) private, make
4617 ParagraphList a friend of iterator.
4619 * ParagraphList.C (find): new function
4621 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4623 2003-05-27 André Pönitz <poenitz@gmx.net>
4625 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4627 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4629 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4631 2003-05-26 John Levon <levon@movementarian.org>
4633 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4635 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4637 * remove same_id from function signatures, adjust.
4639 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4641 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4643 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4645 * paragraph.C (Paragraph): get rid of same_ids parameter
4647 * ParagraphList.C (insert): adjust
4650 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4652 * paragraph_funcs.C (breakParagraph): adjust
4653 (breakParagraphConservative): adjust
4655 * buffer.C (readParagraph): adjust
4657 * ParagraphList.C (insert): take a reference instead of a pointer
4660 * paragraph.[Ch] (id): new function
4662 * bufferlist.C (newFile): adjust
4664 * ParagraphList.C (ParagraphList): adjust
4666 (push_back): take a reference instead of a pointer.
4668 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4670 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4673 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4674 set else use old code.
4676 * ParagraphList.C: remove all NO_NEXT code and only compile this
4677 code of NO_STD_LIST is set.
4679 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4681 * BufferView_pimpl.C:
4691 * graphics/GraphicsConverter.C:
4692 * graphics/PreviewLoader.C: header adjustment
4694 2003-05-23 Angus Leeming <leeming@lyx.org>
4696 * LaTeXFeatures.[Ch] (useBabel): new method.
4697 * bufferparams.C (writeLaTeX): use it.
4699 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4701 * ParagraphList.h (set): remove unused function.
4703 2003-05-23 André Pönitz <poenitz@gmx.net>
4706 * BufferView_pimpl.C:
4710 * undo_funcs.C: setUndo reworked
4712 * iterators.[Ch]: add access to topmost ParagraphList
4714 * lyxtext.[Ch] (workWidth): add a const
4716 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4718 * texrow.[Ch] (increasePos): remove function
4719 * exporter.C (export): removed unused var and outdated comment
4721 2003-05-23 Angus Leeming <leeming@lyx.org>
4723 * latexrunparams.h: rename fragile as moving_arg.
4724 * paragraph.C (simpleTeXOnePar): ditto.
4725 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4727 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4729 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4731 (textUndoOrRedo): comment out a currently unused var.
4733 * paragraph.h (NO_NEXT): enable NO_NEXT
4735 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4737 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4739 * exporter.C (Export): adjust for removeAutoInsets removal.
4741 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4743 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4745 * BufferView.[Ch] (removeAutoInsets): delete function
4747 2003-05-22 Angus Leeming <leeming@lyx.org>
4749 * latexrunparams.h: add a free_spacing variable.
4751 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4752 to pass moving_arg, as the data is stored in runparams.fragile.
4754 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4755 to Inset::latexOptional or to simpleTeXOnePar.
4757 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4758 free_spacing arg to Inset::latexOptional.
4760 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4763 2003-05-22 Angus Leeming <leeming@lyx.org>
4765 * latexrunparams.h: add fragile and use_babel variables.
4767 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4768 * buffer.C (makeLaTeXFile): store this returned value in
4769 runparams.use_babel, thus passing it to the inset::latex methods.
4771 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4772 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4774 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4775 longer has a fragile arg, as it is stored in runparams.fragile.
4777 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4778 moving_arg parameter as the data is stored in runparams.fragile.
4780 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4781 a fragile parameter as the data is stored in runparams.fragile.
4783 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4785 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4787 2003-05-22 Angus Leeming <leeming@lyx.org>
4789 * latexrunparams.h: add a 'bool nice' which defaults to false.
4791 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4792 now encapsulated within runparams.
4794 * bufferlist.C (updateIncludedTeXfiles):
4795 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4797 2003-05-22 Angus Leeming <leeming@lyx.org>
4799 * latexrunparams.h: new file containing struct LatexRunParams.
4800 * Makefile.am: add new file.
4802 * LaTeX.[Ch] (c-tor, run):
4803 * buffer.[Ch] (makeLaTeXFile):
4804 * bufferlist.[Ch] (updateIncludedTeXfiles):
4805 * converter.C (convert, scanLog):
4806 * converter.[Ch] (runLaTeX):
4807 * exporter.C (Export):
4808 * paragraph.[Ch] (simpleTeXOnePar):
4809 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4810 * paragraph_funcs.[Ch] (latexParagraphs):
4811 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4812 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4813 pass around a LatexRunParams parameter.
4815 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4817 * paragraph.[Ch]: remove unused constructor
4819 * ParagraphList.C (erase): new function, taking two iterators
4821 2003-05-22 André Pönitz <poenitz@gmx.net>
4823 * undo_funcs.C: remove duplicated code
4825 * iterator.[Ch]: operator=
4827 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4829 * tabular.C (SetMultiColumn): ws changes
4831 * rowpainter.C (paintFirst): get rid of a ->previous
4833 * lyx_cb.C (getPossibleLabel): parlist simplification
4835 * BufferView.C (ChangeInsets): simplify slightly.
4837 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4839 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4840 * lfuns.h: new LFUN_SPACE
4841 * lyxfunc.C: protected space has a new lfun
4842 * paragraph_funcs.C: read new space insets
4844 * factory.C: handle new space insets
4846 2003-05-22 André Pönitz <poenitz@gmx.net>
4849 * BufferView_pimpl.C:
4852 * undo_funcs.C: return a ParIterator from getParFromID.
4854 * iterators.[Ch]: add two const's
4856 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4858 * toc.C (getTocList): adjust
4860 * iterators.[Ch]: rework for parlist
4862 * buffer.C (par_iterator_begin): adjust
4863 (par_iterator_end): adjust
4865 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4867 * BufferView.C (removeAutoInsets): adjust
4868 (ChangeInsets): adjust
4870 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4872 * text.C (top_y): fix bug 1110
4874 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4876 * errorlist.[Ch]: added
4879 * BufferView_pimpl.C:
4880 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4883 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4885 * Makefile.am: ensure that lyx is relinked upon changes to the
4886 various "convenience" libs.
4888 2003-05-20 Angus Leeming <leeming@lyx.org>
4890 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4891 files are compiled in alphabetical order again.
4893 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4895 2003-05-19 Angus Leeming <leeming@lyx.org>
4897 * gettext.[Ch]: remove "char const * _(char const *)".
4899 2003-05-19 André Pönitz <poenitz@gmx.net>
4901 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4910 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4912 2003-05-19 André Pönitz <poenitz@gmx.net>
4916 * lyxtextclass.[Ch]:
4918 * paragraph_funcs.[Ch]:
4920 * text3.C: more insetenv work
4922 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4924 * ParagraphParameters.C (params2string): small bug fixed
4926 2003-05-16 André Pönitz <poenitz@gmx.net>
4929 * bufferview_funcs.C: patch from Kornel Benko to prevent
4930 crash when _(...) is called twice in a statement
4932 2003-05-16 André Pönitz <poenitz@gmx.net>
4939 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4941 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4943 * lyx_main.C (init): remove spurious static_cast
4945 2003-05-14 André Pönitz <poenitz@gmx.net>
4947 * BufferView.C: fix format string
4949 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4951 * BufferView.[Ch] (insertErrors): removed
4952 * BufferView.[Ch] (showErrorList): added
4953 * buffer.C (runChkTeX):
4954 * converter.C (scanLog): call showErrorList instead of inserterrors
4956 2003-05-13 André Pönitz <poenitz@gmx.net>
4958 * BufferView_pimpl.C:
4960 * bufferview_func.C:
4967 * tabular_funcs.h: tostr() from its own header
4969 * ParagraphParameters.C:
4974 * text3.C: STRCONV()
4976 2003-05-12 André Pönitz <poenitz@gmx.net>
4979 * BufferView_pimpl.C:
4983 * ParagraphParameters.C:
4987 * bufferview_funcs.C:
5000 * paragraph_funcs.C:
5004 * text3.C: boost::format -> bformat all over the place
5007 2003-05-09 André Pönitz <poenitz@gmx.net>
5009 * LColor.[Ch]: Pimpl the #include <map> away
5011 2003-05-09 John Levon <levon@movementarian.org>
5013 * bufferlist.C: never remove emergency saves
5015 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5017 * Makefile.am: better lib building
5019 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5021 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5023 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5024 (simpleTeXSpecialChars): adjust
5025 (simpleTeXSpecialChars): adjust
5026 * paragraph.C (simpleTeXOnePar): adjust
5027 * buffer.C (makeLaTeXFile): adjust
5029 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5031 * text2.C (changeDepth): parlist cleanup
5032 (getColumnNearX): ditto
5034 * rowpainter.C (getLabelFont): parlist cleanup
5036 * bufferlist.C (newFile): parlist cleanup
5038 * CutAndPaste.C (eraseSelection): parlist cleanup
5040 * BufferView_pimpl.C (trackChanges): parlist cleanup
5043 * BufferView.C (lockInset): parlist cleanup.
5044 (ChangeInsets): ditto
5046 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5048 * CutAndPaste.h: Update file header.
5050 * CutAndPaste.C: Update file header.
5051 Store the parts cut out of the Document in a limited_stack.
5052 (copySelection): adjust
5053 (pasteSelection): new function, takes the index in the limited stack.
5054 (nrOfParagraphs): adjust
5055 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5056 simplify error inset insertion.
5057 (checkPastePossible): adjust
5059 2003-05-06 John Levon <levon@movementarian.org>
5061 * text2.C: don't cast wrap inset to float
5063 2003-05-05 André Pönitz <poenitz@gmx.net>
5066 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5068 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5069 few naked Paragraph *.
5071 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5073 * bufferparams.C: Output warning if a document with missing
5074 TeX document class is loaded
5075 * exporter.C: Disable TeX exports if the document class is missing
5078 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5079 isTeXClassAvailable()
5081 2003-05-03 John Levon <levon@movementarian.org>
5084 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5085 explicit cursor show/hide
5087 * BufferView_pimpl.h:
5088 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5089 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5091 * lyxfunc.C: hide cursor before dispatching.
5096 * text3.C: remove explicit cursor hides
5098 2003-05-02 André Pönitz <poenitz@gmx.net>
5100 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5103 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5106 * text2.C: tiny whitespace
5108 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5110 * undo_funcs.C: almost only ws changes.
5112 * ParagraphList.C (splice): just return if pl is empty.
5114 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5116 * ParagraphList.C (splice): new function.
5118 * CutAndPaste.C (pasteSelection): use it
5120 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5122 * CutAndPaste.C (pasteSelection): remove the last next and
5123 previous from this file.
5125 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5127 * CutAndPaste.C (pasteSelection): more clean up, user proper
5128 ParagraphList functions for pasteing.
5130 * ParagraphList.C (insert): new function, three arg insert
5132 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5134 * ParagraphList.C (insert): new function, three arg insert
5136 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5139 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5141 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5143 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5145 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5147 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5149 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5150 (copySelection): clean up a bit.
5151 (pasteSelection): use make_pair
5153 * ParagraphList.C (ParagraphList): implement copy constructor
5154 (operator=): implement, base on copy constructor.
5157 * paragraph.C (erase): return a bool
5159 * paragraph_pimpl.C (erasePos): remove function, move contents...
5160 (erase): ... here. Return a bool.
5161 (erase): call erase instead of erasePos.
5163 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5165 * ParagraphList.h: define PitPosPair
5166 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5167 ParagraphList, fix a bug on pasting multiple pars
5168 * text2.C: change interface to C&P
5170 2003-04-30 André Pönitz <poenitz@gmx.net>
5172 * undo_func.C: revert part of yesterday's patch 2
5174 2003-04-30 John Levon <levon@movementarian.org>
5176 * LColor.C: s/tabular/table/
5178 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5180 * text3.C (dispatch): do not convert iterator -> pointer
5181 * undo_funcs.C (setCursorParUndo): ditto
5182 * text_funcs.C (transposeChars): ditto
5184 * text2.C (setLayout): ws changes only
5186 * text.C (breakParagraph): do not convert iterator -> pointer
5188 (acceptChange): ditto
5189 (rejectChange): ditto
5194 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5197 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5199 * text3.C (gotoInset): YABG (yet another bad getChar)
5201 2003-04-29 André Pönitz <poenitz@gmx.net>
5203 * paragraph.h: make operator= private unimplemented as long as
5206 * ParagraphList.C: whitespace
5209 * paragraph_pimpl.[Ch]:
5210 * paragraph_funcs.C:
5212 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5215 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5217 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5219 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5220 * paragraph.[Ch] (erase):
5221 * paragraph_pimpl.[Ch] (erase): change return type and value
5222 * text2.C (cutSelection): some rework
5224 2003-04-28 John Levon <levon@movementarian.org>
5226 * bufferlist.C: changes for unsaved changes dialog
5228 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5230 * bufferlist.C (newFile): set language (messages_) for new
5233 * buffer.C (readFile): ws changes only.
5235 2003-04-28 André Pönitz <poenitz@gmx.net>
5240 * BufferView_pimpl.C:
5241 * BufferView.C: getParFromID related ParagraphList::iterator changes
5243 2003-04-28 André Pönitz <poenitz@gmx.net>
5245 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5248 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5250 * messages.C: remove one more localedir class variable.
5252 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5254 * messages.C (getLocaleDir): singleton generation function
5256 (Messages): add a default constructor.
5258 * main.C (main): do not setup localedir here, do not call
5261 * gettext.C (_): use it.
5262 (gettext_init): delete funciton
5264 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5266 * gettext.C (getLyXMessages): new singleton generating function.
5268 * buffer.C (updateDocLang): adjust
5270 * Makefile.am (messages.o): add target
5271 (main.o): remove target
5273 2003-04-27 John Levon <levon@movementarian.org>
5278 * lyxvc.C: specify cancel button in Alert::prompt
5280 2003-04-26 John Levon <levon@movementarian.org>
5285 * LyXAction.C: add LFUN_INSET_SETTINGS
5287 * lyxfunc.C: don't enable tabular-feature when there's
5288 just any locking inset
5290 2003-04-26 John Levon <levon@movementarian.org>
5292 * bufferlist.C: re-add Cancel to buffer close question
5294 * lyxfunc.C: fix import UI a bit
5296 2003-04-25 John Levon <levon@movementarian.org>
5298 * gettext.C: remove the broken asserts for now
5300 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5302 * messages.C: make case where setlocale cannot comply work better.
5304 * buffer.C (updateDocLang): new function
5305 (changeLanguage): use it
5308 * text2.C (setCounter): use B_ a bit.
5310 * lyxlayout.C (Read): be sure to trim the label strings.
5312 * messages.C (Messages): fix typo in comment
5314 * buffer.C (readFile): set message_ after file is loaded.
5315 (makeDocBookFile): remove double return
5316 (changeLanguage): reset message_ upon language change.
5317 (B_): new func, use this to get translated buffer strings.
5319 * main.C: add myself and Jean Marc as authors.
5321 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5323 * messages.[hC]: pimplify Messages, and three different pimpls to be
5324 used in different circumstances.
5326 * gettext.[Ch]: change for use with new message code.
5328 2003-04-24 André Pönitz <poenitz@gmx.net>
5330 * factory.C: support for eqref
5332 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5334 * messages.[Ch]: add missing char
5336 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5338 * messages.[Ch]: New files
5340 2003-04-18 John Levon <levon@movementarian.org>
5344 * BufferView_pimpl.C:
5348 * text2.C: remove layout-copy/paste (bug 778)
5350 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5352 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5354 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5356 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5357 if they succeed. Act accordingly.
5359 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5361 * text2.C (setCharFont): adjust
5362 (setCounter): adjust
5363 (insertStringAsLines): adjust
5365 * text.C (leftMargin): adjust
5366 (setHeightOfRow): adjust
5368 * rowpainter.C (paintFirst): adjust
5371 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5373 (isFirstInSequence): ditto
5374 (getEndLabel): ditto
5377 * paragraph.C (getParLanguage): comment out some hard stuff.
5379 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5381 (simpleDocBookOnePar): ditto
5382 (makeDocBookFile): use ParagraphList::iterator
5384 * CutAndPaste.C (pasteSelection): adjust
5386 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5388 * text2.C (getFont): adjust
5389 (getLayoutFont): adjust
5390 (getLabelFont): adjust
5392 * paragraph_funcs.C (TeXOnePar): adjust
5394 * buffer.C (simpleLinuxDocOnePar): adjust
5395 (simpleDocBookOnePar): adjust
5397 * CutAndPaste.C (pasteSelection): adjust
5399 * BufferView.C (getEncoding): adjust
5401 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5403 2003-04-16 John Levon <levon@movementarian.org>
5405 * lyxfind.C: use parlist stuff for search/changes
5407 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5409 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5411 * text2.C (deleteEmptyParagraphMechanism): adjust
5413 * text2.[Ch] (ownerParagraph): delete func (both of them
5415 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5417 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5419 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5421 * ParagraphList.C: prepare for NO_NEXT
5423 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5425 * text2.C (getFont): adjust
5426 (getLayoutFont): adjust
5427 (getLabelFont): adjust
5429 * paragraph.C (getFont): adjust
5430 (getLabelFont): adjust
5431 (getLayoutFont): adjust
5433 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5435 2003-04-15 John Levon <levon@movementarian.org>
5439 * lyx_main.C: handle Include in .ui files
5441 2003-04-15 John Levon <levon@movementarian.org>
5443 * MenuBackend.C: make the doc files length shorter
5446 * ToolbarBackend.C: handle toolbar placement flags,
5449 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5451 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5454 * paragraph_funcs.C (TeXOnePar): adjust
5456 * paragraph.C (getLabelFont): add outerfont arg, adjust
5457 (getLayoutFont): ditto
5458 (simpleTeXOnePar): adjust
5460 * paragraph_pimpl.C (realizeFont): delete func
5462 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5464 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5465 row argument, constify cur argument.
5467 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5469 * text2.C (getFont): adjust
5470 (getLayoutFont): adjust
5471 (getLabelFont): adjust
5473 * paragraph_funcs.C (TeXOnePar): adjust
5474 (outerFont): new func...
5475 (realizeFont): ...moved out from here, changed this to facilitate
5478 * paragraph.C (getFont): take outerfont as arg, adjust
5479 (simpleTeXOnePar): add outerfont arg, adjust
5481 * buffer.C (simpleLinuxDocOnePar): adjust
5482 (simpleDocBookOnePar): adjust
5484 * CutAndPaste.C (pasteSelection): adjust
5486 * BufferView.C (getEncoding): adjust
5488 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5490 * text2.C (setCharFont): adjust
5491 (setCounter): adjust
5493 * text.C (leftMargin): adjust
5494 (setHeightOfRow): adjust
5496 * rowpainter.C (paintFirst): adjust
5499 * paragraph_pimpl.C (realizeFont): adjust
5501 * paragraph.C (isFirstInSequence): move from here...
5502 * paragraph_funcs.C (isFirstInSequence): ...to here
5504 * paragraph.C (outerHook): move from here...
5505 * paragraph_funcs.C (outerHook): ...to here
5507 * paragraph.C (depthHook): move from here...
5508 * paragraph_funcs.C (depthHook): ...to here
5510 * paragraph.C (getEndLabel): move from here...
5511 * paragraph_funcs.C (getEndLabel): ...to here
5513 * text2.C (realizeFont): move from here...
5514 * paragraph_funcs.C (realizeFont): ...to here
5516 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5518 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5520 2003-04-14 Angus Leeming <leeming@lyx.org>
5522 * LColor.[Ch]: scrap LColor mathcursor.
5524 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5526 * lyxlex.[Ch] (text): delete function
5527 * trans.C (Load): adjust
5528 * paragraph_funcs.C (readParToken): adjust
5530 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5532 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5533 vector<char> instead of a char[].
5535 * lyxlex_pimpl.C (getString): adjust
5537 (lex): use getString
5541 * lyxlex.C (text): use pimpl_->getString()
5545 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5547 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5548 (makeFontEntriesLayoutSpecific): temp var for par.size()
5549 (setLayout): temp var for ownerParagraphs().end()
5550 (fullRebreak): temp var for rows().end()
5551 (selectionAsString): temp var for boost::next(startpit), realize
5552 that the while really is a regular for loop.
5553 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5554 setCursor in one place.
5555 (setParagraph): temp vr for ownerParagraphs().end()
5556 (updateCounters): make the while loop a for loop
5557 (cutSelection): temp var for ownerParagraphs().end()
5558 (updateInset): make the do {} while() a regular for loop
5559 (getCursorX): use temp vars
5560 (setCurrentFont): use temp vars
5561 (getColumnNearX): use temp vars
5563 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5565 * text.C (transformChar): use temp var for getChar
5566 (computeBidiTables): use temp var for row->par()
5567 (fill): move temp vars for row->par() and pit->layout() earlier in
5569 (labelFill): use temp var for row->par()
5570 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5571 asc and desc, realize that pit never changes and that firstpit is
5572 just a duplicate and not needed. Exchange rit->par() with pit in a
5574 (breakAgain): use a temp var for boost::next(rit)
5575 (breakAgainOneRow): ditto
5576 (breakParagraph): use a temp var for rows().begin()
5577 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5578 (cursorRightOneWord): use temp var for cursor.par() and
5579 cursor.pos(), remove usage of tmpcursor.
5580 (cursorLeftOneWord): use temp var for cursor.par() and
5581 cursor.pos() only set cur at end of function.
5583 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5585 * text.C, text2.C: exchange all usage of Paragraph::next with
5586 boost::next(ParagraphList::iterator)
5588 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5590 * text2.C (cursorTop): simplify implementation
5591 (cursorBottom): ditto
5592 (setParagraph): use ParagraphList::iterator
5593 (setCurrentFont): adjust
5594 (getColumnNearX): adjust
5595 (cursorRight): adjust
5596 (cursorLeft): remove usage of Paragraph::previous
5597 (cursorUpParagraph): ditto
5598 (deleteEmptyParagraphMechanism): slight cleanup
5600 * text.C (isBoundary): take a Paragraph const & instead of a
5602 (addressBreakPoint): ditto
5603 (leftMargin): remove usage of Paragraph::previous.
5604 (setHeightOfRow): ditto
5605 (cursorLeftOneWord): ditto
5606 (selectNextWordToSpellcheck): ditto
5609 (breakParagraph): remove one usage of Paragraph::next
5610 (redoParagraph): ditto
5611 (acceptChange): ditto
5612 (insertChar): adjust
5613 (rowBreakPoint): adjust
5615 * bufferview_funcs.C (toggleAndShow): adjust
5617 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5619 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5620 methods to access it.
5622 * text.C: Added updateRowPositions to compute all row positions.
5623 Make top_y and getRowNearY() to use the cached y position
5625 2003-04-11 John Levon <levon@movementarian.org>
5627 * text.C (rowBreakPoint): reintroduce the labelEnd
5628 checks, code copied from the row fill stuff. Deep voodoo.
5630 * text.C (fill): add a comment and debugging for the
5633 2003-04-11 John Levon <levon@movementarian.org>
5635 * text.C: make sure fullrow insets get wrapped to the next line,
5636 even when they're in a manual label
5638 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5640 * text2.C (insertParagraph): make it take ParagraphList::iterator
5642 (setLayout): make it return ParagraphList::iterator
5643 (redoParagraphs): ditto
5645 (checkParagraph): ditto
5647 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5649 * text2.C: adjust several funcs.
5650 (realizeFont): take a ParagraphList::iterator as arg.
5651 (getLayoutFont): ditto
5652 (getLabelFont): ditto
5653 (setCharFont): ditto
5655 * text.C: adjust several funcs.
5657 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5659 * text.C (selectNextWordToSpellcheck): don't accidentally
5662 2003-04-10 John Levon <levon@movementarian.org>
5664 * ToolbarBackend.C (getIcon): special handling for
5667 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5669 * text2.C (cursorRight): a getChar assert fixed
5671 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5673 * text2.C (getFont): change to take a ParagraphList::iterator
5674 instead of Paragraph*
5675 Adjust several functions.
5677 * text.C (transformChar): change to take a ParagraphList::iterator
5678 instead of Paragraph*
5679 (singleWidth): ditto
5680 Adjust several functions.
5682 * rowpainter.C: adjust several functions
5683 * rowpainter.h:store a ParagraphList::iterator and not a
5687 2003-04-09 John Levon <levon@movementarian.org>
5692 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5693 and the "help" bits as well
5695 2003-04-09 John Levon <levon@movementarian.org>
5698 * ToolbarBackend.C: allow multiple toolbars
5700 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5702 * undo_funcs.C (setCursorParUndo): adjust
5704 * text_funcs.C (transposeChars): adjust
5706 * text3.C (gotoNextInset): adjust
5709 * text2.C (setLayout): adjust
5710 (changeDepth): adjust
5712 (redoParagraphs): adjust
5713 (selectionAsString): adjust
5714 (setParagraph): adjust
5715 (insertInset): adjust
5716 (cutSelection): adjust
5717 (copySelection): adjust
5718 (pasteSelection): adjust
5719 (insertStringAsLines): adjust
5720 (updateInset): adjust
5721 (setCursor): change to take a ParagraphList::iterator parameter
5722 (setCursorIntern): change to take a ParagraphList::iterator parameter
5723 (setCurrentFont): adjust
5724 (cursorLeft): adjust
5725 (cursorRight): adjust
5726 (deleteEmptyParagraphMechanism): adjust
5728 * text.C (breakParagraph): adjust
5729 (insertChar): adjust
5730 (acceptChange): adjust
5731 (rejectChange): adjust
5732 (selectNextWordToSpellcheck): adjust
5733 (changeCase): adjust
5737 * lyxfind.C (SearchForward): adjust
5738 (SearchBackward): adjust
5739 (nextChange): adjust
5741 * lyxcursor.C (par): adjust
5743 * lyxcursor.h: store a ParagraphList::iterator instead of a
5746 * lyx_cb.C (getPossibleLabel): adjust
5748 * bufferview_funcs.C (toggleAndShow): adjust
5750 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5753 * BufferView.C (removeAutoInsets): adjust
5754 (lockedInsetStoreUndo): adjust
5756 2003-04-09 John Levon <levon@movementarian.org>
5758 * ToolbarBackend.C: try icon without argument
5759 if with argument fails
5761 2003-04-08 John Levon <levon@movementarian.org>
5764 * ToolbarBackend.C: add getIcon(), handle tooltip,
5765 and change from "Icon" to "Item".
5767 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5769 * BufferView.C (lockInset): another bad getchar crunched
5771 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5773 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5776 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5778 * lyxfind.C (searchForward, searchBackwards): bug 782
5780 2003-04-07 John Levon <levon@movementarian.org>
5782 * paragraph.C: remove dead comment
5784 * text.C: remove troublesome depth-fiddling code
5785 in leftMargin() and rightMargin() (bug 1017)
5787 * text.C: fix breaking of rows in nested lists
5790 * text2.C (updateCounters): fix up depth values
5793 2003-04-07 John Levon <levon@movementarian.org>
5795 * BufferView_pimpl.C: clear message when doc finishes resizing,
5796 and after a mouse event
5798 * lyxfunc.C: clear message after exiting inset
5800 2003-04-07 John Levon <levon@movementarian.org>
5802 * bufferview_funcs.C: show math status not outside
5803 status in the statusbar
5805 2003-04-07 John Levon <levon@movementarian.org>
5807 * lyxfunc.C: note status changed after a depth change
5809 2003-04-04 Angus Leeming <leeming@lyx.org>
5811 * LaTeX.h: move AuxInfo operator==, != out of line.
5812 Remove LaTeX virtual destructor; nothing derives from it.
5813 Move operator()() out of public area and rename it startscript().
5814 Change protected for private.
5816 2003-04-04 Angus Leeming <leeming@lyx.org>
5819 * text2.C: remove unneeded #includes.
5821 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5823 * text2.C (dEPM): fix the heigth of the next row
5825 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5827 * text.C: squashed an invalid getChar requester + some ws changes
5829 2003-04-03 John Levon <levon@movementarian.org>
5831 * bufferview_funcs.h:
5832 * bufferview_funcs.C:
5835 * text2.C: make getStatus work for the env depth lfuns
5837 2003-04-03 John Levon <levon@movementarian.org>
5839 * bufferview_funcs.h:
5840 * bufferview_funcs.C:
5843 * text2.C: parlistize decDepth(), by merging it with incDepth()
5845 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5847 * lyxrow.h: store a ParagraphList::iterator instead of a
5848 Paragraph* and adjust other class functions to suit.
5850 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5853 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5855 * text2.C (setCursor): do not anchor to cursor row for the time being
5857 2003-04-02 John Levon <levon@movementarian.org>
5864 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5866 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5868 * paragraph.h: make ParagraphList and ParagraphList::iterator
5869 friends of Paragraph.
5871 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5873 * ParagraphList.C: Use the private next_ and previous_ from
5876 2003-04-01 John Levon <levon@movementarian.org>
5880 * Makefile.am: rename, remove defaults gunk
5883 * MenuBackend.C: remove defaults gunk
5886 * Languages.C: remove defaults gunk
5889 * lyx_main.C: error out if files couldn't be found.
5891 2003-04-02 John Levon <levon@movementarian.org>
5893 * text2.C: make incDepth() use parlist
5895 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5897 * undo_funcs.C (firstUndoParagraph): adjust
5899 * text3.C (gotoInset): adjust
5900 (dispatch): adjust, and rewrite loop.
5902 * text2.C (init): adjust, and rewrite loop.
5903 (redoParagraphs): adjust
5904 (updateInset): adjust, and rewrite loop.
5905 (deleteEmptyParagraphMechanism): adjust
5907 * tabular.C (LyXTabular): adjust
5908 (SetMultiColumn): adjust
5911 * lyxtext.[Ch] (ownerParagraph): delete function
5912 (ownerParagraphs): new function returns a ParagraphList.
5914 * BufferView.C (removeAutoInsets): adjust
5915 (insertErrors): adjust
5916 (setCursorFromRow): adjust
5918 2003-04-01 Angus Leeming <leeming@lyx.org>
5920 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5923 2003-04-02 John Levon <levon@movementarian.org>
5929 * text_funcs.C: make transposeChars a free function
5931 * lyxrow_funcs.C: remove wrong comment
5933 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5936 * rowpainter.C: adjust
5941 * lyxrow_funcs. [Ch]: new files
5943 * lyxrow.[Ch]: remove next and previous pointers
5944 (next,previous): remove accessor functions
5945 (isParEnd): move to lyxrow_funcs
5946 (lastPos): move to lyxrow_funcs
5947 (nextRowIsAllInset): move to lyxrow_funcs
5948 (lastPrintablePos): move to lyxrow_funcs
5949 (numberOfSeparators): move to lyxrow_funcs
5950 (numberOfHfills): move to lyxrow_funcs
5951 (numberOfLabelHfills): move to lyxrow_funcs
5952 (hfillExpansion): move to lyxrow_funcs
5956 * bufferview_funcs.C (toggleAndShow): adjust
5958 * RowList.h: Remove class RowList from file leave just a
5961 * RowList.C: delete file
5963 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5966 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5968 * text3.C (cursorPrevious): adjust
5969 (cursorNext): adjust
5972 * text2.C (redoHeightOfParagraph): adjust
5973 (redoDrawingOfParagraph): adjust
5976 * text.C (breakParagraph): adjust
5977 (insertChar): adjust
5980 * rowpainter.C (RowPainter): adjust
5981 (leftMargin): simplify and adjust
5982 (most rowpainter functions): adjust.
5984 * rowpainter.h: store the row as RowList::iterator not as Row*
5986 * lyxcursor.C (row): taka RowList::iterator as arg
5989 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5992 2003-04-01 Angus Leeming <leeming@lyx.org>
5994 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5995 stuff like bool Bool.
5997 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5999 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6002 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6004 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6007 * lyxtext.h (rows): drop one version and leve a const variant that
6008 returns a RowList::iterator.
6010 2003-03-31 Angus Leeming <leeming@lyx.org>
6012 * text.C (fill): ensure that the signature is the same as that in the
6015 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6017 * text2.C (redoParagraphs): adjust
6018 (updateCounters): adjust
6019 (checkParagraph): adjust
6020 (getColumnNearX): adjust and reformat a bit.
6022 * text.C (top_y): adjust
6024 (leftMargin): adjust
6025 (prepareToPrint): adjust
6027 (getRowNearY): adjust
6029 * lyxtext.h: make rowlist_ mutable.
6031 * RowList.h: add const_iterator
6032 * RowList.C: adjust for RowList::const_iterator.
6034 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6037 2003-03-31 John Levon <levon@movementarian.org>
6040 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6042 * lyx_main.C: set default fonts from using lyx_gui funcs
6044 * exporter.C: pdf_mode moved from lyxrc
6047 * lyxfunc.C: changes from above
6049 2003-03-31 John Levon <levon@movementarian.org>
6051 * lyx_main.C: fix to the last fix
6053 2003-03-31 John Levon <levon@movementarian.org>
6055 * bufferlist.C: "Load original" -> "Load Original"
6061 * format.C: more Alert cleanups
6063 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6065 * text2.C (removeParagraph): make it take a RowList::iterator as
6067 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6068 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6070 * text.C (anchor_row): make it take a RowList::iterator as arg,
6072 (computeBidiTables): make it take a const reference to Row instead
6073 of Row pointer, adjust.
6074 (leftMargin): make it take a RowList::iterator as arg, adjust.
6075 (rowBreakPoint): adjust
6076 (breakAgainOneRow): make it take a RowList::iterator as arg,
6078 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6080 * bufferview_funcs.C (toggleAndShow): adjust
6082 2003-03-30 John Levon <levon@movementarian.org>
6086 * boost-inst.C: moved to support
6088 * several files: changes as a result
6090 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6092 * text2.C (LyXText): adjust.
6094 (removeRow): make it take a RowList::iterator as arg, adjust.
6095 (fullRebreak): adjust
6096 (deleteEmptyParagraphMechanism): adjust
6097 (clearPaint): adjust
6100 * text.C (top_y): adjust
6101 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6102 (breakAgain): make it take a RowList::iterator as arg, adjust.
6103 (breakParagraph): adjust
6104 (insertChar): adjust
6107 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6108 need_break_row, and refresh_row.
6110 * text3.C (dispatch): adjust
6112 * text2.C (checkParagraph): adjust
6114 (setCursorFromCoordinates): adjust
6116 * text.C (top_y): adjust
6118 (getRow): make it return a RowList::iterator, adjust
6119 (getRowNearY): make it return a RowList::iterator, adjust
6121 * text2.C (init): adjust
6122 (insertRow): remove function
6123 (insertParagraph): adjust
6124 (redoParagraphs): adjust
6125 (fullRebreak): adjust
6126 (updateCounters): adjust
6128 * text.C (top_y): rewrite to use RowList iterators.
6130 (setHeightOfRow): rewrite to sue RowList iterators.
6131 (appendParagraph): adjust
6132 (breakAgain): adjust
6133 (breakAgainOneRow): adjust
6134 (breakParagraph): adjust
6136 (getRowNearY): adjust, and remove commented code.
6138 * lyxtext.h (firstRow): delete function
6139 (lastRow): delete function
6140 (rows): new function (const and non-const versions.)
6141 (insertRow): delete function
6143 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6145 2003-03-29 John Levon <levon@movementarian.org>
6147 * BufferView_pimpl.C: always update scrollbar top
6148 because pasting text when we're anchored could mean we
6149 miss an update altogether
6151 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6153 * text2.C (init): use rowlist_.end() and not 0.
6154 (insertRow): change to take a RowList::iterator as arg, adjust
6156 (insertParagraph): change to take a RowList::iterator as arg,
6158 (redoParagraphs): remove some debug msgs.
6160 * text.C (appendParagraph): change to take a RowList::iterator
6161 arg, adjust for this.
6162 (breakAgain): add an assert
6163 (breakAgainOneRow): ditto
6165 2003-03-29 John Levon <levon@movementarian.org>
6167 * text2.C: do not clear selection after inc/decDepth
6170 2003-03-29 John Levon <levon@movementarian.org>
6173 * buffer.C: fix broken strerrors according to Lars
6175 2003-03-29 John Levon <levon@movementarian.org>
6177 * converters.C: more Alert cleanups
6179 2003-03-29 John Levon <levon@movementarian.org>
6181 * bufferview_funcs.C: remove pointless Alert
6183 * buffer.C: fix confusing error message when
6184 a template is chmoded 000
6186 2003-03-29 John Levon <levon@movementarian.org>
6190 * BufferView_pimpl.C: Alert fixes
6194 * tabular-old.C: remove unused table compat reading
6196 2003-03-29 John Levon <levon@movementarian.org>
6201 * lyx_cb.C: more Alert cleanups
6203 * lyxfunc.C: don't allow chktex if not latex document
6205 2003-03-29 John Levon <levon@movementarian.org>
6209 * buffer.C: warnings pushed down from support/,
6212 2003-03-29 John Levon <levon@movementarian.org>
6214 * lyxfunc.C: safety check for C-r (revert)
6216 2003-03-29 John Levon <levon@movementarian.org>
6219 * bufferlist.C: several UI fixes using Alert::prompt.
6220 Fix the pointless looping quit code. Fix stupid revert
6225 * lyx_cb.C: use Alert::prompt
6227 * lyx_main.C: remove a silly question
6229 * lyxfunc.C: remove a couple of silly questions,
6232 2003-03-28 John Levon <levon@movementarian.org>
6234 * text2.C: fix bug 974 (End on empty par)
6236 2003-03-28 John Levon <levon@movementarian.org>
6238 * BufferView_pimpl.C:
6240 * lfuns.h: remove do-nothing math greek lfuns
6242 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6244 * lyxgluelength.h (isValidGlueLength): add default arg on
6245 parameter 2. Remove default arg from friend in class.
6247 * lyxlength.h (isValidLength): add default arg on parameter 2.
6248 Remove default arg from friend in class.
6250 * text2.C (LyXText): adjust, initialize refresh_row.
6254 (insertParagraph): adjst
6255 (redoParagraphs): adjust
6256 (fullRebreak): adjust
6257 (updateCounters): adjust
6258 (deleteEmptyParagraphMechanism): first attempt at fixing a
6261 * text.C (top_y): adjust
6262 (setHeightOfRow): adjust
6264 (getRowNearY): adjust
6266 * lyxtext.h: include RowList.h
6267 (~LyXText): not needed anymore, deleted.
6268 (firstRow): modify for RowList
6269 (lastRow): new function
6270 Delete firstrow and lastrow class variables, add a Rowlist
6271 rowlist_ class variable.
6273 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6276 * RowList.C (insert): fix case where it == begin().
6278 2003-03-26 Angus Leeming <leeming@lyx.org>
6280 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6281 the thesaurus dialog.
6283 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6285 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6287 * RowList.[Ch]: new files
6289 * ParagraphList.C (erase): handle the case where it == begin
6292 2003-03-25 John Levon <levon@movementarian.org>
6296 * aspell.C: add new aspell support
6299 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6302 2003-03-25 Angus Leeming <leeming@lyx.org>
6305 * LyXAction.C (init): new LFUN_INSET_INSERT.
6307 * BufferView_pimpl.C (dispatch): split out part of the
6308 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6310 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6313 2003-03-25 Angus Leeming <leeming@lyx.org>
6315 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6317 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6320 * text3.C: remove useless row->height(0)
6322 2003-03-25 John Levon <levon@movementarian.org>
6326 * text3.C: rename the refreshing stuff to better names
6328 2003-03-24 John Levon <levon@movementarian.org>
6330 * BufferView_pimpl.h:
6331 * BufferView_pimpl.C: update layout choice on a mouse
6334 2003-03-23 John Levon <levon@movementarian.org>
6336 * Makefile.am: fix commandtags.h reference
6338 2003-03-22 John Levon <levon@movementarian.org>
6340 * BufferView_pimpl.C:
6345 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6347 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6350 * text.C: take the rtl methods out of line
6352 2003-03-21 André Pönitz <poenitz@gmx.net>
6354 * metricsinfo.[Ch]: new files containing structures to be passed around
6355 during the two-phase-drawing...
6357 2003-03-21 André Pönitz <poenitz@gmx.net>
6359 * lyxtextclass.C: read 'environment' tag.
6361 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6363 * text2.C (removeRow): fix bug 964
6365 2003-03-20 John Levon <levon@movementarian.org>
6369 * text2.C: paint cleanups. Inset::update() dropped font
6372 2003-03-19 John Levon <levon@movementarian.org>
6374 * lyxfunc.C: only fitcursor/markDirty if available()
6376 2003-03-19 John Levon <levon@movementarian.org>
6378 * commandtags.h: rename to ...
6380 * lfuns.h: ... this, and renumber / cleanup
6382 2003-03-19 John Levon <levon@movementarian.org>
6384 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6385 fit the cursor after an lfun
6389 * BufferView_pimpl.h:
6390 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6392 * LyXAction.C: layout-character should have ReadOnly
6394 * ParagraphParameters.C:
6396 * bufferview_funcs.C:
6403 * undo_funcs.C: changes from above
6405 2003-03-18 John Levon <levon@movementarian.org>
6407 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6408 remove it from update()
6410 * lyxfunc.C: update layout choice after an lfun
6412 * text3.C: remove extra updateLayoutChoice()s
6414 2003-03-18 John Levon <levon@movementarian.org>
6416 * text.C: top_y change means full repaint, fix
6417 a drawing bug with cursor movement
6419 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6423 * text2.C: anchor row on setCursor
6425 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6427 * lyxtext.h: remove almost all mutable keywords
6430 * text3.C: remove const keywords accordingly
6432 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6434 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6436 (TeXEnvironment): ditto
6439 2003-03-17 John Levon <levon@movementarian.org>
6441 * text.C (rowBreakPoint): remove attempt to fix displayed
6442 math insets inside a manual label
6444 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6446 * lyxtext.h: remove BufferView* as first arg from almost all class
6448 * other files: adjust.
6450 2003-03-17 John Levon <levon@movementarian.org>
6454 * text2.C: more paint cleanups
6456 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6459 * rowpainter.C: remove "smart" background painting code
6461 2003-03-16 John Levon <levon@movementarian.org>
6466 * text3.C: add helper functions for setting refresh_row/y
6468 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6470 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6471 newline inset which *can* get inserted in the pass_thru layouts.
6472 This is primarily for literate documents.
6474 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6476 * buffer.C: increment LYX_FORMAT to 223
6478 2003-03-14 André Pönitz <poenitz@gmx.net>
6480 * textclass.h: prepare for environment handling, ws changes
6481 * lyxlayout.C: read latexheader and latexfooter tags
6483 2003-03-14 John Levon <levon@movementarian.org>
6485 * text2.C: rewrite ::status() a bit
6487 2003-03-13 John Levon <levon@movementarian.org>
6489 * lyxtext.h: add some docs
6491 2003-03-13 John Levon <levon@movementarian.org>
6496 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6498 2003-03-13 John Levon <levon@movementarian.org>
6500 * text3.C: fix appendix redrawing
6502 2003-03-13 John Levon <levon@movementarian.org>
6504 * text.C (setHeightOfRow):
6506 * rowpainter.C: make appendix mark have the text
6507 "Appendix" so the user knows what it is
6510 * LColor.C: s/appendixline/appendix/ from above
6512 2003-03-13 John Levon <levon@movementarian.org>
6514 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6516 * text.C: fix a getChar(pos) bug properly
6518 2003-03-13 Angus Leeming <leeming@lyx.org>
6521 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6522 Probably only temporary. Let's see how things pan out.
6524 * BufferView.C (unlockInset):
6525 * BufferView_pimpl.C (fitCursor):
6526 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6528 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6529 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6531 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6532 new functions that convert ParagraphParameters to and from a string.
6534 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6535 BufferView::Pimpl's dispatch.
6536 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6538 2003-03-13 André Pönitz <poenitz@gmx.net>
6542 * factory.C: make it aware of InsetEnv
6544 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6546 * text2.C (setCursor): never ask for one past last
6547 (setCursor): add some debugging messages.
6549 * text.C (singleWidth): never ask for one past last
6550 (singleWidth): ditto
6552 (rightMargin): ditto
6553 (rowBreakPoint): ditto
6554 (setHeightOfRow): ditto
6555 (prepareToPrint): ditto
6557 * rowpainter.C (paintBackground): never ask for one past last
6558 (paintText): never ask for one past last
6560 * paragraph_pimpl.C (getChar): make the assert stricter, never
6561 allow the one past last pos to be taken
6563 * paragraph.C (getChar): ws changes only
6565 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6566 (numberOfSeparators): ditto
6567 (numberOfHfills): ditto
6569 2003-03-12 John Levon <levon@movementarian.org>
6575 * paragraph_funcs.C: fix per-buffer authorlists
6577 2003-03-12 John Levon <levon@movementarian.org>
6579 * text.C: fix newline in right address
6581 2003-03-12 Angus Leeming <leeming@lyx.org>
6583 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6584 duplicate those in LyXFunc::dispatch.
6588 * ToolbarDefaults.C:
6589 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6590 Add LFUN_FONTFREE_UPDATE.
6592 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6593 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6595 * bufferview_func.[Ch]: several new functions to facilliate
6596 transfer of data to and from the character dialog.
6598 2003-03-12 John Levon <levon@movementarian.org>
6603 * paragraph_funcs.C:
6604 * paragraph_pimpl.C:
6608 * text3.C: remove META_NEWLINE in favour of an inset
6611 * rowpainter.C: remove paintNewline (done by inset)
6613 2003-03-12 John Levon <levon@movementarian.org>
6615 * paragraph_pimpl.C: complain about bad getChar()s
6616 for a while at least
6618 2003-03-12 John Levon <levon@movementarian.org>
6621 * buffer.C: move paragraph read into a separate function,
6622 a little renaming to reflect that.
6625 * bufferparams.C: remove the author_ids map, not necessary now
6628 * factory.C: moved Buffer::readInset to here
6630 * paragraph_funcs.h:
6631 * paragraph_funcs.C: readParagraph free function moved from
6634 * tabular.C: name change
6636 2003-03-12 John Levon <levon@movementarian.org>
6639 * ParagraphParameters.C: move par params input to
6642 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6643 behave like a normal read from the stream wrt reading
6644 a line vs. a \\token
6646 2003-03-12 John Levon <levon@movementarian.org>
6649 * ParagraphParameters.h:
6650 * ParagraphParameters.C: move output code to a
6653 2003-03-12 John Levon <levon@movementarian.org>
6655 * BufferView.C (insertLyXFile):
6658 * tabular.C: use a parlist iterator for creating the
6661 2003-03-12 John Levon <levon@movementarian.org>
6663 * buffer.C: make current_change static local not
6666 2003-03-12 John Levon <levon@movementarian.org>
6668 * buffer.C: fix insertStringAsLines for change tracking
6670 2003-03-12 John Levon <levon@movementarian.org>
6677 * bufferparams.C: move author list into params. Rename some
6678 functions. Move the header reading into a separate token
6679 loop. Move the header token reading into BufferParams.
6681 2003-03-12 John Levon <levon@movementarian.org>
6683 * changes.C: put debug inside lyxerr.debugging() checks
6685 2003-03-11 André Pönitz <poenitz@gmx.net>
6687 * factory.C: make it aware of InsetHFill
6689 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6691 * buffer.C (latexParagraphs): move function from here...
6692 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6695 2003-03-10 Angus Leeming <leeming@lyx.org>
6697 * LyXAction.C (init): fix bug in poplating array with multiple entries
6698 with the same LFUN (spotted by JMarc).
6700 2003-03-10 John Levon <levon@movementarian.org>
6703 * text2.C: move getColumnNearX() near its
6706 2003-03-10 John Levon <levon@movementarian.org>
6708 * text.C: fix break before a minipage
6710 2003-03-10 John Levon <levon@movementarian.org>
6712 * text.C: fix the last commit
6714 2003-03-09 John Levon <levon@movementarian.org>
6718 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6719 bug 365 (don't break before insets unless needed). Don't
6720 return a value > last under any circumstances.
6722 2003-03-09 Angus Leeming <leeming@lyx.org>
6724 * BufferView_pimpl.C (trackChanges, dispatch): call
6725 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6727 2003-03-09 Angus Leeming <leeming@lyx.org>
6729 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6730 than Dialogs::showAboutlyx().
6732 2003-03-09 Angus Leeming <leeming@lyx.org>
6734 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6735 than Dialogs::showTabularCreate().
6737 2003-03-09 John Levon <levon@movementarian.org>
6741 * text2.C: 3rd arg to nextBreakPoint was always the same.
6744 2003-03-08 John Levon <levon@movementarian.org>
6751 * text2.C: Remove the "main" bit from the "main body"
6754 2003-03-08 John Levon <levon@movementarian.org>
6756 * text.C (leftMargin): The left margin of an empty
6757 manual label paragraph should not include the label width
6760 * text.C (prepareToPrint): don't attempt to measure hfills
6761 for empty manual label paragraphs - the answer should be 0
6763 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6765 * CutAndPaste.C: remove commented code and reindent.
6767 2003-03-08 John Levon <levon@movementarian.org>
6770 * lyxfunc.C: move reloadBuffer()
6773 * BufferView.C: to here
6775 * lyxvc.C: add comment
6778 * vc-backend.C: call bv->reload() to avoid
6779 getStatus() check on MENURELOAD
6781 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6783 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6784 to an old format .dep file.
6786 2003-03-07 Angus Leeming <leeming@lyx.org>
6788 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6789 when the LFUN_MOUSE_RELEASE should have been handled by
6790 inset->localDispatch.
6792 2003-03-07 Angus Leeming <leeming@lyx.org>
6794 * BufferView_pimpl.C (dispatch):
6795 * LyXAction.C (init):
6796 * ToolbarDefaults.C (init):
6798 * lyxfunc.C (getStatus):
6799 remove LFUN_INSET_GRAPHICS.
6801 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6803 2003-03-07 Angus Leeming <leeming@lyx.org>
6806 * LyXAction.C (init):
6807 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6809 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6812 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6814 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6815 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6817 2003-03-07 Angus Leeming <leeming@lyx.org>
6819 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6822 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6824 * ParagraphList.C (front): new function
6827 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6829 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6830 and top_row_offset_. removed var first_y.
6832 * text2.C (LyXText, removeRow):
6834 * BufferView_pimpl.C:
6835 use these methods instead of using first_y
6837 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6839 * text2.C (pasteSelection): adjust for checkPastePossible
6841 * CutAndPaste.C: remove Paragraph * buf and replace with
6842 ParagraphList paragraphs.
6843 (DeleteBuffer): delete
6844 (cutSelection): change the tc type to textclass_type
6845 (copySelection): change the tc type to textclass_type
6846 (copySelection): adjust for ParagraphList
6847 (pasteSelection): change the tc type to textclass_type
6848 (pasteSelection): adjust for Paragraphlist
6849 (nrOfParagraphs): simplify for ParagraphList
6850 (checkPastePossible): simplify for ParagraphList
6851 (checkPastePossible): remove unused arg
6853 * ParagraphList.C (insert): handle the case where there are no
6856 * CutAndPaste.h: make CutAndPaste a namespace.
6858 * text3.C (dispatch): adjust
6860 * text.C (breakParagraph): add a ParagraphList as arg
6862 * paragraph_funcs.C (breakParagraph): change to take a
6863 BufferParams and a ParagraphList as args.
6864 (breakParagraphConservative): ditto
6865 (mergeParagraph): ditto
6866 (TeXDeeper): add a ParagraphList arg
6867 (TeXEnvironment): ditto
6870 * buffer.C (readLyXformat2): adjust
6871 (insertStringAsLines): adjust
6872 (latexParagraphs): adjust
6874 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6875 (cutSelection): adjust
6876 (pasteSelection): adjust
6878 * BufferView_pimpl.C (insertInset): adjust
6880 2003-03-05 Angus Leeming <leeming@lyx.org>
6883 * LyXAction.C (init):
6884 * BufferView_pimpl.C (dispatch):
6885 * lyxfunc.C (getStatus):
6886 remove LFUN_CHILD_INSERT.
6888 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6890 2003-03-05 Angus Leeming <leeming@lyx.org>
6893 * LyXAction.C (init):
6894 * src/factory.C (createInset):
6895 * lyxfunc.C (getStatus):
6896 * text3.C (dispatch):
6897 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6899 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6901 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6903 * ParagraphList.C (insert): handle insert right before end()
6904 (erase): fix cases where it can be first or last paragraph.
6906 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6908 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6909 Paragraph::next and Paragraph::previous
6912 * text.C (breakParagraph): adjust
6914 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6915 BufferParams& as arg.
6916 (breakParagraph): use ParagraphList::insert
6917 (breakParagraphConservative): take a Buffer* instead of a
6918 BufferParams& as arg.
6919 (breakParagraphConservative): use ParagraphList::insert.
6921 * buffer.C (insertStringAsLines): un-const it
6922 (insertStringAsLines): adjust
6924 * ParagraphList.C (insert): new function
6926 * CutAndPaste.C (pasteSelection): adjust
6928 * text.C (backspace): adjust
6930 * tabular.C (SetMultiColumn): adjust
6932 * CutAndPaste.C (cutSelection): adjust
6933 (pasteSelection): adjust
6935 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6936 Buffer const * as arg
6938 * ParagraphList.C (erase): new function
6939 * paragraph_funcs.C (mergeParagraph): use it
6940 (mergeParagraph): make it take a Buffer* instead of a
6941 BufferParams* as arg
6943 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6945 (breakParagraphConservative): ditto
6947 * paragraph.h: remove the breakParagraph friend
6949 * paragraph.C (eraseIntern): new function
6950 (setChange): new function
6952 * paragraph_funcs.C (mergeParagraph): make it take a
6953 ParagraphList::iterator instead of a Paragraph *, adjust
6956 * paragraph.h: move an #endif so that the change tracking stuff
6957 also works in the NO_NEXT case.
6959 2003-03-04 Angus Leeming <leeming@lyx.org>
6962 * LyXAction.C: new LFUN_INSET_MODIFY.
6964 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6965 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6967 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6969 * several files: ws changes only
6971 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6972 (TeXEnvironment): ditto
6975 * buffer.C (makeLaTeXFile): adjust
6976 (latexParagraphs): make it take ParagraphList::iterator as args
6978 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6980 * buffer.C (latexParagraphs): adjust
6982 * paragraph.C (TeXOnePar): move function...
6983 (optArgInset): move function...
6984 (TeXEnvironment): move function...
6985 * paragraph_pimpl.C (TeXDeeper): move function...
6986 * paragraph_funcs.C: ...here
6988 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6990 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6992 * buffer.C (readInset): remove compability code for old Figure and
6995 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6997 * buffer.C: ws changes
7000 * BufferView_pimpl.C: ditto
7003 * bufferlist.h: ditto
7007 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7009 * converter.[Ch]: split into itself +
7012 * Makefile.am: += graph.[Ch] + format.[Ch]
7019 * lyxrc.C: added #include "format.h"
7021 2003-02-27 Angus Leeming <leeming@lyx.org>
7023 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7026 * factory.C (createInset): add "label" to the factory.
7028 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7029 string and do no more.
7031 2003-02-27 Angus Leeming <leeming@lyx.org>
7034 * LyXAction.C (init):
7035 * factory.C (createInset):
7036 * BufferView_pimpl.C (dispatch):
7037 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7039 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7041 * lyxfunc.C (dispatch):
7042 * text3.C (dispatch): pass name to params2string.
7044 2003-02-26 Angus Leeming <leeming@lyx.org>
7046 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7048 Rearrange the ~includes. Strip out the unnecessary ones.
7050 * factory.C (createInset): reformat.
7051 create new insets for the various LFUN_XYZ_APPLY lfuns.
7053 2003-02-26 John Levon <levon@movementarian.org>
7056 * lyxrow.C: add isParStart,isParEnd helpers
7058 * paragraph.h: make isInserted/DeletedText take refs
7060 * paragraph_funcs.h:
7061 * paragraph_funcs.C: remove #if 0'd code
7066 * text.C: use lyxrow helpers above.
7067 Move draw and paint routines to RowPainter.
7068 Make several methods use refs not pointers.
7069 Make backgroundColor() const.
7070 Add markChangeInDraw(), isInInset().
7071 Merge changeRegionCase into changeCase.
7072 Make workWidth() shouldn't-happen code into an Assert.
7075 * rowpainter.C: new class for painting a row.
7078 * vspace.C: make inPixels take a ref
7080 2003-02-26 Angus Leeming <leeming@lyx.org>
7082 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7085 2003-02-25 John Levon <levon@movementarian.org>
7087 * ispell.C: give the forked command a more accurate name
7089 2003-02-22 John Levon <levon@movementarian.org>
7092 * toc.C: make TocItem store an id not a Paragraph *
7095 2003-02-21 Angus Leeming <leeming@lyx.org>
7097 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7098 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7099 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7100 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7101 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7102 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7104 * BufferView_pimpl.C (dispatch):
7105 * LyXAction.C (init):
7106 * factory.C (createInset):
7107 * lyxfunc.C (getStatus, dispatch):
7108 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7110 2003-02-21 Angus Leeming <leeming@lyx.org>
7112 * BufferView_pimpl.C (MenuInsertLyXFile):
7113 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7114 * lyxfunc.C (menuNew, open, doImport):
7115 no longer pass a LyXView & to fileDlg.
7117 2003-02-21 Angus Leeming <leeming@lyx.org>
7119 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7120 * LyXAction.C: change, BIBKEY to BIBITEM.
7121 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7122 Change InsetBibKey to InsetBibitem.
7123 Change BIBKEY_CODE to BIBITEM_CODE.
7124 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7125 * factory.C: replace insetbib.h with insetbibitem.h.
7126 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7127 * paragraph.C: replace insetbib.h with insetbibitem.h.
7128 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7129 Change bibkey() to bibitem().
7130 * text.C: remove insetbib.h.
7131 * text2.C: replace insetbib.h with insetbibitem.h.
7132 change bibkey() to bibitem().
7133 * text3.C: remove insetbib.h.
7134 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7136 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7138 * lyxrc.C (output): enclose user email in quotes (in case there are
7141 2003-02-18 John Levon <levon@movementarian.org>
7143 * buffer.h: add std::
7145 2003-02-17 John Levon <levon@movementarian.org>
7151 * pspell.C: reworking. Especially in ispell, a large
7152 number of clean ups and bug fixes.
7154 * lyxfunc.C: fix revert to behave sensibly
7156 2003-02-17 André Pönitz <poenitz@gmx.net>
7159 * commandtags.h: new LFUN_INSERT_BIBKEY
7169 * paragraph_func.C: remove special bibkey handling
7171 2003-02-17 John Levon <levon@movementarian.org>
7173 * text.C (Delete): fix case where delete at the end of
7174 the very first paragraph would not merge the pars
7176 2003-02-17 John Levon <levon@movementarian.org>
7178 * lyxrow.C: fix lastPrintablePos()
7180 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7182 * bufferparams.C (writeLaTeX): add a std:here
7184 * buffer.C: and remove a using directive there
7186 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7188 * buffer.C (makeLaTeXFile): move the code that generates the
7191 * bufferparams.C (writeLaTeX): ... in this new method
7193 * LaTeXFeatures.C (getEncodingSet): make const
7194 (getLanguages): make const
7196 * MenuBackend.C (binding): returns the binding associated to this
7198 (add): sets the status of each item by calling getStatus. Adds
7200 (read): add support for OptSubMenu
7201 (expand): remove extra separator at the end of expanded menu
7203 2003-02-15 John Levon <levon@movementarian.org>
7206 * BufferView_pimpl.C:
7208 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7209 inset code that had no actual effect. Remove unneeded status
7212 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7214 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7217 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7219 * text.C (drawLengthMarker): also draw an arrow marker for
7220 symbolic lengths (medskip...)
7222 2003-02-14 John Levon <levon@movementarian.org>
7225 * tabular.C: better method names
7227 2003-02-14 John Levon <levon@movementarian.org>
7229 * BufferView_pimpl.C:
7234 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7235 it's a more accurate name. Remove some pointless uses.
7237 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7239 * text2.C (LyXText): change order of initilizers to shut off
7242 2003-02-14 John Levon <levon@movementarian.org>
7244 * buffer.C: use ParIterator for getParFromID()
7248 * paragraph_pimpl.h:
7249 * paragraph_pimpl.C: remove unused getParFromID()
7251 2003-02-14 John Levon <levon@movementarian.org>
7253 * buffer.C: remove some very old #if 0'd parse code
7255 2003-02-13 John Levon <levon@movementarian.org>
7259 * text2.C: move hfillExpansion(), numberOfSeparators(),
7260 rowLast(), rowLastPrintable(), numberofHfills(),
7261 numberOfLabelHfills() ...
7264 * lyxrow.C: ... to member functions here.
7269 * text.C: remove LyXText::beginningOfMainBody(), and call
7270 p->beginningOfMainBody() directly. Move the check for
7271 LABEL_MANUAL into the latter.
7278 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7284 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7285 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7287 2003-02-13 John Levon <levon@movementarian.org>
7289 * CutAndPaste.C: remove debug
7291 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7293 * paragraph.C (asString): remove two unused variables
7295 * lyxtextclass.C (readTitleType):
7297 (LyXTextClass): handle new members titletype_ and titlename_
7299 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7301 2003-02-09 John Levon <levon@movementarian.org>
7304 * buffer.C: replace hand-coded list with a map for the dep clean
7306 2003-02-08 John Levon <levon@movementarian.org>
7308 * LaTeX.C: consolidate code into showRunMessage() helper
7310 2003-02-08 John Levon <levon@movementarian.org>
7315 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7316 and pass the size in explicitly
7318 * BufferView_pimpl.h:
7319 * BufferView_pimpl.C:
7321 * BufferView.C: add getCurrentChange()
7323 * BufferView_pimpl.h:
7324 * BufferView_pimpl.C: handle change lfuns
7326 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7327 for changes. Mark pasted paragraphs as new.
7329 * support/lyxtime.h:
7330 * support/lyxtime.C:
7331 * DepTable.C: abstract time_t as lyx::time_type
7334 * LColor.C: add colours for new text, deleted text, changebars
7336 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7337 package use "usenames" option.
7341 * LyXAction.C: add change lfuns
7345 * author.C: author handling
7348 * buffer.C: add a per-buffer author list, with first entry as
7349 current author. Handle new .lyx tokens for change tracking. Output
7350 author list to .lyx file. Output dvipost stuff to .tex preamble.
7351 Bump lyx format to 222.
7354 * bufferlist.C: add setCurrentAuthor() to reset current author details
7358 * bufferparams.C: add param for tracking
7360 * bufferview_funcs.C: output change info in minibuffer
7364 * changes.C: add change-tracking structure
7367 * debug.C: add CHANGES debug flag
7370 * lyxfind.C: add code for finding the next change piece
7373 * lyxrc.C: add user_name and user_email
7376 * lyxrow.C: add a metric for the top of the text line
7379 * text.C: implement accept/rejectChange()
7382 * text.C: paint changebars. Paint new/deleted text in the chosen
7383 colours. Strike through deleted text.
7387 * paragraph_pimpl.h:
7388 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7389 in the current change to the insert functions. Rework erase to
7390 mark text as deleted, adding an eraseIntern() and a range-based
7391 erase(). Implement per-paragraph change lookup and
7394 * paragraph_funcs.C: Fixup paste for change tracking.
7396 * tabular.C: mark added row/columns as new.
7398 * text.C: fix rowLast() to never return -1. Don't allow
7399 spellchecking of deleted text. Track transpose changes. Don't
7400 allow paragraph break or merge where appropriate.
7402 * text2.C: leave cursor at end of selection after a cut.
7404 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7406 * text.C (getLengthMarkerHeight):
7407 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7408 visible on screen too.
7410 2003-02-07 John Levon <levon@movementarian.org>
7412 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7414 2003-02-05 Angus Leeming <leeming@lyx.org>
7416 * lyxserver.C (read_ready): revert my patch of 11 September last year
7417 as it sends PC cpu through the roof. Presumably this means that
7418 the lyxserver will no longer run on an Alpha...
7420 2003-01-30 Angus Leeming <leeming@lyx.org>
7422 * factory.C (createInset): create an InsetCommandParam of type "index"
7423 and use it to 'do the right thing'.
7425 * text2.C (getStringToIndex): ensure that cursor position is always
7426 reset to the reset_cursor position.
7428 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7430 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7433 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7437 * lyxfunc.C: Output messages with identical spelling, punctuation,
7440 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7442 * MenuBackend.C (expandFormats): List only viewable export formats
7445 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7448 * lyxfunc.C (getStatus): Make sure that formats other than
7449 "fax" can also be disabled
7451 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7453 * text3.C (dispatch): put the lfuns that insert insets in 3
7454 groups, and call doInsertInset with appropriate arguments.
7455 (doInsertInset): new function, that creates an inset and inserts
7456 it according to some boolean parameters.
7458 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7460 * buffer.C (readFile): remember to pass on 'par' when calling
7461 readFile recursively.
7463 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7465 * MenuBackend.C (expandFormats): add "..." to import formats.
7467 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7469 * paragraph.C (asString): Remove XForms RTL hacks.
7471 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7472 * buffer.C: fix typo
7474 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7476 * Makefile.am (LIBS): delete var
7477 (lyx_LDADD): add @LIBS@ here instead.
7479 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7481 * Clarify the meaning of "wheel mouse jump"
7483 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7485 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7488 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7490 * importer.C (Loaders): do not preallocate 3 elements in the
7491 vector, since one ends up with 6 elements otherwise
7493 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7495 * DepTable.C (write): write the file name as last element of the
7496 .dep file (because it may contain spaces)
7497 (read): read info in the right order
7499 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7501 * paragraph_pimpl.C (simpleTeXBlanks):
7502 (simpleTeXSpecialChars):
7503 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7505 * tabular.C (latex): add some missing case statements. Reindent.
7507 * MenuBackend.C (expandToc): remove unused variable.
7509 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7518 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7521 2003-01-05 John Levon <levon@movementarian.org>
7524 * BufferView.C: add getEncoding()
7527 * kbsequence.C: do not store last keypress
7530 * lyxfunc.C: store last keypress here instead. Pass encoding
7533 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7535 * lyx_main.C (init): remove annoying error message when following
7536 symbolic links (bug #780)
7538 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7540 * text.C (insertChar):
7541 * lyxrc.C (getDescription): remove extra spaces
7543 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7545 * lyxrc.C (getDescription): remove extra spaces
7547 2002-12-20 John Levon <levon@movementarian.org>
7549 * text3.C: hack fix for page up/down across tall rows
7551 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7553 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7556 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7558 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7559 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7560 thesaurus is not compiled in
7562 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7564 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7566 2002-12-16 Angus Leeming <leeming@lyx.org>
7569 * lyx_main.C (init): remove override_x_deadkeys stuff.
7571 2002-12-12 John Levon <levon@movementarian.org>
7573 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7574 insert. Only remove shift modifier under strict
7577 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7579 * MenuBackend.C (expandToc): fix crash.
7581 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7583 * MenuBackend.C (expandToc): gettext on float names.
7585 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7587 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7588 implement bool empty() [bug 490]
7590 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7592 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7594 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7596 * several files: ws changes
7598 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7600 * text2.C (setCounter): clean up a bit, use boost.format.
7601 (updateCounters): initialize par upon declaration.
7603 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7604 if the layout exists. We do not just store the layout any more.
7605 (SwitchLayoutsBetweenClasses): use boost.format
7607 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7609 * converter.C (convert): if from and to files are the same, use a
7610 temporary files as intermediary
7612 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7615 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7617 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7619 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7621 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7623 * tabular.C (asciiPrintCell): use string(size, char) instead of
7626 * sgml.C (openTag): fix order of arguments to string constructor
7629 * lyxfunc.C (dispatch): use boost.format
7631 * lots of files: change "c" -> 'c'
7633 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7635 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7637 2002-11-25 Angus Leeming <leeming@lyx.org>
7639 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7641 * lyx_main.C (init): compile fix.
7643 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7645 * lyx_cb.C (start): boost.formatify
7646 do not include <iostream>
7648 * lengthcommon.C: ws only
7650 * boost-inst.C,BoostFormat.h: add more explict instantations
7652 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7654 * lots of files: handle USE_BOOST_FORMAT
7656 2002-11-21 John Levon <levon@movementarian.org>
7658 * pspell.C: fix compile
7660 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7662 * lyxfunc.C (dispatch): use boost::format
7666 * lyxfont.C (stateText): use boost::format
7668 * lyx_main.C (LyX): use boost::format
7670 (queryUserLyXDir): ditto
7673 (typedef boost::function): use the recommened syntax.
7675 * importer.C (Import): use boost::format
7677 * debug.C (showLevel): use boost::format
7679 * converter.C (view): use boost::format
7684 * bufferview_funcs.C (currentState): use boost::format
7686 * bufferlist.C (emergencyWrite): use boost::format
7688 * buffer.C (readLyXformat2): use boost::format
7689 (parseSingleLyXformat2Token): ditto
7691 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7693 * LaTeX.C (run): use boost::format
7695 * Chktex.C (scanLogFile): use boost::format
7697 * BufferView_pimpl.C (savePosition): use boost::format
7698 (restorePosition): ditto
7699 (MenuInsertLyXFile): ditto
7701 * BoostFormat.h: help file for explicit instation.
7703 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7705 * tabular.C (latex): Support for block alignment in fixed width
7708 2002-11-17 John Levon <levon@movementarian.org>
7710 * BufferView_pimpl.C:
7712 * lyxfunc.C: split filedialog into open/save
7714 2002-11-08 Juergen Vigna <jug@sad.it>
7716 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7717 by my last patch (hopefully).
7719 2002-11-08 John Levon <levon@movementarian.org>
7728 * toc.C: ParConstIterator, and use it (from Lars)
7730 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7732 * lyxtextclass.[Ch]: revise and add doxygen comments
7734 2002-11-07 John Levon <levon@movementarian.org>
7736 * text.C: fix progress value for spellchecker
7738 * toc.C: fix navigate menu for insetwrap inside minipage
7740 * paragraph_funcs.C: added FIXME for suspect code
7742 2002-11-07 John Levon <levon@movementarian.org>
7744 * BufferView_pimpl.C: fix redrawing of insets
7747 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7749 * text2.C (updateCounters): fix bug 668
7751 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7753 * text3.C (dispatch): Do not make the buffer dirty when moving the
7756 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7758 * vc-backend.C: STRCONV
7761 * text2.C (setCounter): STRCONV
7763 * paragraph.C (asString): STRCONV
7765 * lyxlength.C (asString): STRCONV
7766 (asLatexString): ditto
7768 * lyxgluelength.C (asString): STRCONV
7769 (asLatexString): ditto
7771 * lyxfunc.C (dispatch): STRCONV
7774 * lyxfont.C (stateText): STRCONV
7776 * importer.C (Import): STRCONV
7778 * counters.C (labelItem): STRCONV
7779 (numberLabel): ditto
7780 (numberLabel): remove unused ostringstream o
7785 * bufferview_funcs.C (currentState): STRCONV
7787 * buffer.C (readFile): STRCONV
7788 (asciiParagraph): ditto
7789 (makeLaTeXFile): ditto
7791 * Spacing.C (writeEnvirBegin): STRCONV
7793 * LaTeXFeatures.C (getLanguages): STRCONV
7794 (getPackages): ditto
7796 (getBabelOptions): ditto
7797 (getTClassPreamble): ditto
7798 (getLyXSGMLEntities): ditto
7799 (getIncludedFiles): ditto
7803 (scanAuxFile): ditto
7806 * LString.h: add the STRCONV macros
7808 * BufferView_pimpl.C (savePosition): STRCONV
7809 (restorePosition): ditto
7810 (MenuInsertLyXFile): ditto
7812 * vc-backend.C (scanMaster): change from submatch[...] to
7815 * funcrequest.C: include config.h
7817 * factory.C: include config.h
7819 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7821 * box.C: include config.h
7823 * LaTeX.C (scanAuxFile): change from submatch[...] to
7827 2002-10-25 Angus Leeming <leeming@lyx.org>
7829 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7831 * ispell.[Ch] (setError): new method.
7832 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7833 Use setError() insetead of goto END.
7835 * lyx_cb.C (AutoSave): move out child process into new class
7838 2002-10-30 John Levon <levon@movementarian.org>
7840 * text3.C: make start appendix undoable
7842 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7844 * lyxlength.C (inPixels): Fix returned value.
7846 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7849 2002-10-24 Angus Leeming <leeming@lyx.org>
7851 * lyxgluelength.h: no need to forward declare BufferParams
7852 or BufferView, so don't.
7854 2002-10-21 John Levon <levon@movementarian.org>
7856 * BufferView.C: menuUndo ->undo, redo
7858 * BufferView.h: document, remove dead, make some methods private
7860 * paragraph_funcs.h:
7861 * paragraph_funcs.C:
7862 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7867 * sgml.C: move sgml open/close tag into sgml.C
7869 * bufferview_funcs.h: unused prototype
7872 * lyxfunc.C: remove unused
7875 * text.C: remove unused
7877 2002-10-21 John Levon <levon@movementarian.org>
7881 * BufferView_pimpl.h:
7882 * BufferView_pimpl.C: fix mouse wheel handling based on
7883 patch from Darren Freeman
7885 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7887 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7889 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7891 * lyxlength.C (inPixels): Fix hanfling of negative length.
7892 Fix LyXLength::MU case.
7894 2002-10-16 John Levon <levon@movementarian.org>
7896 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7898 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7900 * converter.C (view): add support for $$i (file name) and $$p
7901 (file path) for the viewer command. If $$i is not specified, then
7902 it is appended to the command (for compatibility with old syntax)
7904 2002-10-14 Juergen Vigna <jug@sad.it>
7906 * undo_funcs.C (textHandleUndo): alter the order in which the
7907 new undopar is added to the LyXText, as we have to set first
7908 the right prev/next and then add it as otherwise the rebuild of
7909 LyXText is not correct. Also reset the cursor to the right paragraph,
7910 with this IMO we could remove the hack in "redoParagraphs()".
7912 2002-10-09 Angus Leeming <leeming@lyx.org>
7914 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7915 to turn off an optimisation if a new inset is to be inserted.
7917 2002-10-11 André Pönitz <poenitz@gmx.net>
7919 * lyxtext.h: make some functions public to allow access
7920 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7922 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7924 * text3.C (dispatch): when changing layout, avoid an infinite loop
7927 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7929 * lyxrc.C (read): treat a viewer or converter command of "none" as
7932 * MenuBackend.C (expandFormats): for an update, also allow the
7933 formats that are not viewable
7935 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7936 script if it is newer than the lyxrc.defaults in user directory
7938 2002-10-07 André Pönitz <poenitz@gmx.net>
7940 * text.C: Vitaly Lipatov's small i18n fix
7942 2002-09-25 Angus Leeming <leeming@lyx.org>
7944 * ispell.h: doxygen fix.
7946 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7948 * buffer.h (readFile): Add a new argument to the method, to allow
7949 reading of old-format templates.
7951 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7953 * toc.C (getTocList): Get TOC from InsetWrap.
7955 2002-09-16 John Levon <levon@movementarian.org>
7957 * lyxfunc.C: check tabular for cut/copy too
7959 2002-09-12 John Levon <levon@movementarian.org>
7964 * factory.C: add header
7966 * paragraph_funcs.h:
7967 * paragraph_funcs.C: cleanup
7969 2002-09-11 John Levon <levon@movementarian.org>
7971 * PrinterParams.h: odd/even default to true
7973 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7975 * PrinterParams.h: update printer parameters for new xforms dialog
7977 2002-09-11 Angus Leeming <leeming@lyx.org>
7979 * lyxserver.C (read_ready): re-write to make it more transparent
7980 and to make it work in coherent fashion under Tru64 Unix.
7982 2002-09-11 André Pönitz <poenitz@gmx.net>
7986 * text3.C: implement LFUN_WORDSEL
7988 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7990 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7991 make floatlist_ a boost::shared_ptr<FloatList>
7993 * lyxtextclass.C: include FloatList.h
7994 (LyXTextClass): initialize floatlist_
7995 (TextClassTags): add TC_NOFLOAT
7996 (Read): match "nofloat" to TC_NOFLOAT and use it.
7997 (readFloat): modify call to floatlist_
8001 * FloatList.[Ch] (FloatList): remove commented out float
8003 (erase): new function
8005 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8007 * MenuBackend.C (expandToc): fix crash when there is no document
8010 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8012 * many files: Add insetwrap.
8014 2002-09-09 John Levon <levon@movementarian.org>
8016 * text2.C: remove confusing and awkward depth wraparound
8018 2002-09-09 John Levon <levon@movementarian.org>
8020 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8023 * buffer.C: remove getIncludeonlyList()
8026 * lyxfunc.C: remove headers
8028 2002-09-09 Juergen Vigna <jug@sad.it>
8030 * text.C (getColumnNearX): fix form Michael this is most
8031 probably a cut&paste bug.
8033 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8035 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8037 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8038 references, ws changes.
8040 * text2.C (init): update counters after init
8041 (insertParagraph): no need to set counter on idividual paragraphs.
8042 (setCounter): access the counters object in the textclass object
8043 on in the buffer object.
8044 (updateCounters): ditto
8046 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8047 shared_ptr<Counters> to avoid loading counters.h in all
8049 (LyXTextClass): initialize ctrs_
8050 (TextClassTags): add TC_COUNTER, and ...
8051 (Read): use it here.
8052 (CounterTags): new tags
8053 (readCounter): new function
8054 (counters): new funtion
8055 (defaultLayoutName): return a const reference
8057 * counters.C (Counters): remove contructor
8058 (newCounter): remove a couple of unneeded statements.
8059 (newCounter): simplify a bit.
8060 (numberLabel): some small formatting changes.
8062 * buffer.[Ch]: remove all traces of counters, move the Counters
8063 object to the LyXTextClass.
8065 2002-09-06 Alain Castera <castera@in2p3.fr>
8067 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8068 package to set the horizontal alignment on fixed width columns.
8071 * lyx_sty.h: added tabularnewline macro def.
8073 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8075 2002-09-06 John Levon <levon@movementarian.org>
8077 * LyXAction.C: tooltips for sub/superscript
8079 * MenuBackend.C: a bit more verbose
8081 * lyxfunc.C: tiny clean
8083 * undo_funcs.C: document undo_frozen
8085 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8087 * counters.C (Counters): add missing algorithm counter.
8089 * text2.C (setCounter): lookup the counter with layouts latexname
8090 instead of by section number.
8091 (setCounter): use a hackish way to lookup the correct enum
8093 a float name->type change
8094 reset enum couners with counter name directly instead of depth value.
8096 * counters.C (Counters): remove the push_backs, change to use the
8097 float type not the float name.
8098 (labelItem): remove unused string, float name->type change
8100 * counters.h: don't include vector, loose the enums and sects vectors
8102 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8104 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8105 (Read): add float->TC_FLOAT to textclassTags
8106 (Read): and handle it in the switch
8107 (readFloat): new function
8109 * FloatList.C (FloatList): comment out the hardcoded float
8112 * lyxlayout.h: ws change.
8114 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8116 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8118 2002-09-03 Angus Leeming <leeming@lyx.org>
8120 * BufferView_pimpl.h: qualified name is not allowed in member
8121 declaration: WorkArea & Pimpl::workarea() const;
8123 * factory.C: added using std::endl directive.
8125 * text3.C: added using std::find and std::vector directives.
8127 2002-08-29 André Pönitz <poenitz@gmx.net>
8130 * text2.C: remove unused member number_of_rows
8133 * BufferView2.C: remove file, move contents to...
8134 * BufferView.C: ... here
8136 * BufferView_pimpl.C:
8137 * factory.C: move more inset creation to factory
8139 * vspace.C: avoid direct usage of LyXText, ws changes
8142 don't provide direct access to WorkArea, use two simple
8143 acessors haveSelction() and workHeight() instead
8146 2002-08-29 John Levon <levon@movementarian.org>
8148 * BufferView_pimpl.C (dispatch): do not continue when
8151 2002-08-28 André Pönitz <poenitz@gmx.net>
8153 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8156 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8158 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8160 * buffer.C: increment LYX_FORMAT to 221
8162 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8163 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8165 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8167 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8169 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8171 * factory.C (createInset): use LyXTextClass::floats
8173 * MenuBackend.C (expandFloatListInsert):
8174 (expandFloatInsert):
8177 * text2.C (setCounter):
8179 * LaTeXFeatures.C (useFloat):
8180 (getFloatDefinitions):
8182 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8184 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8185 floatlist_, with accessor floats().
8187 * FloatList.h: remove global FloatList
8189 2002-08-26 André Pönitz <poenitz@gmx.net>
8191 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8195 * BufferView_pimpl.C:
8196 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8198 2002-08-25 John Levon <levon@movementarian.org>
8200 * LyXAction.C: fix margin note description
8202 2002-08-24 John Levon <levon@movementarian.org>
8206 * bufferview_funcs.C:
8208 * undo_funcs.C: cleanups
8210 * lyxfunc.C: disable CUT/COPY when no selection
8212 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8214 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8215 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8217 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8218 Add backward compatibility to "mono", "gray" and "no".
8220 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8222 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8223 (and file_format >= 200).
8225 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8227 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8229 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8231 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8233 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8235 * BufferView_pimpl.C:
8242 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8243 inset and code to make it work with the paragraph code. The inset
8244 can be anywhere in the paragraph, but will only do the expected
8245 thing in LaTeX if the layout file contains the parameter line
8247 (or more generally, a nonzero value) for that layout.
8249 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8251 * paragraph.h: remove the declaration of undefined counters class
8254 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8256 * text2.C (setCounter): fixed enumeration mis-count as reported by
8257 Dr. Richard Hawkins.
8259 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8261 * paragraph_funcs.h: remove some unneeded includes
8263 * text.C (backspace): pasteParagraph now in global scipe
8265 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8266 (pasteSelection): ditto
8268 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8269 * paragraph_funcs.C (pasteParagraph): ... here
8271 2002-08-20 André Pönitz <poenitz@gmx.net>
8273 * commandtags.h: new LFUNs for swapping/copying table row/colums
8276 * lyxfunc.C: support for new lfuns
8278 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8281 * buffer.[Ch]: remove NO_COMPABILITY stuff
8283 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8285 * boost.C (throw_exception): new file, with helper function for
8286 boost compiled without exceptions.
8291 * ParameterStruct.h:
8292 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8294 * bufferlist.C (emergencyWriteAll): use boost bind
8296 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8298 * text.C: include paragraph_funcs.h
8299 (breakParagraph): breakParagraph is now in global scope
8301 * paragraph_funcs.[Ch]: new files
8303 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8306 * buffer.C: include paragraph_funcs.h
8307 (insertStringAsLines): breakParagraph is now in global scope
8309 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8312 * CutAndPaste.C: include paragraph_funcs.h
8313 (cutSelection): breakParagraphConservative is now in global scope
8314 (pasteSelection): ditto
8316 * buffer.h: declare oprator== and operator!= for
8317 Buffer::inset_iterator
8319 * bufferlist.C (emergencyWrite): don't use fmt(...)
8321 * text3.C: add using std::endl
8323 * BufferView.C (moveCursorUpdate): remove default arg
8325 2002-08-20 André Pönitz <poenitz@gmx.net>
8327 * buffer.[Ch]: move inline functions to .C
8330 * BufferView_pimpl.C:
8332 * buffer.[Ch]: use improved inset_iterator
8335 * paragraph.[Ch]: write one paragraph at a time
8337 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8339 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8340 style if style is not specified.
8342 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8344 * text2.C (setCounter): when searching for right label for a
8345 caption, make sure to recurse to parent insets (so that a caption
8346 in a minipage in a figure float works) (bug #568)
8348 2002-08-20 André Pönitz <poenitz@gmx.net>
8350 * text3.C: new file for LyXText::dispatch() and helpers
8352 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8354 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8356 2002-08-19 André Pönitz <poenitz@gmx.net>
8359 * text.C: new LyXText::dispatch()
8361 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8363 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8365 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8367 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8370 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8372 * Makefile.am: use $(variables) instead of @substitutions@
8374 2002-08-15 André Pönitz <poenitz@gmx.net>
8377 * BufferView_pimpl.C: streamlining mathed <-> outer world
8381 * LyXAction.C: remove unused LFUN_MATH
8383 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8385 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8387 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8389 * paragraph.C (Paragraph): reformat a bit
8390 (cutIntoMinibuffer): use builtin InsetList function instad of
8394 * buffer.C: include boost/bind.hpp, add using std::for_each
8395 (writeFileAscii): use ParagraphList iterators
8396 (validate): use for_each for validate traversal of paragraphs
8397 (getBibkeyList): use ParagraphList iterators
8398 (resizeInsets): use for_each to resizeInsetsLyXText for all
8400 (getParFromID): use ParagraphList iterators
8402 * BufferView2.C (lockInset): use paragraph list and iterators
8404 2002-08-14 John Levon <levon@movementarian.org>
8406 * lyxserver.C: remove spurious xforms include
8408 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8410 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8412 2002-08-13 André Pönitz <poenitz@gmx.net>
8415 * lyxfunc.C: further cleaning
8417 2002-08-13 André Pönitz <poenitz@gmx.net>
8419 * funcrequest.h: new constructor
8421 * funcrequest.C: move stuff here from .h
8424 * BufferView_pimpl.C:
8427 * lyxfunc.C: subsequent changes
8429 * lyxfunc.h: new view() member function
8431 * lyxfunc.C: subsequent changes
8433 2002-08-13 Angus Leeming <leeming@lyx.org>
8436 * BufferView_pimpl.C:
8444 changes due to the changed LyXView interface that now returns references
8445 to member variables not pointers.
8447 2002-08-13 Angus Leeming <leeming@lyx.org>
8449 * WordLangTuple (word, lang_code): return references to strings,
8454 * lyxtext.h: forward-declare WordLangTuple.
8459 * text.C: #include "WordLangTuple.h".
8462 * text.C: (selectNextWordToSpellcheck): constify return type.
8464 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8470 * paragraph_pimpl.h:
8473 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8475 Made updateCounter always count from start of buffer, and removed
8476 second argument (par).
8477 Reverted floats number display to '#'. Perhaps I'll try again when the
8478 code base is sanitized a bit.
8480 2002-08-12 Angus Leeming <leeming@lyx.org>
8482 * buffer.[Ch] (getLabelList): constify.
8484 2002-08-07 André Pönitz <poenitz@gmx.net>
8486 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8488 * funcrequest.h: extension to keep mouse (x,y) position
8490 2002-08-12 Juergen Vigna <jug@sad.it>
8492 * BufferView2.C (insertErrors): forbid undo when inserting error
8495 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8497 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8499 * ParagraphList.[Ch]: new files
8501 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8503 * BufferView2.C (lockInset): ParagraphList changes
8506 * bufferlist.C: ditto
8510 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8512 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8513 unused class variable counter_,
8515 * paragraph.[Ch] (getFirstCounter): delete unused function
8517 * counters.C: include LAssert.h
8518 (reset): add a new function with no arg, change other version to
8519 not have def. arg and to not allow empty arg.
8521 * text2.C (setCounter): remove empty arg from call to Counters::reset
8523 2002-08-11 John Levon <levon@movementarian.org>
8525 * Makefile.am: add WordLangTuple.h
8527 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8529 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8530 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8532 * insets/insettext.C: InsetList changes
8534 * graphics/GraphicsSupport.C (operator()): InsetList changes
8536 * toc.C (getTocList): InsetList changes
8538 * paragraph_pimpl.[Ch]: InsetList changes
8540 * paragraph.[Ch]: InsetList changes
8542 * buffer.C (inset_iterator): InsetList changes
8543 (setParagraph): ditto
8544 * buffer.h (inset_iterator): ditto
8545 * iterators.C (operator++): ditto
8546 * iterators.h: ditto
8548 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8550 * InsetList.[Ch]: new files, most InsetList handling moved out of
8553 * BufferView2.C (removeAutoInsets): InsetList changes
8555 (ChangeInsets): ditto
8557 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8559 * paragraph_pimpl.h (empty): new function
8561 * paragraph.[Ch] (empty): new function
8563 * other files: use the new Paragraph::empty function
8565 2002-08-09 John Levon <levon@movementarian.org>
8567 * lyxtext.h: remove unused refresh_height
8569 2002-08-09 John Levon <levon@movementarian.org>
8576 * paragraph.C: move sgml char escaping out of paragraph
8579 * paragraph.C: remove id setter
8583 * paragraph_pimpl.C: remove dead tex_code_break_column
8585 * bufferview_funcs.C: small cleanup
8587 * lyxfunc.C: remove dead proto
8589 * lyxtext.h: make some stuff private. Remove some dead stuff.
8591 * lyxgluelength.C: make as[LyX]String() readable
8593 2002-08-08 John Levon <levon@movementarian.org>
8598 * ToolbarDefaults.C:
8601 * toc.C: lyxaction cleanup
8603 2002-08-08 John Levon <levon@movementarian.org>
8605 * BufferView2.C: small cleanup
8608 * lyxfind.C: move unnecessary header into the .C
8610 2002-08-08 John Levon <levon@movementarian.org>
8612 * funcrequest.h: just tedious nonsense
8615 * lyx_main.C: cleanups
8618 * vspace.C: remove dead header lyx_main.h
8620 2002-08-07 Angus Leeming <leeming@lyx.org>
8623 * paragraph_pimpl.h:
8624 Forward declare class Counters in paragraph.h by moving the ctrs member
8625 variable into Paragraph::Pimpl.
8626 (counters): new method, returning a reference to pimpl_->ctrs.
8628 * text2.C: ensuing changes.
8630 2002-08-07 John Levon <levon@movementarian.org>
8632 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8634 * BufferView_pimpl.C: announce X selection on double/triple
8637 * lyx_main.C: use correct bool in batch dispatch
8639 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8641 2002-08-07 André Pönitz <poenitz@gmx.net>
8643 * funcrequest.h: new class to wrap a kb_action and its argument
8646 * BufferView_pimpl[Ch]:
8650 * lyxrc.C: subsequent changes
8653 2002-08-07 John Levon <levon@movementarian.org>
8655 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8656 document options change.
8658 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8663 * makefile.am: move counters functionality over from
8664 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8666 2002-08-06 John Levon <levon@movementarian.org>
8668 * WordLangTuple.h: new file for word + language code tuple
8679 * BufferView2.C: use WordLangTuple
8682 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8684 2002-08-06 John Levon <levon@movementarian.org>
8686 * lyx_main.C: fix cmdline batch handling
8688 2002-08-06 André Pönitz <poenitz@gmx.net>
8690 * lyxrc.C: set default for show_banner to true
8692 2002-08-06 John Levon <levon@movementarian.org>
8694 * pspell.C: fix a crash, and allow new aspell to work
8696 2002-08-06 John Levon <levon@movementarian.org>
8699 * kbmap.C: small cleanup
8702 * vspace.C: add const
8704 2002-08-05 John Levon <levon@movementarian.org>
8706 * LyXAction.C: back to tabular-insert
8708 2002-08-04 John Levon <levon@movementarian.org>
8711 * BufferView.C: cosmetic change
8713 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8723 * BufferView2.C: purge all "Lyx" not "LyX" strings
8726 * lyxcursor.C: attempt to add some documentation
8731 * ToolbarDefaults.C:
8732 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8733 merge with LFUN_TABULAR_INSERT
8740 * pspell.C: split up i/pspell implementations into separate
8741 files, many cleanups
8743 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8745 * text2.C: some cleanup
8747 * lyxfunc.C: don't check for isp_command == "none" any more, it
8748 didn't make any sense
8750 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8755 * makefile.am: move counters functionality over
8756 from text2.C/paragraph.[Ch] to counters.[Ch], and
8758 2002-08-02 John Levon <levon@movementarian.org>
8760 * buffer.C: s/lyxconvert/lyx2lyx/
8762 2002-08-02 Angus Leeming <leeming@lyx.org>
8764 * lyxlex.C: revert John's change as it breaks reading of the user
8767 2002-08-02 Angus Leeming <leeming@lyx.org>
8769 * importer.C (Import):
8770 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8771 changes due to LyXView::view() now returning a boost::shared_ptr.
8773 2002-08-02 John Levon <levon@movementarian.org>
8775 * lyxlex.C: small cleanup
8777 2002-08-02 John Levon <levon@movementarian.org>
8779 * text2.C (status): small cleanup, no logic change
8781 2002-08-01 John Levon <levon@movementarian.org>
8784 * buffer.C (writeFile): don't output alerts, caller
8788 * lyx_cb.C: from above
8790 * lyxfunc.C: allow to open non-existent files
8792 2002-07-31 John Levon <levon@movementarian.org>
8794 * lyxserver.C: don't let incidental errors get
8797 2002-07-30 John Levon <levon@movementarian.org>
8799 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8801 2002-07-30 John Levon <levon@movementarian.org>
8804 * lyxserver.C: remove I/O callback too
8806 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8808 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8811 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8813 * many files: strip,frontStrip -> trim,ltrim,rtrim
8815 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8817 * PrinterParams.h: remove extern containsOnly, and include
8818 support/lstrings.h instead.
8820 * LaTeX.C (scanAuxFile): modify because of strip changes
8822 * buffer.C (makeLaTeXFile): ditto
8823 * bufferparams.C (writeFile): ditt
8824 * lyxfont.C (stateText): ditto
8825 * lyxserver.C (read_ready): ditto
8826 * vc-backend.C (scanMaster): ditto
8828 * BufferView_pimpl.h: ws changes
8830 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8832 2002-07-26 André Pönitz <poenitz@gmx.net>
8834 * kb_sequence.C: remove unnedred usings
8836 2002-07-26 Juergen Vigna <jug@sad.it>
8838 * lyxfind.C (LyXReplace): we have to check better if the returned
8839 text is not of theLockingInset()->getLockingInset().
8841 2002-07-25 Juergen Vigna <jug@sad.it>
8843 * lyxfind.C (LyXReplace): don't replace if we don't get the
8846 * undo_funcs.C (createUndo): remove debugging code.
8848 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8850 * buffer.C (parseSingleLyXformat2Token): Use default placement
8851 when reading old floats.
8853 * FloatList.C (FloatList): Change the default placement of figure
8854 and tables to "tbp".
8856 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8858 * MenuBackend.C: using std::max
8860 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8862 * MenuBackend.C (expandToc):
8863 (expandToc2): code moved from xforms menu frontend. It is now
8864 generic and TOCs are transparent to menu frontends.
8866 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8868 * toc.C (getTocList): protect against buf=0
8870 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8871 Menu as first parameter. Now, this calls itself recursively to
8872 expand a whole tree (this will be useful for TOC handling)
8873 (expandFloatInsert): remove 'wide' version of floats
8875 * MenuBackend.h (submenuname): returns the name of the submenu.
8876 (submenu): returns the submenu itself, provided it has been
8877 created by MenuBackend::expand
8879 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8881 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8882 insets which have noFontChange == true. (bug #172)
8884 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8886 * BufferView_pimpl.C: add connection objects and use them...
8889 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8891 * MenuBackend.C (expandLastfiles):
8894 (expandFloatListInsert):
8895 (expandFloatInsert):
8896 (expand): split expand in parts
8898 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8900 * lyx_gui.C: use lyx_gui::exit()
8902 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8904 * LyXAction.C: show the failing pseudo action
8906 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8908 * buffer.C (readFile): Run the lyxconvert script in order to read
8911 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8915 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8917 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8921 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8923 2002-07-22 Herbert Voss <voss@lyx.org>
8926 * lyxlength.[Ch]: add support for the vertical lengths
8928 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8930 * toc.[Ch]: std:: fixes
8932 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8934 * lyxrc.C: do not include lyx_main.h
8936 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8942 * BufferView2.C: include "lyxlex.h"
8945 * bufferparams.h: do not #include "lyxlex.h"
8947 * lyxtextclasslist.C (Add): remove method
8948 (classlist): renamed to classlist_
8950 * paragraph_pimpl.C:
8954 * bufferview_funcs.C:
8959 * toc.C (getTocList): use BufferParams::getLyXTextClass
8961 * toc.C (getTocList): use InsetFloat::addToToc
8963 * toc.[Ch]: new files, containing helper functions to handle table
8966 * lyxfunc.C (dispatch): no need to remove spaces around command
8968 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8969 first command of the sequence; it is not very clever, but I do not
8970 have a better idea, actually
8972 * LyXAction.C (LookupFunc): make sure to remove space at the
8973 beginning and end of the command
8975 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8977 * MenuBackend.C (getMenubar): new method: return the menubar of
8979 (read): treat differently reading of menu and menubar (in
8980 particular, the menubar has no name now)
8981 (Menu::menubar): remove
8983 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8986 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8988 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8989 a bibitem inset in a RTL paragraph.
8991 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8993 * paragraph_pimpl.C: constify
8995 * BufferView_pimpl.C:
8997 * lyxfunc.C: fix dispatch in a nicer way
8999 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9001 * lyxfunc.C (dispatch):
9002 * BufferView_pimpl.C:
9003 * BufferView_pimpl.h:
9005 * BufferView.h: rename Dispatch() to dispatch()
9007 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9009 * lyxlayout.C (Read): honor DependsOn tag
9011 * lyxlayout.[Ch] (depends_on): new method
9013 * version.C.in: update lyx_docversion
9015 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9017 * paragraph.C (validate): remove from here...
9018 * paragraph_pimpl.C (validate): ... and move here
9019 (isTextAt): make it const
9021 * buffer.C (getLists): ws cleanup
9023 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9025 * language.C (read): Use iso8859-1 encoding in latex_lang
9026 (this prevents LyX from crashing when using iso10646-1 encoding).
9028 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9030 * text2.C (toggleInset): if cursor is inside an inset, close the
9031 inset and leave cursor _after_ it
9033 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9035 * lyxfunc.C: move minibuffer completion handling out of here
9037 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9039 * BufferView_pimpl.C:
9040 * LaTeX.C: fix dispatch calls
9042 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9044 * text.C (drawChars): Fix Arabic text rendering.
9046 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9050 * lyxfunc.C: remove message-push/pop
9054 * lyxfunc.C: rationalise some code by removing verboseDispatch
9055 in favour of a bool argument to dispatch()
9057 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9059 * lyx_main.C (init): make sure to read symlinks as absolute paths
9061 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9064 * lyxfunc.C: no need for commandshortcut to be a member
9066 2002-07-15 André Pönitz <poenitz@gmx.net>
9068 * converter.C: add support for $$s (scripts from lib/scripts dir)
9069 * lyx_main.C: white space
9071 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9075 * lyxrc.C: remove second exit confirmation
9077 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9082 * BufferView_pimpl.h:
9083 * BufferView_pimpl.C:
9084 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9086 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9088 * MenuBackend.C (expand): add numeric shortcuts to document menu
9090 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9092 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9094 * lyxfont.C (setLyXFamily):
9101 * buffer.C (asciiParagraph): use ascii_lowercase
9103 2002-07-15 Mike Fabian <mfabian@suse.de>
9105 * lyxlex_pimpl.C (search_kw):
9106 * lyxlex.C (getLongString):
9107 * converter.h (operator<):
9108 * converter.C (operator<):
9109 * buffer.C (parseSingleLyXformat2Token):
9111 * ToolbarDefaults.C (read):
9112 * MenuBackend.C (checkShortcuts):
9114 * LColor.C (getFromGUIName):
9115 (getFromLyXName): use the compare_ascii_no_case instead of
9116 compare_no_case, because in turkish, 'i' is not the lowercase
9117 version of 'I', and thus turkish locale breaks parsing of tags.
9119 2002-07-16 Angus Leeming <leeming@lyx.org>
9121 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9122 now takes a Buffer const & argument.
9124 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9126 * BufferView.C (resize): check there's a buffer to resize
9128 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9130 * lyxfunc.C: remove dead code
9133 * lyxserver.C: use lyx_guii::set_read_callback
9135 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9137 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9138 an inset in a RTL paragraph.
9140 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9142 * lyxfunc.C: repaint after a font size update
9144 2002-07-15 André Pönitz <poenitz@gmx.net>
9146 * lyxlength.C: inBP should be able to return negative values
9148 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9150 * lyxfunc.C: use lyx_gui::update_fonts()
9152 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9154 * lyxfunc.C: use lyx_gui::update_color()
9156 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9162 * lyxrc.C: remove file->new asks for name option, and let
9163 buffer-new take an argument
9165 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9167 * BufferView_pimpl.C: remove unneeded extra repaint()
9169 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9171 * LyXAction.C: allow command-sequence with NoBuffer
9173 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9175 2002-07-10 Angus Leeming <leeming@lyx.org>
9177 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9179 2002-07-09 Angus Leeming <leeming@lyx.org>
9181 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9183 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9185 * lengthcommon.h: whitespace
9187 * lyxfunc.C: update scrollbar after goto paragraph
9189 * lyxtext.h: factor out page break drawing, and fix it so
9190 page break/added space paints as selected nicely
9192 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9194 * BufferView_pimpl.C: add FIXMEs, clean up a little
9196 2002-07-09 André Pönitz <poenitz@gmx.net>
9198 * lyxfont.[Ch]: support for wasy symbols
9200 2002-07-08 André Pönitz <poenitz@gmx.net>
9202 * BufferView_pimpl.C: apply John's patch for #93.
9204 2002-07-05 Angus Leeming <leeming@lyx.org>
9206 * BufferView_pimpl.C (buffer): generate previews if desired.
9208 * LColor.h: add "preview" to the color enum.
9210 * LColor.C (LColor): add a corresponding entry to the items array.
9212 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9215 2002-07-05 Angus Leeming <leeming@lyx.org>
9217 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9218 The body of the code is now in the method that is passed an ostream &
9219 rather than a file name.
9220 Pass an additional only_preamble parameter, useful for the forthcoming
9223 2002-07-03 André Pönitz <poenitz@gmx.net>
9225 * lyxfunc.C: simplify getStatus() a bit for math stuff
9227 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9229 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9231 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9233 * text.C (changeRegionCase): do not change case of all the
9234 document when region ends at paragraph end (bug #461)
9236 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9238 * paragraph.C (startTeXParParams):
9239 (endTeXParParams): add \protect when necessary
9241 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9243 * BufferView_pimpl.C (workAreaExpose): remove warning
9245 2002-06-27 Angus Leeming <leeming@lyx.org>
9247 * Makefile.am: add lyxlayout_ptr_fwd.h.
9249 2002-06-26 André Pönitz <poenitz@gmx.net>
9251 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9253 2002-06-25 Angus Leeming <leeming@lyx.org>
9255 * lyxfunc.C (dispatch): Comment out the call to
9256 grfx::GCache::changeDisplay. The method no longer exists now that the
9257 pixmap generation part of the graphics loader has been moved into
9260 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9262 * text2.C: layout as layout
9264 * text.C: layout as layout
9266 * tabular.C (OldFormatRead): layout as layout
9268 * paragraph_pimpl.C (TeXDeeper): layout as layout
9269 (realizeFont): layout as layout
9271 * paragraph.C (writeFile): layout as layout
9272 (validate): layout as layout
9273 (getFont): layout as layout
9274 (getLabelFont): layout as layout
9275 (getLayoutFont): layout as layout
9276 (breakParagraph): layout as layout
9277 (stripLeadingSpaces): layout as layout
9278 (getEndLabel): layout as layout
9279 (getMaxDepthAfter): layout as layout
9280 (applyLayout): layout as layout
9281 (TeXOnePar): layout as layout
9282 (simpleTeXOnePar): layout as layout
9283 (TeXEnvironment): layout as layout
9284 (layout): layout as layout
9285 (layout): layout as layout
9287 * lyxtextclass.C (compare_name): new functor to work with
9288 shared_ptr, layout as layout
9289 (Read): layout as layout
9290 (hasLayout): layout as layout
9291 (operator): layout as layout
9292 (delete_layout): layout as layout
9293 (defaultLayout): layout as layout
9295 * lyxlayout_ptr_fwd.h: new file
9297 * lyxlayout.C (Read): layout as layout
9299 * lyx_cb.C (MenuInsertLabel): layout as layout
9301 * bufferlist.C (newFile): layout as layout
9303 * buffer.C (readLyXformat2): layout as layout
9304 (parseSingleLyXformat2Token): layout as layout
9305 (insertStringAsLines): layout as layout
9306 (asciiParagraph): layout as layout
9307 (latexParagraphs): layout as layout
9308 (makeLinuxDocFile): layout as layout
9309 (simpleLinuxDocOnePar): layout as layout
9310 (makeDocBookFile): layout as layout
9311 (simpleDocBookOnePar): layout as layout
9312 (getLists): layout as layout
9314 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9316 * CutAndPaste.C (cutSelection): layout as layout
9317 (pasteSelection): layout as layout
9318 (SwitchLayoutsBetweenClasses): layout as layout
9320 * BufferView_pimpl.C (Dispatch): layout as layout
9321 (smartQuote): layout as layout
9323 * BufferView2.C (unlockInset): layout as layout
9325 2002-06-24 André Pönitz <poenitz@gmx.net>
9327 * lyxfunc.C: fix #487
9329 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9333 * lyxfunc.C: remove display_shortcuts, show_banner
9335 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9337 * Buffer_pimpl.C: oops, update on resize
9339 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9346 * BufferView.C: use repaint()
9348 * BufferView_pimpl.h:
9349 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9350 as it's a clearer description. Remove superfluous
9353 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9355 * text.C: fix bug 488. Not ideal, but getting
9356 getWord() to work properly for the insets that
9357 matter is more difficult ...
9359 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9361 * BufferView_pimpl.C:
9364 * lyxfunc.C: remove the six million index lyxfuncs to just
9365 one, and DTRT (bug 458)
9367 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9371 * BufferView_pimpl.h:
9372 * BufferView_pimpl.C: clean up resize() stuff,
9373 and unnecessary updateScreen()s
9375 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9379 * BufferView_pimpl.h:
9380 * BufferView_pimpl.C:
9383 * minibuffer.C: remove focus management of workarea,
9384 not needed. Use screen's greyOut()
9386 2002-06-17 Herbert Voss <voss@lyx.org>
9388 * converter.C: (convert) do not post a message, when converting
9389 fails, let the calling function decide what to do in this case
9391 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9393 * lyxfunc.C: tidy up a little
9395 2002-06-16 <alstrup@diku.dk>
9397 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9398 Got rid of FORMS_H_LOCATION include. Now we are
9401 2002-06-15 LyX Development team <lyx@rilke>
9403 * buffer.[Ch] (sgmlOpenTag):
9404 (sgmlCloseTag): Added support for avoiding pernicious mixed
9405 content. Return number of lines written.
9408 (makeDocBookFile): Fixed calls to sgml*Tag.
9409 Simple white space clean.
9411 (simpleDocBookOnePar): Simple white space clean.
9413 * tabular.[Ch] (docBook): Renamed to docbook and got another
9414 argument to related with the pernicious mixed content.
9416 (docbookRow): Fixed calls for docbook inset method.
9418 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9420 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9421 so it's X11 independent.
9425 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9427 2002-06-15 Lyx Development team <lyx@electronia>
9429 * intl.h: Renamed getTrans to getTransManager.
9431 2002-06-14 Angus Leeming <leeming@lyx.org>
9433 * Makefile.am: nuke forgotten stl_string_fwd.h.
9435 2002-06-12 Angus Leeming <leeming@lyx.org>
9437 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9439 2002-06-13 Angus Leeming <leeming@lyx.org>
9442 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9444 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9446 * kbmap.C (getiso): add support for cyrillic and greek
9448 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9452 * BufferView_pimpl.h:
9453 * BufferView_pimpl.C: move bogus scrolling logic
9456 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9459 * BufferView_pimpl.C: view->resize() change
9461 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9463 * BufferView_pimpl.C: topCursorVisible
9466 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9470 * lyx_gui.C: move to frontends/
9474 * lyx_main.C: changes from above
9476 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9483 * lyx_main.C: minor tidy
9485 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9487 * BufferView_pimpl.h:
9488 * BufferView_pimpl.C:
9490 * BufferView.C: make painter() const,
9493 * BufferView2.C: use screen() accessor
9496 * lyx_main.C: some minor cleanup
9498 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9500 * BufferView_pimpl.h:
9501 * BufferView_pimpl.C: remove enter/leaveView,
9504 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9509 * BufferView_pimpl.h:
9510 * BufferView_pimpl.C: only construct screen once,
9513 * lyxrc.C: remove pointless comment
9515 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9518 * BufferView.C: remove active() and belowMouse()
9520 * BufferView_pimpl.h:
9521 * BufferView_pimpl.C: use workarea() not workarea_,
9522 and make it use a scoped_ptr instead
9524 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9526 * lyx_gui.C: add debug message on BadWindow
9528 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9530 * sp_spell.C: fdopen is not part of the C++ standard.
9532 * paragraph.C (InsetIterator): use >= instead of ==
9534 2002-06-07 Angus Leeming <leeming@lyx.org>
9536 Fixes needed to compile with Compaq cxx 6.5.
9537 * BufferView_pimpl.C:
9544 * lyxtextclasslist.C:
9549 all c-library variables have been moved into namespace std. Wrap
9550 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9555 Add a using std::abs declaration.
9557 * kbmap.h (modifier_pair):
9558 * paragraph.h (InsetTable, InsetList):
9559 * lyxfont.h (FontBits):
9560 type definition made public.
9562 * bufferlist.C (emergencyWriteAll): the compiler complains that
9563 there is more than one possible lyx::class_fun template to choose from.
9564 I re-named the void specialisation as lyx::void_class_fun.
9566 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9568 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9569 the compiler is is unable to find tostr in write_attribute.
9571 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9573 * buffer.C (sgmlError): hide #warning
9575 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9577 * xtl/*: get rid of xtl, which is not in use anyway
9579 * LyXAction.C (init):
9580 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9581 were unimplemented xtl experimentation
9583 2002-06-04 André Pönitz <poenitz@gmx.net>
9585 * lyxfunc.C: disable array operation on simple formulae
9587 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9589 * converter.C: constify a bit
9591 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9593 * lyx_gui.C: check xforms version correctly
9595 2002-04-30 Herbert Voss <voss@lyx.org>
9597 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9600 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9602 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9603 attempt to register it with a VCS)
9605 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9607 * lyx_main.C (init): honor variables LYX_DIR_13x and
9610 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9614 * lyx_main.C: fix a crash on bad command line,
9615 and give a useful exit status on error
9617 * lyxfunc.C (doImport): allow -i lyx to work
9619 2002-03-30 André Pönitz <poenitz@gmx.net>
9621 * lyxfunc.C: mathed font changes
9623 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9638 * trans_mgr.h: srcdocs, and some minor cleanups
9640 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9642 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9643 call getFont all the time)
9645 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9647 * switch from SigC signals to boost::signals
9649 2002-05-29 André Pönitz <poenitz@gmx.net>
9651 * paragraph_pimpl.C (getChar): don't call size() too often...
9653 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9655 * paragraph_pimpl.C (insertChar): do not try to update tables when
9656 appending (pos == size())
9658 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9659 in order to reduce drastically the number of comparisons needed to
9660 parse a large document
9662 2002-05-29 André Pönitz <poenitz@gmx.net>
9668 * textclasslist.[Ch]:
9669 * sp_ispell.h: whitespace change
9671 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9673 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9674 lyxaction directly now.
9676 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9680 * lyxvc.C: remove unused headers
9682 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9689 * undo_funcs.C: some cleanups. Use shared_ptr
9690 and a template for the undo stacks.
9692 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9694 * BufferView_pimpl.h:
9695 * BufferView_pimpl.C:
9702 * text2.C: use key_state/mouse_state
9704 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9706 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9709 * chset.C: change include order
9710 (loadFile): use boost regex and get rid of LRegex and LSubstring
9712 * Makefile.am (BOOST_LIBS): new variable
9715 * LaTeX.C: change include order.
9716 (scanAuxFile): use boost regex and get rid of LRegex and
9720 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9725 * FontInfo.C: moved to frontends/xforms/
9728 * FontLoader.C: moved into frontends for GUIIzation
9733 * lyxfunc.C: changes from above
9735 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9737 * LColor.C: remove spurious X include
9739 * BufferView_pimpl.C:
9744 * text2.C: move font metrics to frontends/
9746 2002-05-24 Juergen Vigna <jug@sad.it>
9748 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9749 setting the undo_cursor.
9751 * ParagraphParameters.h: include local includes first.
9753 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9755 * BufferView_pimpl.C:
9756 * BufferView_pimpl.h:
9760 * screen.C: move WorkArea into frontends/
9766 * BufferView2.C: move LyXScreen into frontends/
9770 * lyx_gui.C: move lyxlookup into frontends/xforms/
9772 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9775 * BufferView_pimpl.C:
9785 * bufferview_funcs.C:
9798 * vc-backend.C: move LyX/XFormsView into frontends/
9800 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9812 * text2.C: move Painter to frontends/
9814 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9816 * buffer.C: comment out some some code that depend upon lyx_format
9819 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9820 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9822 * buffer.h (NO_COMPABILITY): turn off compability
9824 * ColorHandler.C: include scoped_array.hpp
9826 * font.C: Use more specific smart_ptr header.
9829 * ShareContainer.h: ditto
9833 * BufferView_pimpl.h: ditto
9834 * ColorHandler.h: ditto
9836 * kbmap.C (defkey): change call to shared_ptr::reset
9838 2002-05-21 Juergen Vigna <jug@sad.it>
9840 * buffer.C (insertErtContents): fix to insert ert asis if it is
9841 non empty. Skip it completely if it contains only whitespaces.
9843 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9845 * BufferView_pimpl.C:
9846 * BufferView2.C: clear selection on paste (bug 393)
9848 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9850 * DepTable.C: include ctime
9852 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9854 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9856 2002-05-14 Juergen Vigna <jug@sad.it>
9858 * text.C (breakParagraph): fixed function to honor the keepempty
9859 layout in the right maner and also to permit the right breaking
9860 algorithm on empty or non empyt keepempty paragraphs.
9862 * paragraph.C (breakParagraph): we have to check also if the par
9863 is really empty (!size()) for isempty otherwise we do the wrong
9866 2002-05-10 Juergen Vigna <jug@sad.it>
9868 * buffer.[Ch] : The following are only changes to the ert
9869 compatibility read reading old LaTeX layout and font stuff and
9870 convert it to ERTInsets.
9872 * buffer.h: added isErtInset().
9874 * buffer.C (struct ErtComp): add a fromlayout bool to check
9875 if we're inside a LaTeX layout.
9876 (isErtInset): new helper function.
9877 (insertErtContents): look for other ert insets before this one
9878 and insert the contents there, so that we don't have subsequent
9879 ERT insets with nothing between them. This way we create only one
9880 inset with multiple paragraphs. Also check if we don't insert only
9881 spaces ' ' as they are ignored anyway afterwards in the .tex file
9882 so if we have only spaces we will ignore this latex part in the
9884 (parseSingleLyXformat2Token \\layout): better compatibility when
9885 reading layout-latex stuff.
9886 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9888 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9889 stuff after reading the inset only get the information back from
9892 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9894 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9896 * LaTeXFeatures.C (getBabelOptions): New method.
9898 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9900 * BufferView_pimpl.C (Dispatch): work around missing argument for
9903 2002-05-08 Juergen Vigna <jug@sad.it>
9905 * text.C (leftMargin): handle paragraph leftindent.
9907 * paragraph.C (writeFile): write the new \\leftindent tag.
9908 (validate): handle leftindent code.
9909 (TeXEnvironment): handle paragraphleftindent code again.
9911 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9913 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9914 for paragrap_extra indent code and new token \\leftindent.
9915 (latexParagraphs): handle the leftindent as environment.
9917 * ParameterStruct.h: added leftindent support.
9919 * ParagraphParameters.C (leftIndent): added support functions for
9920 the paragraph left indent.
9922 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9925 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9927 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9930 * text.C (computeBidiTables): No bidi in insetERT.
9932 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9935 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9937 * version.C.in: pre 5
9939 2002-05-02 José Matos <jamatos@fep.up.pt>
9940 * buffer.C (makeDocBookFile): white space changes, add newline to
9942 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9944 * tabular.C (docBook): fix typo.
9946 2002-05-03 Juergen Vigna <jug@sad.it>
9948 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9949 change in LyXText as we can not be sure it was not freed.
9950 (drawOneRow): remove unused code.
9952 * text.C (drawInset): redo the calculation of the need_break_row as
9953 it could have a row which was already freed.
9954 (draw): look at the return value of drawInset and return false if
9955 it also returned false.
9956 (paintRowText): look at the return value of draw and return false if
9957 it also returned false.
9959 * lyxtext.h: added bool return type to drawInset() and draw() so that
9960 if we have a change in the row so that the rowbreak has to be redone
9961 we abort drawing as it will be called again.
9963 2002-05-02 Juergen Vigna <jug@sad.it>
9965 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9966 a change in the maintext also if we're inside an inset.
9967 (Dispatch): set the cursor again after a break line and after the
9968 screen has been updated as it could be we're in a different row.
9970 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9971 to set the cursor behind the pargraph with > size().
9972 (setCursor): check also for the same paragraph when checking where
9973 to put the cursor if we have a NFR inset.
9975 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9976 parts of layout read further up as it still was in the wrong
9979 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9981 * screen.C (drawFromTo): change sine fullRebreak always return
9984 * buffer.C (parseSingleLyXformat2Token): reindent some
9986 * BufferView_pimpl.C (update): change since fullRebreak always
9988 (Dispatch): git rid of the last hardcoded "Standard"s.
9990 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9992 * text2.[Ch] (fullRebreak): make it return void now that we always
9995 2002-04-30 Juergen Vigna <jug@sad.it>
9997 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9998 ert compatibility check for "latex" layout.
10000 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10002 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10003 minipages: use col% instead of p%, and also use the current font.
10004 (makeLaTeXFile): Fix use babel condition.
10005 (parseSingleLyXformat2Token): Correct font when reading old floats.
10007 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10009 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10010 inserting list of floats.
10012 2002-04-25 Herbert Voss <voss@lyx.org>
10014 * MenuBackend.C (expand): don't add the graphics extensions to the
10017 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10019 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10020 non-existing layout, do not complain if it was the default layout
10021 of the original class (bug #342)
10023 2002-04-24 Juergen Vigna <jug@sad.it>
10025 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10026 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10028 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10030 * buffer.C (getBibkeyList): If using \bibliography, return the
10031 option field with the reference itself. Enables us to provide natbib
10032 support when using \bibliography.
10034 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10036 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10038 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10039 natbib is provided by the LaTeX class.
10041 2002-04-23 Juergen Vigna <jug@sad.it>
10043 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10046 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10048 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10050 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10052 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10053 ensuremath around textordmasculine, textordfeminine and
10056 2002-04-19 Juergen Vigna <jug@sad.it>
10058 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10059 reinitializing the buffer otherwise row-dimensions may be wrong.
10060 (update): reset also the selection cursors if they do exits otherwise
10061 their x/y positions may be wrong.
10063 * text2.C (cursorDown): don't enter the inset if we came from a row
10064 above and are one row over the inset.
10066 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10067 really leaving an inset.
10069 2002-04-18 Juergen Vigna <jug@sad.it>
10071 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10072 of the selected paragraph does not have the selected layout also if
10075 * text2.C (setLayout): fixed bug which did not change last selected
10078 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10079 changed the read and substituted \\end_float with \\end_inset!
10081 * BufferView_pimpl.C (cursorPrevious):
10082 (cursorNext): fixed to make it work with rows heigher than the work
10083 area without moving the cursor only the draw of the row.
10084 (workAreaMotionNotify): fix jumping over high rows.
10086 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10088 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10091 2002-04-16 Juergen Vigna <jug@sad.it>
10093 * text2.C (setCursor): set also the irow().
10094 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10096 (cursorDown): support for locking an inset if the x_fix value goes
10097 inside it. That way I can transverse insets too with cursor up/down.
10099 * lyxrow.h: added irow helper function same as other (i) functions.
10101 * BufferView_pimpl.C (cursorPrevious):
10102 (cursorNext): fixed for insets!
10104 2002-04-15 Juergen Vigna <jug@sad.it>
10106 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10107 position otherwise it is wrong in some cases.
10109 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10110 inside the inset before the call.
10112 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10114 * buffer.[Ch] (getBibkeyList): make it const.
10116 2002-04-12 Juergen Vigna <jug@sad.it>
10118 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10120 * text2.C (getCursorX): new helper function
10121 (setCursor): compute also ix_
10122 (setCursorFromCoordinates): set also ix.
10124 * lyxcursor.h: added ix_ and helper functions.
10126 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10128 * buffer.C (insertStringAsLines): dont break paragraph if the this
10129 paragraph is inside an inset which does not permit it!
10131 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10132 also with no chars on this paragraph.
10133 (paintRowText): only paint stuff if it's inside the workarea!
10135 * paragraph.C (breakParagraph): honor keepempty flag and break the
10136 paragraph always below not above.
10138 * BufferView2.C (unlockInset): update the paragraph layout on inset
10139 unlock as we changed paragraph in such a case.
10141 * lyxfind.C (LyXFind): clear the former selection if not found!
10143 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10144 again called in insertChar().
10146 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10147 an inset which uses the whole row!
10148 (rightMargin): ditto.
10149 (insertChar): force a rebreak if we inserted an inset!
10151 2002-03-28 Herbert Voss <voss@lyx.org>
10153 * lyxlength.[Ch]: add inBP() to get the right PS-point
10154 units (BigPoint). With inPixels we have rounding errors
10156 2002-04-11 Juergen Vigna <jug@sad.it>
10158 * text2.C (setCursorFromCoordinates): set iy to the right value.
10159 (setCursor): add check if row->previous exists!
10161 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10162 an old float_type as this was the case in the old code!
10164 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10166 * BufferView2.C (showLockedInsetCursor): use iy
10167 (fitLockedInsetCursor): ditto
10169 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10170 locked insets as there we have the right value now.
10172 * lyxcursor.C: added iy_ variable and iy functions to set to the
10173 baseline of cursor-y of the locked inset.
10175 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10176 (setCursor): fixed for insets which need a full row.
10178 * text.C (rowLastPrintable): don't ignore the last space when before
10179 an inset which needs a full row.
10180 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10181 as last character of a row when before a inset which needs a full row.
10183 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10185 * version.C.in: update date
10187 * text2.C (fullRebreak): try to always return true and see what
10190 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10192 * MenuBackend.C (expand): use Floating::listName
10194 * FloatList.C (FloatList): add listName argument to the built-in
10197 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10198 text associated with the float.
10200 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10202 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10204 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10206 * ShareContainer.h: add a couple of missing typenames.
10208 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10210 * lyxrc.C (getDescription): use _() correctly rather than N_().
10212 2002-03-28 Herbert Voss <voss@lyx.org>
10214 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10215 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10217 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10219 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10220 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10222 2002-03-29 Juergen Vigna <jug@sad.it>
10224 * lyxfunc.C (dispatch): add a missing fitCursor call.
10226 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10227 it was scrolled by a cursor move, so return the bool status.
10229 * BufferView.C (fitCursor): return the bool flag also to the outside
10230 world as this is needed.
10232 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10234 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10235 call the edit() as it is not needed (and wrong) IMO.
10236 (workAreaButtonPress): set the screen_first variable before evt.
10237 unlock the inset as this may change screen_first and then we have
10238 a wrong y position for the click!
10240 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10242 * MenuBackend.C (expand): another translation that I missed
10244 2002-03-28 Juergen Vigna <jug@sad.it>
10246 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10248 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10250 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10252 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10254 * MenuBackend.C (expand): fix export/view/update when there is no
10257 2002-03-27 Herbert Voss <voss@lyx.org>
10259 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10262 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10264 * bufferview_funcs.C (currentState): only show paragraph number
10265 for is DEVEL_VERSION is set.
10267 * lyxfunc.C (dispatch): put warning in INFO channel
10269 * MenuBackend.C (expand): translate the name of floats
10271 * FloatList.C (FloatList): mark the float names for translation
10273 * converter.C (convert): use LibScriptSearch
10275 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10277 * MenuBackend.C (defaults): fix default menu (we might as well get
10280 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10282 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10285 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10287 * lyxvc.C: reorder includes.
10289 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10291 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10294 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10296 * CutAndPaste.C: change layouts earlier on paste
10297 to avoid crashing when calling getFont()
10299 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10301 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10304 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10306 * WorkArea.C: remove 'Pending' debug message.
10308 * most files: ws cleanup
10310 * buffer.[Ch]: ws changes
10312 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10314 2002-03-21 Juergen Vigna <jug@sad.it>
10316 * tabular.C (SetMultiColumn): collapse also the contents of the
10317 cells and set the last border right. Added a Buffer const * param.
10319 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10321 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10324 2002-03-19 Juergen Vigna <jug@sad.it>
10326 * text2.C (clearSelection): reset also xsel_cache.
10328 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10329 where it needs to be called (John tells us to do so too :)
10330 (selectionLost): reset sel_cache.
10332 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10334 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10336 * text2.C (setCursorIntern): put debuging code in INSETS channel
10338 2002-03-19 André Pönitz <poenitz@gmx.net>
10340 * lyxfunc.C: tiny whitespace change
10342 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10344 * ToolbarDefaults.C (init):
10345 * LyXAction.C (init):
10347 * BufferView_pimpl.C (Dispatch):
10348 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10350 2002-03-19 Allan Rae <rae@lyx.org>
10352 * exporter.C (Export): removeAutoInsets before doing anything else.
10353 While I've just introduced a dependency on BufferView this really is
10354 the best place to clean the buffer otherwise you need to cleanup in
10355 a dozen places before calling export or cleanup in a dozen functions
10358 * converter.C (runLaTeX):
10359 (scanLog): Better handling of removeAutoInsets and screen updates.
10361 * lyxfunc.C (dispatch): small whitespace changes
10363 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10365 * WorkArea.C (C_WorkAreaEvent): return a value.
10366 (event_cb): return 1 if we handled the event, 0 otherwise.
10368 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10370 2002-03-18 Juergen Vigna <jug@sad.it>
10372 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10373 (GetAdditionalWidth): ditto.
10374 (RightLine): ditto.
10377 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10378 inset if we're there actually (probably not used right now but this
10379 is the direction to go for unifying code).
10380 (paste): disable code to clear the selection.
10382 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10383 inside an InsetText and move the check further up as it is in the
10386 * text2.C (pasteSelection): set a selection over the pasted text.
10388 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10390 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10391 and libgraphics to build on Cygwin.
10393 2002-03-15 Juergen Vigna <jug@sad.it>
10395 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10396 inserting an Inset into the paragraph. I know this is not the best
10397 fix but we already use current_view in CutAndPaste so we will remove
10398 all of it's using at the same time.
10400 * buffer.C (sgmlError): deactivated function till it is rewritten in
10401 the right mode, now it can create problems.
10403 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10404 before accessing it.
10406 2002-03-14 Juergen Vigna <jug@sad.it>
10408 * undo_funcs.C (textHandleUndo): do the right thing when updating
10409 the inset after the undo/redo.
10411 * text2.C (setCursor): just some testcode for #44 not ready yet.
10413 * undo_funcs.C (textHandleUndo): set the next() and previous()
10414 pointers of the paragraph to 0 before deleting otherwise we have
10415 problems with the Paragraph::[destructor].
10417 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10418 on a paragraph insertion.
10420 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10422 * buffer.C (asciiParagraph): use += operator for char append to
10425 * paragraph.C (getFontSettings): compare >= not just >
10426 (highestFontInRange): ditto
10429 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10431 * paragraph.C: change several algorithm to be more appripriate for
10432 the problem domain. This is lookip in FontList and in the InsetList.
10434 2002-03-13 André Pönitz <poenitz@gmx.net>
10437 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10439 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10444 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10446 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10448 * Painter.C (display): anon helper function, adjust code for this
10450 (pixmap): remove function.
10452 * Painter.h: remove private display variable.
10454 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10456 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10458 * WorkArea.[Ch]: remove figinset_canvas cruft.
10460 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10462 * lyxtextclass.C (operator): add one item cache optimization.
10464 * bufferlist.h: doxy changes
10466 * bufferlist.C: ws changes
10468 * DepTable.[Ch] (ext_exist): place const in the right spot.
10470 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10472 (workAreaExpose): call resizeInsets when the with BufferView changes.
10473 (Dispatch): adjust for protectedBlank removal
10474 (specialChar): call updateInset if the insert went ok.
10476 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10477 specialChar instead.
10479 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10481 * BufferView.h: doxy change
10483 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10485 * lyxtextclass.C (operator[]): remove non-const version
10486 (defaultLayout): remove non-const version
10488 2002-03-12 Juergen Vigna <jug@sad.it>
10490 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10491 did resize the LyXText too.
10493 * buffer.C (readLyXformat2): set layout information on newly allocated
10496 * tabular.C (OldFormatRead): set layout information on the paragraph.
10498 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10500 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10502 2002-03-11 Juergen Vigna <jug@sad.it>
10504 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10506 (resizeCurrentBuffer): force also the insets to resize themselfes.
10507 (moveCursorUpdate): fixed up for InsetText.
10509 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10512 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10513 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10514 value of Dialogs::tooltipsEnabled().
10515 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10517 2002-03-08 Juergen Vigna <jug@sad.it>
10519 * BufferView_pimpl.C (updateInset): update inset inside inset also
10520 if it isn't inside theLockingInset().
10522 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10524 * buffer.C (asciiParagraph): redo some of the word and line length
10526 (getLists): look for Caption instead of caption.
10528 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10530 * buffer.C (Buffer): initialize niceFile to true
10532 (makeLinuxDocFile):
10533 (makeDocBookFile): make sure niceFile is true on exit
10535 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10537 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10539 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10541 * LyXSendto.C: remove.
10542 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10543 * lyx_gui.C: remove now-redundant comment.
10544 * ColorHandler.h: remove forward declaration of class WorkArea.
10545 * lyxfunc.C: remove #include "WorkArea.h".
10547 2002-03-07 Juergen Vigna <jug@sad.it>
10549 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10550 got moved away with the DEPM and also set the inset_owner always
10551 right which before could have been omitted.
10553 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10555 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10556 wanted layout is not found.
10558 2002-03-07 Juergen Vigna <jug@sad.it>
10560 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10562 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10564 * paragraph.C (breakParagraph): use default layout not layout of
10566 (Paragraph): clear ParagraphParameters.
10568 2002-03-06 Juergen Vigna <jug@sad.it>
10570 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10571 otherwise it would not be a valid lenght. Fixed a special case in
10572 the minipage compatibility read where we end the document with a
10575 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10576 was set as it could be 0 for InsetTexts first entry.
10578 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10580 * paragraph.C (writeFile): if layout is empty write out
10581 defaultLayoutName().
10583 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10584 file without named layout we set layout to defaultLayoutName().
10586 2002-03-06 Juergen Vigna <jug@sad.it>
10588 * CutAndPaste.C (copySelection): set layout for new paragraph.
10590 * text.C (prepareToPrint): leave ERT inset left aligned
10591 (leftMargin): don't indent paragraphs inside ERT insets
10593 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10595 * paragraph.C (breakParagraph): dont call clear do the work manually
10597 * paragraph.[Ch] (clear): remove function
10599 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10601 * paragraph.C (Paragraph): dont call clear, the work has already
10604 * lyxtextclass.C (operator): assert if n is empty
10606 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10607 work manually instead.
10609 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10611 * BufferView_pimpl.C: protect selectionLost against text == 0
10613 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10615 * text.C (breakParagraph): fix a setting layout to '0' problem.
10617 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10619 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10620 final location of file, for the included files, and graphics.
10622 2002-03-05 Juergen Vigna <jug@sad.it>
10624 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10626 2002-03-04 Juergen Vigna <jug@sad.it>
10628 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10630 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10631 last column of multicolumn cells.
10632 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10634 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10636 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10637 file if it doesn't go to a temporary file.
10639 * buffer.C (sgmlOpenTag):
10640 (sgmlCloseTag): remove extra newline insertion.
10642 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10644 * text.C (getRowNearY): comment out debug msg
10646 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10648 * text2.C: first -> first_y
10650 * text.C (getRowNearY): add some attemts at a possible
10651 optimization, not working.
10653 * tabular.[Ch]: add BufferParams to several function so that newly
10654 created paragraph can be initialized to he default layotu for the
10657 * tabular-old.C (ReadOld): add buf->params to call of Init
10659 * screen.C: rename text->first to text->first_y
10661 * paragraph.C (breakParagraph): always set layout in the broken
10664 * lyxtextclass.C (Read): remove lowercase
10667 (delete_layout): ditto
10669 * lyxtext.h: rename first -> first_y
10671 * lyxlayout.C (Read): remove lowercase
10674 (obsoleted_by): ditto
10676 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10678 * buffer.C (insertErtContents): add params are to InsetERT
10679 (parseSingleLyXformat2Token): add code to check if a paragraphs
10680 layout really exist.
10681 (parseSingleLyXformat2Token): add params to several inset
10683 (asciiParagraph): remove lowercase, do the layout comparisons with
10686 * BufferView_pimpl.C (cursorNext): first -> first_y
10687 (resizeCurrentBuffer): first -> first_y
10688 (updateScrollbar): first -> first_y
10689 (scrollCB): first -> first_y
10690 (workAreaMotionNotify): first -> first_y
10691 (workAreaButtonPress): first -> first_y
10692 (checkInsetHit): first -> first_y
10693 (cursorPrevious): first -> first_y
10694 (cursorNext): first -> first_y
10695 (Dispatch): add buffer_->params to severl inset contructors
10697 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10699 * lyxlayout.C (Read): remove some debug info that I forgot.
10701 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10702 clean up the code slightly.
10703 (makeLinuxDocFile): ditto
10704 (makeDocBookFile): ditto
10706 * text2.C: layout as string
10708 * text.C: layout as string
10710 * paragraph_pimpl.C: layout as string
10712 * paragraph.[Ch]: layout as string
10714 * lyxtextclasslist.[Ch]: layout as string
10716 * lyxtextclass.[Ch]: layout as string
10718 * lyxtext.h: layout as string
10720 * lyxlayout.[Ch]: layout as string
10722 * lyx_cb.C: layout as string
10724 * bufferview_funcs.C: layout as string
10726 * bufferparams.C: layout as string
10728 * buffer.C: layout as string
10730 * LyXView.[Ch]: layout as string
10732 * LaTeXFeatures.[Ch]: layout as string
10734 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10736 * BufferView_pimpl.C: change current_layout to string, remove
10741 (workAreaButtonRelease): layout as string
10743 * BufferView2.C (unlockInset): adjust
10745 * vspace.C (asLatexCommand): use an explict temp variable.
10747 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10749 * Makefile.am: use FRONTEND_*
10751 2002-03-01 Juergen Vigna <jug@sad.it>
10753 * tabular.C (SetWidthOfMulticolCell): changed to something better
10754 I hope but still work in progress.
10755 (recalculateMulticolumnsOfColumn): renamed function from
10756 recalculateMulticolCells as it is more appropriate now.
10757 (SetWidthOfCell): calculate multicols better.
10759 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10761 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10763 * lyxfunc.C (processKeySym): print sequence also if it is
10764 `deleted' (complete)
10766 * kbsequence.C (print): print sequence even if it is deleted
10767 (complete would be a better word, actually).
10769 * lyxfunc.C (dispatch): print complete options after a prefix key
10771 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10773 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10775 * text2.C (setCharFont): eliminate setCharFont code duplication.
10777 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10779 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10780 LFUN_TABULAR_FEATURE (bug #177)
10782 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10784 * Makefile.am: remove figure.h
10786 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10788 * Bufferview_pimpl.C:
10800 * text2.C: remove #include "lyx_gui_misc.h".
10802 * LaTeX.C: added #include <cstdio>
10804 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10806 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10807 that the paragraph following this one can have.
10809 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10811 * vspace.C (asLatexCommand): fix bogus gcc warning
10813 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10815 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10817 * text2.C (setLayout): get rid of redundant code
10819 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10821 * text2.C (incDepth): make sure depth cannot be increased beyond
10824 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10826 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10827 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10829 * PainterBase.h (image):
10830 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10831 a LyXImage const *.
10833 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10837 * BufferView_pimpl.C:
10838 * BufferView_pimpl.h:
10858 * sp_spell.C: remove fig inset, and the crap house of
10859 cards that follows it
10861 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10866 * os2_errortable.h:
10867 * nt_defines.h: move .h into support/
10869 * vms_defines.h: remove
10871 * WorkArea.C: add space in debug output
10875 * buffer.C: add WITH_WARNINGS
10879 * bufferlist.C: s/retrive/retrieve/, add docs
10888 * chset.C: add docs
10890 * lyxgui.C: add ID to X error handler
10892 * lyxtestclass.c: fix typo
10894 2002-02-26 Juergen Vigna <jug@sad.it>
10896 * tabular_funcs.C (write_attribute): changed so that some default
10897 attributes are not written at all.
10898 (getTokenValue): set default values before trying to read the
10899 value so we have the return value always set as default if we don't
10900 find the token we search for.
10902 * tabular.C (Write): write bools as bools not as strings!
10904 2002-02-22 Juergen Vigna <jug@sad.it>
10906 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10907 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10909 * text.C (leftMargin): don't add an indent for paragraphs inside
10910 tabular cells (fix #208).
10912 2002-02-21 José Matos <jamatos@fep.up.pt>
10914 * tabular.C (docBook): fixed support for long tables.
10916 2002-02-20 Juergen Vigna <jug@sad.it>
10918 * text2.C (getFont): get the drawing font of the Inset if this
10919 paragraph is inside an inset (only important for InsetERT for now).
10921 * buffer.C (insertErtContents): use new lanugage params in ERT
10924 * CutAndPaste.C: commenting out seemingly uneeded code.
10926 2002-02-19 Allan Rae <rae@lyx.org>
10928 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10929 Iterators might be simple to use but they also get invalidated.
10930 (removeAutoInsets): renamed saved cursor tracking variables and added
10931 some comments to clarify what everything does.
10933 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10940 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10941 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10944 * vc-backend.h: remove #include "support/syscall.h"
10948 * converter.C: rearrange #includes in Lars' approved fashion.
10950 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10951 forward declare class Timeout in the header file.
10953 * XFormsView.C: changes due to the above.
10955 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10956 similar to LyXView.
10958 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10959 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10961 2002-02-18 José Matos <jamatos@fep.up.pt>
10963 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10966 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10968 * a lot of small ws changes
10969 * add a lot of using std::XXX
10970 * use std construcs some places where approp.
10971 * use some exisint stuff from lyxfunctional where approp.
10972 * Make file changes to use partial linking (lets test this now...)
10974 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10978 remove #include "support/syscontr.h" as it's redundant. Always has been.
10986 change Systemcalls::System to Systemcalls::Wait and
10987 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10988 No change of functionality, just reflects the stripped down Systemcalls
10991 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10993 * debug.[Ch]: add a GRAPHICS type to the enum.
10995 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10997 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10999 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11002 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11004 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11005 match the changes below.
11007 * text2.C (toggleInset): if there is not editable inset at cursor
11008 position, try to see if cursor is _inside_ a collapsable inset
11011 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11013 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11014 document menu has a nice checkbox
11016 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11018 * lyxlength.C (asLatexString): change PW to output as percent of
11021 * lengthcommon.C: change '%' to 't%'
11023 * lyxfunc.C (dispatch): a few comments from Martin
11025 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11029 * BufferView_pimpl.h:
11030 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11033 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11035 * vspace.C (inPixels): fix compiler warning
11037 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11039 * lyxfunc.C (getStatus): fix status message for disabled commands.
11041 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11043 * BufferView_pimpl.C: fix crash on close buffer
11044 during selection (#227)
11046 2002-01-27 Herbert Voss <voss@lyx.org>
11048 * buffer.C: link old Figure to new graphic inset
11050 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11052 * FontLoader.C (getFontinfo): Change the latex font names in order
11053 to match the names of type1inst.
11055 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11057 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11059 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11060 (extchanged): ditto
11062 (remove_files_with_extension): ditto
11063 (remove_file): ditto
11066 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11067 document is smaller than the work area height. Do not initialize
11068 static variables to 0.
11070 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11072 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11074 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11075 LFUN_LAYOUT_PARAGRAPHS.
11077 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11078 tabular. It is possible to provide a possible cell, which will
11079 typically be the actcell from the corresponding insettabular
11081 * lyxfunc.C (getStatus): small cleanup; disable
11082 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11085 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11087 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11089 * paragraph.C (startTeXParParams):
11090 (endTeXParParams): new methods. The LaTeX code to
11091 start/end paragraph formatting
11092 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11093 empty (fixes bug #200)
11095 * vspace.C (inPixels): adapt to the change below
11096 (inPixels): [later] more cleanups (remove unused variables)
11098 * lyxlength.C (inPixels): change to use a width and a height as
11101 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11103 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11104 Replaced with \paperwidth
11106 * DepTable.C (insert): add std:: qualifier
11108 2002-01-18 Allan Rae <rae@lyx.org>
11110 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11113 * text.C (drawInset): Turned out I didn't know enough about how
11114 rebreaking worked. This fixes most of the redraw problems. I see
11115 an occasional cursor trail when a line is broken now and the cursor
11116 placement can seem out by a few pixels also after a rebreak.
11118 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11120 * buffer.C (parseSingleLyXformat2Token): update because minipage
11121 width is now a LyXLength
11123 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11125 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11128 2002-01-17 Juergen Vigna <jug@sad.it>
11130 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11132 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11133 is set correctly and the inset is updated correctly.
11135 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11137 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11138 the beginning of the loop.
11140 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11142 * lyxrc.C: improve help for use_scalable_fonts
11144 2002-01-17 Allan Rae <rae@lyx.org>
11146 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11148 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11150 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11151 make sure to set their inset_owner to the right value (bug #171)
11153 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11156 * DepTable.C: Implement mtime checking to reduce time spent doing
11159 2002-01-16 Juergen Vigna <jug@sad.it>
11161 * tabular.C (GetAdditionalHeight): one of error fixed.
11163 * lyxrc.C (output): small fix in writing use_pspell.
11165 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11167 * sp_base.h: #include LString.h
11169 2002-01-16 Allan Rae <rae@lyx.org>
11171 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11172 Can someone check this please?
11174 * text.C (drawInset): It was possible that p.row would be removed by
11175 breakAgainOneRow upsetting a few other settings. There may be another
11176 small tweak possible by setting need_break_row = 0 when p.row has been
11177 removed but I don't know enough about the logic here.
11179 2002-01-15 Allan Rae <rae@lyx.org>
11181 * text.C (insertChar): removed conditional truism.
11183 * BufferView2.C (removeAutoInsets): More tweaks.
11184 cur_par_prev could be a stray pointer. Check for trailing empty line
11185 in case last line was cur_par and only had an error inset on it.
11187 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11189 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11192 * vc-backend.C (most methods):
11193 * exporter.C (Export):
11194 * converter.C (convert):
11196 * LyXSendto.C (SendtoApplyCB):
11197 * lyxfunc.C (dispatch):
11201 * lyx_cb.C (AutoSave):
11203 * BufferView_pimpl.C (MenuInsertLyXFile):
11204 * buffer.C (runChktex): use Buffer::filePath().
11206 * buffer.h: rename filename to filename_; rename filepath to
11207 filepath_ and make it private
11208 (filePath): new method
11210 * buffer.C (writeFile): use fileName()
11213 * lyx_main.C (init): fix starting of LyX when the binary is a
11214 link from so,ewhere else.
11216 * minibuffer.C: include <cctype> for isprint
11218 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11220 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11221 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11222 name clash with InsetCollapsable's width function.
11224 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11226 * lastfiles.C: include <iterator>
11228 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11230 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11233 * buffer.C (makeLaTeXFile): ditto.
11234 Also make loop operation more transparent.
11236 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11238 * ToolbarDefaults.C: remove trailing comma closing namespace.
11240 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11242 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11245 * trans.C (Load): comment out unused variable, allowed.
11247 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11249 * minibuffer.[Ch] (append_char): new method to recieve input from the
11250 drop-down completion browser. If a key was pressed, then recieve this
11251 char and append it to the existing string.
11252 (peek_event): modify the positioning data passed to the completion
11253 browser so that it can be placed above the minibuffer rather than below.
11254 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11256 * LyXAction.C (init): alloe error-next for readonly documents.
11258 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11261 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11263 * bufferlist.C (readFile): create the buffer _after_ checking that
11266 * lyxfunc.C (verboseDispatch): fix handling of arguments
11268 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11270 * lyxrc.C: use string::erase() instead of initializing to "".
11273 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11275 * BufferView_pimpl.h:
11276 * BufferView_pimpl.C:
11279 * text2.C: tell X when we have made a selection for copying
11281 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11283 * BufferView_pimpl.C (MenuInsertLyXFile):
11284 * lyxfunc.C (menuNew):
11286 (doImport): add shortcuts to directory buttons
11288 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11291 * lyxfunc.C (setStatusMessage):
11292 (getStatusMessage): new methods
11293 (getStatus):use setStatusMessage instead of setErrorMessage
11294 (dispatch): when function is disabled, set error message here
11295 [instead of in getStatus previously]
11297 * BufferView_pimpl.C (workAreaButtonRelease): update
11298 toolbar/menubar here too.
11300 2002-01-13 Allan Rae <rae@lyx.org>
11302 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11303 Now seems indestructible. Remaining task is to audit all other
11304 code affected by deleteEmptyParagraphMechanism. One small quirk
11305 left is that an empty document with an error in the preamble can
11306 be made to report an error but no error box appears. I don't know
11308 (removeAutoInsets): Improved comments.
11310 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11313 * Thesaurus.C: update for Aiksaurus 0.14
11315 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11317 * text2.C (firstParagraph): removed member function, all uses
11318 replaces with ownerParagraph
11319 (redoParagraphs): here
11320 (updateInset): here
11321 (toggleAppendix): here
11322 * BufferView2.C (insertErrors): here
11323 (setCursorFromRow): here
11325 2002-01-13 Allan Rae <rae@lyx.org>
11327 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11328 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11329 There is still a way to segfault this although you may have to do this
11330 multiple times: Have an InsetERT with an unknown command in it.
11331 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11332 <down-arrow>, <Enter> again, View->DVI, BANG!
11334 * text2.C (setCursor):
11335 (deleteEmptyParagraphMechanism):
11336 * lyxtext.h (setCursor):
11337 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11338 Making use of the return value may help fix other bugs.
11340 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11342 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11344 * LyXView.C (updateMenubar): call MenuBar::update here
11345 (updateToolbar): but not here
11346 (showState): do not update toolbar/menubar
11348 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11349 should need to care about that.
11351 * lyxfunc.C (verboseDispatch): simplify a bit
11352 (getStatus): have a version which takes a pseudoaction, and
11353 another which requires a (kb_action,string).
11355 * LyXAction.C (retrieveActionArg): make it work also when action
11356 is not a pseudo-action.
11357 (getActionName): simplify a bit
11360 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11362 * lyxfunc.C (verboseDispatch): new families of methods with
11363 several ways to specify a command and a bool to indicate whether
11364 the command name and shortcut should be displayed in minibuffer
11365 (eventually, we could extend that to a finer bitmask like
11366 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11367 (dispatch): the pristine dispatch command which just, well,
11368 dispatchs! Note it still sets its result to minibuffer; I'm not
11371 * lyxfunc.h: remove setHintMessage
11373 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11375 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11377 * BufferView_pimpl.C (specialChar): delete new inset if we have
11378 not been able to insert it.
11380 * kbmap.C: revert to using int instead of kb_action, since all we
11381 are dealing with is pseudo-actions.
11383 * LyXAction.C (searchActionArg): change to return int instead of
11384 kb_action, since the result is a pseudoaction.
11386 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11388 * buffer.C (insertErtContents): Fix (partially) the font bug.
11390 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11392 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11393 as the other one is broken on my machine!
11395 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11398 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11400 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11402 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11403 reflect their actual use. Provide compatibility code for older lyxrc
11406 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11408 change names of popup font variables in line with the changes to lyxrc.C
11410 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11412 * buffer.C (asciiParagraph): avoid outputing a word twice after
11415 * lyxrc.C (getDescription): document that document_path and
11416 template_path can be empty.
11418 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11420 * LaTeXFeatures.C (getMacros):
11421 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11423 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11425 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11427 (getPackages): rename feature "floats" to "float". Use an array to
11428 iterate over 'simple' features (i.e. just a \usepackage). Add
11429 handling of "amsmath" (renamed from "amsstyle").
11431 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11433 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11436 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11438 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11439 FuncStaus::FuncStatus & FuncStaus::some_method().
11441 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11443 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11444 of the func_satus stuff. Edited and massaged in various ways by
11447 * lyxfunc.C (getStatus): use FuncStatus
11449 2002-01-08 Juergen Vigna <jug@sad.it>
11451 * text.C (nextBreakPoint): use function Inset::isChar().
11453 * paragraph.C (TeXOnePar): use function
11454 Inset::forceDefaultParagraphs.
11456 * buffer.C (latexParagraphs): use function
11457 Inset::forceDefaultParagraphs.
11459 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11461 * lyx_gui.C (init): set the style of the menu popups to
11462 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11464 2002-01-07 Juergen Vigna <jug@sad.it>
11466 * text.C (setHeightOfRow): small fix
11467 (prepareToPrint): don't look at alignment if we don't have the place
11470 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11472 * box.C: New file. Move the Box methods and functions out of box.h,
11473 following Lars' suggestion.
11475 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11477 * box.h: #include "support/LOstream.h", needed for inlined function.
11480 * lyxtextclasslist.C: added some using std declarations.
11482 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11484 * box.h: make signed dimensions to allow insets wider than
11485 the screen (bug #162)
11487 * BufferView_pimpl.C: add some insetHit debug
11489 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11491 * vc-backend.C: add FIXME
11493 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11495 * lyxfunc.C (getStatus): enable code for showing math font status
11498 2002-01-07 Juergen Vigna <jug@sad.it>
11500 * text.C (nextBreakPoint): removed debug output not needed anymore.
11502 2002-01-06 Juergen Vigna <jug@sad.it>
11504 * text.C (nextBreakPoint): fixed up this function we had this bug
11505 since ever but now hopefully we break row better.
11506 (insertChar): we have to check if an inset is the next char as it
11507 could now happen that a large inset is causing a break.
11509 2002-01-05 Juergen Vigna <jug@sad.it>
11511 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11512 if it doesn't like to be drawed.
11514 2002-01-04 Juergen Vigna <jug@sad.it>
11516 * BufferView2.C (lockInset): forgot to set a cursor.
11518 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11520 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11522 * FormMathsPanel.C:
11525 * form_maths_panel.C:
11526 * form_maths_panel.h:
11527 * form_maths_panel.fd: implemented sub- and super- buttons in math
11530 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11531 (or ^ space) to be used as in TeX (req'd by André).
11533 * lyxfunc.C: Allow ^ and _ again to be used both as
11534 super/subscript (mathed) and as themselves (in text).
11536 2002-01-03 Allan Rae <rae@lyx.org>
11538 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11539 "LyX" or the filename of the current buffer if it has one. This is a
11540 modified form of John Levon's patch.
11542 * XFormsView.C (setWindowTitle): also set icon title.
11544 * LyXView.h (setWindowTitle): signature changed.
11545 * XFormsView.h (setWindowTitle): ditto.
11547 2002-01-02 Juergen Vigna <jug@sad.it>
11549 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11551 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11553 * screen.C (topCursorVisible): introduce a temp var for
11554 text->cursor.row(), handle the case where this row is null. (kindo
11557 * text2.C (setCursor): add a couple of asserts.
11559 * paragraph.h (inset_iterator): add -> operator
11561 * paragraph.[Ch] (autoDeleteInsets): remove member function
11563 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11564 cursor pos correctly and handle inset deletion by itself.
11565 (insertErrors): move iterator declaration out of for expression
11567 * lyxtextclass.C: add <algorithm>
11569 * Makefile.am: added the new files to sources, removed layout.C
11571 * layout.C: removed file
11573 * layout.h: remove LYX_DUMMY_LAYOUT
11575 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11579 * lyxtextclass.[Ch]:
11580 * lyxtextclasslist.[Ch]: new files
11582 * include order changes to a lot of files, also changes because of
11585 2001-12-27 Juergen Vigna <jug@sad.it>
11587 * buffer.C (asciiParagraph): more fixes.
11589 * tabular.C (ascii): make ascii export support export of only the
11590 data separated by a column-delimiter.
11591 (ascii): better support for ascii export.
11593 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11595 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11597 * tabular_funcs.C: use a "using std::getline" instead of the
11598 previous fix from Angus (necessary for cxx + lyxstring)
11600 2001-12-24 Juergen Vigna <jug@sad.it>
11602 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11604 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11605 problems. First check a minipage also if we have some ert-contents
11606 (not only on par->size(), second set the right depth of the paragraph
11607 on the relink to the root-paragraph-list!
11609 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11610 which then did not anymore update the main paragraphs on undo/redo!
11612 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11614 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11615 code. Support all font-changing funcs (even those which are not in
11616 menu currently). Support for reporting font settings in
11617 mathed (disabled until Andre provides a function on mathed's side).
11619 * func_status.h (toggle): small helper function to set toggle
11622 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11624 * tabular_funcs.C: getline -> std::getline
11626 2001-12-21 Juergen Vigna <jug@sad.it>
11628 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11629 accessed and could be 0 (I couldn't generate this but it seems
11632 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11634 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11635 * tabular_funcs.h: here and include iosfwd
11637 2001-12-20 Juergen Vigna <jug@sad.it>
11639 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11640 inside inset but undo_par was.
11642 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11644 * Thesaurus.C: always include <config.h> in sources.
11648 * box.h: do not include <config.h> in header files
11650 * text.C (paintLastRow): remove unused variable
11652 * text.C (transformChar):
11654 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11656 * Painter.C (text):
11657 * font.C (width): rewrite to use uppercase() instead of
11660 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11662 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11664 * lyxfind.C: clean up of find failure position change
11666 2001-12-20 Juergen Vigna <jug@sad.it>
11668 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11670 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11671 (TeXRow): added to LaTeX a single tabular row.
11672 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11673 (Latex): simplified and finally good LT-h/f support.
11674 (various_functions): just small adaptions for LT-h/f support.
11676 * tabular_funcs.[hC]: added and moved here all not classfunctions
11679 2001-12-19 Juergen Vigna <jug@sad.it>
11681 * tabular.[Ch]: better support for longtabular options (not finished
11684 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11686 * text.C (paintLastRow): use the label font instead of the font of
11687 the last character to compute the size of *_BOX. This makes more
11688 sense and avoids a crash with empty paragraphs.
11689 Use Painter::rectangle to draw EMPTY_BOX.
11691 2001-12-19 Juergen Vigna <jug@sad.it>
11693 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11694 the paragraphs if the replaced paragraph is not the first one!
11695 Tried to delete not used paragraphs but does not work yet so for
11696 now it's inside #ifdef's and by default off!
11698 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11700 * MenuBackend.C: include "lyx_main.h" instead of declaring
11701 lastfiles (actually was declared as LastFiles* instead of a
11704 2001-12-17 Juergen Vigna <jug@sad.it>
11706 * tabular.C (AppendColumn): applied John's fix
11708 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11712 * BufferView_pimpl.h:
11713 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11716 * box.h: new start of class for above
11718 * lyxfunc.C: ignore space-only minibuffer dispatches.
11719 Show the command name when it doesn't exist
11721 * minibuffer.C: don't add empty lines to the history
11723 * minibuffer.C: add a space on dropdown completion
11725 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11727 * text.C: fix line above/below drawing in insets
11729 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11731 * lyxlength.C (LyXLength): Initialize private variables.
11733 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11735 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11736 when inserting error insets.
11738 2001-12-13 Juergen Vigna <jug@sad.it>
11740 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11741 actually sometimes the before-paragraph.
11742 (setUndo): don't clear the redostack if we're not actually undoing!
11744 2001-12-06 Juergen Vigna <jug@sad.it>
11746 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11747 and fixed redoing of main paragraph, so we can use it now ;)
11749 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11751 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11753 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11756 2001-12-13 André Pönitz <poenitz@gmx.net>
11759 * undo_func.C: minor cleanup
11761 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11763 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11764 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11765 font in urw-fonts package which is marked as -urw-fontspecific and
11766 does not work (incidentally, changing the encoding in the
11767 fonts.dir of this package to -adobe-fontspecific fixes the
11770 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11771 is a crash when undoing first paragraph (Juergen, please take a
11772 look). THis does not mean the undo fix is wrong, just that it
11775 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11776 the (Paragraph*) version when needed instead of duplicating the
11779 * text.C (workWidth): use Inset::parOwner to find out where the
11780 inset has been inserted. This is a huge performance gain for large
11781 documents with lots of insets. If Inset::parOwner is not set, fall
11782 back on the brute force method
11784 * paragraph_pimpl.C (insertInset):
11785 * paragraph.C (Paragraph):
11786 (cutIntoMinibuffer): set parOwner of insets when
11787 inserting/removing them
11789 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11791 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11797 * mathed/formulabase.C:
11798 * mathed/math_cursor.[Ch]:
11799 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11802 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11804 * lyxlength.[Ch] (operator!=): new function
11806 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11808 * text.C (workWidth): use Inset::parOwner to find out where the
11809 inset has been inserted. This is a huge performance gain for large
11810 documents with lots of insets. If Inset::parOwner is not set, fall
11811 back on the brute force method
11813 * paragraph_pimpl.C (insertInset):
11814 * paragraph.C (Paragraph):
11815 (cutIntoMinibuffer): set parOwner of insets when
11816 inserting/removing them
11818 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11820 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11822 * tabular-old.C (getTokenValue):
11823 * tabular.C (getTokenValue):
11824 (write_attribute): new versions for LyXLength
11825 (everywhere): adjust the use of widths
11827 * tabular.h: change the type of widths from string to LyXLength
11829 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11831 * paragraph.C: fixed missing line number count when exporting
11832 Environments to LaTeX file
11834 * buffer.C: added informational message for checking line numbers.
11836 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11838 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11839 paragraph, do the 'double space' part, but not the 'empty
11842 * text.C (workWidth): small optimization
11843 (getLengthMarkerHeight): use minimal size for negative lengths.
11845 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11847 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11849 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11851 2001-12-11 André Pönitz <poenitz@gmx.net>
11854 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11856 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11858 * text2.C: keep selection on a setFont()
11860 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11862 * lyx_cb.C: another bv->text misuse, from insert label
11864 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11867 * kbsequence.C: re-instate nmodifier mask
11869 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11871 * lyx_main.h: make lyxGUI private.
11873 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11875 * lyxfind.C: place the cursor correctly on failed search
11877 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11879 * text.C (getLengthMarkerHeight): for small heights, the arrows
11880 are not always on top/bottom of the text
11881 (drawLengthMarker): smaller arrows; take the left margin in
11882 account; draw also vfills.
11884 (paintLastRow): remove special code for vfill and standard spaces,
11885 since everything is handled in drawLengthMarker now.
11887 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11889 * buffer.C (insertErtContents): try to handle font and language
11890 interaction a bit better.g
11892 * ColorHandler.C (updateColor): change the hash to cover the whole
11893 LColor enum, ws cleanup
11894 (getGCLinepars): ditto
11895 (getGCLinepars): only lookup in the linecache once.
11897 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11899 * iterators.C (operator++): Make the iterator more robust
11901 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11903 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11905 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11908 * text.C: better added space drawing
11910 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11913 * BufferView2.C: fix layout combo update on inset unlock
11915 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11917 * Makefile.am: don't compile unused files
11919 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11923 * LyXAction.C: remove old LFUN_LAYOUTNO
11925 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11927 * paragraph_pimpl.h:
11928 * paragraph_pimpl.C: isTextAt() doesn't need font param
11930 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11933 * lyxlex.C: little cleanup
11935 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11937 * BufferView_pimpl.C: fix insertAscii for insets
11939 2001-12-05 Juergen Vigna <jug@sad.it>
11941 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11942 set the right font on the "multi" paragraph paste!
11944 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11950 * lyxlength.C: remove out-commented code.
11952 * BufferView_pimpl:
11966 * vc-backend.C: change "while(" to "while ("
11968 * lyxlength.[Ch]: add zero function to check if length is zero or
11970 * lyxgluelength.C: use it
11972 2001-12-05 Allan Rae <rae@lyx.org>
11974 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11975 Works for 2.95.3, from what I understand of Garst's reports this should
11976 work for other g++ versions. We're screwed if the abs(int) definition
11977 changed between bugfix releases of gcc.
11979 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11981 * text.C: fix chapter label offset !
11983 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11986 * text.C: fix hfill at end of line, clean up
11988 2001-12-04 Juergen Vigna <jug@sad.it>
11990 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11991 that we force an update of the inset and it's owners if neccessary.
11993 2001-12-03 Juergen Vigna <jug@sad.it>
11995 * text.C (rowLast): simplified code
11997 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11999 * lyxfunc.C: fix show options on timeout
12001 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12003 * screen.C (topCursorVisible): scroll half a page when the cursor
12004 reached top of bottom of screen
12006 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12008 * minibuffer.C: deactivate on loss of focus
12010 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12012 * vspace.[Ch] (operator!=): add operator.
12014 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12016 * BufferView_pimpl.C: refuse to open an inset when
12017 there's a selection.
12019 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12021 * BufferView_pimpl.C: allow to click on RHS of full row insets
12023 2001-11-30 Juergen Vigna <jug@sad.it>
12025 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12026 insets for undo reasons.
12028 2001-11-28 André Pönitz <poenitz@gmx.net>
12030 * vspace.[Ch]: cosmetical changes
12032 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12042 * kbsequence.C: part re-write of old kb code
12045 * WorkArea.C: remove Lgb_bug_find_hack
12047 2001-11-30 José Matos <jamatos@fep.up.pt>
12049 * buffer.C (makeDocBookFile): add a comment to point a hack.
12050 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12051 Fixed a double write of labels.
12053 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12056 * LaTeX.h Fixed bug in LaTeX class where it would not
12057 re-run latex if no depfiles were changed, but the .dvi was removed.
12059 2001-11-28 André Pönitz <poenitz@gmx.net>
12061 * all the files from the change on 2001/11/26:
12062 use lyx::layout_type instead of LyXTextClass::size_type
12063 use lyx::textclass_type instead of LyXTextClassList::size_type
12065 2001-11-29 Juergen Vigna <jug@sad.it>
12067 * text.C: added support for paragraph::isFreeSpacing()
12069 * buffer.C: same as above
12071 * paragraph.h: inserted isFreeSpacing() function to enable
12072 FreeSpacing inside InsetERT.
12074 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12075 of the paragraph's in the cut/copy buffer to 0!
12077 * text2.C (removeRow): remove the assert as it can!
12079 * lyxtext.h: added helper function firstRow returning firstrow and
12080 made firstrow private again.
12082 * BufferView2.C (lockInset): don't relock if we're already locked!
12084 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12085 the only paragraph.
12086 (removeRow): added Assert::(firstrow)
12088 * debug.C: forgot to add INSETTEXT here.
12090 2001-11-28 Juergen Vigna <jug@sad.it>
12092 * sp_spell.C (initialize): changed error text to more general
12093 spellchecker command use (not only ispell!)
12095 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12097 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12099 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12101 * vspace.C: initialise lyxgluelength on failure
12103 2001-11-28 Allan Rae <rae@lyx.org>
12105 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12106 declaration & definition that looks like a function declaration.
12108 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12110 * BufferView2.C (copy):
12111 (copyEnvironment): do not clear the selection when doing a copy.
12113 * text.C (paintFirstRow): compilation fix
12115 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12117 * tabular.C (Latex): correct line count when writing latex.
12119 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12121 * paragraph_pimpl.h:
12122 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12125 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12129 * LColor.C: change vfillline->added_space
12131 * text.C: add markers and text for added space
12133 * vspace.C: fix comment
12135 2001-11-28 André Pönitz <poenitz@gmx.net>
12137 * paragraph.C: whitespace changes
12138 * all the other files from the change on 2001/11/26:
12139 change *::pos_type into lyx::pos_type
12141 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12143 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12144 language of the document when inserting error insets.
12146 2001-11-26 André Pönitz <poenitz@gmx.net>
12148 * BufferView_pimpl.[Ch]:
12156 * paragraph_pimpl.[Ch]:
12159 * text2.C: reduce header dependencies, introduce type for positions
12161 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12163 * <various>: change to use Alert.h
12165 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12167 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12168 when encountering an unknown token.
12169 (readLyXformat2): Show an error message if there were unknown tokens.
12171 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12174 * BufferView_pimpl.C:
12178 * text2.C: use par->isInset()
12180 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12182 * paragraph_pimpl.h:
12183 * paragraph_pimpl.C: cleanup
12185 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12187 * text2.C (removeRow):
12188 * text.C (setHeightOfRow): remove useless (and costly) call to
12191 2001-11-20 Allan Rae <rae@lyx.org>
12193 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12194 Now need Inset*::checkInsertChar() to return true for appropriate
12195 cases so that the characters in the minibuffer will actually be
12198 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12200 * text.C: change the order of the includes.
12201 (workWidth): initialize it at once.
12202 (workWidth): make maxw unsigned
12203 (setHeightOfRow): remove unused variable (inset)
12204 (selectSelectedWord): remove unused variable (inset)
12205 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12207 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12209 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12210 server is not running.
12212 (closeConnection): add debug info when server is disabled.
12214 * ColorHandler.C (getGCForeground): send debug message to GUI
12217 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12219 * kbmap.C (bind): modify because return conventions of
12220 kb_sequence::parse have changed.
12222 * kbsequence.C (parse): only ignore spaces and not any stupid
12223 control character. This avoids tests like s[i] <= ' ', which are
12224 guaranteed to fail with 8bit characters and signed chars.
12225 Change return code to string::npos when there have been no error
12226 (0 was a bad idea when error is at first character)
12228 2001-11-14 José Matos <jamatos@fep.up.pt>
12231 * buffer.C (simpleDocBookOnePar): removed unused argument.
12233 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12235 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12236 insets which are part of a word. Paragraph::isLetter takes care of
12237 that now. Use Paragraph::isInset to identify insets.
12238 (selectSelectedWord): do not test for hyphenation break.
12240 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12241 that protected spaces are considered as spaces.
12243 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12246 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12249 * lyxserver.C: fix it. and small cleanup.
12251 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12253 * BufferView_pimpl.C: use inline helpers
12256 * LaTeXFeatures.C: fix typos
12259 * Spacing.C: move spacing_string into class
12261 * ToolbarDefaults.C: move stuff into namespace anon
12263 * layout.h: update enum
12265 * lyxfunc.C: use better debug
12267 * minibuffer.h: fix typo
12271 * WorkArea.C: add and use Debug::WORKAREA
12275 * text2.C: code re-organisation, inline helpers
12277 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12279 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12280 std::vector.empty().
12282 2001-11-09 Allan Rae <rae@lyx.org>
12284 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12285 '\n's after tables. Tabular and ERT inset work now makes this no
12288 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12291 * minibuffer.C: fix crash, improve drop-down completion
12293 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12296 * lyxserver.C: invalidate fd's when doing endPipe()
12298 2001-11-08 José Matos <jamatos@fep.up.pt>
12300 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12301 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12304 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12306 2001-11-07 José Matos <jamatos@fep.up.pt>
12309 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12312 * buffer.C (sgmlOpenTag):
12313 * buffer.C (sgmlCloseTag): removed debug info.
12315 * buffer.h (sgmlOpenTag):
12316 * buffer.h (sgmlCloseTag): made public.
12318 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12320 * buffer.C (saveParamsAsDefaults):
12321 * lyx_cb.C (MenuLayoutSave): remove
12323 * LyXAction.C (init):
12325 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12327 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12329 * buffer.C (setPaperStuff): removed from here...
12331 * bufferparams.C (setPaperStuff): ... and moved there.
12333 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12337 * XFormsView.C: add support for drop-down completion
12339 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12341 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12344 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12346 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12349 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12351 * lyx_main.C: change ref to known bugs
12353 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12355 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12356 to work around older babel problems.
12358 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12360 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12362 2001-10-24 Juergen Vigna <jug@sad.it>
12364 * tabular-old.C (ReadOld): below variable changes reflected.
12366 * tabular.[Ch]: added ltType struct for longtable header/footer
12367 defines and changed all instances where they are used. Added
12368 future support for double top/bottom rows.
12370 2001-10-24 José Matos <jamatos@fep.up.pt>
12372 * buffer.h (docbookHandleCaption):
12373 * buffer.C (docbookHandleCaption): removed unused function.
12374 (makeDocBookFile): moved docbook supported version to v4.1.
12376 2001-10-24 José Matos <jamatos@fep.up.pt>
12379 * tabular.C (docbookRow): new function to export docbook code of a row.
12380 (DocBook): now honors the longtable flags.
12382 2001-10-23 José Matos <jamatos@fep.up.pt>
12385 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12386 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12388 * buffer.C (makeLinuxDocFile):
12389 (makeDocBookFile): reworked the preamble, more clean, and with
12390 support for lyx defined entities. Changed the document declaration
12391 to be more XML friendly.
12393 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12394 if we need to output XML that should be done with a filter.
12396 2001-10-22 Juergen Vigna <jug@sad.it>
12398 * sp_pspell.h (class PSpell): add alive function needed in the
12399 controller to see if the spellchecker could be started.
12401 2001-10-22 Juergen Vigna <jug@sad.it>
12403 * buffer.C (insertStringAsLines): modify the font for inserting
12404 chars in certain conditions by calling checkInsertChar(font).
12406 2001-10-19 Juergen Vigna <jug@sad.it>
12408 * text.C (workWidth): use getRow instead of wrong algorithm.
12409 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12411 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12416 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12418 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12420 * text.C (workWidth): do not search for the exact row when
12421 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12422 optimization for big documents.
12424 2001-10-18 Juergen Vigna <jug@sad.it>
12426 * text.C (workWidth): new function with added Inset * parameter.
12428 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12430 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12432 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12433 change return type of getColumnNearX.
12436 * text.C (changeRegionCase): use uppercase/lowercase instead of
12439 (rightMargin): simplify code by factoring out the uses of
12444 (appendParagraph): use Paragraph::size_type
12446 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12448 * vspace.C (asLatexString): add a missing break
12450 2001-10-15 Herbert Voss <voss@perce.de>
12452 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12454 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12456 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12459 2001-10-10 André Pönitz <poenitz@gmx.net>
12461 * lyxfunc.C: removed greek_kb_flag.
12463 2001-10-10 Herbert Voss <voss@perce.de>
12465 * lyx_main.C: delete global string help_lyxdir.
12467 2001-10-09 Herbert Voss <voss@perce.de>
12469 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12471 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12473 * lyx_main.C: added global string help_lyxdir.
12475 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12477 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12479 * lyxrc.C (set_font_norm_type): support iso8859-4
12481 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12483 * LaTeX.C (deplog): add another regex for MikTeX
12485 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12487 * lyxrc.C (set_font_norm_type): support iso8859-3
12489 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12491 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12493 * LaTeXFeatures.C: remove special case of french and index
12495 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12496 before \begin{document}). This solves several incompatibilities.
12498 2001-10-03 Garst Reese <reese@isn.net>
12500 * lyx_cb.C: change CheckTex error msg.
12502 2001-10-03 José Matos <jamatos@fep.up.pt>
12504 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12506 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12508 * .cvsignore: update
12510 * lyx_main.C (commandLineVersionInfo): use new style version info.
12512 * buffer.C (writeFile):
12514 (makeLinuxDocFile):
12515 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12517 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12519 * version.h: update to use stuff in version.C
12521 * version.C.in: new file. Contains version information determined
12522 at compile time. This is a merging of version.h and
12525 2001-10-03 Juergen Vigna <jug@sad.it>
12527 * BufferView_pimpl.C (update): don't change "dirty" status in
12530 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12532 * WorkArea.C (c-tor): re-position version string slightly.
12534 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12536 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12537 revert to previous code.
12539 WorkArea.[Ch]: (show, destroySplash): methods removed.
12541 WorkArea.C: rework code so that it's an amalgam of the codes before and
12542 after the splash screen was moved to WorkArea.
12544 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12547 * vspace.C (inPixels):
12550 * buffer.C (insertStringAsLines):
12551 (asciiParagraph): fix types to be large enough
12553 * lyxlex_pimpl.h: change member status from short to int
12555 * layout.h: fix type of endlabeltype
12558 * kbsequence.C (parse): change return type to string::size_type
12560 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12563 * Bullet.C (bulletSize):
12564 (bulletEntry): do not use short ints as parameters
12566 * BufferView2.C (insertLyXFile): change a char to an int.
12568 * WorkArea.C (WorkArea): remove unneeded floats in computation
12570 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12572 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12574 * paragraph.C (asString): Do not ignore newline/hfill chars when
12575 copying to the clipboard.
12577 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12579 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12580 after a multi-line inset.
12582 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12584 * paragraph.C (validate): Set NeedLyXFootnoteCode
12586 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12588 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12589 and decrease-error to decrease.
12591 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12593 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12594 it more readable (should be equivalent)
12596 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12598 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12600 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12602 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12603 of a cursor (row, etc.) after a character has been deleted
12604 (deleteEmptyParagraphMechanism): call the method above on _all_
12605 cursors held by the LyXText when a double space has been
12608 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12610 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12612 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12614 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12615 background. Use greyOut() and the new show() methods to toggle between
12616 the foreground and background. Add code to remove the splash after
12617 its initial showing.
12619 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12620 (create_forms): no longer call Dialogs::showSplash.
12622 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12624 * .cvsignore: add version_info.h
12626 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12628 * version_info.h.in: new file
12630 * Makefile.am: add version_info.h.in
12632 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12633 version_info.h instead of VERSION_INFO
12635 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12637 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12638 The ERT inset now returns string().
12640 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12642 * lyxtext.h, text.C (selectNextWord): renamed as
12643 selectNextWordToSpellcheck.
12645 * text.C (selectNextWordToSpellcheck): Modified to not select
12646 words inside an ERT inset.
12648 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12650 * lyx_cb.C (MenuLayoutSave): change a bit the question
12652 * sp_base.h: include <sys/types.h>
12654 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12656 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12658 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12660 * several files: fix typos in user-visible strings
12662 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12664 * text2.C (pasteSelection): do not set the selection, since it
12665 will be cleared later. Actually, the intent was to fix the way the
12666 selection was set, but I figured rmoving the code was just as good.
12668 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12670 * FontLoader.C (available): Check if font is available without
12673 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12675 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12677 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12679 * lyxrc.[Ch]: added display_graphics variable and associated code.
12681 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12683 * bufferparams.C (hasClassDefaults): new method. Returns true if
12684 the buffer parameters correspond to known class defaults
12686 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12688 * XFormsView.C (show): set minimum size to the main window.
12690 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12692 * text2.C (copySelection):
12694 * lyxfind.C (LyXReplace):
12695 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12696 LyXText::selectionAsString.
12698 * paragraph.C (asString): add "label" argument to the second form
12700 * text2.C (selectionAsString): add "label" argument and pass it to
12701 Paragraph::asString.
12703 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12705 * lyx_main.C (commandLineHelp): remove version information
12707 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12709 * lyx_main.C: add -version commandline option
12711 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12713 * paragraph.h: make the optional constructor arg required instead.
12714 some modifications to other files because of this.
12716 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12718 * lyxserver.C (C_LyXComm_callback): make it static
12720 * lyx_main.C (error_handler): make it static
12722 * lyx_gui.C (LyX_XErrHandler): make it static
12724 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12726 * WorkArea.C: make the extern "C" methods static.
12728 * Makefile.am (lyx_LDADD): simplify
12730 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12732 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12733 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12735 * LyXAction.C (init):
12736 * lyxfunc.C (dispatch): associated code removal.
12738 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12740 * lyxfont.h (isSymbolFont): shut off warning
12742 * text.C (setHeightOfRow):
12743 (getVisibleRow): fix crash with empty paragraphs which have a
12746 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12748 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12751 2001-09-04 José Matos <jamatos@fep.up.pt>
12754 * tabular.C (docbook): rename docBook method to docbook.
12756 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12758 * Makefile.am: add dependencies to main.o.
12760 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12762 * FontLoader.C (available): Return false if !lyxrc.use_gui
12764 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12766 * FontInfo.C (query):
12767 * converter.C (view):
12768 * importer.C (Import):
12769 * exporter.C (Export): Can not -> cannot.
12771 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12773 * BufferView_pimpl.C: allow to create index inset even if
12776 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12778 * buffer.C (getLists): replace boost::tie code with an explicit pair
12779 as boost::tie can break some compilers.
12781 * iterators.h: Added a std:: declaration to the return type of
12784 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12786 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12789 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12791 * iterators.[Ch]: New files. Provide paragraph iterators.
12793 * buffer.C (changeLanguage): Use paragraph iterators.
12794 (isMultiLingual): ditto
12796 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12798 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12800 * FontLoader.C: Support for cmr font.
12802 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12804 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12805 (available): New method.
12807 * FontInfo.C (getFontname): Use scalable fonts even when
12808 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12811 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12813 * converter.C (Formats::view): reverted! Incorrect fix.
12815 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12817 * converter.C (Formats::view): only output the -paper option
12818 if the dvi viewer is xdvi, thereby fixing bug #233429.
12820 2001-08-23 Herbert Voss <voss@perce>
12822 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12824 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12826 * Spacing.h (Spacing): Set space to Default on in the default
12829 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12831 * vc-backend.h (RCS::versionString): add RCS to version
12832 (CVS::versionString): add CVS to version
12834 * vc-backend.C (scanMaster): do not add CVS to version.
12835 (scanMaster): do not add RCS to version
12837 * lyxvc.C (versionString): new method
12839 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12841 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12843 * Spacing.C (set): initialize fval
12845 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12847 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12850 2001-08-16 Juergen Vigna <jug@sad.it>
12852 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12854 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12856 * BufferView_pimpl.C:
12859 * text2.C: setParagraph takes linespacing now
12861 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12863 * LyxAction.C: add internal LFUN_CITATION_INSERT
12865 * LyXView.C: actually apply fix
12867 * bufferlist.C: fix open non-existent file
12869 * lyxfind.C: fix indentation
12871 * lyxfunc.C: remove unneeded assert, fix typo
12873 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12875 * MenuBackend.C: use "Floatname List"
12877 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12879 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12880 when converting LaTeX layout to insetERT.
12881 Generate a non-collapsed float when reading old float
12883 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12885 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12888 2001-08-13 Juergen Vigna <jug@sad.it>
12890 * text.C (fill): return 0 instead of 20 as this seems to be the more
12893 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12895 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12898 2001-08-13 Juergen Vigna <jug@sad.it>
12900 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12902 (SearchBackward): comment out the unlocking of the inset_owner this
12903 should not be needed!
12905 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12907 * Many files: Remove inherit_language, and add latex_language
12909 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12910 collapsible insets.
12912 2001-08-10 Juergen Vigna <jug@sad.it>
12914 * text.C (prepareToPrint): fixed hfill-width in draw!
12916 * BufferView2.C (selectLastWord): save the selection cursor as this
12917 now is cleared in the function LyXText::clearSelection!
12919 2001-08-08 Juergen Vigna <jug@sad.it>
12921 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12922 BACKSPACE type functions.
12924 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12925 is only cutted from the document but not put in the cut-buffer, where
12926 still the old stuff should be.
12928 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12930 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12932 * tabular.C (SetWidthOfCell): fixed special case where the width
12934 (LeftLine): handle '|' in align_special.
12936 (LeftAlreadyDrawed): ditto
12937 (SetWidthOfCell): ditto
12939 2001-08-07 Juergen Vigna <jug@sad.it>
12941 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12943 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12945 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12946 * lyxlex.[hC]: ditto
12948 2001-08-06 Juergen Vigna <jug@sad.it>
12950 * text.C (getVisibleRow): fix up row clearing a bit.
12952 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12954 * minibuffer.C: make sure the X server sees the changes in the input.
12956 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12958 * paragraph.C (getFont): split into...
12959 (getLabelFont): this
12960 (getLayoutFont): and this
12961 * paragraph_pimpl.C (realizeFont): calling this
12963 * text2.C (getFont): split into...
12964 (getLayoutFont): this
12965 (getLabelFont): and this
12966 (realizeFont): all three calling this
12968 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12971 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12973 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12975 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12977 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12978 layouts from the Quote inset insertion.
12980 2001-08-03 Juergen Vigna <jug@sad.it>
12982 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12984 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12985 only if status not is already CHANGED_IN_DRAW (second level).
12987 * text.C (draw): don't set the need_break_row when inside an
12990 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12992 * buffer.C (parseSingleLyXformat2Token): handle more latex
12995 * bufferview_funcs.[hC]: change function names to
12996 begin with small char, adjust other files.
12998 2001-08-02 André Pönitz <poenitz@gmx.net>
13001 BufferView_pimpl.C: remove broken special code for math-greek
13003 2001-08-02 Juergen Vigna <jug@sad.it>
13005 * BufferView_pimpl.C (update): redone this function so that we
13006 update the text again if there was a CHANGE_IN_DRAW.
13008 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13009 (drawFromTo): added a new internal bool which is used by draw() and
13011 (general): some cursor drawing problems fixed.
13013 2001-08-01 Juergen Vigna <jug@sad.it>
13015 * lyxfind.C (LyXFind): fixed
13016 (SearchForward): ditto
13017 (SearchBackward): ditto
13019 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13020 spurius drawing of the cursor in the main area.
13022 * text2.C (status): small fix which could lead to a segfault!
13023 (clearSelection): remove unneeded BufferView param.
13025 2001-08-01 André Pönitz <poenitz@gmx.net>
13027 * lyxfunc.C: small change due to changed mathed interface
13029 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13031 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13033 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13035 * lyxfunc.c: fail gracefully if file doesn't exist
13040 * BufferView_pimpl.C: IsDirWriteable() proto changed
13042 * LyXView.C: fix updateWindowTitle() to store the last title
13044 2001-07-31 Juergen Vigna <jug@sad.it>
13046 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13047 the font (wrong since using of Paragraph::highestFontInRange).
13049 * paragraph.C (highestFontInRange): added a default_size parameter.
13051 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13052 (setHeightOfRow): reformat
13054 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13056 * converter.[hC] + affected files: move to (inital-char)lowercase
13059 * ParagraphParameters.C (ParagraphParameters): remove commented code
13061 * PainterBase.[Ch]: remove commented code
13063 * LaTeXFeatures.h: add "bool floats" for float.sty
13065 * LaTeXFeatures.C (LaTeXFeatures): init floats
13066 (require): handle float
13067 (getPackages): do it with floats
13069 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13071 * BufferView_pimpl.C (Dispatch): improve handling of
13072 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13074 * commandtags.h: #include lyxfont.h here temporarily to avoid
13077 * bufferlist.h: include LString.h here.
13079 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13081 * text2.C (getStringToIndex): new method.
13083 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13085 * *: Reduced header file dependencies all over.
13087 2001-07-30 Baruch Even <baruch@lyx.org>
13089 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13091 2001-07-29 Baruch Even <baruch@lyx.org>
13093 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13095 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13097 * ParameterStruct.h (endif): add a default constructor to make
13098 sure that all variables is initialized.
13100 * ParagraphParameters.C (ParagraphParameters): adjust
13102 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13104 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13105 index; also, check that there is something to index, and that it
13106 does not span over several paragraphs.
13107 (doubleClick): use WHOLE_WORD_STRICT for double click.
13109 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13111 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13114 2001-07-26 Baruch Even <baruch@lyx.org>
13116 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13117 an InsetFig figure, backwards compatible reading of old figure code.
13119 2001-07-27 Juergen Vigna <jug@sad.it>
13121 * text2.C: font.realize function adaption.
13123 * text.C (draw): add a warnings lyxerr text if needed.
13125 * layout.C: font.realize function adaption.
13127 * language.C: add inherit_language and implement it's handlings
13129 * bufferview_funcs.C (StyleReset): remove language parameter from
13130 font creation (should be language_inherit now).
13132 * bufferparams.C (writeFile): handle ignore_language.
13134 * paragraph.C (getFontSettings): the language has to be resolved
13135 otherwise we have problems in LyXFont!
13137 * lyxfont.C (lyxWriteChanges): added document_language parameter
13138 (update): removed unneeded language parameter
13140 * paragraph.C (validate): fixed wrong output of color-package when
13141 using interface colors for certain fonts in certain environments,
13142 which should not seen as that on the final output.
13144 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13146 * BufferView_pimpl.C:
13151 * LyXAction.C: add thesaurus support
13154 * lyxfind.C: add "once" parameter, for thesaurus, to not
13155 move to the next match
13157 2001-07-26 Juergen Vigna <jug@sad.it>
13159 * lyxfont.C (realize): honor ignore_language too!
13162 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13164 * text.C (draw): one place more for ignore_language to not draw
13167 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13169 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13171 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13173 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13174 the minipage conversion problem.
13176 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13178 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13181 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13183 * BufferView.h: don't forward declare WorkArea
13185 * BufferView.C: don't include WorkArea.h
13187 2001-07-25 André Pönitz <poenitz@gmx.net>
13191 * lyxfunc.C: new LFUN 'math-space'
13193 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13195 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13197 * text2.C (toggleInset): call open/close
13199 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13201 * lyxfunc.C (dispatch): add debug for the disabled case
13203 * font.C (buttonText): make similar to rectText
13205 * buffer.C (readInset): comment out parsing of insetlist and
13208 * PainterBase.C (rectText): small correction
13210 * BufferView_pimpl.C: comment out insettheorem and insetlist
13211 * LyXAction.C: ditto
13212 * commandtags.h: ditto
13214 2001-07-24 Juergen Vigna <jug@sad.it>
13216 * text.C (draw): honor the ignore_language.
13218 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13220 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13222 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13225 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13227 * lyxtext.h: remove unused (and unimplemented) methods
13229 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13231 * text.C (getVisibleRow): honor background color
13234 * Painter.h: remove default color argument for fillRectangle
13236 * text.C (backgroundColor): new method
13238 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13240 * text.C (getVisibleRow): adjust
13242 * font.[Ch] (rectText): new method, metrics
13243 (buttonText): new method, metrics
13245 * PainterBase.[hC]: make rectText and buttonText always draw and take
13248 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13250 * ToolbarDefaults.C (read):
13251 * MenuBackend.C (read): allow escaping in all strings
13253 * BufferView_pimpl.C (insertAndEditInset): new method.
13254 (Dispatch): use insertAndEditInset whenever appropriate.
13256 * BufferView_pimpl.C (insertNote): removed
13258 * BufferView_pimpl.C (smartQuote): new method, moved from
13259 BufferView; if an insetquote cannot be inserted, insert a '"'
13262 * BufferView2.C: remove insertCorrectQuote();
13264 * lyxfunc.C (getStatus): Add support for all remaingin
13265 inset-insert lfuns.
13267 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13269 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13270 command (necessary to pass " as parameter of self-insert.
13272 * text.C (selectWordWhenUnderCursor):
13273 (selectWord): add word_location parameter
13274 (selectWordWhenUnderCursor): same + remove special code for word
13276 (selectNextWord): use kind() to guess type of insetspecialchar,
13279 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13280 (insertErtContents): create ert insets as collapsed.
13281 (readInset): better compatibility code for Info inset.
13283 2001-07-20 Juergen Vigna <jug@sad.it>
13285 * lyxfunc.C (dispatch): use always LyXFind now!
13287 * text2.C (init): add a reinit flag so that the LyXText can be
13288 reinited instead of deleted and reallocated (used in InsetText).
13290 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13296 2001-07-18 Juergen Vigna <jug@sad.it>
13298 * text.C (selectNextWord): handle insets inside inset by calling
13299 always the bv->text functions so that we can go up the_locking_inset!
13301 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13302 in strange locations when inside an inset!
13304 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13305 handling to include insets.
13307 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13309 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13311 * LyXAction.C (init):
13313 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13314 LIGATURE_BREAK, since the name is so stupid.
13316 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13318 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13321 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13323 * sp_form.[Ch]: remove.
13325 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13327 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13330 * src/buffer.C (readInset): ditto.
13332 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13334 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13335 menuSeparator(), endOfSentenceDot(), ldots() and
13336 hyphenationPoint(), which are therefore removed.
13337 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13339 * LyXAction.C (init):
13340 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13342 * paragraph.C (getWord): removed.
13344 * BufferView_pimpl.C (Dispatch): use last word or selection for
13345 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13347 * lyx_main.C (queryUserLyXDir): do not ask before creating
13348 user_dir, except if it has been named explicitely.
13350 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13352 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13353 a document of zero size.
13355 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13357 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13358 approriately in the c-tor and in require().
13359 (getPackages): output the appropriate LaTeX for natbib support.
13361 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13362 variables "use_natbib" and "use_numerical_citations" when reading the
13364 (readInset): read the various natbib cite commands.
13365 (validate): white-space change.
13367 * bufferparams.[Ch]: new variables "bool use_natbib" and
13368 "bool use_numerical_citations".
13369 (writeFile): output them in the LyX file.
13371 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13373 * lyxfunc.C (getStatus): add support for all the inset insertion
13376 * text2.C (insertInset):
13377 * paragraph.C (insetAllowed):
13378 * BufferView_pimpl.C (insertInset): update to take in account the
13379 renaming of insertInsetAllowed
13381 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13383 * text2.C (getInset): new method. returns inset at cursor position.
13385 * BufferView_pimpl.C (Dispatch): changes because of this.
13387 * LyXAction.C (init): rename open-stuff to inset-toggle.
13389 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13391 * text2.C (toggleInset): renamed from openStuff; use
13394 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13396 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13398 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13400 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13402 * buffer.C (readLyXformat2): Add filename to the error dialog
13404 2001-07-18 Juergen Vigna <jug@sad.it>
13406 * tabular.C (GetCellNumber): put an assert here instead of the check!
13408 2001-07-17 Juergen Vigna <jug@sad.it>
13410 * BufferView_pimpl.C (toggleSelection): adapted too.
13412 * text.C (selectNextWord): adapted for use with insets.
13413 (selectSelectedWord): ditto
13415 2001-07-17 Juergen Vigna <jug@sad.it>
13417 * sp_spell.C (PSpell): fix initialitation order.
13419 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13421 * paragraph.C: spacing
13423 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13425 * sp_spell.C: repair language selection for pspell
13427 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13429 * lyxfunc.h: change more methods to begin with lower char.
13431 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13433 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13434 for unknown layouts.
13436 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13438 * buffer.C (readLyXformat2): Generate an error dialog if there are
13441 2001-07-16 Juergen Vigna <jug@sad.it>
13443 * sp_spell.C: always compile ISpell part.
13445 * lyxrc.C: added use_pspell entry and it's handling.
13447 2001-07-13 Juergen Vigna <jug@sad.it>
13449 * sp_spell.C: removed double includes.
13451 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13453 Consistent use of Lsstream.h:
13454 * Lsstream.h: added using std::stringstream for consistencies sake.
13456 * buffer.C: removed using std::stringstream
13458 * lyxfont.C (stateText):
13459 * paragraph.C (asString):
13460 * text.C (selectNextWord, selectSelectedWord):
13461 * text2.C (setCounter):
13462 * vspace.C (asString, asLatexString):
13463 std::ostringstream -> ostringstream.
13465 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13467 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13468 * commandtags.h: add LFUN_HELP_ABOUTLYX
13469 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13471 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13473 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13475 * lyx_gui_misc.C: remove spellchecker
13476 * lyxfunc.C: showSpellchecker
13478 * sp_ispell.h: added
13479 * sp_pspell.h: added
13480 * sp_spell.C: added
13481 * sp_form.[Ch]: removed
13482 * spellchecker.[Ch]: removed
13484 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13486 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13488 (simpleTeXSpecialChars): Simply print the input character without
13489 any special translation if pass_thru is set.
13491 * layout.h: Added bool pass_thru to layout class for being able to
13492 implement pass through of a paragraph for Literate Programming.
13494 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13495 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13496 * layout.C (Read): add "passthru" to list of layout tags and add
13497 code to set the pass_thru boolean when it is read.
13499 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13501 * trans_decl.h: remove allowed from KmodInfo
13503 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13504 remove allowed code
13507 * paragraph_pimpl.C (erase): use boost::prior
13509 * Painter.C (text): use data() instead of c_str() when length is
13511 * WorkArea.C (putClipboard): ditto
13512 * font.h (width): ditto
13514 * BufferView2.C: use it-> instead of (*it). for iterators
13516 * paragraph_pimpl.C: ditto
13517 * paragraph.C: ditto
13518 * minibuffer.C: ditto
13519 * language.C: ditto
13521 * encoding.C: ditto
13522 * counters.C: ditto
13523 * converter.C: ditto
13525 * Variables.C: ditto
13526 * TextCache.C: ditto
13527 * MenuBackend.C: ditto
13528 * LyXAction.C: ditto
13530 * FloatList.C: ditto
13531 * DepTable.C: ditto
13532 * ColorHandler.C (LyXColorHandler): ditto
13534 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13536 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13538 * text2.C (openStuff): reintroduce this method (which had been
13539 nuked in NEW_INSETS frenzy).
13541 * lyxfunc.C (Dispatch): when an action has not been handled, use
13542 its name in the error message, not its number.
13544 * paragraph.C (inInset): change method name to begin with lowercase.
13547 * text2.C: updates because of this.
13549 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13551 * ToolbarDefaults.C (add): add spaces in error message
13553 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13555 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13556 (readLyXformat2): rename return_par to first_par, use lyxlex's
13557 pushToken and remove the manual push handling.
13558 (parseSingleLyXformat2Token): add another ert comp. variable:
13559 in_tabular, rename return_par to first_par. handle newlines better
13561 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13563 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13565 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13567 * text2.C (getParFromID): removed
13569 * buffer.C (getParFromID): new method moved form lyxtext.
13570 * BufferView2.C (insertErrors): adjust
13571 (setCursorFromRow): adjust
13572 * BufferView_pimpl.C (restorePosition): adjust
13573 * lyxfunc.C (Dispatch): adjust
13574 * undo_funcs.C (textUndo): adjust
13576 (textHandleUndo): adjust
13577 (textHandleUndo): adjust
13579 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13581 * buffer.C: up' the LYX_FORMAT
13583 * lyxfont.h: turn NO_LATEX on as default
13585 * buffer.C (insertErtContents): new methods of tex style compability.
13586 (parseSingleLyXformat2Token): use it several places.
13587 * tabular.C (OldFormatRead): and here
13589 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13591 * text2.C: remove some commented code.
13594 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13595 * trans.C: changes because of the above.
13597 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13599 * text2.C (setCounter): Fix counters bug with bibliography layout.
13601 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13603 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13604 own member functions
13605 (simpleTeXSpecialChars): ditto
13607 2001-07-06 Juergen Vigna <jug@sad.it>
13609 * a lot of files: changed the access to LyXText::status and the
13610 call of undo-functions.
13612 * undo.[Ch]: added a inset_id to the undo informations.
13614 * undo_funcs.[Ch]: added and moved here all undo functions.
13616 * lyxtext.h: give the status enum a weight, made status_ a private
13617 variable and made accessor functions for it, removed the whole bunch
13618 of undo-functions as they are now in their own file, make some
13619 functions publically available. Added function ownerParagraph with
13622 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13623 made InInset() a const function, added getParFromID() function.
13625 * buffer.[Ch]: added const version for inset_iterator functions,
13626 added getInsetFromID() function.
13628 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13629 changed undo functions for new version.
13631 2001-07-05 Juergen Vigna <jug@sad.it>
13633 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13634 unknow mechanism does not call the proper constructor but only this
13635 one also if I request the other!?
13637 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13639 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13641 * text2.C (LyXText): use initialization lists.
13643 * lyxtext.h (Selection): initialize set_ and mark_
13644 (init): remove method
13646 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13648 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13650 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13652 * screen.[Ch]: change method names to begin with lowercase
13654 * BufferView_pimpl.C (updateScrollbar): simplify further and
13655 hopefully make it a bit faster.
13657 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13659 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13660 calling directly xforms functions.
13662 * Painter.C (Painter):
13663 * lyx_cb.C (MenuWrite):
13664 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13667 * lyx_gui.C: remove bogus guiruntime extern declaration.
13669 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13671 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13673 (redoDrawingOfParagraph): ditto
13674 (redoParagraphs): ditto
13675 (cutSelection): don't create a object for CutAndPaste use the
13676 static method directly
13677 (pasteSelection): ditto
13679 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13682 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13684 * modifications to some other files because of this.
13686 * Makefile.am (lyx_SOURCES): add XFormsView
13688 * XFormsView.[Ch]: new files
13690 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13691 the main window. Move the gui dependent stuff to XFormsView
13693 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13695 * tabular.C (GetCellInset): update cur_cell also in the row/col
13696 version of this function.
13698 * lyxfunc.C: no need to include figure_form.h here.
13704 * lyxvc.C: no need to include forms.h here.
13706 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13708 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13710 * lyxfunc.C (Dispatch):
13712 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13713 constructor argument.
13715 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13717 * paragraph.C (Paragraph): dont't clear, and just set layout.
13718 (makeSameLayout): use params's copy contructor.
13720 * ParagraphParameters.[Ch] (makeSame): delete method
13722 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13724 * Variables.[Ch]: fix indentation, rename set to isSet
13726 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13728 * lyxfunc.C (Dispatch): fix typo
13730 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13732 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13735 * bufferlist.C: include assert.h for emergencyWrite().
13737 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13739 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13740 give up at last (bug #425202) !
13742 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13748 * spellchecker.C: strip spellchecker options and bring up
13749 preferences tab instead
13751 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13753 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13754 the istringstream constructor
13756 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13758 * paragraph.C (getLayout): fix return value
13760 * paragraph.h: do not declare getLayout as inline.
13762 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13764 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13766 * lyxcursor.h (operator<): new func
13767 (operator>): new func
13768 (operator>=): new func
13769 (operator<=): new func
13771 * text.C (changeCase): use selection.start and selection.end
13772 (changeRegionCase): require from to be <= to. Require par to be a
13775 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13777 2001-06-27 Juergen Vigna <jug@sad.it>
13779 * text.C (cursorLeftOneWord): changed to return the cursor and added
13780 overlay with BufferView * parameter which calls this one.
13782 (selectWord): use new getWord function.
13783 (changeCase): renamed from changeWordCase as and extended to work
13784 also on selections.
13786 * lyxtext.h: added enum word_location
13788 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13789 changeCase as this operates now also on selections.
13791 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13793 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13795 * many files: send debug output to Debug::INFO instead of
13798 * converter.C (View):
13800 (Move): send debug output to Debug::FILES instead of console.
13802 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13804 * lyxfunc.C (getStatus): use func_status
13806 * func_status.h: new header, describing the results of
13807 LyXFunc::getStatus;
13809 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13812 2001-06-25 The LyX Project <jug@sad.it>
13814 * buffer.C (sgmlOpenTag):
13816 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13818 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13820 * text2.C: remove some dead code
13822 * tabular.C (GetCellInset): store the last cell checked (gotten)
13824 * tabular.h: add the helper for the speedup
13826 * lyxtext.h: remove some dead code
13828 2001-06-26 The LyX Project <Asger>
13830 * paragraph.C: Change export to LaTeX of alignment to
13831 \begin{center} and family for better roundtrip work with reLyX.
13833 * Tune the math drawing a bit.
13835 2001-06-25 The LyX Project <Asger>
13837 * LColor.C (LColor): New color for math background. New color
13840 2001-06-25 The LyX Project <jug@sad.it>
13842 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13844 * lyxfunc.C (Open):
13845 * bufferlist.C (newFile): do not restrict to files ending with
13848 * BufferView_pimpl.C (MenuInsertLyXFile):
13850 2001-06-24 The LyX Project <jug@sad.it>
13852 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13855 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13857 * lyxtext.h: rename most methods to begin with a small char.
13858 Lots of changes because of this.
13860 * paragraph.C (Paragraph): do not call fitToSize
13861 (erase): call Pimpl::erase
13862 (insertChar): call Pimpl::insertChar
13863 (insertInset): call Pipl::insertInset
13864 (breakParagraph): do not call fitToSize
13865 (breakParagraphConservative): do not call fitToSize
13866 (fitToSize): remove method
13868 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13870 2001-06-24 The LyX Project <Asger>
13872 * Fix Qt compilation^2
13874 2001-06-24 The LyX Project <jug@sad.it>
13876 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13877 depthHook(getDepth()-1).
13880 * ParagraphParameters.h:
13881 * ParameterStruct.h: change type of depth to unsigned int ==
13882 depth_type. Many adaptations to other files before of that.
13884 2001-06-24 The LyX Project <Asger>
13886 * Fix Qt compilation.
13888 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13890 * paragraph.h: renamed several methods to begin with small letter.
13891 several changes to many parts of the code because of this.
13893 2001-06-23 The LyX Project <jug@sad.it>
13895 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13896 rewritten to discard all double spaces when KeepEmpty is off
13897 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13898 to only handle newlines but not fiddle with spaces and friends.
13900 * lyxfunc.C (MenuNew): when doing 'new from template', use
13901 template_path as default directory
13903 2001-06-23 The LyX Project <Asger>
13905 * Clean-up of header file includes all over
13906 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13908 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13910 * paragraph.h: renamed from lyxparagraph.h
13912 2001-06-23 Asger <lyx@violet.home.sad.it>
13914 * Buffer.h: Removed Buffer::resize
13915 * BufferList.h: Removed BufferList::resize
13916 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13917 the document lazily when we change the width, or the font settings.
13919 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13921 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13923 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13925 * buffer.h: remove out of date comment
13927 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13930 * screen.C: fix "theoretical" GC leak
13932 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13934 * LaTeX.C (scanAuxFile):
13935 (deplog): remove trailing \r when reading stream (useful under
13938 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13940 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13941 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13942 and BufferView::theLockingInset(Inset*), so should use them and not
13943 access bv_->text->the_locking_inset directly.
13945 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13947 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13950 * tex-defs.h: remove old unused file
13952 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13954 * BufferView_pimpl.C: fix typo, remove minibuffer message
13955 when buffer has loaded
13957 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13959 * lyxfunc.C (Dispatch): use stringstream
13960 (MenuNew): use stringstream
13961 (Open): use stringstream
13963 * importer.C (Import): use stringstream
13965 * bufferview_funcs.C (CurrentState): use stringstream
13967 * LaTeX.C (run): use stringstream
13969 * BufferView_pimpl.C (savePosition): use stringstream
13970 (restorePosition): use stringstream
13971 (MenuInsertLyXFile): use stringstream
13973 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13986 * vspace.C: removed // -*- C++ -*- as first line.
13989 * version.h: added // -*- C++ -*- as first line.
13991 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13993 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13995 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13998 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14000 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14003 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14005 * gettext.C: include LString.h even when --disable-nls is on.
14007 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14009 * converter.h (Get): changed argument type from int to
14010 FormatList::size_type to avoid unnecessary conversion.
14012 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14015 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14017 * gettext.h: include LString.h even when --disable-nls is on.
14019 2001-06-07 Juergen Vigna <jug@sad.it>
14021 * text.C (BreakAgain): subst spaces with tabs.
14023 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14024 (resizeInsetsLyXText): set force on resizeLyXText.
14026 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14028 * gettext.h (gettext_init):
14029 (locale_init): use a real definition instead of a macro
14031 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14033 * Bufferview_pimpl.C:
14035 * LColor.C: further lcolor tidies
14037 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14039 * BufferView_pimpl.C (updateScrollbar): simplify.
14041 * BufferView2.C: don't include insets/insetinfo.h, change
14042 prototype for insertInset and call the Pimpl version. let
14043 updateInset call Pimpl version.
14045 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14046 gotoInset to BufferView::Pimpl
14048 2001-06-01 Juergen Vigna <jug@sad.it>
14050 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14051 inside a LockingInset (is the update needed at all?).
14053 2001-05-31 Juergen Vigna <jug@sad.it>
14055 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14056 here not the old one otherwise how should we compare it afterwards
14059 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14064 * FontInfo.C: bring C functions into global namespace when
14067 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14069 * LString.h: make sure config.h has been loaded before LString.h.
14071 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14072 (one for each char read by EatLine!).
14074 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14077 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14079 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14080 to the same as the par we break from
14082 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14084 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14086 * MenuBackend.C (expand): also create menu entries for wide
14087 versions of the floats.
14089 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14091 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14093 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14094 frontends/Makefile.am
14100 * tabular.C (getTokenValue): add std::
14102 * tabular-old.C (getTokenValue): add std::
14103 (getTokenValue): ditto
14104 (getTokenValue): ditto
14106 * screen.C (ToggleSelection): adjust
14108 * lyxtext.h: put selection cursors inside a Selection struct.
14110 * lyxfunc.C (moveCursorUpdate): adjust
14112 * lyxfont.C (latexWriteStartChanges): add std::
14114 * lyxfind.C: adjust
14116 * font.h: delete with(char const *, LyXFont const &)
14118 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14120 * FontInfo.C (getFontname): add std::
14122 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14123 (workAreaButtonPress): adjust
14124 (tripleClick): adjust
14126 (moveCursorUpdate): adjust
14129 * BufferView2.C (gotoInset): adjust
14131 2001-05-30 Juergen Vigna <jug@sad.it>
14133 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14134 to check pspell I add this as default as I now have new pspell
14135 libraries and they seem to use this.
14137 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14139 * text2.C (CutSelection): make the cursor valid before the call to
14142 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14144 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14145 relied on 0 terminated strings and other horrors. Bug found due to
14146 the new assert in lyxstring!
14148 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14151 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14153 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14156 * lyxfunc.C (processKeySym): change method of getting to the
14159 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14160 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14161 * BufferView_pimpl.[Ch]: here as private methods.
14163 2001-05-28 Juergen Vigna <jug@sad.it>
14165 * text.C (SetHeightOfRow): added the update() call again as it is
14166 needed to initialize inset dimensions!
14168 2001-05-16 Juergen Vigna <jug@sad.it>
14170 * text2.C (SetCharFont): Add new function with BufferView * and
14171 bool toggleall parameters for setting insets internal fonts.
14172 (SetFont): Freeze the undo as we may change fonts in Insets and
14173 all this change should be inside only one Undo!
14175 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14176 setting font's in insets as for them we have the SetFont function!
14178 2001-05-15 Juergen Vigna <jug@sad.it>
14180 * text2.C (ClearSelection): to be sure we REALLY don't have any
14183 * tabular.C (TeXCellPreamble): fixed the left border problem for
14186 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14188 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14191 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14193 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14194 LFUN_BREAKPARAGRAPH.
14196 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14197 help test to "internal only", similar for LFUN_INSERT_URL
14199 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14200 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14201 auto_region_delete and deadkeys.
14203 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14206 * LColor.C: remove some dead entries, tidy a little
14208 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14210 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14212 (Dispatch): implement LFUN_ESCAPE
14214 * commandtags.h: add LFUN_ESCAPE
14216 * LyXAction.C (init): add entry for LFUN_ESCAPE
14218 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14219 Remove commented code.
14220 (insertNote): moved here
14221 (open_new_inset): moved here
14223 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14226 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14228 * kbmap.C (findbinding): clean it up and make it work correctly.
14230 * lyx_main.C (init): do not pass argc and argv as parameters
14232 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14234 * buffer.C: fix path for OS/2 & Win32
14238 * lyx_main.C: Added os:: class.
14240 * os2_defines.h: update
14242 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14244 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14245 better by trying again with reduced state.
14247 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14249 * lyxrc.C (read): print error about invalid key sequence only when
14250 debugging (because not all latinX keysyms are known to some X
14253 * kbsequence.C (getiso): add a few std:: qualifiers
14254 (getiso): comment out extra return statement.
14256 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14258 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14260 (Dispatch): enhance the accent inset a bit. (not perfect)
14262 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14264 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14266 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14268 * bufferlist.C (emergencyWrite): fix assert() call
14270 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14272 * text.C (InsertChar): Added trivial patch to only send the "you
14273 can not do multiple spaces this way" message once during a
14276 2001-05-08 Baruch Even <baruch@lyx.org>
14278 * Makefile.am: Changed order of libraries to get LyX to link properly
14279 with the gnome frontend.
14281 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14283 * LaTeXFeatures.h: add a std:: qualifier
14285 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14287 * paragraph.C (String): use stringstream
14289 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14291 * paragraph.C (writeFile): remove footflag arg
14293 * buffer.C (makeLaTeXFile): use stringstream
14294 (latexParagraphs): remove footnot gurba
14296 * LaTeXFeatures.C (getPackages): use stringstream
14297 (getMacros): likewise
14298 (getTClassPreamble): likewise
14299 (getFloatDefinitions): new method
14301 * paragraph.C (writeFile): reindent
14304 * WorkArea.h: revert the xpos + etc changes.
14306 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14308 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14310 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14311 (pasteSelection): likewise
14312 * text2.C (CreateUndo): likewise
14314 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14316 * minibuffer.C (peek_event): temporarily reduce the functionality
14317 of the minibuffer (to allow args on lfuns)
14319 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14320 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14322 * buffer.C (readInset): add compability reading of old float
14323 lists, add reading of new style float list.
14324 (readInset): avoid reevaluation of inscmd.getCmdName()
14325 (getLists): reindent
14327 * MenuBackend.C (MenuItem): implement parsing of
14328 md_floatlistinsert and md_floatinsert.
14329 (expand::LastFiles): move initalizaton of iterators out of loop,
14330 avoid reevaluation.
14331 (expand::Documents): introduce typdedef vector<string> Strings,
14333 (expand::ExportFormats): introduce typedef vector<Format const *>
14334 Formats, and use it.
14335 (expand): implement FloatListInsert and FloatInsert.
14337 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14338 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14339 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14341 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14343 (Dispatch::LFUN_FLOAT_LIST): implement
14345 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14347 * LaTeX.C (run): Fix problem with --export code.
14349 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14351 * BufferView.[Ch] (workarea): removed.
14352 (getClipboard) new method; wrapper for workarea()->getClipboard()
14354 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14357 * WorkArea.h (width, height, xpos, ypos): These methods all
14358 returned the dimensions of the work_area sub-area of WorkArea,
14359 resulting in a position error if the WorkArea were resized. Now
14360 return the dimensions of the entire WorkArea.
14362 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14364 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14366 * LaTeX.C (deplog): correct the syntax of regex reg1
14368 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14370 * undo.C: remove !NEW_INSETS cruft
14372 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14374 * text2.C: remove !NEW_INSETS cruft
14376 * text.C: remove !NEW_INSETS cruft
14378 * tabular.C: remove !NEW_INSETS cruft
14380 * spellchecker.C: remove !NEW_INSETS cruft
14382 * lyxtext.h: remove !NEW_INSETS cruft
14384 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14386 * lyxfunc.C: remove !NEW_INSETS cruft
14388 * lyxfind.C: remove !NEW_INSETS cruft
14390 * lyx_cb.C: remove !NEW_INSETS cruft
14392 * figureForm.C: remove !NEW_INSETS cruft
14394 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14396 * buffer.[Ch]: remove !NEW_INSETS cruft
14398 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14400 * CutAndPaste.C: remove !NEW_INSETS cruft
14402 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14404 * BufferView2.C: remove !NEW_INSETS cruft
14406 * BufferView.h: remove !NEW_INSETS cruft
14408 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14410 * Lsstream.h: include LString.h before the sstream headers to
14411 fix problem with gcc 2.95.3 and lyxstring
14413 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14415 * lyx_main.C: add using directives when needed for C functions
14416 declared in std:: namespace.
14418 2001-04-27 Juergen Vigna <jug@sad.it>
14420 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14421 (SetHeightOfRow): comment out the update call should not be needed!
14423 2001-04-13 Juergen Vigna <jug@sad.it>
14425 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14426 (LyXTabular): tried to minimize operator= operations (and realized
14427 hopfully Lars wish).
14429 2001-04-27 Juergen Vigna <jug@sad.it>
14431 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14433 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14435 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14437 * buffer.C (readInset): hack to make listof algorithm work
14439 * BufferView_pimpl.C: hack to make listof algorithm work
14441 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14443 * LyXAction.C: removed all !NEW_INSETS cruft
14444 (init): moved lfun_item in method
14446 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14448 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14450 * BufferView2.C (theLockingInset): white space.
14452 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14454 * minibuffer.C: include <iostream>
14456 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14458 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14460 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14462 * text.[Ch] (TransposeChars): new method
14464 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14466 * call message directly through LyXView instead of through LyXFunc
14467 * BufferView2.C: adjust
14468 * BufferView_pimpl.C: adjust
14469 * FontLoader.C: adjust
14471 * bufferview_funcs.C: adjust
14472 * converter.C: adjust
14473 * figureForm.C: adjust
14474 * importer.C: adjust
14476 * lyx_gui_misc.C: adjust
14477 * lyxfunc.C: adjust
14480 + more files in subdirs
14482 * lyxparagraph.h (size): move up int file
14485 * adjust all uses of Assert to lyx::Assert.
14487 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14488 lyxfunctional in namespace lyx
14489 * layout.C (hasLayout): ditto
14492 (delete_layout): ditto
14493 (NumberOfClass): ditto
14494 * converter.C (GetFormat): ditto
14499 * bufferlist.C (getFileNames): ditto
14500 (emergencyWriteAll): ditto
14503 * MenuBackend.C (hasSubmenu): ditto
14506 * BufferView_pimpl.C (getInsetByCode): ditto
14508 2001-04-18 Juergen Vigna <jug@sad.it>
14510 * vspace.C (asLatexString): fixed the 100% problem.
14512 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14514 * lyxfunc.C (Dispatch):
14516 * minibuffer.h: add a few std:: qualifiers
14518 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14520 * minibuffer.[Ch]: reimplement so that commands is initiated and
14521 run from lyxfunc, simplified som handling, and made the completion
14522 and history code for complete. wip.
14524 * lyxfunc.C (processKeySym): call message
14525 (miniDispatch): new temporary method
14526 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14527 (LFUN_MESSAGE): implement
14528 (LFUN_MESSAGE_PUSH): implement
14529 (LFUN_MESSAGE_POP): implement
14530 (initMiniBuffer): the initial/defualt minibuffer message.
14532 * lyxfont.[Ch]: inline some more getters
14534 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14536 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14538 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14539 (AutoSave): use LFUN_MESSAGE
14540 (Reconfigure): ditto
14542 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14544 * figureForm.C: use LFUN_MESSAGE
14546 * converter.C (runLaTeX): use LFUN_MESSAGE
14548 * bufferview_funcs.C: use LFUN_MESSAGE
14550 (changeDepth): ditto
14552 * bufferparams.h: use boost::
14554 * bufferlist.h: inherit privately from noncopyable
14556 * bufferlist.C (loadLyXFile): remove some commented code.
14558 * buffer.C (runChktex): use LFUN_MESSAGE
14560 * ShareContainer.h: inherit privately from noncopyable
14562 * ParagraphParameters.[hC] (depth): inline it.
14564 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14566 (message): new method
14567 (messagePush): ditto
14568 (messagePop): ditto
14569 (show): init minibuffer
14570 (showState): direct call
14572 * LaTeX.[Ch]: inherit privately from noncopyable
14573 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14574 instead of WriteStatus.
14576 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14578 * BufferView_pimpl.C (buffer): don't init minibuffer
14579 (workAreaButtonPress): use LFUN_MESSAGE
14580 (workAreaButtonRelease): ditto
14581 (savePosition): ditto
14582 (restorePosition): ditto
14583 (MenuInsertLyXFile): ditto
14584 (workAreaExpose): don't init minibuffer
14585 (update): remove commented code, simplify
14587 * BufferView2.C (openStuff): use LFUN_MESSAGE
14588 (toggleFloat): ditto
14591 (copyEnvironment): ditto
14592 (pasteEnvironment): ditto
14597 (updateInset): remove some commented code
14599 * lastfiles.h: inherit privately from noncopyable
14602 * lyx_main.h: ditto
14604 * lyxlex_pimpl.h: ditto
14606 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14607 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14608 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14610 * LyXAction.h: inherit privately from noncopyable, add methods
14611 func_begin, func_end, returning iterators to the func map.
14613 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14614 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14615 (func_begin): new method
14616 (func_end): new method
14618 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14620 (copySelection): ditto
14621 (pasteSelection): ditto
14623 * BufferView.C: whitespace change
14624 * BufferView.h: inherit privately from noncopyable
14626 2001-04-16 Allan Rae <rae@lyx.org>
14628 * tabular-old.C (l_getline):
14629 * spellchecker.C (sc_check_word):
14630 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14631 an unrecognised preprocessor directive. So ensure they're wrapped.
14633 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14635 * src/exporter.C (Export): Give an error message when path to file
14638 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14640 * LaTeX.C (deplog): Always check that foundfile exists.
14642 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14645 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14647 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14649 * tabular.[Ch] (getLabelList): implement new method
14651 * minibuffer.h: comment ouf setTiimer
14653 * minibuffer.C (ExecutingCB): constify res
14654 (peek_event): constify s
14655 (Set): constify ntext
14656 (Init): constify nicename
14658 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14660 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14661 (savePosition): use two params to Minibuffer::Set
14662 (restorePosition): ditto
14664 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14666 * lyx_main.C: include language.h
14668 * Makefile.am (lyx_main.o): add language.h
14670 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14676 * CutAndPaste.C: include gettext.h
14678 * lyxfont.h: remove old hack with ON and OFF.
14681 * lyxfont.h: do not include language.h...
14686 * bufferview_funcs.C:
14692 * paragraph.C: ... but do it here instead
14694 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14696 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14698 * tabular.C: small reformat
14700 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14703 (BreakParagraph): ditto
14704 (SetOnlyLayout): ditto
14707 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14710 * lastfiles.C: removed most using decl, add std:: where needed
14712 * buffer.C: ws changes
14714 * MenuBackend.C (class compare_format): put into anon namespace
14715 (expand): constify label, names, action, action2
14718 * text.C (SingleWidth): constify font
14719 (IsBoundary): constify rtl2
14720 (GetVisibleRow): constify ww
14722 * LaTeX.C (deplog): constify logfile
14724 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14726 (workAreaExpose): constify widthChange, heightChange
14728 * lyxrow.C (par): moved
14731 * lyxrow.h: as inlines here
14733 * lyxfont.h (shape): moved from lyxfont.C
14734 (emph): moved from lyxfont.C
14736 * lyxfont.C (LyXFont): use initialization list for all
14738 (shape): move to lyxfont.h as inline
14739 (emph): move to lyxfont.h as inline
14742 2001-04-04 Juergen Vigna <jug@sad.it>
14744 * vspace.C: had to include stdio.h for use of sscanf
14746 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14749 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14750 independent of xforms.
14752 2001-04-02 Juergen Vigna <jug@sad.it>
14754 * spellchecker.C: fixed namespace placing!
14756 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14758 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14759 the LyXParagraph * is 0.
14761 2001-03-29 Juergen Vigna <jug@sad.it>
14763 * vspace.C: added support for %, c%, p%, l%.
14764 (stringFromUnit): added helper function.
14765 (asLatexString): changed to give right results for the %-values.
14767 * buffer.C: convert the widthp in a width%.
14769 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14771 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14774 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14775 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14777 * lyx_cb.[Ch]: see above.
14779 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14783 * lyx.[Ch]: replaced by figure_form.[Ch].
14787 * lyxfunc.C: changed headers associated with above changes.
14789 2001-03-27 Juergen Vigna <jug@sad.it>
14791 * BufferView_pimpl.C: set the temporary cursor right!
14793 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14795 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14797 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14799 * LString.h: removed "using std::getline"!
14801 * BufferView_pimpl.C (Dispatch): changes due to changes in
14802 InsetInclude::Params.
14804 * buffer.C (tag_name): removed redundant break statements as they were
14805 producing lots of warnings with my compiler.
14807 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14809 * LString.h: add "using std::getline" when using the real <string>.
14811 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14813 * buffer.C: removed bitset usage.
14814 PAR_TAG moved to an anonymous name space.
14815 (tag_name): new funtion, also in the anonymous namespace.
14816 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14817 (makeDocBookFile): clean code. Completed transition from string arrays
14819 (SimpleDocBookOnePar): code clean.
14821 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14823 * tabular.C: add some comments.
14825 2001-03-22 Juergen Vigna <jug@sad.it>
14827 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14828 compatibility read a bit and fixed bug with minipage in different
14831 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14833 * buffer.C (pop_tag): removed.
14834 (push_tag): removed.
14835 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14836 array replaced with vector. Added support for CDATA sections.
14837 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14839 (makeDocBookFile): XML conformant declaration of CDATA section,
14840 fixed bug related to <emphasis> in the first paragraph char.
14841 (sgmlOpenTag): exclude empty tags.
14842 (sgmlCloseTag): ditto.
14844 * buffer.h (pop_tag): removed.
14845 (push_tag): removed.
14847 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14849 * language.h (Languages): added size_type and size().
14851 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14853 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14854 response on compability reading of minipages. One probliem is that
14855 the old usage of minipages was «flertydig»
14857 * several files here and in subdirs: don't use static at file
14858 scope use anon namespaces instead.
14860 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14862 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14863 LaTeX output. This is necessary for Literate document
14866 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14868 * buffer.C: insert hfill when needed.
14870 * tabular.C (l_getline): use string::erase, small whitespace change.
14872 * BufferView_pimpl.C: try the anon namespace.
14873 * WorkArea.C: ditto
14875 2001-03-16 Juergen Vigna <jug@sad.it>
14877 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14878 otherwise it won't open options-dialogs.
14880 * buffer.C: honor pextraWidth(p) on converting minipages.
14882 * tabular.C (l_getline): changed the functions to strip trailing \r.
14884 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14886 * BufferView_pimpl.C:
14887 * minibuffer..C: added "using SigC::slot" declaration.
14889 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14891 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14897 * paragraph.C: ditto
14899 * lyxtext.h: NO_PEXTRA
14901 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14903 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14904 * ParameterStruct.h: ditto
14905 * ParagraphParameters.h: ditto
14906 * lyxparagraph.h: ditto
14908 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14910 * buffer.C: add compability for minipage alignment.
14911 (latexParagraphs): remove unwanted pextra check.
14913 * several files: remove CXX_WORKING_NAMESPACES
14915 * buffer.C (pop_tag): tie is in namespace boost
14917 * BufferView.h: noncopyable is in namespace boost
14919 * lyx_main.h: ditto
14922 * lastfiles.h: ditto
14923 * bufferlist.h: ditto
14924 * ShareContainer.h: ditto
14926 * LyXAction.h: ditto
14929 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14931 * Merging changes from BRANCH_MVC back into HEAD.
14933 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14935 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14937 * BufferView_pimpl.C: change from intl.C
14941 * Makefile.am: move combox.*
14947 * intl.C: remove dialog (covered by prefs)
14949 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14951 * lyxfunc.C (Dispatch): removed redundant break statement.
14953 2001-03-14 Juergen Vigna <jug@sad.it>
14955 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14957 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14959 * buffer.C: add hack to fix compability reading of minipages.
14961 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14963 * buffer.C (getLists): Cleanup.
14965 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14967 * lyxfont.C (update): don't honor toggleall on font size.
14969 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14973 * Makefile.am: moved to frontends/xforms/
14977 * BufferView_pimpl.C: changes for moved mathpanel
14979 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14981 * gettext.h: fix gettext_init() in --disable-nls
14983 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14985 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14987 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14990 * lyx.h: strip external form
14992 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14994 * BufferView_pimpl.C: add comment, destroySplash()
14996 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14998 * BufferView_pimpl.C:
15002 * lyxfunc.C: use re-worked insetinclude
15004 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15006 * buffer.C: add using std::stringstream.
15008 * lyx_cb.C: readd using std::ios.
15010 * buffer.C: add using std::map.
15012 * BufferView_pimpl.C: add using std::vector.
15014 * ShareContainer.h: add std:: to swap.
15016 * buffer.h: add some typedefs
15017 * buffer.C (getLists): use them
15018 (getLists): renamed from getTocList.
15019 add a counter for the different float types and use it in the
15021 (getLists): use the same counter for the NEW_INSETS and the "non"
15024 * lyx_cb.h: remove unused items, includes, using etc.
15026 * ShareContainer.h: remove some commented code, add more comments
15027 and "documentation".
15029 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15031 * buffer.C (getTocList): make the list also when NEW_INSETS is
15034 * buffer.h: remove TocType
15036 * buffer.C (getTocList): change to return a map<string,
15037 vector<TocItem> >, implement for dynamic number of list.
15039 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15040 * text2.C (PasteSelection): adjust
15041 * CutAndPaste.C (pasteSelection): adjust
15043 * FloatList.C (FloatList): update from the new_insets branch.
15044 * Floating.[Ch]: ditto
15045 * LaTeXFeatures.C: ditto
15047 * lyxlex_pimpl.C: ditto
15049 * paragraph.C (Last): remove when NEW_INSETS is defined.
15051 * other file: changes because of the above.
15053 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15055 * lyxparagraph.h: rename next to next_, previous to previous_,
15056 make them private for NEW_INSETS. Rename Next() to next(),
15057 Previous() to previous().
15059 * other files: changes because of the above.
15061 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15064 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15067 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15069 * main.C (main): pass lyx_localedir to gettext_init().
15071 * gettext.h: remove locale_init and gettext_init macros
15073 * gettext.C (locale_init): new function
15074 (gettext_init): new function
15076 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15079 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15081 * Moved credits to frontends:
15082 * credits.[Ch]: removed
15083 * credits_form.[Ch]: removed
15084 * lyx_gui_misc.C: remove credits stuff
15087 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15089 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15091 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15092 unneeded destructor.
15094 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15095 a standalone pointer again.
15097 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15099 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15105 * ToolbarDefaults.C:
15114 * BufferView_pimpl.C: use new file dialog in GUII
15117 * lyx_cb.C: remove LayoutsCB to Toolbar
15119 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15121 * ShareContainer.h (get): add std:: qualifier
15123 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15125 * ShareContainer.h: define a proper ShareContainer::value_type
15126 type (and use typename to please compaq cxx)
15128 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15130 * lyxparagraph.h: move serveral local vars to
15131 ParameterStruct/ParagraphParameters., use ShareContainer in
15132 FontTable., make vars in FontTable private and add getter and
15135 * paragraph.C: changes because of the above.
15137 * lyxfont.h: remove copy constructor and copy assignment. (the
15138 default ones is ok), move number inside FontBits. move inlines to
15141 * lyxfont.C: add number to initializaton of statics, move several
15142 inlines here. constify several local vars. some whitespace
15143 cleanup. Dont hide outerscope variables.
15145 * Spacing.h: add two new constructors to match the set methods.
15147 * ShareContainer.h: new file, will perhaps be moved to support
15149 * ParameterStruct.h: new file
15151 * ParagraphParameters.h: new file
15153 * ParagraphParameters.C: new file
15155 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15156 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15158 * BufferView_pimpl.C: ParagraphParameter changes.
15159 * buffer.C: Likewise.
15160 * bufferview_funcs.C: Likewise.
15161 * text.C: Likewise.
15162 * text2.C: Likewise.
15164 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15166 * lyxfind.C (LyXReplace): do not redefine default argument in
15168 (IsStringInText): ditto
15169 (SearchForward): ditto
15170 (SearchBackward): ditto
15172 2001-03-06 Juergen Vigna <jug@sad.it>
15174 * lyxfind.C (IsStringInText): put parentes around expressions.
15176 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15178 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15180 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15182 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15184 * stl_string_fwd.h: add comment
15186 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15189 * tabular.C: remove unused DocBook methods
15195 killed DO_USE_DEFAULT_LANGUAGE
15197 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15199 * lyx_gui.C: do not include language.h.
15201 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15202 arguments in function implementation.
15204 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15206 * BufferView_pimpl.C: add <ctime>
15208 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15210 * BufferView_pimpl.C: add using std::find_if
15212 2001-02-27 José Matos <jamatos@fep.up.pt>
15214 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15217 2001-02-11 José Matos <jamatos@fep.up.pt>
15219 * buffer.C (makeDocBookFile): command styles now have a parameter as
15220 "title" by default.
15222 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15224 * layout_forms.[Ch]: removed
15225 * lyx_cb.[Ch]: out character
15226 * lyx_gui.C: out character
15227 * lyx_gui_misc.C: out character
15228 * bufferview_funcs.C: : out character,
15229 added toggleall as parameter in ToggleAndShow
15231 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15233 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15235 * text2.C (SetCurrentFont): Disable number property at boundary.
15237 2001-02-26 Juergen Vigna <jug@sad.it>
15239 * lyxfunc.C (getStatus): added a string argument override function so
15240 that this is correctly called from LyXFunc::Dispatch if it contains a
15241 do_not_use_argument which is used!
15242 (Dispatch): added check for "custom" export and call appropriate func.
15244 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15246 * lyxrc.C: Add language_command_local, language_use_babel and
15247 language_global_options.
15249 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15251 * buffer.C (makeLaTeXFile): Use language_use_babel and
15252 language_global_options.
15254 2001-02-23 Juergen Vigna <jug@sad.it>
15256 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15257 which works with LyXText and putted it inside BufferView. Here now we
15258 only call for that part the BufferView::Dispatch() function.
15260 * BufferView.C (Dispatch): added.
15262 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15263 functions which needs to use a LyXText over from LyXFunc.
15264 (MenuInsertLyXFile): added
15265 (getInsetByCode): added
15266 (moveCursorUpdate): added
15267 (static TEXT): added
15269 2001-02-22 Juergen Vigna <jug@sad.it>
15271 * BufferView_pimpl.C (update): call a status update to see if LyXText
15274 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15276 * vc-backend.C (revert): implement for CVS
15277 (getLog): implement for CVS
15279 2001-02-20 Juergen Vigna <jug@sad.it>
15281 * text2.C (ClearSelection): added BufferView param for inset_owner call
15283 * lyxfunc.C (TEXT): added this function and use it instead of
15284 directly owner->view()-text of getLyXText().
15286 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15288 * src/layout_forms.C: out preamble
15289 * src/layout_forms.h: out preamble
15290 * src/lyx_cb.C: out preamble
15291 * src/lyx_cb.h: out preamble
15292 * src/lyx_gui.C: out preamble
15293 * src/lyx_gui_misc.C: out preamble
15294 * src/lyxfunc.C: connect with guii preamble
15296 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15298 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15300 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15302 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15303 whether to run bibtex.
15305 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15307 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15309 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15311 * Makefile.am (lyx_SOURCES): removed bibforms.h
15313 * vspace.h: doxygen
15315 * text.C (GetVisibleRow): make several local vars const
15317 * tabular.C: small cleanup.
15319 * lyxserver.C (callback): use compare instead of strncmp
15321 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15322 inlines to after class or to paragraph.C
15324 * lyxfont.h: remove friend operator!=
15326 * converter.h: move friend bool operator< to non friend and after
15329 * combox.h: small cleanup
15331 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15332 to inlines after class def.
15334 * buffer.C (pop_tag): use string operations instead of strcmp
15336 * bmtable.c: doxygen, small cleanup
15338 * LaTeX.h: remove friend operator==
15340 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15352 * BufferView_pimpl.C:
15353 * BufferView.[Ch]: remove cruft
15355 2001-02-14 Juergen Vigna <jug@sad.it>
15357 * lyxfunc.C: removed #if 0 unused code
15359 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15361 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15363 * text2.C (SetSelection): added a BufferView * parameter
15365 2001-02-13 Juergen Vigna <jug@sad.it>
15367 * lyxfunc.C (Dispatch): fixed protected blank problem.
15368 * BufferView2.C (protectedBlank): added LyxText * parameter.
15370 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15371 (AppendColumn): same as above for column_info.
15373 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15374 (moveCursorUpdate): use a LyXText param for support of InsetText.
15376 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15377 (tripleClick): ditto
15379 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15381 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15383 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15385 * text2.C (SetSelection): set correct update status if inset_owner
15386 (ToggleFree): ditto
15388 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15390 * tabular.C: remove some commented code.
15392 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15394 * BufferView_pimpl.C: call hideSplash()
15396 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15399 * bibforms.h: remove
15402 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15403 add LFUN_CHILD_CREATE
15405 * counters.h: fix tiny typo
15410 * lyx.C: move splash to frontends/xforms/
15412 * lyx_gui_misc.C: move Include and Bibform to frontends
15414 * lyxvc.h: clarify comment
15416 * vspace.C: tiny housekeeping
15418 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15420 * text.C (PrepareToPrint): RTL Fix.
15422 * paragraph.C (GetUChar): New method.
15423 (String): Use GetUChar.
15425 * buffer.C (asciiParagraph): Use GetUChar.
15427 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15429 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15431 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15434 * buffer.C: rename to getLogName(), handle
15435 build log / latex log nicely
15437 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15440 * MenuBackend.h: remove support for reference menuitem type.
15442 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15444 * BufferView_pimpl.C: housekeeping
15445 * BufferView_pimpl.h:
15450 * minibuffer.h: move Timeout GUI-I
15452 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15454 * lyxrc.C (read): Update converters data-structures.
15456 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15458 * LaTeX.h (operator!=): add operator != for Aux_Info
15460 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15462 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15464 * LaTeXLog.C: deleted, useful code moved to Buffer
15467 * buffer.C: new function getLatexLogName()
15473 * lyxfunc.C: use frontends for LaTeX and VC logs
15475 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15477 * LaTeX.h: yet another std:: that Allan forgot.
15479 * Variables.C (set): renamed from isset(), because this clashes
15480 with some HP-UX macros (grr).
15482 2001-02-06 Allan Rae <rae@lyx.org>
15484 * LaTeX.h: Another bug fix. Missing std:: this time.
15486 2001-02-04 Allan Rae <rae@lyx.org>
15488 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15489 floats problem. I've left it commented out because it's not quite
15490 correct. It should also test that the current object is a table or
15491 figure inset. But I haven't gotten around to figuring out how to do
15492 that. I *think* it'll be something like: "table" == inset.type()
15494 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15497 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15499 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15500 all the citation/databases/styles in the auxilary file.
15501 (run): Rerun latex if there was a babel language error.
15503 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15505 * text.C (Backspace): Preserve the font when changing newline char
15507 (BreakParagraph): If the cursor is before a space, delete the space.
15509 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15511 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15513 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15514 new argument (code).
15515 (ChangeCitationsIfUnique): New method.
15517 * paragraph.C (GetPositionOfInset): Handle bibkey.
15519 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15521 * BufferView_pimpl.h: change type of Position::par_pos to
15522 LyXParagraph::size_type.
15524 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15526 * BufferView_pimpl.C (savePosition, restorePosition): Write
15527 messages to minibuffer.
15529 2001-01-28 José Matos <jamatos@fep.up.pt>
15531 * buffer.C (makeDocBookFile): adds support for document language.
15532 A silly restriction on the name of LatexCommand types where removed.
15533 Added support for CDATA sections, allows to chars unescaped, used
15534 among others in code, to avoid escape < and >.
15536 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15538 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15539 saved positions instrad of a stack. Furthermore, a position is
15540 stored using paragraph id/paragraph position.
15542 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15543 Remove LFUN_REF_BACK.
15545 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15547 * converter.C (dvipdfm_options): New method.
15549 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15551 * vspace.C (isValidLength): Fix for empty input string.
15553 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15555 * LyXAction.C (init): change description of LFUN_FIGURE to
15558 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15560 * LaTeX.C: add using directive
15562 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15564 * MenuBackend.C (expand): Fix the sorting of the formats.
15566 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15568 * lyx_main.C: tiny error message fix
15570 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15572 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15573 calling fl_initialize(). This fixes the problem with ',' as
15574 decimal separator in text files.
15576 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15578 * trans.C (process): Fix the keymap bug.
15580 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15582 * LaTeX.C (scanAuxFiles): New method. Provides support for
15583 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15584 (scanLogFile) Scan for "run BibTeX" messages.
15586 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15587 OT1 font encoding. Also, load the aecompl package if the ae
15590 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15592 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15594 * texrow.C (increasePos): turn two error messages into debug
15597 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15599 * LaTeX.C (scanAux): Handle the \@input macro.
15600 (runBibTeX): Use scanAux().
15602 * language.C (latex_options_): New field.
15604 * LaTeXFeatures.C (getMacros): Add language macros.
15606 * buffer.C (makeLaTeXFile): Small fix.
15608 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15610 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15612 * text2.C: add a using directive.
15614 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15619 * lyxfunc.C: kill LyXBell.
15621 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15623 * text.C (IsBoundary): Remove the error message
15625 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15627 * lyxrc.C (setDefaults): Correct initialization value for
15630 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15632 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15635 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15636 and GotoNextNote().
15638 * src/LyXAction.C: Added reference-next.
15640 * text.C (InsertChar): Use contains instead of strchr.
15642 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15644 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15646 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15647 alignment commands (when needed).
15649 * text.C (InsertChar): Add ':' to number separator chars.