1 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * kbmap.C (findbindings): a couple of new methods. returns a
4 container of kb_sequence objects. The real work is done by the
5 private recursive version
6 (printbindings): uses findbindings to print out a bracketed list
7 of bindings (renamed from findbinding).
9 * MenuBackend.C (binding): use kb_keymap::findbindings
11 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
13 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
15 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
17 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
19 * paragraph.C (isWord): return true on insets that report
22 * text.C (getWord): use Paragraph::isWord to decide what is in a
23 word and what is not; fix bug 1609.
25 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
27 * tex-strings.C: add "none" to string_paperpackages[], fixes
28 off-by-one-error in the paperpackage selection.
31 * tex-strings.[Ch]: char const * string[n]
32 -> char const * const string[]
34 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
36 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
37 command, return early.
39 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
41 * debug.h: add DEBUG to enum and fix size of ANY.
43 * debug.C: add support for Debug::DEBUG
44 (showTags): cast errorTags.level to unsigned int
46 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
47 (redoCurrentBuffer): ditto
48 (updateScrollbar): ditto
49 * cursor.C (dispatch): ditto
50 * text2.C (setLayout): ditto
52 (updateCounters): ditto
54 (deleteEmptyParagraphMechanism): ditto
56 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
58 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
59 annotations to cleanup the Makefile slightly.
61 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
63 * lyxrc.C: do not set user_email to a default value but use empty
64 instead. The entry used to be translated, which does not work
65 since at the point where lyxrc is constructed there is no
66 translation service available
68 * messages.C (getLocaleDir): remove and use directly
69 lyx_localedir() instead
71 2004-06-02 Angus Leeming <leeming@lyx.org>
73 Fix crash caused by dereferencing null pointer 'exportdata' in
74 OutputParams by creating a new ExportData variable on the heap,
75 storing it in a boost::shared_ptr.
76 The crash was triggered when generating an Instant Preview
79 * Makefile.am: add outputparams.C
81 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
82 (c-tor): allocate memory to it.
84 * exporter.C (c-tor): associated changes.
86 2004-06-01 Angus Leeming <leeming@lyx.org>
88 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
89 contains data before calling isInset(0). (Bug 1513.)
91 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
93 * exporter.C (checkOverwrite): new method
94 * exporter.C (copyFile): new method
95 * exporter.C (Export): copy referenced files to the document dir
96 * exporter.[Ch]: new class ExportedFile
97 * exporter.[Ch]: new class ExportData. Contains currently the
98 names of referenced external files
99 * outputparams.h: add exportdata member.
101 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
103 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
106 2004-05-19 Angus Leeming <leeming@lyx.org>
111 * lyxfunc.C: small changes due to the introduction of namespace
112 lyx::frontend and the moving of namespace biblio to lyx::biblio.
114 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
116 * text3.C (dispatch): supress update when only moving the cursor
117 * cursor.C (selHandle): remove commented code
119 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
121 * paragraph.C (startTeXParParams): correct column count
122 * CutAndPaste.C (pasteSelection): remove const_cast
123 * output_docbook.C (docbookParagraphs): remove const_cast
124 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
125 const_cast and return ParagraphList::const_iterator
126 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
127 * output_plaintext.C (writeFileAscii): remove const_cast
128 * paragraph.[Ch] (simpleTeXOnePar): make const
129 * paragraph_funcs.C (outerPar): use const iterators
130 * paragraph_pimpl.C (validate): use const iterators
131 * text.C (setHeightOfRow): use const iterators
133 2004-05-17 Angus Leeming <leeming@lyx.org>
136 * LyXAction.C (init): new LFUN_INSET_REFRESH.
138 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
139 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
140 if the citation engine has changed.
142 2004-05-14 José Matos <jamatos@lyx.org>
144 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
145 if the textclass does not provide it. Have it different for sgml and
147 support the language of document.
148 * output_docbook.C (docbookParagraphs):
149 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
150 first anchor as the id of the paragraph, remove special case code.
151 * sgml.C (escapeChar): escape only < & >.
153 2004-05-14 Angus Leeming <leeming@lyx.org>
155 * bufferparams.h: move biblio::CiteEngine enum here to minimize
156 dependencies on src/frontends/controllers/biblio.h. Define a
157 CiteEngine_enum wrapper class to enable the enum to be forward
160 2004-05-12 Angus Leeming <leeming@lyx.org>
162 * buffer.C: up LYX_FORMAT to 234.
163 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
164 use_numerical_citations with a single biblio::CiteEngine cite_engine
166 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
168 2004-05-13 José Matos <jamatos@lyx.org>
171 * converter.C (Converter, readFlags): add xml member.
172 * outputparams.h: add XML flavor.
173 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
175 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
177 * lyxfunc.C (dispatch):
178 (getStatus): fix handling of LFUN_SEQUENCE
180 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
182 * debug.C (showLevel): do not forget the end-of-line marker
184 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
186 * kbmap.C (read): do not stop parsing a bind file when an error
189 2004-04-29 Angus Leeming <leeming@lyx.org>
194 * text2.C: wrap a bunch of #warning statements
195 inside #ifdef WITH_WARNINGS blocks.
197 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
199 * buffer.C: increment format to 233.
201 2004-04-28 Angus Leeming <leeming@lyx.org>
203 * BufferView_pimpl.C:
206 s/updateToolbar()/updateToolbars()/
207 s/Toolbar.h/Toolbars.h/
209 2004-04-28 Angus Leeming <leeming@lyx.org>
211 * BufferView.[Ch] (c-tor):
212 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
213 No longer passes these data to the WorkArea generator.
215 2004-04-28 Angus Leeming <leeming@lyx.org>
217 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
219 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
221 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
223 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
225 * output_latex.C (TeXEnvironment): make sure that there is a line
226 break before \end{foo} for the last paragraph of a document
227 (TeXOnePar): if the paragraph is at the end of the document (or
228 inset) and the language has to be reset, then make sure that the
229 line break is _before_ the language command, not after (fixes bug
230 1225); also make sure that the language reset command is the first
231 thing after the paragraph (to ensure proper nesting of
232 environments and thus fix bug 1404)
234 2004-04-21 John Levon <levon@movementarian.org>
237 * ToolbarBackend.C: make "name" be a programmatic name
238 and a gui_name field.
240 * lyxfunc.C: display the minibuffer on M-x
242 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
244 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
247 2004-04-19 Angus Leeming <leeming@lyx.org>
249 * BufferView_pimpl.C (setBuffer): changed preview interface.
251 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
254 2004-04-19 John Levon <levon@movementarian.org>
256 * BufferView_pimpl.C:
257 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
259 2004-04-05 Angus Leeming <leeming@lyx.org>
261 * text.C (redoParagraphs): add call to updateCounters(), thereby
262 fixing the missing "Figure #:" label from the caption of a
265 2004-04-13 Angus Leeming <leeming@lyx.org>
267 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
268 cursor is clicked out of an inset.
270 2004-04-13 Angus Leeming <leeming@lyx.org>
272 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
273 than an InsetOld one.
275 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
277 * format.[Ch]: add editor to Format
278 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
279 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
281 2004-04-08 André Pönitz <poenitz@gmx.net>
283 * metricsinfo.h: remove PainterInfo::width member
285 2004-04-08 Angus Leeming <leeming@lyx.org>
287 * lyx_sty.C (boldsymbol_def): modify so that it outputs
288 "\providecommand" rather than "\newcommand", thereby preventing
289 clashes with packages that define "\boldsymbol" themselves.
292 2004-04-08 Angus Leeming <leeming@lyx.org>
294 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
295 thereby squashing an unnecessary warning.
297 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
299 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
302 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
304 * BufferView.C (setCursor): call redoParagraph (some insets could
306 (putSelectionAt): remove the 'double update' trick
308 * BufferView_pimpl.C (fitCursor): call refreshPar
309 (workAreaDispatch): remove an uneeded update call
310 (dispatch): remove some manual update calls
312 * cursor.[Ch]: remove cached_y_, updatePos
313 (selHandle): set noUpdate when appropriate
315 * lyxfunc.C (dispatch): track if we need an update
317 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
319 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
320 (paintSelection): cheap optimization, do not call cursorX when not
322 (paintPars): change signature
325 (paintTextInset): adjust
329 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
331 * lengthcommon.C: compilation fix: remove explicit array size from
332 unit_name[] and friends
334 2004-04-05 Angus Leeming <leeming@lyx.org>
336 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
338 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
339 present only for the preferences dialog.
340 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
342 2004-04-05 Angus Leeming <leeming@lyx.org>
344 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
345 to enable the frontends to export changes to lyxrc correctly.
347 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
349 2004-04-07 André Pönitz <poenitz@gmx.net>
351 * cursor.[Ch] (selClear, adjust): remove math
353 * cursor_slice.C: more agressive assert
356 * BufferView_pimpl.C: rework mouse event dispatch
363 2004-04-05 André Pönitz <poenitz@gmx.net>
365 * cursor.[Ch] (valign, halign...): remove unneeded functions
367 2004-04-05 Angus Leeming <leeming@lyx.org>
369 * lyxlength.[Ch] (unit_name et al.): const-correct.
371 2004-04-05 Angus Leeming <leeming@lyx.org>
373 * BufferView_pimpl.C:
382 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
384 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
386 * text3.C (getStatus): add LFUN_BEGINNINGBUF
388 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
390 * lyxfind.C: add a couple of inTexted() tests + other small fixes
391 * BufferView_pimpl.[Ch] (getStatus)
392 * BufferView.[Ch] (getStatus): add
393 * lyxfunc.C (getStatus): move lfuns handled in
394 BufferView::dispatch to te function above
395 * Cursor.C (setSelection): set selection() = true
397 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
399 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
401 2004-03-31 Angus Leeming <leeming@lyx.org>
403 * lyxfunc.C (dispatch): Fall through to the generic
404 Dialogs::show("preamble").
406 2004-03-31 Angus Leeming <leeming@lyx.org>
408 * lyxfunc.C (dispatch): Fall through to the generic
409 Dialogs::show("spellchecker").
411 2004-03-31 Angus Leeming <leeming@lyx.org>
413 * lyxfunc.C (getStatus, dispatch): changed invocation of the
416 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
421 * insetiterator.[Ch]:
426 * undo.[Ch]: s/DocumentIterator/DocIterator/g
428 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
430 * BufferView.C (setCursor, putSelectionAt): call edit to open the
431 insets where we are putting the cursor.
433 2004-03-31 Angus Leeming <leeming@lyx.org>
436 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
438 * lyxrc.[Ch] (read, write): overloaded member functions taking
439 a std::[io]stream arguments.
441 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
443 2004-03-31 Angus Leeming <leeming@lyx.org>
445 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
446 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
448 * lyxtextclass.C (load): if the text class couldn't be loaded, then
449 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
451 2004-03-31 Angus Leeming <leeming@lyx.org>
453 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
454 the LFUN_ALL_INSETS_TOGGLE code.
456 2004-03-30 Angus Leeming <leeming@lyx.org>
458 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
459 has died. Fall through to the generic Dialogs::show("document").
461 2004-03-30 Angus Leeming <leeming@lyx.org>
464 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
465 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
467 * lyxfunc.C (getStatus, dispatch): define the actions for these
468 lfuns. Little more than a cut and pste job from ControlDocument.C
470 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
472 2004-03-30 Angus Leeming <leeming@lyx.org>
475 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
476 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
478 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
479 open/closed state of ollapsable insets. Usage:
481 all-inset-toggle <state> <name>, where
482 <state> == "open" || "closed" || "toggle" and
483 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
485 * lyxtext.h, text2.C (toggleInset): removed.
487 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
488 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
489 now passes LFUN_INSET_TOGGLE to the found inset.
491 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
492 is now invoked as "all-insets-toggle toggle branch".
494 2004-03-30 Angus Leeming <leeming@lyx.org>
498 * pariterator.[Ch]: added/corrected header blurb.
500 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
502 * dociterator.[Ch]: add an inset_ member
503 (backwardPos): implemented
504 (backwardPos, forwardPos): use inset_ when the stack is empty.
505 (doc_iterator_begin, doc_iterator_end): implemented
506 * pariterator.[Ch]: adjust, add begin, end
507 * insetiterator.[Ch]: adjust, add begin, end
511 * BufferView_pimpl.C:
512 * CutAndPaste.C: adjust
514 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
516 * buffer.C: increment file format to 232.
517 * LaTeXFeatures.C: add bibtopic package.
518 * bufferparams.[Ch]: param \use_bibtopic.
520 * lyxrc.[Ch]: add lyxrc bibtex_command
521 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
523 * buffer.C: increment file format to 231.
525 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
527 * dociterator.C: implement forwardPar
528 * iterators.[Ch]: remove, replaced by
529 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
531 * BufferView_pimpl.C:
534 * bufferview_funcs.C:
540 * Makefile.am: adjust
542 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
544 * CutAndPaste.C (pasteSelection): fix 2 crashes
545 (eraseSelection): fix a crash
546 * paragraph_funcs.C: remove a warning
548 2004-03-28 Angus Leeming <leeming@lyx.org>
551 * LyXAction.C (init): new LFUN_PRINT.
553 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
555 2004-03-27 Angus Leeming <leeming@lyx.org>
558 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
560 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
562 2004-03-27 Angus Leeming <leeming@lyx.org>
564 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
565 insetlist always contains non-null pointers to insets.
567 2004-03-26 Angus Leeming <leeming@lyx.org>
569 * src/BufferView_pimpl.C:
573 * src/output_plaintext.C:
574 * src/outputparams.h:
575 * src/paragraph_funcs.C:
579 * src/frontends/controllers/ControlErrorList.C:
580 * src/frontends/gtk/FileDialogPrivate.C:
581 * src/frontends/gtk/GPainter.C:
582 * src/frontends/gtk/GToolbar.C:
583 * src/frontends/qt2/QRef.C:
584 * src/mathed/math_scriptinset.C: squash compiler warnings.
586 2004-03-26 Angus Leeming <leeming@lyx.org>
588 * ispell.C (LaunchIspell::start):
589 * lyx_cb.C (AutoSaveBuffer::start):
590 invoke run(DontWait) rather than runNonBlocking().
592 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
594 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
596 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
598 * kbsequence.C (print): adjust
600 * kbmap.C (printKeySym): rename and change signature
601 (printKey): use LyXKeySym::print()
603 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
605 * undo.C: add using std::advance to compile for stlport
607 2004-03-24 Angus Leeming <leeming@lyx.org>
609 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
610 it leads to a crash when no buffer is present.
612 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
613 Martin Vermeer <martin.vermeer@hut.fi>
615 * lyxfunc.C (dispatch):
616 * bufferparams.C (readToken): use the new LColor::setColor
618 * LColor.[Ch] (setColor): new version that takes two strings as
619 argument and creates a new color entry if necessary
621 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
623 * buffer.C (makeLaTeXFile): if the main latex file that is
624 processed is usually a subdocument of some master, then pretend
625 for a while that it is actually the master
627 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
629 * buffer.C (getLabelList):
630 (getBibkeyList): use getMasterBuffer()
631 (getMasterBuffer): new method. Returns the main document in the
632 case where one is using included documents.
634 2004-03-25 André Pönitz <poenitz@gmx.net>
638 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
640 * ParagraphList_fwd.h: change ParagraphList to a std::vector
642 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
643 text*.C over here. Rename namespace CutAndPaste to lyx::cap
645 * ParameterStruct.h: merge with ParagraphParameters
647 * lyxtext.h: remove LyXText::parOffset() and getPar()
649 * text3.C: Remove all 'manual' update calls. We do now one per user
650 interaction which is completely sufficient.
654 * BufferView_pimpl.C:
657 * ParagraphParameters.[Ch]:
669 * output_docbook.[Ch]:
671 * output_linuxdoc.[Ch]:
672 * output_plaintext.[Ch]:
674 * paragraph_funcs.[Ch]:
675 * paragraph_pimpl.[Ch]:
683 * frontends/controllers/ControlDocument.C:
684 * frontends/controllers/ControlErrorList.C:
685 * frontends/controllers/ControlSpellchecker.C:
688 * insets/insetbase.h:
689 * insets/insetbibitem.C:
691 * insets/insetbranch.C:
692 * insets/insetcaption.C:
693 * insets/insetcharstyle.C:
694 * insets/insetcharstyle.h:
695 * insets/insetcollapsable.C:
696 * insets/insetcollapsable.h:
698 * insets/insetfloat.C:
699 * insets/insetfoot.C:
700 * insets/insetmarginal.C:
701 * insets/insetnote.C:
702 * insets/insetoptarg.C:
703 * insets/insettabular.C:
704 * insets/insettext.C:
705 * insets/insettext.h:
706 * insets/insetwrap.C:
707 * mathed/math_mboxinset.C:
708 * mathed/math_nestinset.C:
709 * mathed/math_scriptinset.C:
710 * mathed/math_scriptinset.h:
713 2004-03-24 Angus Leeming <leeming@lyx.org>
715 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
716 deal with any child processes that have finished but are waiting to
717 communicate this fact to the rest of LyX.
719 2004-03-24 Angus Leeming <leeming@lyx.org>
721 64-bit compile fixes.
723 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
724 (c-tor): pass lyx::pos_types rather than ints.
726 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
729 * text.C (Delete): compile fix.
730 (getPar): ensure that function declaration is the same as that in
733 2004-03-23 Angus Leeming <leeming@lyx.org>
735 * ispell.C (LaunchIspell):
736 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
737 a boost::shred_ptr rather than a std::auto_ptr.
739 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
741 * lyxfunc.C (getStatus): handle read-only buffers correctly;
742 handle LFUN_FILE_INSERT_*
744 * lyxrc.C (setDefaults, getDescription, output, read):
745 * lyxrc.h: remove ps_command
747 2004-03-22 Angus Leeming <leeming@lyx.org>
749 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
750 Ensure that error_handler is processed once only and that all data
751 is saved before attempting to output any warning messages.
753 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
755 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
757 * tabular.C (TeXRow): crash fix (from Kayvan and André)
759 2004-03-19 André Pönitz <poenitz@gmx.net>
761 * cursor.[Ch] (reset): take main text inset as argument
764 * BufferView_pimpl.C: adjust
766 * paragraph.[Ch]: fix completely broken operator=()
768 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
770 * LColor.C (getFromLyXName): make sure that the color name is used
773 2004-03-17 Angus Leeming <leeming@lyx.org>
776 * LyXAction.C (init): remove LFUN_FORKS_KILL.
778 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
779 dialog and to kill a forked process.
781 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
783 * text2.C (setCursorFromCoordinates): fix font problem
785 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
787 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
788 bogus "rebuild cursor" code
790 2004-03-11 André Pönitz <poenitz@gmx.net>
792 * buffer.[Ch]: use InsetText instead of LyXText as container for
795 * dociterator.[Ch]: drop the BufferView * member which is not needed
796 anymore after the change to buffer.C
802 * BufferView_pimpl.[Ch]:
804 * cursor_slice.[Ch]: adjust
806 * text3.C: fix bug in mathDispatch
808 2004-03-08 André Pönitz <poenitz@gmx.net>
810 * undo.[Ch]: use 'StableDocumentIterator' as base for
813 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
816 * bufferparams.[Ch]: add jurabib support and param.
818 * LaTeX.C: add FIXME/comment.
820 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
822 * buffer.C: increment file format to 230.
824 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
826 * cursor.C (dispatch): avoid infinite loops
828 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
830 * rowpainter.C (paintSelection): fix x coordinates
832 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
834 * text.C (rowBreakPoint): fix breaking before displayed insets
836 2004-03-01 André Pönitz <poenitz@gmx.net>
838 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
840 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
844 * BufferView_pimpl.C:
852 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
858 * BufferView_pimpl.C: rename textwidth -> maxwidth,
859 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
861 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
863 * Bidi.[Ch] (computeTables): const correctness
864 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
865 fill_hfill, fill_label_hfill and x from Row
866 * lyxtext.h: prepareToPrint returns a RowMetrics
867 * rowPainter.C: adjust
868 * text.C (prepareToPrint): use width, not textWidth. adjust
869 (redoParagraphInternal, cursorX): adjust
870 * text2.C (getColumnNearX): adjust
871 (init): put a default value to the top LyXText::width
873 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
875 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
877 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
879 * lyxtext.h: add FontIterator class
881 * text.C (FontIterator, operator*, operator->, operator++): add
882 (rowBreakPoint, setRowWidth): adjust (fixing a
885 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
887 * BufferView_pimpl.C (workAreaDispatch): allow also
888 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
890 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
892 * text.C (rowBreakPoint): fix a bug showing with very large insets
894 2004-02-25 André Pönitz <poenitz@gmx.net>
897 * cursor.[Ch]: move some mathed specific code to mathed
899 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
901 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
902 use_tempdir in preferences
903 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
905 * lyx_main.C: ensure that tempdir is valid
906 * lyxlex.h: correct typo
907 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
908 * paragraph.[Ch] (isMultiLingual): make const
909 * cursor.[Ch] (openable): make const
911 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
913 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
915 2004-02-20 André Pönitz <poenitz@gmx.net>
917 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
919 * cursor.[Ch]: prepare for localized getStatus()
925 * text3.C: streamlines the LyXText cursor movement handlers a bit.
927 2004-02-20 André Pönitz <poenitz@gmx.net>
929 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
931 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
933 * text2.C (setCursorFromCoordinates): switch to absolute coords
936 * text3.C (dispatch): adjust
938 2004-02-16 André Pönitz <poenitz@gmx.net>
940 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
943 * cursor_slice.[Ch]: remove unneeded acessor function
945 * lyxtext.h: rename rtl() to isRTL()
953 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
955 * rowpainter.C (paintSelection): coord fix
957 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
959 * Spacing.C: compile fix
961 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
963 * cursor.C (dispatch): restore current_ before returning
965 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
967 * text2.C (cursorUp, cursorDown): fix coords
970 2004-02-12 André Pönitz <poenitz@gmx.net>
975 * text3.C: add LCursor & parameter to most cursor movement functions
976 remove usage of LyXText::cursorRow() and cursorPar()
978 * cursor.[Ch]: add textRow() needed members
981 * BufferView_pimpl.C:
984 * BufferView_pimpl.C: adjust
986 2004-02-11 André Pönitz <poenitz@gmx.net>
990 * BufferView_pimpl.C: shift undo/redo handling
992 * cursor.[Ch]: fix mathed crash
995 * lyxtext.h: move selectionAsText to LCursor
1003 * rowpainter.C: fix excessive drawing
1005 2004-02-06 André Pönitz <poenitz@gmx.net>
1008 * BufferView_pimpl.[Ch]:
1009 * text3.C: move some text specific LFUN handling
1011 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1013 * text3.C (checkInsetHit): adjust coords
1014 * text2.C (getColumnNearX): adjust coords
1015 (edit): adjust coords
1016 * text.C (getRowNearY): add two asserts
1018 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1021 * format.C: add using std::distance to compile on gcc 2.95/stlport
1023 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1025 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1027 2004-02-04 André Pönitz <poenitz@gmx.net>
1029 * BufferView.[Ch] (insertInset):
1030 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1035 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1037 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1038 on the default clause of the switch
1039 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1040 wasn't catched by LCursor::dispatch
1042 2004-02-03 André Pönitz <poenitz@gmx.net>
1045 * cursor.[Ch]: some additional asserts
1047 * undo.[Ch]: remove LyXText dependency in interface
1051 * lyxtext.h (firstPar, lastPar): remove dead functions
1056 * paragraph.[Ch]: adjust
1058 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1060 * lyxfind.C (find): fix argument order in call to ::find
1062 2004-02-02 André Pönitz <poenitz@gmx.net>
1064 * cursor.[Ch]: remove direct access to anchor
1066 * text.C: remove findText() hack
1068 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1070 * iterators.[Ch] (lockPath): remove in favour of...
1071 * BufferView.[Ch] (setCursor): this addition
1072 * BufferView.C (putSelectionAt): adjust
1073 * undo.C (performUndoOrRedo): adjust
1074 * lyxfunc.C (dispatch): adjust
1076 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1078 * iterators.C (lockPath): add a missing slice
1079 * undo.C (performUndoOrRedo): remove redundant positioning code
1081 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1083 * vc-backend.C (scanMaster): ";" -> ';'
1085 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1087 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1088 std::binary_function
1090 * lyxtextclass.C (compare_name): rename to...
1091 (LayoutNamesEqual): ...this
1093 * lyxlex_pimpl.C (compare_tags): inherit from
1094 std::binary_function, put back into anon namespace
1096 * lyxfind.C (MatchString): inherig from std::binary_function
1097 (findChange): use empty() istead of !size()
1099 * format.C (FormatNamesEqual): new functor
1106 * converter.C (compare_Converter): rename to...
1107 (ConverterEqual): ...this, and fixup a bit.
1108 (getConverter): use it, and make function const
1109 (getNumber): use it, and make function const
1113 * bufferlist.C: add using boost::bind
1115 * MenuBackend.C (MenuNamesEqual): new functor
1116 (hasMenu): use it, and make function const
1117 (hasSubmenu): use nested bind to get rid of compare_memfun.
1119 2004-01-30 André Pönitz <poenitz@gmx.net>
1121 * BufferView_pimpl.C:
1124 * cursor_slice.[Ch]:
1127 * paragraph_funcs.C:
1128 * paragraph_funcs.h:
1132 * text3.C: move some of the edit(x,y) handling to the insets
1133 some coordinate changes.
1135 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1137 * text.C: add using statements for std::advance and std::distance
1139 * paragraph.C: add using statement for std::distance
1141 * lyxfind.C: add using statement for std::advance
1143 * cursor.C (region): remove std:: from swap
1144 (openable): use nucleus in stead of operator->
1146 * BufferView.C: add using statements for std::distance and std::swap
1148 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1150 * iterators.C: Remove the pimple, move the needed structures to
1151 the header file. Create accessor for the positions stack.
1152 (asPosIterator): remove function
1154 * PosIterator.C (PosIterator): move constructors to top of file
1155 (PosIterator): reimplement the constructor taking a ParIterator in
1157 (setFrom): new function
1158 (operator!=): inline it
1160 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1162 * lyxfind.C (replaceAll): use std::advance
1164 * iterators.h: inherit from std::iterator.
1166 * PosIterator.C (advance, distance): remove
1167 * PosIterator.h: interit from std::iterator.
1169 2004-01-26 André Pönitz <poenitz@gmx.net>
1172 * BufferView_pimpl.[Ch]:
1176 * bufferview_funcs.C:
1186 * output_linuxdoc.C:
1187 * output_plaintext.C:
1189 * paragraph_funcs.[Ch]:
1190 * paragraph_pimpl.[Ch]:
1196 * text3.C: more IU: dumps most of the rest of the mathcursor
1197 implementation into cursor.[Ch]; "globalize" a bit of it.
1199 2004-01-25 Angus Leeming <leeming@lyx.org>
1201 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1203 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1205 * LaTeXFeatures.h: add nice_ and nice() const
1206 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1208 2004-01-20 André Pönitz <poenitz@gmx.net>
1211 * BufferView_pimpl.C:
1213 * bufferview_funcs.C:
1215 * cursor_slice.[Ch]:
1226 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1227 LCursor and mathcursor parts to LCursor and InsetBase.
1229 2004-01-15 André Pönitz <poenitz@gmx.net>
1231 * cursor_slice.[Ch]: add a few covienience functions
1233 * funcrequest.[Ch]: remove BufferView * member
1235 * BufferView_pimpl.C:
1242 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1244 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1246 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1247 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1249 2004-01-13 André Pönitz <poenitz@gmx.net>
1252 * lyxtext.h: hide cursor and selection anchor behind accessor function
1255 * BufferView_pimpl.[Ch]:
1257 * bufferview_funcs.C:
1267 * cursor_slice.[Ch]: some integer type changes for inset unification
1269 * lyxcursor.[hC]: remove, it's CursorSlice now.
1272 * BufferView_pimpl.[Ch]:
1273 * bufferview_funcs.C:
1279 * textcursor.[Ch]: adjust
1281 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1283 * text2.C (undoSpan): add and use
1284 * text.C (breakParagraph): use undoSpan (fix bug 578)
1287 2004-01-08 Angus Leeming <leeming@lyx.org>
1289 * BufferView_pimpl.C (MenuInsertLyXFile):
1290 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1291 * lyxfunc.C (menuNew, open, doImport):
1292 FileFilterList change to the FileDialog open and save functions.
1294 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1296 * ShareContainer.h: make isEqual and isUnique adaptable
1298 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1300 2004-01-07 Angus Leeming <leeming@lyx.org>
1303 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1305 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1307 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1308 functions replacing find, replace and replaceAll.
1310 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1311 LFUN_WORDFIND(FORWARD|BACKWARD).
1313 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1315 * text.C (breakParagraph): remove an outdated #warning
1317 2004-01-07 André Pönitz <poenitz@gmx.net>
1319 * lyxfind.C: somewhat clearer logic
1321 * text.C: prevent crash in cursorX on unitialized row cache
1323 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1325 * lyxcursor.[Ch] (operator>): add
1326 * textcursor.C (selStart, selEnd): use std::min and std::max
1328 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1330 * Chktex.C: include boost/format.hpp
1332 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1334 * InsetList.C: replace functor MathcIt with adaptable functor
1336 (insetIterator): modify accordingly
1338 * BranchList.h: move the BranchNamesEqual functor here from...
1339 * BranchList.C: ... to here
1341 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1343 (add): replace a finding loop with std::find_if.
1345 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1347 * output_docbook.C: moving LatexParam functionality into
1350 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1352 * buffer.C: increment format to 229.
1354 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1357 * lyx_sty.[Ch]: remove minipageindent_def
1363 * text3.C: remove LFUN_INSET_MINIPAGE
1365 2003-12-28 Angus Leeming <leeming@lyx.org>
1367 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1369 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1371 * text2.C (setParagraph): fix off-by-one crash
1373 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1375 * output_docbook.C: header stuff for AGU
1377 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1379 * text2.C (redoCursor): remove
1382 * BufferView_pimpl.C: remove calls to redoCursor and
1383 setCursor(cursor.par(), cursor.pos()) all around
1385 2003-12-15 Angus Leeming <leeming@lyx.org>
1387 * buffer.C: up the format to 228.
1389 2003-12-15 André Pönitz <poenitz@gmx.net>
1391 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1396 * BufferView_pimpl.C:
1405 2003-12-15 Angus Leeming <leeming@lyx.org>
1407 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1408 than getFromGUIName to manipulate the color.
1410 2003-12-14 Angus Leeming <leeming@lyx.org>
1412 * BranchList.[Ch]: minimize the API.
1413 (Branch::getBranch, getColor): now return a 'const &'.
1414 (Branch::setSelected) now returns a bool set to true if the
1415 selection status changes.
1416 (BranchList::clear, size, getColor, setColor, setSelected,
1417 allBranches, allSelected, separator): removed.
1418 (BranchList::find): new functions, returning the Branch with
1420 (BranchList::add, remove): return a bool indicating that
1421 the operation was successful.
1423 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1424 new InsetBranch::isBranchSlected member function.
1426 * LColor.[Ch]: mimimize the API.
1427 (fill): renamed as addColor and made private.
1428 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1429 versions of these functions taking a string arg have been removed.
1431 * bufferparams.C (readToken):
1432 * lyxfunc.C (dispatch):
1433 * lyxrc.C (read): changes due to the altered BranchList and
1436 * factory.C (createInset, readInset): changes due to altered
1439 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1442 * lyxfunc.C: remove insetminipage. "minipage-insert"
1443 now produces a frameless minipage box inset.
1445 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1447 * textcursor.[Ch] (selStart,selEnd): add new methods
1448 remove selection::start, end, use LyXCursor::operator<
1449 * lyxcursor.[Ch] (operator<): add
1450 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1451 * BufferView.[Ch] (unsetXSel): add
1452 * text2.C (clearSelection): use unsetXSel,adjust
1455 * rowpainter.C: adjust
1456 * bufferview_funcs.C (put_selection_at): adjust
1458 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1460 * BufferView_pimpl.C: small coord. correction
1462 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1464 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1465 dragging over the splash screen.
1467 2003-12-11 Angus Leeming <leeming@lyx.org>
1469 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1470 as it is now handled in LyXText::dispatch.
1472 * text3.C (doInsertInset): remove a level of nesting.
1474 2003-12-11 Angus Leeming <leeming@lyx.org>
1476 * factory.C (createInset): changes due to the changed interface to
1477 InsetCommandMailer::string2params.
1479 2003-12-10 Angus Leeming <leeming@lyx.org>
1481 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1482 'dialog-show-new-inset <inset name>'
1484 2003-12-10 Angus Leeming <leeming@lyx.org>
1486 * buffer.C: up the format to 227.
1488 * factory.C: the box inset is now identified simply by 'Box'.
1490 2003-12-10 Angus Leeming <leeming@lyx.org>
1492 * buffer.C: up the format to 226.
1494 * factory.C: the note inset is now identified simply by 'Note'.
1496 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1498 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1499 when a pit is enough. Standarize a couple of loops.
1501 2003-12-05 Angus Leeming <leeming@lyx.org>
1503 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1504 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1505 data to the re-worked "log" dialog.
1507 2003-12-03 André Pönitz <poenitz@gmx.net>
1513 * paragraph_funcs.C:
1515 * text2.C: use Inset::getText instead of Inset::getParagraph
1517 2003-12-03 André Pönitz <poenitz@gmx.net>
1521 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1522 InsetText::read() as LyXText::read()
1524 2003-12-02 Angus Leeming <leeming@lyx.org>
1526 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1527 type. Add a comment in the implementation that the function uses
1528 the stream's bad() function rather than fail() as the std::streams
1531 2003-12-02 André Pönitz <poenitz@gmx.net>
1533 * lyxlex.[Ch]: make interface more similar to std::stream
1535 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1537 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1539 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1541 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1543 * vspace.[Ch]: remove VSpace::NONE
1545 2003-12-01 André Pönitz <poenitz@gmx.net>
1548 * lyxtext.h: move ParagraphList member to LyXText
1549 rename LyXText::ownerParagraphs to LyXText::paragraph
1552 * bufferview_funcs.C:
1562 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1564 * undo.C: fix cursor positioning
1566 2003-12-01 John Levon <levon@movementarian.org>
1568 * BufferView_pimpl.C: fix a crash on exit with
1571 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1573 * BranchList.C: fix setSelected() method.
1575 2003-11-28 André Pönitz <poenitz@gmx.net>
1577 * ParagraphParameters.[Ch]:
1578 * ParameterStruct.h: remove space above/below from Paragraph to
1581 * BufferView_pimpl.C:
1587 * paragraph_funcs.C:
1593 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1595 * factory.C: Syntax change for CharStyles
1597 2003-11-28 André Pönitz <poenitz@gmx.net>
1602 * buffer.[Ch]: move LyXText member
1604 2003-11-28 André Pönitz <poenitz@gmx.net>
1606 * BufferView.[Ch]: make LyXText * text a private member
1608 * BufferView_pimpl.C:
1619 * output_plaintext.C: cleanup
1621 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1624 * lyxtextclass.[Ch]: parametrize SGML document header
1626 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1629 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1632 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1634 * text2.C (setFont): rework using PosIterator (no more recursive)
1635 (setCharFont): no more needed
1636 (setLayout): no more selection cursors fiddling (done by redoCursor)
1637 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1638 destroy remaining ones)
1640 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1642 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1644 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1647 * text3.C: adjust + re-allow multi par depth changes
1648 * textcursor.C: simplify a bit
1650 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1656 * src/output_docbook.C:
1657 * src/output_latex.C:
1662 * src/text2.C: Introducing a number of tags parametrizing various
1663 XML formats that we may want to support
1665 2003-11-25 André Pönitz <poenitz@gmx.net>
1667 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1669 * lyxtext.h (leftMargin/rightMargin): simplify interface
1676 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1678 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1679 master file to any child files. Fixes bug 546.
1681 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1683 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1685 2003-11-24 André Pönitz <poenitz@gmx.net>
1687 * rowpainter.C: simplification
1689 * text2.C (updateCounters): remove call to redoParagraph on
1690 changed labels as this is far too expensive.
1692 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1694 * converter.C (convert): fix a crash: this function gets
1695 called with buffer == 0 from importer code.
1697 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1699 * text3.C (cursorPrevious): make sure that we do not compare
1700 iterators form different containers.
1703 * rowpainter.C (paintSelection): make sure that we do not compare
1704 iterators from different containers.
1706 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1707 iterators from different ParagraphList containers.
1710 * text2.C (LyXText): change order of initialization slightly
1711 (operator=): new function. copy all variables except cache_par_
1712 (moveUp): make sure that we do not compare iterators from
1713 different ParagraphList constainers.
1716 * text.C (firstPar): new function
1717 (lastPar): new function
1718 (endPar): new function
1720 * lyxtext.h: move things around and group public functions, public
1721 variables, private functions, private variables
1723 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1725 * factory.C: change call to InsetERT constructor to avoid
1726 additional invocation of method status
1727 * text2.C (toggleInset): remove redundant update() call
1728 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1729 instead of a Bufferview pointer
1731 2003-11-21 André Pönitz <poenitz@gmx.net>
1733 * rowpainter.C: simplification
1735 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1737 * text3.C (dispatch): make possible to extend a word/row selection
1740 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1742 * lyxtext.h: x0_,y0_ -> xo_,yo_
1743 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1744 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1745 * rowpainter.C (paintRows): paint full paragraphs
1747 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1749 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1752 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1754 * lyxtext.h: add x0_, y0_
1755 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1756 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1758 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1760 * text2.C (setCursorIntern): move the x_target update here *
1761 * text3.C: change some bv() to true/false in calls to
1762 cursorUp/Down/Right/Left
1763 * cursor.C: use helper function.
1765 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1767 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1768 * paragraph_funcs.[Ch]: correct comment
1769 * rowpainter.C: do not paint selections away from bv->cursor()
1770 Fix a long standing selection painting bug.
1771 * text3.C: generalize mouse-selection code to LyXTexts other that
1773 * textcursor.C: do not use y coords if we can use par offsets
1775 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1777 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1778 cursor position after e.g. inset insert)
1780 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1782 * lyxfind.C (replace): adjust to locking removal + some
1785 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1787 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1790 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1793 * output_docbook.C: XML sanitation: new layout
1794 parameters InnerTag and CommandDepth
1796 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1798 * BufferView_pimpl.C:
1800 * text3.C: Fix the insertion and modification of button-style
1803 2003-11-13 André Pönitz <poenitz@gmx.net>
1805 * InsetList.[Ch]: remove deleteLyXText
1807 * paragraph.[Ch]: cache beginOfBody position
1812 * text3.C: remove superfluous update() calls
1816 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1818 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1819 * BufferView.C (fitLockedInsetCursor): remove
1820 * cursor.[Ch] (getDim): add
1821 * text.C (getRowNearY): add faster version
1822 * text3.C: remove some update calls
1824 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1836 * text3.C: The Character Style /XML short element patch.
1838 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1841 * factory.C: Small step to solving 'unable to insert some insets'
1844 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1846 * cursor.[Ch] (updatePos): new function for updating the y
1847 position of the tip inset
1848 * bufferview_funcs.C (put_selection_at):
1849 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1851 2003-11-11 André Pönitz <poenitz@gmx.net>
1853 * text.C: remove big comment on invalid Paragraph pointers as it is
1856 2003-11-11 André Pönitz <poenitz@gmx.net>
1858 * text_funcs.[Ch]: merge with ...
1866 * Makefile.am: remove text_funcs.[Ch]
1868 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1870 * cursor.C (getPos): return absolute cached y coord
1872 * BufferView_pimpl.C (fitCursor): new simplistic code
1873 (workAreaDispatch): add a fitCursor call
1875 2003-11-10 André Pönitz <poenitz@gmx.net>
1878 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1880 2003-11-10 André Pönitz <poenitz@gmx.net>
1882 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1883 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1884 indicate that the cursor needs to leave an inset
1886 * lyxtext.h: remove inset locking
1888 * cursor.[Ch]: re-implement functionality provided by inset locking
1891 * BufferView_pimpl.[Ch]:
1893 * bufferview_funcs.[Ch]:
1905 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1907 * PosIterator.[Ch]: replace the stack with a vector, add inset
1909 * iterators.[C]: adjust
1911 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1913 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1915 * paragraph_funcs.C (readParToken): put the correct id in the
1916 error item, not the id of the top paragraph
1918 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1920 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1921 * bufferview_funcs.C (put_selection_at): use the above
1923 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1925 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1927 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1929 * output_linuxdoc.h:
1930 * output_plaintext.h:
1932 * output_docbook.h: add #include statements
1934 2003-11-05 José Matos <jamatos@lyx.org>
1936 * output_docbook.[Ch]:
1937 * output_latex.[Ch]:
1938 * output_linuxdoc.[Ch]:
1939 * output_plaintext.[Ch]: New files for output formats.
1940 * output.[Ch]: New file for helper functions.
1943 * paragraph_funcs.[Ch]: output functions moved to new files.
1945 * outputparams.h: rename of latexrunparams.h
1953 * paragraph_funcs.[Ch]:
1954 * paragraph_pimpl.[Ch]:
1955 * tabular.[Ch]: rename ascii to plaintext
1956 and LatexRunParams to OutputParams.
1958 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1960 * iterators.[Ch] (text): require bv argument
1961 * undo.C (recordUndo):
1962 * lyxfunc.C (dispatch):
1963 * bufferview_funcs.C (put_selection_at): adjust
1965 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1967 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1969 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1971 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1974 2003-11-04 André Pönitz <poenitz@gmx.net>
1976 * cursor.[Ch]: restructure
1979 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1981 * iterators.[Ch] (asCursor): remove
1983 * lfuns.h: remove LFUN_INSET_EDIT
1989 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1991 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1993 * lyxfind.[Ch]: complete overhaul
1994 * BufferView_pimpl.C:
1996 * paragraph.[Ch] (insert): add
1998 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2002 * text.C: remove dead spellcheck code
2004 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2006 * dispatchresult.h: add a val setter
2008 * cursor.C (dispatch): use a tempvar for data_[i]
2010 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2012 * PosIterator.[Ch]: compile fix
2014 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2016 * text.C (cursorPar): deactivate the cursor cache
2018 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2020 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2022 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2024 * text3.C (dispatch): adjust for new DisptchResult semantics.
2026 * lyxfunc.C (dispatch): handle update when return from
2027 Cursor::dispatch, adjust for new DispatchResult semantics.
2029 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2030 DispatchResult(true) mean to not update. Add class functions for
2031 setting dispatched and update, as well as reading.
2033 * cursor.C (dispatch): don't handle update here
2035 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2037 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2038 * trans_mgr.C: adjust
2040 * paragraph_funcs.C (readParToken): exception safety
2042 * lyxvc.h: store the vcs pointer in a scoped_ptr
2045 * lyxsocket.C (serverCallback): exception safety
2047 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2049 * ispell.C (clone): make it return a auto_ptr
2051 * factory.C (createInset): exception safety
2052 (readInset): exception safety
2054 * bufferlist.C (newBuffer): exception safety
2056 * Thesaurus.C (Thesaurus): use initialization for aik_
2058 * MenuBackend.C (expandToc): exception safety.
2060 2003-11-03 André Pönitz <poenitz@gmx.net>
2064 * bufferview_funcs.C: remove getInsetFromId()
2067 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2073 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2075 * PosIterator.C (distance, advance): new
2076 * bufferview_funcs.[Ch] (put_selection_at): new
2077 * iterators.[Ch] (lockPath): new
2079 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2081 * iterators.[Ch] (asPosIterator): added
2082 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2083 * PosIterator.[Ch]: added
2085 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2089 * cursor.C (dispatch):
2090 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2092 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2093 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2094 contructor, add a class function dispatched. Remove operator>=
2096 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2098 * debug.C: only use the default constructor for debugstream
2101 * main.C (main): include debug.h and setup the lyxerr streambuf
2104 2003-10-31 José Matos <jamatos@lyx.org>
2106 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2108 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2109 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2110 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2111 * paragraph_pimpl.C (simpleTeXSpecialC):
2112 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2113 add LatexRunParams argument.
2115 * exporter.C (Export): change call accordingly.
2117 * latexrunparams.h: add new member to take care of the other backends.
2118 2003-10-30 José Matos <jamatos@lyx.org>
2120 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2121 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2122 factorise code for paragraph output.
2124 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2127 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2129 * text3.C (dispatch):
2130 * lyxfunc.C (dispatch):
2131 * cursor.C (dispatch):
2132 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2134 * dispatchresult.h: make the dispatch_result_t ctor explicit
2136 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2139 * buffer.C: small refactoring of docbook stuff
2141 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2143 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2146 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2148 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2149 operator dispatch_result_t, and operators for == != and >=
2151 * cursor.C (dispatch): adjust for operator dispatch_result_t
2152 removal. comment out call to update
2154 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2156 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2164 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2167 * dispatchresult.h: new file, DispatchResult broken out of
2170 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2172 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2174 * text.C (rowBreakPoint): put a hack inside #if 0
2176 2003-10-28 André Pönitz <poenitz@gmx.net>
2180 * paragraph_funcs.C:
2183 * text2.C: general cleanup (lots of small stuff)
2185 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2187 * text2.C (cursorEnd): simple fix to the "end key goes to one
2188 before the end on last row" bug
2190 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2192 * text.C (backspace): fix the "zombie characters"
2194 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2196 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2198 2003-10-27 André Pönitz <poenitz@gmx.net>
2200 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2202 * factory.C: handle new InsetPagebreak, InsetLine
2204 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2205 and move handling into new InsetPagebreak, InsetLine
2207 * BufferView_pimpl.C:
2209 * ParagraphParameters.C:
2210 * ParameterStruct.h:
2215 * paragraph_funcs.C:
2216 * paragraph_pimpl.C:
2222 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2225 * lyxrow_funcs.[Ch]:
2231 * text3.C: remove lastPos uses in favour of Row::endpos
2233 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2235 * undo.C (performUndoOrRedo): fix two crashes by setting a
2236 cursor by hand and reordering some calls. Use bv->lockInset instead
2237 of inset->edit because the latter loses cursor information
2239 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2241 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2243 (rowBreakPoint): fix width. change point to point + 1.
2244 Add a missing check.
2246 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2249 * lyxfunc.C: fix (at least partly) the problems
2250 with the Nav menu and headers inside branch insets
2253 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2255 * paragraph.C (getChar): add strong asserts
2257 * lyxrow_funcs.C (lastPos): remove hideous hack
2259 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2260 (fill): adjust to that (avoid an infinite loop)
2262 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2264 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2266 2003-10-23 André Pönitz <poenitz@gmx.net>
2268 * RowList_fwd.h: change list<> to vector<> to gain speed
2269 after suggestion from Alfredo
2271 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2273 * lyxtext.h: move the bidi stuff from here...
2276 * Bidi.[Ch]: ... to here
2278 2003-10-23 André Pönitz <poenitz@gmx.net>
2281 * text.C (isLastRow, isFirstRow): new functions
2283 * paragraph.h: new width cache member
2285 * rowpainter.C: replace RowList::iterator with Row & where possible
2287 * lyxfunc.C: replace several view()->text with a single call
2289 * toc.C: fix 'unused' warning
2291 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2293 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2294 when woring with stream::pos_type
2295 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2297 2003-10-22 André Pönitz <poenitz@gmx.net>
2300 * text.C: use Row & instead of RowList::iterator
2302 * lyxrow.h: rename end() to endpos()
2308 2003-10-22 Angus Leeming <leeming@lyx.org>
2310 * buffer.[Ch] (fully_loaded): new member function, returning true
2311 only when the file has been loaded fully.
2312 Used to prevent the premature generation of previews and by the
2313 citation inset to prevent computation of the natbib-style label.
2315 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2316 templates are all set up.
2318 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2320 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2322 * text.C: fixed an "oops" in the "is a bit silly"
2325 2003-10-21 André Pönitz <poenitz@gmx.net>
2327 * FuncStatus.[Ch]: small stuff, whitespace
2329 * lyxfont.[Ch]: operator<<() for debug reasons
2333 * lyxtext.h: whitespace, spelling
2335 * paragraph.C: naming of variables
2338 * text2.C: small stuff
2341 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2343 * text.C: (1) finish off the inset display() work;
2344 (2) fix the "is a bit silly" bug (accessing char
2347 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2349 * text.C: re-introduce display() for insets, fixing the
2350 various bugs (stretch of line above, math inset
2353 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2355 * text.C (rightMargin): remove spurious semicolon
2357 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2360 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2362 * text3.C: fix one crash due to wrong cursor def
2364 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2366 * vc-backend.C (scanMaster): make the regex static
2368 * LaTeX.C (scanAuxFile): make the regexs static
2370 * text3.C (doInsertInset, dispatch, dispatch):
2371 * text2.C (cursorUp, cursorDown):
2372 * text.C (selectNextWordToSpellcheck):
2373 * BufferView_pimpl.C (dispatch):
2374 * lyxfunc.C (dispatch): localDispatch -> dispatch
2376 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2378 * lyxsocket.C: include <cerrno>
2380 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2382 * lyxfunc.C (dispatch): remove textcache stuff
2384 * bufferlist.C (release): remove textcache stuff
2387 * TextCache.C: delete file
2388 * TextCache.h: delete file
2390 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2392 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2393 delete of the bv_->text.
2394 (resizeCurrentBuffer): remove texcache stuff
2395 (workAreaResize): ditto
2397 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2399 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2402 2003-10-16 André Pönitz <poenitz@gmx.net>
2409 * text3.C: speed up by storing y positions per paragraph plus per-row
2410 offset instead of having a 'full' y position in the row.
2412 2003-10-15 André Pönitz <poenitz@gmx.net>
2416 * undo.[Ch]: make undo aware of inner insets
2418 2003-10-14 Angus Leeming <leeming@lyx.org>
2420 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2421 static member functions LyX::ref() and LyX::cref.
2422 (lastfiles): new accessor functions for the new lastfiles_ member var.
2423 (addLyXView, views_): add a new LyXView to the list of views_.
2424 (updateInset): loop over all LyXViews to call their own updateInset
2425 member function, returning a pointer to the Buffer owning the inset.
2427 * BufferView_pimpl.C (loadLyXFile):
2428 * MenuBackend.C (expandLastfiles):
2429 * bufferlist.C (MenuWrite, QuitLyX):
2430 lastfiles is no longer a global variable.
2431 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2433 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2434 static function. Access through LyX::cref().emergencyCleanup().
2436 2003-10-14 André Pönitz <poenitz@gmx.net>
2438 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2440 * undo.[Ch]: restoring part of 'undo in insets'
2443 * undo_funcs.[Ch]: merge with undo.[Ch]
2445 * tabular.C: small cleansing stuff
2447 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2449 * paragraph_funcs.C (readParToken): report unknown insets as error
2450 boxes. Use the outer paragraph as location (also for unknown
2453 * factory.C (readInset): do not abort on reading an unknown inset.
2454 Eat it and return 0.
2456 2003-10-13 Angus Leeming <leeming@lyx.org>
2458 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2460 * lyxrc.C: displayTranslator is now a function,
2461 declared in GraphicsTypes.h.
2463 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2465 * format.C: new placeholder $$a to pass the socket address.
2467 * bufferlist.[Ch]: new function getBufferFromTmp.
2469 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2470 files in the temporary dir.
2472 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2474 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2476 * Makefile.am: add lyxsocket.[Ch].
2478 * lyx_main.C (error_handler): handle SIGPIPE.
2480 2003-10-13 André Pönitz <poenitz@gmx.net>
2482 * BufferView_pimpl.C:
2487 * undo_funcs.[Ch]: use paroffset_type instead of
2488 ParagraphList::iterators to prevent multiple conversion
2489 (and get a more robust interface)
2491 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2493 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2495 * text3.C (dispatch): ditto
2497 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2499 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2500 move the onlyfile, use onlyfile instead of foundfile in a couple
2503 * DepTable.C (update): flush the error stream a bit more
2505 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2507 * lyxserver.C (callback): adjust
2509 * lyxfunc.C (getStatus): add a missing brace in commented code
2510 (ensureBufferClean): reindent
2511 (dispatch): delete version taking a string
2513 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2515 * LaTeX.C (deplog): move found file handlig from here...
2516 (handleFoundFile): .. to new function here.
2517 (deplog): make sure to discover several files mentioned on the
2520 2003-10-10 André Pönitz <poenitz@gmx.net>
2527 * text3.C: fix some of the tabular crashes
2529 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2531 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2533 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2535 2003-10-09 André Pönitz <poenitz@gmx.net>
2537 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2540 * BufferView_pimpl.C:
2541 * bufferview_funcs.C:
2552 * undo_funcs.C: adjust
2554 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2556 * text2.C (incrementItemDepth): new function, use a backtracking
2557 algorithm to discover the correct item depth.
2558 (resetEnumCounterIfNeeded): new function, use a backtracking
2559 algorithm to discover if counter reset is needed.
2560 (setCounter): use them. Simplify a bit. Add different labels for
2561 different item depths for itemize.
2563 * paragraph.C (Paragraph): remove initialization of enumdepth
2566 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2567 enumerate and itemize. Change the type of itemdepth to signed char.
2569 2003-10-08 André Pönitz <poenitz@gmx.net>
2571 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2576 * tabular.[Ch]: fix crash after 'row-insert'
2578 2003-10-08 Angus Leeming <leeming@lyx.org>
2580 Fix doxygen warnings.
2582 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2583 Remove CutAndPaste:: prefix from header file declaration.
2585 * LColor.h (fill): remove LColor:: prefix from declaration.
2587 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2588 use lyx::depth_type rather than Paragraph::depth_type so that
2589 header file and .C file match.
2591 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2593 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2594 * aspell.C: \file aspell_local.C -> \file aspell.C
2595 * gettext.C: \file gettext.C -> \file src/gettext.C
2596 * gettext.h: \file gettext.h -> \file src/gettext.h
2597 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2598 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2599 * text.C: \file text.C -> \file src/text.C
2601 * toc.C: move comment so that doxygen is not confused.
2603 2003-10-07 Angus Leeming <leeming@lyx.org>
2605 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2607 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2610 * aspell_local.h: add forgotten std::string's.
2612 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2619 * text3.C: The Box patch. Fancybox support, minipage, parbox
2621 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2627 * ParagraphParameters.h:
2637 * lyxtextclasslist.h:
2640 * paragraph_pimpl.C:
2641 * textcursor.h: add <string> and other small fixes to make Lars'
2642 std::string patch compile with STLport.
2644 2003-10-06 Angus Leeming <leeming@lyx.org>
2646 * LColor.h: Add missing #include <string>.
2648 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2650 * All most all file in all subdirs: Make <string> be the prefered
2651 way of getting to std::string, add using declarations.
2653 2003-10-06 André Pönitz <poenitz@gmx.net>
2655 * metricsinfo.C: initialize LyXFont before changing attribute.
2656 (fixes the 'math in \emph is upright' bug)
2658 2003-10-06 André Pönitz <poenitz@gmx.net>
2660 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2662 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2665 * paragraph_pimpl.C: Small fixes to build using STLport
2667 2003-10-02 André Pönitz <poenitz@gmx.net>
2670 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2672 2003-10-01 André Pönitz <poenitz@gmx.net>
2674 * factory.C: assert early
2676 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2678 * lyx_main.C: remove the global debug object
2680 * debug.h: adjust for new debugstream
2682 * debug.C: adjust for new debugstream and keep the global debug
2685 2003-09-22 Angus Leeming <leeming@lyx.org>
2687 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2688 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2689 an incomplete class LyXFont.
2691 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2693 * factory.C: bug fix in branches
2695 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2697 * lyxfunc.C (processKeySym): adjust
2699 (dispatch): change arg name from ev to func, adjust
2700 (sendDispatchMessage): ditto
2702 * lyx_main.C (defaultKeyBindings): adjust keybindings
2703 (deadKeyBindings): ditto
2705 * kbsequence.C (addkey): return a FuncRequest
2707 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2709 * kbmap.C (bind): take a FuncRequest as arg, adjust
2712 (defkey): change to take a FuncRequest as arg, adjust
2713 (findbinding): take a FuncRequest as arg, adjust.
2715 * funcrequest.h (operator=): added
2717 * funcrequest.C (FuncRequest): default kb_action changed from
2718 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2720 * buffer.C (dispatch): simplify
2721 (dispatch): adjust to take a FuncRequest as arg, adjust
2723 * boost.C (assertion_failed): change assertion message slightly
2725 * ToolbarBackend.C (read): simplify
2727 * MenuBackend.C (binding): adjust call to findbinding, add a
2728 message if no binding is found.
2730 (expandToc): correct by adding a empty FuncRequest
2732 * LyXAction.C: include <boost/assert.hpp>
2733 (isPseudoAction): delete function
2734 (LookupFunc): change name to...
2735 (lookupFunc): this. change return type to FuncRequest.
2736 (getActionName): take kb_action as arg, simplify
2737 (funcHasFlag): add an assert, simplify.
2739 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2741 * toc.C (action): return a FuncRequest, simplify
2743 * lyxfunc.C (processKeySym): adjust
2744 (getStatus): delete version that takes an int.
2746 (dispatch): delete version that takes action as int
2748 (sendDispatchMessage): simplify and adjust
2750 * funcrequest.C (getArg): take unsigned int as arg
2752 * ToolbarBackend.C (read): adjust
2753 (add): delete version that takes func as a string.
2754 (getIton): take a FuncRequest as arg
2756 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2759 * MenuBackend.C (MenuItem): add a new construct that only takes a
2760 Kind, simplify the constructor use for submenus.
2762 (expandLastfiles): adjust
2763 (expandDocuments): adjust
2764 (expandFormats): adjust
2765 (expandFloatListInsert): adjust
2766 (expandFloatInsert): adjust
2767 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2769 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2770 Remove class variables lyx_pseudo_map and lyx_arg_map
2772 * LyXAction.C (searchActionArg): delete function
2773 (getPseudoAction): delete function
2774 (retrieveActionArg): delete function
2775 (LookupFunc): make it return kb_action, simplify.
2776 (getActionName): simplify
2778 * factory.C (createInset): fix new bug
2780 2003-09-19 Angus Leeming <leeming@lyx.org>
2782 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2783 masterFilename_ parameter in the include inset.
2785 * factory.C (createInset): changes due to the changes to InsetInclude.
2787 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2789 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2791 2003-09-18 Angus Leeming <leeming@lyx.org>
2794 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2795 Inset::fillWithBibKeys.
2796 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2798 2003-09-18 Angus Leeming <leeming@lyx.org>
2800 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2802 (ctor): pass and store a 'Buffer const &'
2803 (buffer): new member function.
2805 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2806 '*this' to the LaTeXFeatures ctor.
2808 2003-09-18 Angus Leeming <leeming@lyx.org>
2814 * text.C: rename EnumLColor as LColor_color.
2816 2003-09-18 Angus Leeming <leeming@lyx.org>
2818 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2819 remove #include "insets/insetbase.h" from cursor.h.
2821 2003-09-18 Angus Leeming <leeming@lyx.org>
2823 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2824 InsetOld_code to remove #include "inset.h".
2826 * iterators.C: add #include "insets/inset.h"
2828 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2830 * BufferView.C: remove more locking stuff that apparently doesn't
2831 do anything sensible.
2833 2003-09-16 André Pönitz <poenitz@gmx.net>
2836 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2839 2003-09-16 Angus Leeming <leeming@lyx.org>
2841 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2843 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2846 * paragraph.h: remove #include "lyxfont.h". Forward declare
2849 2003-09-16 Angus Leeming <leeming@lyx.org>
2851 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2852 of support/textutils.h.
2853 (isWord): move the contents of support/textutils.h's IsWordChar here.
2859 * text2.C: add #include "paragraph.h".
2862 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2864 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2870 * LaTeX.C: use namespace alias for lyx::support::os
2872 2003-09-16 Angus Leeming <leeming@lyx.org>
2875 * bufferview_funcs.C:
2878 * paragraph_pimpl.C:
2880 * text.C: add #include "LColor.h".
2882 2003-09-16 Angus Leeming <leeming@lyx.org>
2884 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2885 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2887 Store the FontBits::color variable as an int rather than as an
2888 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2891 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2892 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2893 string calls together.
2895 * lyxrc.C: add #include "LColor.h".
2897 2003-09-15 Angus Leeming <leeming@lyx.org>
2899 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2902 2003-09-15 Angus Leeming <leeming@lyx.org>
2904 * LColor.h: add an EnumLColor wrapper for LColor::color.
2906 * lyxfont.[Ch] (color, setColor, realColor):
2907 * lyxtext.h, text.C (backgroundColor):
2908 pass EnumLColor args to/from the functions, rather than LColor::color
2912 * lyxtext.h: forward declare EnumLColor.
2914 * lyx_main.C: add #include "LColor.h".
2916 2003-09-15 Angus Leeming <leeming@lyx.org>
2918 * .cvsignore: add lyx-gtk.
2920 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2925 * ParagraphParameters.C
2929 * bufferview_funcs.C
2939 * vc-backend.C: remove usage of STRCONV
2941 2003-09-15 Angus Leeming <leeming@lyx.org>
2943 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2944 explicitly define the color passed to the painter.
2946 2003-09-15 Angus Leeming <leeming@lyx.org>
2948 * bufferparams.C (BufferParams): reorder member initializers to avoid
2951 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2953 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2954 * text.C (updateRowPositions): remove an unusual nop
2956 2003-09-12 André Pönitz <poenitz@gmx.net>
2958 * BufferView_pimpl.C:
2967 * Counters.[Ch]: finish the 'automatic counters' job
2969 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2971 * aspell.C: include <boost/assert.cpp> (compile fix)
2973 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2975 * boost.C (assertion_failed): use lyx::support::abort instead of
2978 2003-09-10 Angus Leeming <leeming@lyx.org>
2980 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2981 with their _fwd progeny.
2983 2003-09-09 Angus Leeming <leeming@lyx.org>
2985 134 files throughtout the source tree: replace 'using namespace abc;'
2986 directives with the appropriate 'using abc::xyz;' declarations.
2988 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2990 * boost.C (emergencyCleanup): moved here from LAssert.c
2991 (assertion_failed): new function, called by BOOST_ASSERT
2993 * several files: change Assert to BOOST_ASSERT
2995 2003-09-09 Angus Leeming <leeming@lyx.org>
2997 * buffer.[Ch]: Add an Impl class and move Buffer's member
2998 variables into it. As a result move several header files out of
3001 Add header files to lots of .C files all over the tree as a result.
3003 2003-09-09 Angus Leeming <leeming@lyx.org>
3005 * buffer.[Ch]: make Buffer's member variables private. Add
3008 Lots of changes all over the tree as a result.
3010 2003-09-08 Angus Leeming <leeming@lyx.org>
3012 * graph.C: #include <config.h>.
3014 2003-09-08 Angus Leeming <leeming@lyx.org>
3018 * BufferView_pimpl.C:
3047 * toc.C: remove redundant using directives.
3049 2003-09-07 Angus Leeming <leeming@lyx.org>
3051 * LaTeXFeatures.h: remove #include "support/types.h".
3052 * ToolbarBackend.h: remove #include <algorithm>.
3053 * changes.h: remove #include <ctime>.
3054 * debug.h: remove #include <iosfwd>.
3055 * graph.h: remove #include "support/std_string.h".
3056 * lyx_main.h: remove #include <csignal>.
3057 * lyxlex_pimpl.h: remove #include <fstream>.
3058 * sgml.h: remove #include <algorithm>, <utility>.
3059 * toc.h: remove #include "support/std_ostream.h".
3060 Add #include <iosfwd>.
3062 2003-09-07 Angus Leeming <leeming@lyx.org>
3064 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3066 * converter.h: forward declare LatexRunParams.
3067 * encoding.h: remove #include "lyxrc.h".
3068 * lyxtext.h: remove #include "LColor.h".
3069 * lyxtextclass.h: remove #include "support/types.h".
3070 * trans.h: remove #include "tex-accent.h".
3071 * trans_mgr.h: remove #include "tex-accent.h".
3072 * insets/inset.h: remove #include "support/types.h", <vector>.
3073 * insets/insetcollapsable.h: remove #include "LColor.h".
3074 * insets/insetinclude.h: remove #include "dimension.h".
3075 * insets/insetlatexaccent.h: remove #include "dimension.h".
3076 * insets/insetoptarg.h:: remove #include "insettext.h".
3077 * insets/insettext.h: remove #include "dimension.h",
3078 <boost/shared_ptr.hpp>
3080 * insets/renderers.h: add #include "dimension.h".
3081 * insets/updatableinset.h: add #include "support/types.h".
3083 * many .C files: Associated changes.
3085 2003-09-06 Angus Leeming <leeming@lyx.org>
3087 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3088 one, inside testInvariant.
3090 * PrinterParams.C: new file.
3091 * PrinterParams.[Ch]: move the function bodies out of line.
3093 2003-09-06 Angus Leeming <leeming@lyx.org>
3095 * ParagraphParameters.h: forward declare ParameterStruct rather than
3096 including its header file.
3097 (depth): moved out-of-line.
3099 2003-09-06 Angus Leeming <leeming@lyx.org>
3101 * BufferView_pimpl.h:
3104 * lyxfunc.h: forward declare LyXKeySym rather than
3105 #include "frontends/LyXKeySym.h".
3107 * BufferView_pimpl.C:
3110 * lyxfunc.C: associated changes.
3112 2003-09-06 Angus Leeming <leeming@lyx.org>
3114 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3115 As a result, can remove the #include "insets/inset.h" from BufferView.h
3117 2003-09-06 Angus Leeming <leeming@lyx.org>
3119 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3120 As a result, can remove the #include "insets/inset.h" from BufferView.h
3122 2003-09-06 Angus Leeming <leeming@lyx.org>
3128 * bufferview_funcs.C:
3129 * BufferView_pimpl.C:
3134 * ParagraphParameters.C:
3139 * frontends/controllers/ControlDocument.C:
3140 * insets/insetcaption.C: rearrange the #includes into some sort of
3143 * buffer.h: remove #includes ErrorList.h, undo.h
3145 2003-09-06 Angus Leeming <leeming@lyx.org>
3147 * support/types.h: add a 'depth_type' typedef, used to store the
3148 nesting depth of a paragraph.
3151 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3152 defining explicitly.
3155 * paragraph_funcs.h:
3156 * ParagraphParameters.h:
3157 * sgml.h: use lyx::depth_type rather than Paragraph or
3158 ParameterStruct's depth_type.
3161 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3164 * BufferView_pimpl.C:
3166 * ParagraphParameters.C:
3169 * bufferview_funcs.C:
3176 * frontends/LyXView.C:
3177 * frontends/controllers/ControlDocument.C:
3178 * frontends/controllers/ControlErrorList.C:
3179 * insets/insetbibitem.C:
3180 * insets/insetbranch.C:
3181 * insets/insetcaption.C:
3182 * insets/insetcollapsable.C:
3183 * insets/insetenv.C:
3184 * insets/insetert.C:
3185 * insets/insetfloat.C:
3186 * insets/insetfoot.C:
3187 * insets/insetfootlike.C:
3188 * insets/insetnewline.C:
3189 * insets/insetquotes.C:
3190 * insets/insettabular.C:
3191 * insets/insettext.C:
3192 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3194 * frontends/controllers/ControlChanges.C: #include "changes.h".
3196 2003-09-06 Angus Leeming <leeming@lyx.org>
3198 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3199 than #including paragraph.h.
3202 * RowList.h: deleted. Superfluous.
3212 * insets/insettext.h: use ParagraphList_fwd.h rather than
3215 * paragraph.h: don't forward declare ParagraphList.
3218 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3219 rather than ParagraphList.h. paragraph.h is still needed for the
3220 Paragraph::depth_type parameters.
3222 * textcursor.h: enable it to compile stand-alone in light of the
3225 * bufferview_funcs.C:
3237 * frontends/controllers/ControlParagraph.C:
3238 * frontends/controllers/ControlTabular.C:
3239 * insets/insetmarginal.C:
3240 * insets/insetminipage.C:
3241 * insets/insetnote.C:
3242 * insets/insetoptarg.C: add header files needed to compile again.
3244 2003-09-06 Angus Leeming <leeming@lyx.org>
3246 * RowList_fwd.h: new file, forward-declaring Row rather than
3247 #including lyxrow.h.
3252 * insets/insettext.h: use it instead of RowList.h
3254 * bufferview_funcs.C:
3261 * text3.C: #include "RowList.h".
3263 2003-09-05 Angus Leeming <leeming@lyx.org>
3265 * factory.C (createInset):
3266 * vspace.C (c-tor): replace sscanf call with an istringstream.
3267 * ispell.C: re-add missing HP/UX headers.
3268 * lyxserver.C: re-add missing os2 headers.
3270 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3279 * text3.C: re-add missing system headers, needed for 2.95.2.
3281 2003-09-05 Angus Leeming <leeming@lyx.org>
3283 Changes most place everywhere due to the removal of using directives
3284 from support/std_sstream.h.
3286 2003-09-05 Angus Leeming <leeming@lyx.org>
3288 Replace LString.h with support/std_string.h,
3289 Lsstream.h with support/std_sstream.h,
3290 support/LIstream.h with support/std_istream.h,
3291 support/LOstream.h with support/std_ostream.h.
3293 Changes resulting throughout the tree.
3295 2003-09-05 Angus Leeming <leeming@lyx.org>
3297 * sgml.h: ensure that the header file can be compiled stand-alone.
3298 * *.C: strip out redundant #includes. (320 in total.)
3300 2003-09-04 Angus Leeming <leeming@lyx.org>
3302 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3303 here (from getPackages).
3305 * debug.[Ch]: add a new EXTERNAL tag.
3307 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3309 * text2.C (cursorEnd): simplify
3311 (getColumnNearX): adjust
3313 * text.C (computeBidiTables): adjust
3316 * rowpainter.C (paintChars): adjust
3317 (paintSelection): adjust
3318 (paintChangeBar): adjust
3321 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3323 (numberOfSeparators): adjust
3325 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3331 * text3.C: Restricts the mouse click functionality
3332 of insets like bibtex, include, toc and floatlist to the visible
3333 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3334 up the dialogs. Cursor has to be in front of the inset (i.e.
3335 start of row) for this to function.
3337 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3339 * bufferview_funcs.C (currentState): output row information
3341 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3343 * bufferview_funcs.C (currentState): output paragraph position
3345 2003-09-04 Angus Leeming <leeming@lyx.org>
3347 * FloatList.h: move out #include "Floating.h".
3348 * LaTeX.h: move out #include "DepTable.h".
3349 * LyXAction.h: move out #include "funcrequest.h".
3350 * buffer.h: move out #include "author.h", "iterators.h".
3351 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3352 * lyx_main.h: move out #include "errorlist.h".
3353 * lyxfunc.h: move out #include "FuncStatus.h".
3354 * lyxtext: move out #include "lyxcursor.h".
3355 * paragraph_pimpl.h: move out #include "counters.h".
3357 2003-09-03 Angus Leeming <leeming@lyx.org>
3359 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3360 preamble_snippets list, enabling us to add snippets to the preamble
3361 only if the snippet was not there already.
3363 2003-09-04 Angus Leeming <leeming@lyx.org>
3365 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3367 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3369 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3372 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3374 * BranchList.C: point fix, earlier forgotten
3376 2003-09-02 Angus Leeming <leeming@lyx.org>
3378 * box.C (contains): renamed from 'contained' after a fantastic
3381 2003-09-02 John Levon <levon@movementarian.org>
3387 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3389 2003-09-02 John Levon <levon@movementarian.org>
3391 * text2.C: simplification of cursorEnd(), including partial
3394 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3396 * buffer.C (readFile): add a space
3398 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3400 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3402 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3404 * buffer.C (readFile): new function, take a filename and a
3405 ParagraphList::iterator
3407 (readFile): adjust, make it private. don't use setStream, make
3408 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3409 always contain the filename.
3411 * BufferView.C (insertLyXFile): simplify and make it work for
3414 2003-08-30 John Levon <levon@movementarian.org>
3416 * Makefile.am: fix dist (from Kayvan)
3418 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3420 * most files: change to use const Buffer refs
3422 2003-08-27 André Pönitz <poenitz@gmx.net>
3424 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3425 on top of ownerPar().
3427 2003-08-27 John Levon <levon@movementarian.org>
3429 * funcrequest.C: properly initialise POD members
3431 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3433 * lyxtext.h (top_y): move top_y from here
3438 * BufferView_pimpl.[Ch]: to here
3439 * frontends/screen.C:
3440 * insets/insettabular.C:
3441 * insets/insettext.C: adjust
3442 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3444 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3447 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3449 2003-08-26 André Pönitz <poenitz@gmx.net>
3451 * paragraph_func.[Ch] (outerPar): new function
3454 * paragraph_funcs.C:
3455 * paragraph_funcs.h:
3456 * paragraph_pimpl.C:
3457 * text2.C: remove Inset::par_owner
3459 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3464 * text2.C: eliminates the needFullRow/display() stuff
3465 altogether, putting the logic in metrics/draw in the insets.
3467 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3469 * text2.C (redoParagraphInternal, redoParagraphs):
3470 * text.C (redoParagraph): add a call to updateRowPositions at the
3471 end of each 'metrics-like' call. Remove all others.
3472 (getRow): remove the 'y-computing' version.
3473 (getRowNearY): do not compute nor return the real y. Solve the
3474 'y < 0' problem and simplify.
3476 2003-08-22 Angus Leeming <leeming@lyx.org>
3478 * *.[Ch]: clean-up of licence and author blurbs.
3479 Also move config.h out of a few .h files and into a few .C files.
3481 2003-08-22 André Pönitz <poenitz@gmx.net>
3483 * lyxrow.[Ch]: add x_ and *fill_ members
3488 * text2.C: adjust/remove prepareToPrint() calls
3490 2003-08-22 André Pönitz <poenitz@gmx.net>
3492 * lyxrow.[Ch]: add end_ member
3494 * lyxrow_funcs.C: use LyXRow::end_
3496 * lyxtext.h (singleWidth): add LyXFont parameter
3499 * text2.C: adjust LyXText::singleWidth() calls
3501 * text.C (redoParagraph): simplify row breaking logic
3504 2003-08-19 André Pönitz <poenitz@gmx.net>
3506 * funcrequest.C: initialize button_ member
3509 * rowpainter.[Ch]: interface consolidation
3511 2003-08-18 André Pönitz <poenitz@gmx.net>
3514 * BufferView_pimpl.C:
3516 * paragraph_funcs.C:
3518 * text3.C: remove LyXScreen::draw() and fitCursor calls
3520 * BranchList.h: remove spurious semicolons
3522 * MenuBackend.C: fix branchlist related crash
3524 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3532 * bufferparams.[Ch]:
3536 * text3.C: implements the 'branch inset'
3537 idea. This allows the output of various versions of a document
3538 from a single source version, selectively outputing or suppressing
3539 output of parts of the text.
3540 This implementation contains a 'branch list editor' in a separate
3541 tab of the document settings dialog. Branches are user definable
3542 and have a "display colour" to distinguish them on-screen.
3544 ColorHandler was somewhat cleaned up.
3545 (1) make possible a dynamically growing LColor list by allowing
3546 the graphic context cache to grow along (vector);
3547 (2) eliminate an IMHO unnecessary step in colour allocation.
3549 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3551 * BufferView_pimpl.C: compile fix
3553 2003-08-15 André Pönitz <poenitz@gmx.net>
3555 * rowpainter.C: remove extra metrics calls
3557 * lyxtext.h: merge the two constructors into a single one,
3558 pass reference to owner's par list
3560 * BufferView_pimpl.C:
3564 2003-08-15 André Pönitz <poenitz@gmx.net>
3566 * lyxrow_funcs.[Ch]:
3569 * paragraph_funcs.C:
3574 * text_funcs.C: split LyXText::rowlist_ into individual
3575 Paragraph::rows_ chunks
3578 * BufferView_pimpl.[Ch]:
3581 * text3.C: remove toggleSelection()
3583 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3585 * bufferlist.C: beautify two alerts (shorter text of buttons)
3586 * buffer.C: Remove redundant ' ' from message
3588 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3589 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3590 rename VALIGN_CENTER to VALIGN_MIDDLE
3592 2003-08-11 André Pönitz <poenitz@gmx.net>
3594 * lyxtext.h (getPar):
3595 * text.C: new function
3597 2003-08-11 André Pönitz <poenitz@gmx.net>
3600 * tracer.[Ch]: remove unneeded files
3602 * InsetList.[Ch]: remove resizeInsetsLyXText()
3607 * text3.C: merge insertParagraphs() and appendParagraph()
3608 remove breakAgain(), update()
3610 * BufferView_pimpl.[Ch]:
3611 * bufferview_funcs.[Ch]:
3615 * tabular.C: adjust after text & InsetList changes.
3617 2003-08-08 André Pönitz <poenitz@gmx.net>
3619 * text.C (insertChar, backspace): replace rowlist fiddling
3620 with rebreak of full par
3623 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3624 checkParagraph, updateInset): removed
3626 2003-08-07 André Pönitz <poenitz@gmx.net>
3629 * text3.C: merge some LFUN handlers, remove dead code
3631 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3633 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3635 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3637 * text2.C (DEPM): fix part of bug 1255 and 1256
3639 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3641 * BufferView_pimpl.C (workAreaDispatch): change to use
3642 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3643 that are no mouse related.
3645 2003-08-05 André Pönitz <poenitz@gmx.net>
3648 * BufferView_pimpl.[Ch]:
3649 * bufferview_funcs.C:
3651 * text3.C: rip out "deep update"
3653 * textcursor.[Ch] (last_sel_cursor): remove unused member
3655 2003-08-04 André Pönitz <poenitz@gmx.net>
3658 * BufferView_pimpl.[Ch]:
3659 * ParagraphParameters.C:
3660 * bufferview_funcs.C:
3666 * text3.C: replace "complicated" BufferView::update(...) calls with
3669 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3671 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3673 * Makefile.am (lyx_SOURCES): add paper.h
3675 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3677 * Makefile.am: move things around so that both lyx-qt and
3678 lyx-xforms can be built (according to --with-frontend). Then lyx
3679 is a symbolic link to lyx-[firstfrontend]
3681 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3683 * Always use std::endl with lyxerr
3685 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3687 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3689 2003-08-01 André Pönitz <poenitz@gmx.net>
3692 * BufferView_pimpl.[Ch]:
3694 * text3.C: merge BufferView::repaint() and BufferView::update()
3696 2003-08-01 José Matos <jamatos@lyx.org>
3698 * buffer.[Ch]: file_format is no longer a buffer data element.
3700 2003-08-01 André Pönitz <poenitz@gmx.net>
3705 * text2.C: make redoParagraph more independent of current cursor
3707 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3709 * text2.C: remove unneeded members
3711 2003-07-30 André Pönitz <poenitz@gmx.net>
3713 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3715 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3716 create a single function...
3718 * paragraph_funcs.C (moveItem): ... here.
3721 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3723 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3725 * LColor.[Ch]: Add comment and greyedout logical colors.
3727 2003-07-30 André Pönitz <poenitz@gmx.net>
3729 * tabular.C: don't use Assert too heavily. This crashes where it
3732 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3734 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3735 is disabled (bug 1232)
3737 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3739 * factory.C: limited 'arg' scope
3741 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3743 * factory.C: fixed Note submenu issues
3745 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3747 * factory.C: submenu for Note/Comment/Greyedout
3749 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3752 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3754 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3757 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3758 greyedout. Patch provided by Jürgen Spitzmüller.
3760 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3762 * kbmap.C (read): fix error message when reading bind files
3764 2003-07-29 Angus Leeming <leeming@lyx.org>
3766 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3767 certainly does not do what it purports to do. I am doing it, and
3768 us, a favour by killing it.
3770 2003-07-28 José Matos <jamatos@lyx.org>
3772 * buffer.C (readBody, do_writeFile):
3773 * paragraph.C(readParagraph): \end_document replaces \the_end.
3775 2003-07-29 André Pönitz <poenitz@gmx.net>
3778 * BufferView_pimpl.[Ch]:
3782 * textcursor.[Ch]: remove toggleToggle & Co
3784 2003-07-28 José Matos <jamatos@fep.up.pt>
3786 * buffer.C (readParagraph):
3787 * params_func (readParToken, readParagraph):
3788 * paragraph.C (write): \layout -> \begin_layout.
3790 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3792 * lyxlex_pimpl.C (setFile): clean up slightly.
3794 * bufferparams.h: add compressed var
3796 * buffer_funcs.C (readFile): adjust for LyXLex change
3797 (newFile): ditto + simplify
3799 * buffer.C (writeFile): handle writing of compressed files
3801 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3802 Check if the file is compressed and set a bufferparm if so.
3804 * Makefile.am (lyx_LDADD): remove explicit -lz
3806 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3808 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3809 makeDocBookFile): put the real LyX version in the first line of
3813 * version.C.in: remove lyx_docversion
3815 * tabular.C (write_attribute): add a template-based version to
3816 write enums properly
3818 2003-07-28 André Pönitz <poenitz@gmx.net>
3823 * text3.C: use doubles again for x-coordinates. They are needed.
3825 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3827 * messages.C (getLocaleDir): use lyx_localedir()
3829 * lyxlex_pimpl.C (setFile): compress stuff
3831 * buffer.C (writeFile): add some compression stuff
3832 (do_writeFile): new func, dont call expliti close... will this
3835 * Makefile.am (lyx_LDADD): add -lz
3837 2003-07-28 José Matos <jamatos@fep.up.pt>
3839 * buffer.C: increment file format.
3840 * paragraph_funcs (readParagraph, readParToken):
3841 * paragraph.C (readParagraph): add \end_layout.
3843 2003-07-27 Angus Leeming <leeming@lyx.org>
3845 * Makefile.am: remove special casing for configure-time setting of
3846 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3848 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3849 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3851 2003-07-26 André Pönitz <poenitz@gmx.net>
3853 * paragraph_func.[Ch]:
3854 * paragraph.C (realizeFont): inline it whereever it is used
3859 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3862 2003-07-26 André Pönitz <poenitz@gmx.net>
3866 * text2.C: get rid of LyXText::need_break_row
3868 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3870 * toc.[Ch]: put namespace toc inside namespace lyx
3872 * MenuBackend.C (expandToc2): adjust for lyx::toc
3875 * lyxfunc.C (dispatch): adjust for lyx::find
3877 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3878 lyx::find instead. Reorganize a bit.
3879 (LyXReplace): rename to replace
3880 (LyXFind): rename to find
3882 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3885 2003-07-26 André Pönitz <poenitz@gmx.net>
3887 * text.C (setHeightOfRow): restrict scope of temporary variable
3889 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3890 code (never has been used?)
3892 2003-07-27 Asger Alstrup <alstrup@local>
3894 * text.C (fill): Optimise algorithm to exploit that we can reuse
3895 the LyXFont for many characters.
3896 (setHeightOfRow): Same thing.
3897 (rowBreakPoint): Same thing.
3899 2003-07-26 Asger Alstrup <alstrup@local>
3901 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3903 * text.C (singleWidth): Spurious font copying in hot-spot
3904 singleWidth avoided. Reorder tests for arabic for efficiency.
3906 * text.C (fill): handle empty paragraphs better.
3908 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3911 * encoding.h: add includes
3913 * lyxrc.C: remove reading of bind files
3915 * lyx_main.C (init): setup bindings and menus only if we have a
3918 * kbmap.C (read): new method. Do the actual reading of bind
3921 * converter.C (dvipdfm_options):
3924 (output): adapt PAPER_* enums.
3926 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3928 * bufferparams.h: remove paper-related enums from there
3930 * paper.h: New file. A trivial header file to hold paper-related
3931 enums. It should later expand to contain many paper-related
3934 * lyxrc.C: declare extern displayTranslator
3936 2003-07-27 José Matos <jamatos@fep.up.pt>
3938 * tabular.[Ch] (linuxdoc): add support for tables and figures
3941 2003-07-27 José Matos <jamatos@fep.up.pt>
3943 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3944 consistency in both functions.
3945 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3947 2003-07-26 Asger Alstrup <alstrup@local>
3949 * rowpainter.C (paintRows): Change algorithm to work directly on
3950 the insets rather than asking every character in the document
3951 whether its an inset.
3953 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3955 * buffer.C (openFileWrite): factorize some code
3957 2003-07-26 Angus Leeming <leeming@lyx.org>
3960 * lyx_main.[Ch]: replace occurances of system_tempdir with
3963 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3965 * rename Inset to InsetOld
3967 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3969 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3970 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3971 which I think is a bit clearer. EDIT is gone, since it was
3972 premature optimisation, and broken for mathed anyway.
3973 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3974 with cursor positioning in insets as well (math insets still do not
3975 work, but that's a different story anyway.) It mysteriously
3976 crashes sometimes with undo in the first paragraph, but I'm fairly
3977 confident that this is a compiler bug.
3979 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3981 * paragraph.C (Paragraph): adjust for new clone return type
3983 (copyIntoMinibuffer): ditto
3985 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3987 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3988 by not having a special case, and always doing a full rebreak of
3989 the document after undo.
3991 2003-07-23 Angus Leeming <leeming@lyx.org>
3993 * factory.C (createInset): InsetExternal::setParams now takes a
3996 2003-07-23 Angus Leeming <leeming@lyx.org>
3998 * factory.C (createInset): changed interface to the external and
3999 graphics mailers' string2params functions.
4001 2003-07-23 Angus Leeming <leeming@lyx.org>
4003 * factory.C (createInset): pass a
4004 Buffer const * parameter to InsetExternalMailer's string2params.
4006 2003-07-22 John Levon <levon@movementarian.org>
4008 * Thesaurus.h: include the right aiksaurus header
4010 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4012 * MenuBackend.C (expand): check menu shortcuts unconditionally
4014 2003-07-21 Angus Leeming <leeming@lyx.org>
4016 * factory.C (createInset): pass a
4017 buffer_path parameter to InsetGraphicsMailer's string2params.
4019 2003-07-21 Angus Leeming <leeming@lyx.org>
4021 * BufferView_pimpl.C (buffer):
4024 * lyxfunc.C (dispatch):
4025 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4026 rather than the grfx shortcut.
4028 2003-07-21 André Pönitz <poenitz@gmx.net>
4030 * rowpainter.C: remove unused variables
4033 * tabular_funcs.h: move to tabular.C
4034 * Makefile.am: adjust
4036 * tabular.[Ch]: basic optical cleaning
4038 * author.h: pass references, not values
4040 2003-07-18 André Pönitz <poenitz@gmx.net>
4048 * text3.C: two-phase drawing for InsetText and InsetTabular
4049 some float -> int changes.
4051 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4053 * lyx_main.C: fix the fix
4055 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4057 * lyx_main.C: fix a crash in batch mode if no files specified
4060 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4062 * format.[Ch] (papersize): moved to BufferParams
4063 * converter.[Ch] (dvips_options): moved to BufferParams
4064 (dvipdfm_options): moved to anon namespace
4065 * bufferparams.[Ch]: added above functions.
4067 2003-07-17 André Pönitz <poenitz@gmx.net>
4071 * text2.C: don't call inset->update() anymore
4073 * metricsinfo.[Ch]: add convenience constructor
4075 2003-07-16 André Pönitz <poenitz@gmx.net>
4080 * text2.C: replace the LyXCursor::irow_ member with
4081 on-demand computation of the value
4083 2003-07-16 John Levon <levon@movementarian.org>
4085 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4087 2003-07-15 André Pönitz <poenitz@gmx.net>
4090 * text2.C: remove no more needed refresh_row
4092 2003-07-15 André Pönitz <poenitz@gmx.net>
4097 * text3.C: refresh_status tristate -> need_update bool
4099 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4101 * lyxtext.h (init): remove reinit argument (act as if always true)
4102 * text2.C: adjust to that
4104 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4106 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4107 * text3.C: use it to delete selections in some cases
4108 (bugs 441, 673, 702, 954).
4110 2003-07-14 André Pönitz <poenitz@gmx.net>
4112 * rowpainter.[Ch]: reduce interface
4114 2003-07-14 André Pönitz <poenitz@gmx.net>
4116 * BufferView_pimpl.C:
4117 * text2.C: adjust after removing unused BufferView * argument
4119 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4121 * text2.C (init): fix a crash fired on resize
4123 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4125 * buffer.[Ch]: added new closing signal
4126 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4127 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4128 BufferView::Pimpl via the closing the signal
4130 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4132 * buffer.[Ch]: take out all bv-related from buffer
4134 * BufferView_pimpl.[Ch]: connect to new signals
4135 * CutAndPaste.C: removed useless asserts
4136 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4139 * lyxfunc.C: moved view-related funciontality from vc here
4140 * paragraph.C: removed outdated comments
4143 2003-07-10 André Pönitz <poenitz@gmx.net>
4145 * BufferView_pimpl.C:
4149 * text2.C: remove InsetText::InnerCache, clean up consequences
4151 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4153 * ispell.C: fix two typos in error messages
4155 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4157 * Extend Note inset to other forms of annotation like Comment
4158 and Greyedout. Right button click gives dialog.
4160 Files modified or added (+):
4164 * ControlNote.[Ch] +
4166 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4167 frontends/controllers
4171 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4173 * aspell.C: add missing namespace lyx::support
4175 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4177 * BufferView.[Ch] (newFile): Add
4178 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4179 * LaTeX.[Ch] (message): added this signal and use it
4180 * buffer.[Ch] (busy, message): added these signals and use them
4181 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4185 * importer.C: use buffer signals instead of direct bv calling
4186 * lyx_cb.[Ch] (ShowMessage): removed
4189 * paragraph_funcs.C:
4190 * text2.C: use buffer signals
4192 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4194 * introduce namespace lyx::graphics
4196 2003-07-02 André Pönitz <poenitz@gmx.net>
4198 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4200 2003-07-01 André Pönitz <poenitz@gmx.net>
4207 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4208 text*.C to text_func.C
4210 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4212 * introduce namespace lyx::support
4214 2003-06-30 André Pönitz <poenitz@gmx.net>
4219 * text.C: re-enable --with-included-string
4221 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4223 * textcursor.C: add <config.h>
4225 * text.C (getWord): remove const from word_location arg
4227 * lyxvc.C (getLogFile): fix const type order
4229 * lyxtext.h: remove const from word_location arg, add arg name
4231 * lyxlayout.h: currect type on labeltype.
4233 * importer.C: correct \file
4235 * converter.C (intToFormat): use std:: on ret val, ws changes
4237 * bufferlist.h: correct \file
4239 * buffer.C (makeLinuxDocFile): fix const type order
4240 (makeDocBookFile): ditto
4241 (fillWithBibKeys): use std:: on stdlib args.
4243 * CutAndPaste.C: fix authors.
4244 (availableSelections): use std:: on return vector
4246 2003-06-27 André Pönitz <poenitz@gmx.net>
4248 * BufferView_pimpl.C:
4249 * bufferview_funcs.C:
4257 * text3.C: remove LyXCursor::row_ member
4260 * text.C: rename fullRebreak() to partialRebreak() and implement
4261 a fullRebreak() that really bereks fully
4263 * textcursor.h: new struct for cursor-related data
4265 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4267 * lyx_main.C (LyX): get full path of document loaded on the
4270 2003-06-26 André Pönitz <poenitz@gmx.net>
4272 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4273 remove unused/broken operator>,<,>=.
4275 * text.C: remove only use of broken operator<= in an Assert().
4277 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4279 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4280 moved errorlist_.clear to showErrorList
4282 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4284 * converter.C (scanLog, runLaTeX):
4285 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4286 move the bv->showErrorList call to the callers
4287 * lyxfunc.C: i.e. here...
4289 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4290 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4291 namespace, the second to...
4292 * buffer_funcs (BufferFormat, parseErrors): added
4293 * errorlist.C (ErrorList(TeXErrors const &)): removed
4295 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4297 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4299 2003-06-24 "Garst R. Reese" <reese@isn.net>
4303 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4305 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4307 * version.C.in: change docversion to 1.4
4309 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4311 * buffer.C: fix a bug just introduced
4313 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4315 * buffer.[Ch]: added the parseError signal and use it, removed
4317 * BufferView.[Ch] (addError): moved to ...
4318 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4319 to the Buffer::parseError signal to catch (guess what) parse errors
4320 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4322 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4324 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4325 ability to create a buffer and to return an existing one from
4326 the list. Moved these functions to...
4327 * buffer_funcs.[Ch]: added
4328 * BufferView.[Ch] (loadLyXFile): added
4329 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4330 job removed from bufferlist::loadLyXFile.
4331 * buffer.C (setReadOnly): make it work without view
4332 (i.e added an if (users))
4334 2003-06-19 Angus Leeming <leeming@lyx.org>
4337 * LyXAction.C (init):
4338 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4339 with LFUN_DIALOG_SHOW <name> <data>.
4341 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4343 * CutAndPaste.C (availableSelections): small compilation fix for
4344 ancient (gcc 2.9x) compilers
4346 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4348 * text3.C (cursorNext): add tmp var
4350 * text2.C (updateCounters): for function calling out of for clause
4351 (replaceSelectionWithString): ditto
4352 (insertStringAsParagraphs): ditto
4353 (getColumnNearX): add tmp var
4354 (setCursorFromCoordinates): add tmp var
4355 (cursorDownParagraph): add tmp var
4356 (deleteEmptyParagraphMechanism): add tmp var
4358 * text.C (insertChar): add tmp var
4360 * rowpainter.C (paintDepthBar): add tmp var
4362 * CutAndPaste.C (availableSelections): potentially check all
4363 paragraphs in a cut to fill the shown strings.
4365 2003-06-18 André Pönitz <poenitz@gmx.net>
4367 * kbmap.[Ch]: use vector<> instead of list<>
4369 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4371 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4372 pasteSelection with index
4374 * text2.C (pasteSelection): modify, call pasteSelection with index
4376 * paragraph.C (asString): reimplement version with no interval to
4377 call the one with interval.
4379 * lyxtext.h: add index arg to pasteSelection
4381 * MenuBackend.C (MenuItem): handle PasteRecent
4382 (Menu::read::Menutags): add md_pasterecent
4384 (expandPasteRecent): new function
4387 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4389 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4391 (availableSelections): new function
4393 2003-06-17 Angus Leeming <leeming@lyx.org>
4395 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4397 2003-06-17 Angus Leeming <leeming@lyx.org>
4400 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4402 * lyxfunc.C (dispatch): invoke it.
4404 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4406 * iterators.C (operator++, ParPosition): reintroduce some
4407 const_cast for the benefit of older compilers.
4409 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4411 * text3.C (dispatch): do not modify clipboard when doing
4412 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4413 LFUN_DELETE_SKIP on a selection selection
4415 2003-06-16 André Pönitz <poenitz@gmx.net>
4421 * tabular.[Ch]: IU of clone() and getLabelList();
4423 2003-06-13 André Pönitz <poenitz@gmx.net>
4425 * tabular.h: compactification
4427 2003-06-12 André Pönitz <poenitz@gmx.net>
4431 * tabular_funcs.h: some renaming plus whitespace
4433 2003-06-12 André Pönitz <poenitz@gmx.net>
4436 * BufferView_pimpl.C:
4442 * toc.C: Return a Paragraph & for ParIterator::operator*()
4444 2003-06-11 John Levon <levon@movementarian.org>
4448 * ToolbarBackend.C: add "Toolbars" section and
4451 2003-06-10 Angus Leeming <leeming@lyx.org>
4454 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4456 * lyxfunc.C (dispatch): invoke it.
4458 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4460 * main.C: protect <ios> with HAVE_IOS
4461 (main): protect sync_with_stdio with HAVE_IOS
4463 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4465 * text2.C (cutSelection): adjust
4466 (pasteSelection): adjust
4468 * messages.C: handle get of empty string
4470 * main.C (main): use sync_with_stdio(false)
4472 * lyxfunc.C (dispatch): adjust
4474 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4475 (WriteAs): remove unneeded BufferView arg.
4477 * bufferparams.h: use correct types on papersize, papersize2 and
4480 * bufferparams.C (readToken): adjust for type
4481 (writeLaTeX): add missing cases to switch.
4483 * bufferlist.C (quitWriteBuffer): adjust
4486 * buffer.C (asciiParagraph): remove some commented code.
4488 * CutAndPaste.C: remove current_view extern variable.
4489 (cutSelection): add BufferParams arg.
4490 (eraseSelection): add BufferParams arg.
4491 (pasteSelection): add Buffer const & arg
4493 2003-06-07 John Levon <levon@movementarian.org>
4496 * paragraph_funcs.C:
4497 * paragraph_pimpl.C:
4501 * paragraph.C: allow InsetERT to freely space lines,
4502 and some consolidation of code
4504 2003-06-06 José Matos <jamatos@fep.up.pt>
4506 * buffer.C (makeDocBookFile): fix bug #821
4508 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4510 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4512 2003-06-04 Angus Leeming <leeming@lyx.org>
4514 * buffer.C: bump format to 224.
4516 2003-06-05 André Pönitz <poenitz@gmx.net>
4518 * text2.C (redoParagraphs): remove two const_cast<>
4520 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4522 * ParagraphList.h: remove last remnants of NO_STD_LIST
4524 2003-06-03 Angus Leeming <leeming@lyx.org>
4526 * factory.C (createInset): small change to the way InsetExternal's params
4529 2003-06-04 André Pönitz <poenitz@gmx.net>
4531 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4533 * paragraph_pimpl.h:
4534 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4536 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4538 * undo_funcs.C: make some simple cases of undo work again
4540 2003-06-03 John Levon <levon@movementarian.org>
4542 * ispell.C: HPUX doesn't have sys/select.h
4545 2003-06-03 John Levon <levon@movementarian.org>
4547 * CutAndPaste.C: update tabular and include inset
4552 * paragraph.C: remove owningBuffer(), don't pass Buffer
4555 * factory.C: insetGraphicsParams changed
4557 2003-06-02 John Levon <levon@movementarian.org>
4563 * text3.C: remove insetparent
4565 2003-06-02 John Levon <levon@movementarian.org>
4568 * buffer.C: fix inset_iterator.end(), move out of line
4571 2003-06-01 John Levon <levon@movementarian.org>
4573 * text3.C: use a proper cut/paste when doing inset
4574 insert (from Jürgen Spitzmüller)
4576 2003-06-01 John Levon <levon@movementarian.org>
4578 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4580 2003-05-30 André Pönitz <poenitz@gmx.net>
4582 * rowpainter.C: unify second drawing phase
4584 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4586 * trans_mgr.C: remove one case of current_view
4588 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4590 * paragraph_funcs.h: remove paragraph.h include
4592 * paragraph.h: delete NO_STD_LIST stuff
4594 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4596 * buffer.h: remove paragraph.h include
4598 * ParagraphList.C: delete file
4600 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4602 * toc.C (getTocList): adjust
4604 * paragraph_pimpl.C (validate): adjust
4606 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4608 * paragraph.C (Paragraph): adjust
4609 (getPositionOfInset): use const_iterator, adjust
4610 (bibitem): use const_iterator, adjust
4611 (setInsetOwner): adjust
4613 * iterators.C (operator++): adjust
4615 * InsetList.[Ch]: Replace selfmade iterator with standard
4616 vector::iterator also introduce const_iterator. Remove getPos,
4617 getInset and setInset from InsetTable. Adjust accordingly.
4619 * BufferView.C (lockInset): adjust
4620 (ChangeInsets): adjust
4622 * tabular.[Ch]: delete commented same_id functions
4624 2003-05-28 John Levon <levon@movementarian.org>
4626 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4628 2003-05-28 André Pönitz <poenitz@gmx.net>
4630 * metricsinfo.[Ch]: remove 'fullredraw' member
4632 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4634 * lyxtextclass.C (operator): remove caching.
4636 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4640 * text2.C (cursorBottom): adjust
4641 (setCounter): use ParagraphList::find, adjust
4643 * text.C (workWidth): use ParagraphList::find, adjust
4645 * lyxcursor.C (LyXCursor): adjust
4647 * buffer.C (inset_iterator): adjust
4649 * ParagraphList.h: make iterator(value_type) private, make
4650 ParagraphList a friend of iterator.
4652 * ParagraphList.C (find): new function
4654 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4656 2003-05-27 André Pönitz <poenitz@gmx.net>
4658 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4660 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4662 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4664 2003-05-26 John Levon <levon@movementarian.org>
4666 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4668 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4670 * remove same_id from function signatures, adjust.
4672 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4674 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4676 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4678 * paragraph.C (Paragraph): get rid of same_ids parameter
4680 * ParagraphList.C (insert): adjust
4683 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4685 * paragraph_funcs.C (breakParagraph): adjust
4686 (breakParagraphConservative): adjust
4688 * buffer.C (readParagraph): adjust
4690 * ParagraphList.C (insert): take a reference instead of a pointer
4693 * paragraph.[Ch] (id): new function
4695 * bufferlist.C (newFile): adjust
4697 * ParagraphList.C (ParagraphList): adjust
4699 (push_back): take a reference instead of a pointer.
4701 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4703 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4706 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4707 set else use old code.
4709 * ParagraphList.C: remove all NO_NEXT code and only compile this
4710 code of NO_STD_LIST is set.
4712 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4714 * BufferView_pimpl.C:
4724 * graphics/GraphicsConverter.C:
4725 * graphics/PreviewLoader.C: header adjustment
4727 2003-05-23 Angus Leeming <leeming@lyx.org>
4729 * LaTeXFeatures.[Ch] (useBabel): new method.
4730 * bufferparams.C (writeLaTeX): use it.
4732 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4734 * ParagraphList.h (set): remove unused function.
4736 2003-05-23 André Pönitz <poenitz@gmx.net>
4739 * BufferView_pimpl.C:
4743 * undo_funcs.C: setUndo reworked
4745 * iterators.[Ch]: add access to topmost ParagraphList
4747 * lyxtext.[Ch] (workWidth): add a const
4749 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4751 * texrow.[Ch] (increasePos): remove function
4752 * exporter.C (export): removed unused var and outdated comment
4754 2003-05-23 Angus Leeming <leeming@lyx.org>
4756 * latexrunparams.h: rename fragile as moving_arg.
4757 * paragraph.C (simpleTeXOnePar): ditto.
4758 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4760 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4762 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4764 (textUndoOrRedo): comment out a currently unused var.
4766 * paragraph.h (NO_NEXT): enable NO_NEXT
4768 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4770 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4772 * exporter.C (Export): adjust for removeAutoInsets removal.
4774 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4776 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4778 * BufferView.[Ch] (removeAutoInsets): delete function
4780 2003-05-22 Angus Leeming <leeming@lyx.org>
4782 * latexrunparams.h: add a free_spacing variable.
4784 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4785 to pass moving_arg, as the data is stored in runparams.fragile.
4787 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4788 to Inset::latexOptional or to simpleTeXOnePar.
4790 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4791 free_spacing arg to Inset::latexOptional.
4793 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4796 2003-05-22 Angus Leeming <leeming@lyx.org>
4798 * latexrunparams.h: add fragile and use_babel variables.
4800 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4801 * buffer.C (makeLaTeXFile): store this returned value in
4802 runparams.use_babel, thus passing it to the inset::latex methods.
4804 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4805 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4807 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4808 longer has a fragile arg, as it is stored in runparams.fragile.
4810 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4811 moving_arg parameter as the data is stored in runparams.fragile.
4813 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4814 a fragile parameter as the data is stored in runparams.fragile.
4816 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4818 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4820 2003-05-22 Angus Leeming <leeming@lyx.org>
4822 * latexrunparams.h: add a 'bool nice' which defaults to false.
4824 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4825 now encapsulated within runparams.
4827 * bufferlist.C (updateIncludedTeXfiles):
4828 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4830 2003-05-22 Angus Leeming <leeming@lyx.org>
4832 * latexrunparams.h: new file containing struct LatexRunParams.
4833 * Makefile.am: add new file.
4835 * LaTeX.[Ch] (c-tor, run):
4836 * buffer.[Ch] (makeLaTeXFile):
4837 * bufferlist.[Ch] (updateIncludedTeXfiles):
4838 * converter.C (convert, scanLog):
4839 * converter.[Ch] (runLaTeX):
4840 * exporter.C (Export):
4841 * paragraph.[Ch] (simpleTeXOnePar):
4842 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4843 * paragraph_funcs.[Ch] (latexParagraphs):
4844 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4845 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4846 pass around a LatexRunParams parameter.
4848 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4850 * paragraph.[Ch]: remove unused constructor
4852 * ParagraphList.C (erase): new function, taking two iterators
4854 2003-05-22 André Pönitz <poenitz@gmx.net>
4856 * undo_funcs.C: remove duplicated code
4858 * iterator.[Ch]: operator=
4860 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4862 * tabular.C (SetMultiColumn): ws changes
4864 * rowpainter.C (paintFirst): get rid of a ->previous
4866 * lyx_cb.C (getPossibleLabel): parlist simplification
4868 * BufferView.C (ChangeInsets): simplify slightly.
4870 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4872 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4873 * lfuns.h: new LFUN_SPACE
4874 * lyxfunc.C: protected space has a new lfun
4875 * paragraph_funcs.C: read new space insets
4877 * factory.C: handle new space insets
4879 2003-05-22 André Pönitz <poenitz@gmx.net>
4882 * BufferView_pimpl.C:
4885 * undo_funcs.C: return a ParIterator from getParFromID.
4887 * iterators.[Ch]: add two const's
4889 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4891 * toc.C (getTocList): adjust
4893 * iterators.[Ch]: rework for parlist
4895 * buffer.C (par_iterator_begin): adjust
4896 (par_iterator_end): adjust
4898 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4900 * BufferView.C (removeAutoInsets): adjust
4901 (ChangeInsets): adjust
4903 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4905 * text.C (top_y): fix bug 1110
4907 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4909 * errorlist.[Ch]: added
4912 * BufferView_pimpl.C:
4913 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4916 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4918 * Makefile.am: ensure that lyx is relinked upon changes to the
4919 various "convenience" libs.
4921 2003-05-20 Angus Leeming <leeming@lyx.org>
4923 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4924 files are compiled in alphabetical order again.
4926 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4928 2003-05-19 Angus Leeming <leeming@lyx.org>
4930 * gettext.[Ch]: remove "char const * _(char const *)".
4932 2003-05-19 André Pönitz <poenitz@gmx.net>
4934 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4943 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4945 2003-05-19 André Pönitz <poenitz@gmx.net>
4949 * lyxtextclass.[Ch]:
4951 * paragraph_funcs.[Ch]:
4953 * text3.C: more insetenv work
4955 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4957 * ParagraphParameters.C (params2string): small bug fixed
4959 2003-05-16 André Pönitz <poenitz@gmx.net>
4962 * bufferview_funcs.C: patch from Kornel Benko to prevent
4963 crash when _(...) is called twice in a statement
4965 2003-05-16 André Pönitz <poenitz@gmx.net>
4972 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4974 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4976 * lyx_main.C (init): remove spurious static_cast
4978 2003-05-14 André Pönitz <poenitz@gmx.net>
4980 * BufferView.C: fix format string
4982 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4984 * BufferView.[Ch] (insertErrors): removed
4985 * BufferView.[Ch] (showErrorList): added
4986 * buffer.C (runChkTeX):
4987 * converter.C (scanLog): call showErrorList instead of inserterrors
4989 2003-05-13 André Pönitz <poenitz@gmx.net>
4991 * BufferView_pimpl.C:
4993 * bufferview_func.C:
5000 * tabular_funcs.h: tostr() from its own header
5002 * ParagraphParameters.C:
5007 * text3.C: STRCONV()
5009 2003-05-12 André Pönitz <poenitz@gmx.net>
5012 * BufferView_pimpl.C:
5016 * ParagraphParameters.C:
5020 * bufferview_funcs.C:
5033 * paragraph_funcs.C:
5037 * text3.C: boost::format -> bformat all over the place
5040 2003-05-09 André Pönitz <poenitz@gmx.net>
5042 * LColor.[Ch]: Pimpl the #include <map> away
5044 2003-05-09 John Levon <levon@movementarian.org>
5046 * bufferlist.C: never remove emergency saves
5048 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5050 * Makefile.am: better lib building
5052 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5054 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5056 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5057 (simpleTeXSpecialChars): adjust
5058 (simpleTeXSpecialChars): adjust
5059 * paragraph.C (simpleTeXOnePar): adjust
5060 * buffer.C (makeLaTeXFile): adjust
5062 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5064 * text2.C (changeDepth): parlist cleanup
5065 (getColumnNearX): ditto
5067 * rowpainter.C (getLabelFont): parlist cleanup
5069 * bufferlist.C (newFile): parlist cleanup
5071 * CutAndPaste.C (eraseSelection): parlist cleanup
5073 * BufferView_pimpl.C (trackChanges): parlist cleanup
5076 * BufferView.C (lockInset): parlist cleanup.
5077 (ChangeInsets): ditto
5079 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5081 * CutAndPaste.h: Update file header.
5083 * CutAndPaste.C: Update file header.
5084 Store the parts cut out of the Document in a limited_stack.
5085 (copySelection): adjust
5086 (pasteSelection): new function, takes the index in the limited stack.
5087 (nrOfParagraphs): adjust
5088 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5089 simplify error inset insertion.
5090 (checkPastePossible): adjust
5092 2003-05-06 John Levon <levon@movementarian.org>
5094 * text2.C: don't cast wrap inset to float
5096 2003-05-05 André Pönitz <poenitz@gmx.net>
5099 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5101 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5102 few naked Paragraph *.
5104 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5106 * bufferparams.C: Output warning if a document with missing
5107 TeX document class is loaded
5108 * exporter.C: Disable TeX exports if the document class is missing
5111 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5112 isTeXClassAvailable()
5114 2003-05-03 John Levon <levon@movementarian.org>
5117 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5118 explicit cursor show/hide
5120 * BufferView_pimpl.h:
5121 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5122 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5124 * lyxfunc.C: hide cursor before dispatching.
5129 * text3.C: remove explicit cursor hides
5131 2003-05-02 André Pönitz <poenitz@gmx.net>
5133 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5136 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5139 * text2.C: tiny whitespace
5141 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5143 * undo_funcs.C: almost only ws changes.
5145 * ParagraphList.C (splice): just return if pl is empty.
5147 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5149 * ParagraphList.C (splice): new function.
5151 * CutAndPaste.C (pasteSelection): use it
5153 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5155 * CutAndPaste.C (pasteSelection): remove the last next and
5156 previous from this file.
5158 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5160 * CutAndPaste.C (pasteSelection): more clean up, user proper
5161 ParagraphList functions for pasteing.
5163 * ParagraphList.C (insert): new function, three arg insert
5165 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5167 * ParagraphList.C (insert): new function, three arg insert
5169 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5172 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5174 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5176 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5178 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5180 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5182 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5183 (copySelection): clean up a bit.
5184 (pasteSelection): use make_pair
5186 * ParagraphList.C (ParagraphList): implement copy constructor
5187 (operator=): implement, base on copy constructor.
5190 * paragraph.C (erase): return a bool
5192 * paragraph_pimpl.C (erasePos): remove function, move contents...
5193 (erase): ... here. Return a bool.
5194 (erase): call erase instead of erasePos.
5196 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5198 * ParagraphList.h: define PitPosPair
5199 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5200 ParagraphList, fix a bug on pasting multiple pars
5201 * text2.C: change interface to C&P
5203 2003-04-30 André Pönitz <poenitz@gmx.net>
5205 * undo_func.C: revert part of yesterday's patch 2
5207 2003-04-30 John Levon <levon@movementarian.org>
5209 * LColor.C: s/tabular/table/
5211 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5213 * text3.C (dispatch): do not convert iterator -> pointer
5214 * undo_funcs.C (setCursorParUndo): ditto
5215 * text_funcs.C (transposeChars): ditto
5217 * text2.C (setLayout): ws changes only
5219 * text.C (breakParagraph): do not convert iterator -> pointer
5221 (acceptChange): ditto
5222 (rejectChange): ditto
5227 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5230 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5232 * text3.C (gotoInset): YABG (yet another bad getChar)
5234 2003-04-29 André Pönitz <poenitz@gmx.net>
5236 * paragraph.h: make operator= private unimplemented as long as
5239 * ParagraphList.C: whitespace
5242 * paragraph_pimpl.[Ch]:
5243 * paragraph_funcs.C:
5245 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5248 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5250 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5252 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5253 * paragraph.[Ch] (erase):
5254 * paragraph_pimpl.[Ch] (erase): change return type and value
5255 * text2.C (cutSelection): some rework
5257 2003-04-28 John Levon <levon@movementarian.org>
5259 * bufferlist.C: changes for unsaved changes dialog
5261 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5263 * bufferlist.C (newFile): set language (messages_) for new
5266 * buffer.C (readFile): ws changes only.
5268 2003-04-28 André Pönitz <poenitz@gmx.net>
5273 * BufferView_pimpl.C:
5274 * BufferView.C: getParFromID related ParagraphList::iterator changes
5276 2003-04-28 André Pönitz <poenitz@gmx.net>
5278 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5281 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5283 * messages.C: remove one more localedir class variable.
5285 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5287 * messages.C (getLocaleDir): singleton generation function
5289 (Messages): add a default constructor.
5291 * main.C (main): do not setup localedir here, do not call
5294 * gettext.C (_): use it.
5295 (gettext_init): delete funciton
5297 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5299 * gettext.C (getLyXMessages): new singleton generating function.
5301 * buffer.C (updateDocLang): adjust
5303 * Makefile.am (messages.o): add target
5304 (main.o): remove target
5306 2003-04-27 John Levon <levon@movementarian.org>
5311 * lyxvc.C: specify cancel button in Alert::prompt
5313 2003-04-26 John Levon <levon@movementarian.org>
5318 * LyXAction.C: add LFUN_INSET_SETTINGS
5320 * lyxfunc.C: don't enable tabular-feature when there's
5321 just any locking inset
5323 2003-04-26 John Levon <levon@movementarian.org>
5325 * bufferlist.C: re-add Cancel to buffer close question
5327 * lyxfunc.C: fix import UI a bit
5329 2003-04-25 John Levon <levon@movementarian.org>
5331 * gettext.C: remove the broken asserts for now
5333 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5335 * messages.C: make case where setlocale cannot comply work better.
5337 * buffer.C (updateDocLang): new function
5338 (changeLanguage): use it
5341 * text2.C (setCounter): use B_ a bit.
5343 * lyxlayout.C (Read): be sure to trim the label strings.
5345 * messages.C (Messages): fix typo in comment
5347 * buffer.C (readFile): set message_ after file is loaded.
5348 (makeDocBookFile): remove double return
5349 (changeLanguage): reset message_ upon language change.
5350 (B_): new func, use this to get translated buffer strings.
5352 * main.C: add myself and Jean Marc as authors.
5354 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5356 * messages.[hC]: pimplify Messages, and three different pimpls to be
5357 used in different circumstances.
5359 * gettext.[Ch]: change for use with new message code.
5361 2003-04-24 André Pönitz <poenitz@gmx.net>
5363 * factory.C: support for eqref
5365 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5367 * messages.[Ch]: add missing char
5369 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5371 * messages.[Ch]: New files
5373 2003-04-18 John Levon <levon@movementarian.org>
5377 * BufferView_pimpl.C:
5381 * text2.C: remove layout-copy/paste (bug 778)
5383 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5385 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5387 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5389 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5390 if they succeed. Act accordingly.
5392 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5394 * text2.C (setCharFont): adjust
5395 (setCounter): adjust
5396 (insertStringAsLines): adjust
5398 * text.C (leftMargin): adjust
5399 (setHeightOfRow): adjust
5401 * rowpainter.C (paintFirst): adjust
5404 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5406 (isFirstInSequence): ditto
5407 (getEndLabel): ditto
5410 * paragraph.C (getParLanguage): comment out some hard stuff.
5412 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5414 (simpleDocBookOnePar): ditto
5415 (makeDocBookFile): use ParagraphList::iterator
5417 * CutAndPaste.C (pasteSelection): adjust
5419 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5421 * text2.C (getFont): adjust
5422 (getLayoutFont): adjust
5423 (getLabelFont): adjust
5425 * paragraph_funcs.C (TeXOnePar): adjust
5427 * buffer.C (simpleLinuxDocOnePar): adjust
5428 (simpleDocBookOnePar): adjust
5430 * CutAndPaste.C (pasteSelection): adjust
5432 * BufferView.C (getEncoding): adjust
5434 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5436 2003-04-16 John Levon <levon@movementarian.org>
5438 * lyxfind.C: use parlist stuff for search/changes
5440 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5442 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5444 * text2.C (deleteEmptyParagraphMechanism): adjust
5446 * text2.[Ch] (ownerParagraph): delete func (both of them
5448 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5450 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5452 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5454 * ParagraphList.C: prepare for NO_NEXT
5456 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5458 * text2.C (getFont): adjust
5459 (getLayoutFont): adjust
5460 (getLabelFont): adjust
5462 * paragraph.C (getFont): adjust
5463 (getLabelFont): adjust
5464 (getLayoutFont): adjust
5466 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5468 2003-04-15 John Levon <levon@movementarian.org>
5472 * lyx_main.C: handle Include in .ui files
5474 2003-04-15 John Levon <levon@movementarian.org>
5476 * MenuBackend.C: make the doc files length shorter
5479 * ToolbarBackend.C: handle toolbar placement flags,
5482 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5484 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5487 * paragraph_funcs.C (TeXOnePar): adjust
5489 * paragraph.C (getLabelFont): add outerfont arg, adjust
5490 (getLayoutFont): ditto
5491 (simpleTeXOnePar): adjust
5493 * paragraph_pimpl.C (realizeFont): delete func
5495 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5497 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5498 row argument, constify cur argument.
5500 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5502 * text2.C (getFont): adjust
5503 (getLayoutFont): adjust
5504 (getLabelFont): adjust
5506 * paragraph_funcs.C (TeXOnePar): adjust
5507 (outerFont): new func...
5508 (realizeFont): ...moved out from here, changed this to facilitate
5511 * paragraph.C (getFont): take outerfont as arg, adjust
5512 (simpleTeXOnePar): add outerfont arg, adjust
5514 * buffer.C (simpleLinuxDocOnePar): adjust
5515 (simpleDocBookOnePar): adjust
5517 * CutAndPaste.C (pasteSelection): adjust
5519 * BufferView.C (getEncoding): adjust
5521 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5523 * text2.C (setCharFont): adjust
5524 (setCounter): adjust
5526 * text.C (leftMargin): adjust
5527 (setHeightOfRow): adjust
5529 * rowpainter.C (paintFirst): adjust
5532 * paragraph_pimpl.C (realizeFont): adjust
5534 * paragraph.C (isFirstInSequence): move from here...
5535 * paragraph_funcs.C (isFirstInSequence): ...to here
5537 * paragraph.C (outerHook): move from here...
5538 * paragraph_funcs.C (outerHook): ...to here
5540 * paragraph.C (depthHook): move from here...
5541 * paragraph_funcs.C (depthHook): ...to here
5543 * paragraph.C (getEndLabel): move from here...
5544 * paragraph_funcs.C (getEndLabel): ...to here
5546 * text2.C (realizeFont): move from here...
5547 * paragraph_funcs.C (realizeFont): ...to here
5549 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5551 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5553 2003-04-14 Angus Leeming <leeming@lyx.org>
5555 * LColor.[Ch]: scrap LColor mathcursor.
5557 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5559 * lyxlex.[Ch] (text): delete function
5560 * trans.C (Load): adjust
5561 * paragraph_funcs.C (readParToken): adjust
5563 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5565 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5566 vector<char> instead of a char[].
5568 * lyxlex_pimpl.C (getString): adjust
5570 (lex): use getString
5574 * lyxlex.C (text): use pimpl_->getString()
5578 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5580 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5581 (makeFontEntriesLayoutSpecific): temp var for par.size()
5582 (setLayout): temp var for ownerParagraphs().end()
5583 (fullRebreak): temp var for rows().end()
5584 (selectionAsString): temp var for boost::next(startpit), realize
5585 that the while really is a regular for loop.
5586 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5587 setCursor in one place.
5588 (setParagraph): temp vr for ownerParagraphs().end()
5589 (updateCounters): make the while loop a for loop
5590 (cutSelection): temp var for ownerParagraphs().end()
5591 (updateInset): make the do {} while() a regular for loop
5592 (getCursorX): use temp vars
5593 (setCurrentFont): use temp vars
5594 (getColumnNearX): use temp vars
5596 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5598 * text.C (transformChar): use temp var for getChar
5599 (computeBidiTables): use temp var for row->par()
5600 (fill): move temp vars for row->par() and pit->layout() earlier in
5602 (labelFill): use temp var for row->par()
5603 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5604 asc and desc, realize that pit never changes and that firstpit is
5605 just a duplicate and not needed. Exchange rit->par() with pit in a
5607 (breakAgain): use a temp var for boost::next(rit)
5608 (breakAgainOneRow): ditto
5609 (breakParagraph): use a temp var for rows().begin()
5610 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5611 (cursorRightOneWord): use temp var for cursor.par() and
5612 cursor.pos(), remove usage of tmpcursor.
5613 (cursorLeftOneWord): use temp var for cursor.par() and
5614 cursor.pos() only set cur at end of function.
5616 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5618 * text.C, text2.C: exchange all usage of Paragraph::next with
5619 boost::next(ParagraphList::iterator)
5621 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5623 * text2.C (cursorTop): simplify implementation
5624 (cursorBottom): ditto
5625 (setParagraph): use ParagraphList::iterator
5626 (setCurrentFont): adjust
5627 (getColumnNearX): adjust
5628 (cursorRight): adjust
5629 (cursorLeft): remove usage of Paragraph::previous
5630 (cursorUpParagraph): ditto
5631 (deleteEmptyParagraphMechanism): slight cleanup
5633 * text.C (isBoundary): take a Paragraph const & instead of a
5635 (addressBreakPoint): ditto
5636 (leftMargin): remove usage of Paragraph::previous.
5637 (setHeightOfRow): ditto
5638 (cursorLeftOneWord): ditto
5639 (selectNextWordToSpellcheck): ditto
5642 (breakParagraph): remove one usage of Paragraph::next
5643 (redoParagraph): ditto
5644 (acceptChange): ditto
5645 (insertChar): adjust
5646 (rowBreakPoint): adjust
5648 * bufferview_funcs.C (toggleAndShow): adjust
5650 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5652 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5653 methods to access it.
5655 * text.C: Added updateRowPositions to compute all row positions.
5656 Make top_y and getRowNearY() to use the cached y position
5658 2003-04-11 John Levon <levon@movementarian.org>
5660 * text.C (rowBreakPoint): reintroduce the labelEnd
5661 checks, code copied from the row fill stuff. Deep voodoo.
5663 * text.C (fill): add a comment and debugging for the
5666 2003-04-11 John Levon <levon@movementarian.org>
5668 * text.C: make sure fullrow insets get wrapped to the next line,
5669 even when they're in a manual label
5671 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5673 * text2.C (insertParagraph): make it take ParagraphList::iterator
5675 (setLayout): make it return ParagraphList::iterator
5676 (redoParagraphs): ditto
5678 (checkParagraph): ditto
5680 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5682 * text2.C: adjust several funcs.
5683 (realizeFont): take a ParagraphList::iterator as arg.
5684 (getLayoutFont): ditto
5685 (getLabelFont): ditto
5686 (setCharFont): ditto
5688 * text.C: adjust several funcs.
5690 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5692 * text.C (selectNextWordToSpellcheck): don't accidentally
5695 2003-04-10 John Levon <levon@movementarian.org>
5697 * ToolbarBackend.C (getIcon): special handling for
5700 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5702 * text2.C (cursorRight): a getChar assert fixed
5704 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5706 * text2.C (getFont): change to take a ParagraphList::iterator
5707 instead of Paragraph*
5708 Adjust several functions.
5710 * text.C (transformChar): change to take a ParagraphList::iterator
5711 instead of Paragraph*
5712 (singleWidth): ditto
5713 Adjust several functions.
5715 * rowpainter.C: adjust several functions
5716 * rowpainter.h:store a ParagraphList::iterator and not a
5720 2003-04-09 John Levon <levon@movementarian.org>
5725 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5726 and the "help" bits as well
5728 2003-04-09 John Levon <levon@movementarian.org>
5731 * ToolbarBackend.C: allow multiple toolbars
5733 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5735 * undo_funcs.C (setCursorParUndo): adjust
5737 * text_funcs.C (transposeChars): adjust
5739 * text3.C (gotoNextInset): adjust
5742 * text2.C (setLayout): adjust
5743 (changeDepth): adjust
5745 (redoParagraphs): adjust
5746 (selectionAsString): adjust
5747 (setParagraph): adjust
5748 (insertInset): adjust
5749 (cutSelection): adjust
5750 (copySelection): adjust
5751 (pasteSelection): adjust
5752 (insertStringAsLines): adjust
5753 (updateInset): adjust
5754 (setCursor): change to take a ParagraphList::iterator parameter
5755 (setCursorIntern): change to take a ParagraphList::iterator parameter
5756 (setCurrentFont): adjust
5757 (cursorLeft): adjust
5758 (cursorRight): adjust
5759 (deleteEmptyParagraphMechanism): adjust
5761 * text.C (breakParagraph): adjust
5762 (insertChar): adjust
5763 (acceptChange): adjust
5764 (rejectChange): adjust
5765 (selectNextWordToSpellcheck): adjust
5766 (changeCase): adjust
5770 * lyxfind.C (SearchForward): adjust
5771 (SearchBackward): adjust
5772 (nextChange): adjust
5774 * lyxcursor.C (par): adjust
5776 * lyxcursor.h: store a ParagraphList::iterator instead of a
5779 * lyx_cb.C (getPossibleLabel): adjust
5781 * bufferview_funcs.C (toggleAndShow): adjust
5783 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5786 * BufferView.C (removeAutoInsets): adjust
5787 (lockedInsetStoreUndo): adjust
5789 2003-04-09 John Levon <levon@movementarian.org>
5791 * ToolbarBackend.C: try icon without argument
5792 if with argument fails
5794 2003-04-08 John Levon <levon@movementarian.org>
5797 * ToolbarBackend.C: add getIcon(), handle tooltip,
5798 and change from "Icon" to "Item".
5800 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5802 * BufferView.C (lockInset): another bad getchar crunched
5804 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5806 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5809 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5811 * lyxfind.C (searchForward, searchBackwards): bug 782
5813 2003-04-07 John Levon <levon@movementarian.org>
5815 * paragraph.C: remove dead comment
5817 * text.C: remove troublesome depth-fiddling code
5818 in leftMargin() and rightMargin() (bug 1017)
5820 * text.C: fix breaking of rows in nested lists
5823 * text2.C (updateCounters): fix up depth values
5826 2003-04-07 John Levon <levon@movementarian.org>
5828 * BufferView_pimpl.C: clear message when doc finishes resizing,
5829 and after a mouse event
5831 * lyxfunc.C: clear message after exiting inset
5833 2003-04-07 John Levon <levon@movementarian.org>
5835 * bufferview_funcs.C: show math status not outside
5836 status in the statusbar
5838 2003-04-07 John Levon <levon@movementarian.org>
5840 * lyxfunc.C: note status changed after a depth change
5842 2003-04-04 Angus Leeming <leeming@lyx.org>
5844 * LaTeX.h: move AuxInfo operator==, != out of line.
5845 Remove LaTeX virtual destructor; nothing derives from it.
5846 Move operator()() out of public area and rename it startscript().
5847 Change protected for private.
5849 2003-04-04 Angus Leeming <leeming@lyx.org>
5852 * text2.C: remove unneeded #includes.
5854 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5856 * text2.C (dEPM): fix the heigth of the next row
5858 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5860 * text.C: squashed an invalid getChar requester + some ws changes
5862 2003-04-03 John Levon <levon@movementarian.org>
5864 * bufferview_funcs.h:
5865 * bufferview_funcs.C:
5868 * text2.C: make getStatus work for the env depth lfuns
5870 2003-04-03 John Levon <levon@movementarian.org>
5872 * bufferview_funcs.h:
5873 * bufferview_funcs.C:
5876 * text2.C: parlistize decDepth(), by merging it with incDepth()
5878 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5880 * lyxrow.h: store a ParagraphList::iterator instead of a
5881 Paragraph* and adjust other class functions to suit.
5883 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5886 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5888 * text2.C (setCursor): do not anchor to cursor row for the time being
5890 2003-04-02 John Levon <levon@movementarian.org>
5897 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5899 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5901 * paragraph.h: make ParagraphList and ParagraphList::iterator
5902 friends of Paragraph.
5904 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5906 * ParagraphList.C: Use the private next_ and previous_ from
5909 2003-04-01 John Levon <levon@movementarian.org>
5913 * Makefile.am: rename, remove defaults gunk
5916 * MenuBackend.C: remove defaults gunk
5919 * Languages.C: remove defaults gunk
5922 * lyx_main.C: error out if files couldn't be found.
5924 2003-04-02 John Levon <levon@movementarian.org>
5926 * text2.C: make incDepth() use parlist
5928 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5930 * undo_funcs.C (firstUndoParagraph): adjust
5932 * text3.C (gotoInset): adjust
5933 (dispatch): adjust, and rewrite loop.
5935 * text2.C (init): adjust, and rewrite loop.
5936 (redoParagraphs): adjust
5937 (updateInset): adjust, and rewrite loop.
5938 (deleteEmptyParagraphMechanism): adjust
5940 * tabular.C (LyXTabular): adjust
5941 (SetMultiColumn): adjust
5944 * lyxtext.[Ch] (ownerParagraph): delete function
5945 (ownerParagraphs): new function returns a ParagraphList.
5947 * BufferView.C (removeAutoInsets): adjust
5948 (insertErrors): adjust
5949 (setCursorFromRow): adjust
5951 2003-04-01 Angus Leeming <leeming@lyx.org>
5953 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5956 2003-04-02 John Levon <levon@movementarian.org>
5962 * text_funcs.C: make transposeChars a free function
5964 * lyxrow_funcs.C: remove wrong comment
5966 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5969 * rowpainter.C: adjust
5974 * lyxrow_funcs. [Ch]: new files
5976 * lyxrow.[Ch]: remove next and previous pointers
5977 (next,previous): remove accessor functions
5978 (isParEnd): move to lyxrow_funcs
5979 (lastPos): move to lyxrow_funcs
5980 (nextRowIsAllInset): move to lyxrow_funcs
5981 (lastPrintablePos): move to lyxrow_funcs
5982 (numberOfSeparators): move to lyxrow_funcs
5983 (numberOfHfills): move to lyxrow_funcs
5984 (numberOfLabelHfills): move to lyxrow_funcs
5985 (hfillExpansion): move to lyxrow_funcs
5989 * bufferview_funcs.C (toggleAndShow): adjust
5991 * RowList.h: Remove class RowList from file leave just a
5994 * RowList.C: delete file
5996 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5999 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6001 * text3.C (cursorPrevious): adjust
6002 (cursorNext): adjust
6005 * text2.C (redoHeightOfParagraph): adjust
6006 (redoDrawingOfParagraph): adjust
6009 * text.C (breakParagraph): adjust
6010 (insertChar): adjust
6013 * rowpainter.C (RowPainter): adjust
6014 (leftMargin): simplify and adjust
6015 (most rowpainter functions): adjust.
6017 * rowpainter.h: store the row as RowList::iterator not as Row*
6019 * lyxcursor.C (row): taka RowList::iterator as arg
6022 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6025 2003-04-01 Angus Leeming <leeming@lyx.org>
6027 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6028 stuff like bool Bool.
6030 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6032 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6035 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6037 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6040 * lyxtext.h (rows): drop one version and leve a const variant that
6041 returns a RowList::iterator.
6043 2003-03-31 Angus Leeming <leeming@lyx.org>
6045 * text.C (fill): ensure that the signature is the same as that in the
6048 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6050 * text2.C (redoParagraphs): adjust
6051 (updateCounters): adjust
6052 (checkParagraph): adjust
6053 (getColumnNearX): adjust and reformat a bit.
6055 * text.C (top_y): adjust
6057 (leftMargin): adjust
6058 (prepareToPrint): adjust
6060 (getRowNearY): adjust
6062 * lyxtext.h: make rowlist_ mutable.
6064 * RowList.h: add const_iterator
6065 * RowList.C: adjust for RowList::const_iterator.
6067 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6070 2003-03-31 John Levon <levon@movementarian.org>
6073 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6075 * lyx_main.C: set default fonts from using lyx_gui funcs
6077 * exporter.C: pdf_mode moved from lyxrc
6080 * lyxfunc.C: changes from above
6082 2003-03-31 John Levon <levon@movementarian.org>
6084 * lyx_main.C: fix to the last fix
6086 2003-03-31 John Levon <levon@movementarian.org>
6088 * bufferlist.C: "Load original" -> "Load Original"
6094 * format.C: more Alert cleanups
6096 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6098 * text2.C (removeParagraph): make it take a RowList::iterator as
6100 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6101 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6103 * text.C (anchor_row): make it take a RowList::iterator as arg,
6105 (computeBidiTables): make it take a const reference to Row instead
6106 of Row pointer, adjust.
6107 (leftMargin): make it take a RowList::iterator as arg, adjust.
6108 (rowBreakPoint): adjust
6109 (breakAgainOneRow): make it take a RowList::iterator as arg,
6111 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6113 * bufferview_funcs.C (toggleAndShow): adjust
6115 2003-03-30 John Levon <levon@movementarian.org>
6119 * boost-inst.C: moved to support
6121 * several files: changes as a result
6123 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6125 * text2.C (LyXText): adjust.
6127 (removeRow): make it take a RowList::iterator as arg, adjust.
6128 (fullRebreak): adjust
6129 (deleteEmptyParagraphMechanism): adjust
6130 (clearPaint): adjust
6133 * text.C (top_y): adjust
6134 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6135 (breakAgain): make it take a RowList::iterator as arg, adjust.
6136 (breakParagraph): adjust
6137 (insertChar): adjust
6140 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6141 need_break_row, and refresh_row.
6143 * text3.C (dispatch): adjust
6145 * text2.C (checkParagraph): adjust
6147 (setCursorFromCoordinates): adjust
6149 * text.C (top_y): adjust
6151 (getRow): make it return a RowList::iterator, adjust
6152 (getRowNearY): make it return a RowList::iterator, adjust
6154 * text2.C (init): adjust
6155 (insertRow): remove function
6156 (insertParagraph): adjust
6157 (redoParagraphs): adjust
6158 (fullRebreak): adjust
6159 (updateCounters): adjust
6161 * text.C (top_y): rewrite to use RowList iterators.
6163 (setHeightOfRow): rewrite to sue RowList iterators.
6164 (appendParagraph): adjust
6165 (breakAgain): adjust
6166 (breakAgainOneRow): adjust
6167 (breakParagraph): adjust
6169 (getRowNearY): adjust, and remove commented code.
6171 * lyxtext.h (firstRow): delete function
6172 (lastRow): delete function
6173 (rows): new function (const and non-const versions.)
6174 (insertRow): delete function
6176 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6178 2003-03-29 John Levon <levon@movementarian.org>
6180 * BufferView_pimpl.C: always update scrollbar top
6181 because pasting text when we're anchored could mean we
6182 miss an update altogether
6184 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6186 * text2.C (init): use rowlist_.end() and not 0.
6187 (insertRow): change to take a RowList::iterator as arg, adjust
6189 (insertParagraph): change to take a RowList::iterator as arg,
6191 (redoParagraphs): remove some debug msgs.
6193 * text.C (appendParagraph): change to take a RowList::iterator
6194 arg, adjust for this.
6195 (breakAgain): add an assert
6196 (breakAgainOneRow): ditto
6198 2003-03-29 John Levon <levon@movementarian.org>
6200 * text2.C: do not clear selection after inc/decDepth
6203 2003-03-29 John Levon <levon@movementarian.org>
6206 * buffer.C: fix broken strerrors according to Lars
6208 2003-03-29 John Levon <levon@movementarian.org>
6210 * converters.C: more Alert cleanups
6212 2003-03-29 John Levon <levon@movementarian.org>
6214 * bufferview_funcs.C: remove pointless Alert
6216 * buffer.C: fix confusing error message when
6217 a template is chmoded 000
6219 2003-03-29 John Levon <levon@movementarian.org>
6223 * BufferView_pimpl.C: Alert fixes
6227 * tabular-old.C: remove unused table compat reading
6229 2003-03-29 John Levon <levon@movementarian.org>
6234 * lyx_cb.C: more Alert cleanups
6236 * lyxfunc.C: don't allow chktex if not latex document
6238 2003-03-29 John Levon <levon@movementarian.org>
6242 * buffer.C: warnings pushed down from support/,
6245 2003-03-29 John Levon <levon@movementarian.org>
6247 * lyxfunc.C: safety check for C-r (revert)
6249 2003-03-29 John Levon <levon@movementarian.org>
6252 * bufferlist.C: several UI fixes using Alert::prompt.
6253 Fix the pointless looping quit code. Fix stupid revert
6258 * lyx_cb.C: use Alert::prompt
6260 * lyx_main.C: remove a silly question
6262 * lyxfunc.C: remove a couple of silly questions,
6265 2003-03-28 John Levon <levon@movementarian.org>
6267 * text2.C: fix bug 974 (End on empty par)
6269 2003-03-28 John Levon <levon@movementarian.org>
6271 * BufferView_pimpl.C:
6273 * lfuns.h: remove do-nothing math greek lfuns
6275 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6277 * lyxgluelength.h (isValidGlueLength): add default arg on
6278 parameter 2. Remove default arg from friend in class.
6280 * lyxlength.h (isValidLength): add default arg on parameter 2.
6281 Remove default arg from friend in class.
6283 * text2.C (LyXText): adjust, initialize refresh_row.
6287 (insertParagraph): adjst
6288 (redoParagraphs): adjust
6289 (fullRebreak): adjust
6290 (updateCounters): adjust
6291 (deleteEmptyParagraphMechanism): first attempt at fixing a
6294 * text.C (top_y): adjust
6295 (setHeightOfRow): adjust
6297 (getRowNearY): adjust
6299 * lyxtext.h: include RowList.h
6300 (~LyXText): not needed anymore, deleted.
6301 (firstRow): modify for RowList
6302 (lastRow): new function
6303 Delete firstrow and lastrow class variables, add a Rowlist
6304 rowlist_ class variable.
6306 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6309 * RowList.C (insert): fix case where it == begin().
6311 2003-03-26 Angus Leeming <leeming@lyx.org>
6313 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6314 the thesaurus dialog.
6316 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6318 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6320 * RowList.[Ch]: new files
6322 * ParagraphList.C (erase): handle the case where it == begin
6325 2003-03-25 John Levon <levon@movementarian.org>
6329 * aspell.C: add new aspell support
6332 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6335 2003-03-25 Angus Leeming <leeming@lyx.org>
6338 * LyXAction.C (init): new LFUN_INSET_INSERT.
6340 * BufferView_pimpl.C (dispatch): split out part of the
6341 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6343 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6346 2003-03-25 Angus Leeming <leeming@lyx.org>
6348 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6350 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6353 * text3.C: remove useless row->height(0)
6355 2003-03-25 John Levon <levon@movementarian.org>
6359 * text3.C: rename the refreshing stuff to better names
6361 2003-03-24 John Levon <levon@movementarian.org>
6363 * BufferView_pimpl.h:
6364 * BufferView_pimpl.C: update layout choice on a mouse
6367 2003-03-23 John Levon <levon@movementarian.org>
6369 * Makefile.am: fix commandtags.h reference
6371 2003-03-22 John Levon <levon@movementarian.org>
6373 * BufferView_pimpl.C:
6378 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6380 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6383 * text.C: take the rtl methods out of line
6385 2003-03-21 André Pönitz <poenitz@gmx.net>
6387 * metricsinfo.[Ch]: new files containing structures to be passed around
6388 during the two-phase-drawing...
6390 2003-03-21 André Pönitz <poenitz@gmx.net>
6392 * lyxtextclass.C: read 'environment' tag.
6394 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6396 * text2.C (removeRow): fix bug 964
6398 2003-03-20 John Levon <levon@movementarian.org>
6402 * text2.C: paint cleanups. Inset::update() dropped font
6405 2003-03-19 John Levon <levon@movementarian.org>
6407 * lyxfunc.C: only fitcursor/markDirty if available()
6409 2003-03-19 John Levon <levon@movementarian.org>
6411 * commandtags.h: rename to ...
6413 * lfuns.h: ... this, and renumber / cleanup
6415 2003-03-19 John Levon <levon@movementarian.org>
6417 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6418 fit the cursor after an lfun
6422 * BufferView_pimpl.h:
6423 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6425 * LyXAction.C: layout-character should have ReadOnly
6427 * ParagraphParameters.C:
6429 * bufferview_funcs.C:
6436 * undo_funcs.C: changes from above
6438 2003-03-18 John Levon <levon@movementarian.org>
6440 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6441 remove it from update()
6443 * lyxfunc.C: update layout choice after an lfun
6445 * text3.C: remove extra updateLayoutChoice()s
6447 2003-03-18 John Levon <levon@movementarian.org>
6449 * text.C: top_y change means full repaint, fix
6450 a drawing bug with cursor movement
6452 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6456 * text2.C: anchor row on setCursor
6458 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6460 * lyxtext.h: remove almost all mutable keywords
6463 * text3.C: remove const keywords accordingly
6465 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6467 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6469 (TeXEnvironment): ditto
6472 2003-03-17 John Levon <levon@movementarian.org>
6474 * text.C (rowBreakPoint): remove attempt to fix displayed
6475 math insets inside a manual label
6477 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6479 * lyxtext.h: remove BufferView* as first arg from almost all class
6481 * other files: adjust.
6483 2003-03-17 John Levon <levon@movementarian.org>
6487 * text2.C: more paint cleanups
6489 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6492 * rowpainter.C: remove "smart" background painting code
6494 2003-03-16 John Levon <levon@movementarian.org>
6499 * text3.C: add helper functions for setting refresh_row/y
6501 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6503 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6504 newline inset which *can* get inserted in the pass_thru layouts.
6505 This is primarily for literate documents.
6507 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6509 * buffer.C: increment LYX_FORMAT to 223
6511 2003-03-14 André Pönitz <poenitz@gmx.net>
6513 * textclass.h: prepare for environment handling, ws changes
6514 * lyxlayout.C: read latexheader and latexfooter tags
6516 2003-03-14 John Levon <levon@movementarian.org>
6518 * text2.C: rewrite ::status() a bit
6520 2003-03-13 John Levon <levon@movementarian.org>
6522 * lyxtext.h: add some docs
6524 2003-03-13 John Levon <levon@movementarian.org>
6529 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6531 2003-03-13 John Levon <levon@movementarian.org>
6533 * text3.C: fix appendix redrawing
6535 2003-03-13 John Levon <levon@movementarian.org>
6537 * text.C (setHeightOfRow):
6539 * rowpainter.C: make appendix mark have the text
6540 "Appendix" so the user knows what it is
6543 * LColor.C: s/appendixline/appendix/ from above
6545 2003-03-13 John Levon <levon@movementarian.org>
6547 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6549 * text.C: fix a getChar(pos) bug properly
6551 2003-03-13 Angus Leeming <leeming@lyx.org>
6554 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6555 Probably only temporary. Let's see how things pan out.
6557 * BufferView.C (unlockInset):
6558 * BufferView_pimpl.C (fitCursor):
6559 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6561 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6562 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6564 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6565 new functions that convert ParagraphParameters to and from a string.
6567 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6568 BufferView::Pimpl's dispatch.
6569 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6571 2003-03-13 André Pönitz <poenitz@gmx.net>
6575 * factory.C: make it aware of InsetEnv
6577 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6579 * text2.C (setCursor): never ask for one past last
6580 (setCursor): add some debugging messages.
6582 * text.C (singleWidth): never ask for one past last
6583 (singleWidth): ditto
6585 (rightMargin): ditto
6586 (rowBreakPoint): ditto
6587 (setHeightOfRow): ditto
6588 (prepareToPrint): ditto
6590 * rowpainter.C (paintBackground): never ask for one past last
6591 (paintText): never ask for one past last
6593 * paragraph_pimpl.C (getChar): make the assert stricter, never
6594 allow the one past last pos to be taken
6596 * paragraph.C (getChar): ws changes only
6598 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6599 (numberOfSeparators): ditto
6600 (numberOfHfills): ditto
6602 2003-03-12 John Levon <levon@movementarian.org>
6608 * paragraph_funcs.C: fix per-buffer authorlists
6610 2003-03-12 John Levon <levon@movementarian.org>
6612 * text.C: fix newline in right address
6614 2003-03-12 Angus Leeming <leeming@lyx.org>
6616 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6617 duplicate those in LyXFunc::dispatch.
6621 * ToolbarDefaults.C:
6622 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6623 Add LFUN_FONTFREE_UPDATE.
6625 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6626 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6628 * bufferview_func.[Ch]: several new functions to facilliate
6629 transfer of data to and from the character dialog.
6631 2003-03-12 John Levon <levon@movementarian.org>
6636 * paragraph_funcs.C:
6637 * paragraph_pimpl.C:
6641 * text3.C: remove META_NEWLINE in favour of an inset
6644 * rowpainter.C: remove paintNewline (done by inset)
6646 2003-03-12 John Levon <levon@movementarian.org>
6648 * paragraph_pimpl.C: complain about bad getChar()s
6649 for a while at least
6651 2003-03-12 John Levon <levon@movementarian.org>
6654 * buffer.C: move paragraph read into a separate function,
6655 a little renaming to reflect that.
6658 * bufferparams.C: remove the author_ids map, not necessary now
6661 * factory.C: moved Buffer::readInset to here
6663 * paragraph_funcs.h:
6664 * paragraph_funcs.C: readParagraph free function moved from
6667 * tabular.C: name change
6669 2003-03-12 John Levon <levon@movementarian.org>
6672 * ParagraphParameters.C: move par params input to
6675 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6676 behave like a normal read from the stream wrt reading
6677 a line vs. a \\token
6679 2003-03-12 John Levon <levon@movementarian.org>
6682 * ParagraphParameters.h:
6683 * ParagraphParameters.C: move output code to a
6686 2003-03-12 John Levon <levon@movementarian.org>
6688 * BufferView.C (insertLyXFile):
6691 * tabular.C: use a parlist iterator for creating the
6694 2003-03-12 John Levon <levon@movementarian.org>
6696 * buffer.C: make current_change static local not
6699 2003-03-12 John Levon <levon@movementarian.org>
6701 * buffer.C: fix insertStringAsLines for change tracking
6703 2003-03-12 John Levon <levon@movementarian.org>
6710 * bufferparams.C: move author list into params. Rename some
6711 functions. Move the header reading into a separate token
6712 loop. Move the header token reading into BufferParams.
6714 2003-03-12 John Levon <levon@movementarian.org>
6716 * changes.C: put debug inside lyxerr.debugging() checks
6718 2003-03-11 André Pönitz <poenitz@gmx.net>
6720 * factory.C: make it aware of InsetHFill
6722 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6724 * buffer.C (latexParagraphs): move function from here...
6725 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6728 2003-03-10 Angus Leeming <leeming@lyx.org>
6730 * LyXAction.C (init): fix bug in poplating array with multiple entries
6731 with the same LFUN (spotted by JMarc).
6733 2003-03-10 John Levon <levon@movementarian.org>
6736 * text2.C: move getColumnNearX() near its
6739 2003-03-10 John Levon <levon@movementarian.org>
6741 * text.C: fix break before a minipage
6743 2003-03-10 John Levon <levon@movementarian.org>
6745 * text.C: fix the last commit
6747 2003-03-09 John Levon <levon@movementarian.org>
6751 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6752 bug 365 (don't break before insets unless needed). Don't
6753 return a value > last under any circumstances.
6755 2003-03-09 Angus Leeming <leeming@lyx.org>
6757 * BufferView_pimpl.C (trackChanges, dispatch): call
6758 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6760 2003-03-09 Angus Leeming <leeming@lyx.org>
6762 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6763 than Dialogs::showAboutlyx().
6765 2003-03-09 Angus Leeming <leeming@lyx.org>
6767 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6768 than Dialogs::showTabularCreate().
6770 2003-03-09 John Levon <levon@movementarian.org>
6774 * text2.C: 3rd arg to nextBreakPoint was always the same.
6777 2003-03-08 John Levon <levon@movementarian.org>
6784 * text2.C: Remove the "main" bit from the "main body"
6787 2003-03-08 John Levon <levon@movementarian.org>
6789 * text.C (leftMargin): The left margin of an empty
6790 manual label paragraph should not include the label width
6793 * text.C (prepareToPrint): don't attempt to measure hfills
6794 for empty manual label paragraphs - the answer should be 0
6796 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6798 * CutAndPaste.C: remove commented code and reindent.
6800 2003-03-08 John Levon <levon@movementarian.org>
6803 * lyxfunc.C: move reloadBuffer()
6806 * BufferView.C: to here
6808 * lyxvc.C: add comment
6811 * vc-backend.C: call bv->reload() to avoid
6812 getStatus() check on MENURELOAD
6814 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6816 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6817 to an old format .dep file.
6819 2003-03-07 Angus Leeming <leeming@lyx.org>
6821 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6822 when the LFUN_MOUSE_RELEASE should have been handled by
6823 inset->localDispatch.
6825 2003-03-07 Angus Leeming <leeming@lyx.org>
6827 * BufferView_pimpl.C (dispatch):
6828 * LyXAction.C (init):
6829 * ToolbarDefaults.C (init):
6831 * lyxfunc.C (getStatus):
6832 remove LFUN_INSET_GRAPHICS.
6834 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6836 2003-03-07 Angus Leeming <leeming@lyx.org>
6839 * LyXAction.C (init):
6840 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6842 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6845 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6847 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6848 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6850 2003-03-07 Angus Leeming <leeming@lyx.org>
6852 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6855 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6857 * ParagraphList.C (front): new function
6860 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6862 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6863 and top_row_offset_. removed var first_y.
6865 * text2.C (LyXText, removeRow):
6867 * BufferView_pimpl.C:
6868 use these methods instead of using first_y
6870 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6872 * text2.C (pasteSelection): adjust for checkPastePossible
6874 * CutAndPaste.C: remove Paragraph * buf and replace with
6875 ParagraphList paragraphs.
6876 (DeleteBuffer): delete
6877 (cutSelection): change the tc type to textclass_type
6878 (copySelection): change the tc type to textclass_type
6879 (copySelection): adjust for ParagraphList
6880 (pasteSelection): change the tc type to textclass_type
6881 (pasteSelection): adjust for Paragraphlist
6882 (nrOfParagraphs): simplify for ParagraphList
6883 (checkPastePossible): simplify for ParagraphList
6884 (checkPastePossible): remove unused arg
6886 * ParagraphList.C (insert): handle the case where there are no
6889 * CutAndPaste.h: make CutAndPaste a namespace.
6891 * text3.C (dispatch): adjust
6893 * text.C (breakParagraph): add a ParagraphList as arg
6895 * paragraph_funcs.C (breakParagraph): change to take a
6896 BufferParams and a ParagraphList as args.
6897 (breakParagraphConservative): ditto
6898 (mergeParagraph): ditto
6899 (TeXDeeper): add a ParagraphList arg
6900 (TeXEnvironment): ditto
6903 * buffer.C (readLyXformat2): adjust
6904 (insertStringAsLines): adjust
6905 (latexParagraphs): adjust
6907 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6908 (cutSelection): adjust
6909 (pasteSelection): adjust
6911 * BufferView_pimpl.C (insertInset): adjust
6913 2003-03-05 Angus Leeming <leeming@lyx.org>
6916 * LyXAction.C (init):
6917 * BufferView_pimpl.C (dispatch):
6918 * lyxfunc.C (getStatus):
6919 remove LFUN_CHILD_INSERT.
6921 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6923 2003-03-05 Angus Leeming <leeming@lyx.org>
6926 * LyXAction.C (init):
6927 * src/factory.C (createInset):
6928 * lyxfunc.C (getStatus):
6929 * text3.C (dispatch):
6930 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6932 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6934 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6936 * ParagraphList.C (insert): handle insert right before end()
6937 (erase): fix cases where it can be first or last paragraph.
6939 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6941 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6942 Paragraph::next and Paragraph::previous
6945 * text.C (breakParagraph): adjust
6947 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6948 BufferParams& as arg.
6949 (breakParagraph): use ParagraphList::insert
6950 (breakParagraphConservative): take a Buffer* instead of a
6951 BufferParams& as arg.
6952 (breakParagraphConservative): use ParagraphList::insert.
6954 * buffer.C (insertStringAsLines): un-const it
6955 (insertStringAsLines): adjust
6957 * ParagraphList.C (insert): new function
6959 * CutAndPaste.C (pasteSelection): adjust
6961 * text.C (backspace): adjust
6963 * tabular.C (SetMultiColumn): adjust
6965 * CutAndPaste.C (cutSelection): adjust
6966 (pasteSelection): adjust
6968 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6969 Buffer const * as arg
6971 * ParagraphList.C (erase): new function
6972 * paragraph_funcs.C (mergeParagraph): use it
6973 (mergeParagraph): make it take a Buffer* instead of a
6974 BufferParams* as arg
6976 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6978 (breakParagraphConservative): ditto
6980 * paragraph.h: remove the breakParagraph friend
6982 * paragraph.C (eraseIntern): new function
6983 (setChange): new function
6985 * paragraph_funcs.C (mergeParagraph): make it take a
6986 ParagraphList::iterator instead of a Paragraph *, adjust
6989 * paragraph.h: move an #endif so that the change tracking stuff
6990 also works in the NO_NEXT case.
6992 2003-03-04 Angus Leeming <leeming@lyx.org>
6995 * LyXAction.C: new LFUN_INSET_MODIFY.
6997 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6998 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7000 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7002 * several files: ws changes only
7004 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7005 (TeXEnvironment): ditto
7008 * buffer.C (makeLaTeXFile): adjust
7009 (latexParagraphs): make it take ParagraphList::iterator as args
7011 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7013 * buffer.C (latexParagraphs): adjust
7015 * paragraph.C (TeXOnePar): move function...
7016 (optArgInset): move function...
7017 (TeXEnvironment): move function...
7018 * paragraph_pimpl.C (TeXDeeper): move function...
7019 * paragraph_funcs.C: ...here
7021 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7023 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7025 * buffer.C (readInset): remove compability code for old Figure and
7028 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7030 * buffer.C: ws changes
7033 * BufferView_pimpl.C: ditto
7036 * bufferlist.h: ditto
7040 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7042 * converter.[Ch]: split into itself +
7045 * Makefile.am: += graph.[Ch] + format.[Ch]
7052 * lyxrc.C: added #include "format.h"
7054 2003-02-27 Angus Leeming <leeming@lyx.org>
7056 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7059 * factory.C (createInset): add "label" to the factory.
7061 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7062 string and do no more.
7064 2003-02-27 Angus Leeming <leeming@lyx.org>
7067 * LyXAction.C (init):
7068 * factory.C (createInset):
7069 * BufferView_pimpl.C (dispatch):
7070 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7072 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7074 * lyxfunc.C (dispatch):
7075 * text3.C (dispatch): pass name to params2string.
7077 2003-02-26 Angus Leeming <leeming@lyx.org>
7079 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7081 Rearrange the ~includes. Strip out the unnecessary ones.
7083 * factory.C (createInset): reformat.
7084 create new insets for the various LFUN_XYZ_APPLY lfuns.
7086 2003-02-26 John Levon <levon@movementarian.org>
7089 * lyxrow.C: add isParStart,isParEnd helpers
7091 * paragraph.h: make isInserted/DeletedText take refs
7093 * paragraph_funcs.h:
7094 * paragraph_funcs.C: remove #if 0'd code
7099 * text.C: use lyxrow helpers above.
7100 Move draw and paint routines to RowPainter.
7101 Make several methods use refs not pointers.
7102 Make backgroundColor() const.
7103 Add markChangeInDraw(), isInInset().
7104 Merge changeRegionCase into changeCase.
7105 Make workWidth() shouldn't-happen code into an Assert.
7108 * rowpainter.C: new class for painting a row.
7111 * vspace.C: make inPixels take a ref
7113 2003-02-26 Angus Leeming <leeming@lyx.org>
7115 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7118 2003-02-25 John Levon <levon@movementarian.org>
7120 * ispell.C: give the forked command a more accurate name
7122 2003-02-22 John Levon <levon@movementarian.org>
7125 * toc.C: make TocItem store an id not a Paragraph *
7128 2003-02-21 Angus Leeming <leeming@lyx.org>
7130 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7131 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7132 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7133 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7134 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7135 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7137 * BufferView_pimpl.C (dispatch):
7138 * LyXAction.C (init):
7139 * factory.C (createInset):
7140 * lyxfunc.C (getStatus, dispatch):
7141 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7143 2003-02-21 Angus Leeming <leeming@lyx.org>
7145 * BufferView_pimpl.C (MenuInsertLyXFile):
7146 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7147 * lyxfunc.C (menuNew, open, doImport):
7148 no longer pass a LyXView & to fileDlg.
7150 2003-02-21 Angus Leeming <leeming@lyx.org>
7152 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7153 * LyXAction.C: change, BIBKEY to BIBITEM.
7154 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7155 Change InsetBibKey to InsetBibitem.
7156 Change BIBKEY_CODE to BIBITEM_CODE.
7157 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7158 * factory.C: replace insetbib.h with insetbibitem.h.
7159 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7160 * paragraph.C: replace insetbib.h with insetbibitem.h.
7161 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7162 Change bibkey() to bibitem().
7163 * text.C: remove insetbib.h.
7164 * text2.C: replace insetbib.h with insetbibitem.h.
7165 change bibkey() to bibitem().
7166 * text3.C: remove insetbib.h.
7167 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7169 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7171 * lyxrc.C (output): enclose user email in quotes (in case there are
7174 2003-02-18 John Levon <levon@movementarian.org>
7176 * buffer.h: add std::
7178 2003-02-17 John Levon <levon@movementarian.org>
7184 * pspell.C: reworking. Especially in ispell, a large
7185 number of clean ups and bug fixes.
7187 * lyxfunc.C: fix revert to behave sensibly
7189 2003-02-17 André Pönitz <poenitz@gmx.net>
7192 * commandtags.h: new LFUN_INSERT_BIBKEY
7202 * paragraph_func.C: remove special bibkey handling
7204 2003-02-17 John Levon <levon@movementarian.org>
7206 * text.C (Delete): fix case where delete at the end of
7207 the very first paragraph would not merge the pars
7209 2003-02-17 John Levon <levon@movementarian.org>
7211 * lyxrow.C: fix lastPrintablePos()
7213 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7215 * bufferparams.C (writeLaTeX): add a std:here
7217 * buffer.C: and remove a using directive there
7219 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7221 * buffer.C (makeLaTeXFile): move the code that generates the
7224 * bufferparams.C (writeLaTeX): ... in this new method
7226 * LaTeXFeatures.C (getEncodingSet): make const
7227 (getLanguages): make const
7229 * MenuBackend.C (binding): returns the binding associated to this
7231 (add): sets the status of each item by calling getStatus. Adds
7233 (read): add support for OptSubMenu
7234 (expand): remove extra separator at the end of expanded menu
7236 2003-02-15 John Levon <levon@movementarian.org>
7239 * BufferView_pimpl.C:
7241 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7242 inset code that had no actual effect. Remove unneeded status
7245 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7247 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7250 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7252 * text.C (drawLengthMarker): also draw an arrow marker for
7253 symbolic lengths (medskip...)
7255 2003-02-14 John Levon <levon@movementarian.org>
7258 * tabular.C: better method names
7260 2003-02-14 John Levon <levon@movementarian.org>
7262 * BufferView_pimpl.C:
7267 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7268 it's a more accurate name. Remove some pointless uses.
7270 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7272 * text2.C (LyXText): change order of initilizers to shut off
7275 2003-02-14 John Levon <levon@movementarian.org>
7277 * buffer.C: use ParIterator for getParFromID()
7281 * paragraph_pimpl.h:
7282 * paragraph_pimpl.C: remove unused getParFromID()
7284 2003-02-14 John Levon <levon@movementarian.org>
7286 * buffer.C: remove some very old #if 0'd parse code
7288 2003-02-13 John Levon <levon@movementarian.org>
7292 * text2.C: move hfillExpansion(), numberOfSeparators(),
7293 rowLast(), rowLastPrintable(), numberofHfills(),
7294 numberOfLabelHfills() ...
7297 * lyxrow.C: ... to member functions here.
7302 * text.C: remove LyXText::beginningOfMainBody(), and call
7303 p->beginningOfMainBody() directly. Move the check for
7304 LABEL_MANUAL into the latter.
7311 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7317 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7318 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7320 2003-02-13 John Levon <levon@movementarian.org>
7322 * CutAndPaste.C: remove debug
7324 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7326 * paragraph.C (asString): remove two unused variables
7328 * lyxtextclass.C (readTitleType):
7330 (LyXTextClass): handle new members titletype_ and titlename_
7332 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7334 2003-02-09 John Levon <levon@movementarian.org>
7337 * buffer.C: replace hand-coded list with a map for the dep clean
7339 2003-02-08 John Levon <levon@movementarian.org>
7341 * LaTeX.C: consolidate code into showRunMessage() helper
7343 2003-02-08 John Levon <levon@movementarian.org>
7348 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7349 and pass the size in explicitly
7351 * BufferView_pimpl.h:
7352 * BufferView_pimpl.C:
7354 * BufferView.C: add getCurrentChange()
7356 * BufferView_pimpl.h:
7357 * BufferView_pimpl.C: handle change lfuns
7359 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7360 for changes. Mark pasted paragraphs as new.
7362 * support/lyxtime.h:
7363 * support/lyxtime.C:
7364 * DepTable.C: abstract time_t as lyx::time_type
7367 * LColor.C: add colours for new text, deleted text, changebars
7369 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7370 package use "usenames" option.
7374 * LyXAction.C: add change lfuns
7378 * author.C: author handling
7381 * buffer.C: add a per-buffer author list, with first entry as
7382 current author. Handle new .lyx tokens for change tracking. Output
7383 author list to .lyx file. Output dvipost stuff to .tex preamble.
7384 Bump lyx format to 222.
7387 * bufferlist.C: add setCurrentAuthor() to reset current author details
7391 * bufferparams.C: add param for tracking
7393 * bufferview_funcs.C: output change info in minibuffer
7397 * changes.C: add change-tracking structure
7400 * debug.C: add CHANGES debug flag
7403 * lyxfind.C: add code for finding the next change piece
7406 * lyxrc.C: add user_name and user_email
7409 * lyxrow.C: add a metric for the top of the text line
7412 * text.C: implement accept/rejectChange()
7415 * text.C: paint changebars. Paint new/deleted text in the chosen
7416 colours. Strike through deleted text.
7420 * paragraph_pimpl.h:
7421 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7422 in the current change to the insert functions. Rework erase to
7423 mark text as deleted, adding an eraseIntern() and a range-based
7424 erase(). Implement per-paragraph change lookup and
7427 * paragraph_funcs.C: Fixup paste for change tracking.
7429 * tabular.C: mark added row/columns as new.
7431 * text.C: fix rowLast() to never return -1. Don't allow
7432 spellchecking of deleted text. Track transpose changes. Don't
7433 allow paragraph break or merge where appropriate.
7435 * text2.C: leave cursor at end of selection after a cut.
7437 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7439 * text.C (getLengthMarkerHeight):
7440 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7441 visible on screen too.
7443 2003-02-07 John Levon <levon@movementarian.org>
7445 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7447 2003-02-05 Angus Leeming <leeming@lyx.org>
7449 * lyxserver.C (read_ready): revert my patch of 11 September last year
7450 as it sends PC cpu through the roof. Presumably this means that
7451 the lyxserver will no longer run on an Alpha...
7453 2003-01-30 Angus Leeming <leeming@lyx.org>
7455 * factory.C (createInset): create an InsetCommandParam of type "index"
7456 and use it to 'do the right thing'.
7458 * text2.C (getStringToIndex): ensure that cursor position is always
7459 reset to the reset_cursor position.
7461 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7463 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7466 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7470 * lyxfunc.C: Output messages with identical spelling, punctuation,
7473 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7475 * MenuBackend.C (expandFormats): List only viewable export formats
7478 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7481 * lyxfunc.C (getStatus): Make sure that formats other than
7482 "fax" can also be disabled
7484 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7486 * text3.C (dispatch): put the lfuns that insert insets in 3
7487 groups, and call doInsertInset with appropriate arguments.
7488 (doInsertInset): new function, that creates an inset and inserts
7489 it according to some boolean parameters.
7491 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7493 * buffer.C (readFile): remember to pass on 'par' when calling
7494 readFile recursively.
7496 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7498 * MenuBackend.C (expandFormats): add "..." to import formats.
7500 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7502 * paragraph.C (asString): Remove XForms RTL hacks.
7504 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7505 * buffer.C: fix typo
7507 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7509 * Makefile.am (LIBS): delete var
7510 (lyx_LDADD): add @LIBS@ here instead.
7512 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7514 * Clarify the meaning of "wheel mouse jump"
7516 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7518 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7521 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7523 * importer.C (Loaders): do not preallocate 3 elements in the
7524 vector, since one ends up with 6 elements otherwise
7526 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7528 * DepTable.C (write): write the file name as last element of the
7529 .dep file (because it may contain spaces)
7530 (read): read info in the right order
7532 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7534 * paragraph_pimpl.C (simpleTeXBlanks):
7535 (simpleTeXSpecialChars):
7536 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7538 * tabular.C (latex): add some missing case statements. Reindent.
7540 * MenuBackend.C (expandToc): remove unused variable.
7542 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7551 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7554 2003-01-05 John Levon <levon@movementarian.org>
7557 * BufferView.C: add getEncoding()
7560 * kbsequence.C: do not store last keypress
7563 * lyxfunc.C: store last keypress here instead. Pass encoding
7566 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7568 * lyx_main.C (init): remove annoying error message when following
7569 symbolic links (bug #780)
7571 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7573 * text.C (insertChar):
7574 * lyxrc.C (getDescription): remove extra spaces
7576 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7578 * lyxrc.C (getDescription): remove extra spaces
7580 2002-12-20 John Levon <levon@movementarian.org>
7582 * text3.C: hack fix for page up/down across tall rows
7584 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7586 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7589 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7591 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7592 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7593 thesaurus is not compiled in
7595 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7597 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7599 2002-12-16 Angus Leeming <leeming@lyx.org>
7602 * lyx_main.C (init): remove override_x_deadkeys stuff.
7604 2002-12-12 John Levon <levon@movementarian.org>
7606 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7607 insert. Only remove shift modifier under strict
7610 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7612 * MenuBackend.C (expandToc): fix crash.
7614 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7616 * MenuBackend.C (expandToc): gettext on float names.
7618 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7620 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7621 implement bool empty() [bug 490]
7623 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7625 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7627 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7629 * several files: ws changes
7631 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7633 * text2.C (setCounter): clean up a bit, use boost.format.
7634 (updateCounters): initialize par upon declaration.
7636 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7637 if the layout exists. We do not just store the layout any more.
7638 (SwitchLayoutsBetweenClasses): use boost.format
7640 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7642 * converter.C (convert): if from and to files are the same, use a
7643 temporary files as intermediary
7645 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7648 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7650 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7652 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7654 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7656 * tabular.C (asciiPrintCell): use string(size, char) instead of
7659 * sgml.C (openTag): fix order of arguments to string constructor
7662 * lyxfunc.C (dispatch): use boost.format
7664 * lots of files: change "c" -> 'c'
7666 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7668 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7670 2002-11-25 Angus Leeming <leeming@lyx.org>
7672 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7674 * lyx_main.C (init): compile fix.
7676 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7678 * lyx_cb.C (start): boost.formatify
7679 do not include <iostream>
7681 * lengthcommon.C: ws only
7683 * boost-inst.C,BoostFormat.h: add more explict instantations
7685 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7687 * lots of files: handle USE_BOOST_FORMAT
7689 2002-11-21 John Levon <levon@movementarian.org>
7691 * pspell.C: fix compile
7693 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7695 * lyxfunc.C (dispatch): use boost::format
7699 * lyxfont.C (stateText): use boost::format
7701 * lyx_main.C (LyX): use boost::format
7703 (queryUserLyXDir): ditto
7706 (typedef boost::function): use the recommened syntax.
7708 * importer.C (Import): use boost::format
7710 * debug.C (showLevel): use boost::format
7712 * converter.C (view): use boost::format
7717 * bufferview_funcs.C (currentState): use boost::format
7719 * bufferlist.C (emergencyWrite): use boost::format
7721 * buffer.C (readLyXformat2): use boost::format
7722 (parseSingleLyXformat2Token): ditto
7724 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7726 * LaTeX.C (run): use boost::format
7728 * Chktex.C (scanLogFile): use boost::format
7730 * BufferView_pimpl.C (savePosition): use boost::format
7731 (restorePosition): ditto
7732 (MenuInsertLyXFile): ditto
7734 * BoostFormat.h: help file for explicit instation.
7736 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7738 * tabular.C (latex): Support for block alignment in fixed width
7741 2002-11-17 John Levon <levon@movementarian.org>
7743 * BufferView_pimpl.C:
7745 * lyxfunc.C: split filedialog into open/save
7747 2002-11-08 Juergen Vigna <jug@sad.it>
7749 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7750 by my last patch (hopefully).
7752 2002-11-08 John Levon <levon@movementarian.org>
7761 * toc.C: ParConstIterator, and use it (from Lars)
7763 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7765 * lyxtextclass.[Ch]: revise and add doxygen comments
7767 2002-11-07 John Levon <levon@movementarian.org>
7769 * text.C: fix progress value for spellchecker
7771 * toc.C: fix navigate menu for insetwrap inside minipage
7773 * paragraph_funcs.C: added FIXME for suspect code
7775 2002-11-07 John Levon <levon@movementarian.org>
7777 * BufferView_pimpl.C: fix redrawing of insets
7780 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7782 * text2.C (updateCounters): fix bug 668
7784 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7786 * text3.C (dispatch): Do not make the buffer dirty when moving the
7789 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7791 * vc-backend.C: STRCONV
7794 * text2.C (setCounter): STRCONV
7796 * paragraph.C (asString): STRCONV
7798 * lyxlength.C (asString): STRCONV
7799 (asLatexString): ditto
7801 * lyxgluelength.C (asString): STRCONV
7802 (asLatexString): ditto
7804 * lyxfunc.C (dispatch): STRCONV
7807 * lyxfont.C (stateText): STRCONV
7809 * importer.C (Import): STRCONV
7811 * counters.C (labelItem): STRCONV
7812 (numberLabel): ditto
7813 (numberLabel): remove unused ostringstream o
7818 * bufferview_funcs.C (currentState): STRCONV
7820 * buffer.C (readFile): STRCONV
7821 (asciiParagraph): ditto
7822 (makeLaTeXFile): ditto
7824 * Spacing.C (writeEnvirBegin): STRCONV
7826 * LaTeXFeatures.C (getLanguages): STRCONV
7827 (getPackages): ditto
7829 (getBabelOptions): ditto
7830 (getTClassPreamble): ditto
7831 (getLyXSGMLEntities): ditto
7832 (getIncludedFiles): ditto
7836 (scanAuxFile): ditto
7839 * LString.h: add the STRCONV macros
7841 * BufferView_pimpl.C (savePosition): STRCONV
7842 (restorePosition): ditto
7843 (MenuInsertLyXFile): ditto
7845 * vc-backend.C (scanMaster): change from submatch[...] to
7848 * funcrequest.C: include config.h
7850 * factory.C: include config.h
7852 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7854 * box.C: include config.h
7856 * LaTeX.C (scanAuxFile): change from submatch[...] to
7860 2002-10-25 Angus Leeming <leeming@lyx.org>
7862 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7864 * ispell.[Ch] (setError): new method.
7865 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7866 Use setError() insetead of goto END.
7868 * lyx_cb.C (AutoSave): move out child process into new class
7871 2002-10-30 John Levon <levon@movementarian.org>
7873 * text3.C: make start appendix undoable
7875 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7877 * lyxlength.C (inPixels): Fix returned value.
7879 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7882 2002-10-24 Angus Leeming <leeming@lyx.org>
7884 * lyxgluelength.h: no need to forward declare BufferParams
7885 or BufferView, so don't.
7887 2002-10-21 John Levon <levon@movementarian.org>
7889 * BufferView.C: menuUndo ->undo, redo
7891 * BufferView.h: document, remove dead, make some methods private
7893 * paragraph_funcs.h:
7894 * paragraph_funcs.C:
7895 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7900 * sgml.C: move sgml open/close tag into sgml.C
7902 * bufferview_funcs.h: unused prototype
7905 * lyxfunc.C: remove unused
7908 * text.C: remove unused
7910 2002-10-21 John Levon <levon@movementarian.org>
7914 * BufferView_pimpl.h:
7915 * BufferView_pimpl.C: fix mouse wheel handling based on
7916 patch from Darren Freeman
7918 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7920 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7922 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7924 * lyxlength.C (inPixels): Fix hanfling of negative length.
7925 Fix LyXLength::MU case.
7927 2002-10-16 John Levon <levon@movementarian.org>
7929 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7931 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7933 * converter.C (view): add support for $$i (file name) and $$p
7934 (file path) for the viewer command. If $$i is not specified, then
7935 it is appended to the command (for compatibility with old syntax)
7937 2002-10-14 Juergen Vigna <jug@sad.it>
7939 * undo_funcs.C (textHandleUndo): alter the order in which the
7940 new undopar is added to the LyXText, as we have to set first
7941 the right prev/next and then add it as otherwise the rebuild of
7942 LyXText is not correct. Also reset the cursor to the right paragraph,
7943 with this IMO we could remove the hack in "redoParagraphs()".
7945 2002-10-09 Angus Leeming <leeming@lyx.org>
7947 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7948 to turn off an optimisation if a new inset is to be inserted.
7950 2002-10-11 André Pönitz <poenitz@gmx.net>
7952 * lyxtext.h: make some functions public to allow access
7953 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7955 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7957 * text3.C (dispatch): when changing layout, avoid an infinite loop
7960 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7962 * lyxrc.C (read): treat a viewer or converter command of "none" as
7965 * MenuBackend.C (expandFormats): for an update, also allow the
7966 formats that are not viewable
7968 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7969 script if it is newer than the lyxrc.defaults in user directory
7971 2002-10-07 André Pönitz <poenitz@gmx.net>
7973 * text.C: Vitaly Lipatov's small i18n fix
7975 2002-09-25 Angus Leeming <leeming@lyx.org>
7977 * ispell.h: doxygen fix.
7979 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7981 * buffer.h (readFile): Add a new argument to the method, to allow
7982 reading of old-format templates.
7984 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7986 * toc.C (getTocList): Get TOC from InsetWrap.
7988 2002-09-16 John Levon <levon@movementarian.org>
7990 * lyxfunc.C: check tabular for cut/copy too
7992 2002-09-12 John Levon <levon@movementarian.org>
7997 * factory.C: add header
7999 * paragraph_funcs.h:
8000 * paragraph_funcs.C: cleanup
8002 2002-09-11 John Levon <levon@movementarian.org>
8004 * PrinterParams.h: odd/even default to true
8006 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8008 * PrinterParams.h: update printer parameters for new xforms dialog
8010 2002-09-11 Angus Leeming <leeming@lyx.org>
8012 * lyxserver.C (read_ready): re-write to make it more transparent
8013 and to make it work in coherent fashion under Tru64 Unix.
8015 2002-09-11 André Pönitz <poenitz@gmx.net>
8019 * text3.C: implement LFUN_WORDSEL
8021 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8023 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8024 make floatlist_ a boost::shared_ptr<FloatList>
8026 * lyxtextclass.C: include FloatList.h
8027 (LyXTextClass): initialize floatlist_
8028 (TextClassTags): add TC_NOFLOAT
8029 (Read): match "nofloat" to TC_NOFLOAT and use it.
8030 (readFloat): modify call to floatlist_
8034 * FloatList.[Ch] (FloatList): remove commented out float
8036 (erase): new function
8038 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8040 * MenuBackend.C (expandToc): fix crash when there is no document
8043 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8045 * many files: Add insetwrap.
8047 2002-09-09 John Levon <levon@movementarian.org>
8049 * text2.C: remove confusing and awkward depth wraparound
8051 2002-09-09 John Levon <levon@movementarian.org>
8053 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8056 * buffer.C: remove getIncludeonlyList()
8059 * lyxfunc.C: remove headers
8061 2002-09-09 Juergen Vigna <jug@sad.it>
8063 * text.C (getColumnNearX): fix form Michael this is most
8064 probably a cut&paste bug.
8066 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8068 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8070 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8071 references, ws changes.
8073 * text2.C (init): update counters after init
8074 (insertParagraph): no need to set counter on idividual paragraphs.
8075 (setCounter): access the counters object in the textclass object
8076 on in the buffer object.
8077 (updateCounters): ditto
8079 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8080 shared_ptr<Counters> to avoid loading counters.h in all
8082 (LyXTextClass): initialize ctrs_
8083 (TextClassTags): add TC_COUNTER, and ...
8084 (Read): use it here.
8085 (CounterTags): new tags
8086 (readCounter): new function
8087 (counters): new funtion
8088 (defaultLayoutName): return a const reference
8090 * counters.C (Counters): remove contructor
8091 (newCounter): remove a couple of unneeded statements.
8092 (newCounter): simplify a bit.
8093 (numberLabel): some small formatting changes.
8095 * buffer.[Ch]: remove all traces of counters, move the Counters
8096 object to the LyXTextClass.
8098 2002-09-06 Alain Castera <castera@in2p3.fr>
8100 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8101 package to set the horizontal alignment on fixed width columns.
8104 * lyx_sty.h: added tabularnewline macro def.
8106 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8108 2002-09-06 John Levon <levon@movementarian.org>
8110 * LyXAction.C: tooltips for sub/superscript
8112 * MenuBackend.C: a bit more verbose
8114 * lyxfunc.C: tiny clean
8116 * undo_funcs.C: document undo_frozen
8118 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8120 * counters.C (Counters): add missing algorithm counter.
8122 * text2.C (setCounter): lookup the counter with layouts latexname
8123 instead of by section number.
8124 (setCounter): use a hackish way to lookup the correct enum
8126 a float name->type change
8127 reset enum couners with counter name directly instead of depth value.
8129 * counters.C (Counters): remove the push_backs, change to use the
8130 float type not the float name.
8131 (labelItem): remove unused string, float name->type change
8133 * counters.h: don't include vector, loose the enums and sects vectors
8135 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8137 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8138 (Read): add float->TC_FLOAT to textclassTags
8139 (Read): and handle it in the switch
8140 (readFloat): new function
8142 * FloatList.C (FloatList): comment out the hardcoded float
8145 * lyxlayout.h: ws change.
8147 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8149 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8151 2002-09-03 Angus Leeming <leeming@lyx.org>
8153 * BufferView_pimpl.h: qualified name is not allowed in member
8154 declaration: WorkArea & Pimpl::workarea() const;
8156 * factory.C: added using std::endl directive.
8158 * text3.C: added using std::find and std::vector directives.
8160 2002-08-29 André Pönitz <poenitz@gmx.net>
8163 * text2.C: remove unused member number_of_rows
8166 * BufferView2.C: remove file, move contents to...
8167 * BufferView.C: ... here
8169 * BufferView_pimpl.C:
8170 * factory.C: move more inset creation to factory
8172 * vspace.C: avoid direct usage of LyXText, ws changes
8175 don't provide direct access to WorkArea, use two simple
8176 acessors haveSelction() and workHeight() instead
8179 2002-08-29 John Levon <levon@movementarian.org>
8181 * BufferView_pimpl.C (dispatch): do not continue when
8184 2002-08-28 André Pönitz <poenitz@gmx.net>
8186 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8189 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8191 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8193 * buffer.C: increment LYX_FORMAT to 221
8195 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8196 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8198 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8200 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8202 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8204 * factory.C (createInset): use LyXTextClass::floats
8206 * MenuBackend.C (expandFloatListInsert):
8207 (expandFloatInsert):
8210 * text2.C (setCounter):
8212 * LaTeXFeatures.C (useFloat):
8213 (getFloatDefinitions):
8215 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8217 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8218 floatlist_, with accessor floats().
8220 * FloatList.h: remove global FloatList
8222 2002-08-26 André Pönitz <poenitz@gmx.net>
8224 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8228 * BufferView_pimpl.C:
8229 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8231 2002-08-25 John Levon <levon@movementarian.org>
8233 * LyXAction.C: fix margin note description
8235 2002-08-24 John Levon <levon@movementarian.org>
8239 * bufferview_funcs.C:
8241 * undo_funcs.C: cleanups
8243 * lyxfunc.C: disable CUT/COPY when no selection
8245 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8247 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8248 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8250 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8251 Add backward compatibility to "mono", "gray" and "no".
8253 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8255 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8256 (and file_format >= 200).
8258 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8260 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8262 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8264 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8266 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8268 * BufferView_pimpl.C:
8275 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8276 inset and code to make it work with the paragraph code. The inset
8277 can be anywhere in the paragraph, but will only do the expected
8278 thing in LaTeX if the layout file contains the parameter line
8280 (or more generally, a nonzero value) for that layout.
8282 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8284 * paragraph.h: remove the declaration of undefined counters class
8287 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8289 * text2.C (setCounter): fixed enumeration mis-count as reported by
8290 Dr. Richard Hawkins.
8292 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8294 * paragraph_funcs.h: remove some unneeded includes
8296 * text.C (backspace): pasteParagraph now in global scipe
8298 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8299 (pasteSelection): ditto
8301 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8302 * paragraph_funcs.C (pasteParagraph): ... here
8304 2002-08-20 André Pönitz <poenitz@gmx.net>
8306 * commandtags.h: new LFUNs for swapping/copying table row/colums
8309 * lyxfunc.C: support for new lfuns
8311 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8314 * buffer.[Ch]: remove NO_COMPABILITY stuff
8316 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8318 * boost.C (throw_exception): new file, with helper function for
8319 boost compiled without exceptions.
8324 * ParameterStruct.h:
8325 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8327 * bufferlist.C (emergencyWriteAll): use boost bind
8329 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8331 * text.C: include paragraph_funcs.h
8332 (breakParagraph): breakParagraph is now in global scope
8334 * paragraph_funcs.[Ch]: new files
8336 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8339 * buffer.C: include paragraph_funcs.h
8340 (insertStringAsLines): breakParagraph is now in global scope
8342 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8345 * CutAndPaste.C: include paragraph_funcs.h
8346 (cutSelection): breakParagraphConservative is now in global scope
8347 (pasteSelection): ditto
8349 * buffer.h: declare oprator== and operator!= for
8350 Buffer::inset_iterator
8352 * bufferlist.C (emergencyWrite): don't use fmt(...)
8354 * text3.C: add using std::endl
8356 * BufferView.C (moveCursorUpdate): remove default arg
8358 2002-08-20 André Pönitz <poenitz@gmx.net>
8360 * buffer.[Ch]: move inline functions to .C
8363 * BufferView_pimpl.C:
8365 * buffer.[Ch]: use improved inset_iterator
8368 * paragraph.[Ch]: write one paragraph at a time
8370 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8372 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8373 style if style is not specified.
8375 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8377 * text2.C (setCounter): when searching for right label for a
8378 caption, make sure to recurse to parent insets (so that a caption
8379 in a minipage in a figure float works) (bug #568)
8381 2002-08-20 André Pönitz <poenitz@gmx.net>
8383 * text3.C: new file for LyXText::dispatch() and helpers
8385 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8387 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8389 2002-08-19 André Pönitz <poenitz@gmx.net>
8392 * text.C: new LyXText::dispatch()
8394 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8396 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8398 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8400 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8403 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8405 * Makefile.am: use $(variables) instead of @substitutions@
8407 2002-08-15 André Pönitz <poenitz@gmx.net>
8410 * BufferView_pimpl.C: streamlining mathed <-> outer world
8414 * LyXAction.C: remove unused LFUN_MATH
8416 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8418 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8420 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8422 * paragraph.C (Paragraph): reformat a bit
8423 (cutIntoMinibuffer): use builtin InsetList function instad of
8427 * buffer.C: include boost/bind.hpp, add using std::for_each
8428 (writeFileAscii): use ParagraphList iterators
8429 (validate): use for_each for validate traversal of paragraphs
8430 (getBibkeyList): use ParagraphList iterators
8431 (resizeInsets): use for_each to resizeInsetsLyXText for all
8433 (getParFromID): use ParagraphList iterators
8435 * BufferView2.C (lockInset): use paragraph list and iterators
8437 2002-08-14 John Levon <levon@movementarian.org>
8439 * lyxserver.C: remove spurious xforms include
8441 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8443 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8445 2002-08-13 André Pönitz <poenitz@gmx.net>
8448 * lyxfunc.C: further cleaning
8450 2002-08-13 André Pönitz <poenitz@gmx.net>
8452 * funcrequest.h: new constructor
8454 * funcrequest.C: move stuff here from .h
8457 * BufferView_pimpl.C:
8460 * lyxfunc.C: subsequent changes
8462 * lyxfunc.h: new view() member function
8464 * lyxfunc.C: subsequent changes
8466 2002-08-13 Angus Leeming <leeming@lyx.org>
8469 * BufferView_pimpl.C:
8477 changes due to the changed LyXView interface that now returns references
8478 to member variables not pointers.
8480 2002-08-13 Angus Leeming <leeming@lyx.org>
8482 * WordLangTuple (word, lang_code): return references to strings,
8487 * lyxtext.h: forward-declare WordLangTuple.
8492 * text.C: #include "WordLangTuple.h".
8495 * text.C: (selectNextWordToSpellcheck): constify return type.
8497 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8503 * paragraph_pimpl.h:
8506 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8508 Made updateCounter always count from start of buffer, and removed
8509 second argument (par).
8510 Reverted floats number display to '#'. Perhaps I'll try again when the
8511 code base is sanitized a bit.
8513 2002-08-12 Angus Leeming <leeming@lyx.org>
8515 * buffer.[Ch] (getLabelList): constify.
8517 2002-08-07 André Pönitz <poenitz@gmx.net>
8519 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8521 * funcrequest.h: extension to keep mouse (x,y) position
8523 2002-08-12 Juergen Vigna <jug@sad.it>
8525 * BufferView2.C (insertErrors): forbid undo when inserting error
8528 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8530 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8532 * ParagraphList.[Ch]: new files
8534 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8536 * BufferView2.C (lockInset): ParagraphList changes
8539 * bufferlist.C: ditto
8543 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8545 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8546 unused class variable counter_,
8548 * paragraph.[Ch] (getFirstCounter): delete unused function
8550 * counters.C: include LAssert.h
8551 (reset): add a new function with no arg, change other version to
8552 not have def. arg and to not allow empty arg.
8554 * text2.C (setCounter): remove empty arg from call to Counters::reset
8556 2002-08-11 John Levon <levon@movementarian.org>
8558 * Makefile.am: add WordLangTuple.h
8560 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8562 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8563 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8565 * insets/insettext.C: InsetList changes
8567 * graphics/GraphicsSupport.C (operator()): InsetList changes
8569 * toc.C (getTocList): InsetList changes
8571 * paragraph_pimpl.[Ch]: InsetList changes
8573 * paragraph.[Ch]: InsetList changes
8575 * buffer.C (inset_iterator): InsetList changes
8576 (setParagraph): ditto
8577 * buffer.h (inset_iterator): ditto
8578 * iterators.C (operator++): ditto
8579 * iterators.h: ditto
8581 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8583 * InsetList.[Ch]: new files, most InsetList handling moved out of
8586 * BufferView2.C (removeAutoInsets): InsetList changes
8588 (ChangeInsets): ditto
8590 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8592 * paragraph_pimpl.h (empty): new function
8594 * paragraph.[Ch] (empty): new function
8596 * other files: use the new Paragraph::empty function
8598 2002-08-09 John Levon <levon@movementarian.org>
8600 * lyxtext.h: remove unused refresh_height
8602 2002-08-09 John Levon <levon@movementarian.org>
8609 * paragraph.C: move sgml char escaping out of paragraph
8612 * paragraph.C: remove id setter
8616 * paragraph_pimpl.C: remove dead tex_code_break_column
8618 * bufferview_funcs.C: small cleanup
8620 * lyxfunc.C: remove dead proto
8622 * lyxtext.h: make some stuff private. Remove some dead stuff.
8624 * lyxgluelength.C: make as[LyX]String() readable
8626 2002-08-08 John Levon <levon@movementarian.org>
8631 * ToolbarDefaults.C:
8634 * toc.C: lyxaction cleanup
8636 2002-08-08 John Levon <levon@movementarian.org>
8638 * BufferView2.C: small cleanup
8641 * lyxfind.C: move unnecessary header into the .C
8643 2002-08-08 John Levon <levon@movementarian.org>
8645 * funcrequest.h: just tedious nonsense
8648 * lyx_main.C: cleanups
8651 * vspace.C: remove dead header lyx_main.h
8653 2002-08-07 Angus Leeming <leeming@lyx.org>
8656 * paragraph_pimpl.h:
8657 Forward declare class Counters in paragraph.h by moving the ctrs member
8658 variable into Paragraph::Pimpl.
8659 (counters): new method, returning a reference to pimpl_->ctrs.
8661 * text2.C: ensuing changes.
8663 2002-08-07 John Levon <levon@movementarian.org>
8665 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8667 * BufferView_pimpl.C: announce X selection on double/triple
8670 * lyx_main.C: use correct bool in batch dispatch
8672 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8674 2002-08-07 André Pönitz <poenitz@gmx.net>
8676 * funcrequest.h: new class to wrap a kb_action and its argument
8679 * BufferView_pimpl[Ch]:
8683 * lyxrc.C: subsequent changes
8686 2002-08-07 John Levon <levon@movementarian.org>
8688 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8689 document options change.
8691 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8696 * makefile.am: move counters functionality over from
8697 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8699 2002-08-06 John Levon <levon@movementarian.org>
8701 * WordLangTuple.h: new file for word + language code tuple
8712 * BufferView2.C: use WordLangTuple
8715 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8717 2002-08-06 John Levon <levon@movementarian.org>
8719 * lyx_main.C: fix cmdline batch handling
8721 2002-08-06 André Pönitz <poenitz@gmx.net>
8723 * lyxrc.C: set default for show_banner to true
8725 2002-08-06 John Levon <levon@movementarian.org>
8727 * pspell.C: fix a crash, and allow new aspell to work
8729 2002-08-06 John Levon <levon@movementarian.org>
8732 * kbmap.C: small cleanup
8735 * vspace.C: add const
8737 2002-08-05 John Levon <levon@movementarian.org>
8739 * LyXAction.C: back to tabular-insert
8741 2002-08-04 John Levon <levon@movementarian.org>
8744 * BufferView.C: cosmetic change
8746 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8756 * BufferView2.C: purge all "Lyx" not "LyX" strings
8759 * lyxcursor.C: attempt to add some documentation
8764 * ToolbarDefaults.C:
8765 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8766 merge with LFUN_TABULAR_INSERT
8773 * pspell.C: split up i/pspell implementations into separate
8774 files, many cleanups
8776 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8778 * text2.C: some cleanup
8780 * lyxfunc.C: don't check for isp_command == "none" any more, it
8781 didn't make any sense
8783 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8788 * makefile.am: move counters functionality over
8789 from text2.C/paragraph.[Ch] to counters.[Ch], and
8791 2002-08-02 John Levon <levon@movementarian.org>
8793 * buffer.C: s/lyxconvert/lyx2lyx/
8795 2002-08-02 Angus Leeming <leeming@lyx.org>
8797 * lyxlex.C: revert John's change as it breaks reading of the user
8800 2002-08-02 Angus Leeming <leeming@lyx.org>
8802 * importer.C (Import):
8803 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8804 changes due to LyXView::view() now returning a boost::shared_ptr.
8806 2002-08-02 John Levon <levon@movementarian.org>
8808 * lyxlex.C: small cleanup
8810 2002-08-02 John Levon <levon@movementarian.org>
8812 * text2.C (status): small cleanup, no logic change
8814 2002-08-01 John Levon <levon@movementarian.org>
8817 * buffer.C (writeFile): don't output alerts, caller
8821 * lyx_cb.C: from above
8823 * lyxfunc.C: allow to open non-existent files
8825 2002-07-31 John Levon <levon@movementarian.org>
8827 * lyxserver.C: don't let incidental errors get
8830 2002-07-30 John Levon <levon@movementarian.org>
8832 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8834 2002-07-30 John Levon <levon@movementarian.org>
8837 * lyxserver.C: remove I/O callback too
8839 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8841 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8844 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8846 * many files: strip,frontStrip -> trim,ltrim,rtrim
8848 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8850 * PrinterParams.h: remove extern containsOnly, and include
8851 support/lstrings.h instead.
8853 * LaTeX.C (scanAuxFile): modify because of strip changes
8855 * buffer.C (makeLaTeXFile): ditto
8856 * bufferparams.C (writeFile): ditt
8857 * lyxfont.C (stateText): ditto
8858 * lyxserver.C (read_ready): ditto
8859 * vc-backend.C (scanMaster): ditto
8861 * BufferView_pimpl.h: ws changes
8863 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8865 2002-07-26 André Pönitz <poenitz@gmx.net>
8867 * kb_sequence.C: remove unnedred usings
8869 2002-07-26 Juergen Vigna <jug@sad.it>
8871 * lyxfind.C (LyXReplace): we have to check better if the returned
8872 text is not of theLockingInset()->getLockingInset().
8874 2002-07-25 Juergen Vigna <jug@sad.it>
8876 * lyxfind.C (LyXReplace): don't replace if we don't get the
8879 * undo_funcs.C (createUndo): remove debugging code.
8881 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8883 * buffer.C (parseSingleLyXformat2Token): Use default placement
8884 when reading old floats.
8886 * FloatList.C (FloatList): Change the default placement of figure
8887 and tables to "tbp".
8889 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8891 * MenuBackend.C: using std::max
8893 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8895 * MenuBackend.C (expandToc):
8896 (expandToc2): code moved from xforms menu frontend. It is now
8897 generic and TOCs are transparent to menu frontends.
8899 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8901 * toc.C (getTocList): protect against buf=0
8903 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8904 Menu as first parameter. Now, this calls itself recursively to
8905 expand a whole tree (this will be useful for TOC handling)
8906 (expandFloatInsert): remove 'wide' version of floats
8908 * MenuBackend.h (submenuname): returns the name of the submenu.
8909 (submenu): returns the submenu itself, provided it has been
8910 created by MenuBackend::expand
8912 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8914 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8915 insets which have noFontChange == true. (bug #172)
8917 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8919 * BufferView_pimpl.C: add connection objects and use them...
8922 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8924 * MenuBackend.C (expandLastfiles):
8927 (expandFloatListInsert):
8928 (expandFloatInsert):
8929 (expand): split expand in parts
8931 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8933 * lyx_gui.C: use lyx_gui::exit()
8935 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8937 * LyXAction.C: show the failing pseudo action
8939 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8941 * buffer.C (readFile): Run the lyxconvert script in order to read
8944 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8948 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8950 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8954 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8956 2002-07-22 Herbert Voss <voss@lyx.org>
8959 * lyxlength.[Ch]: add support for the vertical lengths
8961 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8963 * toc.[Ch]: std:: fixes
8965 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8967 * lyxrc.C: do not include lyx_main.h
8969 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8975 * BufferView2.C: include "lyxlex.h"
8978 * bufferparams.h: do not #include "lyxlex.h"
8980 * lyxtextclasslist.C (Add): remove method
8981 (classlist): renamed to classlist_
8983 * paragraph_pimpl.C:
8987 * bufferview_funcs.C:
8992 * toc.C (getTocList): use BufferParams::getLyXTextClass
8994 * toc.C (getTocList): use InsetFloat::addToToc
8996 * toc.[Ch]: new files, containing helper functions to handle table
8999 * lyxfunc.C (dispatch): no need to remove spaces around command
9001 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9002 first command of the sequence; it is not very clever, but I do not
9003 have a better idea, actually
9005 * LyXAction.C (LookupFunc): make sure to remove space at the
9006 beginning and end of the command
9008 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9010 * MenuBackend.C (getMenubar): new method: return the menubar of
9012 (read): treat differently reading of menu and menubar (in
9013 particular, the menubar has no name now)
9014 (Menu::menubar): remove
9016 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9019 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9021 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9022 a bibitem inset in a RTL paragraph.
9024 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9026 * paragraph_pimpl.C: constify
9028 * BufferView_pimpl.C:
9030 * lyxfunc.C: fix dispatch in a nicer way
9032 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9034 * lyxfunc.C (dispatch):
9035 * BufferView_pimpl.C:
9036 * BufferView_pimpl.h:
9038 * BufferView.h: rename Dispatch() to dispatch()
9040 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9042 * lyxlayout.C (Read): honor DependsOn tag
9044 * lyxlayout.[Ch] (depends_on): new method
9046 * version.C.in: update lyx_docversion
9048 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9050 * paragraph.C (validate): remove from here...
9051 * paragraph_pimpl.C (validate): ... and move here
9052 (isTextAt): make it const
9054 * buffer.C (getLists): ws cleanup
9056 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9058 * language.C (read): Use iso8859-1 encoding in latex_lang
9059 (this prevents LyX from crashing when using iso10646-1 encoding).
9061 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9063 * text2.C (toggleInset): if cursor is inside an inset, close the
9064 inset and leave cursor _after_ it
9066 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9068 * lyxfunc.C: move minibuffer completion handling out of here
9070 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9072 * BufferView_pimpl.C:
9073 * LaTeX.C: fix dispatch calls
9075 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9077 * text.C (drawChars): Fix Arabic text rendering.
9079 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9083 * lyxfunc.C: remove message-push/pop
9087 * lyxfunc.C: rationalise some code by removing verboseDispatch
9088 in favour of a bool argument to dispatch()
9090 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9092 * lyx_main.C (init): make sure to read symlinks as absolute paths
9094 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9097 * lyxfunc.C: no need for commandshortcut to be a member
9099 2002-07-15 André Pönitz <poenitz@gmx.net>
9101 * converter.C: add support for $$s (scripts from lib/scripts dir)
9102 * lyx_main.C: white space
9104 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9108 * lyxrc.C: remove second exit confirmation
9110 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9115 * BufferView_pimpl.h:
9116 * BufferView_pimpl.C:
9117 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9119 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9121 * MenuBackend.C (expand): add numeric shortcuts to document menu
9123 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9125 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9127 * lyxfont.C (setLyXFamily):
9134 * buffer.C (asciiParagraph): use ascii_lowercase
9136 2002-07-15 Mike Fabian <mfabian@suse.de>
9138 * lyxlex_pimpl.C (search_kw):
9139 * lyxlex.C (getLongString):
9140 * converter.h (operator<):
9141 * converter.C (operator<):
9142 * buffer.C (parseSingleLyXformat2Token):
9144 * ToolbarDefaults.C (read):
9145 * MenuBackend.C (checkShortcuts):
9147 * LColor.C (getFromGUIName):
9148 (getFromLyXName): use the compare_ascii_no_case instead of
9149 compare_no_case, because in turkish, 'i' is not the lowercase
9150 version of 'I', and thus turkish locale breaks parsing of tags.
9152 2002-07-16 Angus Leeming <leeming@lyx.org>
9154 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9155 now takes a Buffer const & argument.
9157 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9159 * BufferView.C (resize): check there's a buffer to resize
9161 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9163 * lyxfunc.C: remove dead code
9166 * lyxserver.C: use lyx_guii::set_read_callback
9168 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9170 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9171 an inset in a RTL paragraph.
9173 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9175 * lyxfunc.C: repaint after a font size update
9177 2002-07-15 André Pönitz <poenitz@gmx.net>
9179 * lyxlength.C: inBP should be able to return negative values
9181 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9183 * lyxfunc.C: use lyx_gui::update_fonts()
9185 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9187 * lyxfunc.C: use lyx_gui::update_color()
9189 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9195 * lyxrc.C: remove file->new asks for name option, and let
9196 buffer-new take an argument
9198 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9200 * BufferView_pimpl.C: remove unneeded extra repaint()
9202 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9204 * LyXAction.C: allow command-sequence with NoBuffer
9206 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9208 2002-07-10 Angus Leeming <leeming@lyx.org>
9210 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9212 2002-07-09 Angus Leeming <leeming@lyx.org>
9214 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9216 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9218 * lengthcommon.h: whitespace
9220 * lyxfunc.C: update scrollbar after goto paragraph
9222 * lyxtext.h: factor out page break drawing, and fix it so
9223 page break/added space paints as selected nicely
9225 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9227 * BufferView_pimpl.C: add FIXMEs, clean up a little
9229 2002-07-09 André Pönitz <poenitz@gmx.net>
9231 * lyxfont.[Ch]: support for wasy symbols
9233 2002-07-08 André Pönitz <poenitz@gmx.net>
9235 * BufferView_pimpl.C: apply John's patch for #93.
9237 2002-07-05 Angus Leeming <leeming@lyx.org>
9239 * BufferView_pimpl.C (buffer): generate previews if desired.
9241 * LColor.h: add "preview" to the color enum.
9243 * LColor.C (LColor): add a corresponding entry to the items array.
9245 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9248 2002-07-05 Angus Leeming <leeming@lyx.org>
9250 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9251 The body of the code is now in the method that is passed an ostream &
9252 rather than a file name.
9253 Pass an additional only_preamble parameter, useful for the forthcoming
9256 2002-07-03 André Pönitz <poenitz@gmx.net>
9258 * lyxfunc.C: simplify getStatus() a bit for math stuff
9260 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9262 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9264 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9266 * text.C (changeRegionCase): do not change case of all the
9267 document when region ends at paragraph end (bug #461)
9269 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9271 * paragraph.C (startTeXParParams):
9272 (endTeXParParams): add \protect when necessary
9274 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9276 * BufferView_pimpl.C (workAreaExpose): remove warning
9278 2002-06-27 Angus Leeming <leeming@lyx.org>
9280 * Makefile.am: add lyxlayout_ptr_fwd.h.
9282 2002-06-26 André Pönitz <poenitz@gmx.net>
9284 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9286 2002-06-25 Angus Leeming <leeming@lyx.org>
9288 * lyxfunc.C (dispatch): Comment out the call to
9289 grfx::GCache::changeDisplay. The method no longer exists now that the
9290 pixmap generation part of the graphics loader has been moved into
9293 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9295 * text2.C: layout as layout
9297 * text.C: layout as layout
9299 * tabular.C (OldFormatRead): layout as layout
9301 * paragraph_pimpl.C (TeXDeeper): layout as layout
9302 (realizeFont): layout as layout
9304 * paragraph.C (writeFile): layout as layout
9305 (validate): layout as layout
9306 (getFont): layout as layout
9307 (getLabelFont): layout as layout
9308 (getLayoutFont): layout as layout
9309 (breakParagraph): layout as layout
9310 (stripLeadingSpaces): layout as layout
9311 (getEndLabel): layout as layout
9312 (getMaxDepthAfter): layout as layout
9313 (applyLayout): layout as layout
9314 (TeXOnePar): layout as layout
9315 (simpleTeXOnePar): layout as layout
9316 (TeXEnvironment): layout as layout
9317 (layout): layout as layout
9318 (layout): layout as layout
9320 * lyxtextclass.C (compare_name): new functor to work with
9321 shared_ptr, layout as layout
9322 (Read): layout as layout
9323 (hasLayout): layout as layout
9324 (operator): layout as layout
9325 (delete_layout): layout as layout
9326 (defaultLayout): layout as layout
9328 * lyxlayout_ptr_fwd.h: new file
9330 * lyxlayout.C (Read): layout as layout
9332 * lyx_cb.C (MenuInsertLabel): layout as layout
9334 * bufferlist.C (newFile): layout as layout
9336 * buffer.C (readLyXformat2): layout as layout
9337 (parseSingleLyXformat2Token): layout as layout
9338 (insertStringAsLines): layout as layout
9339 (asciiParagraph): layout as layout
9340 (latexParagraphs): layout as layout
9341 (makeLinuxDocFile): layout as layout
9342 (simpleLinuxDocOnePar): layout as layout
9343 (makeDocBookFile): layout as layout
9344 (simpleDocBookOnePar): layout as layout
9345 (getLists): layout as layout
9347 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9349 * CutAndPaste.C (cutSelection): layout as layout
9350 (pasteSelection): layout as layout
9351 (SwitchLayoutsBetweenClasses): layout as layout
9353 * BufferView_pimpl.C (Dispatch): layout as layout
9354 (smartQuote): layout as layout
9356 * BufferView2.C (unlockInset): layout as layout
9358 2002-06-24 André Pönitz <poenitz@gmx.net>
9360 * lyxfunc.C: fix #487
9362 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9366 * lyxfunc.C: remove display_shortcuts, show_banner
9368 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9370 * Buffer_pimpl.C: oops, update on resize
9372 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9379 * BufferView.C: use repaint()
9381 * BufferView_pimpl.h:
9382 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9383 as it's a clearer description. Remove superfluous
9386 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9388 * text.C: fix bug 488. Not ideal, but getting
9389 getWord() to work properly for the insets that
9390 matter is more difficult ...
9392 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9394 * BufferView_pimpl.C:
9397 * lyxfunc.C: remove the six million index lyxfuncs to just
9398 one, and DTRT (bug 458)
9400 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9404 * BufferView_pimpl.h:
9405 * BufferView_pimpl.C: clean up resize() stuff,
9406 and unnecessary updateScreen()s
9408 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9412 * BufferView_pimpl.h:
9413 * BufferView_pimpl.C:
9416 * minibuffer.C: remove focus management of workarea,
9417 not needed. Use screen's greyOut()
9419 2002-06-17 Herbert Voss <voss@lyx.org>
9421 * converter.C: (convert) do not post a message, when converting
9422 fails, let the calling function decide what to do in this case
9424 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9426 * lyxfunc.C: tidy up a little
9428 2002-06-16 <alstrup@diku.dk>
9430 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9431 Got rid of FORMS_H_LOCATION include. Now we are
9434 2002-06-15 LyX Development team <lyx@rilke>
9436 * buffer.[Ch] (sgmlOpenTag):
9437 (sgmlCloseTag): Added support for avoiding pernicious mixed
9438 content. Return number of lines written.
9441 (makeDocBookFile): Fixed calls to sgml*Tag.
9442 Simple white space clean.
9444 (simpleDocBookOnePar): Simple white space clean.
9446 * tabular.[Ch] (docBook): Renamed to docbook and got another
9447 argument to related with the pernicious mixed content.
9449 (docbookRow): Fixed calls for docbook inset method.
9451 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9453 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9454 so it's X11 independent.
9458 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9460 2002-06-15 Lyx Development team <lyx@electronia>
9462 * intl.h: Renamed getTrans to getTransManager.
9464 2002-06-14 Angus Leeming <leeming@lyx.org>
9466 * Makefile.am: nuke forgotten stl_string_fwd.h.
9468 2002-06-12 Angus Leeming <leeming@lyx.org>
9470 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9472 2002-06-13 Angus Leeming <leeming@lyx.org>
9475 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9477 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9479 * kbmap.C (getiso): add support for cyrillic and greek
9481 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9485 * BufferView_pimpl.h:
9486 * BufferView_pimpl.C: move bogus scrolling logic
9489 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9492 * BufferView_pimpl.C: view->resize() change
9494 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9496 * BufferView_pimpl.C: topCursorVisible
9499 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9503 * lyx_gui.C: move to frontends/
9507 * lyx_main.C: changes from above
9509 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9516 * lyx_main.C: minor tidy
9518 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9520 * BufferView_pimpl.h:
9521 * BufferView_pimpl.C:
9523 * BufferView.C: make painter() const,
9526 * BufferView2.C: use screen() accessor
9529 * lyx_main.C: some minor cleanup
9531 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9533 * BufferView_pimpl.h:
9534 * BufferView_pimpl.C: remove enter/leaveView,
9537 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9542 * BufferView_pimpl.h:
9543 * BufferView_pimpl.C: only construct screen once,
9546 * lyxrc.C: remove pointless comment
9548 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9551 * BufferView.C: remove active() and belowMouse()
9553 * BufferView_pimpl.h:
9554 * BufferView_pimpl.C: use workarea() not workarea_,
9555 and make it use a scoped_ptr instead
9557 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9559 * lyx_gui.C: add debug message on BadWindow
9561 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9563 * sp_spell.C: fdopen is not part of the C++ standard.
9565 * paragraph.C (InsetIterator): use >= instead of ==
9567 2002-06-07 Angus Leeming <leeming@lyx.org>
9569 Fixes needed to compile with Compaq cxx 6.5.
9570 * BufferView_pimpl.C:
9577 * lyxtextclasslist.C:
9582 all c-library variables have been moved into namespace std. Wrap
9583 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9588 Add a using std::abs declaration.
9590 * kbmap.h (modifier_pair):
9591 * paragraph.h (InsetTable, InsetList):
9592 * lyxfont.h (FontBits):
9593 type definition made public.
9595 * bufferlist.C (emergencyWriteAll): the compiler complains that
9596 there is more than one possible lyx::class_fun template to choose from.
9597 I re-named the void specialisation as lyx::void_class_fun.
9599 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9601 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9602 the compiler is is unable to find tostr in write_attribute.
9604 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9606 * buffer.C (sgmlError): hide #warning
9608 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9610 * xtl/*: get rid of xtl, which is not in use anyway
9612 * LyXAction.C (init):
9613 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9614 were unimplemented xtl experimentation
9616 2002-06-04 André Pönitz <poenitz@gmx.net>
9618 * lyxfunc.C: disable array operation on simple formulae
9620 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9622 * converter.C: constify a bit
9624 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9626 * lyx_gui.C: check xforms version correctly
9628 2002-04-30 Herbert Voss <voss@lyx.org>
9630 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9633 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9635 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9636 attempt to register it with a VCS)
9638 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9640 * lyx_main.C (init): honor variables LYX_DIR_13x and
9643 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9647 * lyx_main.C: fix a crash on bad command line,
9648 and give a useful exit status on error
9650 * lyxfunc.C (doImport): allow -i lyx to work
9652 2002-03-30 André Pönitz <poenitz@gmx.net>
9654 * lyxfunc.C: mathed font changes
9656 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9671 * trans_mgr.h: srcdocs, and some minor cleanups
9673 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9675 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9676 call getFont all the time)
9678 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9680 * switch from SigC signals to boost::signals
9682 2002-05-29 André Pönitz <poenitz@gmx.net>
9684 * paragraph_pimpl.C (getChar): don't call size() too often...
9686 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9688 * paragraph_pimpl.C (insertChar): do not try to update tables when
9689 appending (pos == size())
9691 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9692 in order to reduce drastically the number of comparisons needed to
9693 parse a large document
9695 2002-05-29 André Pönitz <poenitz@gmx.net>
9701 * textclasslist.[Ch]:
9702 * sp_ispell.h: whitespace change
9704 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9706 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9707 lyxaction directly now.
9709 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9713 * lyxvc.C: remove unused headers
9715 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9722 * undo_funcs.C: some cleanups. Use shared_ptr
9723 and a template for the undo stacks.
9725 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9727 * BufferView_pimpl.h:
9728 * BufferView_pimpl.C:
9735 * text2.C: use key_state/mouse_state
9737 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9739 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9742 * chset.C: change include order
9743 (loadFile): use boost regex and get rid of LRegex and LSubstring
9745 * Makefile.am (BOOST_LIBS): new variable
9748 * LaTeX.C: change include order.
9749 (scanAuxFile): use boost regex and get rid of LRegex and
9753 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9758 * FontInfo.C: moved to frontends/xforms/
9761 * FontLoader.C: moved into frontends for GUIIzation
9766 * lyxfunc.C: changes from above
9768 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9770 * LColor.C: remove spurious X include
9772 * BufferView_pimpl.C:
9777 * text2.C: move font metrics to frontends/
9779 2002-05-24 Juergen Vigna <jug@sad.it>
9781 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9782 setting the undo_cursor.
9784 * ParagraphParameters.h: include local includes first.
9786 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9788 * BufferView_pimpl.C:
9789 * BufferView_pimpl.h:
9793 * screen.C: move WorkArea into frontends/
9799 * BufferView2.C: move LyXScreen into frontends/
9803 * lyx_gui.C: move lyxlookup into frontends/xforms/
9805 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9808 * BufferView_pimpl.C:
9818 * bufferview_funcs.C:
9831 * vc-backend.C: move LyX/XFormsView into frontends/
9833 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9845 * text2.C: move Painter to frontends/
9847 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9849 * buffer.C: comment out some some code that depend upon lyx_format
9852 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9853 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9855 * buffer.h (NO_COMPABILITY): turn off compability
9857 * ColorHandler.C: include scoped_array.hpp
9859 * font.C: Use more specific smart_ptr header.
9862 * ShareContainer.h: ditto
9866 * BufferView_pimpl.h: ditto
9867 * ColorHandler.h: ditto
9869 * kbmap.C (defkey): change call to shared_ptr::reset
9871 2002-05-21 Juergen Vigna <jug@sad.it>
9873 * buffer.C (insertErtContents): fix to insert ert asis if it is
9874 non empty. Skip it completely if it contains only whitespaces.
9876 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9878 * BufferView_pimpl.C:
9879 * BufferView2.C: clear selection on paste (bug 393)
9881 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9883 * DepTable.C: include ctime
9885 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9887 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9889 2002-05-14 Juergen Vigna <jug@sad.it>
9891 * text.C (breakParagraph): fixed function to honor the keepempty
9892 layout in the right maner and also to permit the right breaking
9893 algorithm on empty or non empyt keepempty paragraphs.
9895 * paragraph.C (breakParagraph): we have to check also if the par
9896 is really empty (!size()) for isempty otherwise we do the wrong
9899 2002-05-10 Juergen Vigna <jug@sad.it>
9901 * buffer.[Ch] : The following are only changes to the ert
9902 compatibility read reading old LaTeX layout and font stuff and
9903 convert it to ERTInsets.
9905 * buffer.h: added isErtInset().
9907 * buffer.C (struct ErtComp): add a fromlayout bool to check
9908 if we're inside a LaTeX layout.
9909 (isErtInset): new helper function.
9910 (insertErtContents): look for other ert insets before this one
9911 and insert the contents there, so that we don't have subsequent
9912 ERT insets with nothing between them. This way we create only one
9913 inset with multiple paragraphs. Also check if we don't insert only
9914 spaces ' ' as they are ignored anyway afterwards in the .tex file
9915 so if we have only spaces we will ignore this latex part in the
9917 (parseSingleLyXformat2Token \\layout): better compatibility when
9918 reading layout-latex stuff.
9919 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9921 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9922 stuff after reading the inset only get the information back from
9925 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9927 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9929 * LaTeXFeatures.C (getBabelOptions): New method.
9931 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9933 * BufferView_pimpl.C (Dispatch): work around missing argument for
9936 2002-05-08 Juergen Vigna <jug@sad.it>
9938 * text.C (leftMargin): handle paragraph leftindent.
9940 * paragraph.C (writeFile): write the new \\leftindent tag.
9941 (validate): handle leftindent code.
9942 (TeXEnvironment): handle paragraphleftindent code again.
9944 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9946 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9947 for paragrap_extra indent code and new token \\leftindent.
9948 (latexParagraphs): handle the leftindent as environment.
9950 * ParameterStruct.h: added leftindent support.
9952 * ParagraphParameters.C (leftIndent): added support functions for
9953 the paragraph left indent.
9955 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9958 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9960 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9963 * text.C (computeBidiTables): No bidi in insetERT.
9965 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9968 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9970 * version.C.in: pre 5
9972 2002-05-02 José Matos <jamatos@fep.up.pt>
9973 * buffer.C (makeDocBookFile): white space changes, add newline to
9975 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9977 * tabular.C (docBook): fix typo.
9979 2002-05-03 Juergen Vigna <jug@sad.it>
9981 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9982 change in LyXText as we can not be sure it was not freed.
9983 (drawOneRow): remove unused code.
9985 * text.C (drawInset): redo the calculation of the need_break_row as
9986 it could have a row which was already freed.
9987 (draw): look at the return value of drawInset and return false if
9988 it also returned false.
9989 (paintRowText): look at the return value of draw and return false if
9990 it also returned false.
9992 * lyxtext.h: added bool return type to drawInset() and draw() so that
9993 if we have a change in the row so that the rowbreak has to be redone
9994 we abort drawing as it will be called again.
9996 2002-05-02 Juergen Vigna <jug@sad.it>
9998 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9999 a change in the maintext also if we're inside an inset.
10000 (Dispatch): set the cursor again after a break line and after the
10001 screen has been updated as it could be we're in a different row.
10003 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10004 to set the cursor behind the pargraph with > size().
10005 (setCursor): check also for the same paragraph when checking where
10006 to put the cursor if we have a NFR inset.
10008 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10009 parts of layout read further up as it still was in the wrong
10012 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10014 * screen.C (drawFromTo): change sine fullRebreak always return
10017 * buffer.C (parseSingleLyXformat2Token): reindent some
10019 * BufferView_pimpl.C (update): change since fullRebreak always
10021 (Dispatch): git rid of the last hardcoded "Standard"s.
10023 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10025 * text2.[Ch] (fullRebreak): make it return void now that we always
10028 2002-04-30 Juergen Vigna <jug@sad.it>
10030 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10031 ert compatibility check for "latex" layout.
10033 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10035 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10036 minipages: use col% instead of p%, and also use the current font.
10037 (makeLaTeXFile): Fix use babel condition.
10038 (parseSingleLyXformat2Token): Correct font when reading old floats.
10040 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10042 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10043 inserting list of floats.
10045 2002-04-25 Herbert Voss <voss@lyx.org>
10047 * MenuBackend.C (expand): don't add the graphics extensions to the
10050 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10052 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10053 non-existing layout, do not complain if it was the default layout
10054 of the original class (bug #342)
10056 2002-04-24 Juergen Vigna <jug@sad.it>
10058 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10059 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10061 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10063 * buffer.C (getBibkeyList): If using \bibliography, return the
10064 option field with the reference itself. Enables us to provide natbib
10065 support when using \bibliography.
10067 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10069 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10071 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10072 natbib is provided by the LaTeX class.
10074 2002-04-23 Juergen Vigna <jug@sad.it>
10076 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10079 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10081 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10083 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10085 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10086 ensuremath around textordmasculine, textordfeminine and
10089 2002-04-19 Juergen Vigna <jug@sad.it>
10091 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10092 reinitializing the buffer otherwise row-dimensions may be wrong.
10093 (update): reset also the selection cursors if they do exits otherwise
10094 their x/y positions may be wrong.
10096 * text2.C (cursorDown): don't enter the inset if we came from a row
10097 above and are one row over the inset.
10099 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10100 really leaving an inset.
10102 2002-04-18 Juergen Vigna <jug@sad.it>
10104 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10105 of the selected paragraph does not have the selected layout also if
10108 * text2.C (setLayout): fixed bug which did not change last selected
10111 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10112 changed the read and substituted \\end_float with \\end_inset!
10114 * BufferView_pimpl.C (cursorPrevious):
10115 (cursorNext): fixed to make it work with rows heigher than the work
10116 area without moving the cursor only the draw of the row.
10117 (workAreaMotionNotify): fix jumping over high rows.
10119 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10121 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10124 2002-04-16 Juergen Vigna <jug@sad.it>
10126 * text2.C (setCursor): set also the irow().
10127 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10129 (cursorDown): support for locking an inset if the x_fix value goes
10130 inside it. That way I can transverse insets too with cursor up/down.
10132 * lyxrow.h: added irow helper function same as other (i) functions.
10134 * BufferView_pimpl.C (cursorPrevious):
10135 (cursorNext): fixed for insets!
10137 2002-04-15 Juergen Vigna <jug@sad.it>
10139 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10140 position otherwise it is wrong in some cases.
10142 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10143 inside the inset before the call.
10145 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10147 * buffer.[Ch] (getBibkeyList): make it const.
10149 2002-04-12 Juergen Vigna <jug@sad.it>
10151 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10153 * text2.C (getCursorX): new helper function
10154 (setCursor): compute also ix_
10155 (setCursorFromCoordinates): set also ix.
10157 * lyxcursor.h: added ix_ and helper functions.
10159 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10161 * buffer.C (insertStringAsLines): dont break paragraph if the this
10162 paragraph is inside an inset which does not permit it!
10164 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10165 also with no chars on this paragraph.
10166 (paintRowText): only paint stuff if it's inside the workarea!
10168 * paragraph.C (breakParagraph): honor keepempty flag and break the
10169 paragraph always below not above.
10171 * BufferView2.C (unlockInset): update the paragraph layout on inset
10172 unlock as we changed paragraph in such a case.
10174 * lyxfind.C (LyXFind): clear the former selection if not found!
10176 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10177 again called in insertChar().
10179 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10180 an inset which uses the whole row!
10181 (rightMargin): ditto.
10182 (insertChar): force a rebreak if we inserted an inset!
10184 2002-03-28 Herbert Voss <voss@lyx.org>
10186 * lyxlength.[Ch]: add inBP() to get the right PS-point
10187 units (BigPoint). With inPixels we have rounding errors
10189 2002-04-11 Juergen Vigna <jug@sad.it>
10191 * text2.C (setCursorFromCoordinates): set iy to the right value.
10192 (setCursor): add check if row->previous exists!
10194 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10195 an old float_type as this was the case in the old code!
10197 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10199 * BufferView2.C (showLockedInsetCursor): use iy
10200 (fitLockedInsetCursor): ditto
10202 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10203 locked insets as there we have the right value now.
10205 * lyxcursor.C: added iy_ variable and iy functions to set to the
10206 baseline of cursor-y of the locked inset.
10208 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10209 (setCursor): fixed for insets which need a full row.
10211 * text.C (rowLastPrintable): don't ignore the last space when before
10212 an inset which needs a full row.
10213 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10214 as last character of a row when before a inset which needs a full row.
10216 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10218 * version.C.in: update date
10220 * text2.C (fullRebreak): try to always return true and see what
10223 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10225 * MenuBackend.C (expand): use Floating::listName
10227 * FloatList.C (FloatList): add listName argument to the built-in
10230 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10231 text associated with the float.
10233 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10235 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10237 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10239 * ShareContainer.h: add a couple of missing typenames.
10241 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10243 * lyxrc.C (getDescription): use _() correctly rather than N_().
10245 2002-03-28 Herbert Voss <voss@lyx.org>
10247 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10248 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10250 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10252 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10253 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10255 2002-03-29 Juergen Vigna <jug@sad.it>
10257 * lyxfunc.C (dispatch): add a missing fitCursor call.
10259 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10260 it was scrolled by a cursor move, so return the bool status.
10262 * BufferView.C (fitCursor): return the bool flag also to the outside
10263 world as this is needed.
10265 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10267 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10268 call the edit() as it is not needed (and wrong) IMO.
10269 (workAreaButtonPress): set the screen_first variable before evt.
10270 unlock the inset as this may change screen_first and then we have
10271 a wrong y position for the click!
10273 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10275 * MenuBackend.C (expand): another translation that I missed
10277 2002-03-28 Juergen Vigna <jug@sad.it>
10279 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10281 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10283 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10285 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10287 * MenuBackend.C (expand): fix export/view/update when there is no
10290 2002-03-27 Herbert Voss <voss@lyx.org>
10292 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10295 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10297 * bufferview_funcs.C (currentState): only show paragraph number
10298 for is DEVEL_VERSION is set.
10300 * lyxfunc.C (dispatch): put warning in INFO channel
10302 * MenuBackend.C (expand): translate the name of floats
10304 * FloatList.C (FloatList): mark the float names for translation
10306 * converter.C (convert): use LibScriptSearch
10308 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10310 * MenuBackend.C (defaults): fix default menu (we might as well get
10313 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10315 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10318 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10320 * lyxvc.C: reorder includes.
10322 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10324 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10327 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10329 * CutAndPaste.C: change layouts earlier on paste
10330 to avoid crashing when calling getFont()
10332 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10334 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10337 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10339 * WorkArea.C: remove 'Pending' debug message.
10341 * most files: ws cleanup
10343 * buffer.[Ch]: ws changes
10345 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10347 2002-03-21 Juergen Vigna <jug@sad.it>
10349 * tabular.C (SetMultiColumn): collapse also the contents of the
10350 cells and set the last border right. Added a Buffer const * param.
10352 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10354 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10357 2002-03-19 Juergen Vigna <jug@sad.it>
10359 * text2.C (clearSelection): reset also xsel_cache.
10361 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10362 where it needs to be called (John tells us to do so too :)
10363 (selectionLost): reset sel_cache.
10365 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10367 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10369 * text2.C (setCursorIntern): put debuging code in INSETS channel
10371 2002-03-19 André Pönitz <poenitz@gmx.net>
10373 * lyxfunc.C: tiny whitespace change
10375 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10377 * ToolbarDefaults.C (init):
10378 * LyXAction.C (init):
10380 * BufferView_pimpl.C (Dispatch):
10381 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10383 2002-03-19 Allan Rae <rae@lyx.org>
10385 * exporter.C (Export): removeAutoInsets before doing anything else.
10386 While I've just introduced a dependency on BufferView this really is
10387 the best place to clean the buffer otherwise you need to cleanup in
10388 a dozen places before calling export or cleanup in a dozen functions
10391 * converter.C (runLaTeX):
10392 (scanLog): Better handling of removeAutoInsets and screen updates.
10394 * lyxfunc.C (dispatch): small whitespace changes
10396 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10398 * WorkArea.C (C_WorkAreaEvent): return a value.
10399 (event_cb): return 1 if we handled the event, 0 otherwise.
10401 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10403 2002-03-18 Juergen Vigna <jug@sad.it>
10405 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10406 (GetAdditionalWidth): ditto.
10407 (RightLine): ditto.
10410 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10411 inset if we're there actually (probably not used right now but this
10412 is the direction to go for unifying code).
10413 (paste): disable code to clear the selection.
10415 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10416 inside an InsetText and move the check further up as it is in the
10419 * text2.C (pasteSelection): set a selection over the pasted text.
10421 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10423 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10424 and libgraphics to build on Cygwin.
10426 2002-03-15 Juergen Vigna <jug@sad.it>
10428 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10429 inserting an Inset into the paragraph. I know this is not the best
10430 fix but we already use current_view in CutAndPaste so we will remove
10431 all of it's using at the same time.
10433 * buffer.C (sgmlError): deactivated function till it is rewritten in
10434 the right mode, now it can create problems.
10436 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10437 before accessing it.
10439 2002-03-14 Juergen Vigna <jug@sad.it>
10441 * undo_funcs.C (textHandleUndo): do the right thing when updating
10442 the inset after the undo/redo.
10444 * text2.C (setCursor): just some testcode for #44 not ready yet.
10446 * undo_funcs.C (textHandleUndo): set the next() and previous()
10447 pointers of the paragraph to 0 before deleting otherwise we have
10448 problems with the Paragraph::[destructor].
10450 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10451 on a paragraph insertion.
10453 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10455 * buffer.C (asciiParagraph): use += operator for char append to
10458 * paragraph.C (getFontSettings): compare >= not just >
10459 (highestFontInRange): ditto
10462 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10464 * paragraph.C: change several algorithm to be more appripriate for
10465 the problem domain. This is lookip in FontList and in the InsetList.
10467 2002-03-13 André Pönitz <poenitz@gmx.net>
10470 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10472 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10477 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10479 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10481 * Painter.C (display): anon helper function, adjust code for this
10483 (pixmap): remove function.
10485 * Painter.h: remove private display variable.
10487 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10489 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10491 * WorkArea.[Ch]: remove figinset_canvas cruft.
10493 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10495 * lyxtextclass.C (operator): add one item cache optimization.
10497 * bufferlist.h: doxy changes
10499 * bufferlist.C: ws changes
10501 * DepTable.[Ch] (ext_exist): place const in the right spot.
10503 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10505 (workAreaExpose): call resizeInsets when the with BufferView changes.
10506 (Dispatch): adjust for protectedBlank removal
10507 (specialChar): call updateInset if the insert went ok.
10509 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10510 specialChar instead.
10512 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10514 * BufferView.h: doxy change
10516 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10518 * lyxtextclass.C (operator[]): remove non-const version
10519 (defaultLayout): remove non-const version
10521 2002-03-12 Juergen Vigna <jug@sad.it>
10523 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10524 did resize the LyXText too.
10526 * buffer.C (readLyXformat2): set layout information on newly allocated
10529 * tabular.C (OldFormatRead): set layout information on the paragraph.
10531 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10533 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10535 2002-03-11 Juergen Vigna <jug@sad.it>
10537 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10539 (resizeCurrentBuffer): force also the insets to resize themselfes.
10540 (moveCursorUpdate): fixed up for InsetText.
10542 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10545 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10546 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10547 value of Dialogs::tooltipsEnabled().
10548 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10550 2002-03-08 Juergen Vigna <jug@sad.it>
10552 * BufferView_pimpl.C (updateInset): update inset inside inset also
10553 if it isn't inside theLockingInset().
10555 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10557 * buffer.C (asciiParagraph): redo some of the word and line length
10559 (getLists): look for Caption instead of caption.
10561 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10563 * buffer.C (Buffer): initialize niceFile to true
10565 (makeLinuxDocFile):
10566 (makeDocBookFile): make sure niceFile is true on exit
10568 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10570 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10572 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10574 * LyXSendto.C: remove.
10575 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10576 * lyx_gui.C: remove now-redundant comment.
10577 * ColorHandler.h: remove forward declaration of class WorkArea.
10578 * lyxfunc.C: remove #include "WorkArea.h".
10580 2002-03-07 Juergen Vigna <jug@sad.it>
10582 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10583 got moved away with the DEPM and also set the inset_owner always
10584 right which before could have been omitted.
10586 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10588 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10589 wanted layout is not found.
10591 2002-03-07 Juergen Vigna <jug@sad.it>
10593 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10595 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10597 * paragraph.C (breakParagraph): use default layout not layout of
10599 (Paragraph): clear ParagraphParameters.
10601 2002-03-06 Juergen Vigna <jug@sad.it>
10603 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10604 otherwise it would not be a valid lenght. Fixed a special case in
10605 the minipage compatibility read where we end the document with a
10608 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10609 was set as it could be 0 for InsetTexts first entry.
10611 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10613 * paragraph.C (writeFile): if layout is empty write out
10614 defaultLayoutName().
10616 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10617 file without named layout we set layout to defaultLayoutName().
10619 2002-03-06 Juergen Vigna <jug@sad.it>
10621 * CutAndPaste.C (copySelection): set layout for new paragraph.
10623 * text.C (prepareToPrint): leave ERT inset left aligned
10624 (leftMargin): don't indent paragraphs inside ERT insets
10626 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10628 * paragraph.C (breakParagraph): dont call clear do the work manually
10630 * paragraph.[Ch] (clear): remove function
10632 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10634 * paragraph.C (Paragraph): dont call clear, the work has already
10637 * lyxtextclass.C (operator): assert if n is empty
10639 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10640 work manually instead.
10642 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10644 * BufferView_pimpl.C: protect selectionLost against text == 0
10646 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10648 * text.C (breakParagraph): fix a setting layout to '0' problem.
10650 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10652 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10653 final location of file, for the included files, and graphics.
10655 2002-03-05 Juergen Vigna <jug@sad.it>
10657 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10659 2002-03-04 Juergen Vigna <jug@sad.it>
10661 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10663 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10664 last column of multicolumn cells.
10665 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10667 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10669 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10670 file if it doesn't go to a temporary file.
10672 * buffer.C (sgmlOpenTag):
10673 (sgmlCloseTag): remove extra newline insertion.
10675 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10677 * text.C (getRowNearY): comment out debug msg
10679 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10681 * text2.C: first -> first_y
10683 * text.C (getRowNearY): add some attemts at a possible
10684 optimization, not working.
10686 * tabular.[Ch]: add BufferParams to several function so that newly
10687 created paragraph can be initialized to he default layotu for the
10690 * tabular-old.C (ReadOld): add buf->params to call of Init
10692 * screen.C: rename text->first to text->first_y
10694 * paragraph.C (breakParagraph): always set layout in the broken
10697 * lyxtextclass.C (Read): remove lowercase
10700 (delete_layout): ditto
10702 * lyxtext.h: rename first -> first_y
10704 * lyxlayout.C (Read): remove lowercase
10707 (obsoleted_by): ditto
10709 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10711 * buffer.C (insertErtContents): add params are to InsetERT
10712 (parseSingleLyXformat2Token): add code to check if a paragraphs
10713 layout really exist.
10714 (parseSingleLyXformat2Token): add params to several inset
10716 (asciiParagraph): remove lowercase, do the layout comparisons with
10719 * BufferView_pimpl.C (cursorNext): first -> first_y
10720 (resizeCurrentBuffer): first -> first_y
10721 (updateScrollbar): first -> first_y
10722 (scrollCB): first -> first_y
10723 (workAreaMotionNotify): first -> first_y
10724 (workAreaButtonPress): first -> first_y
10725 (checkInsetHit): first -> first_y
10726 (cursorPrevious): first -> first_y
10727 (cursorNext): first -> first_y
10728 (Dispatch): add buffer_->params to severl inset contructors
10730 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10732 * lyxlayout.C (Read): remove some debug info that I forgot.
10734 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10735 clean up the code slightly.
10736 (makeLinuxDocFile): ditto
10737 (makeDocBookFile): ditto
10739 * text2.C: layout as string
10741 * text.C: layout as string
10743 * paragraph_pimpl.C: layout as string
10745 * paragraph.[Ch]: layout as string
10747 * lyxtextclasslist.[Ch]: layout as string
10749 * lyxtextclass.[Ch]: layout as string
10751 * lyxtext.h: layout as string
10753 * lyxlayout.[Ch]: layout as string
10755 * lyx_cb.C: layout as string
10757 * bufferview_funcs.C: layout as string
10759 * bufferparams.C: layout as string
10761 * buffer.C: layout as string
10763 * LyXView.[Ch]: layout as string
10765 * LaTeXFeatures.[Ch]: layout as string
10767 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10769 * BufferView_pimpl.C: change current_layout to string, remove
10774 (workAreaButtonRelease): layout as string
10776 * BufferView2.C (unlockInset): adjust
10778 * vspace.C (asLatexCommand): use an explict temp variable.
10780 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10782 * Makefile.am: use FRONTEND_*
10784 2002-03-01 Juergen Vigna <jug@sad.it>
10786 * tabular.C (SetWidthOfMulticolCell): changed to something better
10787 I hope but still work in progress.
10788 (recalculateMulticolumnsOfColumn): renamed function from
10789 recalculateMulticolCells as it is more appropriate now.
10790 (SetWidthOfCell): calculate multicols better.
10792 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10794 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10796 * lyxfunc.C (processKeySym): print sequence also if it is
10797 `deleted' (complete)
10799 * kbsequence.C (print): print sequence even if it is deleted
10800 (complete would be a better word, actually).
10802 * lyxfunc.C (dispatch): print complete options after a prefix key
10804 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10806 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10808 * text2.C (setCharFont): eliminate setCharFont code duplication.
10810 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10812 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10813 LFUN_TABULAR_FEATURE (bug #177)
10815 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10817 * Makefile.am: remove figure.h
10819 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10821 * Bufferview_pimpl.C:
10833 * text2.C: remove #include "lyx_gui_misc.h".
10835 * LaTeX.C: added #include <cstdio>
10837 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10839 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10840 that the paragraph following this one can have.
10842 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10844 * vspace.C (asLatexCommand): fix bogus gcc warning
10846 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10848 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10850 * text2.C (setLayout): get rid of redundant code
10852 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10854 * text2.C (incDepth): make sure depth cannot be increased beyond
10857 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10859 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10860 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10862 * PainterBase.h (image):
10863 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10864 a LyXImage const *.
10866 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10870 * BufferView_pimpl.C:
10871 * BufferView_pimpl.h:
10891 * sp_spell.C: remove fig inset, and the crap house of
10892 cards that follows it
10894 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10899 * os2_errortable.h:
10900 * nt_defines.h: move .h into support/
10902 * vms_defines.h: remove
10904 * WorkArea.C: add space in debug output
10908 * buffer.C: add WITH_WARNINGS
10912 * bufferlist.C: s/retrive/retrieve/, add docs
10921 * chset.C: add docs
10923 * lyxgui.C: add ID to X error handler
10925 * lyxtestclass.c: fix typo
10927 2002-02-26 Juergen Vigna <jug@sad.it>
10929 * tabular_funcs.C (write_attribute): changed so that some default
10930 attributes are not written at all.
10931 (getTokenValue): set default values before trying to read the
10932 value so we have the return value always set as default if we don't
10933 find the token we search for.
10935 * tabular.C (Write): write bools as bools not as strings!
10937 2002-02-22 Juergen Vigna <jug@sad.it>
10939 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10940 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10942 * text.C (leftMargin): don't add an indent for paragraphs inside
10943 tabular cells (fix #208).
10945 2002-02-21 José Matos <jamatos@fep.up.pt>
10947 * tabular.C (docBook): fixed support for long tables.
10949 2002-02-20 Juergen Vigna <jug@sad.it>
10951 * text2.C (getFont): get the drawing font of the Inset if this
10952 paragraph is inside an inset (only important for InsetERT for now).
10954 * buffer.C (insertErtContents): use new lanugage params in ERT
10957 * CutAndPaste.C: commenting out seemingly uneeded code.
10959 2002-02-19 Allan Rae <rae@lyx.org>
10961 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10962 Iterators might be simple to use but they also get invalidated.
10963 (removeAutoInsets): renamed saved cursor tracking variables and added
10964 some comments to clarify what everything does.
10966 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10973 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10974 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10977 * vc-backend.h: remove #include "support/syscall.h"
10981 * converter.C: rearrange #includes in Lars' approved fashion.
10983 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10984 forward declare class Timeout in the header file.
10986 * XFormsView.C: changes due to the above.
10988 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10989 similar to LyXView.
10991 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10992 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10994 2002-02-18 José Matos <jamatos@fep.up.pt>
10996 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10999 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11001 * a lot of small ws changes
11002 * add a lot of using std::XXX
11003 * use std construcs some places where approp.
11004 * use some exisint stuff from lyxfunctional where approp.
11005 * Make file changes to use partial linking (lets test this now...)
11007 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11011 remove #include "support/syscontr.h" as it's redundant. Always has been.
11019 change Systemcalls::System to Systemcalls::Wait and
11020 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11021 No change of functionality, just reflects the stripped down Systemcalls
11024 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11026 * debug.[Ch]: add a GRAPHICS type to the enum.
11028 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11030 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11032 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11035 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11037 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11038 match the changes below.
11040 * text2.C (toggleInset): if there is not editable inset at cursor
11041 position, try to see if cursor is _inside_ a collapsable inset
11044 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11046 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11047 document menu has a nice checkbox
11049 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11051 * lyxlength.C (asLatexString): change PW to output as percent of
11054 * lengthcommon.C: change '%' to 't%'
11056 * lyxfunc.C (dispatch): a few comments from Martin
11058 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11062 * BufferView_pimpl.h:
11063 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11066 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11068 * vspace.C (inPixels): fix compiler warning
11070 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11072 * lyxfunc.C (getStatus): fix status message for disabled commands.
11074 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11076 * BufferView_pimpl.C: fix crash on close buffer
11077 during selection (#227)
11079 2002-01-27 Herbert Voss <voss@lyx.org>
11081 * buffer.C: link old Figure to new graphic inset
11083 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11085 * FontLoader.C (getFontinfo): Change the latex font names in order
11086 to match the names of type1inst.
11088 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11090 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11092 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11093 (extchanged): ditto
11095 (remove_files_with_extension): ditto
11096 (remove_file): ditto
11099 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11100 document is smaller than the work area height. Do not initialize
11101 static variables to 0.
11103 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11105 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11107 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11108 LFUN_LAYOUT_PARAGRAPHS.
11110 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11111 tabular. It is possible to provide a possible cell, which will
11112 typically be the actcell from the corresponding insettabular
11114 * lyxfunc.C (getStatus): small cleanup; disable
11115 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11118 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11120 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11122 * paragraph.C (startTeXParParams):
11123 (endTeXParParams): new methods. The LaTeX code to
11124 start/end paragraph formatting
11125 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11126 empty (fixes bug #200)
11128 * vspace.C (inPixels): adapt to the change below
11129 (inPixels): [later] more cleanups (remove unused variables)
11131 * lyxlength.C (inPixels): change to use a width and a height as
11134 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11136 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11137 Replaced with \paperwidth
11139 * DepTable.C (insert): add std:: qualifier
11141 2002-01-18 Allan Rae <rae@lyx.org>
11143 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11146 * text.C (drawInset): Turned out I didn't know enough about how
11147 rebreaking worked. This fixes most of the redraw problems. I see
11148 an occasional cursor trail when a line is broken now and the cursor
11149 placement can seem out by a few pixels also after a rebreak.
11151 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11153 * buffer.C (parseSingleLyXformat2Token): update because minipage
11154 width is now a LyXLength
11156 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11158 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11161 2002-01-17 Juergen Vigna <jug@sad.it>
11163 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11165 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11166 is set correctly and the inset is updated correctly.
11168 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11170 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11171 the beginning of the loop.
11173 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11175 * lyxrc.C: improve help for use_scalable_fonts
11177 2002-01-17 Allan Rae <rae@lyx.org>
11179 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11181 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11183 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11184 make sure to set their inset_owner to the right value (bug #171)
11186 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11189 * DepTable.C: Implement mtime checking to reduce time spent doing
11192 2002-01-16 Juergen Vigna <jug@sad.it>
11194 * tabular.C (GetAdditionalHeight): one of error fixed.
11196 * lyxrc.C (output): small fix in writing use_pspell.
11198 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11200 * sp_base.h: #include LString.h
11202 2002-01-16 Allan Rae <rae@lyx.org>
11204 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11205 Can someone check this please?
11207 * text.C (drawInset): It was possible that p.row would be removed by
11208 breakAgainOneRow upsetting a few other settings. There may be another
11209 small tweak possible by setting need_break_row = 0 when p.row has been
11210 removed but I don't know enough about the logic here.
11212 2002-01-15 Allan Rae <rae@lyx.org>
11214 * text.C (insertChar): removed conditional truism.
11216 * BufferView2.C (removeAutoInsets): More tweaks.
11217 cur_par_prev could be a stray pointer. Check for trailing empty line
11218 in case last line was cur_par and only had an error inset on it.
11220 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11222 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11225 * vc-backend.C (most methods):
11226 * exporter.C (Export):
11227 * converter.C (convert):
11229 * LyXSendto.C (SendtoApplyCB):
11230 * lyxfunc.C (dispatch):
11234 * lyx_cb.C (AutoSave):
11236 * BufferView_pimpl.C (MenuInsertLyXFile):
11237 * buffer.C (runChktex): use Buffer::filePath().
11239 * buffer.h: rename filename to filename_; rename filepath to
11240 filepath_ and make it private
11241 (filePath): new method
11243 * buffer.C (writeFile): use fileName()
11246 * lyx_main.C (init): fix starting of LyX when the binary is a
11247 link from so,ewhere else.
11249 * minibuffer.C: include <cctype> for isprint
11251 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11253 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11254 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11255 name clash with InsetCollapsable's width function.
11257 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11259 * lastfiles.C: include <iterator>
11261 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11263 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11266 * buffer.C (makeLaTeXFile): ditto.
11267 Also make loop operation more transparent.
11269 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11271 * ToolbarDefaults.C: remove trailing comma closing namespace.
11273 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11275 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11278 * trans.C (Load): comment out unused variable, allowed.
11280 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11282 * minibuffer.[Ch] (append_char): new method to recieve input from the
11283 drop-down completion browser. If a key was pressed, then recieve this
11284 char and append it to the existing string.
11285 (peek_event): modify the positioning data passed to the completion
11286 browser so that it can be placed above the minibuffer rather than below.
11287 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11289 * LyXAction.C (init): alloe error-next for readonly documents.
11291 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11294 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11296 * bufferlist.C (readFile): create the buffer _after_ checking that
11299 * lyxfunc.C (verboseDispatch): fix handling of arguments
11301 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11303 * lyxrc.C: use string::erase() instead of initializing to "".
11306 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11308 * BufferView_pimpl.h:
11309 * BufferView_pimpl.C:
11312 * text2.C: tell X when we have made a selection for copying
11314 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11316 * BufferView_pimpl.C (MenuInsertLyXFile):
11317 * lyxfunc.C (menuNew):
11319 (doImport): add shortcuts to directory buttons
11321 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11324 * lyxfunc.C (setStatusMessage):
11325 (getStatusMessage): new methods
11326 (getStatus):use setStatusMessage instead of setErrorMessage
11327 (dispatch): when function is disabled, set error message here
11328 [instead of in getStatus previously]
11330 * BufferView_pimpl.C (workAreaButtonRelease): update
11331 toolbar/menubar here too.
11333 2002-01-13 Allan Rae <rae@lyx.org>
11335 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11336 Now seems indestructible. Remaining task is to audit all other
11337 code affected by deleteEmptyParagraphMechanism. One small quirk
11338 left is that an empty document with an error in the preamble can
11339 be made to report an error but no error box appears. I don't know
11341 (removeAutoInsets): Improved comments.
11343 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11346 * Thesaurus.C: update for Aiksaurus 0.14
11348 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11350 * text2.C (firstParagraph): removed member function, all uses
11351 replaces with ownerParagraph
11352 (redoParagraphs): here
11353 (updateInset): here
11354 (toggleAppendix): here
11355 * BufferView2.C (insertErrors): here
11356 (setCursorFromRow): here
11358 2002-01-13 Allan Rae <rae@lyx.org>
11360 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11361 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11362 There is still a way to segfault this although you may have to do this
11363 multiple times: Have an InsetERT with an unknown command in it.
11364 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11365 <down-arrow>, <Enter> again, View->DVI, BANG!
11367 * text2.C (setCursor):
11368 (deleteEmptyParagraphMechanism):
11369 * lyxtext.h (setCursor):
11370 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11371 Making use of the return value may help fix other bugs.
11373 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11375 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11377 * LyXView.C (updateMenubar): call MenuBar::update here
11378 (updateToolbar): but not here
11379 (showState): do not update toolbar/menubar
11381 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11382 should need to care about that.
11384 * lyxfunc.C (verboseDispatch): simplify a bit
11385 (getStatus): have a version which takes a pseudoaction, and
11386 another which requires a (kb_action,string).
11388 * LyXAction.C (retrieveActionArg): make it work also when action
11389 is not a pseudo-action.
11390 (getActionName): simplify a bit
11393 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11395 * lyxfunc.C (verboseDispatch): new families of methods with
11396 several ways to specify a command and a bool to indicate whether
11397 the command name and shortcut should be displayed in minibuffer
11398 (eventually, we could extend that to a finer bitmask like
11399 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11400 (dispatch): the pristine dispatch command which just, well,
11401 dispatchs! Note it still sets its result to minibuffer; I'm not
11404 * lyxfunc.h: remove setHintMessage
11406 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11408 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11410 * BufferView_pimpl.C (specialChar): delete new inset if we have
11411 not been able to insert it.
11413 * kbmap.C: revert to using int instead of kb_action, since all we
11414 are dealing with is pseudo-actions.
11416 * LyXAction.C (searchActionArg): change to return int instead of
11417 kb_action, since the result is a pseudoaction.
11419 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11421 * buffer.C (insertErtContents): Fix (partially) the font bug.
11423 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11425 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11426 as the other one is broken on my machine!
11428 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11431 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11433 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11435 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11436 reflect their actual use. Provide compatibility code for older lyxrc
11439 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11441 change names of popup font variables in line with the changes to lyxrc.C
11443 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11445 * buffer.C (asciiParagraph): avoid outputing a word twice after
11448 * lyxrc.C (getDescription): document that document_path and
11449 template_path can be empty.
11451 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11453 * LaTeXFeatures.C (getMacros):
11454 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11456 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11458 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11460 (getPackages): rename feature "floats" to "float". Use an array to
11461 iterate over 'simple' features (i.e. just a \usepackage). Add
11462 handling of "amsmath" (renamed from "amsstyle").
11464 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11466 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11469 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11471 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11472 FuncStaus::FuncStatus & FuncStaus::some_method().
11474 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11476 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11477 of the func_satus stuff. Edited and massaged in various ways by
11480 * lyxfunc.C (getStatus): use FuncStatus
11482 2002-01-08 Juergen Vigna <jug@sad.it>
11484 * text.C (nextBreakPoint): use function Inset::isChar().
11486 * paragraph.C (TeXOnePar): use function
11487 Inset::forceDefaultParagraphs.
11489 * buffer.C (latexParagraphs): use function
11490 Inset::forceDefaultParagraphs.
11492 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11494 * lyx_gui.C (init): set the style of the menu popups to
11495 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11497 2002-01-07 Juergen Vigna <jug@sad.it>
11499 * text.C (setHeightOfRow): small fix
11500 (prepareToPrint): don't look at alignment if we don't have the place
11503 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11505 * box.C: New file. Move the Box methods and functions out of box.h,
11506 following Lars' suggestion.
11508 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11510 * box.h: #include "support/LOstream.h", needed for inlined function.
11513 * lyxtextclasslist.C: added some using std declarations.
11515 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11517 * box.h: make signed dimensions to allow insets wider than
11518 the screen (bug #162)
11520 * BufferView_pimpl.C: add some insetHit debug
11522 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11524 * vc-backend.C: add FIXME
11526 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11528 * lyxfunc.C (getStatus): enable code for showing math font status
11531 2002-01-07 Juergen Vigna <jug@sad.it>
11533 * text.C (nextBreakPoint): removed debug output not needed anymore.
11535 2002-01-06 Juergen Vigna <jug@sad.it>
11537 * text.C (nextBreakPoint): fixed up this function we had this bug
11538 since ever but now hopefully we break row better.
11539 (insertChar): we have to check if an inset is the next char as it
11540 could now happen that a large inset is causing a break.
11542 2002-01-05 Juergen Vigna <jug@sad.it>
11544 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11545 if it doesn't like to be drawed.
11547 2002-01-04 Juergen Vigna <jug@sad.it>
11549 * BufferView2.C (lockInset): forgot to set a cursor.
11551 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11553 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11555 * FormMathsPanel.C:
11558 * form_maths_panel.C:
11559 * form_maths_panel.h:
11560 * form_maths_panel.fd: implemented sub- and super- buttons in math
11563 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11564 (or ^ space) to be used as in TeX (req'd by André).
11566 * lyxfunc.C: Allow ^ and _ again to be used both as
11567 super/subscript (mathed) and as themselves (in text).
11569 2002-01-03 Allan Rae <rae@lyx.org>
11571 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11572 "LyX" or the filename of the current buffer if it has one. This is a
11573 modified form of John Levon's patch.
11575 * XFormsView.C (setWindowTitle): also set icon title.
11577 * LyXView.h (setWindowTitle): signature changed.
11578 * XFormsView.h (setWindowTitle): ditto.
11580 2002-01-02 Juergen Vigna <jug@sad.it>
11582 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11584 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11586 * screen.C (topCursorVisible): introduce a temp var for
11587 text->cursor.row(), handle the case where this row is null. (kindo
11590 * text2.C (setCursor): add a couple of asserts.
11592 * paragraph.h (inset_iterator): add -> operator
11594 * paragraph.[Ch] (autoDeleteInsets): remove member function
11596 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11597 cursor pos correctly and handle inset deletion by itself.
11598 (insertErrors): move iterator declaration out of for expression
11600 * lyxtextclass.C: add <algorithm>
11602 * Makefile.am: added the new files to sources, removed layout.C
11604 * layout.C: removed file
11606 * layout.h: remove LYX_DUMMY_LAYOUT
11608 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11612 * lyxtextclass.[Ch]:
11613 * lyxtextclasslist.[Ch]: new files
11615 * include order changes to a lot of files, also changes because of
11618 2001-12-27 Juergen Vigna <jug@sad.it>
11620 * buffer.C (asciiParagraph): more fixes.
11622 * tabular.C (ascii): make ascii export support export of only the
11623 data separated by a column-delimiter.
11624 (ascii): better support for ascii export.
11626 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11628 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11630 * tabular_funcs.C: use a "using std::getline" instead of the
11631 previous fix from Angus (necessary for cxx + lyxstring)
11633 2001-12-24 Juergen Vigna <jug@sad.it>
11635 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11637 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11638 problems. First check a minipage also if we have some ert-contents
11639 (not only on par->size(), second set the right depth of the paragraph
11640 on the relink to the root-paragraph-list!
11642 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11643 which then did not anymore update the main paragraphs on undo/redo!
11645 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11647 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11648 code. Support all font-changing funcs (even those which are not in
11649 menu currently). Support for reporting font settings in
11650 mathed (disabled until Andre provides a function on mathed's side).
11652 * func_status.h (toggle): small helper function to set toggle
11655 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11657 * tabular_funcs.C: getline -> std::getline
11659 2001-12-21 Juergen Vigna <jug@sad.it>
11661 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11662 accessed and could be 0 (I couldn't generate this but it seems
11665 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11667 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11668 * tabular_funcs.h: here and include iosfwd
11670 2001-12-20 Juergen Vigna <jug@sad.it>
11672 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11673 inside inset but undo_par was.
11675 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11677 * Thesaurus.C: always include <config.h> in sources.
11681 * box.h: do not include <config.h> in header files
11683 * text.C (paintLastRow): remove unused variable
11685 * text.C (transformChar):
11687 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11689 * Painter.C (text):
11690 * font.C (width): rewrite to use uppercase() instead of
11693 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11695 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11697 * lyxfind.C: clean up of find failure position change
11699 2001-12-20 Juergen Vigna <jug@sad.it>
11701 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11703 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11704 (TeXRow): added to LaTeX a single tabular row.
11705 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11706 (Latex): simplified and finally good LT-h/f support.
11707 (various_functions): just small adaptions for LT-h/f support.
11709 * tabular_funcs.[hC]: added and moved here all not classfunctions
11712 2001-12-19 Juergen Vigna <jug@sad.it>
11714 * tabular.[Ch]: better support for longtabular options (not finished
11717 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11719 * text.C (paintLastRow): use the label font instead of the font of
11720 the last character to compute the size of *_BOX. This makes more
11721 sense and avoids a crash with empty paragraphs.
11722 Use Painter::rectangle to draw EMPTY_BOX.
11724 2001-12-19 Juergen Vigna <jug@sad.it>
11726 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11727 the paragraphs if the replaced paragraph is not the first one!
11728 Tried to delete not used paragraphs but does not work yet so for
11729 now it's inside #ifdef's and by default off!
11731 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11733 * MenuBackend.C: include "lyx_main.h" instead of declaring
11734 lastfiles (actually was declared as LastFiles* instead of a
11737 2001-12-17 Juergen Vigna <jug@sad.it>
11739 * tabular.C (AppendColumn): applied John's fix
11741 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11745 * BufferView_pimpl.h:
11746 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11749 * box.h: new start of class for above
11751 * lyxfunc.C: ignore space-only minibuffer dispatches.
11752 Show the command name when it doesn't exist
11754 * minibuffer.C: don't add empty lines to the history
11756 * minibuffer.C: add a space on dropdown completion
11758 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11760 * text.C: fix line above/below drawing in insets
11762 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11764 * lyxlength.C (LyXLength): Initialize private variables.
11766 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11768 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11769 when inserting error insets.
11771 2001-12-13 Juergen Vigna <jug@sad.it>
11773 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11774 actually sometimes the before-paragraph.
11775 (setUndo): don't clear the redostack if we're not actually undoing!
11777 2001-12-06 Juergen Vigna <jug@sad.it>
11779 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11780 and fixed redoing of main paragraph, so we can use it now ;)
11782 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11784 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11786 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11789 2001-12-13 André Pönitz <poenitz@gmx.net>
11792 * undo_func.C: minor cleanup
11794 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11796 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11797 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11798 font in urw-fonts package which is marked as -urw-fontspecific and
11799 does not work (incidentally, changing the encoding in the
11800 fonts.dir of this package to -adobe-fontspecific fixes the
11803 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11804 is a crash when undoing first paragraph (Juergen, please take a
11805 look). THis does not mean the undo fix is wrong, just that it
11808 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11809 the (Paragraph*) version when needed instead of duplicating the
11812 * text.C (workWidth): use Inset::parOwner to find out where the
11813 inset has been inserted. This is a huge performance gain for large
11814 documents with lots of insets. If Inset::parOwner is not set, fall
11815 back on the brute force method
11817 * paragraph_pimpl.C (insertInset):
11818 * paragraph.C (Paragraph):
11819 (cutIntoMinibuffer): set parOwner of insets when
11820 inserting/removing them
11822 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11824 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11830 * mathed/formulabase.C:
11831 * mathed/math_cursor.[Ch]:
11832 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11835 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11837 * lyxlength.[Ch] (operator!=): new function
11839 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11841 * text.C (workWidth): use Inset::parOwner to find out where the
11842 inset has been inserted. This is a huge performance gain for large
11843 documents with lots of insets. If Inset::parOwner is not set, fall
11844 back on the brute force method
11846 * paragraph_pimpl.C (insertInset):
11847 * paragraph.C (Paragraph):
11848 (cutIntoMinibuffer): set parOwner of insets when
11849 inserting/removing them
11851 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11853 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11855 * tabular-old.C (getTokenValue):
11856 * tabular.C (getTokenValue):
11857 (write_attribute): new versions for LyXLength
11858 (everywhere): adjust the use of widths
11860 * tabular.h: change the type of widths from string to LyXLength
11862 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11864 * paragraph.C: fixed missing line number count when exporting
11865 Environments to LaTeX file
11867 * buffer.C: added informational message for checking line numbers.
11869 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11871 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11872 paragraph, do the 'double space' part, but not the 'empty
11875 * text.C (workWidth): small optimization
11876 (getLengthMarkerHeight): use minimal size for negative lengths.
11878 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11880 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11882 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11884 2001-12-11 André Pönitz <poenitz@gmx.net>
11887 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11889 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11891 * text2.C: keep selection on a setFont()
11893 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11895 * lyx_cb.C: another bv->text misuse, from insert label
11897 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11900 * kbsequence.C: re-instate nmodifier mask
11902 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11904 * lyx_main.h: make lyxGUI private.
11906 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11908 * lyxfind.C: place the cursor correctly on failed search
11910 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11912 * text.C (getLengthMarkerHeight): for small heights, the arrows
11913 are not always on top/bottom of the text
11914 (drawLengthMarker): smaller arrows; take the left margin in
11915 account; draw also vfills.
11917 (paintLastRow): remove special code for vfill and standard spaces,
11918 since everything is handled in drawLengthMarker now.
11920 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11922 * buffer.C (insertErtContents): try to handle font and language
11923 interaction a bit better.g
11925 * ColorHandler.C (updateColor): change the hash to cover the whole
11926 LColor enum, ws cleanup
11927 (getGCLinepars): ditto
11928 (getGCLinepars): only lookup in the linecache once.
11930 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11932 * iterators.C (operator++): Make the iterator more robust
11934 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11936 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11938 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11941 * text.C: better added space drawing
11943 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11946 * BufferView2.C: fix layout combo update on inset unlock
11948 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11950 * Makefile.am: don't compile unused files
11952 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11956 * LyXAction.C: remove old LFUN_LAYOUTNO
11958 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11960 * paragraph_pimpl.h:
11961 * paragraph_pimpl.C: isTextAt() doesn't need font param
11963 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11966 * lyxlex.C: little cleanup
11968 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11970 * BufferView_pimpl.C: fix insertAscii for insets
11972 2001-12-05 Juergen Vigna <jug@sad.it>
11974 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11975 set the right font on the "multi" paragraph paste!
11977 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11983 * lyxlength.C: remove out-commented code.
11985 * BufferView_pimpl:
11999 * vc-backend.C: change "while(" to "while ("
12001 * lyxlength.[Ch]: add zero function to check if length is zero or
12003 * lyxgluelength.C: use it
12005 2001-12-05 Allan Rae <rae@lyx.org>
12007 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12008 Works for 2.95.3, from what I understand of Garst's reports this should
12009 work for other g++ versions. We're screwed if the abs(int) definition
12010 changed between bugfix releases of gcc.
12012 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12014 * text.C: fix chapter label offset !
12016 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12019 * text.C: fix hfill at end of line, clean up
12021 2001-12-04 Juergen Vigna <jug@sad.it>
12023 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12024 that we force an update of the inset and it's owners if neccessary.
12026 2001-12-03 Juergen Vigna <jug@sad.it>
12028 * text.C (rowLast): simplified code
12030 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12032 * lyxfunc.C: fix show options on timeout
12034 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12036 * screen.C (topCursorVisible): scroll half a page when the cursor
12037 reached top of bottom of screen
12039 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12041 * minibuffer.C: deactivate on loss of focus
12043 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12045 * vspace.[Ch] (operator!=): add operator.
12047 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12049 * BufferView_pimpl.C: refuse to open an inset when
12050 there's a selection.
12052 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12054 * BufferView_pimpl.C: allow to click on RHS of full row insets
12056 2001-11-30 Juergen Vigna <jug@sad.it>
12058 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12059 insets for undo reasons.
12061 2001-11-28 André Pönitz <poenitz@gmx.net>
12063 * vspace.[Ch]: cosmetical changes
12065 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12075 * kbsequence.C: part re-write of old kb code
12078 * WorkArea.C: remove Lgb_bug_find_hack
12080 2001-11-30 José Matos <jamatos@fep.up.pt>
12082 * buffer.C (makeDocBookFile): add a comment to point a hack.
12083 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12084 Fixed a double write of labels.
12086 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12089 * LaTeX.h Fixed bug in LaTeX class where it would not
12090 re-run latex if no depfiles were changed, but the .dvi was removed.
12092 2001-11-28 André Pönitz <poenitz@gmx.net>
12094 * all the files from the change on 2001/11/26:
12095 use lyx::layout_type instead of LyXTextClass::size_type
12096 use lyx::textclass_type instead of LyXTextClassList::size_type
12098 2001-11-29 Juergen Vigna <jug@sad.it>
12100 * text.C: added support for paragraph::isFreeSpacing()
12102 * buffer.C: same as above
12104 * paragraph.h: inserted isFreeSpacing() function to enable
12105 FreeSpacing inside InsetERT.
12107 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12108 of the paragraph's in the cut/copy buffer to 0!
12110 * text2.C (removeRow): remove the assert as it can!
12112 * lyxtext.h: added helper function firstRow returning firstrow and
12113 made firstrow private again.
12115 * BufferView2.C (lockInset): don't relock if we're already locked!
12117 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12118 the only paragraph.
12119 (removeRow): added Assert::(firstrow)
12121 * debug.C: forgot to add INSETTEXT here.
12123 2001-11-28 Juergen Vigna <jug@sad.it>
12125 * sp_spell.C (initialize): changed error text to more general
12126 spellchecker command use (not only ispell!)
12128 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12130 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12132 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12134 * vspace.C: initialise lyxgluelength on failure
12136 2001-11-28 Allan Rae <rae@lyx.org>
12138 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12139 declaration & definition that looks like a function declaration.
12141 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12143 * BufferView2.C (copy):
12144 (copyEnvironment): do not clear the selection when doing a copy.
12146 * text.C (paintFirstRow): compilation fix
12148 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12150 * tabular.C (Latex): correct line count when writing latex.
12152 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12154 * paragraph_pimpl.h:
12155 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12158 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12162 * LColor.C: change vfillline->added_space
12164 * text.C: add markers and text for added space
12166 * vspace.C: fix comment
12168 2001-11-28 André Pönitz <poenitz@gmx.net>
12170 * paragraph.C: whitespace changes
12171 * all the other files from the change on 2001/11/26:
12172 change *::pos_type into lyx::pos_type
12174 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12176 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12177 language of the document when inserting error insets.
12179 2001-11-26 André Pönitz <poenitz@gmx.net>
12181 * BufferView_pimpl.[Ch]:
12189 * paragraph_pimpl.[Ch]:
12192 * text2.C: reduce header dependencies, introduce type for positions
12194 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12196 * <various>: change to use Alert.h
12198 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12200 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12201 when encountering an unknown token.
12202 (readLyXformat2): Show an error message if there were unknown tokens.
12204 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12207 * BufferView_pimpl.C:
12211 * text2.C: use par->isInset()
12213 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12215 * paragraph_pimpl.h:
12216 * paragraph_pimpl.C: cleanup
12218 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12220 * text2.C (removeRow):
12221 * text.C (setHeightOfRow): remove useless (and costly) call to
12224 2001-11-20 Allan Rae <rae@lyx.org>
12226 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12227 Now need Inset*::checkInsertChar() to return true for appropriate
12228 cases so that the characters in the minibuffer will actually be
12231 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12233 * text.C: change the order of the includes.
12234 (workWidth): initialize it at once.
12235 (workWidth): make maxw unsigned
12236 (setHeightOfRow): remove unused variable (inset)
12237 (selectSelectedWord): remove unused variable (inset)
12238 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12240 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12242 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12243 server is not running.
12245 (closeConnection): add debug info when server is disabled.
12247 * ColorHandler.C (getGCForeground): send debug message to GUI
12250 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12252 * kbmap.C (bind): modify because return conventions of
12253 kb_sequence::parse have changed.
12255 * kbsequence.C (parse): only ignore spaces and not any stupid
12256 control character. This avoids tests like s[i] <= ' ', which are
12257 guaranteed to fail with 8bit characters and signed chars.
12258 Change return code to string::npos when there have been no error
12259 (0 was a bad idea when error is at first character)
12261 2001-11-14 José Matos <jamatos@fep.up.pt>
12264 * buffer.C (simpleDocBookOnePar): removed unused argument.
12266 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12268 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12269 insets which are part of a word. Paragraph::isLetter takes care of
12270 that now. Use Paragraph::isInset to identify insets.
12271 (selectSelectedWord): do not test for hyphenation break.
12273 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12274 that protected spaces are considered as spaces.
12276 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12279 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12282 * lyxserver.C: fix it. and small cleanup.
12284 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12286 * BufferView_pimpl.C: use inline helpers
12289 * LaTeXFeatures.C: fix typos
12292 * Spacing.C: move spacing_string into class
12294 * ToolbarDefaults.C: move stuff into namespace anon
12296 * layout.h: update enum
12298 * lyxfunc.C: use better debug
12300 * minibuffer.h: fix typo
12304 * WorkArea.C: add and use Debug::WORKAREA
12308 * text2.C: code re-organisation, inline helpers
12310 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12312 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12313 std::vector.empty().
12315 2001-11-09 Allan Rae <rae@lyx.org>
12317 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12318 '\n's after tables. Tabular and ERT inset work now makes this no
12321 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12324 * minibuffer.C: fix crash, improve drop-down completion
12326 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12329 * lyxserver.C: invalidate fd's when doing endPipe()
12331 2001-11-08 José Matos <jamatos@fep.up.pt>
12333 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12334 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12337 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12339 2001-11-07 José Matos <jamatos@fep.up.pt>
12342 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12345 * buffer.C (sgmlOpenTag):
12346 * buffer.C (sgmlCloseTag): removed debug info.
12348 * buffer.h (sgmlOpenTag):
12349 * buffer.h (sgmlCloseTag): made public.
12351 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12353 * buffer.C (saveParamsAsDefaults):
12354 * lyx_cb.C (MenuLayoutSave): remove
12356 * LyXAction.C (init):
12358 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12360 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12362 * buffer.C (setPaperStuff): removed from here...
12364 * bufferparams.C (setPaperStuff): ... and moved there.
12366 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12370 * XFormsView.C: add support for drop-down completion
12372 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12374 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12377 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12379 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12382 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12384 * lyx_main.C: change ref to known bugs
12386 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12388 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12389 to work around older babel problems.
12391 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12393 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12395 2001-10-24 Juergen Vigna <jug@sad.it>
12397 * tabular-old.C (ReadOld): below variable changes reflected.
12399 * tabular.[Ch]: added ltType struct for longtable header/footer
12400 defines and changed all instances where they are used. Added
12401 future support for double top/bottom rows.
12403 2001-10-24 José Matos <jamatos@fep.up.pt>
12405 * buffer.h (docbookHandleCaption):
12406 * buffer.C (docbookHandleCaption): removed unused function.
12407 (makeDocBookFile): moved docbook supported version to v4.1.
12409 2001-10-24 José Matos <jamatos@fep.up.pt>
12412 * tabular.C (docbookRow): new function to export docbook code of a row.
12413 (DocBook): now honors the longtable flags.
12415 2001-10-23 José Matos <jamatos@fep.up.pt>
12418 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12419 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12421 * buffer.C (makeLinuxDocFile):
12422 (makeDocBookFile): reworked the preamble, more clean, and with
12423 support for lyx defined entities. Changed the document declaration
12424 to be more XML friendly.
12426 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12427 if we need to output XML that should be done with a filter.
12429 2001-10-22 Juergen Vigna <jug@sad.it>
12431 * sp_pspell.h (class PSpell): add alive function needed in the
12432 controller to see if the spellchecker could be started.
12434 2001-10-22 Juergen Vigna <jug@sad.it>
12436 * buffer.C (insertStringAsLines): modify the font for inserting
12437 chars in certain conditions by calling checkInsertChar(font).
12439 2001-10-19 Juergen Vigna <jug@sad.it>
12441 * text.C (workWidth): use getRow instead of wrong algorithm.
12442 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12444 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12449 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12451 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12453 * text.C (workWidth): do not search for the exact row when
12454 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12455 optimization for big documents.
12457 2001-10-18 Juergen Vigna <jug@sad.it>
12459 * text.C (workWidth): new function with added Inset * parameter.
12461 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12463 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12465 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12466 change return type of getColumnNearX.
12469 * text.C (changeRegionCase): use uppercase/lowercase instead of
12472 (rightMargin): simplify code by factoring out the uses of
12477 (appendParagraph): use Paragraph::size_type
12479 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12481 * vspace.C (asLatexString): add a missing break
12483 2001-10-15 Herbert Voss <voss@perce.de>
12485 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12487 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12489 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12492 2001-10-10 André Pönitz <poenitz@gmx.net>
12494 * lyxfunc.C: removed greek_kb_flag.
12496 2001-10-10 Herbert Voss <voss@perce.de>
12498 * lyx_main.C: delete global string help_lyxdir.
12500 2001-10-09 Herbert Voss <voss@perce.de>
12502 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12504 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12506 * lyx_main.C: added global string help_lyxdir.
12508 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12510 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12512 * lyxrc.C (set_font_norm_type): support iso8859-4
12514 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12516 * LaTeX.C (deplog): add another regex for MikTeX
12518 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12520 * lyxrc.C (set_font_norm_type): support iso8859-3
12522 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12524 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12526 * LaTeXFeatures.C: remove special case of french and index
12528 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12529 before \begin{document}). This solves several incompatibilities.
12531 2001-10-03 Garst Reese <reese@isn.net>
12533 * lyx_cb.C: change CheckTex error msg.
12535 2001-10-03 José Matos <jamatos@fep.up.pt>
12537 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12539 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12541 * .cvsignore: update
12543 * lyx_main.C (commandLineVersionInfo): use new style version info.
12545 * buffer.C (writeFile):
12547 (makeLinuxDocFile):
12548 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12550 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12552 * version.h: update to use stuff in version.C
12554 * version.C.in: new file. Contains version information determined
12555 at compile time. This is a merging of version.h and
12558 2001-10-03 Juergen Vigna <jug@sad.it>
12560 * BufferView_pimpl.C (update): don't change "dirty" status in
12563 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12565 * WorkArea.C (c-tor): re-position version string slightly.
12567 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12569 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12570 revert to previous code.
12572 WorkArea.[Ch]: (show, destroySplash): methods removed.
12574 WorkArea.C: rework code so that it's an amalgam of the codes before and
12575 after the splash screen was moved to WorkArea.
12577 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12580 * vspace.C (inPixels):
12583 * buffer.C (insertStringAsLines):
12584 (asciiParagraph): fix types to be large enough
12586 * lyxlex_pimpl.h: change member status from short to int
12588 * layout.h: fix type of endlabeltype
12591 * kbsequence.C (parse): change return type to string::size_type
12593 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12596 * Bullet.C (bulletSize):
12597 (bulletEntry): do not use short ints as parameters
12599 * BufferView2.C (insertLyXFile): change a char to an int.
12601 * WorkArea.C (WorkArea): remove unneeded floats in computation
12603 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12605 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12607 * paragraph.C (asString): Do not ignore newline/hfill chars when
12608 copying to the clipboard.
12610 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12612 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12613 after a multi-line inset.
12615 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12617 * paragraph.C (validate): Set NeedLyXFootnoteCode
12619 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12621 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12622 and decrease-error to decrease.
12624 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12626 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12627 it more readable (should be equivalent)
12629 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12631 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12633 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12635 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12636 of a cursor (row, etc.) after a character has been deleted
12637 (deleteEmptyParagraphMechanism): call the method above on _all_
12638 cursors held by the LyXText when a double space has been
12641 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12643 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12645 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12647 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12648 background. Use greyOut() and the new show() methods to toggle between
12649 the foreground and background. Add code to remove the splash after
12650 its initial showing.
12652 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12653 (create_forms): no longer call Dialogs::showSplash.
12655 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12657 * .cvsignore: add version_info.h
12659 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12661 * version_info.h.in: new file
12663 * Makefile.am: add version_info.h.in
12665 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12666 version_info.h instead of VERSION_INFO
12668 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12670 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12671 The ERT inset now returns string().
12673 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12675 * lyxtext.h, text.C (selectNextWord): renamed as
12676 selectNextWordToSpellcheck.
12678 * text.C (selectNextWordToSpellcheck): Modified to not select
12679 words inside an ERT inset.
12681 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12683 * lyx_cb.C (MenuLayoutSave): change a bit the question
12685 * sp_base.h: include <sys/types.h>
12687 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12689 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12691 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12693 * several files: fix typos in user-visible strings
12695 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12697 * text2.C (pasteSelection): do not set the selection, since it
12698 will be cleared later. Actually, the intent was to fix the way the
12699 selection was set, but I figured rmoving the code was just as good.
12701 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12703 * FontLoader.C (available): Check if font is available without
12706 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12708 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12710 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12712 * lyxrc.[Ch]: added display_graphics variable and associated code.
12714 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12716 * bufferparams.C (hasClassDefaults): new method. Returns true if
12717 the buffer parameters correspond to known class defaults
12719 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12721 * XFormsView.C (show): set minimum size to the main window.
12723 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12725 * text2.C (copySelection):
12727 * lyxfind.C (LyXReplace):
12728 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12729 LyXText::selectionAsString.
12731 * paragraph.C (asString): add "label" argument to the second form
12733 * text2.C (selectionAsString): add "label" argument and pass it to
12734 Paragraph::asString.
12736 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12738 * lyx_main.C (commandLineHelp): remove version information
12740 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12742 * lyx_main.C: add -version commandline option
12744 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12746 * paragraph.h: make the optional constructor arg required instead.
12747 some modifications to other files because of this.
12749 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12751 * lyxserver.C (C_LyXComm_callback): make it static
12753 * lyx_main.C (error_handler): make it static
12755 * lyx_gui.C (LyX_XErrHandler): make it static
12757 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12759 * WorkArea.C: make the extern "C" methods static.
12761 * Makefile.am (lyx_LDADD): simplify
12763 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12765 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12766 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12768 * LyXAction.C (init):
12769 * lyxfunc.C (dispatch): associated code removal.
12771 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12773 * lyxfont.h (isSymbolFont): shut off warning
12775 * text.C (setHeightOfRow):
12776 (getVisibleRow): fix crash with empty paragraphs which have a
12779 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12781 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12784 2001-09-04 José Matos <jamatos@fep.up.pt>
12787 * tabular.C (docbook): rename docBook method to docbook.
12789 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12791 * Makefile.am: add dependencies to main.o.
12793 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12795 * FontLoader.C (available): Return false if !lyxrc.use_gui
12797 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12799 * FontInfo.C (query):
12800 * converter.C (view):
12801 * importer.C (Import):
12802 * exporter.C (Export): Can not -> cannot.
12804 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12806 * BufferView_pimpl.C: allow to create index inset even if
12809 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12811 * buffer.C (getLists): replace boost::tie code with an explicit pair
12812 as boost::tie can break some compilers.
12814 * iterators.h: Added a std:: declaration to the return type of
12817 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12819 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12822 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12824 * iterators.[Ch]: New files. Provide paragraph iterators.
12826 * buffer.C (changeLanguage): Use paragraph iterators.
12827 (isMultiLingual): ditto
12829 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12831 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12833 * FontLoader.C: Support for cmr font.
12835 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12837 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12838 (available): New method.
12840 * FontInfo.C (getFontname): Use scalable fonts even when
12841 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12844 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12846 * converter.C (Formats::view): reverted! Incorrect fix.
12848 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12850 * converter.C (Formats::view): only output the -paper option
12851 if the dvi viewer is xdvi, thereby fixing bug #233429.
12853 2001-08-23 Herbert Voss <voss@perce>
12855 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12857 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12859 * Spacing.h (Spacing): Set space to Default on in the default
12862 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12864 * vc-backend.h (RCS::versionString): add RCS to version
12865 (CVS::versionString): add CVS to version
12867 * vc-backend.C (scanMaster): do not add CVS to version.
12868 (scanMaster): do not add RCS to version
12870 * lyxvc.C (versionString): new method
12872 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12874 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12876 * Spacing.C (set): initialize fval
12878 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12880 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12883 2001-08-16 Juergen Vigna <jug@sad.it>
12885 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12887 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12889 * BufferView_pimpl.C:
12892 * text2.C: setParagraph takes linespacing now
12894 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12896 * LyxAction.C: add internal LFUN_CITATION_INSERT
12898 * LyXView.C: actually apply fix
12900 * bufferlist.C: fix open non-existent file
12902 * lyxfind.C: fix indentation
12904 * lyxfunc.C: remove unneeded assert, fix typo
12906 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12908 * MenuBackend.C: use "Floatname List"
12910 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12912 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12913 when converting LaTeX layout to insetERT.
12914 Generate a non-collapsed float when reading old float
12916 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12918 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12921 2001-08-13 Juergen Vigna <jug@sad.it>
12923 * text.C (fill): return 0 instead of 20 as this seems to be the more
12926 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12928 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12931 2001-08-13 Juergen Vigna <jug@sad.it>
12933 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12935 (SearchBackward): comment out the unlocking of the inset_owner this
12936 should not be needed!
12938 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12940 * Many files: Remove inherit_language, and add latex_language
12942 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12943 collapsible insets.
12945 2001-08-10 Juergen Vigna <jug@sad.it>
12947 * text.C (prepareToPrint): fixed hfill-width in draw!
12949 * BufferView2.C (selectLastWord): save the selection cursor as this
12950 now is cleared in the function LyXText::clearSelection!
12952 2001-08-08 Juergen Vigna <jug@sad.it>
12954 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12955 BACKSPACE type functions.
12957 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12958 is only cutted from the document but not put in the cut-buffer, where
12959 still the old stuff should be.
12961 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12963 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12965 * tabular.C (SetWidthOfCell): fixed special case where the width
12967 (LeftLine): handle '|' in align_special.
12969 (LeftAlreadyDrawed): ditto
12970 (SetWidthOfCell): ditto
12972 2001-08-07 Juergen Vigna <jug@sad.it>
12974 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12976 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12978 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12979 * lyxlex.[hC]: ditto
12981 2001-08-06 Juergen Vigna <jug@sad.it>
12983 * text.C (getVisibleRow): fix up row clearing a bit.
12985 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12987 * minibuffer.C: make sure the X server sees the changes in the input.
12989 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12991 * paragraph.C (getFont): split into...
12992 (getLabelFont): this
12993 (getLayoutFont): and this
12994 * paragraph_pimpl.C (realizeFont): calling this
12996 * text2.C (getFont): split into...
12997 (getLayoutFont): this
12998 (getLabelFont): and this
12999 (realizeFont): all three calling this
13001 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13004 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13006 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13008 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13010 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13011 layouts from the Quote inset insertion.
13013 2001-08-03 Juergen Vigna <jug@sad.it>
13015 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13017 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13018 only if status not is already CHANGED_IN_DRAW (second level).
13020 * text.C (draw): don't set the need_break_row when inside an
13023 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13025 * buffer.C (parseSingleLyXformat2Token): handle more latex
13028 * bufferview_funcs.[hC]: change function names to
13029 begin with small char, adjust other files.
13031 2001-08-02 André Pönitz <poenitz@gmx.net>
13034 BufferView_pimpl.C: remove broken special code for math-greek
13036 2001-08-02 Juergen Vigna <jug@sad.it>
13038 * BufferView_pimpl.C (update): redone this function so that we
13039 update the text again if there was a CHANGE_IN_DRAW.
13041 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13042 (drawFromTo): added a new internal bool which is used by draw() and
13044 (general): some cursor drawing problems fixed.
13046 2001-08-01 Juergen Vigna <jug@sad.it>
13048 * lyxfind.C (LyXFind): fixed
13049 (SearchForward): ditto
13050 (SearchBackward): ditto
13052 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13053 spurius drawing of the cursor in the main area.
13055 * text2.C (status): small fix which could lead to a segfault!
13056 (clearSelection): remove unneeded BufferView param.
13058 2001-08-01 André Pönitz <poenitz@gmx.net>
13060 * lyxfunc.C: small change due to changed mathed interface
13062 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13064 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13066 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13068 * lyxfunc.c: fail gracefully if file doesn't exist
13073 * BufferView_pimpl.C: IsDirWriteable() proto changed
13075 * LyXView.C: fix updateWindowTitle() to store the last title
13077 2001-07-31 Juergen Vigna <jug@sad.it>
13079 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13080 the font (wrong since using of Paragraph::highestFontInRange).
13082 * paragraph.C (highestFontInRange): added a default_size parameter.
13084 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13085 (setHeightOfRow): reformat
13087 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13089 * converter.[hC] + affected files: move to (inital-char)lowercase
13092 * ParagraphParameters.C (ParagraphParameters): remove commented code
13094 * PainterBase.[Ch]: remove commented code
13096 * LaTeXFeatures.h: add "bool floats" for float.sty
13098 * LaTeXFeatures.C (LaTeXFeatures): init floats
13099 (require): handle float
13100 (getPackages): do it with floats
13102 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13104 * BufferView_pimpl.C (Dispatch): improve handling of
13105 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13107 * commandtags.h: #include lyxfont.h here temporarily to avoid
13110 * bufferlist.h: include LString.h here.
13112 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13114 * text2.C (getStringToIndex): new method.
13116 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13118 * *: Reduced header file dependencies all over.
13120 2001-07-30 Baruch Even <baruch@lyx.org>
13122 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13124 2001-07-29 Baruch Even <baruch@lyx.org>
13126 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13128 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13130 * ParameterStruct.h (endif): add a default constructor to make
13131 sure that all variables is initialized.
13133 * ParagraphParameters.C (ParagraphParameters): adjust
13135 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13137 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13138 index; also, check that there is something to index, and that it
13139 does not span over several paragraphs.
13140 (doubleClick): use WHOLE_WORD_STRICT for double click.
13142 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13144 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13147 2001-07-26 Baruch Even <baruch@lyx.org>
13149 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13150 an InsetFig figure, backwards compatible reading of old figure code.
13152 2001-07-27 Juergen Vigna <jug@sad.it>
13154 * text2.C: font.realize function adaption.
13156 * text.C (draw): add a warnings lyxerr text if needed.
13158 * layout.C: font.realize function adaption.
13160 * language.C: add inherit_language and implement it's handlings
13162 * bufferview_funcs.C (StyleReset): remove language parameter from
13163 font creation (should be language_inherit now).
13165 * bufferparams.C (writeFile): handle ignore_language.
13167 * paragraph.C (getFontSettings): the language has to be resolved
13168 otherwise we have problems in LyXFont!
13170 * lyxfont.C (lyxWriteChanges): added document_language parameter
13171 (update): removed unneeded language parameter
13173 * paragraph.C (validate): fixed wrong output of color-package when
13174 using interface colors for certain fonts in certain environments,
13175 which should not seen as that on the final output.
13177 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13179 * BufferView_pimpl.C:
13184 * LyXAction.C: add thesaurus support
13187 * lyxfind.C: add "once" parameter, for thesaurus, to not
13188 move to the next match
13190 2001-07-26 Juergen Vigna <jug@sad.it>
13192 * lyxfont.C (realize): honor ignore_language too!
13195 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13197 * text.C (draw): one place more for ignore_language to not draw
13200 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13202 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13204 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13206 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13207 the minipage conversion problem.
13209 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13211 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13214 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13216 * BufferView.h: don't forward declare WorkArea
13218 * BufferView.C: don't include WorkArea.h
13220 2001-07-25 André Pönitz <poenitz@gmx.net>
13224 * lyxfunc.C: new LFUN 'math-space'
13226 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13228 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13230 * text2.C (toggleInset): call open/close
13232 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13234 * lyxfunc.C (dispatch): add debug for the disabled case
13236 * font.C (buttonText): make similar to rectText
13238 * buffer.C (readInset): comment out parsing of insetlist and
13241 * PainterBase.C (rectText): small correction
13243 * BufferView_pimpl.C: comment out insettheorem and insetlist
13244 * LyXAction.C: ditto
13245 * commandtags.h: ditto
13247 2001-07-24 Juergen Vigna <jug@sad.it>
13249 * text.C (draw): honor the ignore_language.
13251 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13253 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13255 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13258 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13260 * lyxtext.h: remove unused (and unimplemented) methods
13262 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13264 * text.C (getVisibleRow): honor background color
13267 * Painter.h: remove default color argument for fillRectangle
13269 * text.C (backgroundColor): new method
13271 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13273 * text.C (getVisibleRow): adjust
13275 * font.[Ch] (rectText): new method, metrics
13276 (buttonText): new method, metrics
13278 * PainterBase.[hC]: make rectText and buttonText always draw and take
13281 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13283 * ToolbarDefaults.C (read):
13284 * MenuBackend.C (read): allow escaping in all strings
13286 * BufferView_pimpl.C (insertAndEditInset): new method.
13287 (Dispatch): use insertAndEditInset whenever appropriate.
13289 * BufferView_pimpl.C (insertNote): removed
13291 * BufferView_pimpl.C (smartQuote): new method, moved from
13292 BufferView; if an insetquote cannot be inserted, insert a '"'
13295 * BufferView2.C: remove insertCorrectQuote();
13297 * lyxfunc.C (getStatus): Add support for all remaingin
13298 inset-insert lfuns.
13300 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13302 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13303 command (necessary to pass " as parameter of self-insert.
13305 * text.C (selectWordWhenUnderCursor):
13306 (selectWord): add word_location parameter
13307 (selectWordWhenUnderCursor): same + remove special code for word
13309 (selectNextWord): use kind() to guess type of insetspecialchar,
13312 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13313 (insertErtContents): create ert insets as collapsed.
13314 (readInset): better compatibility code for Info inset.
13316 2001-07-20 Juergen Vigna <jug@sad.it>
13318 * lyxfunc.C (dispatch): use always LyXFind now!
13320 * text2.C (init): add a reinit flag so that the LyXText can be
13321 reinited instead of deleted and reallocated (used in InsetText).
13323 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13329 2001-07-18 Juergen Vigna <jug@sad.it>
13331 * text.C (selectNextWord): handle insets inside inset by calling
13332 always the bv->text functions so that we can go up the_locking_inset!
13334 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13335 in strange locations when inside an inset!
13337 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13338 handling to include insets.
13340 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13342 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13344 * LyXAction.C (init):
13346 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13347 LIGATURE_BREAK, since the name is so stupid.
13349 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13351 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13354 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13356 * sp_form.[Ch]: remove.
13358 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13360 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13363 * src/buffer.C (readInset): ditto.
13365 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13367 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13368 menuSeparator(), endOfSentenceDot(), ldots() and
13369 hyphenationPoint(), which are therefore removed.
13370 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13372 * LyXAction.C (init):
13373 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13375 * paragraph.C (getWord): removed.
13377 * BufferView_pimpl.C (Dispatch): use last word or selection for
13378 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13380 * lyx_main.C (queryUserLyXDir): do not ask before creating
13381 user_dir, except if it has been named explicitely.
13383 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13385 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13386 a document of zero size.
13388 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13390 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13391 approriately in the c-tor and in require().
13392 (getPackages): output the appropriate LaTeX for natbib support.
13394 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13395 variables "use_natbib" and "use_numerical_citations" when reading the
13397 (readInset): read the various natbib cite commands.
13398 (validate): white-space change.
13400 * bufferparams.[Ch]: new variables "bool use_natbib" and
13401 "bool use_numerical_citations".
13402 (writeFile): output them in the LyX file.
13404 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13406 * lyxfunc.C (getStatus): add support for all the inset insertion
13409 * text2.C (insertInset):
13410 * paragraph.C (insetAllowed):
13411 * BufferView_pimpl.C (insertInset): update to take in account the
13412 renaming of insertInsetAllowed
13414 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13416 * text2.C (getInset): new method. returns inset at cursor position.
13418 * BufferView_pimpl.C (Dispatch): changes because of this.
13420 * LyXAction.C (init): rename open-stuff to inset-toggle.
13422 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13424 * text2.C (toggleInset): renamed from openStuff; use
13427 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13429 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13431 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13433 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13435 * buffer.C (readLyXformat2): Add filename to the error dialog
13437 2001-07-18 Juergen Vigna <jug@sad.it>
13439 * tabular.C (GetCellNumber): put an assert here instead of the check!
13441 2001-07-17 Juergen Vigna <jug@sad.it>
13443 * BufferView_pimpl.C (toggleSelection): adapted too.
13445 * text.C (selectNextWord): adapted for use with insets.
13446 (selectSelectedWord): ditto
13448 2001-07-17 Juergen Vigna <jug@sad.it>
13450 * sp_spell.C (PSpell): fix initialitation order.
13452 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13454 * paragraph.C: spacing
13456 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13458 * sp_spell.C: repair language selection for pspell
13460 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13462 * lyxfunc.h: change more methods to begin with lower char.
13464 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13466 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13467 for unknown layouts.
13469 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13471 * buffer.C (readLyXformat2): Generate an error dialog if there are
13474 2001-07-16 Juergen Vigna <jug@sad.it>
13476 * sp_spell.C: always compile ISpell part.
13478 * lyxrc.C: added use_pspell entry and it's handling.
13480 2001-07-13 Juergen Vigna <jug@sad.it>
13482 * sp_spell.C: removed double includes.
13484 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13486 Consistent use of Lsstream.h:
13487 * Lsstream.h: added using std::stringstream for consistencies sake.
13489 * buffer.C: removed using std::stringstream
13491 * lyxfont.C (stateText):
13492 * paragraph.C (asString):
13493 * text.C (selectNextWord, selectSelectedWord):
13494 * text2.C (setCounter):
13495 * vspace.C (asString, asLatexString):
13496 std::ostringstream -> ostringstream.
13498 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13500 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13501 * commandtags.h: add LFUN_HELP_ABOUTLYX
13502 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13504 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13506 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13508 * lyx_gui_misc.C: remove spellchecker
13509 * lyxfunc.C: showSpellchecker
13511 * sp_ispell.h: added
13512 * sp_pspell.h: added
13513 * sp_spell.C: added
13514 * sp_form.[Ch]: removed
13515 * spellchecker.[Ch]: removed
13517 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13519 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13521 (simpleTeXSpecialChars): Simply print the input character without
13522 any special translation if pass_thru is set.
13524 * layout.h: Added bool pass_thru to layout class for being able to
13525 implement pass through of a paragraph for Literate Programming.
13527 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13528 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13529 * layout.C (Read): add "passthru" to list of layout tags and add
13530 code to set the pass_thru boolean when it is read.
13532 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13534 * trans_decl.h: remove allowed from KmodInfo
13536 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13537 remove allowed code
13540 * paragraph_pimpl.C (erase): use boost::prior
13542 * Painter.C (text): use data() instead of c_str() when length is
13544 * WorkArea.C (putClipboard): ditto
13545 * font.h (width): ditto
13547 * BufferView2.C: use it-> instead of (*it). for iterators
13549 * paragraph_pimpl.C: ditto
13550 * paragraph.C: ditto
13551 * minibuffer.C: ditto
13552 * language.C: ditto
13554 * encoding.C: ditto
13555 * counters.C: ditto
13556 * converter.C: ditto
13558 * Variables.C: ditto
13559 * TextCache.C: ditto
13560 * MenuBackend.C: ditto
13561 * LyXAction.C: ditto
13563 * FloatList.C: ditto
13564 * DepTable.C: ditto
13565 * ColorHandler.C (LyXColorHandler): ditto
13567 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13569 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13571 * text2.C (openStuff): reintroduce this method (which had been
13572 nuked in NEW_INSETS frenzy).
13574 * lyxfunc.C (Dispatch): when an action has not been handled, use
13575 its name in the error message, not its number.
13577 * paragraph.C (inInset): change method name to begin with lowercase.
13580 * text2.C: updates because of this.
13582 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13584 * ToolbarDefaults.C (add): add spaces in error message
13586 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13588 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13589 (readLyXformat2): rename return_par to first_par, use lyxlex's
13590 pushToken and remove the manual push handling.
13591 (parseSingleLyXformat2Token): add another ert comp. variable:
13592 in_tabular, rename return_par to first_par. handle newlines better
13594 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13596 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13598 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13600 * text2.C (getParFromID): removed
13602 * buffer.C (getParFromID): new method moved form lyxtext.
13603 * BufferView2.C (insertErrors): adjust
13604 (setCursorFromRow): adjust
13605 * BufferView_pimpl.C (restorePosition): adjust
13606 * lyxfunc.C (Dispatch): adjust
13607 * undo_funcs.C (textUndo): adjust
13609 (textHandleUndo): adjust
13610 (textHandleUndo): adjust
13612 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13614 * buffer.C: up' the LYX_FORMAT
13616 * lyxfont.h: turn NO_LATEX on as default
13618 * buffer.C (insertErtContents): new methods of tex style compability.
13619 (parseSingleLyXformat2Token): use it several places.
13620 * tabular.C (OldFormatRead): and here
13622 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13624 * text2.C: remove some commented code.
13627 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13628 * trans.C: changes because of the above.
13630 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13632 * text2.C (setCounter): Fix counters bug with bibliography layout.
13634 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13636 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13637 own member functions
13638 (simpleTeXSpecialChars): ditto
13640 2001-07-06 Juergen Vigna <jug@sad.it>
13642 * a lot of files: changed the access to LyXText::status and the
13643 call of undo-functions.
13645 * undo.[Ch]: added a inset_id to the undo informations.
13647 * undo_funcs.[Ch]: added and moved here all undo functions.
13649 * lyxtext.h: give the status enum a weight, made status_ a private
13650 variable and made accessor functions for it, removed the whole bunch
13651 of undo-functions as they are now in their own file, make some
13652 functions publically available. Added function ownerParagraph with
13655 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13656 made InInset() a const function, added getParFromID() function.
13658 * buffer.[Ch]: added const version for inset_iterator functions,
13659 added getInsetFromID() function.
13661 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13662 changed undo functions for new version.
13664 2001-07-05 Juergen Vigna <jug@sad.it>
13666 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13667 unknow mechanism does not call the proper constructor but only this
13668 one also if I request the other!?
13670 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13672 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13674 * text2.C (LyXText): use initialization lists.
13676 * lyxtext.h (Selection): initialize set_ and mark_
13677 (init): remove method
13679 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13681 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13683 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13685 * screen.[Ch]: change method names to begin with lowercase
13687 * BufferView_pimpl.C (updateScrollbar): simplify further and
13688 hopefully make it a bit faster.
13690 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13692 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13693 calling directly xforms functions.
13695 * Painter.C (Painter):
13696 * lyx_cb.C (MenuWrite):
13697 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13700 * lyx_gui.C: remove bogus guiruntime extern declaration.
13702 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13704 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13706 (redoDrawingOfParagraph): ditto
13707 (redoParagraphs): ditto
13708 (cutSelection): don't create a object for CutAndPaste use the
13709 static method directly
13710 (pasteSelection): ditto
13712 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13715 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13717 * modifications to some other files because of this.
13719 * Makefile.am (lyx_SOURCES): add XFormsView
13721 * XFormsView.[Ch]: new files
13723 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13724 the main window. Move the gui dependent stuff to XFormsView
13726 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13728 * tabular.C (GetCellInset): update cur_cell also in the row/col
13729 version of this function.
13731 * lyxfunc.C: no need to include figure_form.h here.
13737 * lyxvc.C: no need to include forms.h here.
13739 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13741 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13743 * lyxfunc.C (Dispatch):
13745 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13746 constructor argument.
13748 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13750 * paragraph.C (Paragraph): dont't clear, and just set layout.
13751 (makeSameLayout): use params's copy contructor.
13753 * ParagraphParameters.[Ch] (makeSame): delete method
13755 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13757 * Variables.[Ch]: fix indentation, rename set to isSet
13759 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13761 * lyxfunc.C (Dispatch): fix typo
13763 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13765 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13768 * bufferlist.C: include assert.h for emergencyWrite().
13770 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13772 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13773 give up at last (bug #425202) !
13775 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13781 * spellchecker.C: strip spellchecker options and bring up
13782 preferences tab instead
13784 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13786 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13787 the istringstream constructor
13789 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13791 * paragraph.C (getLayout): fix return value
13793 * paragraph.h: do not declare getLayout as inline.
13795 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13797 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13799 * lyxcursor.h (operator<): new func
13800 (operator>): new func
13801 (operator>=): new func
13802 (operator<=): new func
13804 * text.C (changeCase): use selection.start and selection.end
13805 (changeRegionCase): require from to be <= to. Require par to be a
13808 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13810 2001-06-27 Juergen Vigna <jug@sad.it>
13812 * text.C (cursorLeftOneWord): changed to return the cursor and added
13813 overlay with BufferView * parameter which calls this one.
13815 (selectWord): use new getWord function.
13816 (changeCase): renamed from changeWordCase as and extended to work
13817 also on selections.
13819 * lyxtext.h: added enum word_location
13821 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13822 changeCase as this operates now also on selections.
13824 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13826 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13828 * many files: send debug output to Debug::INFO instead of
13831 * converter.C (View):
13833 (Move): send debug output to Debug::FILES instead of console.
13835 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13837 * lyxfunc.C (getStatus): use func_status
13839 * func_status.h: new header, describing the results of
13840 LyXFunc::getStatus;
13842 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13845 2001-06-25 The LyX Project <jug@sad.it>
13847 * buffer.C (sgmlOpenTag):
13849 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13851 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13853 * text2.C: remove some dead code
13855 * tabular.C (GetCellInset): store the last cell checked (gotten)
13857 * tabular.h: add the helper for the speedup
13859 * lyxtext.h: remove some dead code
13861 2001-06-26 The LyX Project <Asger>
13863 * paragraph.C: Change export to LaTeX of alignment to
13864 \begin{center} and family for better roundtrip work with reLyX.
13866 * Tune the math drawing a bit.
13868 2001-06-25 The LyX Project <Asger>
13870 * LColor.C (LColor): New color for math background. New color
13873 2001-06-25 The LyX Project <jug@sad.it>
13875 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13877 * lyxfunc.C (Open):
13878 * bufferlist.C (newFile): do not restrict to files ending with
13881 * BufferView_pimpl.C (MenuInsertLyXFile):
13883 2001-06-24 The LyX Project <jug@sad.it>
13885 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13888 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13890 * lyxtext.h: rename most methods to begin with a small char.
13891 Lots of changes because of this.
13893 * paragraph.C (Paragraph): do not call fitToSize
13894 (erase): call Pimpl::erase
13895 (insertChar): call Pimpl::insertChar
13896 (insertInset): call Pipl::insertInset
13897 (breakParagraph): do not call fitToSize
13898 (breakParagraphConservative): do not call fitToSize
13899 (fitToSize): remove method
13901 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13903 2001-06-24 The LyX Project <Asger>
13905 * Fix Qt compilation^2
13907 2001-06-24 The LyX Project <jug@sad.it>
13909 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13910 depthHook(getDepth()-1).
13913 * ParagraphParameters.h:
13914 * ParameterStruct.h: change type of depth to unsigned int ==
13915 depth_type. Many adaptations to other files before of that.
13917 2001-06-24 The LyX Project <Asger>
13919 * Fix Qt compilation.
13921 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13923 * paragraph.h: renamed several methods to begin with small letter.
13924 several changes to many parts of the code because of this.
13926 2001-06-23 The LyX Project <jug@sad.it>
13928 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13929 rewritten to discard all double spaces when KeepEmpty is off
13930 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13931 to only handle newlines but not fiddle with spaces and friends.
13933 * lyxfunc.C (MenuNew): when doing 'new from template', use
13934 template_path as default directory
13936 2001-06-23 The LyX Project <Asger>
13938 * Clean-up of header file includes all over
13939 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13941 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13943 * paragraph.h: renamed from lyxparagraph.h
13945 2001-06-23 Asger <lyx@violet.home.sad.it>
13947 * Buffer.h: Removed Buffer::resize
13948 * BufferList.h: Removed BufferList::resize
13949 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13950 the document lazily when we change the width, or the font settings.
13952 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13954 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13956 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13958 * buffer.h: remove out of date comment
13960 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13963 * screen.C: fix "theoretical" GC leak
13965 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13967 * LaTeX.C (scanAuxFile):
13968 (deplog): remove trailing \r when reading stream (useful under
13971 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13973 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13974 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13975 and BufferView::theLockingInset(Inset*), so should use them and not
13976 access bv_->text->the_locking_inset directly.
13978 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13980 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13983 * tex-defs.h: remove old unused file
13985 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13987 * BufferView_pimpl.C: fix typo, remove minibuffer message
13988 when buffer has loaded
13990 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13992 * lyxfunc.C (Dispatch): use stringstream
13993 (MenuNew): use stringstream
13994 (Open): use stringstream
13996 * importer.C (Import): use stringstream
13998 * bufferview_funcs.C (CurrentState): use stringstream
14000 * LaTeX.C (run): use stringstream
14002 * BufferView_pimpl.C (savePosition): use stringstream
14003 (restorePosition): use stringstream
14004 (MenuInsertLyXFile): use stringstream
14006 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14019 * vspace.C: removed // -*- C++ -*- as first line.
14022 * version.h: added // -*- C++ -*- as first line.
14024 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14026 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14028 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14031 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14033 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14036 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14038 * gettext.C: include LString.h even when --disable-nls is on.
14040 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14042 * converter.h (Get): changed argument type from int to
14043 FormatList::size_type to avoid unnecessary conversion.
14045 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14048 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14050 * gettext.h: include LString.h even when --disable-nls is on.
14052 2001-06-07 Juergen Vigna <jug@sad.it>
14054 * text.C (BreakAgain): subst spaces with tabs.
14056 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14057 (resizeInsetsLyXText): set force on resizeLyXText.
14059 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14061 * gettext.h (gettext_init):
14062 (locale_init): use a real definition instead of a macro
14064 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14066 * Bufferview_pimpl.C:
14068 * LColor.C: further lcolor tidies
14070 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14072 * BufferView_pimpl.C (updateScrollbar): simplify.
14074 * BufferView2.C: don't include insets/insetinfo.h, change
14075 prototype for insertInset and call the Pimpl version. let
14076 updateInset call Pimpl version.
14078 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14079 gotoInset to BufferView::Pimpl
14081 2001-06-01 Juergen Vigna <jug@sad.it>
14083 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14084 inside a LockingInset (is the update needed at all?).
14086 2001-05-31 Juergen Vigna <jug@sad.it>
14088 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14089 here not the old one otherwise how should we compare it afterwards
14092 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14097 * FontInfo.C: bring C functions into global namespace when
14100 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14102 * LString.h: make sure config.h has been loaded before LString.h.
14104 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14105 (one for each char read by EatLine!).
14107 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14110 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14112 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14113 to the same as the par we break from
14115 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14117 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14119 * MenuBackend.C (expand): also create menu entries for wide
14120 versions of the floats.
14122 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14124 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14126 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14127 frontends/Makefile.am
14133 * tabular.C (getTokenValue): add std::
14135 * tabular-old.C (getTokenValue): add std::
14136 (getTokenValue): ditto
14137 (getTokenValue): ditto
14139 * screen.C (ToggleSelection): adjust
14141 * lyxtext.h: put selection cursors inside a Selection struct.
14143 * lyxfunc.C (moveCursorUpdate): adjust
14145 * lyxfont.C (latexWriteStartChanges): add std::
14147 * lyxfind.C: adjust
14149 * font.h: delete with(char const *, LyXFont const &)
14151 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14153 * FontInfo.C (getFontname): add std::
14155 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14156 (workAreaButtonPress): adjust
14157 (tripleClick): adjust
14159 (moveCursorUpdate): adjust
14162 * BufferView2.C (gotoInset): adjust
14164 2001-05-30 Juergen Vigna <jug@sad.it>
14166 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14167 to check pspell I add this as default as I now have new pspell
14168 libraries and they seem to use this.
14170 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14172 * text2.C (CutSelection): make the cursor valid before the call to
14175 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14177 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14178 relied on 0 terminated strings and other horrors. Bug found due to
14179 the new assert in lyxstring!
14181 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14184 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14186 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14189 * lyxfunc.C (processKeySym): change method of getting to the
14192 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14193 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14194 * BufferView_pimpl.[Ch]: here as private methods.
14196 2001-05-28 Juergen Vigna <jug@sad.it>
14198 * text.C (SetHeightOfRow): added the update() call again as it is
14199 needed to initialize inset dimensions!
14201 2001-05-16 Juergen Vigna <jug@sad.it>
14203 * text2.C (SetCharFont): Add new function with BufferView * and
14204 bool toggleall parameters for setting insets internal fonts.
14205 (SetFont): Freeze the undo as we may change fonts in Insets and
14206 all this change should be inside only one Undo!
14208 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14209 setting font's in insets as for them we have the SetFont function!
14211 2001-05-15 Juergen Vigna <jug@sad.it>
14213 * text2.C (ClearSelection): to be sure we REALLY don't have any
14216 * tabular.C (TeXCellPreamble): fixed the left border problem for
14219 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14221 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14224 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14226 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14227 LFUN_BREAKPARAGRAPH.
14229 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14230 help test to "internal only", similar for LFUN_INSERT_URL
14232 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14233 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14234 auto_region_delete and deadkeys.
14236 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14239 * LColor.C: remove some dead entries, tidy a little
14241 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14243 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14245 (Dispatch): implement LFUN_ESCAPE
14247 * commandtags.h: add LFUN_ESCAPE
14249 * LyXAction.C (init): add entry for LFUN_ESCAPE
14251 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14252 Remove commented code.
14253 (insertNote): moved here
14254 (open_new_inset): moved here
14256 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14259 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14261 * kbmap.C (findbinding): clean it up and make it work correctly.
14263 * lyx_main.C (init): do not pass argc and argv as parameters
14265 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14267 * buffer.C: fix path for OS/2 & Win32
14271 * lyx_main.C: Added os:: class.
14273 * os2_defines.h: update
14275 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14277 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14278 better by trying again with reduced state.
14280 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14282 * lyxrc.C (read): print error about invalid key sequence only when
14283 debugging (because not all latinX keysyms are known to some X
14286 * kbsequence.C (getiso): add a few std:: qualifiers
14287 (getiso): comment out extra return statement.
14289 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14291 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14293 (Dispatch): enhance the accent inset a bit. (not perfect)
14295 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14297 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14299 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14301 * bufferlist.C (emergencyWrite): fix assert() call
14303 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14305 * text.C (InsertChar): Added trivial patch to only send the "you
14306 can not do multiple spaces this way" message once during a
14309 2001-05-08 Baruch Even <baruch@lyx.org>
14311 * Makefile.am: Changed order of libraries to get LyX to link properly
14312 with the gnome frontend.
14314 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14316 * LaTeXFeatures.h: add a std:: qualifier
14318 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14320 * paragraph.C (String): use stringstream
14322 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14324 * paragraph.C (writeFile): remove footflag arg
14326 * buffer.C (makeLaTeXFile): use stringstream
14327 (latexParagraphs): remove footnot gurba
14329 * LaTeXFeatures.C (getPackages): use stringstream
14330 (getMacros): likewise
14331 (getTClassPreamble): likewise
14332 (getFloatDefinitions): new method
14334 * paragraph.C (writeFile): reindent
14337 * WorkArea.h: revert the xpos + etc changes.
14339 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14341 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14343 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14344 (pasteSelection): likewise
14345 * text2.C (CreateUndo): likewise
14347 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14349 * minibuffer.C (peek_event): temporarily reduce the functionality
14350 of the minibuffer (to allow args on lfuns)
14352 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14353 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14355 * buffer.C (readInset): add compability reading of old float
14356 lists, add reading of new style float list.
14357 (readInset): avoid reevaluation of inscmd.getCmdName()
14358 (getLists): reindent
14360 * MenuBackend.C (MenuItem): implement parsing of
14361 md_floatlistinsert and md_floatinsert.
14362 (expand::LastFiles): move initalizaton of iterators out of loop,
14363 avoid reevaluation.
14364 (expand::Documents): introduce typdedef vector<string> Strings,
14366 (expand::ExportFormats): introduce typedef vector<Format const *>
14367 Formats, and use it.
14368 (expand): implement FloatListInsert and FloatInsert.
14370 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14371 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14372 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14374 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14376 (Dispatch::LFUN_FLOAT_LIST): implement
14378 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14380 * LaTeX.C (run): Fix problem with --export code.
14382 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14384 * BufferView.[Ch] (workarea): removed.
14385 (getClipboard) new method; wrapper for workarea()->getClipboard()
14387 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14390 * WorkArea.h (width, height, xpos, ypos): These methods all
14391 returned the dimensions of the work_area sub-area of WorkArea,
14392 resulting in a position error if the WorkArea were resized. Now
14393 return the dimensions of the entire WorkArea.
14395 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14397 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14399 * LaTeX.C (deplog): correct the syntax of regex reg1
14401 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14403 * undo.C: remove !NEW_INSETS cruft
14405 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14407 * text2.C: remove !NEW_INSETS cruft
14409 * text.C: remove !NEW_INSETS cruft
14411 * tabular.C: remove !NEW_INSETS cruft
14413 * spellchecker.C: remove !NEW_INSETS cruft
14415 * lyxtext.h: remove !NEW_INSETS cruft
14417 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14419 * lyxfunc.C: remove !NEW_INSETS cruft
14421 * lyxfind.C: remove !NEW_INSETS cruft
14423 * lyx_cb.C: remove !NEW_INSETS cruft
14425 * figureForm.C: remove !NEW_INSETS cruft
14427 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14429 * buffer.[Ch]: remove !NEW_INSETS cruft
14431 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14433 * CutAndPaste.C: remove !NEW_INSETS cruft
14435 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14437 * BufferView2.C: remove !NEW_INSETS cruft
14439 * BufferView.h: remove !NEW_INSETS cruft
14441 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14443 * Lsstream.h: include LString.h before the sstream headers to
14444 fix problem with gcc 2.95.3 and lyxstring
14446 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14448 * lyx_main.C: add using directives when needed for C functions
14449 declared in std:: namespace.
14451 2001-04-27 Juergen Vigna <jug@sad.it>
14453 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14454 (SetHeightOfRow): comment out the update call should not be needed!
14456 2001-04-13 Juergen Vigna <jug@sad.it>
14458 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14459 (LyXTabular): tried to minimize operator= operations (and realized
14460 hopfully Lars wish).
14462 2001-04-27 Juergen Vigna <jug@sad.it>
14464 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14466 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14468 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14470 * buffer.C (readInset): hack to make listof algorithm work
14472 * BufferView_pimpl.C: hack to make listof algorithm work
14474 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14476 * LyXAction.C: removed all !NEW_INSETS cruft
14477 (init): moved lfun_item in method
14479 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14481 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14483 * BufferView2.C (theLockingInset): white space.
14485 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14487 * minibuffer.C: include <iostream>
14489 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14491 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14493 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14495 * text.[Ch] (TransposeChars): new method
14497 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14499 * call message directly through LyXView instead of through LyXFunc
14500 * BufferView2.C: adjust
14501 * BufferView_pimpl.C: adjust
14502 * FontLoader.C: adjust
14504 * bufferview_funcs.C: adjust
14505 * converter.C: adjust
14506 * figureForm.C: adjust
14507 * importer.C: adjust
14509 * lyx_gui_misc.C: adjust
14510 * lyxfunc.C: adjust
14513 + more files in subdirs
14515 * lyxparagraph.h (size): move up int file
14518 * adjust all uses of Assert to lyx::Assert.
14520 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14521 lyxfunctional in namespace lyx
14522 * layout.C (hasLayout): ditto
14525 (delete_layout): ditto
14526 (NumberOfClass): ditto
14527 * converter.C (GetFormat): ditto
14532 * bufferlist.C (getFileNames): ditto
14533 (emergencyWriteAll): ditto
14536 * MenuBackend.C (hasSubmenu): ditto
14539 * BufferView_pimpl.C (getInsetByCode): ditto
14541 2001-04-18 Juergen Vigna <jug@sad.it>
14543 * vspace.C (asLatexString): fixed the 100% problem.
14545 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14547 * lyxfunc.C (Dispatch):
14549 * minibuffer.h: add a few std:: qualifiers
14551 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14553 * minibuffer.[Ch]: reimplement so that commands is initiated and
14554 run from lyxfunc, simplified som handling, and made the completion
14555 and history code for complete. wip.
14557 * lyxfunc.C (processKeySym): call message
14558 (miniDispatch): new temporary method
14559 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14560 (LFUN_MESSAGE): implement
14561 (LFUN_MESSAGE_PUSH): implement
14562 (LFUN_MESSAGE_POP): implement
14563 (initMiniBuffer): the initial/defualt minibuffer message.
14565 * lyxfont.[Ch]: inline some more getters
14567 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14569 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14571 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14572 (AutoSave): use LFUN_MESSAGE
14573 (Reconfigure): ditto
14575 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14577 * figureForm.C: use LFUN_MESSAGE
14579 * converter.C (runLaTeX): use LFUN_MESSAGE
14581 * bufferview_funcs.C: use LFUN_MESSAGE
14583 (changeDepth): ditto
14585 * bufferparams.h: use boost::
14587 * bufferlist.h: inherit privately from noncopyable
14589 * bufferlist.C (loadLyXFile): remove some commented code.
14591 * buffer.C (runChktex): use LFUN_MESSAGE
14593 * ShareContainer.h: inherit privately from noncopyable
14595 * ParagraphParameters.[hC] (depth): inline it.
14597 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14599 (message): new method
14600 (messagePush): ditto
14601 (messagePop): ditto
14602 (show): init minibuffer
14603 (showState): direct call
14605 * LaTeX.[Ch]: inherit privately from noncopyable
14606 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14607 instead of WriteStatus.
14609 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14611 * BufferView_pimpl.C (buffer): don't init minibuffer
14612 (workAreaButtonPress): use LFUN_MESSAGE
14613 (workAreaButtonRelease): ditto
14614 (savePosition): ditto
14615 (restorePosition): ditto
14616 (MenuInsertLyXFile): ditto
14617 (workAreaExpose): don't init minibuffer
14618 (update): remove commented code, simplify
14620 * BufferView2.C (openStuff): use LFUN_MESSAGE
14621 (toggleFloat): ditto
14624 (copyEnvironment): ditto
14625 (pasteEnvironment): ditto
14630 (updateInset): remove some commented code
14632 * lastfiles.h: inherit privately from noncopyable
14635 * lyx_main.h: ditto
14637 * lyxlex_pimpl.h: ditto
14639 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14640 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14641 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14643 * LyXAction.h: inherit privately from noncopyable, add methods
14644 func_begin, func_end, returning iterators to the func map.
14646 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14647 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14648 (func_begin): new method
14649 (func_end): new method
14651 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14653 (copySelection): ditto
14654 (pasteSelection): ditto
14656 * BufferView.C: whitespace change
14657 * BufferView.h: inherit privately from noncopyable
14659 2001-04-16 Allan Rae <rae@lyx.org>
14661 * tabular-old.C (l_getline):
14662 * spellchecker.C (sc_check_word):
14663 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14664 an unrecognised preprocessor directive. So ensure they're wrapped.
14666 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14668 * src/exporter.C (Export): Give an error message when path to file
14671 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14673 * LaTeX.C (deplog): Always check that foundfile exists.
14675 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14678 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14680 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14682 * tabular.[Ch] (getLabelList): implement new method
14684 * minibuffer.h: comment ouf setTiimer
14686 * minibuffer.C (ExecutingCB): constify res
14687 (peek_event): constify s
14688 (Set): constify ntext
14689 (Init): constify nicename
14691 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14693 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14694 (savePosition): use two params to Minibuffer::Set
14695 (restorePosition): ditto
14697 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14699 * lyx_main.C: include language.h
14701 * Makefile.am (lyx_main.o): add language.h
14703 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14709 * CutAndPaste.C: include gettext.h
14711 * lyxfont.h: remove old hack with ON and OFF.
14714 * lyxfont.h: do not include language.h...
14719 * bufferview_funcs.C:
14725 * paragraph.C: ... but do it here instead
14727 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14729 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14731 * tabular.C: small reformat
14733 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14736 (BreakParagraph): ditto
14737 (SetOnlyLayout): ditto
14740 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14743 * lastfiles.C: removed most using decl, add std:: where needed
14745 * buffer.C: ws changes
14747 * MenuBackend.C (class compare_format): put into anon namespace
14748 (expand): constify label, names, action, action2
14751 * text.C (SingleWidth): constify font
14752 (IsBoundary): constify rtl2
14753 (GetVisibleRow): constify ww
14755 * LaTeX.C (deplog): constify logfile
14757 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14759 (workAreaExpose): constify widthChange, heightChange
14761 * lyxrow.C (par): moved
14764 * lyxrow.h: as inlines here
14766 * lyxfont.h (shape): moved from lyxfont.C
14767 (emph): moved from lyxfont.C
14769 * lyxfont.C (LyXFont): use initialization list for all
14771 (shape): move to lyxfont.h as inline
14772 (emph): move to lyxfont.h as inline
14775 2001-04-04 Juergen Vigna <jug@sad.it>
14777 * vspace.C: had to include stdio.h for use of sscanf
14779 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14782 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14783 independent of xforms.
14785 2001-04-02 Juergen Vigna <jug@sad.it>
14787 * spellchecker.C: fixed namespace placing!
14789 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14791 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14792 the LyXParagraph * is 0.
14794 2001-03-29 Juergen Vigna <jug@sad.it>
14796 * vspace.C: added support for %, c%, p%, l%.
14797 (stringFromUnit): added helper function.
14798 (asLatexString): changed to give right results for the %-values.
14800 * buffer.C: convert the widthp in a width%.
14802 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14804 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14807 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14808 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14810 * lyx_cb.[Ch]: see above.
14812 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14816 * lyx.[Ch]: replaced by figure_form.[Ch].
14820 * lyxfunc.C: changed headers associated with above changes.
14822 2001-03-27 Juergen Vigna <jug@sad.it>
14824 * BufferView_pimpl.C: set the temporary cursor right!
14826 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14828 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14830 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14832 * LString.h: removed "using std::getline"!
14834 * BufferView_pimpl.C (Dispatch): changes due to changes in
14835 InsetInclude::Params.
14837 * buffer.C (tag_name): removed redundant break statements as they were
14838 producing lots of warnings with my compiler.
14840 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14842 * LString.h: add "using std::getline" when using the real <string>.
14844 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14846 * buffer.C: removed bitset usage.
14847 PAR_TAG moved to an anonymous name space.
14848 (tag_name): new funtion, also in the anonymous namespace.
14849 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14850 (makeDocBookFile): clean code. Completed transition from string arrays
14852 (SimpleDocBookOnePar): code clean.
14854 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14856 * tabular.C: add some comments.
14858 2001-03-22 Juergen Vigna <jug@sad.it>
14860 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14861 compatibility read a bit and fixed bug with minipage in different
14864 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14866 * buffer.C (pop_tag): removed.
14867 (push_tag): removed.
14868 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14869 array replaced with vector. Added support for CDATA sections.
14870 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14872 (makeDocBookFile): XML conformant declaration of CDATA section,
14873 fixed bug related to <emphasis> in the first paragraph char.
14874 (sgmlOpenTag): exclude empty tags.
14875 (sgmlCloseTag): ditto.
14877 * buffer.h (pop_tag): removed.
14878 (push_tag): removed.
14880 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14882 * language.h (Languages): added size_type and size().
14884 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14886 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14887 response on compability reading of minipages. One probliem is that
14888 the old usage of minipages was «flertydig»
14890 * several files here and in subdirs: don't use static at file
14891 scope use anon namespaces instead.
14893 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14895 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14896 LaTeX output. This is necessary for Literate document
14899 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14901 * buffer.C: insert hfill when needed.
14903 * tabular.C (l_getline): use string::erase, small whitespace change.
14905 * BufferView_pimpl.C: try the anon namespace.
14906 * WorkArea.C: ditto
14908 2001-03-16 Juergen Vigna <jug@sad.it>
14910 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14911 otherwise it won't open options-dialogs.
14913 * buffer.C: honor pextraWidth(p) on converting minipages.
14915 * tabular.C (l_getline): changed the functions to strip trailing \r.
14917 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14919 * BufferView_pimpl.C:
14920 * minibuffer..C: added "using SigC::slot" declaration.
14922 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14924 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14930 * paragraph.C: ditto
14932 * lyxtext.h: NO_PEXTRA
14934 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14936 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14937 * ParameterStruct.h: ditto
14938 * ParagraphParameters.h: ditto
14939 * lyxparagraph.h: ditto
14941 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14943 * buffer.C: add compability for minipage alignment.
14944 (latexParagraphs): remove unwanted pextra check.
14946 * several files: remove CXX_WORKING_NAMESPACES
14948 * buffer.C (pop_tag): tie is in namespace boost
14950 * BufferView.h: noncopyable is in namespace boost
14952 * lyx_main.h: ditto
14955 * lastfiles.h: ditto
14956 * bufferlist.h: ditto
14957 * ShareContainer.h: ditto
14959 * LyXAction.h: ditto
14962 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14964 * Merging changes from BRANCH_MVC back into HEAD.
14966 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14968 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14970 * BufferView_pimpl.C: change from intl.C
14974 * Makefile.am: move combox.*
14980 * intl.C: remove dialog (covered by prefs)
14982 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14984 * lyxfunc.C (Dispatch): removed redundant break statement.
14986 2001-03-14 Juergen Vigna <jug@sad.it>
14988 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14990 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14992 * buffer.C: add hack to fix compability reading of minipages.
14994 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14996 * buffer.C (getLists): Cleanup.
14998 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15000 * lyxfont.C (update): don't honor toggleall on font size.
15002 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15006 * Makefile.am: moved to frontends/xforms/
15010 * BufferView_pimpl.C: changes for moved mathpanel
15012 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15014 * gettext.h: fix gettext_init() in --disable-nls
15016 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15018 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15020 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15023 * lyx.h: strip external form
15025 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15027 * BufferView_pimpl.C: add comment, destroySplash()
15029 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15031 * BufferView_pimpl.C:
15035 * lyxfunc.C: use re-worked insetinclude
15037 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15039 * buffer.C: add using std::stringstream.
15041 * lyx_cb.C: readd using std::ios.
15043 * buffer.C: add using std::map.
15045 * BufferView_pimpl.C: add using std::vector.
15047 * ShareContainer.h: add std:: to swap.
15049 * buffer.h: add some typedefs
15050 * buffer.C (getLists): use them
15051 (getLists): renamed from getTocList.
15052 add a counter for the different float types and use it in the
15054 (getLists): use the same counter for the NEW_INSETS and the "non"
15057 * lyx_cb.h: remove unused items, includes, using etc.
15059 * ShareContainer.h: remove some commented code, add more comments
15060 and "documentation".
15062 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15064 * buffer.C (getTocList): make the list also when NEW_INSETS is
15067 * buffer.h: remove TocType
15069 * buffer.C (getTocList): change to return a map<string,
15070 vector<TocItem> >, implement for dynamic number of list.
15072 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15073 * text2.C (PasteSelection): adjust
15074 * CutAndPaste.C (pasteSelection): adjust
15076 * FloatList.C (FloatList): update from the new_insets branch.
15077 * Floating.[Ch]: ditto
15078 * LaTeXFeatures.C: ditto
15080 * lyxlex_pimpl.C: ditto
15082 * paragraph.C (Last): remove when NEW_INSETS is defined.
15084 * other file: changes because of the above.
15086 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15088 * lyxparagraph.h: rename next to next_, previous to previous_,
15089 make them private for NEW_INSETS. Rename Next() to next(),
15090 Previous() to previous().
15092 * other files: changes because of the above.
15094 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15097 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15100 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15102 * main.C (main): pass lyx_localedir to gettext_init().
15104 * gettext.h: remove locale_init and gettext_init macros
15106 * gettext.C (locale_init): new function
15107 (gettext_init): new function
15109 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15112 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15114 * Moved credits to frontends:
15115 * credits.[Ch]: removed
15116 * credits_form.[Ch]: removed
15117 * lyx_gui_misc.C: remove credits stuff
15120 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15122 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15124 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15125 unneeded destructor.
15127 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15128 a standalone pointer again.
15130 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15132 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15138 * ToolbarDefaults.C:
15147 * BufferView_pimpl.C: use new file dialog in GUII
15150 * lyx_cb.C: remove LayoutsCB to Toolbar
15152 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15154 * ShareContainer.h (get): add std:: qualifier
15156 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15158 * ShareContainer.h: define a proper ShareContainer::value_type
15159 type (and use typename to please compaq cxx)
15161 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15163 * lyxparagraph.h: move serveral local vars to
15164 ParameterStruct/ParagraphParameters., use ShareContainer in
15165 FontTable., make vars in FontTable private and add getter and
15168 * paragraph.C: changes because of the above.
15170 * lyxfont.h: remove copy constructor and copy assignment. (the
15171 default ones is ok), move number inside FontBits. move inlines to
15174 * lyxfont.C: add number to initializaton of statics, move several
15175 inlines here. constify several local vars. some whitespace
15176 cleanup. Dont hide outerscope variables.
15178 * Spacing.h: add two new constructors to match the set methods.
15180 * ShareContainer.h: new file, will perhaps be moved to support
15182 * ParameterStruct.h: new file
15184 * ParagraphParameters.h: new file
15186 * ParagraphParameters.C: new file
15188 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15189 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15191 * BufferView_pimpl.C: ParagraphParameter changes.
15192 * buffer.C: Likewise.
15193 * bufferview_funcs.C: Likewise.
15194 * text.C: Likewise.
15195 * text2.C: Likewise.
15197 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15199 * lyxfind.C (LyXReplace): do not redefine default argument in
15201 (IsStringInText): ditto
15202 (SearchForward): ditto
15203 (SearchBackward): ditto
15205 2001-03-06 Juergen Vigna <jug@sad.it>
15207 * lyxfind.C (IsStringInText): put parentes around expressions.
15209 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15211 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15213 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15215 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15217 * stl_string_fwd.h: add comment
15219 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15222 * tabular.C: remove unused DocBook methods
15228 killed DO_USE_DEFAULT_LANGUAGE
15230 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15232 * lyx_gui.C: do not include language.h.
15234 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15235 arguments in function implementation.
15237 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15239 * BufferView_pimpl.C: add <ctime>
15241 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15243 * BufferView_pimpl.C: add using std::find_if
15245 2001-02-27 José Matos <jamatos@fep.up.pt>
15247 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15250 2001-02-11 José Matos <jamatos@fep.up.pt>
15252 * buffer.C (makeDocBookFile): command styles now have a parameter as
15253 "title" by default.
15255 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15257 * layout_forms.[Ch]: removed
15258 * lyx_cb.[Ch]: out character
15259 * lyx_gui.C: out character
15260 * lyx_gui_misc.C: out character
15261 * bufferview_funcs.C: : out character,
15262 added toggleall as parameter in ToggleAndShow
15264 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15266 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15268 * text2.C (SetCurrentFont): Disable number property at boundary.
15270 2001-02-26 Juergen Vigna <jug@sad.it>
15272 * lyxfunc.C (getStatus): added a string argument override function so
15273 that this is correctly called from LyXFunc::Dispatch if it contains a
15274 do_not_use_argument which is used!
15275 (Dispatch): added check for "custom" export and call appropriate func.
15277 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15279 * lyxrc.C: Add language_command_local, language_use_babel and
15280 language_global_options.
15282 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15284 * buffer.C (makeLaTeXFile): Use language_use_babel and
15285 language_global_options.
15287 2001-02-23 Juergen Vigna <jug@sad.it>
15289 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15290 which works with LyXText and putted it inside BufferView. Here now we
15291 only call for that part the BufferView::Dispatch() function.
15293 * BufferView.C (Dispatch): added.
15295 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15296 functions which needs to use a LyXText over from LyXFunc.
15297 (MenuInsertLyXFile): added
15298 (getInsetByCode): added
15299 (moveCursorUpdate): added
15300 (static TEXT): added
15302 2001-02-22 Juergen Vigna <jug@sad.it>
15304 * BufferView_pimpl.C (update): call a status update to see if LyXText
15307 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15309 * vc-backend.C (revert): implement for CVS
15310 (getLog): implement for CVS
15312 2001-02-20 Juergen Vigna <jug@sad.it>
15314 * text2.C (ClearSelection): added BufferView param for inset_owner call
15316 * lyxfunc.C (TEXT): added this function and use it instead of
15317 directly owner->view()-text of getLyXText().
15319 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15321 * src/layout_forms.C: out preamble
15322 * src/layout_forms.h: out preamble
15323 * src/lyx_cb.C: out preamble
15324 * src/lyx_cb.h: out preamble
15325 * src/lyx_gui.C: out preamble
15326 * src/lyx_gui_misc.C: out preamble
15327 * src/lyxfunc.C: connect with guii preamble
15329 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15331 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15333 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15335 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15336 whether to run bibtex.
15338 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15340 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15342 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15344 * Makefile.am (lyx_SOURCES): removed bibforms.h
15346 * vspace.h: doxygen
15348 * text.C (GetVisibleRow): make several local vars const
15350 * tabular.C: small cleanup.
15352 * lyxserver.C (callback): use compare instead of strncmp
15354 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15355 inlines to after class or to paragraph.C
15357 * lyxfont.h: remove friend operator!=
15359 * converter.h: move friend bool operator< to non friend and after
15362 * combox.h: small cleanup
15364 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15365 to inlines after class def.
15367 * buffer.C (pop_tag): use string operations instead of strcmp
15369 * bmtable.c: doxygen, small cleanup
15371 * LaTeX.h: remove friend operator==
15373 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15385 * BufferView_pimpl.C:
15386 * BufferView.[Ch]: remove cruft
15388 2001-02-14 Juergen Vigna <jug@sad.it>
15390 * lyxfunc.C: removed #if 0 unused code
15392 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15394 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15396 * text2.C (SetSelection): added a BufferView * parameter
15398 2001-02-13 Juergen Vigna <jug@sad.it>
15400 * lyxfunc.C (Dispatch): fixed protected blank problem.
15401 * BufferView2.C (protectedBlank): added LyxText * parameter.
15403 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15404 (AppendColumn): same as above for column_info.
15406 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15407 (moveCursorUpdate): use a LyXText param for support of InsetText.
15409 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15410 (tripleClick): ditto
15412 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15414 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15416 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15418 * text2.C (SetSelection): set correct update status if inset_owner
15419 (ToggleFree): ditto
15421 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15423 * tabular.C: remove some commented code.
15425 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15427 * BufferView_pimpl.C: call hideSplash()
15429 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15432 * bibforms.h: remove
15435 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15436 add LFUN_CHILD_CREATE
15438 * counters.h: fix tiny typo
15443 * lyx.C: move splash to frontends/xforms/
15445 * lyx_gui_misc.C: move Include and Bibform to frontends
15447 * lyxvc.h: clarify comment
15449 * vspace.C: tiny housekeeping
15451 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15453 * text.C (PrepareToPrint): RTL Fix.
15455 * paragraph.C (GetUChar): New method.
15456 (String): Use GetUChar.
15458 * buffer.C (asciiParagraph): Use GetUChar.
15460 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15462 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15464 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15467 * buffer.C: rename to getLogName(), handle
15468 build log / latex log nicely
15470 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15473 * MenuBackend.h: remove support for reference menuitem type.
15475 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15477 * BufferView_pimpl.C: housekeeping
15478 * BufferView_pimpl.h:
15483 * minibuffer.h: move Timeout GUI-I
15485 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15487 * lyxrc.C (read): Update converters data-structures.
15489 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15491 * LaTeX.h (operator!=): add operator != for Aux_Info
15493 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15495 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15497 * LaTeXLog.C: deleted, useful code moved to Buffer
15500 * buffer.C: new function getLatexLogName()
15506 * lyxfunc.C: use frontends for LaTeX and VC logs
15508 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15510 * LaTeX.h: yet another std:: that Allan forgot.
15512 * Variables.C (set): renamed from isset(), because this clashes
15513 with some HP-UX macros (grr).
15515 2001-02-06 Allan Rae <rae@lyx.org>
15517 * LaTeX.h: Another bug fix. Missing std:: this time.
15519 2001-02-04 Allan Rae <rae@lyx.org>
15521 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15522 floats problem. I've left it commented out because it's not quite
15523 correct. It should also test that the current object is a table or
15524 figure inset. But I haven't gotten around to figuring out how to do
15525 that. I *think* it'll be something like: "table" == inset.type()
15527 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15530 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15532 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15533 all the citation/databases/styles in the auxilary file.
15534 (run): Rerun latex if there was a babel language error.
15536 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15538 * text.C (Backspace): Preserve the font when changing newline char
15540 (BreakParagraph): If the cursor is before a space, delete the space.
15542 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15544 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15546 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15547 new argument (code).
15548 (ChangeCitationsIfUnique): New method.
15550 * paragraph.C (GetPositionOfInset): Handle bibkey.
15552 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15554 * BufferView_pimpl.h: change type of Position::par_pos to
15555 LyXParagraph::size_type.
15557 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15559 * BufferView_pimpl.C (savePosition, restorePosition): Write
15560 messages to minibuffer.
15562 2001-01-28 José Matos <jamatos@fep.up.pt>
15564 * buffer.C (makeDocBookFile): adds support for document language.
15565 A silly restriction on the name of LatexCommand types where removed.
15566 Added support for CDATA sections, allows to chars unescaped, used
15567 among others in code, to avoid escape < and >.
15569 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15571 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15572 saved positions instrad of a stack. Furthermore, a position is
15573 stored using paragraph id/paragraph position.
15575 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15576 Remove LFUN_REF_BACK.
15578 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15580 * converter.C (dvipdfm_options): New method.
15582 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15584 * vspace.C (isValidLength): Fix for empty input string.
15586 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15588 * LyXAction.C (init): change description of LFUN_FIGURE to
15591 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15593 * LaTeX.C: add using directive
15595 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15597 * MenuBackend.C (expand): Fix the sorting of the formats.
15599 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15601 * lyx_main.C: tiny error message fix
15603 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15605 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15606 calling fl_initialize(). This fixes the problem with ',' as
15607 decimal separator in text files.
15609 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15611 * trans.C (process): Fix the keymap bug.
15613 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15615 * LaTeX.C (scanAuxFiles): New method. Provides support for
15616 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15617 (scanLogFile) Scan for "run BibTeX" messages.
15619 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15620 OT1 font encoding. Also, load the aecompl package if the ae
15623 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15625 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15627 * texrow.C (increasePos): turn two error messages into debug
15630 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15632 * LaTeX.C (scanAux): Handle the \@input macro.
15633 (runBibTeX): Use scanAux().
15635 * language.C (latex_options_): New field.
15637 * LaTeXFeatures.C (getMacros): Add language macros.
15639 * buffer.C (makeLaTeXFile): Small fix.
15641 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15643 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15645 * text2.C: add a using directive.
15647 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15652 * lyxfunc.C: kill LyXBell.
15654 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15656 * text.C (IsBoundary): Remove the error message
15658 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15660 * lyxrc.C (setDefaults): Correct initialization value for
15663 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15665 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15668 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15669 and GotoNextNote().
15671 * src/LyXAction.C: Added reference-next.
15673 * text.C (InsertChar): Use contains instead of strchr.
15675 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15677 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15679 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15680 alignment commands (when needed).
15682 * text.C (InsertChar): Add ':' to number separator chars.