1 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
3 * debug.h: add DEBUG to enum and fix size of ANY.
5 * debug.C: add support for Debug::DEBUG
6 (showTags): cast errorTags.level to unsigned int
8 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
9 (redoCurrentBuffer): ditto
10 (updateScrollbar): ditto
11 * cursor.C (dispatch): ditto
12 * text2.C (setLayout): ditto
14 (updateCounters): ditto
16 (deleteEmptyParagraphMechanism): ditto
18 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
20 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
21 annotations to cleanup the Makefile slightly.
23 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
25 * lyxrc.C: do not set user_email to a default value but use empty
26 instead. The entry used to be translated, which does not work
27 since at the point where lyxrc is constructed there is no
28 translation service available
30 * messages.C (getLocaleDir): remove and use directly
31 lyx_localedir() instead
33 2004-06-02 Angus Leeming <leeming@lyx.org>
35 Fix crash caused by dereferencing null pointer 'exportdata' in
36 OutputParams by creating a new ExportData variable on the heap,
37 storing it in a boost::shared_ptr.
38 The crash was triggered when generating an Instant Preview
41 * Makefile.am: add outputparams.C
43 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
44 (c-tor): allocate memory to it.
46 * exporter.C (c-tor): associated changes.
48 2004-06-01 Angus Leeming <leeming@lyx.org>
50 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
51 contains data before calling isInset(0). (Bug 1513.)
53 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
55 * exporter.C (checkOverwrite): new method
56 * exporter.C (copyFile): new method
57 * exporter.C (Export): copy referenced files to the document dir
58 * exporter.[Ch]: new class ExportedFile
59 * exporter.[Ch]: new class ExportData. Contains currently the
60 names of referenced external files
61 * outputparams.h: add exportdata member.
63 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
65 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
68 2004-05-19 Angus Leeming <leeming@lyx.org>
73 * lyxfunc.C: small changes due to the introduction of namespace
74 lyx::frontend and the moving of namespace biblio to lyx::biblio.
76 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
78 * text3.C (dispatch): supress update when only moving the cursor
79 * cursor.C (selHandle): remove commented code
81 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
83 * paragraph.C (startTeXParParams): correct column count
84 * CutAndPaste.C (pasteSelection): remove const_cast
85 * output_docbook.C (docbookParagraphs): remove const_cast
86 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
87 const_cast and return ParagraphList::const_iterator
88 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
89 * output_plaintext.C (writeFileAscii): remove const_cast
90 * paragraph.[Ch] (simpleTeXOnePar): make const
91 * paragraph_funcs.C (outerPar): use const iterators
92 * paragraph_pimpl.C (validate): use const iterators
93 * text.C (setHeightOfRow): use const iterators
95 2004-05-17 Angus Leeming <leeming@lyx.org>
98 * LyXAction.C (init): new LFUN_INSET_REFRESH.
100 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
101 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
102 if the citation engine has changed.
104 2004-05-14 José Matos <jamatos@lyx.org>
106 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
107 if the textclass does not provide it. Have it different for sgml and
109 support the language of document.
110 * output_docbook.C (docbookParagraphs):
111 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
112 first anchor as the id of the paragraph, remove special case code.
113 * sgml.C (escapeChar): escape only < & >.
115 2004-05-14 Angus Leeming <leeming@lyx.org>
117 * bufferparams.h: move biblio::CiteEngine enum here to minimize
118 dependencies on src/frontends/controllers/biblio.h. Define a
119 CiteEngine_enum wrapper class to enable the enum to be forward
122 2004-05-12 Angus Leeming <leeming@lyx.org>
124 * buffer.C: up LYX_FORMAT to 234.
125 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
126 use_numerical_citations with a single biblio::CiteEngine cite_engine
128 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
130 2004-05-13 José Matos <jamatos@lyx.org>
133 * converter.C (Converter, readFlags): add xml member.
134 * outputparams.h: add XML flavor.
135 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
137 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
139 * lyxfunc.C (dispatch):
140 (getStatus): fix handling of LFUN_SEQUENCE
142 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
144 * debug.C (showLevel): do not forget the end-of-line marker
146 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
148 * kbmap.C (read): do not stop parsing a bind file when an error
151 2004-04-29 Angus Leeming <leeming@lyx.org>
156 * text2.C: wrap a bunch of #warning statements
157 inside #ifdef WITH_WARNINGS blocks.
159 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
161 * buffer.C: increment format to 233.
163 2004-04-28 Angus Leeming <leeming@lyx.org>
165 * BufferView_pimpl.C:
168 s/updateToolbar()/updateToolbars()/
169 s/Toolbar.h/Toolbars.h/
171 2004-04-28 Angus Leeming <leeming@lyx.org>
173 * BufferView.[Ch] (c-tor):
174 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
175 No longer passes these data to the WorkArea generator.
177 2004-04-28 Angus Leeming <leeming@lyx.org>
179 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
181 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
183 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
185 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
187 * output_latex.C (TeXEnvironment): make sure that there is a line
188 break before \end{foo} for the last paragraph of a document
189 (TeXOnePar): if the paragraph is at the end of the document (or
190 inset) and the language has to be reset, then make sure that the
191 line break is _before_ the language command, not after (fixes bug
192 1225); also make sure that the language reset command is the first
193 thing after the paragraph (to ensure proper nesting of
194 environments and thus fix bug 1404)
196 2004-04-21 John Levon <levon@movementarian.org>
199 * ToolbarBackend.C: make "name" be a programmatic name
200 and a gui_name field.
202 * lyxfunc.C: display the minibuffer on M-x
204 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
206 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
209 2004-04-19 Angus Leeming <leeming@lyx.org>
211 * BufferView_pimpl.C (setBuffer): changed preview interface.
213 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
216 2004-04-19 John Levon <levon@movementarian.org>
218 * BufferView_pimpl.C:
219 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
221 2004-04-05 Angus Leeming <leeming@lyx.org>
223 * text.C (redoParagraphs): add call to updateCounters(), thereby
224 fixing the missing "Figure #:" label from the caption of a
227 2004-04-13 Angus Leeming <leeming@lyx.org>
229 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
230 cursor is clicked out of an inset.
232 2004-04-13 Angus Leeming <leeming@lyx.org>
234 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
235 than an InsetOld one.
237 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
239 * format.[Ch]: add editor to Format
240 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
241 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
243 2004-04-08 André Pönitz <poenitz@gmx.net>
245 * metricsinfo.h: remove PainterInfo::width member
247 2004-04-08 Angus Leeming <leeming@lyx.org>
249 * lyx_sty.C (boldsymbol_def): modify so that it outputs
250 "\providecommand" rather than "\newcommand", thereby preventing
251 clashes with packages that define "\boldsymbol" themselves.
254 2004-04-08 Angus Leeming <leeming@lyx.org>
256 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
257 thereby squashing an unnecessary warning.
259 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
261 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
264 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
266 * BufferView.C (setCursor): call redoParagraph (some insets could
268 (putSelectionAt): remove the 'double update' trick
270 * BufferView_pimpl.C (fitCursor): call refreshPar
271 (workAreaDispatch): remove an uneeded update call
272 (dispatch): remove some manual update calls
274 * cursor.[Ch]: remove cached_y_, updatePos
275 (selHandle): set noUpdate when appropriate
277 * lyxfunc.C (dispatch): track if we need an update
279 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
281 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
282 (paintSelection): cheap optimization, do not call cursorX when not
284 (paintPars): change signature
287 (paintTextInset): adjust
291 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
293 * lengthcommon.C: compilation fix: remove explicit array size from
294 unit_name[] and friends
296 2004-04-05 Angus Leeming <leeming@lyx.org>
298 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
300 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
301 present only for the preferences dialog.
302 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
304 2004-04-05 Angus Leeming <leeming@lyx.org>
306 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
307 to enable the frontends to export changes to lyxrc correctly.
309 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
311 2004-04-07 André Pönitz <poenitz@gmx.net>
313 * cursor.[Ch] (selClear, adjust): remove math
315 * cursor_slice.C: more agressive assert
318 * BufferView_pimpl.C: rework mouse event dispatch
325 2004-04-05 André Pönitz <poenitz@gmx.net>
327 * cursor.[Ch] (valign, halign...): remove unneeded functions
329 2004-04-05 Angus Leeming <leeming@lyx.org>
331 * lyxlength.[Ch] (unit_name et al.): const-correct.
333 2004-04-05 Angus Leeming <leeming@lyx.org>
335 * BufferView_pimpl.C:
344 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
346 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
348 * text3.C (getStatus): add LFUN_BEGINNINGBUF
350 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
352 * lyxfind.C: add a couple of inTexted() tests + other small fixes
353 * BufferView_pimpl.[Ch] (getStatus)
354 * BufferView.[Ch] (getStatus): add
355 * lyxfunc.C (getStatus): move lfuns handled in
356 BufferView::dispatch to te function above
357 * Cursor.C (setSelection): set selection() = true
359 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
361 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
363 2004-03-31 Angus Leeming <leeming@lyx.org>
365 * lyxfunc.C (dispatch): Fall through to the generic
366 Dialogs::show("preamble").
368 2004-03-31 Angus Leeming <leeming@lyx.org>
370 * lyxfunc.C (dispatch): Fall through to the generic
371 Dialogs::show("spellchecker").
373 2004-03-31 Angus Leeming <leeming@lyx.org>
375 * lyxfunc.C (getStatus, dispatch): changed invocation of the
378 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
383 * insetiterator.[Ch]:
388 * undo.[Ch]: s/DocumentIterator/DocIterator/g
390 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
392 * BufferView.C (setCursor, putSelectionAt): call edit to open the
393 insets where we are putting the cursor.
395 2004-03-31 Angus Leeming <leeming@lyx.org>
398 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
400 * lyxrc.[Ch] (read, write): overloaded member functions taking
401 a std::[io]stream arguments.
403 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
405 2004-03-31 Angus Leeming <leeming@lyx.org>
407 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
408 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
410 * lyxtextclass.C (load): if the text class couldn't be loaded, then
411 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
413 2004-03-31 Angus Leeming <leeming@lyx.org>
415 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
416 the LFUN_ALL_INSETS_TOGGLE code.
418 2004-03-30 Angus Leeming <leeming@lyx.org>
420 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
421 has died. Fall through to the generic Dialogs::show("document").
423 2004-03-30 Angus Leeming <leeming@lyx.org>
426 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
427 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
429 * lyxfunc.C (getStatus, dispatch): define the actions for these
430 lfuns. Little more than a cut and pste job from ControlDocument.C
432 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
434 2004-03-30 Angus Leeming <leeming@lyx.org>
437 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
438 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
440 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
441 open/closed state of ollapsable insets. Usage:
443 all-inset-toggle <state> <name>, where
444 <state> == "open" || "closed" || "toggle" and
445 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
447 * lyxtext.h, text2.C (toggleInset): removed.
449 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
450 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
451 now passes LFUN_INSET_TOGGLE to the found inset.
453 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
454 is now invoked as "all-insets-toggle toggle branch".
456 2004-03-30 Angus Leeming <leeming@lyx.org>
460 * pariterator.[Ch]: added/corrected header blurb.
462 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
464 * dociterator.[Ch]: add an inset_ member
465 (backwardPos): implemented
466 (backwardPos, forwardPos): use inset_ when the stack is empty.
467 (doc_iterator_begin, doc_iterator_end): implemented
468 * pariterator.[Ch]: adjust, add begin, end
469 * insetiterator.[Ch]: adjust, add begin, end
473 * BufferView_pimpl.C:
474 * CutAndPaste.C: adjust
476 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
478 * buffer.C: increment file format to 232.
479 * LaTeXFeatures.C: add bibtopic package.
480 * bufferparams.[Ch]: param \use_bibtopic.
482 * lyxrc.[Ch]: add lyxrc bibtex_command
483 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
485 * buffer.C: increment file format to 231.
487 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
489 * dociterator.C: implement forwardPar
490 * iterators.[Ch]: remove, replaced by
491 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
493 * BufferView_pimpl.C:
496 * bufferview_funcs.C:
502 * Makefile.am: adjust
504 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
506 * CutAndPaste.C (pasteSelection): fix 2 crashes
507 (eraseSelection): fix a crash
508 * paragraph_funcs.C: remove a warning
510 2004-03-28 Angus Leeming <leeming@lyx.org>
513 * LyXAction.C (init): new LFUN_PRINT.
515 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
517 2004-03-27 Angus Leeming <leeming@lyx.org>
520 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
522 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
524 2004-03-27 Angus Leeming <leeming@lyx.org>
526 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
527 insetlist always contains non-null pointers to insets.
529 2004-03-26 Angus Leeming <leeming@lyx.org>
531 * src/BufferView_pimpl.C:
535 * src/output_plaintext.C:
536 * src/outputparams.h:
537 * src/paragraph_funcs.C:
541 * src/frontends/controllers/ControlErrorList.C:
542 * src/frontends/gtk/FileDialogPrivate.C:
543 * src/frontends/gtk/GPainter.C:
544 * src/frontends/gtk/GToolbar.C:
545 * src/frontends/qt2/QRef.C:
546 * src/mathed/math_scriptinset.C: squash compiler warnings.
548 2004-03-26 Angus Leeming <leeming@lyx.org>
550 * ispell.C (LaunchIspell::start):
551 * lyx_cb.C (AutoSaveBuffer::start):
552 invoke run(DontWait) rather than runNonBlocking().
554 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
556 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
558 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
560 * kbsequence.C (print): adjust
562 * kbmap.C (printKeySym): rename and change signature
563 (printKey): use LyXKeySym::print()
565 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
567 * undo.C: add using std::advance to compile for stlport
569 2004-03-24 Angus Leeming <leeming@lyx.org>
571 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
572 it leads to a crash when no buffer is present.
574 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
575 Martin Vermeer <martin.vermeer@hut.fi>
577 * lyxfunc.C (dispatch):
578 * bufferparams.C (readToken): use the new LColor::setColor
580 * LColor.[Ch] (setColor): new version that takes two strings as
581 argument and creates a new color entry if necessary
583 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
585 * buffer.C (makeLaTeXFile): if the main latex file that is
586 processed is usually a subdocument of some master, then pretend
587 for a while that it is actually the master
589 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
591 * buffer.C (getLabelList):
592 (getBibkeyList): use getMasterBuffer()
593 (getMasterBuffer): new method. Returns the main document in the
594 case where one is using included documents.
596 2004-03-25 André Pönitz <poenitz@gmx.net>
600 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
602 * ParagraphList_fwd.h: change ParagraphList to a std::vector
604 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
605 text*.C over here. Rename namespace CutAndPaste to lyx::cap
607 * ParameterStruct.h: merge with ParagraphParameters
609 * lyxtext.h: remove LyXText::parOffset() and getPar()
611 * text3.C: Remove all 'manual' update calls. We do now one per user
612 interaction which is completely sufficient.
616 * BufferView_pimpl.C:
619 * ParagraphParameters.[Ch]:
631 * output_docbook.[Ch]:
633 * output_linuxdoc.[Ch]:
634 * output_plaintext.[Ch]:
636 * paragraph_funcs.[Ch]:
637 * paragraph_pimpl.[Ch]:
645 * frontends/controllers/ControlDocument.C:
646 * frontends/controllers/ControlErrorList.C:
647 * frontends/controllers/ControlSpellchecker.C:
650 * insets/insetbase.h:
651 * insets/insetbibitem.C:
653 * insets/insetbranch.C:
654 * insets/insetcaption.C:
655 * insets/insetcharstyle.C:
656 * insets/insetcharstyle.h:
657 * insets/insetcollapsable.C:
658 * insets/insetcollapsable.h:
660 * insets/insetfloat.C:
661 * insets/insetfoot.C:
662 * insets/insetmarginal.C:
663 * insets/insetnote.C:
664 * insets/insetoptarg.C:
665 * insets/insettabular.C:
666 * insets/insettext.C:
667 * insets/insettext.h:
668 * insets/insetwrap.C:
669 * mathed/math_mboxinset.C:
670 * mathed/math_nestinset.C:
671 * mathed/math_scriptinset.C:
672 * mathed/math_scriptinset.h:
675 2004-03-24 Angus Leeming <leeming@lyx.org>
677 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
678 deal with any child processes that have finished but are waiting to
679 communicate this fact to the rest of LyX.
681 2004-03-24 Angus Leeming <leeming@lyx.org>
683 64-bit compile fixes.
685 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
686 (c-tor): pass lyx::pos_types rather than ints.
688 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
691 * text.C (Delete): compile fix.
692 (getPar): ensure that function declaration is the same as that in
695 2004-03-23 Angus Leeming <leeming@lyx.org>
697 * ispell.C (LaunchIspell):
698 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
699 a boost::shred_ptr rather than a std::auto_ptr.
701 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
703 * lyxfunc.C (getStatus): handle read-only buffers correctly;
704 handle LFUN_FILE_INSERT_*
706 * lyxrc.C (setDefaults, getDescription, output, read):
707 * lyxrc.h: remove ps_command
709 2004-03-22 Angus Leeming <leeming@lyx.org>
711 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
712 Ensure that error_handler is processed once only and that all data
713 is saved before attempting to output any warning messages.
715 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
717 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
719 * tabular.C (TeXRow): crash fix (from Kayvan and André)
721 2004-03-19 André Pönitz <poenitz@gmx.net>
723 * cursor.[Ch] (reset): take main text inset as argument
726 * BufferView_pimpl.C: adjust
728 * paragraph.[Ch]: fix completely broken operator=()
730 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
732 * LColor.C (getFromLyXName): make sure that the color name is used
735 2004-03-17 Angus Leeming <leeming@lyx.org>
738 * LyXAction.C (init): remove LFUN_FORKS_KILL.
740 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
741 dialog and to kill a forked process.
743 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
745 * text2.C (setCursorFromCoordinates): fix font problem
747 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
749 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
750 bogus "rebuild cursor" code
752 2004-03-11 André Pönitz <poenitz@gmx.net>
754 * buffer.[Ch]: use InsetText instead of LyXText as container for
757 * dociterator.[Ch]: drop the BufferView * member which is not needed
758 anymore after the change to buffer.C
764 * BufferView_pimpl.[Ch]:
766 * cursor_slice.[Ch]: adjust
768 * text3.C: fix bug in mathDispatch
770 2004-03-08 André Pönitz <poenitz@gmx.net>
772 * undo.[Ch]: use 'StableDocumentIterator' as base for
775 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
778 * bufferparams.[Ch]: add jurabib support and param.
780 * LaTeX.C: add FIXME/comment.
782 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
784 * buffer.C: increment file format to 230.
786 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
788 * cursor.C (dispatch): avoid infinite loops
790 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
792 * rowpainter.C (paintSelection): fix x coordinates
794 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
796 * text.C (rowBreakPoint): fix breaking before displayed insets
798 2004-03-01 André Pönitz <poenitz@gmx.net>
800 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
802 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
806 * BufferView_pimpl.C:
814 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
820 * BufferView_pimpl.C: rename textwidth -> maxwidth,
821 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
823 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
825 * Bidi.[Ch] (computeTables): const correctness
826 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
827 fill_hfill, fill_label_hfill and x from Row
828 * lyxtext.h: prepareToPrint returns a RowMetrics
829 * rowPainter.C: adjust
830 * text.C (prepareToPrint): use width, not textWidth. adjust
831 (redoParagraphInternal, cursorX): adjust
832 * text2.C (getColumnNearX): adjust
833 (init): put a default value to the top LyXText::width
835 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
837 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
839 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
841 * lyxtext.h: add FontIterator class
843 * text.C (FontIterator, operator*, operator->, operator++): add
844 (rowBreakPoint, setRowWidth): adjust (fixing a
847 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
849 * BufferView_pimpl.C (workAreaDispatch): allow also
850 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
852 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
854 * text.C (rowBreakPoint): fix a bug showing with very large insets
856 2004-02-25 André Pönitz <poenitz@gmx.net>
859 * cursor.[Ch]: move some mathed specific code to mathed
861 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
863 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
864 use_tempdir in preferences
865 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
867 * lyx_main.C: ensure that tempdir is valid
868 * lyxlex.h: correct typo
869 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
870 * paragraph.[Ch] (isMultiLingual): make const
871 * cursor.[Ch] (openable): make const
873 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
875 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
877 2004-02-20 André Pönitz <poenitz@gmx.net>
879 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
881 * cursor.[Ch]: prepare for localized getStatus()
887 * text3.C: streamlines the LyXText cursor movement handlers a bit.
889 2004-02-20 André Pönitz <poenitz@gmx.net>
891 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
893 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
895 * text2.C (setCursorFromCoordinates): switch to absolute coords
898 * text3.C (dispatch): adjust
900 2004-02-16 André Pönitz <poenitz@gmx.net>
902 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
905 * cursor_slice.[Ch]: remove unneeded acessor function
907 * lyxtext.h: rename rtl() to isRTL()
915 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
917 * rowpainter.C (paintSelection): coord fix
919 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
921 * Spacing.C: compile fix
923 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
925 * cursor.C (dispatch): restore current_ before returning
927 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
929 * text2.C (cursorUp, cursorDown): fix coords
932 2004-02-12 André Pönitz <poenitz@gmx.net>
937 * text3.C: add LCursor & parameter to most cursor movement functions
938 remove usage of LyXText::cursorRow() and cursorPar()
940 * cursor.[Ch]: add textRow() needed members
943 * BufferView_pimpl.C:
946 * BufferView_pimpl.C: adjust
948 2004-02-11 André Pönitz <poenitz@gmx.net>
952 * BufferView_pimpl.C: shift undo/redo handling
954 * cursor.[Ch]: fix mathed crash
957 * lyxtext.h: move selectionAsText to LCursor
965 * rowpainter.C: fix excessive drawing
967 2004-02-06 André Pönitz <poenitz@gmx.net>
970 * BufferView_pimpl.[Ch]:
971 * text3.C: move some text specific LFUN handling
973 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
975 * text3.C (checkInsetHit): adjust coords
976 * text2.C (getColumnNearX): adjust coords
977 (edit): adjust coords
978 * text.C (getRowNearY): add two asserts
980 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
983 * format.C: add using std::distance to compile on gcc 2.95/stlport
985 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
987 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
989 2004-02-04 André Pönitz <poenitz@gmx.net>
991 * BufferView.[Ch] (insertInset):
992 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
997 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
999 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1000 on the default clause of the switch
1001 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1002 wasn't catched by LCursor::dispatch
1004 2004-02-03 André Pönitz <poenitz@gmx.net>
1007 * cursor.[Ch]: some additional asserts
1009 * undo.[Ch]: remove LyXText dependency in interface
1013 * lyxtext.h (firstPar, lastPar): remove dead functions
1018 * paragraph.[Ch]: adjust
1020 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1022 * lyxfind.C (find): fix argument order in call to ::find
1024 2004-02-02 André Pönitz <poenitz@gmx.net>
1026 * cursor.[Ch]: remove direct access to anchor
1028 * text.C: remove findText() hack
1030 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1032 * iterators.[Ch] (lockPath): remove in favour of...
1033 * BufferView.[Ch] (setCursor): this addition
1034 * BufferView.C (putSelectionAt): adjust
1035 * undo.C (performUndoOrRedo): adjust
1036 * lyxfunc.C (dispatch): adjust
1038 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1040 * iterators.C (lockPath): add a missing slice
1041 * undo.C (performUndoOrRedo): remove redundant positioning code
1043 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1045 * vc-backend.C (scanMaster): ";" -> ';'
1047 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1049 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1050 std::binary_function
1052 * lyxtextclass.C (compare_name): rename to...
1053 (LayoutNamesEqual): ...this
1055 * lyxlex_pimpl.C (compare_tags): inherit from
1056 std::binary_function, put back into anon namespace
1058 * lyxfind.C (MatchString): inherig from std::binary_function
1059 (findChange): use empty() istead of !size()
1061 * format.C (FormatNamesEqual): new functor
1068 * converter.C (compare_Converter): rename to...
1069 (ConverterEqual): ...this, and fixup a bit.
1070 (getConverter): use it, and make function const
1071 (getNumber): use it, and make function const
1075 * bufferlist.C: add using boost::bind
1077 * MenuBackend.C (MenuNamesEqual): new functor
1078 (hasMenu): use it, and make function const
1079 (hasSubmenu): use nested bind to get rid of compare_memfun.
1081 2004-01-30 André Pönitz <poenitz@gmx.net>
1083 * BufferView_pimpl.C:
1086 * cursor_slice.[Ch]:
1089 * paragraph_funcs.C:
1090 * paragraph_funcs.h:
1094 * text3.C: move some of the edit(x,y) handling to the insets
1095 some coordinate changes.
1097 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1099 * text.C: add using statements for std::advance and std::distance
1101 * paragraph.C: add using statement for std::distance
1103 * lyxfind.C: add using statement for std::advance
1105 * cursor.C (region): remove std:: from swap
1106 (openable): use nucleus in stead of operator->
1108 * BufferView.C: add using statements for std::distance and std::swap
1110 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1112 * iterators.C: Remove the pimple, move the needed structures to
1113 the header file. Create accessor for the positions stack.
1114 (asPosIterator): remove function
1116 * PosIterator.C (PosIterator): move constructors to top of file
1117 (PosIterator): reimplement the constructor taking a ParIterator in
1119 (setFrom): new function
1120 (operator!=): inline it
1122 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1124 * lyxfind.C (replaceAll): use std::advance
1126 * iterators.h: inherit from std::iterator.
1128 * PosIterator.C (advance, distance): remove
1129 * PosIterator.h: interit from std::iterator.
1131 2004-01-26 André Pönitz <poenitz@gmx.net>
1134 * BufferView_pimpl.[Ch]:
1138 * bufferview_funcs.C:
1148 * output_linuxdoc.C:
1149 * output_plaintext.C:
1151 * paragraph_funcs.[Ch]:
1152 * paragraph_pimpl.[Ch]:
1158 * text3.C: more IU: dumps most of the rest of the mathcursor
1159 implementation into cursor.[Ch]; "globalize" a bit of it.
1161 2004-01-25 Angus Leeming <leeming@lyx.org>
1163 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1165 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1167 * LaTeXFeatures.h: add nice_ and nice() const
1168 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1170 2004-01-20 André Pönitz <poenitz@gmx.net>
1173 * BufferView_pimpl.C:
1175 * bufferview_funcs.C:
1177 * cursor_slice.[Ch]:
1188 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1189 LCursor and mathcursor parts to LCursor and InsetBase.
1191 2004-01-15 André Pönitz <poenitz@gmx.net>
1193 * cursor_slice.[Ch]: add a few covienience functions
1195 * funcrequest.[Ch]: remove BufferView * member
1197 * BufferView_pimpl.C:
1204 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1206 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1208 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1209 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1211 2004-01-13 André Pönitz <poenitz@gmx.net>
1214 * lyxtext.h: hide cursor and selection anchor behind accessor function
1217 * BufferView_pimpl.[Ch]:
1219 * bufferview_funcs.C:
1229 * cursor_slice.[Ch]: some integer type changes for inset unification
1231 * lyxcursor.[hC]: remove, it's CursorSlice now.
1234 * BufferView_pimpl.[Ch]:
1235 * bufferview_funcs.C:
1241 * textcursor.[Ch]: adjust
1243 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1245 * text2.C (undoSpan): add and use
1246 * text.C (breakParagraph): use undoSpan (fix bug 578)
1249 2004-01-08 Angus Leeming <leeming@lyx.org>
1251 * BufferView_pimpl.C (MenuInsertLyXFile):
1252 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1253 * lyxfunc.C (menuNew, open, doImport):
1254 FileFilterList change to the FileDialog open and save functions.
1256 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1258 * ShareContainer.h: make isEqual and isUnique adaptable
1260 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1262 2004-01-07 Angus Leeming <leeming@lyx.org>
1265 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1267 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1269 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1270 functions replacing find, replace and replaceAll.
1272 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1273 LFUN_WORDFIND(FORWARD|BACKWARD).
1275 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1277 * text.C (breakParagraph): remove an outdated #warning
1279 2004-01-07 André Pönitz <poenitz@gmx.net>
1281 * lyxfind.C: somewhat clearer logic
1283 * text.C: prevent crash in cursorX on unitialized row cache
1285 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1287 * lyxcursor.[Ch] (operator>): add
1288 * textcursor.C (selStart, selEnd): use std::min and std::max
1290 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1292 * Chktex.C: include boost/format.hpp
1294 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1296 * InsetList.C: replace functor MathcIt with adaptable functor
1298 (insetIterator): modify accordingly
1300 * BranchList.h: move the BranchNamesEqual functor here from...
1301 * BranchList.C: ... to here
1303 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1305 (add): replace a finding loop with std::find_if.
1307 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1309 * output_docbook.C: moving LatexParam functionality into
1312 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1314 * buffer.C: increment format to 229.
1316 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1319 * lyx_sty.[Ch]: remove minipageindent_def
1325 * text3.C: remove LFUN_INSET_MINIPAGE
1327 2003-12-28 Angus Leeming <leeming@lyx.org>
1329 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1331 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1333 * text2.C (setParagraph): fix off-by-one crash
1335 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1337 * output_docbook.C: header stuff for AGU
1339 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1341 * text2.C (redoCursor): remove
1344 * BufferView_pimpl.C: remove calls to redoCursor and
1345 setCursor(cursor.par(), cursor.pos()) all around
1347 2003-12-15 Angus Leeming <leeming@lyx.org>
1349 * buffer.C: up the format to 228.
1351 2003-12-15 André Pönitz <poenitz@gmx.net>
1353 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1358 * BufferView_pimpl.C:
1367 2003-12-15 Angus Leeming <leeming@lyx.org>
1369 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1370 than getFromGUIName to manipulate the color.
1372 2003-12-14 Angus Leeming <leeming@lyx.org>
1374 * BranchList.[Ch]: minimize the API.
1375 (Branch::getBranch, getColor): now return a 'const &'.
1376 (Branch::setSelected) now returns a bool set to true if the
1377 selection status changes.
1378 (BranchList::clear, size, getColor, setColor, setSelected,
1379 allBranches, allSelected, separator): removed.
1380 (BranchList::find): new functions, returning the Branch with
1382 (BranchList::add, remove): return a bool indicating that
1383 the operation was successful.
1385 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1386 new InsetBranch::isBranchSlected member function.
1388 * LColor.[Ch]: mimimize the API.
1389 (fill): renamed as addColor and made private.
1390 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1391 versions of these functions taking a string arg have been removed.
1393 * bufferparams.C (readToken):
1394 * lyxfunc.C (dispatch):
1395 * lyxrc.C (read): changes due to the altered BranchList and
1398 * factory.C (createInset, readInset): changes due to altered
1401 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1404 * lyxfunc.C: remove insetminipage. "minipage-insert"
1405 now produces a frameless minipage box inset.
1407 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1409 * textcursor.[Ch] (selStart,selEnd): add new methods
1410 remove selection::start, end, use LyXCursor::operator<
1411 * lyxcursor.[Ch] (operator<): add
1412 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1413 * BufferView.[Ch] (unsetXSel): add
1414 * text2.C (clearSelection): use unsetXSel,adjust
1417 * rowpainter.C: adjust
1418 * bufferview_funcs.C (put_selection_at): adjust
1420 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1422 * BufferView_pimpl.C: small coord. correction
1424 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1426 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1427 dragging over the splash screen.
1429 2003-12-11 Angus Leeming <leeming@lyx.org>
1431 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1432 as it is now handled in LyXText::dispatch.
1434 * text3.C (doInsertInset): remove a level of nesting.
1436 2003-12-11 Angus Leeming <leeming@lyx.org>
1438 * factory.C (createInset): changes due to the changed interface to
1439 InsetCommandMailer::string2params.
1441 2003-12-10 Angus Leeming <leeming@lyx.org>
1443 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1444 'dialog-show-new-inset <inset name>'
1446 2003-12-10 Angus Leeming <leeming@lyx.org>
1448 * buffer.C: up the format to 227.
1450 * factory.C: the box inset is now identified simply by 'Box'.
1452 2003-12-10 Angus Leeming <leeming@lyx.org>
1454 * buffer.C: up the format to 226.
1456 * factory.C: the note inset is now identified simply by 'Note'.
1458 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1460 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1461 when a pit is enough. Standarize a couple of loops.
1463 2003-12-05 Angus Leeming <leeming@lyx.org>
1465 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1466 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1467 data to the re-worked "log" dialog.
1469 2003-12-03 André Pönitz <poenitz@gmx.net>
1475 * paragraph_funcs.C:
1477 * text2.C: use Inset::getText instead of Inset::getParagraph
1479 2003-12-03 André Pönitz <poenitz@gmx.net>
1483 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1484 InsetText::read() as LyXText::read()
1486 2003-12-02 Angus Leeming <leeming@lyx.org>
1488 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1489 type. Add a comment in the implementation that the function uses
1490 the stream's bad() function rather than fail() as the std::streams
1493 2003-12-02 André Pönitz <poenitz@gmx.net>
1495 * lyxlex.[Ch]: make interface more similar to std::stream
1497 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1499 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1501 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1503 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1505 * vspace.[Ch]: remove VSpace::NONE
1507 2003-12-01 André Pönitz <poenitz@gmx.net>
1510 * lyxtext.h: move ParagraphList member to LyXText
1511 rename LyXText::ownerParagraphs to LyXText::paragraph
1514 * bufferview_funcs.C:
1524 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1526 * undo.C: fix cursor positioning
1528 2003-12-01 John Levon <levon@movementarian.org>
1530 * BufferView_pimpl.C: fix a crash on exit with
1533 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1535 * BranchList.C: fix setSelected() method.
1537 2003-11-28 André Pönitz <poenitz@gmx.net>
1539 * ParagraphParameters.[Ch]:
1540 * ParameterStruct.h: remove space above/below from Paragraph to
1543 * BufferView_pimpl.C:
1549 * paragraph_funcs.C:
1555 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1557 * factory.C: Syntax change for CharStyles
1559 2003-11-28 André Pönitz <poenitz@gmx.net>
1564 * buffer.[Ch]: move LyXText member
1566 2003-11-28 André Pönitz <poenitz@gmx.net>
1568 * BufferView.[Ch]: make LyXText * text a private member
1570 * BufferView_pimpl.C:
1581 * output_plaintext.C: cleanup
1583 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1586 * lyxtextclass.[Ch]: parametrize SGML document header
1588 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1591 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1594 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1596 * text2.C (setFont): rework using PosIterator (no more recursive)
1597 (setCharFont): no more needed
1598 (setLayout): no more selection cursors fiddling (done by redoCursor)
1599 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1600 destroy remaining ones)
1602 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1604 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1606 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1609 * text3.C: adjust + re-allow multi par depth changes
1610 * textcursor.C: simplify a bit
1612 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1618 * src/output_docbook.C:
1619 * src/output_latex.C:
1624 * src/text2.C: Introducing a number of tags parametrizing various
1625 XML formats that we may want to support
1627 2003-11-25 André Pönitz <poenitz@gmx.net>
1629 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1631 * lyxtext.h (leftMargin/rightMargin): simplify interface
1638 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1640 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1641 master file to any child files. Fixes bug 546.
1643 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1645 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1647 2003-11-24 André Pönitz <poenitz@gmx.net>
1649 * rowpainter.C: simplification
1651 * text2.C (updateCounters): remove call to redoParagraph on
1652 changed labels as this is far too expensive.
1654 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1656 * converter.C (convert): fix a crash: this function gets
1657 called with buffer == 0 from importer code.
1659 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1661 * text3.C (cursorPrevious): make sure that we do not compare
1662 iterators form different containers.
1665 * rowpainter.C (paintSelection): make sure that we do not compare
1666 iterators from different containers.
1668 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1669 iterators from different ParagraphList containers.
1672 * text2.C (LyXText): change order of initialization slightly
1673 (operator=): new function. copy all variables except cache_par_
1674 (moveUp): make sure that we do not compare iterators from
1675 different ParagraphList constainers.
1678 * text.C (firstPar): new function
1679 (lastPar): new function
1680 (endPar): new function
1682 * lyxtext.h: move things around and group public functions, public
1683 variables, private functions, private variables
1685 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1687 * factory.C: change call to InsetERT constructor to avoid
1688 additional invocation of method status
1689 * text2.C (toggleInset): remove redundant update() call
1690 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1691 instead of a Bufferview pointer
1693 2003-11-21 André Pönitz <poenitz@gmx.net>
1695 * rowpainter.C: simplification
1697 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1699 * text3.C (dispatch): make possible to extend a word/row selection
1702 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1704 * lyxtext.h: x0_,y0_ -> xo_,yo_
1705 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1706 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1707 * rowpainter.C (paintRows): paint full paragraphs
1709 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1711 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1714 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1716 * lyxtext.h: add x0_, y0_
1717 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1718 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1720 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1722 * text2.C (setCursorIntern): move the x_target update here *
1723 * text3.C: change some bv() to true/false in calls to
1724 cursorUp/Down/Right/Left
1725 * cursor.C: use helper function.
1727 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1729 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1730 * paragraph_funcs.[Ch]: correct comment
1731 * rowpainter.C: do not paint selections away from bv->cursor()
1732 Fix a long standing selection painting bug.
1733 * text3.C: generalize mouse-selection code to LyXTexts other that
1735 * textcursor.C: do not use y coords if we can use par offsets
1737 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1739 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1740 cursor position after e.g. inset insert)
1742 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1744 * lyxfind.C (replace): adjust to locking removal + some
1747 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1749 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1752 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1755 * output_docbook.C: XML sanitation: new layout
1756 parameters InnerTag and CommandDepth
1758 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1760 * BufferView_pimpl.C:
1762 * text3.C: Fix the insertion and modification of button-style
1765 2003-11-13 André Pönitz <poenitz@gmx.net>
1767 * InsetList.[Ch]: remove deleteLyXText
1769 * paragraph.[Ch]: cache beginOfBody position
1774 * text3.C: remove superfluous update() calls
1778 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1780 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1781 * BufferView.C (fitLockedInsetCursor): remove
1782 * cursor.[Ch] (getDim): add
1783 * text.C (getRowNearY): add faster version
1784 * text3.C: remove some update calls
1786 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1798 * text3.C: The Character Style /XML short element patch.
1800 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1803 * factory.C: Small step to solving 'unable to insert some insets'
1806 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1808 * cursor.[Ch] (updatePos): new function for updating the y
1809 position of the tip inset
1810 * bufferview_funcs.C (put_selection_at):
1811 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1813 2003-11-11 André Pönitz <poenitz@gmx.net>
1815 * text.C: remove big comment on invalid Paragraph pointers as it is
1818 2003-11-11 André Pönitz <poenitz@gmx.net>
1820 * text_funcs.[Ch]: merge with ...
1828 * Makefile.am: remove text_funcs.[Ch]
1830 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1832 * cursor.C (getPos): return absolute cached y coord
1834 * BufferView_pimpl.C (fitCursor): new simplistic code
1835 (workAreaDispatch): add a fitCursor call
1837 2003-11-10 André Pönitz <poenitz@gmx.net>
1840 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1842 2003-11-10 André Pönitz <poenitz@gmx.net>
1844 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1845 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1846 indicate that the cursor needs to leave an inset
1848 * lyxtext.h: remove inset locking
1850 * cursor.[Ch]: re-implement functionality provided by inset locking
1853 * BufferView_pimpl.[Ch]:
1855 * bufferview_funcs.[Ch]:
1867 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1869 * PosIterator.[Ch]: replace the stack with a vector, add inset
1871 * iterators.[C]: adjust
1873 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1875 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1877 * paragraph_funcs.C (readParToken): put the correct id in the
1878 error item, not the id of the top paragraph
1880 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1882 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1883 * bufferview_funcs.C (put_selection_at): use the above
1885 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1887 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1889 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1891 * output_linuxdoc.h:
1892 * output_plaintext.h:
1894 * output_docbook.h: add #include statements
1896 2003-11-05 José Matos <jamatos@lyx.org>
1898 * output_docbook.[Ch]:
1899 * output_latex.[Ch]:
1900 * output_linuxdoc.[Ch]:
1901 * output_plaintext.[Ch]: New files for output formats.
1902 * output.[Ch]: New file for helper functions.
1905 * paragraph_funcs.[Ch]: output functions moved to new files.
1907 * outputparams.h: rename of latexrunparams.h
1915 * paragraph_funcs.[Ch]:
1916 * paragraph_pimpl.[Ch]:
1917 * tabular.[Ch]: rename ascii to plaintext
1918 and LatexRunParams to OutputParams.
1920 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1922 * iterators.[Ch] (text): require bv argument
1923 * undo.C (recordUndo):
1924 * lyxfunc.C (dispatch):
1925 * bufferview_funcs.C (put_selection_at): adjust
1927 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1929 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1931 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1933 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1936 2003-11-04 André Pönitz <poenitz@gmx.net>
1938 * cursor.[Ch]: restructure
1941 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1943 * iterators.[Ch] (asCursor): remove
1945 * lfuns.h: remove LFUN_INSET_EDIT
1951 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1953 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1955 * lyxfind.[Ch]: complete overhaul
1956 * BufferView_pimpl.C:
1958 * paragraph.[Ch] (insert): add
1960 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1964 * text.C: remove dead spellcheck code
1966 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1968 * dispatchresult.h: add a val setter
1970 * cursor.C (dispatch): use a tempvar for data_[i]
1972 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1974 * PosIterator.[Ch]: compile fix
1976 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1978 * text.C (cursorPar): deactivate the cursor cache
1980 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1982 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1984 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1986 * text3.C (dispatch): adjust for new DisptchResult semantics.
1988 * lyxfunc.C (dispatch): handle update when return from
1989 Cursor::dispatch, adjust for new DispatchResult semantics.
1991 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1992 DispatchResult(true) mean to not update. Add class functions for
1993 setting dispatched and update, as well as reading.
1995 * cursor.C (dispatch): don't handle update here
1997 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1999 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2000 * trans_mgr.C: adjust
2002 * paragraph_funcs.C (readParToken): exception safety
2004 * lyxvc.h: store the vcs pointer in a scoped_ptr
2007 * lyxsocket.C (serverCallback): exception safety
2009 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2011 * ispell.C (clone): make it return a auto_ptr
2013 * factory.C (createInset): exception safety
2014 (readInset): exception safety
2016 * bufferlist.C (newBuffer): exception safety
2018 * Thesaurus.C (Thesaurus): use initialization for aik_
2020 * MenuBackend.C (expandToc): exception safety.
2022 2003-11-03 André Pönitz <poenitz@gmx.net>
2026 * bufferview_funcs.C: remove getInsetFromId()
2029 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2035 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2037 * PosIterator.C (distance, advance): new
2038 * bufferview_funcs.[Ch] (put_selection_at): new
2039 * iterators.[Ch] (lockPath): new
2041 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2043 * iterators.[Ch] (asPosIterator): added
2044 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2045 * PosIterator.[Ch]: added
2047 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2051 * cursor.C (dispatch):
2052 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2054 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2055 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2056 contructor, add a class function dispatched. Remove operator>=
2058 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2060 * debug.C: only use the default constructor for debugstream
2063 * main.C (main): include debug.h and setup the lyxerr streambuf
2066 2003-10-31 José Matos <jamatos@lyx.org>
2068 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2070 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2071 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2072 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2073 * paragraph_pimpl.C (simpleTeXSpecialC):
2074 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2075 add LatexRunParams argument.
2077 * exporter.C (Export): change call accordingly.
2079 * latexrunparams.h: add new member to take care of the other backends.
2080 2003-10-30 José Matos <jamatos@lyx.org>
2082 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2083 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2084 factorise code for paragraph output.
2086 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2089 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2091 * text3.C (dispatch):
2092 * lyxfunc.C (dispatch):
2093 * cursor.C (dispatch):
2094 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2096 * dispatchresult.h: make the dispatch_result_t ctor explicit
2098 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2101 * buffer.C: small refactoring of docbook stuff
2103 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2105 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2108 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2110 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2111 operator dispatch_result_t, and operators for == != and >=
2113 * cursor.C (dispatch): adjust for operator dispatch_result_t
2114 removal. comment out call to update
2116 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2118 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2126 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2129 * dispatchresult.h: new file, DispatchResult broken out of
2132 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2134 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2136 * text.C (rowBreakPoint): put a hack inside #if 0
2138 2003-10-28 André Pönitz <poenitz@gmx.net>
2142 * paragraph_funcs.C:
2145 * text2.C: general cleanup (lots of small stuff)
2147 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2149 * text2.C (cursorEnd): simple fix to the "end key goes to one
2150 before the end on last row" bug
2152 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2154 * text.C (backspace): fix the "zombie characters"
2156 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2158 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2160 2003-10-27 André Pönitz <poenitz@gmx.net>
2162 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2164 * factory.C: handle new InsetPagebreak, InsetLine
2166 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2167 and move handling into new InsetPagebreak, InsetLine
2169 * BufferView_pimpl.C:
2171 * ParagraphParameters.C:
2172 * ParameterStruct.h:
2177 * paragraph_funcs.C:
2178 * paragraph_pimpl.C:
2184 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2187 * lyxrow_funcs.[Ch]:
2193 * text3.C: remove lastPos uses in favour of Row::endpos
2195 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2197 * undo.C (performUndoOrRedo): fix two crashes by setting a
2198 cursor by hand and reordering some calls. Use bv->lockInset instead
2199 of inset->edit because the latter loses cursor information
2201 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2203 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2205 (rowBreakPoint): fix width. change point to point + 1.
2206 Add a missing check.
2208 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2211 * lyxfunc.C: fix (at least partly) the problems
2212 with the Nav menu and headers inside branch insets
2215 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2217 * paragraph.C (getChar): add strong asserts
2219 * lyxrow_funcs.C (lastPos): remove hideous hack
2221 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2222 (fill): adjust to that (avoid an infinite loop)
2224 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2226 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2228 2003-10-23 André Pönitz <poenitz@gmx.net>
2230 * RowList_fwd.h: change list<> to vector<> to gain speed
2231 after suggestion from Alfredo
2233 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2235 * lyxtext.h: move the bidi stuff from here...
2238 * Bidi.[Ch]: ... to here
2240 2003-10-23 André Pönitz <poenitz@gmx.net>
2243 * text.C (isLastRow, isFirstRow): new functions
2245 * paragraph.h: new width cache member
2247 * rowpainter.C: replace RowList::iterator with Row & where possible
2249 * lyxfunc.C: replace several view()->text with a single call
2251 * toc.C: fix 'unused' warning
2253 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2255 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2256 when woring with stream::pos_type
2257 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2259 2003-10-22 André Pönitz <poenitz@gmx.net>
2262 * text.C: use Row & instead of RowList::iterator
2264 * lyxrow.h: rename end() to endpos()
2270 2003-10-22 Angus Leeming <leeming@lyx.org>
2272 * buffer.[Ch] (fully_loaded): new member function, returning true
2273 only when the file has been loaded fully.
2274 Used to prevent the premature generation of previews and by the
2275 citation inset to prevent computation of the natbib-style label.
2277 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2278 templates are all set up.
2280 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2282 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2284 * text.C: fixed an "oops" in the "is a bit silly"
2287 2003-10-21 André Pönitz <poenitz@gmx.net>
2289 * FuncStatus.[Ch]: small stuff, whitespace
2291 * lyxfont.[Ch]: operator<<() for debug reasons
2295 * lyxtext.h: whitespace, spelling
2297 * paragraph.C: naming of variables
2300 * text2.C: small stuff
2303 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2305 * text.C: (1) finish off the inset display() work;
2306 (2) fix the "is a bit silly" bug (accessing char
2309 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2311 * text.C: re-introduce display() for insets, fixing the
2312 various bugs (stretch of line above, math inset
2315 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2317 * text.C (rightMargin): remove spurious semicolon
2319 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2322 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2324 * text3.C: fix one crash due to wrong cursor def
2326 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2328 * vc-backend.C (scanMaster): make the regex static
2330 * LaTeX.C (scanAuxFile): make the regexs static
2332 * text3.C (doInsertInset, dispatch, dispatch):
2333 * text2.C (cursorUp, cursorDown):
2334 * text.C (selectNextWordToSpellcheck):
2335 * BufferView_pimpl.C (dispatch):
2336 * lyxfunc.C (dispatch): localDispatch -> dispatch
2338 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2340 * lyxsocket.C: include <cerrno>
2342 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2344 * lyxfunc.C (dispatch): remove textcache stuff
2346 * bufferlist.C (release): remove textcache stuff
2349 * TextCache.C: delete file
2350 * TextCache.h: delete file
2352 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2354 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2355 delete of the bv_->text.
2356 (resizeCurrentBuffer): remove texcache stuff
2357 (workAreaResize): ditto
2359 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2361 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2364 2003-10-16 André Pönitz <poenitz@gmx.net>
2371 * text3.C: speed up by storing y positions per paragraph plus per-row
2372 offset instead of having a 'full' y position in the row.
2374 2003-10-15 André Pönitz <poenitz@gmx.net>
2378 * undo.[Ch]: make undo aware of inner insets
2380 2003-10-14 Angus Leeming <leeming@lyx.org>
2382 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2383 static member functions LyX::ref() and LyX::cref.
2384 (lastfiles): new accessor functions for the new lastfiles_ member var.
2385 (addLyXView, views_): add a new LyXView to the list of views_.
2386 (updateInset): loop over all LyXViews to call their own updateInset
2387 member function, returning a pointer to the Buffer owning the inset.
2389 * BufferView_pimpl.C (loadLyXFile):
2390 * MenuBackend.C (expandLastfiles):
2391 * bufferlist.C (MenuWrite, QuitLyX):
2392 lastfiles is no longer a global variable.
2393 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2395 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2396 static function. Access through LyX::cref().emergencyCleanup().
2398 2003-10-14 André Pönitz <poenitz@gmx.net>
2400 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2402 * undo.[Ch]: restoring part of 'undo in insets'
2405 * undo_funcs.[Ch]: merge with undo.[Ch]
2407 * tabular.C: small cleansing stuff
2409 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2411 * paragraph_funcs.C (readParToken): report unknown insets as error
2412 boxes. Use the outer paragraph as location (also for unknown
2415 * factory.C (readInset): do not abort on reading an unknown inset.
2416 Eat it and return 0.
2418 2003-10-13 Angus Leeming <leeming@lyx.org>
2420 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2422 * lyxrc.C: displayTranslator is now a function,
2423 declared in GraphicsTypes.h.
2425 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2427 * format.C: new placeholder $$a to pass the socket address.
2429 * bufferlist.[Ch]: new function getBufferFromTmp.
2431 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2432 files in the temporary dir.
2434 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2436 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2438 * Makefile.am: add lyxsocket.[Ch].
2440 * lyx_main.C (error_handler): handle SIGPIPE.
2442 2003-10-13 André Pönitz <poenitz@gmx.net>
2444 * BufferView_pimpl.C:
2449 * undo_funcs.[Ch]: use paroffset_type instead of
2450 ParagraphList::iterators to prevent multiple conversion
2451 (and get a more robust interface)
2453 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2455 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2457 * text3.C (dispatch): ditto
2459 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2461 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2462 move the onlyfile, use onlyfile instead of foundfile in a couple
2465 * DepTable.C (update): flush the error stream a bit more
2467 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2469 * lyxserver.C (callback): adjust
2471 * lyxfunc.C (getStatus): add a missing brace in commented code
2472 (ensureBufferClean): reindent
2473 (dispatch): delete version taking a string
2475 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2477 * LaTeX.C (deplog): move found file handlig from here...
2478 (handleFoundFile): .. to new function here.
2479 (deplog): make sure to discover several files mentioned on the
2482 2003-10-10 André Pönitz <poenitz@gmx.net>
2489 * text3.C: fix some of the tabular crashes
2491 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2493 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2495 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2497 2003-10-09 André Pönitz <poenitz@gmx.net>
2499 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2502 * BufferView_pimpl.C:
2503 * bufferview_funcs.C:
2514 * undo_funcs.C: adjust
2516 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2518 * text2.C (incrementItemDepth): new function, use a backtracking
2519 algorithm to discover the correct item depth.
2520 (resetEnumCounterIfNeeded): new function, use a backtracking
2521 algorithm to discover if counter reset is needed.
2522 (setCounter): use them. Simplify a bit. Add different labels for
2523 different item depths for itemize.
2525 * paragraph.C (Paragraph): remove initialization of enumdepth
2528 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2529 enumerate and itemize. Change the type of itemdepth to signed char.
2531 2003-10-08 André Pönitz <poenitz@gmx.net>
2533 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2538 * tabular.[Ch]: fix crash after 'row-insert'
2540 2003-10-08 Angus Leeming <leeming@lyx.org>
2542 Fix doxygen warnings.
2544 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2545 Remove CutAndPaste:: prefix from header file declaration.
2547 * LColor.h (fill): remove LColor:: prefix from declaration.
2549 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2550 use lyx::depth_type rather than Paragraph::depth_type so that
2551 header file and .C file match.
2553 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2555 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2556 * aspell.C: \file aspell_local.C -> \file aspell.C
2557 * gettext.C: \file gettext.C -> \file src/gettext.C
2558 * gettext.h: \file gettext.h -> \file src/gettext.h
2559 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2560 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2561 * text.C: \file text.C -> \file src/text.C
2563 * toc.C: move comment so that doxygen is not confused.
2565 2003-10-07 Angus Leeming <leeming@lyx.org>
2567 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2569 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2572 * aspell_local.h: add forgotten std::string's.
2574 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2581 * text3.C: The Box patch. Fancybox support, minipage, parbox
2583 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2589 * ParagraphParameters.h:
2599 * lyxtextclasslist.h:
2602 * paragraph_pimpl.C:
2603 * textcursor.h: add <string> and other small fixes to make Lars'
2604 std::string patch compile with STLport.
2606 2003-10-06 Angus Leeming <leeming@lyx.org>
2608 * LColor.h: Add missing #include <string>.
2610 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2612 * All most all file in all subdirs: Make <string> be the prefered
2613 way of getting to std::string, add using declarations.
2615 2003-10-06 André Pönitz <poenitz@gmx.net>
2617 * metricsinfo.C: initialize LyXFont before changing attribute.
2618 (fixes the 'math in \emph is upright' bug)
2620 2003-10-06 André Pönitz <poenitz@gmx.net>
2622 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2624 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2627 * paragraph_pimpl.C: Small fixes to build using STLport
2629 2003-10-02 André Pönitz <poenitz@gmx.net>
2632 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2634 2003-10-01 André Pönitz <poenitz@gmx.net>
2636 * factory.C: assert early
2638 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2640 * lyx_main.C: remove the global debug object
2642 * debug.h: adjust for new debugstream
2644 * debug.C: adjust for new debugstream and keep the global debug
2647 2003-09-22 Angus Leeming <leeming@lyx.org>
2649 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2650 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2651 an incomplete class LyXFont.
2653 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2655 * factory.C: bug fix in branches
2657 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2659 * lyxfunc.C (processKeySym): adjust
2661 (dispatch): change arg name from ev to func, adjust
2662 (sendDispatchMessage): ditto
2664 * lyx_main.C (defaultKeyBindings): adjust keybindings
2665 (deadKeyBindings): ditto
2667 * kbsequence.C (addkey): return a FuncRequest
2669 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2671 * kbmap.C (bind): take a FuncRequest as arg, adjust
2674 (defkey): change to take a FuncRequest as arg, adjust
2675 (findbinding): take a FuncRequest as arg, adjust.
2677 * funcrequest.h (operator=): added
2679 * funcrequest.C (FuncRequest): default kb_action changed from
2680 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2682 * buffer.C (dispatch): simplify
2683 (dispatch): adjust to take a FuncRequest as arg, adjust
2685 * boost.C (assertion_failed): change assertion message slightly
2687 * ToolbarBackend.C (read): simplify
2689 * MenuBackend.C (binding): adjust call to findbinding, add a
2690 message if no binding is found.
2692 (expandToc): correct by adding a empty FuncRequest
2694 * LyXAction.C: include <boost/assert.hpp>
2695 (isPseudoAction): delete function
2696 (LookupFunc): change name to...
2697 (lookupFunc): this. change return type to FuncRequest.
2698 (getActionName): take kb_action as arg, simplify
2699 (funcHasFlag): add an assert, simplify.
2701 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2703 * toc.C (action): return a FuncRequest, simplify
2705 * lyxfunc.C (processKeySym): adjust
2706 (getStatus): delete version that takes an int.
2708 (dispatch): delete version that takes action as int
2710 (sendDispatchMessage): simplify and adjust
2712 * funcrequest.C (getArg): take unsigned int as arg
2714 * ToolbarBackend.C (read): adjust
2715 (add): delete version that takes func as a string.
2716 (getIton): take a FuncRequest as arg
2718 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2721 * MenuBackend.C (MenuItem): add a new construct that only takes a
2722 Kind, simplify the constructor use for submenus.
2724 (expandLastfiles): adjust
2725 (expandDocuments): adjust
2726 (expandFormats): adjust
2727 (expandFloatListInsert): adjust
2728 (expandFloatInsert): adjust
2729 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2731 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2732 Remove class variables lyx_pseudo_map and lyx_arg_map
2734 * LyXAction.C (searchActionArg): delete function
2735 (getPseudoAction): delete function
2736 (retrieveActionArg): delete function
2737 (LookupFunc): make it return kb_action, simplify.
2738 (getActionName): simplify
2740 * factory.C (createInset): fix new bug
2742 2003-09-19 Angus Leeming <leeming@lyx.org>
2744 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2745 masterFilename_ parameter in the include inset.
2747 * factory.C (createInset): changes due to the changes to InsetInclude.
2749 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2751 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2753 2003-09-18 Angus Leeming <leeming@lyx.org>
2756 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2757 Inset::fillWithBibKeys.
2758 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2760 2003-09-18 Angus Leeming <leeming@lyx.org>
2762 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2764 (ctor): pass and store a 'Buffer const &'
2765 (buffer): new member function.
2767 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2768 '*this' to the LaTeXFeatures ctor.
2770 2003-09-18 Angus Leeming <leeming@lyx.org>
2776 * text.C: rename EnumLColor as LColor_color.
2778 2003-09-18 Angus Leeming <leeming@lyx.org>
2780 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2781 remove #include "insets/insetbase.h" from cursor.h.
2783 2003-09-18 Angus Leeming <leeming@lyx.org>
2785 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2786 InsetOld_code to remove #include "inset.h".
2788 * iterators.C: add #include "insets/inset.h"
2790 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2792 * BufferView.C: remove more locking stuff that apparently doesn't
2793 do anything sensible.
2795 2003-09-16 André Pönitz <poenitz@gmx.net>
2798 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2801 2003-09-16 Angus Leeming <leeming@lyx.org>
2803 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2805 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2808 * paragraph.h: remove #include "lyxfont.h". Forward declare
2811 2003-09-16 Angus Leeming <leeming@lyx.org>
2813 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2814 of support/textutils.h.
2815 (isWord): move the contents of support/textutils.h's IsWordChar here.
2821 * text2.C: add #include "paragraph.h".
2824 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2826 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2832 * LaTeX.C: use namespace alias for lyx::support::os
2834 2003-09-16 Angus Leeming <leeming@lyx.org>
2837 * bufferview_funcs.C:
2840 * paragraph_pimpl.C:
2842 * text.C: add #include "LColor.h".
2844 2003-09-16 Angus Leeming <leeming@lyx.org>
2846 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2847 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2849 Store the FontBits::color variable as an int rather than as an
2850 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2853 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2854 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2855 string calls together.
2857 * lyxrc.C: add #include "LColor.h".
2859 2003-09-15 Angus Leeming <leeming@lyx.org>
2861 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2864 2003-09-15 Angus Leeming <leeming@lyx.org>
2866 * LColor.h: add an EnumLColor wrapper for LColor::color.
2868 * lyxfont.[Ch] (color, setColor, realColor):
2869 * lyxtext.h, text.C (backgroundColor):
2870 pass EnumLColor args to/from the functions, rather than LColor::color
2874 * lyxtext.h: forward declare EnumLColor.
2876 * lyx_main.C: add #include "LColor.h".
2878 2003-09-15 Angus Leeming <leeming@lyx.org>
2880 * .cvsignore: add lyx-gtk.
2882 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2887 * ParagraphParameters.C
2891 * bufferview_funcs.C
2901 * vc-backend.C: remove usage of STRCONV
2903 2003-09-15 Angus Leeming <leeming@lyx.org>
2905 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2906 explicitly define the color passed to the painter.
2908 2003-09-15 Angus Leeming <leeming@lyx.org>
2910 * bufferparams.C (BufferParams): reorder member initializers to avoid
2913 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2915 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2916 * text.C (updateRowPositions): remove an unusual nop
2918 2003-09-12 André Pönitz <poenitz@gmx.net>
2920 * BufferView_pimpl.C:
2929 * Counters.[Ch]: finish the 'automatic counters' job
2931 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2933 * aspell.C: include <boost/assert.cpp> (compile fix)
2935 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2937 * boost.C (assertion_failed): use lyx::support::abort instead of
2940 2003-09-10 Angus Leeming <leeming@lyx.org>
2942 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2943 with their _fwd progeny.
2945 2003-09-09 Angus Leeming <leeming@lyx.org>
2947 134 files throughtout the source tree: replace 'using namespace abc;'
2948 directives with the appropriate 'using abc::xyz;' declarations.
2950 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2952 * boost.C (emergencyCleanup): moved here from LAssert.c
2953 (assertion_failed): new function, called by BOOST_ASSERT
2955 * several files: change Assert to BOOST_ASSERT
2957 2003-09-09 Angus Leeming <leeming@lyx.org>
2959 * buffer.[Ch]: Add an Impl class and move Buffer's member
2960 variables into it. As a result move several header files out of
2963 Add header files to lots of .C files all over the tree as a result.
2965 2003-09-09 Angus Leeming <leeming@lyx.org>
2967 * buffer.[Ch]: make Buffer's member variables private. Add
2970 Lots of changes all over the tree as a result.
2972 2003-09-08 Angus Leeming <leeming@lyx.org>
2974 * graph.C: #include <config.h>.
2976 2003-09-08 Angus Leeming <leeming@lyx.org>
2980 * BufferView_pimpl.C:
3009 * toc.C: remove redundant using directives.
3011 2003-09-07 Angus Leeming <leeming@lyx.org>
3013 * LaTeXFeatures.h: remove #include "support/types.h".
3014 * ToolbarBackend.h: remove #include <algorithm>.
3015 * changes.h: remove #include <ctime>.
3016 * debug.h: remove #include <iosfwd>.
3017 * graph.h: remove #include "support/std_string.h".
3018 * lyx_main.h: remove #include <csignal>.
3019 * lyxlex_pimpl.h: remove #include <fstream>.
3020 * sgml.h: remove #include <algorithm>, <utility>.
3021 * toc.h: remove #include "support/std_ostream.h".
3022 Add #include <iosfwd>.
3024 2003-09-07 Angus Leeming <leeming@lyx.org>
3026 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3028 * converter.h: forward declare LatexRunParams.
3029 * encoding.h: remove #include "lyxrc.h".
3030 * lyxtext.h: remove #include "LColor.h".
3031 * lyxtextclass.h: remove #include "support/types.h".
3032 * trans.h: remove #include "tex-accent.h".
3033 * trans_mgr.h: remove #include "tex-accent.h".
3034 * insets/inset.h: remove #include "support/types.h", <vector>.
3035 * insets/insetcollapsable.h: remove #include "LColor.h".
3036 * insets/insetinclude.h: remove #include "dimension.h".
3037 * insets/insetlatexaccent.h: remove #include "dimension.h".
3038 * insets/insetoptarg.h:: remove #include "insettext.h".
3039 * insets/insettext.h: remove #include "dimension.h",
3040 <boost/shared_ptr.hpp>
3042 * insets/renderers.h: add #include "dimension.h".
3043 * insets/updatableinset.h: add #include "support/types.h".
3045 * many .C files: Associated changes.
3047 2003-09-06 Angus Leeming <leeming@lyx.org>
3049 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3050 one, inside testInvariant.
3052 * PrinterParams.C: new file.
3053 * PrinterParams.[Ch]: move the function bodies out of line.
3055 2003-09-06 Angus Leeming <leeming@lyx.org>
3057 * ParagraphParameters.h: forward declare ParameterStruct rather than
3058 including its header file.
3059 (depth): moved out-of-line.
3061 2003-09-06 Angus Leeming <leeming@lyx.org>
3063 * BufferView_pimpl.h:
3066 * lyxfunc.h: forward declare LyXKeySym rather than
3067 #include "frontends/LyXKeySym.h".
3069 * BufferView_pimpl.C:
3072 * lyxfunc.C: associated changes.
3074 2003-09-06 Angus Leeming <leeming@lyx.org>
3076 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3077 As a result, can remove the #include "insets/inset.h" from BufferView.h
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>
3090 * bufferview_funcs.C:
3091 * BufferView_pimpl.C:
3096 * ParagraphParameters.C:
3101 * frontends/controllers/ControlDocument.C:
3102 * insets/insetcaption.C: rearrange the #includes into some sort of
3105 * buffer.h: remove #includes ErrorList.h, undo.h
3107 2003-09-06 Angus Leeming <leeming@lyx.org>
3109 * support/types.h: add a 'depth_type' typedef, used to store the
3110 nesting depth of a paragraph.
3113 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3114 defining explicitly.
3117 * paragraph_funcs.h:
3118 * ParagraphParameters.h:
3119 * sgml.h: use lyx::depth_type rather than Paragraph or
3120 ParameterStruct's depth_type.
3123 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3126 * BufferView_pimpl.C:
3128 * ParagraphParameters.C:
3131 * bufferview_funcs.C:
3138 * frontends/LyXView.C:
3139 * frontends/controllers/ControlDocument.C:
3140 * frontends/controllers/ControlErrorList.C:
3141 * insets/insetbibitem.C:
3142 * insets/insetbranch.C:
3143 * insets/insetcaption.C:
3144 * insets/insetcollapsable.C:
3145 * insets/insetenv.C:
3146 * insets/insetert.C:
3147 * insets/insetfloat.C:
3148 * insets/insetfoot.C:
3149 * insets/insetfootlike.C:
3150 * insets/insetnewline.C:
3151 * insets/insetquotes.C:
3152 * insets/insettabular.C:
3153 * insets/insettext.C:
3154 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3156 * frontends/controllers/ControlChanges.C: #include "changes.h".
3158 2003-09-06 Angus Leeming <leeming@lyx.org>
3160 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3161 than #including paragraph.h.
3164 * RowList.h: deleted. Superfluous.
3174 * insets/insettext.h: use ParagraphList_fwd.h rather than
3177 * paragraph.h: don't forward declare ParagraphList.
3180 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3181 rather than ParagraphList.h. paragraph.h is still needed for the
3182 Paragraph::depth_type parameters.
3184 * textcursor.h: enable it to compile stand-alone in light of the
3187 * bufferview_funcs.C:
3199 * frontends/controllers/ControlParagraph.C:
3200 * frontends/controllers/ControlTabular.C:
3201 * insets/insetmarginal.C:
3202 * insets/insetminipage.C:
3203 * insets/insetnote.C:
3204 * insets/insetoptarg.C: add header files needed to compile again.
3206 2003-09-06 Angus Leeming <leeming@lyx.org>
3208 * RowList_fwd.h: new file, forward-declaring Row rather than
3209 #including lyxrow.h.
3214 * insets/insettext.h: use it instead of RowList.h
3216 * bufferview_funcs.C:
3223 * text3.C: #include "RowList.h".
3225 2003-09-05 Angus Leeming <leeming@lyx.org>
3227 * factory.C (createInset):
3228 * vspace.C (c-tor): replace sscanf call with an istringstream.
3229 * ispell.C: re-add missing HP/UX headers.
3230 * lyxserver.C: re-add missing os2 headers.
3232 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3241 * text3.C: re-add missing system headers, needed for 2.95.2.
3243 2003-09-05 Angus Leeming <leeming@lyx.org>
3245 Changes most place everywhere due to the removal of using directives
3246 from support/std_sstream.h.
3248 2003-09-05 Angus Leeming <leeming@lyx.org>
3250 Replace LString.h with support/std_string.h,
3251 Lsstream.h with support/std_sstream.h,
3252 support/LIstream.h with support/std_istream.h,
3253 support/LOstream.h with support/std_ostream.h.
3255 Changes resulting throughout the tree.
3257 2003-09-05 Angus Leeming <leeming@lyx.org>
3259 * sgml.h: ensure that the header file can be compiled stand-alone.
3260 * *.C: strip out redundant #includes. (320 in total.)
3262 2003-09-04 Angus Leeming <leeming@lyx.org>
3264 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3265 here (from getPackages).
3267 * debug.[Ch]: add a new EXTERNAL tag.
3269 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3271 * text2.C (cursorEnd): simplify
3273 (getColumnNearX): adjust
3275 * text.C (computeBidiTables): adjust
3278 * rowpainter.C (paintChars): adjust
3279 (paintSelection): adjust
3280 (paintChangeBar): adjust
3283 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3285 (numberOfSeparators): adjust
3287 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3293 * text3.C: Restricts the mouse click functionality
3294 of insets like bibtex, include, toc and floatlist to the visible
3295 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3296 up the dialogs. Cursor has to be in front of the inset (i.e.
3297 start of row) for this to function.
3299 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3301 * bufferview_funcs.C (currentState): output row information
3303 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3305 * bufferview_funcs.C (currentState): output paragraph position
3307 2003-09-04 Angus Leeming <leeming@lyx.org>
3309 * FloatList.h: move out #include "Floating.h".
3310 * LaTeX.h: move out #include "DepTable.h".
3311 * LyXAction.h: move out #include "funcrequest.h".
3312 * buffer.h: move out #include "author.h", "iterators.h".
3313 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3314 * lyx_main.h: move out #include "errorlist.h".
3315 * lyxfunc.h: move out #include "FuncStatus.h".
3316 * lyxtext: move out #include "lyxcursor.h".
3317 * paragraph_pimpl.h: move out #include "counters.h".
3319 2003-09-03 Angus Leeming <leeming@lyx.org>
3321 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3322 preamble_snippets list, enabling us to add snippets to the preamble
3323 only if the snippet was not there already.
3325 2003-09-04 Angus Leeming <leeming@lyx.org>
3327 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3329 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3331 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3334 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3336 * BranchList.C: point fix, earlier forgotten
3338 2003-09-02 Angus Leeming <leeming@lyx.org>
3340 * box.C (contains): renamed from 'contained' after a fantastic
3343 2003-09-02 John Levon <levon@movementarian.org>
3349 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3351 2003-09-02 John Levon <levon@movementarian.org>
3353 * text2.C: simplification of cursorEnd(), including partial
3356 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3358 * buffer.C (readFile): add a space
3360 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3362 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3364 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3366 * buffer.C (readFile): new function, take a filename and a
3367 ParagraphList::iterator
3369 (readFile): adjust, make it private. don't use setStream, make
3370 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3371 always contain the filename.
3373 * BufferView.C (insertLyXFile): simplify and make it work for
3376 2003-08-30 John Levon <levon@movementarian.org>
3378 * Makefile.am: fix dist (from Kayvan)
3380 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3382 * most files: change to use const Buffer refs
3384 2003-08-27 André Pönitz <poenitz@gmx.net>
3386 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3387 on top of ownerPar().
3389 2003-08-27 John Levon <levon@movementarian.org>
3391 * funcrequest.C: properly initialise POD members
3393 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3395 * lyxtext.h (top_y): move top_y from here
3400 * BufferView_pimpl.[Ch]: to here
3401 * frontends/screen.C:
3402 * insets/insettabular.C:
3403 * insets/insettext.C: adjust
3404 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3406 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3409 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3411 2003-08-26 André Pönitz <poenitz@gmx.net>
3413 * paragraph_func.[Ch] (outerPar): new function
3416 * paragraph_funcs.C:
3417 * paragraph_funcs.h:
3418 * paragraph_pimpl.C:
3419 * text2.C: remove Inset::par_owner
3421 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3426 * text2.C: eliminates the needFullRow/display() stuff
3427 altogether, putting the logic in metrics/draw in the insets.
3429 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3431 * text2.C (redoParagraphInternal, redoParagraphs):
3432 * text.C (redoParagraph): add a call to updateRowPositions at the
3433 end of each 'metrics-like' call. Remove all others.
3434 (getRow): remove the 'y-computing' version.
3435 (getRowNearY): do not compute nor return the real y. Solve the
3436 'y < 0' problem and simplify.
3438 2003-08-22 Angus Leeming <leeming@lyx.org>
3440 * *.[Ch]: clean-up of licence and author blurbs.
3441 Also move config.h out of a few .h files and into a few .C files.
3443 2003-08-22 André Pönitz <poenitz@gmx.net>
3445 * lyxrow.[Ch]: add x_ and *fill_ members
3450 * text2.C: adjust/remove prepareToPrint() calls
3452 2003-08-22 André Pönitz <poenitz@gmx.net>
3454 * lyxrow.[Ch]: add end_ member
3456 * lyxrow_funcs.C: use LyXRow::end_
3458 * lyxtext.h (singleWidth): add LyXFont parameter
3461 * text2.C: adjust LyXText::singleWidth() calls
3463 * text.C (redoParagraph): simplify row breaking logic
3466 2003-08-19 André Pönitz <poenitz@gmx.net>
3468 * funcrequest.C: initialize button_ member
3471 * rowpainter.[Ch]: interface consolidation
3473 2003-08-18 André Pönitz <poenitz@gmx.net>
3476 * BufferView_pimpl.C:
3478 * paragraph_funcs.C:
3480 * text3.C: remove LyXScreen::draw() and fitCursor calls
3482 * BranchList.h: remove spurious semicolons
3484 * MenuBackend.C: fix branchlist related crash
3486 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3494 * bufferparams.[Ch]:
3498 * text3.C: implements the 'branch inset'
3499 idea. This allows the output of various versions of a document
3500 from a single source version, selectively outputing or suppressing
3501 output of parts of the text.
3502 This implementation contains a 'branch list editor' in a separate
3503 tab of the document settings dialog. Branches are user definable
3504 and have a "display colour" to distinguish them on-screen.
3506 ColorHandler was somewhat cleaned up.
3507 (1) make possible a dynamically growing LColor list by allowing
3508 the graphic context cache to grow along (vector);
3509 (2) eliminate an IMHO unnecessary step in colour allocation.
3511 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3513 * BufferView_pimpl.C: compile fix
3515 2003-08-15 André Pönitz <poenitz@gmx.net>
3517 * rowpainter.C: remove extra metrics calls
3519 * lyxtext.h: merge the two constructors into a single one,
3520 pass reference to owner's par list
3522 * BufferView_pimpl.C:
3526 2003-08-15 André Pönitz <poenitz@gmx.net>
3528 * lyxrow_funcs.[Ch]:
3531 * paragraph_funcs.C:
3536 * text_funcs.C: split LyXText::rowlist_ into individual
3537 Paragraph::rows_ chunks
3540 * BufferView_pimpl.[Ch]:
3543 * text3.C: remove toggleSelection()
3545 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3547 * bufferlist.C: beautify two alerts (shorter text of buttons)
3548 * buffer.C: Remove redundant ' ' from message
3550 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3551 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3552 rename VALIGN_CENTER to VALIGN_MIDDLE
3554 2003-08-11 André Pönitz <poenitz@gmx.net>
3556 * lyxtext.h (getPar):
3557 * text.C: new function
3559 2003-08-11 André Pönitz <poenitz@gmx.net>
3562 * tracer.[Ch]: remove unneeded files
3564 * InsetList.[Ch]: remove resizeInsetsLyXText()
3569 * text3.C: merge insertParagraphs() and appendParagraph()
3570 remove breakAgain(), update()
3572 * BufferView_pimpl.[Ch]:
3573 * bufferview_funcs.[Ch]:
3577 * tabular.C: adjust after text & InsetList changes.
3579 2003-08-08 André Pönitz <poenitz@gmx.net>
3581 * text.C (insertChar, backspace): replace rowlist fiddling
3582 with rebreak of full par
3585 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3586 checkParagraph, updateInset): removed
3588 2003-08-07 André Pönitz <poenitz@gmx.net>
3591 * text3.C: merge some LFUN handlers, remove dead code
3593 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3595 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3597 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3599 * text2.C (DEPM): fix part of bug 1255 and 1256
3601 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3603 * BufferView_pimpl.C (workAreaDispatch): change to use
3604 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3605 that are no mouse related.
3607 2003-08-05 André Pönitz <poenitz@gmx.net>
3610 * BufferView_pimpl.[Ch]:
3611 * bufferview_funcs.C:
3613 * text3.C: rip out "deep update"
3615 * textcursor.[Ch] (last_sel_cursor): remove unused member
3617 2003-08-04 André Pönitz <poenitz@gmx.net>
3620 * BufferView_pimpl.[Ch]:
3621 * ParagraphParameters.C:
3622 * bufferview_funcs.C:
3628 * text3.C: replace "complicated" BufferView::update(...) calls with
3631 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3633 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3635 * Makefile.am (lyx_SOURCES): add paper.h
3637 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3639 * Makefile.am: move things around so that both lyx-qt and
3640 lyx-xforms can be built (according to --with-frontend). Then lyx
3641 is a symbolic link to lyx-[firstfrontend]
3643 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3645 * Always use std::endl with lyxerr
3647 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3649 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3651 2003-08-01 André Pönitz <poenitz@gmx.net>
3654 * BufferView_pimpl.[Ch]:
3656 * text3.C: merge BufferView::repaint() and BufferView::update()
3658 2003-08-01 José Matos <jamatos@lyx.org>
3660 * buffer.[Ch]: file_format is no longer a buffer data element.
3662 2003-08-01 André Pönitz <poenitz@gmx.net>
3667 * text2.C: make redoParagraph more independent of current cursor
3669 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3671 * text2.C: remove unneeded members
3673 2003-07-30 André Pönitz <poenitz@gmx.net>
3675 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3677 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3678 create a single function...
3680 * paragraph_funcs.C (moveItem): ... here.
3683 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3685 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3687 * LColor.[Ch]: Add comment and greyedout logical colors.
3689 2003-07-30 André Pönitz <poenitz@gmx.net>
3691 * tabular.C: don't use Assert too heavily. This crashes where it
3694 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3696 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3697 is disabled (bug 1232)
3699 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3701 * factory.C: limited 'arg' scope
3703 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3705 * factory.C: fixed Note submenu issues
3707 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3709 * factory.C: submenu for Note/Comment/Greyedout
3711 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3714 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3716 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3719 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3720 greyedout. Patch provided by Jürgen Spitzmüller.
3722 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3724 * kbmap.C (read): fix error message when reading bind files
3726 2003-07-29 Angus Leeming <leeming@lyx.org>
3728 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3729 certainly does not do what it purports to do. I am doing it, and
3730 us, a favour by killing it.
3732 2003-07-28 José Matos <jamatos@lyx.org>
3734 * buffer.C (readBody, do_writeFile):
3735 * paragraph.C(readParagraph): \end_document replaces \the_end.
3737 2003-07-29 André Pönitz <poenitz@gmx.net>
3740 * BufferView_pimpl.[Ch]:
3744 * textcursor.[Ch]: remove toggleToggle & Co
3746 2003-07-28 José Matos <jamatos@fep.up.pt>
3748 * buffer.C (readParagraph):
3749 * params_func (readParToken, readParagraph):
3750 * paragraph.C (write): \layout -> \begin_layout.
3752 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3754 * lyxlex_pimpl.C (setFile): clean up slightly.
3756 * bufferparams.h: add compressed var
3758 * buffer_funcs.C (readFile): adjust for LyXLex change
3759 (newFile): ditto + simplify
3761 * buffer.C (writeFile): handle writing of compressed files
3763 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3764 Check if the file is compressed and set a bufferparm if so.
3766 * Makefile.am (lyx_LDADD): remove explicit -lz
3768 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3770 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3771 makeDocBookFile): put the real LyX version in the first line of
3775 * version.C.in: remove lyx_docversion
3777 * tabular.C (write_attribute): add a template-based version to
3778 write enums properly
3780 2003-07-28 André Pönitz <poenitz@gmx.net>
3785 * text3.C: use doubles again for x-coordinates. They are needed.
3787 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3789 * messages.C (getLocaleDir): use lyx_localedir()
3791 * lyxlex_pimpl.C (setFile): compress stuff
3793 * buffer.C (writeFile): add some compression stuff
3794 (do_writeFile): new func, dont call expliti close... will this
3797 * Makefile.am (lyx_LDADD): add -lz
3799 2003-07-28 José Matos <jamatos@fep.up.pt>
3801 * buffer.C: increment file format.
3802 * paragraph_funcs (readParagraph, readParToken):
3803 * paragraph.C (readParagraph): add \end_layout.
3805 2003-07-27 Angus Leeming <leeming@lyx.org>
3807 * Makefile.am: remove special casing for configure-time setting of
3808 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3810 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3811 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3813 2003-07-26 André Pönitz <poenitz@gmx.net>
3815 * paragraph_func.[Ch]:
3816 * paragraph.C (realizeFont): inline it whereever it is used
3821 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3824 2003-07-26 André Pönitz <poenitz@gmx.net>
3828 * text2.C: get rid of LyXText::need_break_row
3830 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3832 * toc.[Ch]: put namespace toc inside namespace lyx
3834 * MenuBackend.C (expandToc2): adjust for lyx::toc
3837 * lyxfunc.C (dispatch): adjust for lyx::find
3839 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3840 lyx::find instead. Reorganize a bit.
3841 (LyXReplace): rename to replace
3842 (LyXFind): rename to find
3844 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3847 2003-07-26 André Pönitz <poenitz@gmx.net>
3849 * text.C (setHeightOfRow): restrict scope of temporary variable
3851 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3852 code (never has been used?)
3854 2003-07-27 Asger Alstrup <alstrup@local>
3856 * text.C (fill): Optimise algorithm to exploit that we can reuse
3857 the LyXFont for many characters.
3858 (setHeightOfRow): Same thing.
3859 (rowBreakPoint): Same thing.
3861 2003-07-26 Asger Alstrup <alstrup@local>
3863 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3865 * text.C (singleWidth): Spurious font copying in hot-spot
3866 singleWidth avoided. Reorder tests for arabic for efficiency.
3868 * text.C (fill): handle empty paragraphs better.
3870 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3873 * encoding.h: add includes
3875 * lyxrc.C: remove reading of bind files
3877 * lyx_main.C (init): setup bindings and menus only if we have a
3880 * kbmap.C (read): new method. Do the actual reading of bind
3883 * converter.C (dvipdfm_options):
3886 (output): adapt PAPER_* enums.
3888 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3890 * bufferparams.h: remove paper-related enums from there
3892 * paper.h: New file. A trivial header file to hold paper-related
3893 enums. It should later expand to contain many paper-related
3896 * lyxrc.C: declare extern displayTranslator
3898 2003-07-27 José Matos <jamatos@fep.up.pt>
3900 * tabular.[Ch] (linuxdoc): add support for tables and figures
3903 2003-07-27 José Matos <jamatos@fep.up.pt>
3905 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3906 consistency in both functions.
3907 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3909 2003-07-26 Asger Alstrup <alstrup@local>
3911 * rowpainter.C (paintRows): Change algorithm to work directly on
3912 the insets rather than asking every character in the document
3913 whether its an inset.
3915 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3917 * buffer.C (openFileWrite): factorize some code
3919 2003-07-26 Angus Leeming <leeming@lyx.org>
3922 * lyx_main.[Ch]: replace occurances of system_tempdir with
3925 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3927 * rename Inset to InsetOld
3929 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3931 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3932 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3933 which I think is a bit clearer. EDIT is gone, since it was
3934 premature optimisation, and broken for mathed anyway.
3935 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3936 with cursor positioning in insets as well (math insets still do not
3937 work, but that's a different story anyway.) It mysteriously
3938 crashes sometimes with undo in the first paragraph, but I'm fairly
3939 confident that this is a compiler bug.
3941 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3943 * paragraph.C (Paragraph): adjust for new clone return type
3945 (copyIntoMinibuffer): ditto
3947 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3949 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3950 by not having a special case, and always doing a full rebreak of
3951 the document after undo.
3953 2003-07-23 Angus Leeming <leeming@lyx.org>
3955 * factory.C (createInset): InsetExternal::setParams now takes a
3958 2003-07-23 Angus Leeming <leeming@lyx.org>
3960 * factory.C (createInset): changed interface to the external and
3961 graphics mailers' string2params functions.
3963 2003-07-23 Angus Leeming <leeming@lyx.org>
3965 * factory.C (createInset): pass a
3966 Buffer const * parameter to InsetExternalMailer's string2params.
3968 2003-07-22 John Levon <levon@movementarian.org>
3970 * Thesaurus.h: include the right aiksaurus header
3972 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3974 * MenuBackend.C (expand): check menu shortcuts unconditionally
3976 2003-07-21 Angus Leeming <leeming@lyx.org>
3978 * factory.C (createInset): pass a
3979 buffer_path parameter to InsetGraphicsMailer's string2params.
3981 2003-07-21 Angus Leeming <leeming@lyx.org>
3983 * BufferView_pimpl.C (buffer):
3986 * lyxfunc.C (dispatch):
3987 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3988 rather than the grfx shortcut.
3990 2003-07-21 André Pönitz <poenitz@gmx.net>
3992 * rowpainter.C: remove unused variables
3995 * tabular_funcs.h: move to tabular.C
3996 * Makefile.am: adjust
3998 * tabular.[Ch]: basic optical cleaning
4000 * author.h: pass references, not values
4002 2003-07-18 André Pönitz <poenitz@gmx.net>
4010 * text3.C: two-phase drawing for InsetText and InsetTabular
4011 some float -> int changes.
4013 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4015 * lyx_main.C: fix the fix
4017 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4019 * lyx_main.C: fix a crash in batch mode if no files specified
4022 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4024 * format.[Ch] (papersize): moved to BufferParams
4025 * converter.[Ch] (dvips_options): moved to BufferParams
4026 (dvipdfm_options): moved to anon namespace
4027 * bufferparams.[Ch]: added above functions.
4029 2003-07-17 André Pönitz <poenitz@gmx.net>
4033 * text2.C: don't call inset->update() anymore
4035 * metricsinfo.[Ch]: add convenience constructor
4037 2003-07-16 André Pönitz <poenitz@gmx.net>
4042 * text2.C: replace the LyXCursor::irow_ member with
4043 on-demand computation of the value
4045 2003-07-16 John Levon <levon@movementarian.org>
4047 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4049 2003-07-15 André Pönitz <poenitz@gmx.net>
4052 * text2.C: remove no more needed refresh_row
4054 2003-07-15 André Pönitz <poenitz@gmx.net>
4059 * text3.C: refresh_status tristate -> need_update bool
4061 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4063 * lyxtext.h (init): remove reinit argument (act as if always true)
4064 * text2.C: adjust to that
4066 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4068 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4069 * text3.C: use it to delete selections in some cases
4070 (bugs 441, 673, 702, 954).
4072 2003-07-14 André Pönitz <poenitz@gmx.net>
4074 * rowpainter.[Ch]: reduce interface
4076 2003-07-14 André Pönitz <poenitz@gmx.net>
4078 * BufferView_pimpl.C:
4079 * text2.C: adjust after removing unused BufferView * argument
4081 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4083 * text2.C (init): fix a crash fired on resize
4085 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4087 * buffer.[Ch]: added new closing signal
4088 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4089 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4090 BufferView::Pimpl via the closing the signal
4092 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4094 * buffer.[Ch]: take out all bv-related from buffer
4096 * BufferView_pimpl.[Ch]: connect to new signals
4097 * CutAndPaste.C: removed useless asserts
4098 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4101 * lyxfunc.C: moved view-related funciontality from vc here
4102 * paragraph.C: removed outdated comments
4105 2003-07-10 André Pönitz <poenitz@gmx.net>
4107 * BufferView_pimpl.C:
4111 * text2.C: remove InsetText::InnerCache, clean up consequences
4113 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4115 * ispell.C: fix two typos in error messages
4117 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4119 * Extend Note inset to other forms of annotation like Comment
4120 and Greyedout. Right button click gives dialog.
4122 Files modified or added (+):
4126 * ControlNote.[Ch] +
4128 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4129 frontends/controllers
4133 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4135 * aspell.C: add missing namespace lyx::support
4137 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4139 * BufferView.[Ch] (newFile): Add
4140 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4141 * LaTeX.[Ch] (message): added this signal and use it
4142 * buffer.[Ch] (busy, message): added these signals and use them
4143 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4147 * importer.C: use buffer signals instead of direct bv calling
4148 * lyx_cb.[Ch] (ShowMessage): removed
4151 * paragraph_funcs.C:
4152 * text2.C: use buffer signals
4154 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4156 * introduce namespace lyx::graphics
4158 2003-07-02 André Pönitz <poenitz@gmx.net>
4160 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4162 2003-07-01 André Pönitz <poenitz@gmx.net>
4169 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4170 text*.C to text_func.C
4172 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4174 * introduce namespace lyx::support
4176 2003-06-30 André Pönitz <poenitz@gmx.net>
4181 * text.C: re-enable --with-included-string
4183 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4185 * textcursor.C: add <config.h>
4187 * text.C (getWord): remove const from word_location arg
4189 * lyxvc.C (getLogFile): fix const type order
4191 * lyxtext.h: remove const from word_location arg, add arg name
4193 * lyxlayout.h: currect type on labeltype.
4195 * importer.C: correct \file
4197 * converter.C (intToFormat): use std:: on ret val, ws changes
4199 * bufferlist.h: correct \file
4201 * buffer.C (makeLinuxDocFile): fix const type order
4202 (makeDocBookFile): ditto
4203 (fillWithBibKeys): use std:: on stdlib args.
4205 * CutAndPaste.C: fix authors.
4206 (availableSelections): use std:: on return vector
4208 2003-06-27 André Pönitz <poenitz@gmx.net>
4210 * BufferView_pimpl.C:
4211 * bufferview_funcs.C:
4219 * text3.C: remove LyXCursor::row_ member
4222 * text.C: rename fullRebreak() to partialRebreak() and implement
4223 a fullRebreak() that really bereks fully
4225 * textcursor.h: new struct for cursor-related data
4227 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4229 * lyx_main.C (LyX): get full path of document loaded on the
4232 2003-06-26 André Pönitz <poenitz@gmx.net>
4234 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4235 remove unused/broken operator>,<,>=.
4237 * text.C: remove only use of broken operator<= in an Assert().
4239 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4241 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4242 moved errorlist_.clear to showErrorList
4244 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4246 * converter.C (scanLog, runLaTeX):
4247 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4248 move the bv->showErrorList call to the callers
4249 * lyxfunc.C: i.e. here...
4251 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4252 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4253 namespace, the second to...
4254 * buffer_funcs (BufferFormat, parseErrors): added
4255 * errorlist.C (ErrorList(TeXErrors const &)): removed
4257 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4259 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4261 2003-06-24 "Garst R. Reese" <reese@isn.net>
4265 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4267 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4269 * version.C.in: change docversion to 1.4
4271 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4273 * buffer.C: fix a bug just introduced
4275 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4277 * buffer.[Ch]: added the parseError signal and use it, removed
4279 * BufferView.[Ch] (addError): moved to ...
4280 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4281 to the Buffer::parseError signal to catch (guess what) parse errors
4282 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4284 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4286 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4287 ability to create a buffer and to return an existing one from
4288 the list. Moved these functions to...
4289 * buffer_funcs.[Ch]: added
4290 * BufferView.[Ch] (loadLyXFile): added
4291 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4292 job removed from bufferlist::loadLyXFile.
4293 * buffer.C (setReadOnly): make it work without view
4294 (i.e added an if (users))
4296 2003-06-19 Angus Leeming <leeming@lyx.org>
4299 * LyXAction.C (init):
4300 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4301 with LFUN_DIALOG_SHOW <name> <data>.
4303 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4305 * CutAndPaste.C (availableSelections): small compilation fix for
4306 ancient (gcc 2.9x) compilers
4308 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4310 * text3.C (cursorNext): add tmp var
4312 * text2.C (updateCounters): for function calling out of for clause
4313 (replaceSelectionWithString): ditto
4314 (insertStringAsParagraphs): ditto
4315 (getColumnNearX): add tmp var
4316 (setCursorFromCoordinates): add tmp var
4317 (cursorDownParagraph): add tmp var
4318 (deleteEmptyParagraphMechanism): add tmp var
4320 * text.C (insertChar): add tmp var
4322 * rowpainter.C (paintDepthBar): add tmp var
4324 * CutAndPaste.C (availableSelections): potentially check all
4325 paragraphs in a cut to fill the shown strings.
4327 2003-06-18 André Pönitz <poenitz@gmx.net>
4329 * kbmap.[Ch]: use vector<> instead of list<>
4331 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4333 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4334 pasteSelection with index
4336 * text2.C (pasteSelection): modify, call pasteSelection with index
4338 * paragraph.C (asString): reimplement version with no interval to
4339 call the one with interval.
4341 * lyxtext.h: add index arg to pasteSelection
4343 * MenuBackend.C (MenuItem): handle PasteRecent
4344 (Menu::read::Menutags): add md_pasterecent
4346 (expandPasteRecent): new function
4349 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4351 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4353 (availableSelections): new function
4355 2003-06-17 Angus Leeming <leeming@lyx.org>
4357 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4359 2003-06-17 Angus Leeming <leeming@lyx.org>
4362 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4364 * lyxfunc.C (dispatch): invoke it.
4366 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4368 * iterators.C (operator++, ParPosition): reintroduce some
4369 const_cast for the benefit of older compilers.
4371 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4373 * text3.C (dispatch): do not modify clipboard when doing
4374 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4375 LFUN_DELETE_SKIP on a selection selection
4377 2003-06-16 André Pönitz <poenitz@gmx.net>
4383 * tabular.[Ch]: IU of clone() and getLabelList();
4385 2003-06-13 André Pönitz <poenitz@gmx.net>
4387 * tabular.h: compactification
4389 2003-06-12 André Pönitz <poenitz@gmx.net>
4393 * tabular_funcs.h: some renaming plus whitespace
4395 2003-06-12 André Pönitz <poenitz@gmx.net>
4398 * BufferView_pimpl.C:
4404 * toc.C: Return a Paragraph & for ParIterator::operator*()
4406 2003-06-11 John Levon <levon@movementarian.org>
4410 * ToolbarBackend.C: add "Toolbars" section and
4413 2003-06-10 Angus Leeming <leeming@lyx.org>
4416 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4418 * lyxfunc.C (dispatch): invoke it.
4420 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4422 * main.C: protect <ios> with HAVE_IOS
4423 (main): protect sync_with_stdio with HAVE_IOS
4425 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4427 * text2.C (cutSelection): adjust
4428 (pasteSelection): adjust
4430 * messages.C: handle get of empty string
4432 * main.C (main): use sync_with_stdio(false)
4434 * lyxfunc.C (dispatch): adjust
4436 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4437 (WriteAs): remove unneeded BufferView arg.
4439 * bufferparams.h: use correct types on papersize, papersize2 and
4442 * bufferparams.C (readToken): adjust for type
4443 (writeLaTeX): add missing cases to switch.
4445 * bufferlist.C (quitWriteBuffer): adjust
4448 * buffer.C (asciiParagraph): remove some commented code.
4450 * CutAndPaste.C: remove current_view extern variable.
4451 (cutSelection): add BufferParams arg.
4452 (eraseSelection): add BufferParams arg.
4453 (pasteSelection): add Buffer const & arg
4455 2003-06-07 John Levon <levon@movementarian.org>
4458 * paragraph_funcs.C:
4459 * paragraph_pimpl.C:
4463 * paragraph.C: allow InsetERT to freely space lines,
4464 and some consolidation of code
4466 2003-06-06 José Matos <jamatos@fep.up.pt>
4468 * buffer.C (makeDocBookFile): fix bug #821
4470 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4472 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4474 2003-06-04 Angus Leeming <leeming@lyx.org>
4476 * buffer.C: bump format to 224.
4478 2003-06-05 André Pönitz <poenitz@gmx.net>
4480 * text2.C (redoParagraphs): remove two const_cast<>
4482 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4484 * ParagraphList.h: remove last remnants of NO_STD_LIST
4486 2003-06-03 Angus Leeming <leeming@lyx.org>
4488 * factory.C (createInset): small change to the way InsetExternal's params
4491 2003-06-04 André Pönitz <poenitz@gmx.net>
4493 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4495 * paragraph_pimpl.h:
4496 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4498 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4500 * undo_funcs.C: make some simple cases of undo work again
4502 2003-06-03 John Levon <levon@movementarian.org>
4504 * ispell.C: HPUX doesn't have sys/select.h
4507 2003-06-03 John Levon <levon@movementarian.org>
4509 * CutAndPaste.C: update tabular and include inset
4514 * paragraph.C: remove owningBuffer(), don't pass Buffer
4517 * factory.C: insetGraphicsParams changed
4519 2003-06-02 John Levon <levon@movementarian.org>
4525 * text3.C: remove insetparent
4527 2003-06-02 John Levon <levon@movementarian.org>
4530 * buffer.C: fix inset_iterator.end(), move out of line
4533 2003-06-01 John Levon <levon@movementarian.org>
4535 * text3.C: use a proper cut/paste when doing inset
4536 insert (from Jürgen Spitzmüller)
4538 2003-06-01 John Levon <levon@movementarian.org>
4540 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4542 2003-05-30 André Pönitz <poenitz@gmx.net>
4544 * rowpainter.C: unify second drawing phase
4546 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4548 * trans_mgr.C: remove one case of current_view
4550 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4552 * paragraph_funcs.h: remove paragraph.h include
4554 * paragraph.h: delete NO_STD_LIST stuff
4556 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4558 * buffer.h: remove paragraph.h include
4560 * ParagraphList.C: delete file
4562 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4564 * toc.C (getTocList): adjust
4566 * paragraph_pimpl.C (validate): adjust
4568 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4570 * paragraph.C (Paragraph): adjust
4571 (getPositionOfInset): use const_iterator, adjust
4572 (bibitem): use const_iterator, adjust
4573 (setInsetOwner): adjust
4575 * iterators.C (operator++): adjust
4577 * InsetList.[Ch]: Replace selfmade iterator with standard
4578 vector::iterator also introduce const_iterator. Remove getPos,
4579 getInset and setInset from InsetTable. Adjust accordingly.
4581 * BufferView.C (lockInset): adjust
4582 (ChangeInsets): adjust
4584 * tabular.[Ch]: delete commented same_id functions
4586 2003-05-28 John Levon <levon@movementarian.org>
4588 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4590 2003-05-28 André Pönitz <poenitz@gmx.net>
4592 * metricsinfo.[Ch]: remove 'fullredraw' member
4594 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4596 * lyxtextclass.C (operator): remove caching.
4598 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4602 * text2.C (cursorBottom): adjust
4603 (setCounter): use ParagraphList::find, adjust
4605 * text.C (workWidth): use ParagraphList::find, adjust
4607 * lyxcursor.C (LyXCursor): adjust
4609 * buffer.C (inset_iterator): adjust
4611 * ParagraphList.h: make iterator(value_type) private, make
4612 ParagraphList a friend of iterator.
4614 * ParagraphList.C (find): new function
4616 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4618 2003-05-27 André Pönitz <poenitz@gmx.net>
4620 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4622 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4624 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4626 2003-05-26 John Levon <levon@movementarian.org>
4628 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4630 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4632 * remove same_id from function signatures, adjust.
4634 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4636 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4638 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4640 * paragraph.C (Paragraph): get rid of same_ids parameter
4642 * ParagraphList.C (insert): adjust
4645 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4647 * paragraph_funcs.C (breakParagraph): adjust
4648 (breakParagraphConservative): adjust
4650 * buffer.C (readParagraph): adjust
4652 * ParagraphList.C (insert): take a reference instead of a pointer
4655 * paragraph.[Ch] (id): new function
4657 * bufferlist.C (newFile): adjust
4659 * ParagraphList.C (ParagraphList): adjust
4661 (push_back): take a reference instead of a pointer.
4663 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4665 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4668 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4669 set else use old code.
4671 * ParagraphList.C: remove all NO_NEXT code and only compile this
4672 code of NO_STD_LIST is set.
4674 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4676 * BufferView_pimpl.C:
4686 * graphics/GraphicsConverter.C:
4687 * graphics/PreviewLoader.C: header adjustment
4689 2003-05-23 Angus Leeming <leeming@lyx.org>
4691 * LaTeXFeatures.[Ch] (useBabel): new method.
4692 * bufferparams.C (writeLaTeX): use it.
4694 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4696 * ParagraphList.h (set): remove unused function.
4698 2003-05-23 André Pönitz <poenitz@gmx.net>
4701 * BufferView_pimpl.C:
4705 * undo_funcs.C: setUndo reworked
4707 * iterators.[Ch]: add access to topmost ParagraphList
4709 * lyxtext.[Ch] (workWidth): add a const
4711 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4713 * texrow.[Ch] (increasePos): remove function
4714 * exporter.C (export): removed unused var and outdated comment
4716 2003-05-23 Angus Leeming <leeming@lyx.org>
4718 * latexrunparams.h: rename fragile as moving_arg.
4719 * paragraph.C (simpleTeXOnePar): ditto.
4720 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4722 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4724 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4726 (textUndoOrRedo): comment out a currently unused var.
4728 * paragraph.h (NO_NEXT): enable NO_NEXT
4730 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4732 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4734 * exporter.C (Export): adjust for removeAutoInsets removal.
4736 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4738 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4740 * BufferView.[Ch] (removeAutoInsets): delete function
4742 2003-05-22 Angus Leeming <leeming@lyx.org>
4744 * latexrunparams.h: add a free_spacing variable.
4746 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4747 to pass moving_arg, as the data is stored in runparams.fragile.
4749 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4750 to Inset::latexOptional or to simpleTeXOnePar.
4752 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4753 free_spacing arg to Inset::latexOptional.
4755 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4758 2003-05-22 Angus Leeming <leeming@lyx.org>
4760 * latexrunparams.h: add fragile and use_babel variables.
4762 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4763 * buffer.C (makeLaTeXFile): store this returned value in
4764 runparams.use_babel, thus passing it to the inset::latex methods.
4766 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4767 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4769 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4770 longer has a fragile arg, as it is stored in runparams.fragile.
4772 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4773 moving_arg parameter as the data is stored in runparams.fragile.
4775 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4776 a fragile parameter as the data is stored in runparams.fragile.
4778 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4780 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4782 2003-05-22 Angus Leeming <leeming@lyx.org>
4784 * latexrunparams.h: add a 'bool nice' which defaults to false.
4786 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4787 now encapsulated within runparams.
4789 * bufferlist.C (updateIncludedTeXfiles):
4790 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4792 2003-05-22 Angus Leeming <leeming@lyx.org>
4794 * latexrunparams.h: new file containing struct LatexRunParams.
4795 * Makefile.am: add new file.
4797 * LaTeX.[Ch] (c-tor, run):
4798 * buffer.[Ch] (makeLaTeXFile):
4799 * bufferlist.[Ch] (updateIncludedTeXfiles):
4800 * converter.C (convert, scanLog):
4801 * converter.[Ch] (runLaTeX):
4802 * exporter.C (Export):
4803 * paragraph.[Ch] (simpleTeXOnePar):
4804 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4805 * paragraph_funcs.[Ch] (latexParagraphs):
4806 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4807 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4808 pass around a LatexRunParams parameter.
4810 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4812 * paragraph.[Ch]: remove unused constructor
4814 * ParagraphList.C (erase): new function, taking two iterators
4816 2003-05-22 André Pönitz <poenitz@gmx.net>
4818 * undo_funcs.C: remove duplicated code
4820 * iterator.[Ch]: operator=
4822 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4824 * tabular.C (SetMultiColumn): ws changes
4826 * rowpainter.C (paintFirst): get rid of a ->previous
4828 * lyx_cb.C (getPossibleLabel): parlist simplification
4830 * BufferView.C (ChangeInsets): simplify slightly.
4832 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4834 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4835 * lfuns.h: new LFUN_SPACE
4836 * lyxfunc.C: protected space has a new lfun
4837 * paragraph_funcs.C: read new space insets
4839 * factory.C: handle new space insets
4841 2003-05-22 André Pönitz <poenitz@gmx.net>
4844 * BufferView_pimpl.C:
4847 * undo_funcs.C: return a ParIterator from getParFromID.
4849 * iterators.[Ch]: add two const's
4851 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4853 * toc.C (getTocList): adjust
4855 * iterators.[Ch]: rework for parlist
4857 * buffer.C (par_iterator_begin): adjust
4858 (par_iterator_end): adjust
4860 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4862 * BufferView.C (removeAutoInsets): adjust
4863 (ChangeInsets): adjust
4865 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4867 * text.C (top_y): fix bug 1110
4869 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4871 * errorlist.[Ch]: added
4874 * BufferView_pimpl.C:
4875 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4878 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4880 * Makefile.am: ensure that lyx is relinked upon changes to the
4881 various "convenience" libs.
4883 2003-05-20 Angus Leeming <leeming@lyx.org>
4885 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4886 files are compiled in alphabetical order again.
4888 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4890 2003-05-19 Angus Leeming <leeming@lyx.org>
4892 * gettext.[Ch]: remove "char const * _(char const *)".
4894 2003-05-19 André Pönitz <poenitz@gmx.net>
4896 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4905 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4907 2003-05-19 André Pönitz <poenitz@gmx.net>
4911 * lyxtextclass.[Ch]:
4913 * paragraph_funcs.[Ch]:
4915 * text3.C: more insetenv work
4917 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4919 * ParagraphParameters.C (params2string): small bug fixed
4921 2003-05-16 André Pönitz <poenitz@gmx.net>
4924 * bufferview_funcs.C: patch from Kornel Benko to prevent
4925 crash when _(...) is called twice in a statement
4927 2003-05-16 André Pönitz <poenitz@gmx.net>
4934 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4936 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4938 * lyx_main.C (init): remove spurious static_cast
4940 2003-05-14 André Pönitz <poenitz@gmx.net>
4942 * BufferView.C: fix format string
4944 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4946 * BufferView.[Ch] (insertErrors): removed
4947 * BufferView.[Ch] (showErrorList): added
4948 * buffer.C (runChkTeX):
4949 * converter.C (scanLog): call showErrorList instead of inserterrors
4951 2003-05-13 André Pönitz <poenitz@gmx.net>
4953 * BufferView_pimpl.C:
4955 * bufferview_func.C:
4962 * tabular_funcs.h: tostr() from its own header
4964 * ParagraphParameters.C:
4969 * text3.C: STRCONV()
4971 2003-05-12 André Pönitz <poenitz@gmx.net>
4974 * BufferView_pimpl.C:
4978 * ParagraphParameters.C:
4982 * bufferview_funcs.C:
4995 * paragraph_funcs.C:
4999 * text3.C: boost::format -> bformat all over the place
5002 2003-05-09 André Pönitz <poenitz@gmx.net>
5004 * LColor.[Ch]: Pimpl the #include <map> away
5006 2003-05-09 John Levon <levon@movementarian.org>
5008 * bufferlist.C: never remove emergency saves
5010 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5012 * Makefile.am: better lib building
5014 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5016 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5018 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5019 (simpleTeXSpecialChars): adjust
5020 (simpleTeXSpecialChars): adjust
5021 * paragraph.C (simpleTeXOnePar): adjust
5022 * buffer.C (makeLaTeXFile): adjust
5024 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5026 * text2.C (changeDepth): parlist cleanup
5027 (getColumnNearX): ditto
5029 * rowpainter.C (getLabelFont): parlist cleanup
5031 * bufferlist.C (newFile): parlist cleanup
5033 * CutAndPaste.C (eraseSelection): parlist cleanup
5035 * BufferView_pimpl.C (trackChanges): parlist cleanup
5038 * BufferView.C (lockInset): parlist cleanup.
5039 (ChangeInsets): ditto
5041 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5043 * CutAndPaste.h: Update file header.
5045 * CutAndPaste.C: Update file header.
5046 Store the parts cut out of the Document in a limited_stack.
5047 (copySelection): adjust
5048 (pasteSelection): new function, takes the index in the limited stack.
5049 (nrOfParagraphs): adjust
5050 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5051 simplify error inset insertion.
5052 (checkPastePossible): adjust
5054 2003-05-06 John Levon <levon@movementarian.org>
5056 * text2.C: don't cast wrap inset to float
5058 2003-05-05 André Pönitz <poenitz@gmx.net>
5061 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5063 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5064 few naked Paragraph *.
5066 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5068 * bufferparams.C: Output warning if a document with missing
5069 TeX document class is loaded
5070 * exporter.C: Disable TeX exports if the document class is missing
5073 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5074 isTeXClassAvailable()
5076 2003-05-03 John Levon <levon@movementarian.org>
5079 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5080 explicit cursor show/hide
5082 * BufferView_pimpl.h:
5083 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5084 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5086 * lyxfunc.C: hide cursor before dispatching.
5091 * text3.C: remove explicit cursor hides
5093 2003-05-02 André Pönitz <poenitz@gmx.net>
5095 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5098 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5101 * text2.C: tiny whitespace
5103 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5105 * undo_funcs.C: almost only ws changes.
5107 * ParagraphList.C (splice): just return if pl is empty.
5109 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5111 * ParagraphList.C (splice): new function.
5113 * CutAndPaste.C (pasteSelection): use it
5115 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5117 * CutAndPaste.C (pasteSelection): remove the last next and
5118 previous from this file.
5120 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5122 * CutAndPaste.C (pasteSelection): more clean up, user proper
5123 ParagraphList functions for pasteing.
5125 * ParagraphList.C (insert): new function, three arg insert
5127 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5129 * ParagraphList.C (insert): new function, three arg insert
5131 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5134 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5136 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5138 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5140 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5142 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5144 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5145 (copySelection): clean up a bit.
5146 (pasteSelection): use make_pair
5148 * ParagraphList.C (ParagraphList): implement copy constructor
5149 (operator=): implement, base on copy constructor.
5152 * paragraph.C (erase): return a bool
5154 * paragraph_pimpl.C (erasePos): remove function, move contents...
5155 (erase): ... here. Return a bool.
5156 (erase): call erase instead of erasePos.
5158 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5160 * ParagraphList.h: define PitPosPair
5161 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5162 ParagraphList, fix a bug on pasting multiple pars
5163 * text2.C: change interface to C&P
5165 2003-04-30 André Pönitz <poenitz@gmx.net>
5167 * undo_func.C: revert part of yesterday's patch 2
5169 2003-04-30 John Levon <levon@movementarian.org>
5171 * LColor.C: s/tabular/table/
5173 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5175 * text3.C (dispatch): do not convert iterator -> pointer
5176 * undo_funcs.C (setCursorParUndo): ditto
5177 * text_funcs.C (transposeChars): ditto
5179 * text2.C (setLayout): ws changes only
5181 * text.C (breakParagraph): do not convert iterator -> pointer
5183 (acceptChange): ditto
5184 (rejectChange): ditto
5189 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5192 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5194 * text3.C (gotoInset): YABG (yet another bad getChar)
5196 2003-04-29 André Pönitz <poenitz@gmx.net>
5198 * paragraph.h: make operator= private unimplemented as long as
5201 * ParagraphList.C: whitespace
5204 * paragraph_pimpl.[Ch]:
5205 * paragraph_funcs.C:
5207 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5210 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5212 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5214 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5215 * paragraph.[Ch] (erase):
5216 * paragraph_pimpl.[Ch] (erase): change return type and value
5217 * text2.C (cutSelection): some rework
5219 2003-04-28 John Levon <levon@movementarian.org>
5221 * bufferlist.C: changes for unsaved changes dialog
5223 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5225 * bufferlist.C (newFile): set language (messages_) for new
5228 * buffer.C (readFile): ws changes only.
5230 2003-04-28 André Pönitz <poenitz@gmx.net>
5235 * BufferView_pimpl.C:
5236 * BufferView.C: getParFromID related ParagraphList::iterator changes
5238 2003-04-28 André Pönitz <poenitz@gmx.net>
5240 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5243 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5245 * messages.C: remove one more localedir class variable.
5247 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5249 * messages.C (getLocaleDir): singleton generation function
5251 (Messages): add a default constructor.
5253 * main.C (main): do not setup localedir here, do not call
5256 * gettext.C (_): use it.
5257 (gettext_init): delete funciton
5259 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5261 * gettext.C (getLyXMessages): new singleton generating function.
5263 * buffer.C (updateDocLang): adjust
5265 * Makefile.am (messages.o): add target
5266 (main.o): remove target
5268 2003-04-27 John Levon <levon@movementarian.org>
5273 * lyxvc.C: specify cancel button in Alert::prompt
5275 2003-04-26 John Levon <levon@movementarian.org>
5280 * LyXAction.C: add LFUN_INSET_SETTINGS
5282 * lyxfunc.C: don't enable tabular-feature when there's
5283 just any locking inset
5285 2003-04-26 John Levon <levon@movementarian.org>
5287 * bufferlist.C: re-add Cancel to buffer close question
5289 * lyxfunc.C: fix import UI a bit
5291 2003-04-25 John Levon <levon@movementarian.org>
5293 * gettext.C: remove the broken asserts for now
5295 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5297 * messages.C: make case where setlocale cannot comply work better.
5299 * buffer.C (updateDocLang): new function
5300 (changeLanguage): use it
5303 * text2.C (setCounter): use B_ a bit.
5305 * lyxlayout.C (Read): be sure to trim the label strings.
5307 * messages.C (Messages): fix typo in comment
5309 * buffer.C (readFile): set message_ after file is loaded.
5310 (makeDocBookFile): remove double return
5311 (changeLanguage): reset message_ upon language change.
5312 (B_): new func, use this to get translated buffer strings.
5314 * main.C: add myself and Jean Marc as authors.
5316 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5318 * messages.[hC]: pimplify Messages, and three different pimpls to be
5319 used in different circumstances.
5321 * gettext.[Ch]: change for use with new message code.
5323 2003-04-24 André Pönitz <poenitz@gmx.net>
5325 * factory.C: support for eqref
5327 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5329 * messages.[Ch]: add missing char
5331 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5333 * messages.[Ch]: New files
5335 2003-04-18 John Levon <levon@movementarian.org>
5339 * BufferView_pimpl.C:
5343 * text2.C: remove layout-copy/paste (bug 778)
5345 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5347 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5349 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5351 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5352 if they succeed. Act accordingly.
5354 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5356 * text2.C (setCharFont): adjust
5357 (setCounter): adjust
5358 (insertStringAsLines): adjust
5360 * text.C (leftMargin): adjust
5361 (setHeightOfRow): adjust
5363 * rowpainter.C (paintFirst): adjust
5366 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5368 (isFirstInSequence): ditto
5369 (getEndLabel): ditto
5372 * paragraph.C (getParLanguage): comment out some hard stuff.
5374 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5376 (simpleDocBookOnePar): ditto
5377 (makeDocBookFile): use ParagraphList::iterator
5379 * CutAndPaste.C (pasteSelection): adjust
5381 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5383 * text2.C (getFont): adjust
5384 (getLayoutFont): adjust
5385 (getLabelFont): adjust
5387 * paragraph_funcs.C (TeXOnePar): adjust
5389 * buffer.C (simpleLinuxDocOnePar): adjust
5390 (simpleDocBookOnePar): adjust
5392 * CutAndPaste.C (pasteSelection): adjust
5394 * BufferView.C (getEncoding): adjust
5396 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5398 2003-04-16 John Levon <levon@movementarian.org>
5400 * lyxfind.C: use parlist stuff for search/changes
5402 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5404 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5406 * text2.C (deleteEmptyParagraphMechanism): adjust
5408 * text2.[Ch] (ownerParagraph): delete func (both of them
5410 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5412 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5414 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5416 * ParagraphList.C: prepare for NO_NEXT
5418 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5420 * text2.C (getFont): adjust
5421 (getLayoutFont): adjust
5422 (getLabelFont): adjust
5424 * paragraph.C (getFont): adjust
5425 (getLabelFont): adjust
5426 (getLayoutFont): adjust
5428 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5430 2003-04-15 John Levon <levon@movementarian.org>
5434 * lyx_main.C: handle Include in .ui files
5436 2003-04-15 John Levon <levon@movementarian.org>
5438 * MenuBackend.C: make the doc files length shorter
5441 * ToolbarBackend.C: handle toolbar placement flags,
5444 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5446 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5449 * paragraph_funcs.C (TeXOnePar): adjust
5451 * paragraph.C (getLabelFont): add outerfont arg, adjust
5452 (getLayoutFont): ditto
5453 (simpleTeXOnePar): adjust
5455 * paragraph_pimpl.C (realizeFont): delete func
5457 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5459 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5460 row argument, constify cur argument.
5462 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5464 * text2.C (getFont): adjust
5465 (getLayoutFont): adjust
5466 (getLabelFont): adjust
5468 * paragraph_funcs.C (TeXOnePar): adjust
5469 (outerFont): new func...
5470 (realizeFont): ...moved out from here, changed this to facilitate
5473 * paragraph.C (getFont): take outerfont as arg, adjust
5474 (simpleTeXOnePar): add outerfont arg, adjust
5476 * buffer.C (simpleLinuxDocOnePar): adjust
5477 (simpleDocBookOnePar): adjust
5479 * CutAndPaste.C (pasteSelection): adjust
5481 * BufferView.C (getEncoding): adjust
5483 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5485 * text2.C (setCharFont): adjust
5486 (setCounter): adjust
5488 * text.C (leftMargin): adjust
5489 (setHeightOfRow): adjust
5491 * rowpainter.C (paintFirst): adjust
5494 * paragraph_pimpl.C (realizeFont): adjust
5496 * paragraph.C (isFirstInSequence): move from here...
5497 * paragraph_funcs.C (isFirstInSequence): ...to here
5499 * paragraph.C (outerHook): move from here...
5500 * paragraph_funcs.C (outerHook): ...to here
5502 * paragraph.C (depthHook): move from here...
5503 * paragraph_funcs.C (depthHook): ...to here
5505 * paragraph.C (getEndLabel): move from here...
5506 * paragraph_funcs.C (getEndLabel): ...to here
5508 * text2.C (realizeFont): move from here...
5509 * paragraph_funcs.C (realizeFont): ...to here
5511 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5513 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5515 2003-04-14 Angus Leeming <leeming@lyx.org>
5517 * LColor.[Ch]: scrap LColor mathcursor.
5519 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5521 * lyxlex.[Ch] (text): delete function
5522 * trans.C (Load): adjust
5523 * paragraph_funcs.C (readParToken): adjust
5525 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5527 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5528 vector<char> instead of a char[].
5530 * lyxlex_pimpl.C (getString): adjust
5532 (lex): use getString
5536 * lyxlex.C (text): use pimpl_->getString()
5540 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5542 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5543 (makeFontEntriesLayoutSpecific): temp var for par.size()
5544 (setLayout): temp var for ownerParagraphs().end()
5545 (fullRebreak): temp var for rows().end()
5546 (selectionAsString): temp var for boost::next(startpit), realize
5547 that the while really is a regular for loop.
5548 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5549 setCursor in one place.
5550 (setParagraph): temp vr for ownerParagraphs().end()
5551 (updateCounters): make the while loop a for loop
5552 (cutSelection): temp var for ownerParagraphs().end()
5553 (updateInset): make the do {} while() a regular for loop
5554 (getCursorX): use temp vars
5555 (setCurrentFont): use temp vars
5556 (getColumnNearX): use temp vars
5558 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5560 * text.C (transformChar): use temp var for getChar
5561 (computeBidiTables): use temp var for row->par()
5562 (fill): move temp vars for row->par() and pit->layout() earlier in
5564 (labelFill): use temp var for row->par()
5565 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5566 asc and desc, realize that pit never changes and that firstpit is
5567 just a duplicate and not needed. Exchange rit->par() with pit in a
5569 (breakAgain): use a temp var for boost::next(rit)
5570 (breakAgainOneRow): ditto
5571 (breakParagraph): use a temp var for rows().begin()
5572 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5573 (cursorRightOneWord): use temp var for cursor.par() and
5574 cursor.pos(), remove usage of tmpcursor.
5575 (cursorLeftOneWord): use temp var for cursor.par() and
5576 cursor.pos() only set cur at end of function.
5578 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5580 * text.C, text2.C: exchange all usage of Paragraph::next with
5581 boost::next(ParagraphList::iterator)
5583 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5585 * text2.C (cursorTop): simplify implementation
5586 (cursorBottom): ditto
5587 (setParagraph): use ParagraphList::iterator
5588 (setCurrentFont): adjust
5589 (getColumnNearX): adjust
5590 (cursorRight): adjust
5591 (cursorLeft): remove usage of Paragraph::previous
5592 (cursorUpParagraph): ditto
5593 (deleteEmptyParagraphMechanism): slight cleanup
5595 * text.C (isBoundary): take a Paragraph const & instead of a
5597 (addressBreakPoint): ditto
5598 (leftMargin): remove usage of Paragraph::previous.
5599 (setHeightOfRow): ditto
5600 (cursorLeftOneWord): ditto
5601 (selectNextWordToSpellcheck): ditto
5604 (breakParagraph): remove one usage of Paragraph::next
5605 (redoParagraph): ditto
5606 (acceptChange): ditto
5607 (insertChar): adjust
5608 (rowBreakPoint): adjust
5610 * bufferview_funcs.C (toggleAndShow): adjust
5612 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5614 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5615 methods to access it.
5617 * text.C: Added updateRowPositions to compute all row positions.
5618 Make top_y and getRowNearY() to use the cached y position
5620 2003-04-11 John Levon <levon@movementarian.org>
5622 * text.C (rowBreakPoint): reintroduce the labelEnd
5623 checks, code copied from the row fill stuff. Deep voodoo.
5625 * text.C (fill): add a comment and debugging for the
5628 2003-04-11 John Levon <levon@movementarian.org>
5630 * text.C: make sure fullrow insets get wrapped to the next line,
5631 even when they're in a manual label
5633 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5635 * text2.C (insertParagraph): make it take ParagraphList::iterator
5637 (setLayout): make it return ParagraphList::iterator
5638 (redoParagraphs): ditto
5640 (checkParagraph): ditto
5642 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5644 * text2.C: adjust several funcs.
5645 (realizeFont): take a ParagraphList::iterator as arg.
5646 (getLayoutFont): ditto
5647 (getLabelFont): ditto
5648 (setCharFont): ditto
5650 * text.C: adjust several funcs.
5652 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5654 * text.C (selectNextWordToSpellcheck): don't accidentally
5657 2003-04-10 John Levon <levon@movementarian.org>
5659 * ToolbarBackend.C (getIcon): special handling for
5662 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5664 * text2.C (cursorRight): a getChar assert fixed
5666 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5668 * text2.C (getFont): change to take a ParagraphList::iterator
5669 instead of Paragraph*
5670 Adjust several functions.
5672 * text.C (transformChar): change to take a ParagraphList::iterator
5673 instead of Paragraph*
5674 (singleWidth): ditto
5675 Adjust several functions.
5677 * rowpainter.C: adjust several functions
5678 * rowpainter.h:store a ParagraphList::iterator and not a
5682 2003-04-09 John Levon <levon@movementarian.org>
5687 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5688 and the "help" bits as well
5690 2003-04-09 John Levon <levon@movementarian.org>
5693 * ToolbarBackend.C: allow multiple toolbars
5695 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5697 * undo_funcs.C (setCursorParUndo): adjust
5699 * text_funcs.C (transposeChars): adjust
5701 * text3.C (gotoNextInset): adjust
5704 * text2.C (setLayout): adjust
5705 (changeDepth): adjust
5707 (redoParagraphs): adjust
5708 (selectionAsString): adjust
5709 (setParagraph): adjust
5710 (insertInset): adjust
5711 (cutSelection): adjust
5712 (copySelection): adjust
5713 (pasteSelection): adjust
5714 (insertStringAsLines): adjust
5715 (updateInset): adjust
5716 (setCursor): change to take a ParagraphList::iterator parameter
5717 (setCursorIntern): change to take a ParagraphList::iterator parameter
5718 (setCurrentFont): adjust
5719 (cursorLeft): adjust
5720 (cursorRight): adjust
5721 (deleteEmptyParagraphMechanism): adjust
5723 * text.C (breakParagraph): adjust
5724 (insertChar): adjust
5725 (acceptChange): adjust
5726 (rejectChange): adjust
5727 (selectNextWordToSpellcheck): adjust
5728 (changeCase): adjust
5732 * lyxfind.C (SearchForward): adjust
5733 (SearchBackward): adjust
5734 (nextChange): adjust
5736 * lyxcursor.C (par): adjust
5738 * lyxcursor.h: store a ParagraphList::iterator instead of a
5741 * lyx_cb.C (getPossibleLabel): adjust
5743 * bufferview_funcs.C (toggleAndShow): adjust
5745 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5748 * BufferView.C (removeAutoInsets): adjust
5749 (lockedInsetStoreUndo): adjust
5751 2003-04-09 John Levon <levon@movementarian.org>
5753 * ToolbarBackend.C: try icon without argument
5754 if with argument fails
5756 2003-04-08 John Levon <levon@movementarian.org>
5759 * ToolbarBackend.C: add getIcon(), handle tooltip,
5760 and change from "Icon" to "Item".
5762 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5764 * BufferView.C (lockInset): another bad getchar crunched
5766 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5768 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5771 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5773 * lyxfind.C (searchForward, searchBackwards): bug 782
5775 2003-04-07 John Levon <levon@movementarian.org>
5777 * paragraph.C: remove dead comment
5779 * text.C: remove troublesome depth-fiddling code
5780 in leftMargin() and rightMargin() (bug 1017)
5782 * text.C: fix breaking of rows in nested lists
5785 * text2.C (updateCounters): fix up depth values
5788 2003-04-07 John Levon <levon@movementarian.org>
5790 * BufferView_pimpl.C: clear message when doc finishes resizing,
5791 and after a mouse event
5793 * lyxfunc.C: clear message after exiting inset
5795 2003-04-07 John Levon <levon@movementarian.org>
5797 * bufferview_funcs.C: show math status not outside
5798 status in the statusbar
5800 2003-04-07 John Levon <levon@movementarian.org>
5802 * lyxfunc.C: note status changed after a depth change
5804 2003-04-04 Angus Leeming <leeming@lyx.org>
5806 * LaTeX.h: move AuxInfo operator==, != out of line.
5807 Remove LaTeX virtual destructor; nothing derives from it.
5808 Move operator()() out of public area and rename it startscript().
5809 Change protected for private.
5811 2003-04-04 Angus Leeming <leeming@lyx.org>
5814 * text2.C: remove unneeded #includes.
5816 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5818 * text2.C (dEPM): fix the heigth of the next row
5820 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5822 * text.C: squashed an invalid getChar requester + some ws changes
5824 2003-04-03 John Levon <levon@movementarian.org>
5826 * bufferview_funcs.h:
5827 * bufferview_funcs.C:
5830 * text2.C: make getStatus work for the env depth lfuns
5832 2003-04-03 John Levon <levon@movementarian.org>
5834 * bufferview_funcs.h:
5835 * bufferview_funcs.C:
5838 * text2.C: parlistize decDepth(), by merging it with incDepth()
5840 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5842 * lyxrow.h: store a ParagraphList::iterator instead of a
5843 Paragraph* and adjust other class functions to suit.
5845 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5848 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5850 * text2.C (setCursor): do not anchor to cursor row for the time being
5852 2003-04-02 John Levon <levon@movementarian.org>
5859 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5861 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5863 * paragraph.h: make ParagraphList and ParagraphList::iterator
5864 friends of Paragraph.
5866 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5868 * ParagraphList.C: Use the private next_ and previous_ from
5871 2003-04-01 John Levon <levon@movementarian.org>
5875 * Makefile.am: rename, remove defaults gunk
5878 * MenuBackend.C: remove defaults gunk
5881 * Languages.C: remove defaults gunk
5884 * lyx_main.C: error out if files couldn't be found.
5886 2003-04-02 John Levon <levon@movementarian.org>
5888 * text2.C: make incDepth() use parlist
5890 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5892 * undo_funcs.C (firstUndoParagraph): adjust
5894 * text3.C (gotoInset): adjust
5895 (dispatch): adjust, and rewrite loop.
5897 * text2.C (init): adjust, and rewrite loop.
5898 (redoParagraphs): adjust
5899 (updateInset): adjust, and rewrite loop.
5900 (deleteEmptyParagraphMechanism): adjust
5902 * tabular.C (LyXTabular): adjust
5903 (SetMultiColumn): adjust
5906 * lyxtext.[Ch] (ownerParagraph): delete function
5907 (ownerParagraphs): new function returns a ParagraphList.
5909 * BufferView.C (removeAutoInsets): adjust
5910 (insertErrors): adjust
5911 (setCursorFromRow): adjust
5913 2003-04-01 Angus Leeming <leeming@lyx.org>
5915 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5918 2003-04-02 John Levon <levon@movementarian.org>
5924 * text_funcs.C: make transposeChars a free function
5926 * lyxrow_funcs.C: remove wrong comment
5928 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5931 * rowpainter.C: adjust
5936 * lyxrow_funcs. [Ch]: new files
5938 * lyxrow.[Ch]: remove next and previous pointers
5939 (next,previous): remove accessor functions
5940 (isParEnd): move to lyxrow_funcs
5941 (lastPos): move to lyxrow_funcs
5942 (nextRowIsAllInset): move to lyxrow_funcs
5943 (lastPrintablePos): move to lyxrow_funcs
5944 (numberOfSeparators): move to lyxrow_funcs
5945 (numberOfHfills): move to lyxrow_funcs
5946 (numberOfLabelHfills): move to lyxrow_funcs
5947 (hfillExpansion): move to lyxrow_funcs
5951 * bufferview_funcs.C (toggleAndShow): adjust
5953 * RowList.h: Remove class RowList from file leave just a
5956 * RowList.C: delete file
5958 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5961 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5963 * text3.C (cursorPrevious): adjust
5964 (cursorNext): adjust
5967 * text2.C (redoHeightOfParagraph): adjust
5968 (redoDrawingOfParagraph): adjust
5971 * text.C (breakParagraph): adjust
5972 (insertChar): adjust
5975 * rowpainter.C (RowPainter): adjust
5976 (leftMargin): simplify and adjust
5977 (most rowpainter functions): adjust.
5979 * rowpainter.h: store the row as RowList::iterator not as Row*
5981 * lyxcursor.C (row): taka RowList::iterator as arg
5984 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5987 2003-04-01 Angus Leeming <leeming@lyx.org>
5989 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5990 stuff like bool Bool.
5992 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5994 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5997 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5999 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6002 * lyxtext.h (rows): drop one version and leve a const variant that
6003 returns a RowList::iterator.
6005 2003-03-31 Angus Leeming <leeming@lyx.org>
6007 * text.C (fill): ensure that the signature is the same as that in the
6010 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6012 * text2.C (redoParagraphs): adjust
6013 (updateCounters): adjust
6014 (checkParagraph): adjust
6015 (getColumnNearX): adjust and reformat a bit.
6017 * text.C (top_y): adjust
6019 (leftMargin): adjust
6020 (prepareToPrint): adjust
6022 (getRowNearY): adjust
6024 * lyxtext.h: make rowlist_ mutable.
6026 * RowList.h: add const_iterator
6027 * RowList.C: adjust for RowList::const_iterator.
6029 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6032 2003-03-31 John Levon <levon@movementarian.org>
6035 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6037 * lyx_main.C: set default fonts from using lyx_gui funcs
6039 * exporter.C: pdf_mode moved from lyxrc
6042 * lyxfunc.C: changes from above
6044 2003-03-31 John Levon <levon@movementarian.org>
6046 * lyx_main.C: fix to the last fix
6048 2003-03-31 John Levon <levon@movementarian.org>
6050 * bufferlist.C: "Load original" -> "Load Original"
6056 * format.C: more Alert cleanups
6058 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6060 * text2.C (removeParagraph): make it take a RowList::iterator as
6062 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6063 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6065 * text.C (anchor_row): make it take a RowList::iterator as arg,
6067 (computeBidiTables): make it take a const reference to Row instead
6068 of Row pointer, adjust.
6069 (leftMargin): make it take a RowList::iterator as arg, adjust.
6070 (rowBreakPoint): adjust
6071 (breakAgainOneRow): make it take a RowList::iterator as arg,
6073 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6075 * bufferview_funcs.C (toggleAndShow): adjust
6077 2003-03-30 John Levon <levon@movementarian.org>
6081 * boost-inst.C: moved to support
6083 * several files: changes as a result
6085 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6087 * text2.C (LyXText): adjust.
6089 (removeRow): make it take a RowList::iterator as arg, adjust.
6090 (fullRebreak): adjust
6091 (deleteEmptyParagraphMechanism): adjust
6092 (clearPaint): adjust
6095 * text.C (top_y): adjust
6096 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6097 (breakAgain): make it take a RowList::iterator as arg, adjust.
6098 (breakParagraph): adjust
6099 (insertChar): adjust
6102 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6103 need_break_row, and refresh_row.
6105 * text3.C (dispatch): adjust
6107 * text2.C (checkParagraph): adjust
6109 (setCursorFromCoordinates): adjust
6111 * text.C (top_y): adjust
6113 (getRow): make it return a RowList::iterator, adjust
6114 (getRowNearY): make it return a RowList::iterator, adjust
6116 * text2.C (init): adjust
6117 (insertRow): remove function
6118 (insertParagraph): adjust
6119 (redoParagraphs): adjust
6120 (fullRebreak): adjust
6121 (updateCounters): adjust
6123 * text.C (top_y): rewrite to use RowList iterators.
6125 (setHeightOfRow): rewrite to sue RowList iterators.
6126 (appendParagraph): adjust
6127 (breakAgain): adjust
6128 (breakAgainOneRow): adjust
6129 (breakParagraph): adjust
6131 (getRowNearY): adjust, and remove commented code.
6133 * lyxtext.h (firstRow): delete function
6134 (lastRow): delete function
6135 (rows): new function (const and non-const versions.)
6136 (insertRow): delete function
6138 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6140 2003-03-29 John Levon <levon@movementarian.org>
6142 * BufferView_pimpl.C: always update scrollbar top
6143 because pasting text when we're anchored could mean we
6144 miss an update altogether
6146 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6148 * text2.C (init): use rowlist_.end() and not 0.
6149 (insertRow): change to take a RowList::iterator as arg, adjust
6151 (insertParagraph): change to take a RowList::iterator as arg,
6153 (redoParagraphs): remove some debug msgs.
6155 * text.C (appendParagraph): change to take a RowList::iterator
6156 arg, adjust for this.
6157 (breakAgain): add an assert
6158 (breakAgainOneRow): ditto
6160 2003-03-29 John Levon <levon@movementarian.org>
6162 * text2.C: do not clear selection after inc/decDepth
6165 2003-03-29 John Levon <levon@movementarian.org>
6168 * buffer.C: fix broken strerrors according to Lars
6170 2003-03-29 John Levon <levon@movementarian.org>
6172 * converters.C: more Alert cleanups
6174 2003-03-29 John Levon <levon@movementarian.org>
6176 * bufferview_funcs.C: remove pointless Alert
6178 * buffer.C: fix confusing error message when
6179 a template is chmoded 000
6181 2003-03-29 John Levon <levon@movementarian.org>
6185 * BufferView_pimpl.C: Alert fixes
6189 * tabular-old.C: remove unused table compat reading
6191 2003-03-29 John Levon <levon@movementarian.org>
6196 * lyx_cb.C: more Alert cleanups
6198 * lyxfunc.C: don't allow chktex if not latex document
6200 2003-03-29 John Levon <levon@movementarian.org>
6204 * buffer.C: warnings pushed down from support/,
6207 2003-03-29 John Levon <levon@movementarian.org>
6209 * lyxfunc.C: safety check for C-r (revert)
6211 2003-03-29 John Levon <levon@movementarian.org>
6214 * bufferlist.C: several UI fixes using Alert::prompt.
6215 Fix the pointless looping quit code. Fix stupid revert
6220 * lyx_cb.C: use Alert::prompt
6222 * lyx_main.C: remove a silly question
6224 * lyxfunc.C: remove a couple of silly questions,
6227 2003-03-28 John Levon <levon@movementarian.org>
6229 * text2.C: fix bug 974 (End on empty par)
6231 2003-03-28 John Levon <levon@movementarian.org>
6233 * BufferView_pimpl.C:
6235 * lfuns.h: remove do-nothing math greek lfuns
6237 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6239 * lyxgluelength.h (isValidGlueLength): add default arg on
6240 parameter 2. Remove default arg from friend in class.
6242 * lyxlength.h (isValidLength): add default arg on parameter 2.
6243 Remove default arg from friend in class.
6245 * text2.C (LyXText): adjust, initialize refresh_row.
6249 (insertParagraph): adjst
6250 (redoParagraphs): adjust
6251 (fullRebreak): adjust
6252 (updateCounters): adjust
6253 (deleteEmptyParagraphMechanism): first attempt at fixing a
6256 * text.C (top_y): adjust
6257 (setHeightOfRow): adjust
6259 (getRowNearY): adjust
6261 * lyxtext.h: include RowList.h
6262 (~LyXText): not needed anymore, deleted.
6263 (firstRow): modify for RowList
6264 (lastRow): new function
6265 Delete firstrow and lastrow class variables, add a Rowlist
6266 rowlist_ class variable.
6268 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6271 * RowList.C (insert): fix case where it == begin().
6273 2003-03-26 Angus Leeming <leeming@lyx.org>
6275 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6276 the thesaurus dialog.
6278 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6280 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6282 * RowList.[Ch]: new files
6284 * ParagraphList.C (erase): handle the case where it == begin
6287 2003-03-25 John Levon <levon@movementarian.org>
6291 * aspell.C: add new aspell support
6294 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6297 2003-03-25 Angus Leeming <leeming@lyx.org>
6300 * LyXAction.C (init): new LFUN_INSET_INSERT.
6302 * BufferView_pimpl.C (dispatch): split out part of the
6303 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6305 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6308 2003-03-25 Angus Leeming <leeming@lyx.org>
6310 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6312 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6315 * text3.C: remove useless row->height(0)
6317 2003-03-25 John Levon <levon@movementarian.org>
6321 * text3.C: rename the refreshing stuff to better names
6323 2003-03-24 John Levon <levon@movementarian.org>
6325 * BufferView_pimpl.h:
6326 * BufferView_pimpl.C: update layout choice on a mouse
6329 2003-03-23 John Levon <levon@movementarian.org>
6331 * Makefile.am: fix commandtags.h reference
6333 2003-03-22 John Levon <levon@movementarian.org>
6335 * BufferView_pimpl.C:
6340 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6342 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6345 * text.C: take the rtl methods out of line
6347 2003-03-21 André Pönitz <poenitz@gmx.net>
6349 * metricsinfo.[Ch]: new files containing structures to be passed around
6350 during the two-phase-drawing...
6352 2003-03-21 André Pönitz <poenitz@gmx.net>
6354 * lyxtextclass.C: read 'environment' tag.
6356 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6358 * text2.C (removeRow): fix bug 964
6360 2003-03-20 John Levon <levon@movementarian.org>
6364 * text2.C: paint cleanups. Inset::update() dropped font
6367 2003-03-19 John Levon <levon@movementarian.org>
6369 * lyxfunc.C: only fitcursor/markDirty if available()
6371 2003-03-19 John Levon <levon@movementarian.org>
6373 * commandtags.h: rename to ...
6375 * lfuns.h: ... this, and renumber / cleanup
6377 2003-03-19 John Levon <levon@movementarian.org>
6379 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6380 fit the cursor after an lfun
6384 * BufferView_pimpl.h:
6385 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6387 * LyXAction.C: layout-character should have ReadOnly
6389 * ParagraphParameters.C:
6391 * bufferview_funcs.C:
6398 * undo_funcs.C: changes from above
6400 2003-03-18 John Levon <levon@movementarian.org>
6402 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6403 remove it from update()
6405 * lyxfunc.C: update layout choice after an lfun
6407 * text3.C: remove extra updateLayoutChoice()s
6409 2003-03-18 John Levon <levon@movementarian.org>
6411 * text.C: top_y change means full repaint, fix
6412 a drawing bug with cursor movement
6414 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6418 * text2.C: anchor row on setCursor
6420 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6422 * lyxtext.h: remove almost all mutable keywords
6425 * text3.C: remove const keywords accordingly
6427 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6429 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6431 (TeXEnvironment): ditto
6434 2003-03-17 John Levon <levon@movementarian.org>
6436 * text.C (rowBreakPoint): remove attempt to fix displayed
6437 math insets inside a manual label
6439 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6441 * lyxtext.h: remove BufferView* as first arg from almost all class
6443 * other files: adjust.
6445 2003-03-17 John Levon <levon@movementarian.org>
6449 * text2.C: more paint cleanups
6451 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6454 * rowpainter.C: remove "smart" background painting code
6456 2003-03-16 John Levon <levon@movementarian.org>
6461 * text3.C: add helper functions for setting refresh_row/y
6463 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6465 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6466 newline inset which *can* get inserted in the pass_thru layouts.
6467 This is primarily for literate documents.
6469 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6471 * buffer.C: increment LYX_FORMAT to 223
6473 2003-03-14 André Pönitz <poenitz@gmx.net>
6475 * textclass.h: prepare for environment handling, ws changes
6476 * lyxlayout.C: read latexheader and latexfooter tags
6478 2003-03-14 John Levon <levon@movementarian.org>
6480 * text2.C: rewrite ::status() a bit
6482 2003-03-13 John Levon <levon@movementarian.org>
6484 * lyxtext.h: add some docs
6486 2003-03-13 John Levon <levon@movementarian.org>
6491 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6493 2003-03-13 John Levon <levon@movementarian.org>
6495 * text3.C: fix appendix redrawing
6497 2003-03-13 John Levon <levon@movementarian.org>
6499 * text.C (setHeightOfRow):
6501 * rowpainter.C: make appendix mark have the text
6502 "Appendix" so the user knows what it is
6505 * LColor.C: s/appendixline/appendix/ from above
6507 2003-03-13 John Levon <levon@movementarian.org>
6509 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6511 * text.C: fix a getChar(pos) bug properly
6513 2003-03-13 Angus Leeming <leeming@lyx.org>
6516 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6517 Probably only temporary. Let's see how things pan out.
6519 * BufferView.C (unlockInset):
6520 * BufferView_pimpl.C (fitCursor):
6521 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6523 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6524 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6526 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6527 new functions that convert ParagraphParameters to and from a string.
6529 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6530 BufferView::Pimpl's dispatch.
6531 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6533 2003-03-13 André Pönitz <poenitz@gmx.net>
6537 * factory.C: make it aware of InsetEnv
6539 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6541 * text2.C (setCursor): never ask for one past last
6542 (setCursor): add some debugging messages.
6544 * text.C (singleWidth): never ask for one past last
6545 (singleWidth): ditto
6547 (rightMargin): ditto
6548 (rowBreakPoint): ditto
6549 (setHeightOfRow): ditto
6550 (prepareToPrint): ditto
6552 * rowpainter.C (paintBackground): never ask for one past last
6553 (paintText): never ask for one past last
6555 * paragraph_pimpl.C (getChar): make the assert stricter, never
6556 allow the one past last pos to be taken
6558 * paragraph.C (getChar): ws changes only
6560 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6561 (numberOfSeparators): ditto
6562 (numberOfHfills): ditto
6564 2003-03-12 John Levon <levon@movementarian.org>
6570 * paragraph_funcs.C: fix per-buffer authorlists
6572 2003-03-12 John Levon <levon@movementarian.org>
6574 * text.C: fix newline in right address
6576 2003-03-12 Angus Leeming <leeming@lyx.org>
6578 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6579 duplicate those in LyXFunc::dispatch.
6583 * ToolbarDefaults.C:
6584 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6585 Add LFUN_FONTFREE_UPDATE.
6587 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6588 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6590 * bufferview_func.[Ch]: several new functions to facilliate
6591 transfer of data to and from the character dialog.
6593 2003-03-12 John Levon <levon@movementarian.org>
6598 * paragraph_funcs.C:
6599 * paragraph_pimpl.C:
6603 * text3.C: remove META_NEWLINE in favour of an inset
6606 * rowpainter.C: remove paintNewline (done by inset)
6608 2003-03-12 John Levon <levon@movementarian.org>
6610 * paragraph_pimpl.C: complain about bad getChar()s
6611 for a while at least
6613 2003-03-12 John Levon <levon@movementarian.org>
6616 * buffer.C: move paragraph read into a separate function,
6617 a little renaming to reflect that.
6620 * bufferparams.C: remove the author_ids map, not necessary now
6623 * factory.C: moved Buffer::readInset to here
6625 * paragraph_funcs.h:
6626 * paragraph_funcs.C: readParagraph free function moved from
6629 * tabular.C: name change
6631 2003-03-12 John Levon <levon@movementarian.org>
6634 * ParagraphParameters.C: move par params input to
6637 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6638 behave like a normal read from the stream wrt reading
6639 a line vs. a \\token
6641 2003-03-12 John Levon <levon@movementarian.org>
6644 * ParagraphParameters.h:
6645 * ParagraphParameters.C: move output code to a
6648 2003-03-12 John Levon <levon@movementarian.org>
6650 * BufferView.C (insertLyXFile):
6653 * tabular.C: use a parlist iterator for creating the
6656 2003-03-12 John Levon <levon@movementarian.org>
6658 * buffer.C: make current_change static local not
6661 2003-03-12 John Levon <levon@movementarian.org>
6663 * buffer.C: fix insertStringAsLines for change tracking
6665 2003-03-12 John Levon <levon@movementarian.org>
6672 * bufferparams.C: move author list into params. Rename some
6673 functions. Move the header reading into a separate token
6674 loop. Move the header token reading into BufferParams.
6676 2003-03-12 John Levon <levon@movementarian.org>
6678 * changes.C: put debug inside lyxerr.debugging() checks
6680 2003-03-11 André Pönitz <poenitz@gmx.net>
6682 * factory.C: make it aware of InsetHFill
6684 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6686 * buffer.C (latexParagraphs): move function from here...
6687 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6690 2003-03-10 Angus Leeming <leeming@lyx.org>
6692 * LyXAction.C (init): fix bug in poplating array with multiple entries
6693 with the same LFUN (spotted by JMarc).
6695 2003-03-10 John Levon <levon@movementarian.org>
6698 * text2.C: move getColumnNearX() near its
6701 2003-03-10 John Levon <levon@movementarian.org>
6703 * text.C: fix break before a minipage
6705 2003-03-10 John Levon <levon@movementarian.org>
6707 * text.C: fix the last commit
6709 2003-03-09 John Levon <levon@movementarian.org>
6713 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6714 bug 365 (don't break before insets unless needed). Don't
6715 return a value > last under any circumstances.
6717 2003-03-09 Angus Leeming <leeming@lyx.org>
6719 * BufferView_pimpl.C (trackChanges, dispatch): call
6720 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6722 2003-03-09 Angus Leeming <leeming@lyx.org>
6724 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6725 than Dialogs::showAboutlyx().
6727 2003-03-09 Angus Leeming <leeming@lyx.org>
6729 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6730 than Dialogs::showTabularCreate().
6732 2003-03-09 John Levon <levon@movementarian.org>
6736 * text2.C: 3rd arg to nextBreakPoint was always the same.
6739 2003-03-08 John Levon <levon@movementarian.org>
6746 * text2.C: Remove the "main" bit from the "main body"
6749 2003-03-08 John Levon <levon@movementarian.org>
6751 * text.C (leftMargin): The left margin of an empty
6752 manual label paragraph should not include the label width
6755 * text.C (prepareToPrint): don't attempt to measure hfills
6756 for empty manual label paragraphs - the answer should be 0
6758 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6760 * CutAndPaste.C: remove commented code and reindent.
6762 2003-03-08 John Levon <levon@movementarian.org>
6765 * lyxfunc.C: move reloadBuffer()
6768 * BufferView.C: to here
6770 * lyxvc.C: add comment
6773 * vc-backend.C: call bv->reload() to avoid
6774 getStatus() check on MENURELOAD
6776 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6778 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6779 to an old format .dep file.
6781 2003-03-07 Angus Leeming <leeming@lyx.org>
6783 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6784 when the LFUN_MOUSE_RELEASE should have been handled by
6785 inset->localDispatch.
6787 2003-03-07 Angus Leeming <leeming@lyx.org>
6789 * BufferView_pimpl.C (dispatch):
6790 * LyXAction.C (init):
6791 * ToolbarDefaults.C (init):
6793 * lyxfunc.C (getStatus):
6794 remove LFUN_INSET_GRAPHICS.
6796 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6798 2003-03-07 Angus Leeming <leeming@lyx.org>
6801 * LyXAction.C (init):
6802 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6804 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6807 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6809 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6810 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6812 2003-03-07 Angus Leeming <leeming@lyx.org>
6814 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6817 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6819 * ParagraphList.C (front): new function
6822 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6824 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6825 and top_row_offset_. removed var first_y.
6827 * text2.C (LyXText, removeRow):
6829 * BufferView_pimpl.C:
6830 use these methods instead of using first_y
6832 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6834 * text2.C (pasteSelection): adjust for checkPastePossible
6836 * CutAndPaste.C: remove Paragraph * buf and replace with
6837 ParagraphList paragraphs.
6838 (DeleteBuffer): delete
6839 (cutSelection): change the tc type to textclass_type
6840 (copySelection): change the tc type to textclass_type
6841 (copySelection): adjust for ParagraphList
6842 (pasteSelection): change the tc type to textclass_type
6843 (pasteSelection): adjust for Paragraphlist
6844 (nrOfParagraphs): simplify for ParagraphList
6845 (checkPastePossible): simplify for ParagraphList
6846 (checkPastePossible): remove unused arg
6848 * ParagraphList.C (insert): handle the case where there are no
6851 * CutAndPaste.h: make CutAndPaste a namespace.
6853 * text3.C (dispatch): adjust
6855 * text.C (breakParagraph): add a ParagraphList as arg
6857 * paragraph_funcs.C (breakParagraph): change to take a
6858 BufferParams and a ParagraphList as args.
6859 (breakParagraphConservative): ditto
6860 (mergeParagraph): ditto
6861 (TeXDeeper): add a ParagraphList arg
6862 (TeXEnvironment): ditto
6865 * buffer.C (readLyXformat2): adjust
6866 (insertStringAsLines): adjust
6867 (latexParagraphs): adjust
6869 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6870 (cutSelection): adjust
6871 (pasteSelection): adjust
6873 * BufferView_pimpl.C (insertInset): adjust
6875 2003-03-05 Angus Leeming <leeming@lyx.org>
6878 * LyXAction.C (init):
6879 * BufferView_pimpl.C (dispatch):
6880 * lyxfunc.C (getStatus):
6881 remove LFUN_CHILD_INSERT.
6883 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6885 2003-03-05 Angus Leeming <leeming@lyx.org>
6888 * LyXAction.C (init):
6889 * src/factory.C (createInset):
6890 * lyxfunc.C (getStatus):
6891 * text3.C (dispatch):
6892 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6894 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6896 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6898 * ParagraphList.C (insert): handle insert right before end()
6899 (erase): fix cases where it can be first or last paragraph.
6901 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6903 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6904 Paragraph::next and Paragraph::previous
6907 * text.C (breakParagraph): adjust
6909 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6910 BufferParams& as arg.
6911 (breakParagraph): use ParagraphList::insert
6912 (breakParagraphConservative): take a Buffer* instead of a
6913 BufferParams& as arg.
6914 (breakParagraphConservative): use ParagraphList::insert.
6916 * buffer.C (insertStringAsLines): un-const it
6917 (insertStringAsLines): adjust
6919 * ParagraphList.C (insert): new function
6921 * CutAndPaste.C (pasteSelection): adjust
6923 * text.C (backspace): adjust
6925 * tabular.C (SetMultiColumn): adjust
6927 * CutAndPaste.C (cutSelection): adjust
6928 (pasteSelection): adjust
6930 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6931 Buffer const * as arg
6933 * ParagraphList.C (erase): new function
6934 * paragraph_funcs.C (mergeParagraph): use it
6935 (mergeParagraph): make it take a Buffer* instead of a
6936 BufferParams* as arg
6938 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6940 (breakParagraphConservative): ditto
6942 * paragraph.h: remove the breakParagraph friend
6944 * paragraph.C (eraseIntern): new function
6945 (setChange): new function
6947 * paragraph_funcs.C (mergeParagraph): make it take a
6948 ParagraphList::iterator instead of a Paragraph *, adjust
6951 * paragraph.h: move an #endif so that the change tracking stuff
6952 also works in the NO_NEXT case.
6954 2003-03-04 Angus Leeming <leeming@lyx.org>
6957 * LyXAction.C: new LFUN_INSET_MODIFY.
6959 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6960 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6962 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6964 * several files: ws changes only
6966 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6967 (TeXEnvironment): ditto
6970 * buffer.C (makeLaTeXFile): adjust
6971 (latexParagraphs): make it take ParagraphList::iterator as args
6973 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6975 * buffer.C (latexParagraphs): adjust
6977 * paragraph.C (TeXOnePar): move function...
6978 (optArgInset): move function...
6979 (TeXEnvironment): move function...
6980 * paragraph_pimpl.C (TeXDeeper): move function...
6981 * paragraph_funcs.C: ...here
6983 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6985 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6987 * buffer.C (readInset): remove compability code for old Figure and
6990 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6992 * buffer.C: ws changes
6995 * BufferView_pimpl.C: ditto
6998 * bufferlist.h: ditto
7002 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7004 * converter.[Ch]: split into itself +
7007 * Makefile.am: += graph.[Ch] + format.[Ch]
7014 * lyxrc.C: added #include "format.h"
7016 2003-02-27 Angus Leeming <leeming@lyx.org>
7018 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7021 * factory.C (createInset): add "label" to the factory.
7023 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7024 string and do no more.
7026 2003-02-27 Angus Leeming <leeming@lyx.org>
7029 * LyXAction.C (init):
7030 * factory.C (createInset):
7031 * BufferView_pimpl.C (dispatch):
7032 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7034 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7036 * lyxfunc.C (dispatch):
7037 * text3.C (dispatch): pass name to params2string.
7039 2003-02-26 Angus Leeming <leeming@lyx.org>
7041 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7043 Rearrange the ~includes. Strip out the unnecessary ones.
7045 * factory.C (createInset): reformat.
7046 create new insets for the various LFUN_XYZ_APPLY lfuns.
7048 2003-02-26 John Levon <levon@movementarian.org>
7051 * lyxrow.C: add isParStart,isParEnd helpers
7053 * paragraph.h: make isInserted/DeletedText take refs
7055 * paragraph_funcs.h:
7056 * paragraph_funcs.C: remove #if 0'd code
7061 * text.C: use lyxrow helpers above.
7062 Move draw and paint routines to RowPainter.
7063 Make several methods use refs not pointers.
7064 Make backgroundColor() const.
7065 Add markChangeInDraw(), isInInset().
7066 Merge changeRegionCase into changeCase.
7067 Make workWidth() shouldn't-happen code into an Assert.
7070 * rowpainter.C: new class for painting a row.
7073 * vspace.C: make inPixels take a ref
7075 2003-02-26 Angus Leeming <leeming@lyx.org>
7077 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7080 2003-02-25 John Levon <levon@movementarian.org>
7082 * ispell.C: give the forked command a more accurate name
7084 2003-02-22 John Levon <levon@movementarian.org>
7087 * toc.C: make TocItem store an id not a Paragraph *
7090 2003-02-21 Angus Leeming <leeming@lyx.org>
7092 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7093 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7094 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7095 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7096 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7097 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7099 * BufferView_pimpl.C (dispatch):
7100 * LyXAction.C (init):
7101 * factory.C (createInset):
7102 * lyxfunc.C (getStatus, dispatch):
7103 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7105 2003-02-21 Angus Leeming <leeming@lyx.org>
7107 * BufferView_pimpl.C (MenuInsertLyXFile):
7108 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7109 * lyxfunc.C (menuNew, open, doImport):
7110 no longer pass a LyXView & to fileDlg.
7112 2003-02-21 Angus Leeming <leeming@lyx.org>
7114 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7115 * LyXAction.C: change, BIBKEY to BIBITEM.
7116 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7117 Change InsetBibKey to InsetBibitem.
7118 Change BIBKEY_CODE to BIBITEM_CODE.
7119 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7120 * factory.C: replace insetbib.h with insetbibitem.h.
7121 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7122 * paragraph.C: replace insetbib.h with insetbibitem.h.
7123 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7124 Change bibkey() to bibitem().
7125 * text.C: remove insetbib.h.
7126 * text2.C: replace insetbib.h with insetbibitem.h.
7127 change bibkey() to bibitem().
7128 * text3.C: remove insetbib.h.
7129 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7131 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7133 * lyxrc.C (output): enclose user email in quotes (in case there are
7136 2003-02-18 John Levon <levon@movementarian.org>
7138 * buffer.h: add std::
7140 2003-02-17 John Levon <levon@movementarian.org>
7146 * pspell.C: reworking. Especially in ispell, a large
7147 number of clean ups and bug fixes.
7149 * lyxfunc.C: fix revert to behave sensibly
7151 2003-02-17 André Pönitz <poenitz@gmx.net>
7154 * commandtags.h: new LFUN_INSERT_BIBKEY
7164 * paragraph_func.C: remove special bibkey handling
7166 2003-02-17 John Levon <levon@movementarian.org>
7168 * text.C (Delete): fix case where delete at the end of
7169 the very first paragraph would not merge the pars
7171 2003-02-17 John Levon <levon@movementarian.org>
7173 * lyxrow.C: fix lastPrintablePos()
7175 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7177 * bufferparams.C (writeLaTeX): add a std:here
7179 * buffer.C: and remove a using directive there
7181 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7183 * buffer.C (makeLaTeXFile): move the code that generates the
7186 * bufferparams.C (writeLaTeX): ... in this new method
7188 * LaTeXFeatures.C (getEncodingSet): make const
7189 (getLanguages): make const
7191 * MenuBackend.C (binding): returns the binding associated to this
7193 (add): sets the status of each item by calling getStatus. Adds
7195 (read): add support for OptSubMenu
7196 (expand): remove extra separator at the end of expanded menu
7198 2003-02-15 John Levon <levon@movementarian.org>
7201 * BufferView_pimpl.C:
7203 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7204 inset code that had no actual effect. Remove unneeded status
7207 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7209 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7212 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7214 * text.C (drawLengthMarker): also draw an arrow marker for
7215 symbolic lengths (medskip...)
7217 2003-02-14 John Levon <levon@movementarian.org>
7220 * tabular.C: better method names
7222 2003-02-14 John Levon <levon@movementarian.org>
7224 * BufferView_pimpl.C:
7229 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7230 it's a more accurate name. Remove some pointless uses.
7232 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7234 * text2.C (LyXText): change order of initilizers to shut off
7237 2003-02-14 John Levon <levon@movementarian.org>
7239 * buffer.C: use ParIterator for getParFromID()
7243 * paragraph_pimpl.h:
7244 * paragraph_pimpl.C: remove unused getParFromID()
7246 2003-02-14 John Levon <levon@movementarian.org>
7248 * buffer.C: remove some very old #if 0'd parse code
7250 2003-02-13 John Levon <levon@movementarian.org>
7254 * text2.C: move hfillExpansion(), numberOfSeparators(),
7255 rowLast(), rowLastPrintable(), numberofHfills(),
7256 numberOfLabelHfills() ...
7259 * lyxrow.C: ... to member functions here.
7264 * text.C: remove LyXText::beginningOfMainBody(), and call
7265 p->beginningOfMainBody() directly. Move the check for
7266 LABEL_MANUAL into the latter.
7273 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7279 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7280 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7282 2003-02-13 John Levon <levon@movementarian.org>
7284 * CutAndPaste.C: remove debug
7286 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7288 * paragraph.C (asString): remove two unused variables
7290 * lyxtextclass.C (readTitleType):
7292 (LyXTextClass): handle new members titletype_ and titlename_
7294 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7296 2003-02-09 John Levon <levon@movementarian.org>
7299 * buffer.C: replace hand-coded list with a map for the dep clean
7301 2003-02-08 John Levon <levon@movementarian.org>
7303 * LaTeX.C: consolidate code into showRunMessage() helper
7305 2003-02-08 John Levon <levon@movementarian.org>
7310 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7311 and pass the size in explicitly
7313 * BufferView_pimpl.h:
7314 * BufferView_pimpl.C:
7316 * BufferView.C: add getCurrentChange()
7318 * BufferView_pimpl.h:
7319 * BufferView_pimpl.C: handle change lfuns
7321 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7322 for changes. Mark pasted paragraphs as new.
7324 * support/lyxtime.h:
7325 * support/lyxtime.C:
7326 * DepTable.C: abstract time_t as lyx::time_type
7329 * LColor.C: add colours for new text, deleted text, changebars
7331 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7332 package use "usenames" option.
7336 * LyXAction.C: add change lfuns
7340 * author.C: author handling
7343 * buffer.C: add a per-buffer author list, with first entry as
7344 current author. Handle new .lyx tokens for change tracking. Output
7345 author list to .lyx file. Output dvipost stuff to .tex preamble.
7346 Bump lyx format to 222.
7349 * bufferlist.C: add setCurrentAuthor() to reset current author details
7353 * bufferparams.C: add param for tracking
7355 * bufferview_funcs.C: output change info in minibuffer
7359 * changes.C: add change-tracking structure
7362 * debug.C: add CHANGES debug flag
7365 * lyxfind.C: add code for finding the next change piece
7368 * lyxrc.C: add user_name and user_email
7371 * lyxrow.C: add a metric for the top of the text line
7374 * text.C: implement accept/rejectChange()
7377 * text.C: paint changebars. Paint new/deleted text in the chosen
7378 colours. Strike through deleted text.
7382 * paragraph_pimpl.h:
7383 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7384 in the current change to the insert functions. Rework erase to
7385 mark text as deleted, adding an eraseIntern() and a range-based
7386 erase(). Implement per-paragraph change lookup and
7389 * paragraph_funcs.C: Fixup paste for change tracking.
7391 * tabular.C: mark added row/columns as new.
7393 * text.C: fix rowLast() to never return -1. Don't allow
7394 spellchecking of deleted text. Track transpose changes. Don't
7395 allow paragraph break or merge where appropriate.
7397 * text2.C: leave cursor at end of selection after a cut.
7399 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7401 * text.C (getLengthMarkerHeight):
7402 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7403 visible on screen too.
7405 2003-02-07 John Levon <levon@movementarian.org>
7407 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7409 2003-02-05 Angus Leeming <leeming@lyx.org>
7411 * lyxserver.C (read_ready): revert my patch of 11 September last year
7412 as it sends PC cpu through the roof. Presumably this means that
7413 the lyxserver will no longer run on an Alpha...
7415 2003-01-30 Angus Leeming <leeming@lyx.org>
7417 * factory.C (createInset): create an InsetCommandParam of type "index"
7418 and use it to 'do the right thing'.
7420 * text2.C (getStringToIndex): ensure that cursor position is always
7421 reset to the reset_cursor position.
7423 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7425 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7428 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7432 * lyxfunc.C: Output messages with identical spelling, punctuation,
7435 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7437 * MenuBackend.C (expandFormats): List only viewable export formats
7440 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7443 * lyxfunc.C (getStatus): Make sure that formats other than
7444 "fax" can also be disabled
7446 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7448 * text3.C (dispatch): put the lfuns that insert insets in 3
7449 groups, and call doInsertInset with appropriate arguments.
7450 (doInsertInset): new function, that creates an inset and inserts
7451 it according to some boolean parameters.
7453 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7455 * buffer.C (readFile): remember to pass on 'par' when calling
7456 readFile recursively.
7458 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7460 * MenuBackend.C (expandFormats): add "..." to import formats.
7462 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7464 * paragraph.C (asString): Remove XForms RTL hacks.
7466 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7467 * buffer.C: fix typo
7469 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7471 * Makefile.am (LIBS): delete var
7472 (lyx_LDADD): add @LIBS@ here instead.
7474 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7476 * Clarify the meaning of "wheel mouse jump"
7478 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7480 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7483 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7485 * importer.C (Loaders): do not preallocate 3 elements in the
7486 vector, since one ends up with 6 elements otherwise
7488 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7490 * DepTable.C (write): write the file name as last element of the
7491 .dep file (because it may contain spaces)
7492 (read): read info in the right order
7494 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7496 * paragraph_pimpl.C (simpleTeXBlanks):
7497 (simpleTeXSpecialChars):
7498 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7500 * tabular.C (latex): add some missing case statements. Reindent.
7502 * MenuBackend.C (expandToc): remove unused variable.
7504 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7513 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7516 2003-01-05 John Levon <levon@movementarian.org>
7519 * BufferView.C: add getEncoding()
7522 * kbsequence.C: do not store last keypress
7525 * lyxfunc.C: store last keypress here instead. Pass encoding
7528 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7530 * lyx_main.C (init): remove annoying error message when following
7531 symbolic links (bug #780)
7533 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7535 * text.C (insertChar):
7536 * lyxrc.C (getDescription): remove extra spaces
7538 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7540 * lyxrc.C (getDescription): remove extra spaces
7542 2002-12-20 John Levon <levon@movementarian.org>
7544 * text3.C: hack fix for page up/down across tall rows
7546 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7548 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7551 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7553 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7554 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7555 thesaurus is not compiled in
7557 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7559 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7561 2002-12-16 Angus Leeming <leeming@lyx.org>
7564 * lyx_main.C (init): remove override_x_deadkeys stuff.
7566 2002-12-12 John Levon <levon@movementarian.org>
7568 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7569 insert. Only remove shift modifier under strict
7572 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7574 * MenuBackend.C (expandToc): fix crash.
7576 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7578 * MenuBackend.C (expandToc): gettext on float names.
7580 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7582 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7583 implement bool empty() [bug 490]
7585 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7587 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7589 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7591 * several files: ws changes
7593 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7595 * text2.C (setCounter): clean up a bit, use boost.format.
7596 (updateCounters): initialize par upon declaration.
7598 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7599 if the layout exists. We do not just store the layout any more.
7600 (SwitchLayoutsBetweenClasses): use boost.format
7602 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7604 * converter.C (convert): if from and to files are the same, use a
7605 temporary files as intermediary
7607 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7610 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7612 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7614 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7616 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7618 * tabular.C (asciiPrintCell): use string(size, char) instead of
7621 * sgml.C (openTag): fix order of arguments to string constructor
7624 * lyxfunc.C (dispatch): use boost.format
7626 * lots of files: change "c" -> 'c'
7628 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7630 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7632 2002-11-25 Angus Leeming <leeming@lyx.org>
7634 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7636 * lyx_main.C (init): compile fix.
7638 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7640 * lyx_cb.C (start): boost.formatify
7641 do not include <iostream>
7643 * lengthcommon.C: ws only
7645 * boost-inst.C,BoostFormat.h: add more explict instantations
7647 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7649 * lots of files: handle USE_BOOST_FORMAT
7651 2002-11-21 John Levon <levon@movementarian.org>
7653 * pspell.C: fix compile
7655 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7657 * lyxfunc.C (dispatch): use boost::format
7661 * lyxfont.C (stateText): use boost::format
7663 * lyx_main.C (LyX): use boost::format
7665 (queryUserLyXDir): ditto
7668 (typedef boost::function): use the recommened syntax.
7670 * importer.C (Import): use boost::format
7672 * debug.C (showLevel): use boost::format
7674 * converter.C (view): use boost::format
7679 * bufferview_funcs.C (currentState): use boost::format
7681 * bufferlist.C (emergencyWrite): use boost::format
7683 * buffer.C (readLyXformat2): use boost::format
7684 (parseSingleLyXformat2Token): ditto
7686 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7688 * LaTeX.C (run): use boost::format
7690 * Chktex.C (scanLogFile): use boost::format
7692 * BufferView_pimpl.C (savePosition): use boost::format
7693 (restorePosition): ditto
7694 (MenuInsertLyXFile): ditto
7696 * BoostFormat.h: help file for explicit instation.
7698 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7700 * tabular.C (latex): Support for block alignment in fixed width
7703 2002-11-17 John Levon <levon@movementarian.org>
7705 * BufferView_pimpl.C:
7707 * lyxfunc.C: split filedialog into open/save
7709 2002-11-08 Juergen Vigna <jug@sad.it>
7711 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7712 by my last patch (hopefully).
7714 2002-11-08 John Levon <levon@movementarian.org>
7723 * toc.C: ParConstIterator, and use it (from Lars)
7725 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7727 * lyxtextclass.[Ch]: revise and add doxygen comments
7729 2002-11-07 John Levon <levon@movementarian.org>
7731 * text.C: fix progress value for spellchecker
7733 * toc.C: fix navigate menu for insetwrap inside minipage
7735 * paragraph_funcs.C: added FIXME for suspect code
7737 2002-11-07 John Levon <levon@movementarian.org>
7739 * BufferView_pimpl.C: fix redrawing of insets
7742 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7744 * text2.C (updateCounters): fix bug 668
7746 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7748 * text3.C (dispatch): Do not make the buffer dirty when moving the
7751 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7753 * vc-backend.C: STRCONV
7756 * text2.C (setCounter): STRCONV
7758 * paragraph.C (asString): STRCONV
7760 * lyxlength.C (asString): STRCONV
7761 (asLatexString): ditto
7763 * lyxgluelength.C (asString): STRCONV
7764 (asLatexString): ditto
7766 * lyxfunc.C (dispatch): STRCONV
7769 * lyxfont.C (stateText): STRCONV
7771 * importer.C (Import): STRCONV
7773 * counters.C (labelItem): STRCONV
7774 (numberLabel): ditto
7775 (numberLabel): remove unused ostringstream o
7780 * bufferview_funcs.C (currentState): STRCONV
7782 * buffer.C (readFile): STRCONV
7783 (asciiParagraph): ditto
7784 (makeLaTeXFile): ditto
7786 * Spacing.C (writeEnvirBegin): STRCONV
7788 * LaTeXFeatures.C (getLanguages): STRCONV
7789 (getPackages): ditto
7791 (getBabelOptions): ditto
7792 (getTClassPreamble): ditto
7793 (getLyXSGMLEntities): ditto
7794 (getIncludedFiles): ditto
7798 (scanAuxFile): ditto
7801 * LString.h: add the STRCONV macros
7803 * BufferView_pimpl.C (savePosition): STRCONV
7804 (restorePosition): ditto
7805 (MenuInsertLyXFile): ditto
7807 * vc-backend.C (scanMaster): change from submatch[...] to
7810 * funcrequest.C: include config.h
7812 * factory.C: include config.h
7814 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7816 * box.C: include config.h
7818 * LaTeX.C (scanAuxFile): change from submatch[...] to
7822 2002-10-25 Angus Leeming <leeming@lyx.org>
7824 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7826 * ispell.[Ch] (setError): new method.
7827 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7828 Use setError() insetead of goto END.
7830 * lyx_cb.C (AutoSave): move out child process into new class
7833 2002-10-30 John Levon <levon@movementarian.org>
7835 * text3.C: make start appendix undoable
7837 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7839 * lyxlength.C (inPixels): Fix returned value.
7841 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7844 2002-10-24 Angus Leeming <leeming@lyx.org>
7846 * lyxgluelength.h: no need to forward declare BufferParams
7847 or BufferView, so don't.
7849 2002-10-21 John Levon <levon@movementarian.org>
7851 * BufferView.C: menuUndo ->undo, redo
7853 * BufferView.h: document, remove dead, make some methods private
7855 * paragraph_funcs.h:
7856 * paragraph_funcs.C:
7857 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7862 * sgml.C: move sgml open/close tag into sgml.C
7864 * bufferview_funcs.h: unused prototype
7867 * lyxfunc.C: remove unused
7870 * text.C: remove unused
7872 2002-10-21 John Levon <levon@movementarian.org>
7876 * BufferView_pimpl.h:
7877 * BufferView_pimpl.C: fix mouse wheel handling based on
7878 patch from Darren Freeman
7880 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7882 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7884 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7886 * lyxlength.C (inPixels): Fix hanfling of negative length.
7887 Fix LyXLength::MU case.
7889 2002-10-16 John Levon <levon@movementarian.org>
7891 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7893 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7895 * converter.C (view): add support for $$i (file name) and $$p
7896 (file path) for the viewer command. If $$i is not specified, then
7897 it is appended to the command (for compatibility with old syntax)
7899 2002-10-14 Juergen Vigna <jug@sad.it>
7901 * undo_funcs.C (textHandleUndo): alter the order in which the
7902 new undopar is added to the LyXText, as we have to set first
7903 the right prev/next and then add it as otherwise the rebuild of
7904 LyXText is not correct. Also reset the cursor to the right paragraph,
7905 with this IMO we could remove the hack in "redoParagraphs()".
7907 2002-10-09 Angus Leeming <leeming@lyx.org>
7909 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7910 to turn off an optimisation if a new inset is to be inserted.
7912 2002-10-11 André Pönitz <poenitz@gmx.net>
7914 * lyxtext.h: make some functions public to allow access
7915 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7917 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7919 * text3.C (dispatch): when changing layout, avoid an infinite loop
7922 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7924 * lyxrc.C (read): treat a viewer or converter command of "none" as
7927 * MenuBackend.C (expandFormats): for an update, also allow the
7928 formats that are not viewable
7930 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7931 script if it is newer than the lyxrc.defaults in user directory
7933 2002-10-07 André Pönitz <poenitz@gmx.net>
7935 * text.C: Vitaly Lipatov's small i18n fix
7937 2002-09-25 Angus Leeming <leeming@lyx.org>
7939 * ispell.h: doxygen fix.
7941 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7943 * buffer.h (readFile): Add a new argument to the method, to allow
7944 reading of old-format templates.
7946 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7948 * toc.C (getTocList): Get TOC from InsetWrap.
7950 2002-09-16 John Levon <levon@movementarian.org>
7952 * lyxfunc.C: check tabular for cut/copy too
7954 2002-09-12 John Levon <levon@movementarian.org>
7959 * factory.C: add header
7961 * paragraph_funcs.h:
7962 * paragraph_funcs.C: cleanup
7964 2002-09-11 John Levon <levon@movementarian.org>
7966 * PrinterParams.h: odd/even default to true
7968 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7970 * PrinterParams.h: update printer parameters for new xforms dialog
7972 2002-09-11 Angus Leeming <leeming@lyx.org>
7974 * lyxserver.C (read_ready): re-write to make it more transparent
7975 and to make it work in coherent fashion under Tru64 Unix.
7977 2002-09-11 André Pönitz <poenitz@gmx.net>
7981 * text3.C: implement LFUN_WORDSEL
7983 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7985 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7986 make floatlist_ a boost::shared_ptr<FloatList>
7988 * lyxtextclass.C: include FloatList.h
7989 (LyXTextClass): initialize floatlist_
7990 (TextClassTags): add TC_NOFLOAT
7991 (Read): match "nofloat" to TC_NOFLOAT and use it.
7992 (readFloat): modify call to floatlist_
7996 * FloatList.[Ch] (FloatList): remove commented out float
7998 (erase): new function
8000 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8002 * MenuBackend.C (expandToc): fix crash when there is no document
8005 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8007 * many files: Add insetwrap.
8009 2002-09-09 John Levon <levon@movementarian.org>
8011 * text2.C: remove confusing and awkward depth wraparound
8013 2002-09-09 John Levon <levon@movementarian.org>
8015 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8018 * buffer.C: remove getIncludeonlyList()
8021 * lyxfunc.C: remove headers
8023 2002-09-09 Juergen Vigna <jug@sad.it>
8025 * text.C (getColumnNearX): fix form Michael this is most
8026 probably a cut&paste bug.
8028 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8030 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8032 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8033 references, ws changes.
8035 * text2.C (init): update counters after init
8036 (insertParagraph): no need to set counter on idividual paragraphs.
8037 (setCounter): access the counters object in the textclass object
8038 on in the buffer object.
8039 (updateCounters): ditto
8041 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8042 shared_ptr<Counters> to avoid loading counters.h in all
8044 (LyXTextClass): initialize ctrs_
8045 (TextClassTags): add TC_COUNTER, and ...
8046 (Read): use it here.
8047 (CounterTags): new tags
8048 (readCounter): new function
8049 (counters): new funtion
8050 (defaultLayoutName): return a const reference
8052 * counters.C (Counters): remove contructor
8053 (newCounter): remove a couple of unneeded statements.
8054 (newCounter): simplify a bit.
8055 (numberLabel): some small formatting changes.
8057 * buffer.[Ch]: remove all traces of counters, move the Counters
8058 object to the LyXTextClass.
8060 2002-09-06 Alain Castera <castera@in2p3.fr>
8062 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8063 package to set the horizontal alignment on fixed width columns.
8066 * lyx_sty.h: added tabularnewline macro def.
8068 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8070 2002-09-06 John Levon <levon@movementarian.org>
8072 * LyXAction.C: tooltips for sub/superscript
8074 * MenuBackend.C: a bit more verbose
8076 * lyxfunc.C: tiny clean
8078 * undo_funcs.C: document undo_frozen
8080 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8082 * counters.C (Counters): add missing algorithm counter.
8084 * text2.C (setCounter): lookup the counter with layouts latexname
8085 instead of by section number.
8086 (setCounter): use a hackish way to lookup the correct enum
8088 a float name->type change
8089 reset enum couners with counter name directly instead of depth value.
8091 * counters.C (Counters): remove the push_backs, change to use the
8092 float type not the float name.
8093 (labelItem): remove unused string, float name->type change
8095 * counters.h: don't include vector, loose the enums and sects vectors
8097 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8099 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8100 (Read): add float->TC_FLOAT to textclassTags
8101 (Read): and handle it in the switch
8102 (readFloat): new function
8104 * FloatList.C (FloatList): comment out the hardcoded float
8107 * lyxlayout.h: ws change.
8109 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8111 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8113 2002-09-03 Angus Leeming <leeming@lyx.org>
8115 * BufferView_pimpl.h: qualified name is not allowed in member
8116 declaration: WorkArea & Pimpl::workarea() const;
8118 * factory.C: added using std::endl directive.
8120 * text3.C: added using std::find and std::vector directives.
8122 2002-08-29 André Pönitz <poenitz@gmx.net>
8125 * text2.C: remove unused member number_of_rows
8128 * BufferView2.C: remove file, move contents to...
8129 * BufferView.C: ... here
8131 * BufferView_pimpl.C:
8132 * factory.C: move more inset creation to factory
8134 * vspace.C: avoid direct usage of LyXText, ws changes
8137 don't provide direct access to WorkArea, use two simple
8138 acessors haveSelction() and workHeight() instead
8141 2002-08-29 John Levon <levon@movementarian.org>
8143 * BufferView_pimpl.C (dispatch): do not continue when
8146 2002-08-28 André Pönitz <poenitz@gmx.net>
8148 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8151 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8153 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8155 * buffer.C: increment LYX_FORMAT to 221
8157 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8158 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8160 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8162 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8164 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8166 * factory.C (createInset): use LyXTextClass::floats
8168 * MenuBackend.C (expandFloatListInsert):
8169 (expandFloatInsert):
8172 * text2.C (setCounter):
8174 * LaTeXFeatures.C (useFloat):
8175 (getFloatDefinitions):
8177 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8179 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8180 floatlist_, with accessor floats().
8182 * FloatList.h: remove global FloatList
8184 2002-08-26 André Pönitz <poenitz@gmx.net>
8186 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8190 * BufferView_pimpl.C:
8191 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8193 2002-08-25 John Levon <levon@movementarian.org>
8195 * LyXAction.C: fix margin note description
8197 2002-08-24 John Levon <levon@movementarian.org>
8201 * bufferview_funcs.C:
8203 * undo_funcs.C: cleanups
8205 * lyxfunc.C: disable CUT/COPY when no selection
8207 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8209 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8210 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8212 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8213 Add backward compatibility to "mono", "gray" and "no".
8215 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8217 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8218 (and file_format >= 200).
8220 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8222 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8224 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8226 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8228 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8230 * BufferView_pimpl.C:
8237 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8238 inset and code to make it work with the paragraph code. The inset
8239 can be anywhere in the paragraph, but will only do the expected
8240 thing in LaTeX if the layout file contains the parameter line
8242 (or more generally, a nonzero value) for that layout.
8244 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8246 * paragraph.h: remove the declaration of undefined counters class
8249 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8251 * text2.C (setCounter): fixed enumeration mis-count as reported by
8252 Dr. Richard Hawkins.
8254 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8256 * paragraph_funcs.h: remove some unneeded includes
8258 * text.C (backspace): pasteParagraph now in global scipe
8260 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8261 (pasteSelection): ditto
8263 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8264 * paragraph_funcs.C (pasteParagraph): ... here
8266 2002-08-20 André Pönitz <poenitz@gmx.net>
8268 * commandtags.h: new LFUNs for swapping/copying table row/colums
8271 * lyxfunc.C: support for new lfuns
8273 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8276 * buffer.[Ch]: remove NO_COMPABILITY stuff
8278 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8280 * boost.C (throw_exception): new file, with helper function for
8281 boost compiled without exceptions.
8286 * ParameterStruct.h:
8287 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8289 * bufferlist.C (emergencyWriteAll): use boost bind
8291 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8293 * text.C: include paragraph_funcs.h
8294 (breakParagraph): breakParagraph is now in global scope
8296 * paragraph_funcs.[Ch]: new files
8298 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8301 * buffer.C: include paragraph_funcs.h
8302 (insertStringAsLines): breakParagraph is now in global scope
8304 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8307 * CutAndPaste.C: include paragraph_funcs.h
8308 (cutSelection): breakParagraphConservative is now in global scope
8309 (pasteSelection): ditto
8311 * buffer.h: declare oprator== and operator!= for
8312 Buffer::inset_iterator
8314 * bufferlist.C (emergencyWrite): don't use fmt(...)
8316 * text3.C: add using std::endl
8318 * BufferView.C (moveCursorUpdate): remove default arg
8320 2002-08-20 André Pönitz <poenitz@gmx.net>
8322 * buffer.[Ch]: move inline functions to .C
8325 * BufferView_pimpl.C:
8327 * buffer.[Ch]: use improved inset_iterator
8330 * paragraph.[Ch]: write one paragraph at a time
8332 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8334 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8335 style if style is not specified.
8337 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8339 * text2.C (setCounter): when searching for right label for a
8340 caption, make sure to recurse to parent insets (so that a caption
8341 in a minipage in a figure float works) (bug #568)
8343 2002-08-20 André Pönitz <poenitz@gmx.net>
8345 * text3.C: new file for LyXText::dispatch() and helpers
8347 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8349 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8351 2002-08-19 André Pönitz <poenitz@gmx.net>
8354 * text.C: new LyXText::dispatch()
8356 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8358 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8360 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8362 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8365 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8367 * Makefile.am: use $(variables) instead of @substitutions@
8369 2002-08-15 André Pönitz <poenitz@gmx.net>
8372 * BufferView_pimpl.C: streamlining mathed <-> outer world
8376 * LyXAction.C: remove unused LFUN_MATH
8378 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8380 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8382 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8384 * paragraph.C (Paragraph): reformat a bit
8385 (cutIntoMinibuffer): use builtin InsetList function instad of
8389 * buffer.C: include boost/bind.hpp, add using std::for_each
8390 (writeFileAscii): use ParagraphList iterators
8391 (validate): use for_each for validate traversal of paragraphs
8392 (getBibkeyList): use ParagraphList iterators
8393 (resizeInsets): use for_each to resizeInsetsLyXText for all
8395 (getParFromID): use ParagraphList iterators
8397 * BufferView2.C (lockInset): use paragraph list and iterators
8399 2002-08-14 John Levon <levon@movementarian.org>
8401 * lyxserver.C: remove spurious xforms include
8403 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8405 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8407 2002-08-13 André Pönitz <poenitz@gmx.net>
8410 * lyxfunc.C: further cleaning
8412 2002-08-13 André Pönitz <poenitz@gmx.net>
8414 * funcrequest.h: new constructor
8416 * funcrequest.C: move stuff here from .h
8419 * BufferView_pimpl.C:
8422 * lyxfunc.C: subsequent changes
8424 * lyxfunc.h: new view() member function
8426 * lyxfunc.C: subsequent changes
8428 2002-08-13 Angus Leeming <leeming@lyx.org>
8431 * BufferView_pimpl.C:
8439 changes due to the changed LyXView interface that now returns references
8440 to member variables not pointers.
8442 2002-08-13 Angus Leeming <leeming@lyx.org>
8444 * WordLangTuple (word, lang_code): return references to strings,
8449 * lyxtext.h: forward-declare WordLangTuple.
8454 * text.C: #include "WordLangTuple.h".
8457 * text.C: (selectNextWordToSpellcheck): constify return type.
8459 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8465 * paragraph_pimpl.h:
8468 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8470 Made updateCounter always count from start of buffer, and removed
8471 second argument (par).
8472 Reverted floats number display to '#'. Perhaps I'll try again when the
8473 code base is sanitized a bit.
8475 2002-08-12 Angus Leeming <leeming@lyx.org>
8477 * buffer.[Ch] (getLabelList): constify.
8479 2002-08-07 André Pönitz <poenitz@gmx.net>
8481 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8483 * funcrequest.h: extension to keep mouse (x,y) position
8485 2002-08-12 Juergen Vigna <jug@sad.it>
8487 * BufferView2.C (insertErrors): forbid undo when inserting error
8490 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8492 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8494 * ParagraphList.[Ch]: new files
8496 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8498 * BufferView2.C (lockInset): ParagraphList changes
8501 * bufferlist.C: ditto
8505 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8507 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8508 unused class variable counter_,
8510 * paragraph.[Ch] (getFirstCounter): delete unused function
8512 * counters.C: include LAssert.h
8513 (reset): add a new function with no arg, change other version to
8514 not have def. arg and to not allow empty arg.
8516 * text2.C (setCounter): remove empty arg from call to Counters::reset
8518 2002-08-11 John Levon <levon@movementarian.org>
8520 * Makefile.am: add WordLangTuple.h
8522 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8524 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8525 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8527 * insets/insettext.C: InsetList changes
8529 * graphics/GraphicsSupport.C (operator()): InsetList changes
8531 * toc.C (getTocList): InsetList changes
8533 * paragraph_pimpl.[Ch]: InsetList changes
8535 * paragraph.[Ch]: InsetList changes
8537 * buffer.C (inset_iterator): InsetList changes
8538 (setParagraph): ditto
8539 * buffer.h (inset_iterator): ditto
8540 * iterators.C (operator++): ditto
8541 * iterators.h: ditto
8543 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8545 * InsetList.[Ch]: new files, most InsetList handling moved out of
8548 * BufferView2.C (removeAutoInsets): InsetList changes
8550 (ChangeInsets): ditto
8552 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8554 * paragraph_pimpl.h (empty): new function
8556 * paragraph.[Ch] (empty): new function
8558 * other files: use the new Paragraph::empty function
8560 2002-08-09 John Levon <levon@movementarian.org>
8562 * lyxtext.h: remove unused refresh_height
8564 2002-08-09 John Levon <levon@movementarian.org>
8571 * paragraph.C: move sgml char escaping out of paragraph
8574 * paragraph.C: remove id setter
8578 * paragraph_pimpl.C: remove dead tex_code_break_column
8580 * bufferview_funcs.C: small cleanup
8582 * lyxfunc.C: remove dead proto
8584 * lyxtext.h: make some stuff private. Remove some dead stuff.
8586 * lyxgluelength.C: make as[LyX]String() readable
8588 2002-08-08 John Levon <levon@movementarian.org>
8593 * ToolbarDefaults.C:
8596 * toc.C: lyxaction cleanup
8598 2002-08-08 John Levon <levon@movementarian.org>
8600 * BufferView2.C: small cleanup
8603 * lyxfind.C: move unnecessary header into the .C
8605 2002-08-08 John Levon <levon@movementarian.org>
8607 * funcrequest.h: just tedious nonsense
8610 * lyx_main.C: cleanups
8613 * vspace.C: remove dead header lyx_main.h
8615 2002-08-07 Angus Leeming <leeming@lyx.org>
8618 * paragraph_pimpl.h:
8619 Forward declare class Counters in paragraph.h by moving the ctrs member
8620 variable into Paragraph::Pimpl.
8621 (counters): new method, returning a reference to pimpl_->ctrs.
8623 * text2.C: ensuing changes.
8625 2002-08-07 John Levon <levon@movementarian.org>
8627 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8629 * BufferView_pimpl.C: announce X selection on double/triple
8632 * lyx_main.C: use correct bool in batch dispatch
8634 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8636 2002-08-07 André Pönitz <poenitz@gmx.net>
8638 * funcrequest.h: new class to wrap a kb_action and its argument
8641 * BufferView_pimpl[Ch]:
8645 * lyxrc.C: subsequent changes
8648 2002-08-07 John Levon <levon@movementarian.org>
8650 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8651 document options change.
8653 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8658 * makefile.am: move counters functionality over from
8659 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8661 2002-08-06 John Levon <levon@movementarian.org>
8663 * WordLangTuple.h: new file for word + language code tuple
8674 * BufferView2.C: use WordLangTuple
8677 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8679 2002-08-06 John Levon <levon@movementarian.org>
8681 * lyx_main.C: fix cmdline batch handling
8683 2002-08-06 André Pönitz <poenitz@gmx.net>
8685 * lyxrc.C: set default for show_banner to true
8687 2002-08-06 John Levon <levon@movementarian.org>
8689 * pspell.C: fix a crash, and allow new aspell to work
8691 2002-08-06 John Levon <levon@movementarian.org>
8694 * kbmap.C: small cleanup
8697 * vspace.C: add const
8699 2002-08-05 John Levon <levon@movementarian.org>
8701 * LyXAction.C: back to tabular-insert
8703 2002-08-04 John Levon <levon@movementarian.org>
8706 * BufferView.C: cosmetic change
8708 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8718 * BufferView2.C: purge all "Lyx" not "LyX" strings
8721 * lyxcursor.C: attempt to add some documentation
8726 * ToolbarDefaults.C:
8727 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8728 merge with LFUN_TABULAR_INSERT
8735 * pspell.C: split up i/pspell implementations into separate
8736 files, many cleanups
8738 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8740 * text2.C: some cleanup
8742 * lyxfunc.C: don't check for isp_command == "none" any more, it
8743 didn't make any sense
8745 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8750 * makefile.am: move counters functionality over
8751 from text2.C/paragraph.[Ch] to counters.[Ch], and
8753 2002-08-02 John Levon <levon@movementarian.org>
8755 * buffer.C: s/lyxconvert/lyx2lyx/
8757 2002-08-02 Angus Leeming <leeming@lyx.org>
8759 * lyxlex.C: revert John's change as it breaks reading of the user
8762 2002-08-02 Angus Leeming <leeming@lyx.org>
8764 * importer.C (Import):
8765 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8766 changes due to LyXView::view() now returning a boost::shared_ptr.
8768 2002-08-02 John Levon <levon@movementarian.org>
8770 * lyxlex.C: small cleanup
8772 2002-08-02 John Levon <levon@movementarian.org>
8774 * text2.C (status): small cleanup, no logic change
8776 2002-08-01 John Levon <levon@movementarian.org>
8779 * buffer.C (writeFile): don't output alerts, caller
8783 * lyx_cb.C: from above
8785 * lyxfunc.C: allow to open non-existent files
8787 2002-07-31 John Levon <levon@movementarian.org>
8789 * lyxserver.C: don't let incidental errors get
8792 2002-07-30 John Levon <levon@movementarian.org>
8794 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8796 2002-07-30 John Levon <levon@movementarian.org>
8799 * lyxserver.C: remove I/O callback too
8801 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8803 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8806 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8808 * many files: strip,frontStrip -> trim,ltrim,rtrim
8810 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8812 * PrinterParams.h: remove extern containsOnly, and include
8813 support/lstrings.h instead.
8815 * LaTeX.C (scanAuxFile): modify because of strip changes
8817 * buffer.C (makeLaTeXFile): ditto
8818 * bufferparams.C (writeFile): ditt
8819 * lyxfont.C (stateText): ditto
8820 * lyxserver.C (read_ready): ditto
8821 * vc-backend.C (scanMaster): ditto
8823 * BufferView_pimpl.h: ws changes
8825 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8827 2002-07-26 André Pönitz <poenitz@gmx.net>
8829 * kb_sequence.C: remove unnedred usings
8831 2002-07-26 Juergen Vigna <jug@sad.it>
8833 * lyxfind.C (LyXReplace): we have to check better if the returned
8834 text is not of theLockingInset()->getLockingInset().
8836 2002-07-25 Juergen Vigna <jug@sad.it>
8838 * lyxfind.C (LyXReplace): don't replace if we don't get the
8841 * undo_funcs.C (createUndo): remove debugging code.
8843 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8845 * buffer.C (parseSingleLyXformat2Token): Use default placement
8846 when reading old floats.
8848 * FloatList.C (FloatList): Change the default placement of figure
8849 and tables to "tbp".
8851 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8853 * MenuBackend.C: using std::max
8855 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8857 * MenuBackend.C (expandToc):
8858 (expandToc2): code moved from xforms menu frontend. It is now
8859 generic and TOCs are transparent to menu frontends.
8861 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8863 * toc.C (getTocList): protect against buf=0
8865 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8866 Menu as first parameter. Now, this calls itself recursively to
8867 expand a whole tree (this will be useful for TOC handling)
8868 (expandFloatInsert): remove 'wide' version of floats
8870 * MenuBackend.h (submenuname): returns the name of the submenu.
8871 (submenu): returns the submenu itself, provided it has been
8872 created by MenuBackend::expand
8874 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8876 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8877 insets which have noFontChange == true. (bug #172)
8879 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8881 * BufferView_pimpl.C: add connection objects and use them...
8884 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8886 * MenuBackend.C (expandLastfiles):
8889 (expandFloatListInsert):
8890 (expandFloatInsert):
8891 (expand): split expand in parts
8893 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8895 * lyx_gui.C: use lyx_gui::exit()
8897 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8899 * LyXAction.C: show the failing pseudo action
8901 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8903 * buffer.C (readFile): Run the lyxconvert script in order to read
8906 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8910 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8912 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8916 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8918 2002-07-22 Herbert Voss <voss@lyx.org>
8921 * lyxlength.[Ch]: add support for the vertical lengths
8923 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8925 * toc.[Ch]: std:: fixes
8927 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8929 * lyxrc.C: do not include lyx_main.h
8931 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8937 * BufferView2.C: include "lyxlex.h"
8940 * bufferparams.h: do not #include "lyxlex.h"
8942 * lyxtextclasslist.C (Add): remove method
8943 (classlist): renamed to classlist_
8945 * paragraph_pimpl.C:
8949 * bufferview_funcs.C:
8954 * toc.C (getTocList): use BufferParams::getLyXTextClass
8956 * toc.C (getTocList): use InsetFloat::addToToc
8958 * toc.[Ch]: new files, containing helper functions to handle table
8961 * lyxfunc.C (dispatch): no need to remove spaces around command
8963 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8964 first command of the sequence; it is not very clever, but I do not
8965 have a better idea, actually
8967 * LyXAction.C (LookupFunc): make sure to remove space at the
8968 beginning and end of the command
8970 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8972 * MenuBackend.C (getMenubar): new method: return the menubar of
8974 (read): treat differently reading of menu and menubar (in
8975 particular, the menubar has no name now)
8976 (Menu::menubar): remove
8978 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8981 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8983 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8984 a bibitem inset in a RTL paragraph.
8986 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8988 * paragraph_pimpl.C: constify
8990 * BufferView_pimpl.C:
8992 * lyxfunc.C: fix dispatch in a nicer way
8994 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8996 * lyxfunc.C (dispatch):
8997 * BufferView_pimpl.C:
8998 * BufferView_pimpl.h:
9000 * BufferView.h: rename Dispatch() to dispatch()
9002 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9004 * lyxlayout.C (Read): honor DependsOn tag
9006 * lyxlayout.[Ch] (depends_on): new method
9008 * version.C.in: update lyx_docversion
9010 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9012 * paragraph.C (validate): remove from here...
9013 * paragraph_pimpl.C (validate): ... and move here
9014 (isTextAt): make it const
9016 * buffer.C (getLists): ws cleanup
9018 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9020 * language.C (read): Use iso8859-1 encoding in latex_lang
9021 (this prevents LyX from crashing when using iso10646-1 encoding).
9023 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9025 * text2.C (toggleInset): if cursor is inside an inset, close the
9026 inset and leave cursor _after_ it
9028 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9030 * lyxfunc.C: move minibuffer completion handling out of here
9032 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9034 * BufferView_pimpl.C:
9035 * LaTeX.C: fix dispatch calls
9037 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9039 * text.C (drawChars): Fix Arabic text rendering.
9041 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9045 * lyxfunc.C: remove message-push/pop
9049 * lyxfunc.C: rationalise some code by removing verboseDispatch
9050 in favour of a bool argument to dispatch()
9052 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9054 * lyx_main.C (init): make sure to read symlinks as absolute paths
9056 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9059 * lyxfunc.C: no need for commandshortcut to be a member
9061 2002-07-15 André Pönitz <poenitz@gmx.net>
9063 * converter.C: add support for $$s (scripts from lib/scripts dir)
9064 * lyx_main.C: white space
9066 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9070 * lyxrc.C: remove second exit confirmation
9072 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9077 * BufferView_pimpl.h:
9078 * BufferView_pimpl.C:
9079 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9081 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9083 * MenuBackend.C (expand): add numeric shortcuts to document menu
9085 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9087 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9089 * lyxfont.C (setLyXFamily):
9096 * buffer.C (asciiParagraph): use ascii_lowercase
9098 2002-07-15 Mike Fabian <mfabian@suse.de>
9100 * lyxlex_pimpl.C (search_kw):
9101 * lyxlex.C (getLongString):
9102 * converter.h (operator<):
9103 * converter.C (operator<):
9104 * buffer.C (parseSingleLyXformat2Token):
9106 * ToolbarDefaults.C (read):
9107 * MenuBackend.C (checkShortcuts):
9109 * LColor.C (getFromGUIName):
9110 (getFromLyXName): use the compare_ascii_no_case instead of
9111 compare_no_case, because in turkish, 'i' is not the lowercase
9112 version of 'I', and thus turkish locale breaks parsing of tags.
9114 2002-07-16 Angus Leeming <leeming@lyx.org>
9116 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9117 now takes a Buffer const & argument.
9119 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9121 * BufferView.C (resize): check there's a buffer to resize
9123 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9125 * lyxfunc.C: remove dead code
9128 * lyxserver.C: use lyx_guii::set_read_callback
9130 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9132 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9133 an inset in a RTL paragraph.
9135 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9137 * lyxfunc.C: repaint after a font size update
9139 2002-07-15 André Pönitz <poenitz@gmx.net>
9141 * lyxlength.C: inBP should be able to return negative values
9143 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9145 * lyxfunc.C: use lyx_gui::update_fonts()
9147 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9149 * lyxfunc.C: use lyx_gui::update_color()
9151 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9157 * lyxrc.C: remove file->new asks for name option, and let
9158 buffer-new take an argument
9160 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9162 * BufferView_pimpl.C: remove unneeded extra repaint()
9164 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9166 * LyXAction.C: allow command-sequence with NoBuffer
9168 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9170 2002-07-10 Angus Leeming <leeming@lyx.org>
9172 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9174 2002-07-09 Angus Leeming <leeming@lyx.org>
9176 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9178 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9180 * lengthcommon.h: whitespace
9182 * lyxfunc.C: update scrollbar after goto paragraph
9184 * lyxtext.h: factor out page break drawing, and fix it so
9185 page break/added space paints as selected nicely
9187 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9189 * BufferView_pimpl.C: add FIXMEs, clean up a little
9191 2002-07-09 André Pönitz <poenitz@gmx.net>
9193 * lyxfont.[Ch]: support for wasy symbols
9195 2002-07-08 André Pönitz <poenitz@gmx.net>
9197 * BufferView_pimpl.C: apply John's patch for #93.
9199 2002-07-05 Angus Leeming <leeming@lyx.org>
9201 * BufferView_pimpl.C (buffer): generate previews if desired.
9203 * LColor.h: add "preview" to the color enum.
9205 * LColor.C (LColor): add a corresponding entry to the items array.
9207 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9210 2002-07-05 Angus Leeming <leeming@lyx.org>
9212 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9213 The body of the code is now in the method that is passed an ostream &
9214 rather than a file name.
9215 Pass an additional only_preamble parameter, useful for the forthcoming
9218 2002-07-03 André Pönitz <poenitz@gmx.net>
9220 * lyxfunc.C: simplify getStatus() a bit for math stuff
9222 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9224 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9226 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9228 * text.C (changeRegionCase): do not change case of all the
9229 document when region ends at paragraph end (bug #461)
9231 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9233 * paragraph.C (startTeXParParams):
9234 (endTeXParParams): add \protect when necessary
9236 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9238 * BufferView_pimpl.C (workAreaExpose): remove warning
9240 2002-06-27 Angus Leeming <leeming@lyx.org>
9242 * Makefile.am: add lyxlayout_ptr_fwd.h.
9244 2002-06-26 André Pönitz <poenitz@gmx.net>
9246 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9248 2002-06-25 Angus Leeming <leeming@lyx.org>
9250 * lyxfunc.C (dispatch): Comment out the call to
9251 grfx::GCache::changeDisplay. The method no longer exists now that the
9252 pixmap generation part of the graphics loader has been moved into
9255 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9257 * text2.C: layout as layout
9259 * text.C: layout as layout
9261 * tabular.C (OldFormatRead): layout as layout
9263 * paragraph_pimpl.C (TeXDeeper): layout as layout
9264 (realizeFont): layout as layout
9266 * paragraph.C (writeFile): layout as layout
9267 (validate): layout as layout
9268 (getFont): layout as layout
9269 (getLabelFont): layout as layout
9270 (getLayoutFont): layout as layout
9271 (breakParagraph): layout as layout
9272 (stripLeadingSpaces): layout as layout
9273 (getEndLabel): layout as layout
9274 (getMaxDepthAfter): layout as layout
9275 (applyLayout): layout as layout
9276 (TeXOnePar): layout as layout
9277 (simpleTeXOnePar): layout as layout
9278 (TeXEnvironment): layout as layout
9279 (layout): layout as layout
9280 (layout): layout as layout
9282 * lyxtextclass.C (compare_name): new functor to work with
9283 shared_ptr, layout as layout
9284 (Read): layout as layout
9285 (hasLayout): layout as layout
9286 (operator): layout as layout
9287 (delete_layout): layout as layout
9288 (defaultLayout): layout as layout
9290 * lyxlayout_ptr_fwd.h: new file
9292 * lyxlayout.C (Read): layout as layout
9294 * lyx_cb.C (MenuInsertLabel): layout as layout
9296 * bufferlist.C (newFile): layout as layout
9298 * buffer.C (readLyXformat2): layout as layout
9299 (parseSingleLyXformat2Token): layout as layout
9300 (insertStringAsLines): layout as layout
9301 (asciiParagraph): layout as layout
9302 (latexParagraphs): layout as layout
9303 (makeLinuxDocFile): layout as layout
9304 (simpleLinuxDocOnePar): layout as layout
9305 (makeDocBookFile): layout as layout
9306 (simpleDocBookOnePar): layout as layout
9307 (getLists): layout as layout
9309 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9311 * CutAndPaste.C (cutSelection): layout as layout
9312 (pasteSelection): layout as layout
9313 (SwitchLayoutsBetweenClasses): layout as layout
9315 * BufferView_pimpl.C (Dispatch): layout as layout
9316 (smartQuote): layout as layout
9318 * BufferView2.C (unlockInset): layout as layout
9320 2002-06-24 André Pönitz <poenitz@gmx.net>
9322 * lyxfunc.C: fix #487
9324 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9328 * lyxfunc.C: remove display_shortcuts, show_banner
9330 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9332 * Buffer_pimpl.C: oops, update on resize
9334 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9341 * BufferView.C: use repaint()
9343 * BufferView_pimpl.h:
9344 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9345 as it's a clearer description. Remove superfluous
9348 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9350 * text.C: fix bug 488. Not ideal, but getting
9351 getWord() to work properly for the insets that
9352 matter is more difficult ...
9354 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9356 * BufferView_pimpl.C:
9359 * lyxfunc.C: remove the six million index lyxfuncs to just
9360 one, and DTRT (bug 458)
9362 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9366 * BufferView_pimpl.h:
9367 * BufferView_pimpl.C: clean up resize() stuff,
9368 and unnecessary updateScreen()s
9370 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9374 * BufferView_pimpl.h:
9375 * BufferView_pimpl.C:
9378 * minibuffer.C: remove focus management of workarea,
9379 not needed. Use screen's greyOut()
9381 2002-06-17 Herbert Voss <voss@lyx.org>
9383 * converter.C: (convert) do not post a message, when converting
9384 fails, let the calling function decide what to do in this case
9386 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9388 * lyxfunc.C: tidy up a little
9390 2002-06-16 <alstrup@diku.dk>
9392 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9393 Got rid of FORMS_H_LOCATION include. Now we are
9396 2002-06-15 LyX Development team <lyx@rilke>
9398 * buffer.[Ch] (sgmlOpenTag):
9399 (sgmlCloseTag): Added support for avoiding pernicious mixed
9400 content. Return number of lines written.
9403 (makeDocBookFile): Fixed calls to sgml*Tag.
9404 Simple white space clean.
9406 (simpleDocBookOnePar): Simple white space clean.
9408 * tabular.[Ch] (docBook): Renamed to docbook and got another
9409 argument to related with the pernicious mixed content.
9411 (docbookRow): Fixed calls for docbook inset method.
9413 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9415 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9416 so it's X11 independent.
9420 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9422 2002-06-15 Lyx Development team <lyx@electronia>
9424 * intl.h: Renamed getTrans to getTransManager.
9426 2002-06-14 Angus Leeming <leeming@lyx.org>
9428 * Makefile.am: nuke forgotten stl_string_fwd.h.
9430 2002-06-12 Angus Leeming <leeming@lyx.org>
9432 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9434 2002-06-13 Angus Leeming <leeming@lyx.org>
9437 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9439 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9441 * kbmap.C (getiso): add support for cyrillic and greek
9443 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9447 * BufferView_pimpl.h:
9448 * BufferView_pimpl.C: move bogus scrolling logic
9451 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9454 * BufferView_pimpl.C: view->resize() change
9456 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9458 * BufferView_pimpl.C: topCursorVisible
9461 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9465 * lyx_gui.C: move to frontends/
9469 * lyx_main.C: changes from above
9471 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9478 * lyx_main.C: minor tidy
9480 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9482 * BufferView_pimpl.h:
9483 * BufferView_pimpl.C:
9485 * BufferView.C: make painter() const,
9488 * BufferView2.C: use screen() accessor
9491 * lyx_main.C: some minor cleanup
9493 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9495 * BufferView_pimpl.h:
9496 * BufferView_pimpl.C: remove enter/leaveView,
9499 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9504 * BufferView_pimpl.h:
9505 * BufferView_pimpl.C: only construct screen once,
9508 * lyxrc.C: remove pointless comment
9510 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9513 * BufferView.C: remove active() and belowMouse()
9515 * BufferView_pimpl.h:
9516 * BufferView_pimpl.C: use workarea() not workarea_,
9517 and make it use a scoped_ptr instead
9519 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9521 * lyx_gui.C: add debug message on BadWindow
9523 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9525 * sp_spell.C: fdopen is not part of the C++ standard.
9527 * paragraph.C (InsetIterator): use >= instead of ==
9529 2002-06-07 Angus Leeming <leeming@lyx.org>
9531 Fixes needed to compile with Compaq cxx 6.5.
9532 * BufferView_pimpl.C:
9539 * lyxtextclasslist.C:
9544 all c-library variables have been moved into namespace std. Wrap
9545 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9550 Add a using std::abs declaration.
9552 * kbmap.h (modifier_pair):
9553 * paragraph.h (InsetTable, InsetList):
9554 * lyxfont.h (FontBits):
9555 type definition made public.
9557 * bufferlist.C (emergencyWriteAll): the compiler complains that
9558 there is more than one possible lyx::class_fun template to choose from.
9559 I re-named the void specialisation as lyx::void_class_fun.
9561 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9563 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9564 the compiler is is unable to find tostr in write_attribute.
9566 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9568 * buffer.C (sgmlError): hide #warning
9570 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9572 * xtl/*: get rid of xtl, which is not in use anyway
9574 * LyXAction.C (init):
9575 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9576 were unimplemented xtl experimentation
9578 2002-06-04 André Pönitz <poenitz@gmx.net>
9580 * lyxfunc.C: disable array operation on simple formulae
9582 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9584 * converter.C: constify a bit
9586 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9588 * lyx_gui.C: check xforms version correctly
9590 2002-04-30 Herbert Voss <voss@lyx.org>
9592 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9595 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9597 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9598 attempt to register it with a VCS)
9600 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9602 * lyx_main.C (init): honor variables LYX_DIR_13x and
9605 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9609 * lyx_main.C: fix a crash on bad command line,
9610 and give a useful exit status on error
9612 * lyxfunc.C (doImport): allow -i lyx to work
9614 2002-03-30 André Pönitz <poenitz@gmx.net>
9616 * lyxfunc.C: mathed font changes
9618 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9633 * trans_mgr.h: srcdocs, and some minor cleanups
9635 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9637 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9638 call getFont all the time)
9640 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9642 * switch from SigC signals to boost::signals
9644 2002-05-29 André Pönitz <poenitz@gmx.net>
9646 * paragraph_pimpl.C (getChar): don't call size() too often...
9648 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9650 * paragraph_pimpl.C (insertChar): do not try to update tables when
9651 appending (pos == size())
9653 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9654 in order to reduce drastically the number of comparisons needed to
9655 parse a large document
9657 2002-05-29 André Pönitz <poenitz@gmx.net>
9663 * textclasslist.[Ch]:
9664 * sp_ispell.h: whitespace change
9666 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9668 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9669 lyxaction directly now.
9671 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9675 * lyxvc.C: remove unused headers
9677 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9684 * undo_funcs.C: some cleanups. Use shared_ptr
9685 and a template for the undo stacks.
9687 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9689 * BufferView_pimpl.h:
9690 * BufferView_pimpl.C:
9697 * text2.C: use key_state/mouse_state
9699 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9701 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9704 * chset.C: change include order
9705 (loadFile): use boost regex and get rid of LRegex and LSubstring
9707 * Makefile.am (BOOST_LIBS): new variable
9710 * LaTeX.C: change include order.
9711 (scanAuxFile): use boost regex and get rid of LRegex and
9715 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9720 * FontInfo.C: moved to frontends/xforms/
9723 * FontLoader.C: moved into frontends for GUIIzation
9728 * lyxfunc.C: changes from above
9730 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9732 * LColor.C: remove spurious X include
9734 * BufferView_pimpl.C:
9739 * text2.C: move font metrics to frontends/
9741 2002-05-24 Juergen Vigna <jug@sad.it>
9743 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9744 setting the undo_cursor.
9746 * ParagraphParameters.h: include local includes first.
9748 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9750 * BufferView_pimpl.C:
9751 * BufferView_pimpl.h:
9755 * screen.C: move WorkArea into frontends/
9761 * BufferView2.C: move LyXScreen into frontends/
9765 * lyx_gui.C: move lyxlookup into frontends/xforms/
9767 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9770 * BufferView_pimpl.C:
9780 * bufferview_funcs.C:
9793 * vc-backend.C: move LyX/XFormsView into frontends/
9795 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9807 * text2.C: move Painter to frontends/
9809 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9811 * buffer.C: comment out some some code that depend upon lyx_format
9814 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9815 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9817 * buffer.h (NO_COMPABILITY): turn off compability
9819 * ColorHandler.C: include scoped_array.hpp
9821 * font.C: Use more specific smart_ptr header.
9824 * ShareContainer.h: ditto
9828 * BufferView_pimpl.h: ditto
9829 * ColorHandler.h: ditto
9831 * kbmap.C (defkey): change call to shared_ptr::reset
9833 2002-05-21 Juergen Vigna <jug@sad.it>
9835 * buffer.C (insertErtContents): fix to insert ert asis if it is
9836 non empty. Skip it completely if it contains only whitespaces.
9838 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9840 * BufferView_pimpl.C:
9841 * BufferView2.C: clear selection on paste (bug 393)
9843 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9845 * DepTable.C: include ctime
9847 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9849 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9851 2002-05-14 Juergen Vigna <jug@sad.it>
9853 * text.C (breakParagraph): fixed function to honor the keepempty
9854 layout in the right maner and also to permit the right breaking
9855 algorithm on empty or non empyt keepempty paragraphs.
9857 * paragraph.C (breakParagraph): we have to check also if the par
9858 is really empty (!size()) for isempty otherwise we do the wrong
9861 2002-05-10 Juergen Vigna <jug@sad.it>
9863 * buffer.[Ch] : The following are only changes to the ert
9864 compatibility read reading old LaTeX layout and font stuff and
9865 convert it to ERTInsets.
9867 * buffer.h: added isErtInset().
9869 * buffer.C (struct ErtComp): add a fromlayout bool to check
9870 if we're inside a LaTeX layout.
9871 (isErtInset): new helper function.
9872 (insertErtContents): look for other ert insets before this one
9873 and insert the contents there, so that we don't have subsequent
9874 ERT insets with nothing between them. This way we create only one
9875 inset with multiple paragraphs. Also check if we don't insert only
9876 spaces ' ' as they are ignored anyway afterwards in the .tex file
9877 so if we have only spaces we will ignore this latex part in the
9879 (parseSingleLyXformat2Token \\layout): better compatibility when
9880 reading layout-latex stuff.
9881 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9883 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9884 stuff after reading the inset only get the information back from
9887 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9889 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9891 * LaTeXFeatures.C (getBabelOptions): New method.
9893 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9895 * BufferView_pimpl.C (Dispatch): work around missing argument for
9898 2002-05-08 Juergen Vigna <jug@sad.it>
9900 * text.C (leftMargin): handle paragraph leftindent.
9902 * paragraph.C (writeFile): write the new \\leftindent tag.
9903 (validate): handle leftindent code.
9904 (TeXEnvironment): handle paragraphleftindent code again.
9906 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9908 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9909 for paragrap_extra indent code and new token \\leftindent.
9910 (latexParagraphs): handle the leftindent as environment.
9912 * ParameterStruct.h: added leftindent support.
9914 * ParagraphParameters.C (leftIndent): added support functions for
9915 the paragraph left indent.
9917 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9920 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9922 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9925 * text.C (computeBidiTables): No bidi in insetERT.
9927 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9930 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9932 * version.C.in: pre 5
9934 2002-05-02 José Matos <jamatos@fep.up.pt>
9935 * buffer.C (makeDocBookFile): white space changes, add newline to
9937 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9939 * tabular.C (docBook): fix typo.
9941 2002-05-03 Juergen Vigna <jug@sad.it>
9943 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9944 change in LyXText as we can not be sure it was not freed.
9945 (drawOneRow): remove unused code.
9947 * text.C (drawInset): redo the calculation of the need_break_row as
9948 it could have a row which was already freed.
9949 (draw): look at the return value of drawInset and return false if
9950 it also returned false.
9951 (paintRowText): look at the return value of draw and return false if
9952 it also returned false.
9954 * lyxtext.h: added bool return type to drawInset() and draw() so that
9955 if we have a change in the row so that the rowbreak has to be redone
9956 we abort drawing as it will be called again.
9958 2002-05-02 Juergen Vigna <jug@sad.it>
9960 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9961 a change in the maintext also if we're inside an inset.
9962 (Dispatch): set the cursor again after a break line and after the
9963 screen has been updated as it could be we're in a different row.
9965 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9966 to set the cursor behind the pargraph with > size().
9967 (setCursor): check also for the same paragraph when checking where
9968 to put the cursor if we have a NFR inset.
9970 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9971 parts of layout read further up as it still was in the wrong
9974 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9976 * screen.C (drawFromTo): change sine fullRebreak always return
9979 * buffer.C (parseSingleLyXformat2Token): reindent some
9981 * BufferView_pimpl.C (update): change since fullRebreak always
9983 (Dispatch): git rid of the last hardcoded "Standard"s.
9985 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9987 * text2.[Ch] (fullRebreak): make it return void now that we always
9990 2002-04-30 Juergen Vigna <jug@sad.it>
9992 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9993 ert compatibility check for "latex" layout.
9995 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9997 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9998 minipages: use col% instead of p%, and also use the current font.
9999 (makeLaTeXFile): Fix use babel condition.
10000 (parseSingleLyXformat2Token): Correct font when reading old floats.
10002 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10004 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10005 inserting list of floats.
10007 2002-04-25 Herbert Voss <voss@lyx.org>
10009 * MenuBackend.C (expand): don't add the graphics extensions to the
10012 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10014 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10015 non-existing layout, do not complain if it was the default layout
10016 of the original class (bug #342)
10018 2002-04-24 Juergen Vigna <jug@sad.it>
10020 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10021 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10023 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10025 * buffer.C (getBibkeyList): If using \bibliography, return the
10026 option field with the reference itself. Enables us to provide natbib
10027 support when using \bibliography.
10029 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10031 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10033 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10034 natbib is provided by the LaTeX class.
10036 2002-04-23 Juergen Vigna <jug@sad.it>
10038 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10041 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10043 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10045 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10047 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10048 ensuremath around textordmasculine, textordfeminine and
10051 2002-04-19 Juergen Vigna <jug@sad.it>
10053 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10054 reinitializing the buffer otherwise row-dimensions may be wrong.
10055 (update): reset also the selection cursors if they do exits otherwise
10056 their x/y positions may be wrong.
10058 * text2.C (cursorDown): don't enter the inset if we came from a row
10059 above and are one row over the inset.
10061 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10062 really leaving an inset.
10064 2002-04-18 Juergen Vigna <jug@sad.it>
10066 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10067 of the selected paragraph does not have the selected layout also if
10070 * text2.C (setLayout): fixed bug which did not change last selected
10073 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10074 changed the read and substituted \\end_float with \\end_inset!
10076 * BufferView_pimpl.C (cursorPrevious):
10077 (cursorNext): fixed to make it work with rows heigher than the work
10078 area without moving the cursor only the draw of the row.
10079 (workAreaMotionNotify): fix jumping over high rows.
10081 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10083 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10086 2002-04-16 Juergen Vigna <jug@sad.it>
10088 * text2.C (setCursor): set also the irow().
10089 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10091 (cursorDown): support for locking an inset if the x_fix value goes
10092 inside it. That way I can transverse insets too with cursor up/down.
10094 * lyxrow.h: added irow helper function same as other (i) functions.
10096 * BufferView_pimpl.C (cursorPrevious):
10097 (cursorNext): fixed for insets!
10099 2002-04-15 Juergen Vigna <jug@sad.it>
10101 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10102 position otherwise it is wrong in some cases.
10104 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10105 inside the inset before the call.
10107 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10109 * buffer.[Ch] (getBibkeyList): make it const.
10111 2002-04-12 Juergen Vigna <jug@sad.it>
10113 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10115 * text2.C (getCursorX): new helper function
10116 (setCursor): compute also ix_
10117 (setCursorFromCoordinates): set also ix.
10119 * lyxcursor.h: added ix_ and helper functions.
10121 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10123 * buffer.C (insertStringAsLines): dont break paragraph if the this
10124 paragraph is inside an inset which does not permit it!
10126 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10127 also with no chars on this paragraph.
10128 (paintRowText): only paint stuff if it's inside the workarea!
10130 * paragraph.C (breakParagraph): honor keepempty flag and break the
10131 paragraph always below not above.
10133 * BufferView2.C (unlockInset): update the paragraph layout on inset
10134 unlock as we changed paragraph in such a case.
10136 * lyxfind.C (LyXFind): clear the former selection if not found!
10138 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10139 again called in insertChar().
10141 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10142 an inset which uses the whole row!
10143 (rightMargin): ditto.
10144 (insertChar): force a rebreak if we inserted an inset!
10146 2002-03-28 Herbert Voss <voss@lyx.org>
10148 * lyxlength.[Ch]: add inBP() to get the right PS-point
10149 units (BigPoint). With inPixels we have rounding errors
10151 2002-04-11 Juergen Vigna <jug@sad.it>
10153 * text2.C (setCursorFromCoordinates): set iy to the right value.
10154 (setCursor): add check if row->previous exists!
10156 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10157 an old float_type as this was the case in the old code!
10159 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10161 * BufferView2.C (showLockedInsetCursor): use iy
10162 (fitLockedInsetCursor): ditto
10164 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10165 locked insets as there we have the right value now.
10167 * lyxcursor.C: added iy_ variable and iy functions to set to the
10168 baseline of cursor-y of the locked inset.
10170 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10171 (setCursor): fixed for insets which need a full row.
10173 * text.C (rowLastPrintable): don't ignore the last space when before
10174 an inset which needs a full row.
10175 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10176 as last character of a row when before a inset which needs a full row.
10178 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10180 * version.C.in: update date
10182 * text2.C (fullRebreak): try to always return true and see what
10185 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10187 * MenuBackend.C (expand): use Floating::listName
10189 * FloatList.C (FloatList): add listName argument to the built-in
10192 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10193 text associated with the float.
10195 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10197 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10199 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10201 * ShareContainer.h: add a couple of missing typenames.
10203 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10205 * lyxrc.C (getDescription): use _() correctly rather than N_().
10207 2002-03-28 Herbert Voss <voss@lyx.org>
10209 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10210 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10212 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10214 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10215 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10217 2002-03-29 Juergen Vigna <jug@sad.it>
10219 * lyxfunc.C (dispatch): add a missing fitCursor call.
10221 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10222 it was scrolled by a cursor move, so return the bool status.
10224 * BufferView.C (fitCursor): return the bool flag also to the outside
10225 world as this is needed.
10227 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10229 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10230 call the edit() as it is not needed (and wrong) IMO.
10231 (workAreaButtonPress): set the screen_first variable before evt.
10232 unlock the inset as this may change screen_first and then we have
10233 a wrong y position for the click!
10235 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10237 * MenuBackend.C (expand): another translation that I missed
10239 2002-03-28 Juergen Vigna <jug@sad.it>
10241 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10243 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10245 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10247 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10249 * MenuBackend.C (expand): fix export/view/update when there is no
10252 2002-03-27 Herbert Voss <voss@lyx.org>
10254 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10257 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10259 * bufferview_funcs.C (currentState): only show paragraph number
10260 for is DEVEL_VERSION is set.
10262 * lyxfunc.C (dispatch): put warning in INFO channel
10264 * MenuBackend.C (expand): translate the name of floats
10266 * FloatList.C (FloatList): mark the float names for translation
10268 * converter.C (convert): use LibScriptSearch
10270 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10272 * MenuBackend.C (defaults): fix default menu (we might as well get
10275 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10277 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10280 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10282 * lyxvc.C: reorder includes.
10284 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10286 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10289 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10291 * CutAndPaste.C: change layouts earlier on paste
10292 to avoid crashing when calling getFont()
10294 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10296 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10299 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10301 * WorkArea.C: remove 'Pending' debug message.
10303 * most files: ws cleanup
10305 * buffer.[Ch]: ws changes
10307 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10309 2002-03-21 Juergen Vigna <jug@sad.it>
10311 * tabular.C (SetMultiColumn): collapse also the contents of the
10312 cells and set the last border right. Added a Buffer const * param.
10314 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10316 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10319 2002-03-19 Juergen Vigna <jug@sad.it>
10321 * text2.C (clearSelection): reset also xsel_cache.
10323 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10324 where it needs to be called (John tells us to do so too :)
10325 (selectionLost): reset sel_cache.
10327 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10329 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10331 * text2.C (setCursorIntern): put debuging code in INSETS channel
10333 2002-03-19 André Pönitz <poenitz@gmx.net>
10335 * lyxfunc.C: tiny whitespace change
10337 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10339 * ToolbarDefaults.C (init):
10340 * LyXAction.C (init):
10342 * BufferView_pimpl.C (Dispatch):
10343 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10345 2002-03-19 Allan Rae <rae@lyx.org>
10347 * exporter.C (Export): removeAutoInsets before doing anything else.
10348 While I've just introduced a dependency on BufferView this really is
10349 the best place to clean the buffer otherwise you need to cleanup in
10350 a dozen places before calling export or cleanup in a dozen functions
10353 * converter.C (runLaTeX):
10354 (scanLog): Better handling of removeAutoInsets and screen updates.
10356 * lyxfunc.C (dispatch): small whitespace changes
10358 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10360 * WorkArea.C (C_WorkAreaEvent): return a value.
10361 (event_cb): return 1 if we handled the event, 0 otherwise.
10363 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10365 2002-03-18 Juergen Vigna <jug@sad.it>
10367 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10368 (GetAdditionalWidth): ditto.
10369 (RightLine): ditto.
10372 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10373 inset if we're there actually (probably not used right now but this
10374 is the direction to go for unifying code).
10375 (paste): disable code to clear the selection.
10377 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10378 inside an InsetText and move the check further up as it is in the
10381 * text2.C (pasteSelection): set a selection over the pasted text.
10383 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10385 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10386 and libgraphics to build on Cygwin.
10388 2002-03-15 Juergen Vigna <jug@sad.it>
10390 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10391 inserting an Inset into the paragraph. I know this is not the best
10392 fix but we already use current_view in CutAndPaste so we will remove
10393 all of it's using at the same time.
10395 * buffer.C (sgmlError): deactivated function till it is rewritten in
10396 the right mode, now it can create problems.
10398 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10399 before accessing it.
10401 2002-03-14 Juergen Vigna <jug@sad.it>
10403 * undo_funcs.C (textHandleUndo): do the right thing when updating
10404 the inset after the undo/redo.
10406 * text2.C (setCursor): just some testcode for #44 not ready yet.
10408 * undo_funcs.C (textHandleUndo): set the next() and previous()
10409 pointers of the paragraph to 0 before deleting otherwise we have
10410 problems with the Paragraph::[destructor].
10412 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10413 on a paragraph insertion.
10415 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10417 * buffer.C (asciiParagraph): use += operator for char append to
10420 * paragraph.C (getFontSettings): compare >= not just >
10421 (highestFontInRange): ditto
10424 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10426 * paragraph.C: change several algorithm to be more appripriate for
10427 the problem domain. This is lookip in FontList and in the InsetList.
10429 2002-03-13 André Pönitz <poenitz@gmx.net>
10432 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10434 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10439 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10441 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10443 * Painter.C (display): anon helper function, adjust code for this
10445 (pixmap): remove function.
10447 * Painter.h: remove private display variable.
10449 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10451 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10453 * WorkArea.[Ch]: remove figinset_canvas cruft.
10455 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10457 * lyxtextclass.C (operator): add one item cache optimization.
10459 * bufferlist.h: doxy changes
10461 * bufferlist.C: ws changes
10463 * DepTable.[Ch] (ext_exist): place const in the right spot.
10465 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10467 (workAreaExpose): call resizeInsets when the with BufferView changes.
10468 (Dispatch): adjust for protectedBlank removal
10469 (specialChar): call updateInset if the insert went ok.
10471 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10472 specialChar instead.
10474 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10476 * BufferView.h: doxy change
10478 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10480 * lyxtextclass.C (operator[]): remove non-const version
10481 (defaultLayout): remove non-const version
10483 2002-03-12 Juergen Vigna <jug@sad.it>
10485 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10486 did resize the LyXText too.
10488 * buffer.C (readLyXformat2): set layout information on newly allocated
10491 * tabular.C (OldFormatRead): set layout information on the paragraph.
10493 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10495 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10497 2002-03-11 Juergen Vigna <jug@sad.it>
10499 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10501 (resizeCurrentBuffer): force also the insets to resize themselfes.
10502 (moveCursorUpdate): fixed up for InsetText.
10504 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10507 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10508 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10509 value of Dialogs::tooltipsEnabled().
10510 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10512 2002-03-08 Juergen Vigna <jug@sad.it>
10514 * BufferView_pimpl.C (updateInset): update inset inside inset also
10515 if it isn't inside theLockingInset().
10517 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10519 * buffer.C (asciiParagraph): redo some of the word and line length
10521 (getLists): look for Caption instead of caption.
10523 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10525 * buffer.C (Buffer): initialize niceFile to true
10527 (makeLinuxDocFile):
10528 (makeDocBookFile): make sure niceFile is true on exit
10530 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10532 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10534 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10536 * LyXSendto.C: remove.
10537 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10538 * lyx_gui.C: remove now-redundant comment.
10539 * ColorHandler.h: remove forward declaration of class WorkArea.
10540 * lyxfunc.C: remove #include "WorkArea.h".
10542 2002-03-07 Juergen Vigna <jug@sad.it>
10544 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10545 got moved away with the DEPM and also set the inset_owner always
10546 right which before could have been omitted.
10548 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10550 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10551 wanted layout is not found.
10553 2002-03-07 Juergen Vigna <jug@sad.it>
10555 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10557 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10559 * paragraph.C (breakParagraph): use default layout not layout of
10561 (Paragraph): clear ParagraphParameters.
10563 2002-03-06 Juergen Vigna <jug@sad.it>
10565 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10566 otherwise it would not be a valid lenght. Fixed a special case in
10567 the minipage compatibility read where we end the document with a
10570 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10571 was set as it could be 0 for InsetTexts first entry.
10573 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10575 * paragraph.C (writeFile): if layout is empty write out
10576 defaultLayoutName().
10578 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10579 file without named layout we set layout to defaultLayoutName().
10581 2002-03-06 Juergen Vigna <jug@sad.it>
10583 * CutAndPaste.C (copySelection): set layout for new paragraph.
10585 * text.C (prepareToPrint): leave ERT inset left aligned
10586 (leftMargin): don't indent paragraphs inside ERT insets
10588 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10590 * paragraph.C (breakParagraph): dont call clear do the work manually
10592 * paragraph.[Ch] (clear): remove function
10594 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10596 * paragraph.C (Paragraph): dont call clear, the work has already
10599 * lyxtextclass.C (operator): assert if n is empty
10601 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10602 work manually instead.
10604 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10606 * BufferView_pimpl.C: protect selectionLost against text == 0
10608 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10610 * text.C (breakParagraph): fix a setting layout to '0' problem.
10612 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10614 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10615 final location of file, for the included files, and graphics.
10617 2002-03-05 Juergen Vigna <jug@sad.it>
10619 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10621 2002-03-04 Juergen Vigna <jug@sad.it>
10623 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10625 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10626 last column of multicolumn cells.
10627 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10629 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10631 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10632 file if it doesn't go to a temporary file.
10634 * buffer.C (sgmlOpenTag):
10635 (sgmlCloseTag): remove extra newline insertion.
10637 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10639 * text.C (getRowNearY): comment out debug msg
10641 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10643 * text2.C: first -> first_y
10645 * text.C (getRowNearY): add some attemts at a possible
10646 optimization, not working.
10648 * tabular.[Ch]: add BufferParams to several function so that newly
10649 created paragraph can be initialized to he default layotu for the
10652 * tabular-old.C (ReadOld): add buf->params to call of Init
10654 * screen.C: rename text->first to text->first_y
10656 * paragraph.C (breakParagraph): always set layout in the broken
10659 * lyxtextclass.C (Read): remove lowercase
10662 (delete_layout): ditto
10664 * lyxtext.h: rename first -> first_y
10666 * lyxlayout.C (Read): remove lowercase
10669 (obsoleted_by): ditto
10671 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10673 * buffer.C (insertErtContents): add params are to InsetERT
10674 (parseSingleLyXformat2Token): add code to check if a paragraphs
10675 layout really exist.
10676 (parseSingleLyXformat2Token): add params to several inset
10678 (asciiParagraph): remove lowercase, do the layout comparisons with
10681 * BufferView_pimpl.C (cursorNext): first -> first_y
10682 (resizeCurrentBuffer): first -> first_y
10683 (updateScrollbar): first -> first_y
10684 (scrollCB): first -> first_y
10685 (workAreaMotionNotify): first -> first_y
10686 (workAreaButtonPress): first -> first_y
10687 (checkInsetHit): first -> first_y
10688 (cursorPrevious): first -> first_y
10689 (cursorNext): first -> first_y
10690 (Dispatch): add buffer_->params to severl inset contructors
10692 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10694 * lyxlayout.C (Read): remove some debug info that I forgot.
10696 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10697 clean up the code slightly.
10698 (makeLinuxDocFile): ditto
10699 (makeDocBookFile): ditto
10701 * text2.C: layout as string
10703 * text.C: layout as string
10705 * paragraph_pimpl.C: layout as string
10707 * paragraph.[Ch]: layout as string
10709 * lyxtextclasslist.[Ch]: layout as string
10711 * lyxtextclass.[Ch]: layout as string
10713 * lyxtext.h: layout as string
10715 * lyxlayout.[Ch]: layout as string
10717 * lyx_cb.C: layout as string
10719 * bufferview_funcs.C: layout as string
10721 * bufferparams.C: layout as string
10723 * buffer.C: layout as string
10725 * LyXView.[Ch]: layout as string
10727 * LaTeXFeatures.[Ch]: layout as string
10729 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10731 * BufferView_pimpl.C: change current_layout to string, remove
10736 (workAreaButtonRelease): layout as string
10738 * BufferView2.C (unlockInset): adjust
10740 * vspace.C (asLatexCommand): use an explict temp variable.
10742 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10744 * Makefile.am: use FRONTEND_*
10746 2002-03-01 Juergen Vigna <jug@sad.it>
10748 * tabular.C (SetWidthOfMulticolCell): changed to something better
10749 I hope but still work in progress.
10750 (recalculateMulticolumnsOfColumn): renamed function from
10751 recalculateMulticolCells as it is more appropriate now.
10752 (SetWidthOfCell): calculate multicols better.
10754 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10756 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10758 * lyxfunc.C (processKeySym): print sequence also if it is
10759 `deleted' (complete)
10761 * kbsequence.C (print): print sequence even if it is deleted
10762 (complete would be a better word, actually).
10764 * lyxfunc.C (dispatch): print complete options after a prefix key
10766 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10768 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10770 * text2.C (setCharFont): eliminate setCharFont code duplication.
10772 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10774 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10775 LFUN_TABULAR_FEATURE (bug #177)
10777 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10779 * Makefile.am: remove figure.h
10781 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10783 * Bufferview_pimpl.C:
10795 * text2.C: remove #include "lyx_gui_misc.h".
10797 * LaTeX.C: added #include <cstdio>
10799 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10801 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10802 that the paragraph following this one can have.
10804 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10806 * vspace.C (asLatexCommand): fix bogus gcc warning
10808 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10810 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10812 * text2.C (setLayout): get rid of redundant code
10814 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10816 * text2.C (incDepth): make sure depth cannot be increased beyond
10819 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10821 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10822 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10824 * PainterBase.h (image):
10825 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10826 a LyXImage const *.
10828 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10832 * BufferView_pimpl.C:
10833 * BufferView_pimpl.h:
10853 * sp_spell.C: remove fig inset, and the crap house of
10854 cards that follows it
10856 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10861 * os2_errortable.h:
10862 * nt_defines.h: move .h into support/
10864 * vms_defines.h: remove
10866 * WorkArea.C: add space in debug output
10870 * buffer.C: add WITH_WARNINGS
10874 * bufferlist.C: s/retrive/retrieve/, add docs
10883 * chset.C: add docs
10885 * lyxgui.C: add ID to X error handler
10887 * lyxtestclass.c: fix typo
10889 2002-02-26 Juergen Vigna <jug@sad.it>
10891 * tabular_funcs.C (write_attribute): changed so that some default
10892 attributes are not written at all.
10893 (getTokenValue): set default values before trying to read the
10894 value so we have the return value always set as default if we don't
10895 find the token we search for.
10897 * tabular.C (Write): write bools as bools not as strings!
10899 2002-02-22 Juergen Vigna <jug@sad.it>
10901 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10902 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10904 * text.C (leftMargin): don't add an indent for paragraphs inside
10905 tabular cells (fix #208).
10907 2002-02-21 José Matos <jamatos@fep.up.pt>
10909 * tabular.C (docBook): fixed support for long tables.
10911 2002-02-20 Juergen Vigna <jug@sad.it>
10913 * text2.C (getFont): get the drawing font of the Inset if this
10914 paragraph is inside an inset (only important for InsetERT for now).
10916 * buffer.C (insertErtContents): use new lanugage params in ERT
10919 * CutAndPaste.C: commenting out seemingly uneeded code.
10921 2002-02-19 Allan Rae <rae@lyx.org>
10923 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10924 Iterators might be simple to use but they also get invalidated.
10925 (removeAutoInsets): renamed saved cursor tracking variables and added
10926 some comments to clarify what everything does.
10928 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10935 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10936 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10939 * vc-backend.h: remove #include "support/syscall.h"
10943 * converter.C: rearrange #includes in Lars' approved fashion.
10945 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10946 forward declare class Timeout in the header file.
10948 * XFormsView.C: changes due to the above.
10950 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10951 similar to LyXView.
10953 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10954 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10956 2002-02-18 José Matos <jamatos@fep.up.pt>
10958 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10961 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10963 * a lot of small ws changes
10964 * add a lot of using std::XXX
10965 * use std construcs some places where approp.
10966 * use some exisint stuff from lyxfunctional where approp.
10967 * Make file changes to use partial linking (lets test this now...)
10969 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10973 remove #include "support/syscontr.h" as it's redundant. Always has been.
10981 change Systemcalls::System to Systemcalls::Wait and
10982 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10983 No change of functionality, just reflects the stripped down Systemcalls
10986 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10988 * debug.[Ch]: add a GRAPHICS type to the enum.
10990 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10992 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10994 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10997 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10999 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11000 match the changes below.
11002 * text2.C (toggleInset): if there is not editable inset at cursor
11003 position, try to see if cursor is _inside_ a collapsable inset
11006 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11008 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11009 document menu has a nice checkbox
11011 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11013 * lyxlength.C (asLatexString): change PW to output as percent of
11016 * lengthcommon.C: change '%' to 't%'
11018 * lyxfunc.C (dispatch): a few comments from Martin
11020 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11024 * BufferView_pimpl.h:
11025 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11028 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11030 * vspace.C (inPixels): fix compiler warning
11032 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11034 * lyxfunc.C (getStatus): fix status message for disabled commands.
11036 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11038 * BufferView_pimpl.C: fix crash on close buffer
11039 during selection (#227)
11041 2002-01-27 Herbert Voss <voss@lyx.org>
11043 * buffer.C: link old Figure to new graphic inset
11045 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11047 * FontLoader.C (getFontinfo): Change the latex font names in order
11048 to match the names of type1inst.
11050 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11052 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11054 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11055 (extchanged): ditto
11057 (remove_files_with_extension): ditto
11058 (remove_file): ditto
11061 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11062 document is smaller than the work area height. Do not initialize
11063 static variables to 0.
11065 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11067 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11069 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11070 LFUN_LAYOUT_PARAGRAPHS.
11072 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11073 tabular. It is possible to provide a possible cell, which will
11074 typically be the actcell from the corresponding insettabular
11076 * lyxfunc.C (getStatus): small cleanup; disable
11077 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11080 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11082 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11084 * paragraph.C (startTeXParParams):
11085 (endTeXParParams): new methods. The LaTeX code to
11086 start/end paragraph formatting
11087 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11088 empty (fixes bug #200)
11090 * vspace.C (inPixels): adapt to the change below
11091 (inPixels): [later] more cleanups (remove unused variables)
11093 * lyxlength.C (inPixels): change to use a width and a height as
11096 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11098 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11099 Replaced with \paperwidth
11101 * DepTable.C (insert): add std:: qualifier
11103 2002-01-18 Allan Rae <rae@lyx.org>
11105 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11108 * text.C (drawInset): Turned out I didn't know enough about how
11109 rebreaking worked. This fixes most of the redraw problems. I see
11110 an occasional cursor trail when a line is broken now and the cursor
11111 placement can seem out by a few pixels also after a rebreak.
11113 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11115 * buffer.C (parseSingleLyXformat2Token): update because minipage
11116 width is now a LyXLength
11118 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11120 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11123 2002-01-17 Juergen Vigna <jug@sad.it>
11125 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11127 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11128 is set correctly and the inset is updated correctly.
11130 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11132 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11133 the beginning of the loop.
11135 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11137 * lyxrc.C: improve help for use_scalable_fonts
11139 2002-01-17 Allan Rae <rae@lyx.org>
11141 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11143 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11145 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11146 make sure to set their inset_owner to the right value (bug #171)
11148 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11151 * DepTable.C: Implement mtime checking to reduce time spent doing
11154 2002-01-16 Juergen Vigna <jug@sad.it>
11156 * tabular.C (GetAdditionalHeight): one of error fixed.
11158 * lyxrc.C (output): small fix in writing use_pspell.
11160 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11162 * sp_base.h: #include LString.h
11164 2002-01-16 Allan Rae <rae@lyx.org>
11166 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11167 Can someone check this please?
11169 * text.C (drawInset): It was possible that p.row would be removed by
11170 breakAgainOneRow upsetting a few other settings. There may be another
11171 small tweak possible by setting need_break_row = 0 when p.row has been
11172 removed but I don't know enough about the logic here.
11174 2002-01-15 Allan Rae <rae@lyx.org>
11176 * text.C (insertChar): removed conditional truism.
11178 * BufferView2.C (removeAutoInsets): More tweaks.
11179 cur_par_prev could be a stray pointer. Check for trailing empty line
11180 in case last line was cur_par and only had an error inset on it.
11182 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11184 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11187 * vc-backend.C (most methods):
11188 * exporter.C (Export):
11189 * converter.C (convert):
11191 * LyXSendto.C (SendtoApplyCB):
11192 * lyxfunc.C (dispatch):
11196 * lyx_cb.C (AutoSave):
11198 * BufferView_pimpl.C (MenuInsertLyXFile):
11199 * buffer.C (runChktex): use Buffer::filePath().
11201 * buffer.h: rename filename to filename_; rename filepath to
11202 filepath_ and make it private
11203 (filePath): new method
11205 * buffer.C (writeFile): use fileName()
11208 * lyx_main.C (init): fix starting of LyX when the binary is a
11209 link from so,ewhere else.
11211 * minibuffer.C: include <cctype> for isprint
11213 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11215 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11216 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11217 name clash with InsetCollapsable's width function.
11219 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11221 * lastfiles.C: include <iterator>
11223 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11225 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11228 * buffer.C (makeLaTeXFile): ditto.
11229 Also make loop operation more transparent.
11231 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11233 * ToolbarDefaults.C: remove trailing comma closing namespace.
11235 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11237 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11240 * trans.C (Load): comment out unused variable, allowed.
11242 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11244 * minibuffer.[Ch] (append_char): new method to recieve input from the
11245 drop-down completion browser. If a key was pressed, then recieve this
11246 char and append it to the existing string.
11247 (peek_event): modify the positioning data passed to the completion
11248 browser so that it can be placed above the minibuffer rather than below.
11249 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11251 * LyXAction.C (init): alloe error-next for readonly documents.
11253 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11256 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11258 * bufferlist.C (readFile): create the buffer _after_ checking that
11261 * lyxfunc.C (verboseDispatch): fix handling of arguments
11263 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11265 * lyxrc.C: use string::erase() instead of initializing to "".
11268 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11270 * BufferView_pimpl.h:
11271 * BufferView_pimpl.C:
11274 * text2.C: tell X when we have made a selection for copying
11276 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11278 * BufferView_pimpl.C (MenuInsertLyXFile):
11279 * lyxfunc.C (menuNew):
11281 (doImport): add shortcuts to directory buttons
11283 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11286 * lyxfunc.C (setStatusMessage):
11287 (getStatusMessage): new methods
11288 (getStatus):use setStatusMessage instead of setErrorMessage
11289 (dispatch): when function is disabled, set error message here
11290 [instead of in getStatus previously]
11292 * BufferView_pimpl.C (workAreaButtonRelease): update
11293 toolbar/menubar here too.
11295 2002-01-13 Allan Rae <rae@lyx.org>
11297 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11298 Now seems indestructible. Remaining task is to audit all other
11299 code affected by deleteEmptyParagraphMechanism. One small quirk
11300 left is that an empty document with an error in the preamble can
11301 be made to report an error but no error box appears. I don't know
11303 (removeAutoInsets): Improved comments.
11305 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11308 * Thesaurus.C: update for Aiksaurus 0.14
11310 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11312 * text2.C (firstParagraph): removed member function, all uses
11313 replaces with ownerParagraph
11314 (redoParagraphs): here
11315 (updateInset): here
11316 (toggleAppendix): here
11317 * BufferView2.C (insertErrors): here
11318 (setCursorFromRow): here
11320 2002-01-13 Allan Rae <rae@lyx.org>
11322 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11323 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11324 There is still a way to segfault this although you may have to do this
11325 multiple times: Have an InsetERT with an unknown command in it.
11326 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11327 <down-arrow>, <Enter> again, View->DVI, BANG!
11329 * text2.C (setCursor):
11330 (deleteEmptyParagraphMechanism):
11331 * lyxtext.h (setCursor):
11332 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11333 Making use of the return value may help fix other bugs.
11335 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11337 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11339 * LyXView.C (updateMenubar): call MenuBar::update here
11340 (updateToolbar): but not here
11341 (showState): do not update toolbar/menubar
11343 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11344 should need to care about that.
11346 * lyxfunc.C (verboseDispatch): simplify a bit
11347 (getStatus): have a version which takes a pseudoaction, and
11348 another which requires a (kb_action,string).
11350 * LyXAction.C (retrieveActionArg): make it work also when action
11351 is not a pseudo-action.
11352 (getActionName): simplify a bit
11355 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11357 * lyxfunc.C (verboseDispatch): new families of methods with
11358 several ways to specify a command and a bool to indicate whether
11359 the command name and shortcut should be displayed in minibuffer
11360 (eventually, we could extend that to a finer bitmask like
11361 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11362 (dispatch): the pristine dispatch command which just, well,
11363 dispatchs! Note it still sets its result to minibuffer; I'm not
11366 * lyxfunc.h: remove setHintMessage
11368 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11370 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11372 * BufferView_pimpl.C (specialChar): delete new inset if we have
11373 not been able to insert it.
11375 * kbmap.C: revert to using int instead of kb_action, since all we
11376 are dealing with is pseudo-actions.
11378 * LyXAction.C (searchActionArg): change to return int instead of
11379 kb_action, since the result is a pseudoaction.
11381 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11383 * buffer.C (insertErtContents): Fix (partially) the font bug.
11385 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11387 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11388 as the other one is broken on my machine!
11390 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11393 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11395 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11397 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11398 reflect their actual use. Provide compatibility code for older lyxrc
11401 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11403 change names of popup font variables in line with the changes to lyxrc.C
11405 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11407 * buffer.C (asciiParagraph): avoid outputing a word twice after
11410 * lyxrc.C (getDescription): document that document_path and
11411 template_path can be empty.
11413 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11415 * LaTeXFeatures.C (getMacros):
11416 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11418 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11420 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11422 (getPackages): rename feature "floats" to "float". Use an array to
11423 iterate over 'simple' features (i.e. just a \usepackage). Add
11424 handling of "amsmath" (renamed from "amsstyle").
11426 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11428 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11431 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11433 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11434 FuncStaus::FuncStatus & FuncStaus::some_method().
11436 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11438 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11439 of the func_satus stuff. Edited and massaged in various ways by
11442 * lyxfunc.C (getStatus): use FuncStatus
11444 2002-01-08 Juergen Vigna <jug@sad.it>
11446 * text.C (nextBreakPoint): use function Inset::isChar().
11448 * paragraph.C (TeXOnePar): use function
11449 Inset::forceDefaultParagraphs.
11451 * buffer.C (latexParagraphs): use function
11452 Inset::forceDefaultParagraphs.
11454 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11456 * lyx_gui.C (init): set the style of the menu popups to
11457 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11459 2002-01-07 Juergen Vigna <jug@sad.it>
11461 * text.C (setHeightOfRow): small fix
11462 (prepareToPrint): don't look at alignment if we don't have the place
11465 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11467 * box.C: New file. Move the Box methods and functions out of box.h,
11468 following Lars' suggestion.
11470 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11472 * box.h: #include "support/LOstream.h", needed for inlined function.
11475 * lyxtextclasslist.C: added some using std declarations.
11477 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11479 * box.h: make signed dimensions to allow insets wider than
11480 the screen (bug #162)
11482 * BufferView_pimpl.C: add some insetHit debug
11484 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11486 * vc-backend.C: add FIXME
11488 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11490 * lyxfunc.C (getStatus): enable code for showing math font status
11493 2002-01-07 Juergen Vigna <jug@sad.it>
11495 * text.C (nextBreakPoint): removed debug output not needed anymore.
11497 2002-01-06 Juergen Vigna <jug@sad.it>
11499 * text.C (nextBreakPoint): fixed up this function we had this bug
11500 since ever but now hopefully we break row better.
11501 (insertChar): we have to check if an inset is the next char as it
11502 could now happen that a large inset is causing a break.
11504 2002-01-05 Juergen Vigna <jug@sad.it>
11506 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11507 if it doesn't like to be drawed.
11509 2002-01-04 Juergen Vigna <jug@sad.it>
11511 * BufferView2.C (lockInset): forgot to set a cursor.
11513 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11515 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11517 * FormMathsPanel.C:
11520 * form_maths_panel.C:
11521 * form_maths_panel.h:
11522 * form_maths_panel.fd: implemented sub- and super- buttons in math
11525 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11526 (or ^ space) to be used as in TeX (req'd by André).
11528 * lyxfunc.C: Allow ^ and _ again to be used both as
11529 super/subscript (mathed) and as themselves (in text).
11531 2002-01-03 Allan Rae <rae@lyx.org>
11533 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11534 "LyX" or the filename of the current buffer if it has one. This is a
11535 modified form of John Levon's patch.
11537 * XFormsView.C (setWindowTitle): also set icon title.
11539 * LyXView.h (setWindowTitle): signature changed.
11540 * XFormsView.h (setWindowTitle): ditto.
11542 2002-01-02 Juergen Vigna <jug@sad.it>
11544 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11546 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11548 * screen.C (topCursorVisible): introduce a temp var for
11549 text->cursor.row(), handle the case where this row is null. (kindo
11552 * text2.C (setCursor): add a couple of asserts.
11554 * paragraph.h (inset_iterator): add -> operator
11556 * paragraph.[Ch] (autoDeleteInsets): remove member function
11558 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11559 cursor pos correctly and handle inset deletion by itself.
11560 (insertErrors): move iterator declaration out of for expression
11562 * lyxtextclass.C: add <algorithm>
11564 * Makefile.am: added the new files to sources, removed layout.C
11566 * layout.C: removed file
11568 * layout.h: remove LYX_DUMMY_LAYOUT
11570 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11574 * lyxtextclass.[Ch]:
11575 * lyxtextclasslist.[Ch]: new files
11577 * include order changes to a lot of files, also changes because of
11580 2001-12-27 Juergen Vigna <jug@sad.it>
11582 * buffer.C (asciiParagraph): more fixes.
11584 * tabular.C (ascii): make ascii export support export of only the
11585 data separated by a column-delimiter.
11586 (ascii): better support for ascii export.
11588 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11590 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11592 * tabular_funcs.C: use a "using std::getline" instead of the
11593 previous fix from Angus (necessary for cxx + lyxstring)
11595 2001-12-24 Juergen Vigna <jug@sad.it>
11597 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11599 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11600 problems. First check a minipage also if we have some ert-contents
11601 (not only on par->size(), second set the right depth of the paragraph
11602 on the relink to the root-paragraph-list!
11604 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11605 which then did not anymore update the main paragraphs on undo/redo!
11607 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11609 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11610 code. Support all font-changing funcs (even those which are not in
11611 menu currently). Support for reporting font settings in
11612 mathed (disabled until Andre provides a function on mathed's side).
11614 * func_status.h (toggle): small helper function to set toggle
11617 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11619 * tabular_funcs.C: getline -> std::getline
11621 2001-12-21 Juergen Vigna <jug@sad.it>
11623 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11624 accessed and could be 0 (I couldn't generate this but it seems
11627 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11629 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11630 * tabular_funcs.h: here and include iosfwd
11632 2001-12-20 Juergen Vigna <jug@sad.it>
11634 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11635 inside inset but undo_par was.
11637 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11639 * Thesaurus.C: always include <config.h> in sources.
11643 * box.h: do not include <config.h> in header files
11645 * text.C (paintLastRow): remove unused variable
11647 * text.C (transformChar):
11649 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11651 * Painter.C (text):
11652 * font.C (width): rewrite to use uppercase() instead of
11655 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11657 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11659 * lyxfind.C: clean up of find failure position change
11661 2001-12-20 Juergen Vigna <jug@sad.it>
11663 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11665 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11666 (TeXRow): added to LaTeX a single tabular row.
11667 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11668 (Latex): simplified and finally good LT-h/f support.
11669 (various_functions): just small adaptions for LT-h/f support.
11671 * tabular_funcs.[hC]: added and moved here all not classfunctions
11674 2001-12-19 Juergen Vigna <jug@sad.it>
11676 * tabular.[Ch]: better support for longtabular options (not finished
11679 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11681 * text.C (paintLastRow): use the label font instead of the font of
11682 the last character to compute the size of *_BOX. This makes more
11683 sense and avoids a crash with empty paragraphs.
11684 Use Painter::rectangle to draw EMPTY_BOX.
11686 2001-12-19 Juergen Vigna <jug@sad.it>
11688 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11689 the paragraphs if the replaced paragraph is not the first one!
11690 Tried to delete not used paragraphs but does not work yet so for
11691 now it's inside #ifdef's and by default off!
11693 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11695 * MenuBackend.C: include "lyx_main.h" instead of declaring
11696 lastfiles (actually was declared as LastFiles* instead of a
11699 2001-12-17 Juergen Vigna <jug@sad.it>
11701 * tabular.C (AppendColumn): applied John's fix
11703 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11707 * BufferView_pimpl.h:
11708 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11711 * box.h: new start of class for above
11713 * lyxfunc.C: ignore space-only minibuffer dispatches.
11714 Show the command name when it doesn't exist
11716 * minibuffer.C: don't add empty lines to the history
11718 * minibuffer.C: add a space on dropdown completion
11720 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11722 * text.C: fix line above/below drawing in insets
11724 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11726 * lyxlength.C (LyXLength): Initialize private variables.
11728 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11730 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11731 when inserting error insets.
11733 2001-12-13 Juergen Vigna <jug@sad.it>
11735 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11736 actually sometimes the before-paragraph.
11737 (setUndo): don't clear the redostack if we're not actually undoing!
11739 2001-12-06 Juergen Vigna <jug@sad.it>
11741 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11742 and fixed redoing of main paragraph, so we can use it now ;)
11744 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11746 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11748 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11751 2001-12-13 André Pönitz <poenitz@gmx.net>
11754 * undo_func.C: minor cleanup
11756 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11758 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11759 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11760 font in urw-fonts package which is marked as -urw-fontspecific and
11761 does not work (incidentally, changing the encoding in the
11762 fonts.dir of this package to -adobe-fontspecific fixes the
11765 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11766 is a crash when undoing first paragraph (Juergen, please take a
11767 look). THis does not mean the undo fix is wrong, just that it
11770 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11771 the (Paragraph*) version when needed instead of duplicating the
11774 * text.C (workWidth): use Inset::parOwner to find out where the
11775 inset has been inserted. This is a huge performance gain for large
11776 documents with lots of insets. If Inset::parOwner is not set, fall
11777 back on the brute force method
11779 * paragraph_pimpl.C (insertInset):
11780 * paragraph.C (Paragraph):
11781 (cutIntoMinibuffer): set parOwner of insets when
11782 inserting/removing them
11784 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11786 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11792 * mathed/formulabase.C:
11793 * mathed/math_cursor.[Ch]:
11794 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11797 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11799 * lyxlength.[Ch] (operator!=): new function
11801 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11803 * text.C (workWidth): use Inset::parOwner to find out where the
11804 inset has been inserted. This is a huge performance gain for large
11805 documents with lots of insets. If Inset::parOwner is not set, fall
11806 back on the brute force method
11808 * paragraph_pimpl.C (insertInset):
11809 * paragraph.C (Paragraph):
11810 (cutIntoMinibuffer): set parOwner of insets when
11811 inserting/removing them
11813 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11815 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11817 * tabular-old.C (getTokenValue):
11818 * tabular.C (getTokenValue):
11819 (write_attribute): new versions for LyXLength
11820 (everywhere): adjust the use of widths
11822 * tabular.h: change the type of widths from string to LyXLength
11824 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11826 * paragraph.C: fixed missing line number count when exporting
11827 Environments to LaTeX file
11829 * buffer.C: added informational message for checking line numbers.
11831 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11833 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11834 paragraph, do the 'double space' part, but not the 'empty
11837 * text.C (workWidth): small optimization
11838 (getLengthMarkerHeight): use minimal size for negative lengths.
11840 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11842 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11844 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11846 2001-12-11 André Pönitz <poenitz@gmx.net>
11849 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11851 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11853 * text2.C: keep selection on a setFont()
11855 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11857 * lyx_cb.C: another bv->text misuse, from insert label
11859 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11862 * kbsequence.C: re-instate nmodifier mask
11864 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11866 * lyx_main.h: make lyxGUI private.
11868 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11870 * lyxfind.C: place the cursor correctly on failed search
11872 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11874 * text.C (getLengthMarkerHeight): for small heights, the arrows
11875 are not always on top/bottom of the text
11876 (drawLengthMarker): smaller arrows; take the left margin in
11877 account; draw also vfills.
11879 (paintLastRow): remove special code for vfill and standard spaces,
11880 since everything is handled in drawLengthMarker now.
11882 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11884 * buffer.C (insertErtContents): try to handle font and language
11885 interaction a bit better.g
11887 * ColorHandler.C (updateColor): change the hash to cover the whole
11888 LColor enum, ws cleanup
11889 (getGCLinepars): ditto
11890 (getGCLinepars): only lookup in the linecache once.
11892 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11894 * iterators.C (operator++): Make the iterator more robust
11896 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11898 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11900 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11903 * text.C: better added space drawing
11905 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11908 * BufferView2.C: fix layout combo update on inset unlock
11910 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11912 * Makefile.am: don't compile unused files
11914 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11918 * LyXAction.C: remove old LFUN_LAYOUTNO
11920 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11922 * paragraph_pimpl.h:
11923 * paragraph_pimpl.C: isTextAt() doesn't need font param
11925 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11928 * lyxlex.C: little cleanup
11930 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11932 * BufferView_pimpl.C: fix insertAscii for insets
11934 2001-12-05 Juergen Vigna <jug@sad.it>
11936 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11937 set the right font on the "multi" paragraph paste!
11939 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11945 * lyxlength.C: remove out-commented code.
11947 * BufferView_pimpl:
11961 * vc-backend.C: change "while(" to "while ("
11963 * lyxlength.[Ch]: add zero function to check if length is zero or
11965 * lyxgluelength.C: use it
11967 2001-12-05 Allan Rae <rae@lyx.org>
11969 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11970 Works for 2.95.3, from what I understand of Garst's reports this should
11971 work for other g++ versions. We're screwed if the abs(int) definition
11972 changed between bugfix releases of gcc.
11974 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11976 * text.C: fix chapter label offset !
11978 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11981 * text.C: fix hfill at end of line, clean up
11983 2001-12-04 Juergen Vigna <jug@sad.it>
11985 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11986 that we force an update of the inset and it's owners if neccessary.
11988 2001-12-03 Juergen Vigna <jug@sad.it>
11990 * text.C (rowLast): simplified code
11992 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11994 * lyxfunc.C: fix show options on timeout
11996 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11998 * screen.C (topCursorVisible): scroll half a page when the cursor
11999 reached top of bottom of screen
12001 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12003 * minibuffer.C: deactivate on loss of focus
12005 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12007 * vspace.[Ch] (operator!=): add operator.
12009 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12011 * BufferView_pimpl.C: refuse to open an inset when
12012 there's a selection.
12014 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12016 * BufferView_pimpl.C: allow to click on RHS of full row insets
12018 2001-11-30 Juergen Vigna <jug@sad.it>
12020 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12021 insets for undo reasons.
12023 2001-11-28 André Pönitz <poenitz@gmx.net>
12025 * vspace.[Ch]: cosmetical changes
12027 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12037 * kbsequence.C: part re-write of old kb code
12040 * WorkArea.C: remove Lgb_bug_find_hack
12042 2001-11-30 José Matos <jamatos@fep.up.pt>
12044 * buffer.C (makeDocBookFile): add a comment to point a hack.
12045 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12046 Fixed a double write of labels.
12048 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12051 * LaTeX.h Fixed bug in LaTeX class where it would not
12052 re-run latex if no depfiles were changed, but the .dvi was removed.
12054 2001-11-28 André Pönitz <poenitz@gmx.net>
12056 * all the files from the change on 2001/11/26:
12057 use lyx::layout_type instead of LyXTextClass::size_type
12058 use lyx::textclass_type instead of LyXTextClassList::size_type
12060 2001-11-29 Juergen Vigna <jug@sad.it>
12062 * text.C: added support for paragraph::isFreeSpacing()
12064 * buffer.C: same as above
12066 * paragraph.h: inserted isFreeSpacing() function to enable
12067 FreeSpacing inside InsetERT.
12069 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12070 of the paragraph's in the cut/copy buffer to 0!
12072 * text2.C (removeRow): remove the assert as it can!
12074 * lyxtext.h: added helper function firstRow returning firstrow and
12075 made firstrow private again.
12077 * BufferView2.C (lockInset): don't relock if we're already locked!
12079 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12080 the only paragraph.
12081 (removeRow): added Assert::(firstrow)
12083 * debug.C: forgot to add INSETTEXT here.
12085 2001-11-28 Juergen Vigna <jug@sad.it>
12087 * sp_spell.C (initialize): changed error text to more general
12088 spellchecker command use (not only ispell!)
12090 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12092 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12094 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12096 * vspace.C: initialise lyxgluelength on failure
12098 2001-11-28 Allan Rae <rae@lyx.org>
12100 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12101 declaration & definition that looks like a function declaration.
12103 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12105 * BufferView2.C (copy):
12106 (copyEnvironment): do not clear the selection when doing a copy.
12108 * text.C (paintFirstRow): compilation fix
12110 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12112 * tabular.C (Latex): correct line count when writing latex.
12114 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12116 * paragraph_pimpl.h:
12117 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12120 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12124 * LColor.C: change vfillline->added_space
12126 * text.C: add markers and text for added space
12128 * vspace.C: fix comment
12130 2001-11-28 André Pönitz <poenitz@gmx.net>
12132 * paragraph.C: whitespace changes
12133 * all the other files from the change on 2001/11/26:
12134 change *::pos_type into lyx::pos_type
12136 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12138 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12139 language of the document when inserting error insets.
12141 2001-11-26 André Pönitz <poenitz@gmx.net>
12143 * BufferView_pimpl.[Ch]:
12151 * paragraph_pimpl.[Ch]:
12154 * text2.C: reduce header dependencies, introduce type for positions
12156 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12158 * <various>: change to use Alert.h
12160 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12162 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12163 when encountering an unknown token.
12164 (readLyXformat2): Show an error message if there were unknown tokens.
12166 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12169 * BufferView_pimpl.C:
12173 * text2.C: use par->isInset()
12175 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12177 * paragraph_pimpl.h:
12178 * paragraph_pimpl.C: cleanup
12180 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12182 * text2.C (removeRow):
12183 * text.C (setHeightOfRow): remove useless (and costly) call to
12186 2001-11-20 Allan Rae <rae@lyx.org>
12188 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12189 Now need Inset*::checkInsertChar() to return true for appropriate
12190 cases so that the characters in the minibuffer will actually be
12193 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12195 * text.C: change the order of the includes.
12196 (workWidth): initialize it at once.
12197 (workWidth): make maxw unsigned
12198 (setHeightOfRow): remove unused variable (inset)
12199 (selectSelectedWord): remove unused variable (inset)
12200 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12202 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12204 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12205 server is not running.
12207 (closeConnection): add debug info when server is disabled.
12209 * ColorHandler.C (getGCForeground): send debug message to GUI
12212 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12214 * kbmap.C (bind): modify because return conventions of
12215 kb_sequence::parse have changed.
12217 * kbsequence.C (parse): only ignore spaces and not any stupid
12218 control character. This avoids tests like s[i] <= ' ', which are
12219 guaranteed to fail with 8bit characters and signed chars.
12220 Change return code to string::npos when there have been no error
12221 (0 was a bad idea when error is at first character)
12223 2001-11-14 José Matos <jamatos@fep.up.pt>
12226 * buffer.C (simpleDocBookOnePar): removed unused argument.
12228 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12230 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12231 insets which are part of a word. Paragraph::isLetter takes care of
12232 that now. Use Paragraph::isInset to identify insets.
12233 (selectSelectedWord): do not test for hyphenation break.
12235 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12236 that protected spaces are considered as spaces.
12238 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12241 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12244 * lyxserver.C: fix it. and small cleanup.
12246 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12248 * BufferView_pimpl.C: use inline helpers
12251 * LaTeXFeatures.C: fix typos
12254 * Spacing.C: move spacing_string into class
12256 * ToolbarDefaults.C: move stuff into namespace anon
12258 * layout.h: update enum
12260 * lyxfunc.C: use better debug
12262 * minibuffer.h: fix typo
12266 * WorkArea.C: add and use Debug::WORKAREA
12270 * text2.C: code re-organisation, inline helpers
12272 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12274 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12275 std::vector.empty().
12277 2001-11-09 Allan Rae <rae@lyx.org>
12279 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12280 '\n's after tables. Tabular and ERT inset work now makes this no
12283 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12286 * minibuffer.C: fix crash, improve drop-down completion
12288 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12291 * lyxserver.C: invalidate fd's when doing endPipe()
12293 2001-11-08 José Matos <jamatos@fep.up.pt>
12295 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12296 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12299 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12301 2001-11-07 José Matos <jamatos@fep.up.pt>
12304 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12307 * buffer.C (sgmlOpenTag):
12308 * buffer.C (sgmlCloseTag): removed debug info.
12310 * buffer.h (sgmlOpenTag):
12311 * buffer.h (sgmlCloseTag): made public.
12313 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12315 * buffer.C (saveParamsAsDefaults):
12316 * lyx_cb.C (MenuLayoutSave): remove
12318 * LyXAction.C (init):
12320 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12322 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12324 * buffer.C (setPaperStuff): removed from here...
12326 * bufferparams.C (setPaperStuff): ... and moved there.
12328 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12332 * XFormsView.C: add support for drop-down completion
12334 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12336 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12339 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12341 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12344 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12346 * lyx_main.C: change ref to known bugs
12348 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12350 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12351 to work around older babel problems.
12353 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12355 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12357 2001-10-24 Juergen Vigna <jug@sad.it>
12359 * tabular-old.C (ReadOld): below variable changes reflected.
12361 * tabular.[Ch]: added ltType struct for longtable header/footer
12362 defines and changed all instances where they are used. Added
12363 future support for double top/bottom rows.
12365 2001-10-24 José Matos <jamatos@fep.up.pt>
12367 * buffer.h (docbookHandleCaption):
12368 * buffer.C (docbookHandleCaption): removed unused function.
12369 (makeDocBookFile): moved docbook supported version to v4.1.
12371 2001-10-24 José Matos <jamatos@fep.up.pt>
12374 * tabular.C (docbookRow): new function to export docbook code of a row.
12375 (DocBook): now honors the longtable flags.
12377 2001-10-23 José Matos <jamatos@fep.up.pt>
12380 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12381 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12383 * buffer.C (makeLinuxDocFile):
12384 (makeDocBookFile): reworked the preamble, more clean, and with
12385 support for lyx defined entities. Changed the document declaration
12386 to be more XML friendly.
12388 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12389 if we need to output XML that should be done with a filter.
12391 2001-10-22 Juergen Vigna <jug@sad.it>
12393 * sp_pspell.h (class PSpell): add alive function needed in the
12394 controller to see if the spellchecker could be started.
12396 2001-10-22 Juergen Vigna <jug@sad.it>
12398 * buffer.C (insertStringAsLines): modify the font for inserting
12399 chars in certain conditions by calling checkInsertChar(font).
12401 2001-10-19 Juergen Vigna <jug@sad.it>
12403 * text.C (workWidth): use getRow instead of wrong algorithm.
12404 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12406 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12411 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12413 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12415 * text.C (workWidth): do not search for the exact row when
12416 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12417 optimization for big documents.
12419 2001-10-18 Juergen Vigna <jug@sad.it>
12421 * text.C (workWidth): new function with added Inset * parameter.
12423 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12425 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12427 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12428 change return type of getColumnNearX.
12431 * text.C (changeRegionCase): use uppercase/lowercase instead of
12434 (rightMargin): simplify code by factoring out the uses of
12439 (appendParagraph): use Paragraph::size_type
12441 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12443 * vspace.C (asLatexString): add a missing break
12445 2001-10-15 Herbert Voss <voss@perce.de>
12447 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12449 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12451 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12454 2001-10-10 André Pönitz <poenitz@gmx.net>
12456 * lyxfunc.C: removed greek_kb_flag.
12458 2001-10-10 Herbert Voss <voss@perce.de>
12460 * lyx_main.C: delete global string help_lyxdir.
12462 2001-10-09 Herbert Voss <voss@perce.de>
12464 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12466 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12468 * lyx_main.C: added global string help_lyxdir.
12470 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12472 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12474 * lyxrc.C (set_font_norm_type): support iso8859-4
12476 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12478 * LaTeX.C (deplog): add another regex for MikTeX
12480 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12482 * lyxrc.C (set_font_norm_type): support iso8859-3
12484 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12486 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12488 * LaTeXFeatures.C: remove special case of french and index
12490 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12491 before \begin{document}). This solves several incompatibilities.
12493 2001-10-03 Garst Reese <reese@isn.net>
12495 * lyx_cb.C: change CheckTex error msg.
12497 2001-10-03 José Matos <jamatos@fep.up.pt>
12499 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12501 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12503 * .cvsignore: update
12505 * lyx_main.C (commandLineVersionInfo): use new style version info.
12507 * buffer.C (writeFile):
12509 (makeLinuxDocFile):
12510 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12512 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12514 * version.h: update to use stuff in version.C
12516 * version.C.in: new file. Contains version information determined
12517 at compile time. This is a merging of version.h and
12520 2001-10-03 Juergen Vigna <jug@sad.it>
12522 * BufferView_pimpl.C (update): don't change "dirty" status in
12525 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12527 * WorkArea.C (c-tor): re-position version string slightly.
12529 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12531 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12532 revert to previous code.
12534 WorkArea.[Ch]: (show, destroySplash): methods removed.
12536 WorkArea.C: rework code so that it's an amalgam of the codes before and
12537 after the splash screen was moved to WorkArea.
12539 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12542 * vspace.C (inPixels):
12545 * buffer.C (insertStringAsLines):
12546 (asciiParagraph): fix types to be large enough
12548 * lyxlex_pimpl.h: change member status from short to int
12550 * layout.h: fix type of endlabeltype
12553 * kbsequence.C (parse): change return type to string::size_type
12555 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12558 * Bullet.C (bulletSize):
12559 (bulletEntry): do not use short ints as parameters
12561 * BufferView2.C (insertLyXFile): change a char to an int.
12563 * WorkArea.C (WorkArea): remove unneeded floats in computation
12565 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12567 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12569 * paragraph.C (asString): Do not ignore newline/hfill chars when
12570 copying to the clipboard.
12572 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12574 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12575 after a multi-line inset.
12577 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12579 * paragraph.C (validate): Set NeedLyXFootnoteCode
12581 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12583 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12584 and decrease-error to decrease.
12586 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12588 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12589 it more readable (should be equivalent)
12591 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12593 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12595 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12597 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12598 of a cursor (row, etc.) after a character has been deleted
12599 (deleteEmptyParagraphMechanism): call the method above on _all_
12600 cursors held by the LyXText when a double space has been
12603 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12605 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12607 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12609 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12610 background. Use greyOut() and the new show() methods to toggle between
12611 the foreground and background. Add code to remove the splash after
12612 its initial showing.
12614 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12615 (create_forms): no longer call Dialogs::showSplash.
12617 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12619 * .cvsignore: add version_info.h
12621 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12623 * version_info.h.in: new file
12625 * Makefile.am: add version_info.h.in
12627 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12628 version_info.h instead of VERSION_INFO
12630 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12632 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12633 The ERT inset now returns string().
12635 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12637 * lyxtext.h, text.C (selectNextWord): renamed as
12638 selectNextWordToSpellcheck.
12640 * text.C (selectNextWordToSpellcheck): Modified to not select
12641 words inside an ERT inset.
12643 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12645 * lyx_cb.C (MenuLayoutSave): change a bit the question
12647 * sp_base.h: include <sys/types.h>
12649 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12651 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12653 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12655 * several files: fix typos in user-visible strings
12657 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12659 * text2.C (pasteSelection): do not set the selection, since it
12660 will be cleared later. Actually, the intent was to fix the way the
12661 selection was set, but I figured rmoving the code was just as good.
12663 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12665 * FontLoader.C (available): Check if font is available without
12668 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12670 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12672 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12674 * lyxrc.[Ch]: added display_graphics variable and associated code.
12676 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12678 * bufferparams.C (hasClassDefaults): new method. Returns true if
12679 the buffer parameters correspond to known class defaults
12681 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12683 * XFormsView.C (show): set minimum size to the main window.
12685 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12687 * text2.C (copySelection):
12689 * lyxfind.C (LyXReplace):
12690 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12691 LyXText::selectionAsString.
12693 * paragraph.C (asString): add "label" argument to the second form
12695 * text2.C (selectionAsString): add "label" argument and pass it to
12696 Paragraph::asString.
12698 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12700 * lyx_main.C (commandLineHelp): remove version information
12702 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12704 * lyx_main.C: add -version commandline option
12706 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12708 * paragraph.h: make the optional constructor arg required instead.
12709 some modifications to other files because of this.
12711 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12713 * lyxserver.C (C_LyXComm_callback): make it static
12715 * lyx_main.C (error_handler): make it static
12717 * lyx_gui.C (LyX_XErrHandler): make it static
12719 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12721 * WorkArea.C: make the extern "C" methods static.
12723 * Makefile.am (lyx_LDADD): simplify
12725 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12727 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12728 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12730 * LyXAction.C (init):
12731 * lyxfunc.C (dispatch): associated code removal.
12733 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12735 * lyxfont.h (isSymbolFont): shut off warning
12737 * text.C (setHeightOfRow):
12738 (getVisibleRow): fix crash with empty paragraphs which have a
12741 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12743 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12746 2001-09-04 José Matos <jamatos@fep.up.pt>
12749 * tabular.C (docbook): rename docBook method to docbook.
12751 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12753 * Makefile.am: add dependencies to main.o.
12755 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12757 * FontLoader.C (available): Return false if !lyxrc.use_gui
12759 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12761 * FontInfo.C (query):
12762 * converter.C (view):
12763 * importer.C (Import):
12764 * exporter.C (Export): Can not -> cannot.
12766 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12768 * BufferView_pimpl.C: allow to create index inset even if
12771 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12773 * buffer.C (getLists): replace boost::tie code with an explicit pair
12774 as boost::tie can break some compilers.
12776 * iterators.h: Added a std:: declaration to the return type of
12779 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12781 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12784 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12786 * iterators.[Ch]: New files. Provide paragraph iterators.
12788 * buffer.C (changeLanguage): Use paragraph iterators.
12789 (isMultiLingual): ditto
12791 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12793 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12795 * FontLoader.C: Support for cmr font.
12797 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12799 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12800 (available): New method.
12802 * FontInfo.C (getFontname): Use scalable fonts even when
12803 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12806 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12808 * converter.C (Formats::view): reverted! Incorrect fix.
12810 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12812 * converter.C (Formats::view): only output the -paper option
12813 if the dvi viewer is xdvi, thereby fixing bug #233429.
12815 2001-08-23 Herbert Voss <voss@perce>
12817 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12819 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12821 * Spacing.h (Spacing): Set space to Default on in the default
12824 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12826 * vc-backend.h (RCS::versionString): add RCS to version
12827 (CVS::versionString): add CVS to version
12829 * vc-backend.C (scanMaster): do not add CVS to version.
12830 (scanMaster): do not add RCS to version
12832 * lyxvc.C (versionString): new method
12834 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12836 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12838 * Spacing.C (set): initialize fval
12840 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12842 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12845 2001-08-16 Juergen Vigna <jug@sad.it>
12847 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12849 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12851 * BufferView_pimpl.C:
12854 * text2.C: setParagraph takes linespacing now
12856 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12858 * LyxAction.C: add internal LFUN_CITATION_INSERT
12860 * LyXView.C: actually apply fix
12862 * bufferlist.C: fix open non-existent file
12864 * lyxfind.C: fix indentation
12866 * lyxfunc.C: remove unneeded assert, fix typo
12868 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12870 * MenuBackend.C: use "Floatname List"
12872 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12874 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12875 when converting LaTeX layout to insetERT.
12876 Generate a non-collapsed float when reading old float
12878 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12880 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12883 2001-08-13 Juergen Vigna <jug@sad.it>
12885 * text.C (fill): return 0 instead of 20 as this seems to be the more
12888 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12890 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12893 2001-08-13 Juergen Vigna <jug@sad.it>
12895 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12897 (SearchBackward): comment out the unlocking of the inset_owner this
12898 should not be needed!
12900 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12902 * Many files: Remove inherit_language, and add latex_language
12904 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12905 collapsible insets.
12907 2001-08-10 Juergen Vigna <jug@sad.it>
12909 * text.C (prepareToPrint): fixed hfill-width in draw!
12911 * BufferView2.C (selectLastWord): save the selection cursor as this
12912 now is cleared in the function LyXText::clearSelection!
12914 2001-08-08 Juergen Vigna <jug@sad.it>
12916 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12917 BACKSPACE type functions.
12919 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12920 is only cutted from the document but not put in the cut-buffer, where
12921 still the old stuff should be.
12923 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12925 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12927 * tabular.C (SetWidthOfCell): fixed special case where the width
12929 (LeftLine): handle '|' in align_special.
12931 (LeftAlreadyDrawed): ditto
12932 (SetWidthOfCell): ditto
12934 2001-08-07 Juergen Vigna <jug@sad.it>
12936 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12938 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12940 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12941 * lyxlex.[hC]: ditto
12943 2001-08-06 Juergen Vigna <jug@sad.it>
12945 * text.C (getVisibleRow): fix up row clearing a bit.
12947 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12949 * minibuffer.C: make sure the X server sees the changes in the input.
12951 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12953 * paragraph.C (getFont): split into...
12954 (getLabelFont): this
12955 (getLayoutFont): and this
12956 * paragraph_pimpl.C (realizeFont): calling this
12958 * text2.C (getFont): split into...
12959 (getLayoutFont): this
12960 (getLabelFont): and this
12961 (realizeFont): all three calling this
12963 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12966 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12968 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12970 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12972 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12973 layouts from the Quote inset insertion.
12975 2001-08-03 Juergen Vigna <jug@sad.it>
12977 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12979 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12980 only if status not is already CHANGED_IN_DRAW (second level).
12982 * text.C (draw): don't set the need_break_row when inside an
12985 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12987 * buffer.C (parseSingleLyXformat2Token): handle more latex
12990 * bufferview_funcs.[hC]: change function names to
12991 begin with small char, adjust other files.
12993 2001-08-02 André Pönitz <poenitz@gmx.net>
12996 BufferView_pimpl.C: remove broken special code for math-greek
12998 2001-08-02 Juergen Vigna <jug@sad.it>
13000 * BufferView_pimpl.C (update): redone this function so that we
13001 update the text again if there was a CHANGE_IN_DRAW.
13003 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13004 (drawFromTo): added a new internal bool which is used by draw() and
13006 (general): some cursor drawing problems fixed.
13008 2001-08-01 Juergen Vigna <jug@sad.it>
13010 * lyxfind.C (LyXFind): fixed
13011 (SearchForward): ditto
13012 (SearchBackward): ditto
13014 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13015 spurius drawing of the cursor in the main area.
13017 * text2.C (status): small fix which could lead to a segfault!
13018 (clearSelection): remove unneeded BufferView param.
13020 2001-08-01 André Pönitz <poenitz@gmx.net>
13022 * lyxfunc.C: small change due to changed mathed interface
13024 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13026 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13028 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13030 * lyxfunc.c: fail gracefully if file doesn't exist
13035 * BufferView_pimpl.C: IsDirWriteable() proto changed
13037 * LyXView.C: fix updateWindowTitle() to store the last title
13039 2001-07-31 Juergen Vigna <jug@sad.it>
13041 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13042 the font (wrong since using of Paragraph::highestFontInRange).
13044 * paragraph.C (highestFontInRange): added a default_size parameter.
13046 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13047 (setHeightOfRow): reformat
13049 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13051 * converter.[hC] + affected files: move to (inital-char)lowercase
13054 * ParagraphParameters.C (ParagraphParameters): remove commented code
13056 * PainterBase.[Ch]: remove commented code
13058 * LaTeXFeatures.h: add "bool floats" for float.sty
13060 * LaTeXFeatures.C (LaTeXFeatures): init floats
13061 (require): handle float
13062 (getPackages): do it with floats
13064 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13066 * BufferView_pimpl.C (Dispatch): improve handling of
13067 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13069 * commandtags.h: #include lyxfont.h here temporarily to avoid
13072 * bufferlist.h: include LString.h here.
13074 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13076 * text2.C (getStringToIndex): new method.
13078 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13080 * *: Reduced header file dependencies all over.
13082 2001-07-30 Baruch Even <baruch@lyx.org>
13084 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13086 2001-07-29 Baruch Even <baruch@lyx.org>
13088 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13090 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13092 * ParameterStruct.h (endif): add a default constructor to make
13093 sure that all variables is initialized.
13095 * ParagraphParameters.C (ParagraphParameters): adjust
13097 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13099 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13100 index; also, check that there is something to index, and that it
13101 does not span over several paragraphs.
13102 (doubleClick): use WHOLE_WORD_STRICT for double click.
13104 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13106 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13109 2001-07-26 Baruch Even <baruch@lyx.org>
13111 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13112 an InsetFig figure, backwards compatible reading of old figure code.
13114 2001-07-27 Juergen Vigna <jug@sad.it>
13116 * text2.C: font.realize function adaption.
13118 * text.C (draw): add a warnings lyxerr text if needed.
13120 * layout.C: font.realize function adaption.
13122 * language.C: add inherit_language and implement it's handlings
13124 * bufferview_funcs.C (StyleReset): remove language parameter from
13125 font creation (should be language_inherit now).
13127 * bufferparams.C (writeFile): handle ignore_language.
13129 * paragraph.C (getFontSettings): the language has to be resolved
13130 otherwise we have problems in LyXFont!
13132 * lyxfont.C (lyxWriteChanges): added document_language parameter
13133 (update): removed unneeded language parameter
13135 * paragraph.C (validate): fixed wrong output of color-package when
13136 using interface colors for certain fonts in certain environments,
13137 which should not seen as that on the final output.
13139 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13141 * BufferView_pimpl.C:
13146 * LyXAction.C: add thesaurus support
13149 * lyxfind.C: add "once" parameter, for thesaurus, to not
13150 move to the next match
13152 2001-07-26 Juergen Vigna <jug@sad.it>
13154 * lyxfont.C (realize): honor ignore_language too!
13157 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13159 * text.C (draw): one place more for ignore_language to not draw
13162 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13164 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13166 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13168 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13169 the minipage conversion problem.
13171 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13173 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13176 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13178 * BufferView.h: don't forward declare WorkArea
13180 * BufferView.C: don't include WorkArea.h
13182 2001-07-25 André Pönitz <poenitz@gmx.net>
13186 * lyxfunc.C: new LFUN 'math-space'
13188 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13190 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13192 * text2.C (toggleInset): call open/close
13194 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13196 * lyxfunc.C (dispatch): add debug for the disabled case
13198 * font.C (buttonText): make similar to rectText
13200 * buffer.C (readInset): comment out parsing of insetlist and
13203 * PainterBase.C (rectText): small correction
13205 * BufferView_pimpl.C: comment out insettheorem and insetlist
13206 * LyXAction.C: ditto
13207 * commandtags.h: ditto
13209 2001-07-24 Juergen Vigna <jug@sad.it>
13211 * text.C (draw): honor the ignore_language.
13213 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13215 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13217 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13220 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13222 * lyxtext.h: remove unused (and unimplemented) methods
13224 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13226 * text.C (getVisibleRow): honor background color
13229 * Painter.h: remove default color argument for fillRectangle
13231 * text.C (backgroundColor): new method
13233 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13235 * text.C (getVisibleRow): adjust
13237 * font.[Ch] (rectText): new method, metrics
13238 (buttonText): new method, metrics
13240 * PainterBase.[hC]: make rectText and buttonText always draw and take
13243 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13245 * ToolbarDefaults.C (read):
13246 * MenuBackend.C (read): allow escaping in all strings
13248 * BufferView_pimpl.C (insertAndEditInset): new method.
13249 (Dispatch): use insertAndEditInset whenever appropriate.
13251 * BufferView_pimpl.C (insertNote): removed
13253 * BufferView_pimpl.C (smartQuote): new method, moved from
13254 BufferView; if an insetquote cannot be inserted, insert a '"'
13257 * BufferView2.C: remove insertCorrectQuote();
13259 * lyxfunc.C (getStatus): Add support for all remaingin
13260 inset-insert lfuns.
13262 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13264 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13265 command (necessary to pass " as parameter of self-insert.
13267 * text.C (selectWordWhenUnderCursor):
13268 (selectWord): add word_location parameter
13269 (selectWordWhenUnderCursor): same + remove special code for word
13271 (selectNextWord): use kind() to guess type of insetspecialchar,
13274 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13275 (insertErtContents): create ert insets as collapsed.
13276 (readInset): better compatibility code for Info inset.
13278 2001-07-20 Juergen Vigna <jug@sad.it>
13280 * lyxfunc.C (dispatch): use always LyXFind now!
13282 * text2.C (init): add a reinit flag so that the LyXText can be
13283 reinited instead of deleted and reallocated (used in InsetText).
13285 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13291 2001-07-18 Juergen Vigna <jug@sad.it>
13293 * text.C (selectNextWord): handle insets inside inset by calling
13294 always the bv->text functions so that we can go up the_locking_inset!
13296 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13297 in strange locations when inside an inset!
13299 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13300 handling to include insets.
13302 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13304 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13306 * LyXAction.C (init):
13308 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13309 LIGATURE_BREAK, since the name is so stupid.
13311 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13313 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13316 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13318 * sp_form.[Ch]: remove.
13320 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13322 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13325 * src/buffer.C (readInset): ditto.
13327 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13329 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13330 menuSeparator(), endOfSentenceDot(), ldots() and
13331 hyphenationPoint(), which are therefore removed.
13332 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13334 * LyXAction.C (init):
13335 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13337 * paragraph.C (getWord): removed.
13339 * BufferView_pimpl.C (Dispatch): use last word or selection for
13340 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13342 * lyx_main.C (queryUserLyXDir): do not ask before creating
13343 user_dir, except if it has been named explicitely.
13345 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13347 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13348 a document of zero size.
13350 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13352 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13353 approriately in the c-tor and in require().
13354 (getPackages): output the appropriate LaTeX for natbib support.
13356 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13357 variables "use_natbib" and "use_numerical_citations" when reading the
13359 (readInset): read the various natbib cite commands.
13360 (validate): white-space change.
13362 * bufferparams.[Ch]: new variables "bool use_natbib" and
13363 "bool use_numerical_citations".
13364 (writeFile): output them in the LyX file.
13366 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13368 * lyxfunc.C (getStatus): add support for all the inset insertion
13371 * text2.C (insertInset):
13372 * paragraph.C (insetAllowed):
13373 * BufferView_pimpl.C (insertInset): update to take in account the
13374 renaming of insertInsetAllowed
13376 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13378 * text2.C (getInset): new method. returns inset at cursor position.
13380 * BufferView_pimpl.C (Dispatch): changes because of this.
13382 * LyXAction.C (init): rename open-stuff to inset-toggle.
13384 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13386 * text2.C (toggleInset): renamed from openStuff; use
13389 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13391 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13393 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13395 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13397 * buffer.C (readLyXformat2): Add filename to the error dialog
13399 2001-07-18 Juergen Vigna <jug@sad.it>
13401 * tabular.C (GetCellNumber): put an assert here instead of the check!
13403 2001-07-17 Juergen Vigna <jug@sad.it>
13405 * BufferView_pimpl.C (toggleSelection): adapted too.
13407 * text.C (selectNextWord): adapted for use with insets.
13408 (selectSelectedWord): ditto
13410 2001-07-17 Juergen Vigna <jug@sad.it>
13412 * sp_spell.C (PSpell): fix initialitation order.
13414 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13416 * paragraph.C: spacing
13418 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13420 * sp_spell.C: repair language selection for pspell
13422 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13424 * lyxfunc.h: change more methods to begin with lower char.
13426 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13428 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13429 for unknown layouts.
13431 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13433 * buffer.C (readLyXformat2): Generate an error dialog if there are
13436 2001-07-16 Juergen Vigna <jug@sad.it>
13438 * sp_spell.C: always compile ISpell part.
13440 * lyxrc.C: added use_pspell entry and it's handling.
13442 2001-07-13 Juergen Vigna <jug@sad.it>
13444 * sp_spell.C: removed double includes.
13446 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13448 Consistent use of Lsstream.h:
13449 * Lsstream.h: added using std::stringstream for consistencies sake.
13451 * buffer.C: removed using std::stringstream
13453 * lyxfont.C (stateText):
13454 * paragraph.C (asString):
13455 * text.C (selectNextWord, selectSelectedWord):
13456 * text2.C (setCounter):
13457 * vspace.C (asString, asLatexString):
13458 std::ostringstream -> ostringstream.
13460 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13462 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13463 * commandtags.h: add LFUN_HELP_ABOUTLYX
13464 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13466 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13468 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13470 * lyx_gui_misc.C: remove spellchecker
13471 * lyxfunc.C: showSpellchecker
13473 * sp_ispell.h: added
13474 * sp_pspell.h: added
13475 * sp_spell.C: added
13476 * sp_form.[Ch]: removed
13477 * spellchecker.[Ch]: removed
13479 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13481 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13483 (simpleTeXSpecialChars): Simply print the input character without
13484 any special translation if pass_thru is set.
13486 * layout.h: Added bool pass_thru to layout class for being able to
13487 implement pass through of a paragraph for Literate Programming.
13489 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13490 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13491 * layout.C (Read): add "passthru" to list of layout tags and add
13492 code to set the pass_thru boolean when it is read.
13494 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13496 * trans_decl.h: remove allowed from KmodInfo
13498 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13499 remove allowed code
13502 * paragraph_pimpl.C (erase): use boost::prior
13504 * Painter.C (text): use data() instead of c_str() when length is
13506 * WorkArea.C (putClipboard): ditto
13507 * font.h (width): ditto
13509 * BufferView2.C: use it-> instead of (*it). for iterators
13511 * paragraph_pimpl.C: ditto
13512 * paragraph.C: ditto
13513 * minibuffer.C: ditto
13514 * language.C: ditto
13516 * encoding.C: ditto
13517 * counters.C: ditto
13518 * converter.C: ditto
13520 * Variables.C: ditto
13521 * TextCache.C: ditto
13522 * MenuBackend.C: ditto
13523 * LyXAction.C: ditto
13525 * FloatList.C: ditto
13526 * DepTable.C: ditto
13527 * ColorHandler.C (LyXColorHandler): ditto
13529 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13531 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13533 * text2.C (openStuff): reintroduce this method (which had been
13534 nuked in NEW_INSETS frenzy).
13536 * lyxfunc.C (Dispatch): when an action has not been handled, use
13537 its name in the error message, not its number.
13539 * paragraph.C (inInset): change method name to begin with lowercase.
13542 * text2.C: updates because of this.
13544 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13546 * ToolbarDefaults.C (add): add spaces in error message
13548 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13550 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13551 (readLyXformat2): rename return_par to first_par, use lyxlex's
13552 pushToken and remove the manual push handling.
13553 (parseSingleLyXformat2Token): add another ert comp. variable:
13554 in_tabular, rename return_par to first_par. handle newlines better
13556 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13558 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13560 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13562 * text2.C (getParFromID): removed
13564 * buffer.C (getParFromID): new method moved form lyxtext.
13565 * BufferView2.C (insertErrors): adjust
13566 (setCursorFromRow): adjust
13567 * BufferView_pimpl.C (restorePosition): adjust
13568 * lyxfunc.C (Dispatch): adjust
13569 * undo_funcs.C (textUndo): adjust
13571 (textHandleUndo): adjust
13572 (textHandleUndo): adjust
13574 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13576 * buffer.C: up' the LYX_FORMAT
13578 * lyxfont.h: turn NO_LATEX on as default
13580 * buffer.C (insertErtContents): new methods of tex style compability.
13581 (parseSingleLyXformat2Token): use it several places.
13582 * tabular.C (OldFormatRead): and here
13584 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13586 * text2.C: remove some commented code.
13589 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13590 * trans.C: changes because of the above.
13592 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13594 * text2.C (setCounter): Fix counters bug with bibliography layout.
13596 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13598 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13599 own member functions
13600 (simpleTeXSpecialChars): ditto
13602 2001-07-06 Juergen Vigna <jug@sad.it>
13604 * a lot of files: changed the access to LyXText::status and the
13605 call of undo-functions.
13607 * undo.[Ch]: added a inset_id to the undo informations.
13609 * undo_funcs.[Ch]: added and moved here all undo functions.
13611 * lyxtext.h: give the status enum a weight, made status_ a private
13612 variable and made accessor functions for it, removed the whole bunch
13613 of undo-functions as they are now in their own file, make some
13614 functions publically available. Added function ownerParagraph with
13617 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13618 made InInset() a const function, added getParFromID() function.
13620 * buffer.[Ch]: added const version for inset_iterator functions,
13621 added getInsetFromID() function.
13623 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13624 changed undo functions for new version.
13626 2001-07-05 Juergen Vigna <jug@sad.it>
13628 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13629 unknow mechanism does not call the proper constructor but only this
13630 one also if I request the other!?
13632 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13634 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13636 * text2.C (LyXText): use initialization lists.
13638 * lyxtext.h (Selection): initialize set_ and mark_
13639 (init): remove method
13641 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13643 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13645 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13647 * screen.[Ch]: change method names to begin with lowercase
13649 * BufferView_pimpl.C (updateScrollbar): simplify further and
13650 hopefully make it a bit faster.
13652 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13654 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13655 calling directly xforms functions.
13657 * Painter.C (Painter):
13658 * lyx_cb.C (MenuWrite):
13659 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13662 * lyx_gui.C: remove bogus guiruntime extern declaration.
13664 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13666 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13668 (redoDrawingOfParagraph): ditto
13669 (redoParagraphs): ditto
13670 (cutSelection): don't create a object for CutAndPaste use the
13671 static method directly
13672 (pasteSelection): ditto
13674 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13677 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13679 * modifications to some other files because of this.
13681 * Makefile.am (lyx_SOURCES): add XFormsView
13683 * XFormsView.[Ch]: new files
13685 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13686 the main window. Move the gui dependent stuff to XFormsView
13688 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13690 * tabular.C (GetCellInset): update cur_cell also in the row/col
13691 version of this function.
13693 * lyxfunc.C: no need to include figure_form.h here.
13699 * lyxvc.C: no need to include forms.h here.
13701 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13703 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13705 * lyxfunc.C (Dispatch):
13707 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13708 constructor argument.
13710 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13712 * paragraph.C (Paragraph): dont't clear, and just set layout.
13713 (makeSameLayout): use params's copy contructor.
13715 * ParagraphParameters.[Ch] (makeSame): delete method
13717 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13719 * Variables.[Ch]: fix indentation, rename set to isSet
13721 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13723 * lyxfunc.C (Dispatch): fix typo
13725 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13727 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13730 * bufferlist.C: include assert.h for emergencyWrite().
13732 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13734 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13735 give up at last (bug #425202) !
13737 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13743 * spellchecker.C: strip spellchecker options and bring up
13744 preferences tab instead
13746 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13748 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13749 the istringstream constructor
13751 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13753 * paragraph.C (getLayout): fix return value
13755 * paragraph.h: do not declare getLayout as inline.
13757 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13759 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13761 * lyxcursor.h (operator<): new func
13762 (operator>): new func
13763 (operator>=): new func
13764 (operator<=): new func
13766 * text.C (changeCase): use selection.start and selection.end
13767 (changeRegionCase): require from to be <= to. Require par to be a
13770 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13772 2001-06-27 Juergen Vigna <jug@sad.it>
13774 * text.C (cursorLeftOneWord): changed to return the cursor and added
13775 overlay with BufferView * parameter which calls this one.
13777 (selectWord): use new getWord function.
13778 (changeCase): renamed from changeWordCase as and extended to work
13779 also on selections.
13781 * lyxtext.h: added enum word_location
13783 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13784 changeCase as this operates now also on selections.
13786 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13788 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13790 * many files: send debug output to Debug::INFO instead of
13793 * converter.C (View):
13795 (Move): send debug output to Debug::FILES instead of console.
13797 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13799 * lyxfunc.C (getStatus): use func_status
13801 * func_status.h: new header, describing the results of
13802 LyXFunc::getStatus;
13804 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13807 2001-06-25 The LyX Project <jug@sad.it>
13809 * buffer.C (sgmlOpenTag):
13811 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13813 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13815 * text2.C: remove some dead code
13817 * tabular.C (GetCellInset): store the last cell checked (gotten)
13819 * tabular.h: add the helper for the speedup
13821 * lyxtext.h: remove some dead code
13823 2001-06-26 The LyX Project <Asger>
13825 * paragraph.C: Change export to LaTeX of alignment to
13826 \begin{center} and family for better roundtrip work with reLyX.
13828 * Tune the math drawing a bit.
13830 2001-06-25 The LyX Project <Asger>
13832 * LColor.C (LColor): New color for math background. New color
13835 2001-06-25 The LyX Project <jug@sad.it>
13837 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13839 * lyxfunc.C (Open):
13840 * bufferlist.C (newFile): do not restrict to files ending with
13843 * BufferView_pimpl.C (MenuInsertLyXFile):
13845 2001-06-24 The LyX Project <jug@sad.it>
13847 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13850 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13852 * lyxtext.h: rename most methods to begin with a small char.
13853 Lots of changes because of this.
13855 * paragraph.C (Paragraph): do not call fitToSize
13856 (erase): call Pimpl::erase
13857 (insertChar): call Pimpl::insertChar
13858 (insertInset): call Pipl::insertInset
13859 (breakParagraph): do not call fitToSize
13860 (breakParagraphConservative): do not call fitToSize
13861 (fitToSize): remove method
13863 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13865 2001-06-24 The LyX Project <Asger>
13867 * Fix Qt compilation^2
13869 2001-06-24 The LyX Project <jug@sad.it>
13871 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13872 depthHook(getDepth()-1).
13875 * ParagraphParameters.h:
13876 * ParameterStruct.h: change type of depth to unsigned int ==
13877 depth_type. Many adaptations to other files before of that.
13879 2001-06-24 The LyX Project <Asger>
13881 * Fix Qt compilation.
13883 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13885 * paragraph.h: renamed several methods to begin with small letter.
13886 several changes to many parts of the code because of this.
13888 2001-06-23 The LyX Project <jug@sad.it>
13890 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13891 rewritten to discard all double spaces when KeepEmpty is off
13892 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13893 to only handle newlines but not fiddle with spaces and friends.
13895 * lyxfunc.C (MenuNew): when doing 'new from template', use
13896 template_path as default directory
13898 2001-06-23 The LyX Project <Asger>
13900 * Clean-up of header file includes all over
13901 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13903 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13905 * paragraph.h: renamed from lyxparagraph.h
13907 2001-06-23 Asger <lyx@violet.home.sad.it>
13909 * Buffer.h: Removed Buffer::resize
13910 * BufferList.h: Removed BufferList::resize
13911 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13912 the document lazily when we change the width, or the font settings.
13914 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13916 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13918 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13920 * buffer.h: remove out of date comment
13922 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13925 * screen.C: fix "theoretical" GC leak
13927 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13929 * LaTeX.C (scanAuxFile):
13930 (deplog): remove trailing \r when reading stream (useful under
13933 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13935 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13936 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13937 and BufferView::theLockingInset(Inset*), so should use them and not
13938 access bv_->text->the_locking_inset directly.
13940 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13942 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13945 * tex-defs.h: remove old unused file
13947 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13949 * BufferView_pimpl.C: fix typo, remove minibuffer message
13950 when buffer has loaded
13952 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13954 * lyxfunc.C (Dispatch): use stringstream
13955 (MenuNew): use stringstream
13956 (Open): use stringstream
13958 * importer.C (Import): use stringstream
13960 * bufferview_funcs.C (CurrentState): use stringstream
13962 * LaTeX.C (run): use stringstream
13964 * BufferView_pimpl.C (savePosition): use stringstream
13965 (restorePosition): use stringstream
13966 (MenuInsertLyXFile): use stringstream
13968 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13981 * vspace.C: removed // -*- C++ -*- as first line.
13984 * version.h: added // -*- C++ -*- as first line.
13986 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13988 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13990 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13993 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13995 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13998 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14000 * gettext.C: include LString.h even when --disable-nls is on.
14002 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14004 * converter.h (Get): changed argument type from int to
14005 FormatList::size_type to avoid unnecessary conversion.
14007 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14010 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14012 * gettext.h: include LString.h even when --disable-nls is on.
14014 2001-06-07 Juergen Vigna <jug@sad.it>
14016 * text.C (BreakAgain): subst spaces with tabs.
14018 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14019 (resizeInsetsLyXText): set force on resizeLyXText.
14021 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14023 * gettext.h (gettext_init):
14024 (locale_init): use a real definition instead of a macro
14026 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14028 * Bufferview_pimpl.C:
14030 * LColor.C: further lcolor tidies
14032 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14034 * BufferView_pimpl.C (updateScrollbar): simplify.
14036 * BufferView2.C: don't include insets/insetinfo.h, change
14037 prototype for insertInset and call the Pimpl version. let
14038 updateInset call Pimpl version.
14040 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14041 gotoInset to BufferView::Pimpl
14043 2001-06-01 Juergen Vigna <jug@sad.it>
14045 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14046 inside a LockingInset (is the update needed at all?).
14048 2001-05-31 Juergen Vigna <jug@sad.it>
14050 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14051 here not the old one otherwise how should we compare it afterwards
14054 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14059 * FontInfo.C: bring C functions into global namespace when
14062 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14064 * LString.h: make sure config.h has been loaded before LString.h.
14066 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14067 (one for each char read by EatLine!).
14069 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14072 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14074 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14075 to the same as the par we break from
14077 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14079 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14081 * MenuBackend.C (expand): also create menu entries for wide
14082 versions of the floats.
14084 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14086 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14088 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14089 frontends/Makefile.am
14095 * tabular.C (getTokenValue): add std::
14097 * tabular-old.C (getTokenValue): add std::
14098 (getTokenValue): ditto
14099 (getTokenValue): ditto
14101 * screen.C (ToggleSelection): adjust
14103 * lyxtext.h: put selection cursors inside a Selection struct.
14105 * lyxfunc.C (moveCursorUpdate): adjust
14107 * lyxfont.C (latexWriteStartChanges): add std::
14109 * lyxfind.C: adjust
14111 * font.h: delete with(char const *, LyXFont const &)
14113 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14115 * FontInfo.C (getFontname): add std::
14117 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14118 (workAreaButtonPress): adjust
14119 (tripleClick): adjust
14121 (moveCursorUpdate): adjust
14124 * BufferView2.C (gotoInset): adjust
14126 2001-05-30 Juergen Vigna <jug@sad.it>
14128 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14129 to check pspell I add this as default as I now have new pspell
14130 libraries and they seem to use this.
14132 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14134 * text2.C (CutSelection): make the cursor valid before the call to
14137 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14139 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14140 relied on 0 terminated strings and other horrors. Bug found due to
14141 the new assert in lyxstring!
14143 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14146 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14148 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14151 * lyxfunc.C (processKeySym): change method of getting to the
14154 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14155 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14156 * BufferView_pimpl.[Ch]: here as private methods.
14158 2001-05-28 Juergen Vigna <jug@sad.it>
14160 * text.C (SetHeightOfRow): added the update() call again as it is
14161 needed to initialize inset dimensions!
14163 2001-05-16 Juergen Vigna <jug@sad.it>
14165 * text2.C (SetCharFont): Add new function with BufferView * and
14166 bool toggleall parameters for setting insets internal fonts.
14167 (SetFont): Freeze the undo as we may change fonts in Insets and
14168 all this change should be inside only one Undo!
14170 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14171 setting font's in insets as for them we have the SetFont function!
14173 2001-05-15 Juergen Vigna <jug@sad.it>
14175 * text2.C (ClearSelection): to be sure we REALLY don't have any
14178 * tabular.C (TeXCellPreamble): fixed the left border problem for
14181 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14183 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14186 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14188 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14189 LFUN_BREAKPARAGRAPH.
14191 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14192 help test to "internal only", similar for LFUN_INSERT_URL
14194 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14195 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14196 auto_region_delete and deadkeys.
14198 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14201 * LColor.C: remove some dead entries, tidy a little
14203 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14205 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14207 (Dispatch): implement LFUN_ESCAPE
14209 * commandtags.h: add LFUN_ESCAPE
14211 * LyXAction.C (init): add entry for LFUN_ESCAPE
14213 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14214 Remove commented code.
14215 (insertNote): moved here
14216 (open_new_inset): moved here
14218 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14221 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14223 * kbmap.C (findbinding): clean it up and make it work correctly.
14225 * lyx_main.C (init): do not pass argc and argv as parameters
14227 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14229 * buffer.C: fix path for OS/2 & Win32
14233 * lyx_main.C: Added os:: class.
14235 * os2_defines.h: update
14237 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14239 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14240 better by trying again with reduced state.
14242 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14244 * lyxrc.C (read): print error about invalid key sequence only when
14245 debugging (because not all latinX keysyms are known to some X
14248 * kbsequence.C (getiso): add a few std:: qualifiers
14249 (getiso): comment out extra return statement.
14251 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14253 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14255 (Dispatch): enhance the accent inset a bit. (not perfect)
14257 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14259 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14261 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14263 * bufferlist.C (emergencyWrite): fix assert() call
14265 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14267 * text.C (InsertChar): Added trivial patch to only send the "you
14268 can not do multiple spaces this way" message once during a
14271 2001-05-08 Baruch Even <baruch@lyx.org>
14273 * Makefile.am: Changed order of libraries to get LyX to link properly
14274 with the gnome frontend.
14276 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14278 * LaTeXFeatures.h: add a std:: qualifier
14280 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14282 * paragraph.C (String): use stringstream
14284 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14286 * paragraph.C (writeFile): remove footflag arg
14288 * buffer.C (makeLaTeXFile): use stringstream
14289 (latexParagraphs): remove footnot gurba
14291 * LaTeXFeatures.C (getPackages): use stringstream
14292 (getMacros): likewise
14293 (getTClassPreamble): likewise
14294 (getFloatDefinitions): new method
14296 * paragraph.C (writeFile): reindent
14299 * WorkArea.h: revert the xpos + etc changes.
14301 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14303 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14305 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14306 (pasteSelection): likewise
14307 * text2.C (CreateUndo): likewise
14309 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14311 * minibuffer.C (peek_event): temporarily reduce the functionality
14312 of the minibuffer (to allow args on lfuns)
14314 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14315 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14317 * buffer.C (readInset): add compability reading of old float
14318 lists, add reading of new style float list.
14319 (readInset): avoid reevaluation of inscmd.getCmdName()
14320 (getLists): reindent
14322 * MenuBackend.C (MenuItem): implement parsing of
14323 md_floatlistinsert and md_floatinsert.
14324 (expand::LastFiles): move initalizaton of iterators out of loop,
14325 avoid reevaluation.
14326 (expand::Documents): introduce typdedef vector<string> Strings,
14328 (expand::ExportFormats): introduce typedef vector<Format const *>
14329 Formats, and use it.
14330 (expand): implement FloatListInsert and FloatInsert.
14332 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14333 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14334 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14336 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14338 (Dispatch::LFUN_FLOAT_LIST): implement
14340 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14342 * LaTeX.C (run): Fix problem with --export code.
14344 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14346 * BufferView.[Ch] (workarea): removed.
14347 (getClipboard) new method; wrapper for workarea()->getClipboard()
14349 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14352 * WorkArea.h (width, height, xpos, ypos): These methods all
14353 returned the dimensions of the work_area sub-area of WorkArea,
14354 resulting in a position error if the WorkArea were resized. Now
14355 return the dimensions of the entire WorkArea.
14357 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14359 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14361 * LaTeX.C (deplog): correct the syntax of regex reg1
14363 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14365 * undo.C: remove !NEW_INSETS cruft
14367 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14369 * text2.C: remove !NEW_INSETS cruft
14371 * text.C: remove !NEW_INSETS cruft
14373 * tabular.C: remove !NEW_INSETS cruft
14375 * spellchecker.C: remove !NEW_INSETS cruft
14377 * lyxtext.h: remove !NEW_INSETS cruft
14379 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14381 * lyxfunc.C: remove !NEW_INSETS cruft
14383 * lyxfind.C: remove !NEW_INSETS cruft
14385 * lyx_cb.C: remove !NEW_INSETS cruft
14387 * figureForm.C: remove !NEW_INSETS cruft
14389 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14391 * buffer.[Ch]: remove !NEW_INSETS cruft
14393 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14395 * CutAndPaste.C: remove !NEW_INSETS cruft
14397 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14399 * BufferView2.C: remove !NEW_INSETS cruft
14401 * BufferView.h: remove !NEW_INSETS cruft
14403 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14405 * Lsstream.h: include LString.h before the sstream headers to
14406 fix problem with gcc 2.95.3 and lyxstring
14408 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14410 * lyx_main.C: add using directives when needed for C functions
14411 declared in std:: namespace.
14413 2001-04-27 Juergen Vigna <jug@sad.it>
14415 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14416 (SetHeightOfRow): comment out the update call should not be needed!
14418 2001-04-13 Juergen Vigna <jug@sad.it>
14420 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14421 (LyXTabular): tried to minimize operator= operations (and realized
14422 hopfully Lars wish).
14424 2001-04-27 Juergen Vigna <jug@sad.it>
14426 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14428 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14430 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14432 * buffer.C (readInset): hack to make listof algorithm work
14434 * BufferView_pimpl.C: hack to make listof algorithm work
14436 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14438 * LyXAction.C: removed all !NEW_INSETS cruft
14439 (init): moved lfun_item in method
14441 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14443 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14445 * BufferView2.C (theLockingInset): white space.
14447 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14449 * minibuffer.C: include <iostream>
14451 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14453 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14455 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14457 * text.[Ch] (TransposeChars): new method
14459 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14461 * call message directly through LyXView instead of through LyXFunc
14462 * BufferView2.C: adjust
14463 * BufferView_pimpl.C: adjust
14464 * FontLoader.C: adjust
14466 * bufferview_funcs.C: adjust
14467 * converter.C: adjust
14468 * figureForm.C: adjust
14469 * importer.C: adjust
14471 * lyx_gui_misc.C: adjust
14472 * lyxfunc.C: adjust
14475 + more files in subdirs
14477 * lyxparagraph.h (size): move up int file
14480 * adjust all uses of Assert to lyx::Assert.
14482 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14483 lyxfunctional in namespace lyx
14484 * layout.C (hasLayout): ditto
14487 (delete_layout): ditto
14488 (NumberOfClass): ditto
14489 * converter.C (GetFormat): ditto
14494 * bufferlist.C (getFileNames): ditto
14495 (emergencyWriteAll): ditto
14498 * MenuBackend.C (hasSubmenu): ditto
14501 * BufferView_pimpl.C (getInsetByCode): ditto
14503 2001-04-18 Juergen Vigna <jug@sad.it>
14505 * vspace.C (asLatexString): fixed the 100% problem.
14507 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14509 * lyxfunc.C (Dispatch):
14511 * minibuffer.h: add a few std:: qualifiers
14513 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14515 * minibuffer.[Ch]: reimplement so that commands is initiated and
14516 run from lyxfunc, simplified som handling, and made the completion
14517 and history code for complete. wip.
14519 * lyxfunc.C (processKeySym): call message
14520 (miniDispatch): new temporary method
14521 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14522 (LFUN_MESSAGE): implement
14523 (LFUN_MESSAGE_PUSH): implement
14524 (LFUN_MESSAGE_POP): implement
14525 (initMiniBuffer): the initial/defualt minibuffer message.
14527 * lyxfont.[Ch]: inline some more getters
14529 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14531 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14533 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14534 (AutoSave): use LFUN_MESSAGE
14535 (Reconfigure): ditto
14537 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14539 * figureForm.C: use LFUN_MESSAGE
14541 * converter.C (runLaTeX): use LFUN_MESSAGE
14543 * bufferview_funcs.C: use LFUN_MESSAGE
14545 (changeDepth): ditto
14547 * bufferparams.h: use boost::
14549 * bufferlist.h: inherit privately from noncopyable
14551 * bufferlist.C (loadLyXFile): remove some commented code.
14553 * buffer.C (runChktex): use LFUN_MESSAGE
14555 * ShareContainer.h: inherit privately from noncopyable
14557 * ParagraphParameters.[hC] (depth): inline it.
14559 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14561 (message): new method
14562 (messagePush): ditto
14563 (messagePop): ditto
14564 (show): init minibuffer
14565 (showState): direct call
14567 * LaTeX.[Ch]: inherit privately from noncopyable
14568 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14569 instead of WriteStatus.
14571 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14573 * BufferView_pimpl.C (buffer): don't init minibuffer
14574 (workAreaButtonPress): use LFUN_MESSAGE
14575 (workAreaButtonRelease): ditto
14576 (savePosition): ditto
14577 (restorePosition): ditto
14578 (MenuInsertLyXFile): ditto
14579 (workAreaExpose): don't init minibuffer
14580 (update): remove commented code, simplify
14582 * BufferView2.C (openStuff): use LFUN_MESSAGE
14583 (toggleFloat): ditto
14586 (copyEnvironment): ditto
14587 (pasteEnvironment): ditto
14592 (updateInset): remove some commented code
14594 * lastfiles.h: inherit privately from noncopyable
14597 * lyx_main.h: ditto
14599 * lyxlex_pimpl.h: ditto
14601 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14602 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14603 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14605 * LyXAction.h: inherit privately from noncopyable, add methods
14606 func_begin, func_end, returning iterators to the func map.
14608 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14609 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14610 (func_begin): new method
14611 (func_end): new method
14613 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14615 (copySelection): ditto
14616 (pasteSelection): ditto
14618 * BufferView.C: whitespace change
14619 * BufferView.h: inherit privately from noncopyable
14621 2001-04-16 Allan Rae <rae@lyx.org>
14623 * tabular-old.C (l_getline):
14624 * spellchecker.C (sc_check_word):
14625 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14626 an unrecognised preprocessor directive. So ensure they're wrapped.
14628 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14630 * src/exporter.C (Export): Give an error message when path to file
14633 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14635 * LaTeX.C (deplog): Always check that foundfile exists.
14637 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14640 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14642 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14644 * tabular.[Ch] (getLabelList): implement new method
14646 * minibuffer.h: comment ouf setTiimer
14648 * minibuffer.C (ExecutingCB): constify res
14649 (peek_event): constify s
14650 (Set): constify ntext
14651 (Init): constify nicename
14653 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14655 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14656 (savePosition): use two params to Minibuffer::Set
14657 (restorePosition): ditto
14659 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14661 * lyx_main.C: include language.h
14663 * Makefile.am (lyx_main.o): add language.h
14665 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14671 * CutAndPaste.C: include gettext.h
14673 * lyxfont.h: remove old hack with ON and OFF.
14676 * lyxfont.h: do not include language.h...
14681 * bufferview_funcs.C:
14687 * paragraph.C: ... but do it here instead
14689 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14691 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14693 * tabular.C: small reformat
14695 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14698 (BreakParagraph): ditto
14699 (SetOnlyLayout): ditto
14702 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14705 * lastfiles.C: removed most using decl, add std:: where needed
14707 * buffer.C: ws changes
14709 * MenuBackend.C (class compare_format): put into anon namespace
14710 (expand): constify label, names, action, action2
14713 * text.C (SingleWidth): constify font
14714 (IsBoundary): constify rtl2
14715 (GetVisibleRow): constify ww
14717 * LaTeX.C (deplog): constify logfile
14719 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14721 (workAreaExpose): constify widthChange, heightChange
14723 * lyxrow.C (par): moved
14726 * lyxrow.h: as inlines here
14728 * lyxfont.h (shape): moved from lyxfont.C
14729 (emph): moved from lyxfont.C
14731 * lyxfont.C (LyXFont): use initialization list for all
14733 (shape): move to lyxfont.h as inline
14734 (emph): move to lyxfont.h as inline
14737 2001-04-04 Juergen Vigna <jug@sad.it>
14739 * vspace.C: had to include stdio.h for use of sscanf
14741 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14744 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14745 independent of xforms.
14747 2001-04-02 Juergen Vigna <jug@sad.it>
14749 * spellchecker.C: fixed namespace placing!
14751 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14753 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14754 the LyXParagraph * is 0.
14756 2001-03-29 Juergen Vigna <jug@sad.it>
14758 * vspace.C: added support for %, c%, p%, l%.
14759 (stringFromUnit): added helper function.
14760 (asLatexString): changed to give right results for the %-values.
14762 * buffer.C: convert the widthp in a width%.
14764 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14766 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14769 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14770 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14772 * lyx_cb.[Ch]: see above.
14774 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14778 * lyx.[Ch]: replaced by figure_form.[Ch].
14782 * lyxfunc.C: changed headers associated with above changes.
14784 2001-03-27 Juergen Vigna <jug@sad.it>
14786 * BufferView_pimpl.C: set the temporary cursor right!
14788 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14790 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14792 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14794 * LString.h: removed "using std::getline"!
14796 * BufferView_pimpl.C (Dispatch): changes due to changes in
14797 InsetInclude::Params.
14799 * buffer.C (tag_name): removed redundant break statements as they were
14800 producing lots of warnings with my compiler.
14802 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14804 * LString.h: add "using std::getline" when using the real <string>.
14806 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14808 * buffer.C: removed bitset usage.
14809 PAR_TAG moved to an anonymous name space.
14810 (tag_name): new funtion, also in the anonymous namespace.
14811 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14812 (makeDocBookFile): clean code. Completed transition from string arrays
14814 (SimpleDocBookOnePar): code clean.
14816 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14818 * tabular.C: add some comments.
14820 2001-03-22 Juergen Vigna <jug@sad.it>
14822 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14823 compatibility read a bit and fixed bug with minipage in different
14826 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14828 * buffer.C (pop_tag): removed.
14829 (push_tag): removed.
14830 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14831 array replaced with vector. Added support for CDATA sections.
14832 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14834 (makeDocBookFile): XML conformant declaration of CDATA section,
14835 fixed bug related to <emphasis> in the first paragraph char.
14836 (sgmlOpenTag): exclude empty tags.
14837 (sgmlCloseTag): ditto.
14839 * buffer.h (pop_tag): removed.
14840 (push_tag): removed.
14842 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14844 * language.h (Languages): added size_type and size().
14846 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14848 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14849 response on compability reading of minipages. One probliem is that
14850 the old usage of minipages was «flertydig»
14852 * several files here and in subdirs: don't use static at file
14853 scope use anon namespaces instead.
14855 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14857 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14858 LaTeX output. This is necessary for Literate document
14861 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14863 * buffer.C: insert hfill when needed.
14865 * tabular.C (l_getline): use string::erase, small whitespace change.
14867 * BufferView_pimpl.C: try the anon namespace.
14868 * WorkArea.C: ditto
14870 2001-03-16 Juergen Vigna <jug@sad.it>
14872 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14873 otherwise it won't open options-dialogs.
14875 * buffer.C: honor pextraWidth(p) on converting minipages.
14877 * tabular.C (l_getline): changed the functions to strip trailing \r.
14879 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14881 * BufferView_pimpl.C:
14882 * minibuffer..C: added "using SigC::slot" declaration.
14884 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14886 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14892 * paragraph.C: ditto
14894 * lyxtext.h: NO_PEXTRA
14896 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14898 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14899 * ParameterStruct.h: ditto
14900 * ParagraphParameters.h: ditto
14901 * lyxparagraph.h: ditto
14903 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14905 * buffer.C: add compability for minipage alignment.
14906 (latexParagraphs): remove unwanted pextra check.
14908 * several files: remove CXX_WORKING_NAMESPACES
14910 * buffer.C (pop_tag): tie is in namespace boost
14912 * BufferView.h: noncopyable is in namespace boost
14914 * lyx_main.h: ditto
14917 * lastfiles.h: ditto
14918 * bufferlist.h: ditto
14919 * ShareContainer.h: ditto
14921 * LyXAction.h: ditto
14924 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14926 * Merging changes from BRANCH_MVC back into HEAD.
14928 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14930 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14932 * BufferView_pimpl.C: change from intl.C
14936 * Makefile.am: move combox.*
14942 * intl.C: remove dialog (covered by prefs)
14944 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14946 * lyxfunc.C (Dispatch): removed redundant break statement.
14948 2001-03-14 Juergen Vigna <jug@sad.it>
14950 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14952 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14954 * buffer.C: add hack to fix compability reading of minipages.
14956 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14958 * buffer.C (getLists): Cleanup.
14960 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14962 * lyxfont.C (update): don't honor toggleall on font size.
14964 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14968 * Makefile.am: moved to frontends/xforms/
14972 * BufferView_pimpl.C: changes for moved mathpanel
14974 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14976 * gettext.h: fix gettext_init() in --disable-nls
14978 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14980 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14982 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14985 * lyx.h: strip external form
14987 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14989 * BufferView_pimpl.C: add comment, destroySplash()
14991 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14993 * BufferView_pimpl.C:
14997 * lyxfunc.C: use re-worked insetinclude
14999 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15001 * buffer.C: add using std::stringstream.
15003 * lyx_cb.C: readd using std::ios.
15005 * buffer.C: add using std::map.
15007 * BufferView_pimpl.C: add using std::vector.
15009 * ShareContainer.h: add std:: to swap.
15011 * buffer.h: add some typedefs
15012 * buffer.C (getLists): use them
15013 (getLists): renamed from getTocList.
15014 add a counter for the different float types and use it in the
15016 (getLists): use the same counter for the NEW_INSETS and the "non"
15019 * lyx_cb.h: remove unused items, includes, using etc.
15021 * ShareContainer.h: remove some commented code, add more comments
15022 and "documentation".
15024 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15026 * buffer.C (getTocList): make the list also when NEW_INSETS is
15029 * buffer.h: remove TocType
15031 * buffer.C (getTocList): change to return a map<string,
15032 vector<TocItem> >, implement for dynamic number of list.
15034 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15035 * text2.C (PasteSelection): adjust
15036 * CutAndPaste.C (pasteSelection): adjust
15038 * FloatList.C (FloatList): update from the new_insets branch.
15039 * Floating.[Ch]: ditto
15040 * LaTeXFeatures.C: ditto
15042 * lyxlex_pimpl.C: ditto
15044 * paragraph.C (Last): remove when NEW_INSETS is defined.
15046 * other file: changes because of the above.
15048 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15050 * lyxparagraph.h: rename next to next_, previous to previous_,
15051 make them private for NEW_INSETS. Rename Next() to next(),
15052 Previous() to previous().
15054 * other files: changes because of the above.
15056 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15059 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15062 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15064 * main.C (main): pass lyx_localedir to gettext_init().
15066 * gettext.h: remove locale_init and gettext_init macros
15068 * gettext.C (locale_init): new function
15069 (gettext_init): new function
15071 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15074 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15076 * Moved credits to frontends:
15077 * credits.[Ch]: removed
15078 * credits_form.[Ch]: removed
15079 * lyx_gui_misc.C: remove credits stuff
15082 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15084 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15086 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15087 unneeded destructor.
15089 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15090 a standalone pointer again.
15092 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15094 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15100 * ToolbarDefaults.C:
15109 * BufferView_pimpl.C: use new file dialog in GUII
15112 * lyx_cb.C: remove LayoutsCB to Toolbar
15114 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15116 * ShareContainer.h (get): add std:: qualifier
15118 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15120 * ShareContainer.h: define a proper ShareContainer::value_type
15121 type (and use typename to please compaq cxx)
15123 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15125 * lyxparagraph.h: move serveral local vars to
15126 ParameterStruct/ParagraphParameters., use ShareContainer in
15127 FontTable., make vars in FontTable private and add getter and
15130 * paragraph.C: changes because of the above.
15132 * lyxfont.h: remove copy constructor and copy assignment. (the
15133 default ones is ok), move number inside FontBits. move inlines to
15136 * lyxfont.C: add number to initializaton of statics, move several
15137 inlines here. constify several local vars. some whitespace
15138 cleanup. Dont hide outerscope variables.
15140 * Spacing.h: add two new constructors to match the set methods.
15142 * ShareContainer.h: new file, will perhaps be moved to support
15144 * ParameterStruct.h: new file
15146 * ParagraphParameters.h: new file
15148 * ParagraphParameters.C: new file
15150 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15151 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15153 * BufferView_pimpl.C: ParagraphParameter changes.
15154 * buffer.C: Likewise.
15155 * bufferview_funcs.C: Likewise.
15156 * text.C: Likewise.
15157 * text2.C: Likewise.
15159 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15161 * lyxfind.C (LyXReplace): do not redefine default argument in
15163 (IsStringInText): ditto
15164 (SearchForward): ditto
15165 (SearchBackward): ditto
15167 2001-03-06 Juergen Vigna <jug@sad.it>
15169 * lyxfind.C (IsStringInText): put parentes around expressions.
15171 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15173 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15175 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15177 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15179 * stl_string_fwd.h: add comment
15181 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15184 * tabular.C: remove unused DocBook methods
15190 killed DO_USE_DEFAULT_LANGUAGE
15192 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15194 * lyx_gui.C: do not include language.h.
15196 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15197 arguments in function implementation.
15199 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15201 * BufferView_pimpl.C: add <ctime>
15203 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15205 * BufferView_pimpl.C: add using std::find_if
15207 2001-02-27 José Matos <jamatos@fep.up.pt>
15209 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15212 2001-02-11 José Matos <jamatos@fep.up.pt>
15214 * buffer.C (makeDocBookFile): command styles now have a parameter as
15215 "title" by default.
15217 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15219 * layout_forms.[Ch]: removed
15220 * lyx_cb.[Ch]: out character
15221 * lyx_gui.C: out character
15222 * lyx_gui_misc.C: out character
15223 * bufferview_funcs.C: : out character,
15224 added toggleall as parameter in ToggleAndShow
15226 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15228 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15230 * text2.C (SetCurrentFont): Disable number property at boundary.
15232 2001-02-26 Juergen Vigna <jug@sad.it>
15234 * lyxfunc.C (getStatus): added a string argument override function so
15235 that this is correctly called from LyXFunc::Dispatch if it contains a
15236 do_not_use_argument which is used!
15237 (Dispatch): added check for "custom" export and call appropriate func.
15239 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15241 * lyxrc.C: Add language_command_local, language_use_babel and
15242 language_global_options.
15244 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15246 * buffer.C (makeLaTeXFile): Use language_use_babel and
15247 language_global_options.
15249 2001-02-23 Juergen Vigna <jug@sad.it>
15251 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15252 which works with LyXText and putted it inside BufferView. Here now we
15253 only call for that part the BufferView::Dispatch() function.
15255 * BufferView.C (Dispatch): added.
15257 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15258 functions which needs to use a LyXText over from LyXFunc.
15259 (MenuInsertLyXFile): added
15260 (getInsetByCode): added
15261 (moveCursorUpdate): added
15262 (static TEXT): added
15264 2001-02-22 Juergen Vigna <jug@sad.it>
15266 * BufferView_pimpl.C (update): call a status update to see if LyXText
15269 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15271 * vc-backend.C (revert): implement for CVS
15272 (getLog): implement for CVS
15274 2001-02-20 Juergen Vigna <jug@sad.it>
15276 * text2.C (ClearSelection): added BufferView param for inset_owner call
15278 * lyxfunc.C (TEXT): added this function and use it instead of
15279 directly owner->view()-text of getLyXText().
15281 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15283 * src/layout_forms.C: out preamble
15284 * src/layout_forms.h: out preamble
15285 * src/lyx_cb.C: out preamble
15286 * src/lyx_cb.h: out preamble
15287 * src/lyx_gui.C: out preamble
15288 * src/lyx_gui_misc.C: out preamble
15289 * src/lyxfunc.C: connect with guii preamble
15291 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15293 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15295 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15297 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15298 whether to run bibtex.
15300 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15302 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15304 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15306 * Makefile.am (lyx_SOURCES): removed bibforms.h
15308 * vspace.h: doxygen
15310 * text.C (GetVisibleRow): make several local vars const
15312 * tabular.C: small cleanup.
15314 * lyxserver.C (callback): use compare instead of strncmp
15316 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15317 inlines to after class or to paragraph.C
15319 * lyxfont.h: remove friend operator!=
15321 * converter.h: move friend bool operator< to non friend and after
15324 * combox.h: small cleanup
15326 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15327 to inlines after class def.
15329 * buffer.C (pop_tag): use string operations instead of strcmp
15331 * bmtable.c: doxygen, small cleanup
15333 * LaTeX.h: remove friend operator==
15335 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15347 * BufferView_pimpl.C:
15348 * BufferView.[Ch]: remove cruft
15350 2001-02-14 Juergen Vigna <jug@sad.it>
15352 * lyxfunc.C: removed #if 0 unused code
15354 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15356 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15358 * text2.C (SetSelection): added a BufferView * parameter
15360 2001-02-13 Juergen Vigna <jug@sad.it>
15362 * lyxfunc.C (Dispatch): fixed protected blank problem.
15363 * BufferView2.C (protectedBlank): added LyxText * parameter.
15365 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15366 (AppendColumn): same as above for column_info.
15368 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15369 (moveCursorUpdate): use a LyXText param for support of InsetText.
15371 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15372 (tripleClick): ditto
15374 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15376 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15378 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15380 * text2.C (SetSelection): set correct update status if inset_owner
15381 (ToggleFree): ditto
15383 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15385 * tabular.C: remove some commented code.
15387 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15389 * BufferView_pimpl.C: call hideSplash()
15391 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15394 * bibforms.h: remove
15397 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15398 add LFUN_CHILD_CREATE
15400 * counters.h: fix tiny typo
15405 * lyx.C: move splash to frontends/xforms/
15407 * lyx_gui_misc.C: move Include and Bibform to frontends
15409 * lyxvc.h: clarify comment
15411 * vspace.C: tiny housekeeping
15413 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15415 * text.C (PrepareToPrint): RTL Fix.
15417 * paragraph.C (GetUChar): New method.
15418 (String): Use GetUChar.
15420 * buffer.C (asciiParagraph): Use GetUChar.
15422 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15424 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15426 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15429 * buffer.C: rename to getLogName(), handle
15430 build log / latex log nicely
15432 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15435 * MenuBackend.h: remove support for reference menuitem type.
15437 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15439 * BufferView_pimpl.C: housekeeping
15440 * BufferView_pimpl.h:
15445 * minibuffer.h: move Timeout GUI-I
15447 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15449 * lyxrc.C (read): Update converters data-structures.
15451 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15453 * LaTeX.h (operator!=): add operator != for Aux_Info
15455 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15457 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15459 * LaTeXLog.C: deleted, useful code moved to Buffer
15462 * buffer.C: new function getLatexLogName()
15468 * lyxfunc.C: use frontends for LaTeX and VC logs
15470 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15472 * LaTeX.h: yet another std:: that Allan forgot.
15474 * Variables.C (set): renamed from isset(), because this clashes
15475 with some HP-UX macros (grr).
15477 2001-02-06 Allan Rae <rae@lyx.org>
15479 * LaTeX.h: Another bug fix. Missing std:: this time.
15481 2001-02-04 Allan Rae <rae@lyx.org>
15483 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15484 floats problem. I've left it commented out because it's not quite
15485 correct. It should also test that the current object is a table or
15486 figure inset. But I haven't gotten around to figuring out how to do
15487 that. I *think* it'll be something like: "table" == inset.type()
15489 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15492 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15494 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15495 all the citation/databases/styles in the auxilary file.
15496 (run): Rerun latex if there was a babel language error.
15498 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15500 * text.C (Backspace): Preserve the font when changing newline char
15502 (BreakParagraph): If the cursor is before a space, delete the space.
15504 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15506 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15508 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15509 new argument (code).
15510 (ChangeCitationsIfUnique): New method.
15512 * paragraph.C (GetPositionOfInset): Handle bibkey.
15514 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15516 * BufferView_pimpl.h: change type of Position::par_pos to
15517 LyXParagraph::size_type.
15519 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15521 * BufferView_pimpl.C (savePosition, restorePosition): Write
15522 messages to minibuffer.
15524 2001-01-28 José Matos <jamatos@fep.up.pt>
15526 * buffer.C (makeDocBookFile): adds support for document language.
15527 A silly restriction on the name of LatexCommand types where removed.
15528 Added support for CDATA sections, allows to chars unescaped, used
15529 among others in code, to avoid escape < and >.
15531 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15533 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15534 saved positions instrad of a stack. Furthermore, a position is
15535 stored using paragraph id/paragraph position.
15537 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15538 Remove LFUN_REF_BACK.
15540 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15542 * converter.C (dvipdfm_options): New method.
15544 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15546 * vspace.C (isValidLength): Fix for empty input string.
15548 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15550 * LyXAction.C (init): change description of LFUN_FIGURE to
15553 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15555 * LaTeX.C: add using directive
15557 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15559 * MenuBackend.C (expand): Fix the sorting of the formats.
15561 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15563 * lyx_main.C: tiny error message fix
15565 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15567 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15568 calling fl_initialize(). This fixes the problem with ',' as
15569 decimal separator in text files.
15571 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15573 * trans.C (process): Fix the keymap bug.
15575 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15577 * LaTeX.C (scanAuxFiles): New method. Provides support for
15578 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15579 (scanLogFile) Scan for "run BibTeX" messages.
15581 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15582 OT1 font encoding. Also, load the aecompl package if the ae
15585 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15587 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15589 * texrow.C (increasePos): turn two error messages into debug
15592 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15594 * LaTeX.C (scanAux): Handle the \@input macro.
15595 (runBibTeX): Use scanAux().
15597 * language.C (latex_options_): New field.
15599 * LaTeXFeatures.C (getMacros): Add language macros.
15601 * buffer.C (makeLaTeXFile): Small fix.
15603 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15605 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15607 * text2.C: add a using directive.
15609 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15614 * lyxfunc.C: kill LyXBell.
15616 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15618 * text.C (IsBoundary): Remove the error message
15620 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15622 * lyxrc.C (setDefaults): Correct initialization value for
15625 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15627 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15630 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15631 and GotoNextNote().
15633 * src/LyXAction.C: Added reference-next.
15635 * text.C (InsertChar): Use contains instead of strchr.
15637 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15639 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15641 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15642 alignment commands (when needed).
15644 * text.C (InsertChar): Add ':' to number separator chars.