1 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * text2.C (insertInset): move cursor when inserting inset.
5 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7 * kbmap.C (findbindings): a couple of new methods. returns a
8 container of kb_sequence objects. The real work is done by the
9 private recursive version
10 (printbindings): uses findbindings to print out a bracketed list
11 of bindings (renamed from findbinding).
13 * MenuBackend.C (binding): use kb_keymap::findbindings
15 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
17 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
19 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
21 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
23 * paragraph.C (isWord): return true on insets that report
26 * text.C (getWord): use Paragraph::isWord to decide what is in a
27 word and what is not; fix bug 1609.
29 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
31 * tex-strings.C: add "none" to string_paperpackages[], fixes
32 off-by-one-error in the paperpackage selection.
35 * tex-strings.[Ch]: char const * string[n]
36 -> char const * const string[]
38 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
40 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
41 command, return early.
43 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
45 * debug.h: add DEBUG to enum and fix size of ANY.
47 * debug.C: add support for Debug::DEBUG
48 (showTags): cast errorTags.level to unsigned int
50 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
51 (redoCurrentBuffer): ditto
52 (updateScrollbar): ditto
53 * cursor.C (dispatch): ditto
54 * text2.C (setLayout): ditto
56 (updateCounters): ditto
58 (deleteEmptyParagraphMechanism): ditto
60 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
62 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
63 annotations to cleanup the Makefile slightly.
65 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
67 * lyxrc.C: do not set user_email to a default value but use empty
68 instead. The entry used to be translated, which does not work
69 since at the point where lyxrc is constructed there is no
70 translation service available
72 * messages.C (getLocaleDir): remove and use directly
73 lyx_localedir() instead
75 2004-06-02 Angus Leeming <leeming@lyx.org>
77 Fix crash caused by dereferencing null pointer 'exportdata' in
78 OutputParams by creating a new ExportData variable on the heap,
79 storing it in a boost::shared_ptr.
80 The crash was triggered when generating an Instant Preview
83 * Makefile.am: add outputparams.C
85 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
86 (c-tor): allocate memory to it.
88 * exporter.C (c-tor): associated changes.
90 2004-06-01 Angus Leeming <leeming@lyx.org>
92 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
93 contains data before calling isInset(0). (Bug 1513.)
95 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
97 * exporter.C (checkOverwrite): new method
98 * exporter.C (copyFile): new method
99 * exporter.C (Export): copy referenced files to the document dir
100 * exporter.[Ch]: new class ExportedFile
101 * exporter.[Ch]: new class ExportData. Contains currently the
102 names of referenced external files
103 * outputparams.h: add exportdata member.
105 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
107 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
110 2004-05-19 Angus Leeming <leeming@lyx.org>
115 * lyxfunc.C: small changes due to the introduction of namespace
116 lyx::frontend and the moving of namespace biblio to lyx::biblio.
118 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
120 * text3.C (dispatch): supress update when only moving the cursor
121 * cursor.C (selHandle): remove commented code
123 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
125 * paragraph.C (startTeXParParams): correct column count
126 * CutAndPaste.C (pasteSelection): remove const_cast
127 * output_docbook.C (docbookParagraphs): remove const_cast
128 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
129 const_cast and return ParagraphList::const_iterator
130 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
131 * output_plaintext.C (writeFileAscii): remove const_cast
132 * paragraph.[Ch] (simpleTeXOnePar): make const
133 * paragraph_funcs.C (outerPar): use const iterators
134 * paragraph_pimpl.C (validate): use const iterators
135 * text.C (setHeightOfRow): use const iterators
137 2004-05-17 Angus Leeming <leeming@lyx.org>
140 * LyXAction.C (init): new LFUN_INSET_REFRESH.
142 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
143 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
144 if the citation engine has changed.
146 2004-05-14 José Matos <jamatos@lyx.org>
148 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
149 if the textclass does not provide it. Have it different for sgml and
151 support the language of document.
152 * output_docbook.C (docbookParagraphs):
153 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
154 first anchor as the id of the paragraph, remove special case code.
155 * sgml.C (escapeChar): escape only < & >.
157 2004-05-14 Angus Leeming <leeming@lyx.org>
159 * bufferparams.h: move biblio::CiteEngine enum here to minimize
160 dependencies on src/frontends/controllers/biblio.h. Define a
161 CiteEngine_enum wrapper class to enable the enum to be forward
164 2004-05-12 Angus Leeming <leeming@lyx.org>
166 * buffer.C: up LYX_FORMAT to 234.
167 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
168 use_numerical_citations with a single biblio::CiteEngine cite_engine
170 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
172 2004-05-13 José Matos <jamatos@lyx.org>
175 * converter.C (Converter, readFlags): add xml member.
176 * outputparams.h: add XML flavor.
177 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
179 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
181 * lyxfunc.C (dispatch):
182 (getStatus): fix handling of LFUN_SEQUENCE
184 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
186 * debug.C (showLevel): do not forget the end-of-line marker
188 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
190 * kbmap.C (read): do not stop parsing a bind file when an error
193 2004-04-29 Angus Leeming <leeming@lyx.org>
198 * text2.C: wrap a bunch of #warning statements
199 inside #ifdef WITH_WARNINGS blocks.
201 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
203 * buffer.C: increment format to 233.
205 2004-04-28 Angus Leeming <leeming@lyx.org>
207 * BufferView_pimpl.C:
210 s/updateToolbar()/updateToolbars()/
211 s/Toolbar.h/Toolbars.h/
213 2004-04-28 Angus Leeming <leeming@lyx.org>
215 * BufferView.[Ch] (c-tor):
216 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
217 No longer passes these data to the WorkArea generator.
219 2004-04-28 Angus Leeming <leeming@lyx.org>
221 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
223 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
225 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
227 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
229 * output_latex.C (TeXEnvironment): make sure that there is a line
230 break before \end{foo} for the last paragraph of a document
231 (TeXOnePar): if the paragraph is at the end of the document (or
232 inset) and the language has to be reset, then make sure that the
233 line break is _before_ the language command, not after (fixes bug
234 1225); also make sure that the language reset command is the first
235 thing after the paragraph (to ensure proper nesting of
236 environments and thus fix bug 1404)
238 2004-04-21 John Levon <levon@movementarian.org>
241 * ToolbarBackend.C: make "name" be a programmatic name
242 and a gui_name field.
244 * lyxfunc.C: display the minibuffer on M-x
246 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
248 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
251 2004-04-19 Angus Leeming <leeming@lyx.org>
253 * BufferView_pimpl.C (setBuffer): changed preview interface.
255 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
258 2004-04-19 John Levon <levon@movementarian.org>
260 * BufferView_pimpl.C:
261 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
263 2004-04-05 Angus Leeming <leeming@lyx.org>
265 * text.C (redoParagraphs): add call to updateCounters(), thereby
266 fixing the missing "Figure #:" label from the caption of a
269 2004-04-13 Angus Leeming <leeming@lyx.org>
271 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
272 cursor is clicked out of an inset.
274 2004-04-13 Angus Leeming <leeming@lyx.org>
276 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
277 than an InsetOld one.
279 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
281 * format.[Ch]: add editor to Format
282 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
283 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
285 2004-04-08 André Pönitz <poenitz@gmx.net>
287 * metricsinfo.h: remove PainterInfo::width member
289 2004-04-08 Angus Leeming <leeming@lyx.org>
291 * lyx_sty.C (boldsymbol_def): modify so that it outputs
292 "\providecommand" rather than "\newcommand", thereby preventing
293 clashes with packages that define "\boldsymbol" themselves.
296 2004-04-08 Angus Leeming <leeming@lyx.org>
298 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
299 thereby squashing an unnecessary warning.
301 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
303 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
306 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
308 * BufferView.C (setCursor): call redoParagraph (some insets could
310 (putSelectionAt): remove the 'double update' trick
312 * BufferView_pimpl.C (fitCursor): call refreshPar
313 (workAreaDispatch): remove an uneeded update call
314 (dispatch): remove some manual update calls
316 * cursor.[Ch]: remove cached_y_, updatePos
317 (selHandle): set noUpdate when appropriate
319 * lyxfunc.C (dispatch): track if we need an update
321 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
323 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
324 (paintSelection): cheap optimization, do not call cursorX when not
326 (paintPars): change signature
329 (paintTextInset): adjust
333 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
335 * lengthcommon.C: compilation fix: remove explicit array size from
336 unit_name[] and friends
338 2004-04-05 Angus Leeming <leeming@lyx.org>
340 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
342 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
343 present only for the preferences dialog.
344 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
346 2004-04-05 Angus Leeming <leeming@lyx.org>
348 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
349 to enable the frontends to export changes to lyxrc correctly.
351 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
353 2004-04-07 André Pönitz <poenitz@gmx.net>
355 * cursor.[Ch] (selClear, adjust): remove math
357 * cursor_slice.C: more agressive assert
360 * BufferView_pimpl.C: rework mouse event dispatch
367 2004-04-05 André Pönitz <poenitz@gmx.net>
369 * cursor.[Ch] (valign, halign...): remove unneeded functions
371 2004-04-05 Angus Leeming <leeming@lyx.org>
373 * lyxlength.[Ch] (unit_name et al.): const-correct.
375 2004-04-05 Angus Leeming <leeming@lyx.org>
377 * BufferView_pimpl.C:
386 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
388 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
390 * text3.C (getStatus): add LFUN_BEGINNINGBUF
392 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
394 * lyxfind.C: add a couple of inTexted() tests + other small fixes
395 * BufferView_pimpl.[Ch] (getStatus)
396 * BufferView.[Ch] (getStatus): add
397 * lyxfunc.C (getStatus): move lfuns handled in
398 BufferView::dispatch to te function above
399 * Cursor.C (setSelection): set selection() = true
401 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
403 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
405 2004-03-31 Angus Leeming <leeming@lyx.org>
407 * lyxfunc.C (dispatch): Fall through to the generic
408 Dialogs::show("preamble").
410 2004-03-31 Angus Leeming <leeming@lyx.org>
412 * lyxfunc.C (dispatch): Fall through to the generic
413 Dialogs::show("spellchecker").
415 2004-03-31 Angus Leeming <leeming@lyx.org>
417 * lyxfunc.C (getStatus, dispatch): changed invocation of the
420 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
425 * insetiterator.[Ch]:
430 * undo.[Ch]: s/DocumentIterator/DocIterator/g
432 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
434 * BufferView.C (setCursor, putSelectionAt): call edit to open the
435 insets where we are putting the cursor.
437 2004-03-31 Angus Leeming <leeming@lyx.org>
440 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
442 * lyxrc.[Ch] (read, write): overloaded member functions taking
443 a std::[io]stream arguments.
445 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
447 2004-03-31 Angus Leeming <leeming@lyx.org>
449 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
450 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
452 * lyxtextclass.C (load): if the text class couldn't be loaded, then
453 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
455 2004-03-31 Angus Leeming <leeming@lyx.org>
457 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
458 the LFUN_ALL_INSETS_TOGGLE code.
460 2004-03-30 Angus Leeming <leeming@lyx.org>
462 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
463 has died. Fall through to the generic Dialogs::show("document").
465 2004-03-30 Angus Leeming <leeming@lyx.org>
468 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
469 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
471 * lyxfunc.C (getStatus, dispatch): define the actions for these
472 lfuns. Little more than a cut and pste job from ControlDocument.C
474 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
476 2004-03-30 Angus Leeming <leeming@lyx.org>
479 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
480 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
482 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
483 open/closed state of ollapsable insets. Usage:
485 all-inset-toggle <state> <name>, where
486 <state> == "open" || "closed" || "toggle" and
487 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
489 * lyxtext.h, text2.C (toggleInset): removed.
491 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
492 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
493 now passes LFUN_INSET_TOGGLE to the found inset.
495 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
496 is now invoked as "all-insets-toggle toggle branch".
498 2004-03-30 Angus Leeming <leeming@lyx.org>
502 * pariterator.[Ch]: added/corrected header blurb.
504 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
506 * dociterator.[Ch]: add an inset_ member
507 (backwardPos): implemented
508 (backwardPos, forwardPos): use inset_ when the stack is empty.
509 (doc_iterator_begin, doc_iterator_end): implemented
510 * pariterator.[Ch]: adjust, add begin, end
511 * insetiterator.[Ch]: adjust, add begin, end
515 * BufferView_pimpl.C:
516 * CutAndPaste.C: adjust
518 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
520 * buffer.C: increment file format to 232.
521 * LaTeXFeatures.C: add bibtopic package.
522 * bufferparams.[Ch]: param \use_bibtopic.
524 * lyxrc.[Ch]: add lyxrc bibtex_command
525 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
527 * buffer.C: increment file format to 231.
529 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
531 * dociterator.C: implement forwardPar
532 * iterators.[Ch]: remove, replaced by
533 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
535 * BufferView_pimpl.C:
538 * bufferview_funcs.C:
544 * Makefile.am: adjust
546 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
548 * CutAndPaste.C (pasteSelection): fix 2 crashes
549 (eraseSelection): fix a crash
550 * paragraph_funcs.C: remove a warning
552 2004-03-28 Angus Leeming <leeming@lyx.org>
555 * LyXAction.C (init): new LFUN_PRINT.
557 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
559 2004-03-27 Angus Leeming <leeming@lyx.org>
562 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
564 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
566 2004-03-27 Angus Leeming <leeming@lyx.org>
568 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
569 insetlist always contains non-null pointers to insets.
571 2004-03-26 Angus Leeming <leeming@lyx.org>
573 * src/BufferView_pimpl.C:
577 * src/output_plaintext.C:
578 * src/outputparams.h:
579 * src/paragraph_funcs.C:
583 * src/frontends/controllers/ControlErrorList.C:
584 * src/frontends/gtk/FileDialogPrivate.C:
585 * src/frontends/gtk/GPainter.C:
586 * src/frontends/gtk/GToolbar.C:
587 * src/frontends/qt2/QRef.C:
588 * src/mathed/math_scriptinset.C: squash compiler warnings.
590 2004-03-26 Angus Leeming <leeming@lyx.org>
592 * ispell.C (LaunchIspell::start):
593 * lyx_cb.C (AutoSaveBuffer::start):
594 invoke run(DontWait) rather than runNonBlocking().
596 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
598 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
600 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
602 * kbsequence.C (print): adjust
604 * kbmap.C (printKeySym): rename and change signature
605 (printKey): use LyXKeySym::print()
607 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
609 * undo.C: add using std::advance to compile for stlport
611 2004-03-24 Angus Leeming <leeming@lyx.org>
613 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
614 it leads to a crash when no buffer is present.
616 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
617 Martin Vermeer <martin.vermeer@hut.fi>
619 * lyxfunc.C (dispatch):
620 * bufferparams.C (readToken): use the new LColor::setColor
622 * LColor.[Ch] (setColor): new version that takes two strings as
623 argument and creates a new color entry if necessary
625 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
627 * buffer.C (makeLaTeXFile): if the main latex file that is
628 processed is usually a subdocument of some master, then pretend
629 for a while that it is actually the master
631 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
633 * buffer.C (getLabelList):
634 (getBibkeyList): use getMasterBuffer()
635 (getMasterBuffer): new method. Returns the main document in the
636 case where one is using included documents.
638 2004-03-25 André Pönitz <poenitz@gmx.net>
642 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
644 * ParagraphList_fwd.h: change ParagraphList to a std::vector
646 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
647 text*.C over here. Rename namespace CutAndPaste to lyx::cap
649 * ParameterStruct.h: merge with ParagraphParameters
651 * lyxtext.h: remove LyXText::parOffset() and getPar()
653 * text3.C: Remove all 'manual' update calls. We do now one per user
654 interaction which is completely sufficient.
658 * BufferView_pimpl.C:
661 * ParagraphParameters.[Ch]:
673 * output_docbook.[Ch]:
675 * output_linuxdoc.[Ch]:
676 * output_plaintext.[Ch]:
678 * paragraph_funcs.[Ch]:
679 * paragraph_pimpl.[Ch]:
687 * frontends/controllers/ControlDocument.C:
688 * frontends/controllers/ControlErrorList.C:
689 * frontends/controllers/ControlSpellchecker.C:
692 * insets/insetbase.h:
693 * insets/insetbibitem.C:
695 * insets/insetbranch.C:
696 * insets/insetcaption.C:
697 * insets/insetcharstyle.C:
698 * insets/insetcharstyle.h:
699 * insets/insetcollapsable.C:
700 * insets/insetcollapsable.h:
702 * insets/insetfloat.C:
703 * insets/insetfoot.C:
704 * insets/insetmarginal.C:
705 * insets/insetnote.C:
706 * insets/insetoptarg.C:
707 * insets/insettabular.C:
708 * insets/insettext.C:
709 * insets/insettext.h:
710 * insets/insetwrap.C:
711 * mathed/math_mboxinset.C:
712 * mathed/math_nestinset.C:
713 * mathed/math_scriptinset.C:
714 * mathed/math_scriptinset.h:
717 2004-03-24 Angus Leeming <leeming@lyx.org>
719 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
720 deal with any child processes that have finished but are waiting to
721 communicate this fact to the rest of LyX.
723 2004-03-24 Angus Leeming <leeming@lyx.org>
725 64-bit compile fixes.
727 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
728 (c-tor): pass lyx::pos_types rather than ints.
730 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
733 * text.C (Delete): compile fix.
734 (getPar): ensure that function declaration is the same as that in
737 2004-03-23 Angus Leeming <leeming@lyx.org>
739 * ispell.C (LaunchIspell):
740 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
741 a boost::shred_ptr rather than a std::auto_ptr.
743 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
745 * lyxfunc.C (getStatus): handle read-only buffers correctly;
746 handle LFUN_FILE_INSERT_*
748 * lyxrc.C (setDefaults, getDescription, output, read):
749 * lyxrc.h: remove ps_command
751 2004-03-22 Angus Leeming <leeming@lyx.org>
753 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
754 Ensure that error_handler is processed once only and that all data
755 is saved before attempting to output any warning messages.
757 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
759 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
761 * tabular.C (TeXRow): crash fix (from Kayvan and André)
763 2004-03-19 André Pönitz <poenitz@gmx.net>
765 * cursor.[Ch] (reset): take main text inset as argument
768 * BufferView_pimpl.C: adjust
770 * paragraph.[Ch]: fix completely broken operator=()
772 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
774 * LColor.C (getFromLyXName): make sure that the color name is used
777 2004-03-17 Angus Leeming <leeming@lyx.org>
780 * LyXAction.C (init): remove LFUN_FORKS_KILL.
782 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
783 dialog and to kill a forked process.
785 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
787 * text2.C (setCursorFromCoordinates): fix font problem
789 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
791 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
792 bogus "rebuild cursor" code
794 2004-03-11 André Pönitz <poenitz@gmx.net>
796 * buffer.[Ch]: use InsetText instead of LyXText as container for
799 * dociterator.[Ch]: drop the BufferView * member which is not needed
800 anymore after the change to buffer.C
806 * BufferView_pimpl.[Ch]:
808 * cursor_slice.[Ch]: adjust
810 * text3.C: fix bug in mathDispatch
812 2004-03-08 André Pönitz <poenitz@gmx.net>
814 * undo.[Ch]: use 'StableDocumentIterator' as base for
817 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
820 * bufferparams.[Ch]: add jurabib support and param.
822 * LaTeX.C: add FIXME/comment.
824 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
826 * buffer.C: increment file format to 230.
828 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
830 * cursor.C (dispatch): avoid infinite loops
832 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
834 * rowpainter.C (paintSelection): fix x coordinates
836 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
838 * text.C (rowBreakPoint): fix breaking before displayed insets
840 2004-03-01 André Pönitz <poenitz@gmx.net>
842 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
844 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
848 * BufferView_pimpl.C:
856 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
862 * BufferView_pimpl.C: rename textwidth -> maxwidth,
863 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
865 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
867 * Bidi.[Ch] (computeTables): const correctness
868 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
869 fill_hfill, fill_label_hfill and x from Row
870 * lyxtext.h: prepareToPrint returns a RowMetrics
871 * rowPainter.C: adjust
872 * text.C (prepareToPrint): use width, not textWidth. adjust
873 (redoParagraphInternal, cursorX): adjust
874 * text2.C (getColumnNearX): adjust
875 (init): put a default value to the top LyXText::width
877 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
879 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
881 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
883 * lyxtext.h: add FontIterator class
885 * text.C (FontIterator, operator*, operator->, operator++): add
886 (rowBreakPoint, setRowWidth): adjust (fixing a
889 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
891 * BufferView_pimpl.C (workAreaDispatch): allow also
892 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
894 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
896 * text.C (rowBreakPoint): fix a bug showing with very large insets
898 2004-02-25 André Pönitz <poenitz@gmx.net>
901 * cursor.[Ch]: move some mathed specific code to mathed
903 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
905 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
906 use_tempdir in preferences
907 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
909 * lyx_main.C: ensure that tempdir is valid
910 * lyxlex.h: correct typo
911 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
912 * paragraph.[Ch] (isMultiLingual): make const
913 * cursor.[Ch] (openable): make const
915 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
917 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
919 2004-02-20 André Pönitz <poenitz@gmx.net>
921 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
923 * cursor.[Ch]: prepare for localized getStatus()
929 * text3.C: streamlines the LyXText cursor movement handlers a bit.
931 2004-02-20 André Pönitz <poenitz@gmx.net>
933 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
935 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
937 * text2.C (setCursorFromCoordinates): switch to absolute coords
940 * text3.C (dispatch): adjust
942 2004-02-16 André Pönitz <poenitz@gmx.net>
944 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
947 * cursor_slice.[Ch]: remove unneeded acessor function
949 * lyxtext.h: rename rtl() to isRTL()
957 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
959 * rowpainter.C (paintSelection): coord fix
961 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
963 * Spacing.C: compile fix
965 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
967 * cursor.C (dispatch): restore current_ before returning
969 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
971 * text2.C (cursorUp, cursorDown): fix coords
974 2004-02-12 André Pönitz <poenitz@gmx.net>
979 * text3.C: add LCursor & parameter to most cursor movement functions
980 remove usage of LyXText::cursorRow() and cursorPar()
982 * cursor.[Ch]: add textRow() needed members
985 * BufferView_pimpl.C:
988 * BufferView_pimpl.C: adjust
990 2004-02-11 André Pönitz <poenitz@gmx.net>
994 * BufferView_pimpl.C: shift undo/redo handling
996 * cursor.[Ch]: fix mathed crash
999 * lyxtext.h: move selectionAsText to LCursor
1007 * rowpainter.C: fix excessive drawing
1009 2004-02-06 André Pönitz <poenitz@gmx.net>
1012 * BufferView_pimpl.[Ch]:
1013 * text3.C: move some text specific LFUN handling
1015 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1017 * text3.C (checkInsetHit): adjust coords
1018 * text2.C (getColumnNearX): adjust coords
1019 (edit): adjust coords
1020 * text.C (getRowNearY): add two asserts
1022 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1025 * format.C: add using std::distance to compile on gcc 2.95/stlport
1027 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1029 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1031 2004-02-04 André Pönitz <poenitz@gmx.net>
1033 * BufferView.[Ch] (insertInset):
1034 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1039 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1041 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1042 on the default clause of the switch
1043 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1044 wasn't catched by LCursor::dispatch
1046 2004-02-03 André Pönitz <poenitz@gmx.net>
1049 * cursor.[Ch]: some additional asserts
1051 * undo.[Ch]: remove LyXText dependency in interface
1055 * lyxtext.h (firstPar, lastPar): remove dead functions
1060 * paragraph.[Ch]: adjust
1062 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1064 * lyxfind.C (find): fix argument order in call to ::find
1066 2004-02-02 André Pönitz <poenitz@gmx.net>
1068 * cursor.[Ch]: remove direct access to anchor
1070 * text.C: remove findText() hack
1072 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1074 * iterators.[Ch] (lockPath): remove in favour of...
1075 * BufferView.[Ch] (setCursor): this addition
1076 * BufferView.C (putSelectionAt): adjust
1077 * undo.C (performUndoOrRedo): adjust
1078 * lyxfunc.C (dispatch): adjust
1080 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1082 * iterators.C (lockPath): add a missing slice
1083 * undo.C (performUndoOrRedo): remove redundant positioning code
1085 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1087 * vc-backend.C (scanMaster): ";" -> ';'
1089 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1091 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1092 std::binary_function
1094 * lyxtextclass.C (compare_name): rename to...
1095 (LayoutNamesEqual): ...this
1097 * lyxlex_pimpl.C (compare_tags): inherit from
1098 std::binary_function, put back into anon namespace
1100 * lyxfind.C (MatchString): inherig from std::binary_function
1101 (findChange): use empty() istead of !size()
1103 * format.C (FormatNamesEqual): new functor
1110 * converter.C (compare_Converter): rename to...
1111 (ConverterEqual): ...this, and fixup a bit.
1112 (getConverter): use it, and make function const
1113 (getNumber): use it, and make function const
1117 * bufferlist.C: add using boost::bind
1119 * MenuBackend.C (MenuNamesEqual): new functor
1120 (hasMenu): use it, and make function const
1121 (hasSubmenu): use nested bind to get rid of compare_memfun.
1123 2004-01-30 André Pönitz <poenitz@gmx.net>
1125 * BufferView_pimpl.C:
1128 * cursor_slice.[Ch]:
1131 * paragraph_funcs.C:
1132 * paragraph_funcs.h:
1136 * text3.C: move some of the edit(x,y) handling to the insets
1137 some coordinate changes.
1139 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1141 * text.C: add using statements for std::advance and std::distance
1143 * paragraph.C: add using statement for std::distance
1145 * lyxfind.C: add using statement for std::advance
1147 * cursor.C (region): remove std:: from swap
1148 (openable): use nucleus in stead of operator->
1150 * BufferView.C: add using statements for std::distance and std::swap
1152 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1154 * iterators.C: Remove the pimple, move the needed structures to
1155 the header file. Create accessor for the positions stack.
1156 (asPosIterator): remove function
1158 * PosIterator.C (PosIterator): move constructors to top of file
1159 (PosIterator): reimplement the constructor taking a ParIterator in
1161 (setFrom): new function
1162 (operator!=): inline it
1164 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1166 * lyxfind.C (replaceAll): use std::advance
1168 * iterators.h: inherit from std::iterator.
1170 * PosIterator.C (advance, distance): remove
1171 * PosIterator.h: interit from std::iterator.
1173 2004-01-26 André Pönitz <poenitz@gmx.net>
1176 * BufferView_pimpl.[Ch]:
1180 * bufferview_funcs.C:
1190 * output_linuxdoc.C:
1191 * output_plaintext.C:
1193 * paragraph_funcs.[Ch]:
1194 * paragraph_pimpl.[Ch]:
1200 * text3.C: more IU: dumps most of the rest of the mathcursor
1201 implementation into cursor.[Ch]; "globalize" a bit of it.
1203 2004-01-25 Angus Leeming <leeming@lyx.org>
1205 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1207 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1209 * LaTeXFeatures.h: add nice_ and nice() const
1210 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1212 2004-01-20 André Pönitz <poenitz@gmx.net>
1215 * BufferView_pimpl.C:
1217 * bufferview_funcs.C:
1219 * cursor_slice.[Ch]:
1230 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1231 LCursor and mathcursor parts to LCursor and InsetBase.
1233 2004-01-15 André Pönitz <poenitz@gmx.net>
1235 * cursor_slice.[Ch]: add a few covienience functions
1237 * funcrequest.[Ch]: remove BufferView * member
1239 * BufferView_pimpl.C:
1246 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1248 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1250 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1251 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1253 2004-01-13 André Pönitz <poenitz@gmx.net>
1256 * lyxtext.h: hide cursor and selection anchor behind accessor function
1259 * BufferView_pimpl.[Ch]:
1261 * bufferview_funcs.C:
1271 * cursor_slice.[Ch]: some integer type changes for inset unification
1273 * lyxcursor.[hC]: remove, it's CursorSlice now.
1276 * BufferView_pimpl.[Ch]:
1277 * bufferview_funcs.C:
1283 * textcursor.[Ch]: adjust
1285 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1287 * text2.C (undoSpan): add and use
1288 * text.C (breakParagraph): use undoSpan (fix bug 578)
1291 2004-01-08 Angus Leeming <leeming@lyx.org>
1293 * BufferView_pimpl.C (MenuInsertLyXFile):
1294 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1295 * lyxfunc.C (menuNew, open, doImport):
1296 FileFilterList change to the FileDialog open and save functions.
1298 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1300 * ShareContainer.h: make isEqual and isUnique adaptable
1302 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1304 2004-01-07 Angus Leeming <leeming@lyx.org>
1307 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1309 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1311 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1312 functions replacing find, replace and replaceAll.
1314 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1315 LFUN_WORDFIND(FORWARD|BACKWARD).
1317 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1319 * text.C (breakParagraph): remove an outdated #warning
1321 2004-01-07 André Pönitz <poenitz@gmx.net>
1323 * lyxfind.C: somewhat clearer logic
1325 * text.C: prevent crash in cursorX on unitialized row cache
1327 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1329 * lyxcursor.[Ch] (operator>): add
1330 * textcursor.C (selStart, selEnd): use std::min and std::max
1332 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1334 * Chktex.C: include boost/format.hpp
1336 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1338 * InsetList.C: replace functor MathcIt with adaptable functor
1340 (insetIterator): modify accordingly
1342 * BranchList.h: move the BranchNamesEqual functor here from...
1343 * BranchList.C: ... to here
1345 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1347 (add): replace a finding loop with std::find_if.
1349 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1351 * output_docbook.C: moving LatexParam functionality into
1354 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1356 * buffer.C: increment format to 229.
1358 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1361 * lyx_sty.[Ch]: remove minipageindent_def
1367 * text3.C: remove LFUN_INSET_MINIPAGE
1369 2003-12-28 Angus Leeming <leeming@lyx.org>
1371 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1373 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1375 * text2.C (setParagraph): fix off-by-one crash
1377 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1379 * output_docbook.C: header stuff for AGU
1381 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1383 * text2.C (redoCursor): remove
1386 * BufferView_pimpl.C: remove calls to redoCursor and
1387 setCursor(cursor.par(), cursor.pos()) all around
1389 2003-12-15 Angus Leeming <leeming@lyx.org>
1391 * buffer.C: up the format to 228.
1393 2003-12-15 André Pönitz <poenitz@gmx.net>
1395 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1400 * BufferView_pimpl.C:
1409 2003-12-15 Angus Leeming <leeming@lyx.org>
1411 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1412 than getFromGUIName to manipulate the color.
1414 2003-12-14 Angus Leeming <leeming@lyx.org>
1416 * BranchList.[Ch]: minimize the API.
1417 (Branch::getBranch, getColor): now return a 'const &'.
1418 (Branch::setSelected) now returns a bool set to true if the
1419 selection status changes.
1420 (BranchList::clear, size, getColor, setColor, setSelected,
1421 allBranches, allSelected, separator): removed.
1422 (BranchList::find): new functions, returning the Branch with
1424 (BranchList::add, remove): return a bool indicating that
1425 the operation was successful.
1427 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1428 new InsetBranch::isBranchSlected member function.
1430 * LColor.[Ch]: mimimize the API.
1431 (fill): renamed as addColor and made private.
1432 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1433 versions of these functions taking a string arg have been removed.
1435 * bufferparams.C (readToken):
1436 * lyxfunc.C (dispatch):
1437 * lyxrc.C (read): changes due to the altered BranchList and
1440 * factory.C (createInset, readInset): changes due to altered
1443 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1446 * lyxfunc.C: remove insetminipage. "minipage-insert"
1447 now produces a frameless minipage box inset.
1449 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1451 * textcursor.[Ch] (selStart,selEnd): add new methods
1452 remove selection::start, end, use LyXCursor::operator<
1453 * lyxcursor.[Ch] (operator<): add
1454 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1455 * BufferView.[Ch] (unsetXSel): add
1456 * text2.C (clearSelection): use unsetXSel,adjust
1459 * rowpainter.C: adjust
1460 * bufferview_funcs.C (put_selection_at): adjust
1462 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1464 * BufferView_pimpl.C: small coord. correction
1466 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1468 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1469 dragging over the splash screen.
1471 2003-12-11 Angus Leeming <leeming@lyx.org>
1473 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1474 as it is now handled in LyXText::dispatch.
1476 * text3.C (doInsertInset): remove a level of nesting.
1478 2003-12-11 Angus Leeming <leeming@lyx.org>
1480 * factory.C (createInset): changes due to the changed interface to
1481 InsetCommandMailer::string2params.
1483 2003-12-10 Angus Leeming <leeming@lyx.org>
1485 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1486 'dialog-show-new-inset <inset name>'
1488 2003-12-10 Angus Leeming <leeming@lyx.org>
1490 * buffer.C: up the format to 227.
1492 * factory.C: the box inset is now identified simply by 'Box'.
1494 2003-12-10 Angus Leeming <leeming@lyx.org>
1496 * buffer.C: up the format to 226.
1498 * factory.C: the note inset is now identified simply by 'Note'.
1500 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1502 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1503 when a pit is enough. Standarize a couple of loops.
1505 2003-12-05 Angus Leeming <leeming@lyx.org>
1507 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1508 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1509 data to the re-worked "log" dialog.
1511 2003-12-03 André Pönitz <poenitz@gmx.net>
1517 * paragraph_funcs.C:
1519 * text2.C: use Inset::getText instead of Inset::getParagraph
1521 2003-12-03 André Pönitz <poenitz@gmx.net>
1525 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1526 InsetText::read() as LyXText::read()
1528 2003-12-02 Angus Leeming <leeming@lyx.org>
1530 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1531 type. Add a comment in the implementation that the function uses
1532 the stream's bad() function rather than fail() as the std::streams
1535 2003-12-02 André Pönitz <poenitz@gmx.net>
1537 * lyxlex.[Ch]: make interface more similar to std::stream
1539 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1541 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1543 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1545 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1547 * vspace.[Ch]: remove VSpace::NONE
1549 2003-12-01 André Pönitz <poenitz@gmx.net>
1552 * lyxtext.h: move ParagraphList member to LyXText
1553 rename LyXText::ownerParagraphs to LyXText::paragraph
1556 * bufferview_funcs.C:
1566 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1568 * undo.C: fix cursor positioning
1570 2003-12-01 John Levon <levon@movementarian.org>
1572 * BufferView_pimpl.C: fix a crash on exit with
1575 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1577 * BranchList.C: fix setSelected() method.
1579 2003-11-28 André Pönitz <poenitz@gmx.net>
1581 * ParagraphParameters.[Ch]:
1582 * ParameterStruct.h: remove space above/below from Paragraph to
1585 * BufferView_pimpl.C:
1591 * paragraph_funcs.C:
1597 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1599 * factory.C: Syntax change for CharStyles
1601 2003-11-28 André Pönitz <poenitz@gmx.net>
1606 * buffer.[Ch]: move LyXText member
1608 2003-11-28 André Pönitz <poenitz@gmx.net>
1610 * BufferView.[Ch]: make LyXText * text a private member
1612 * BufferView_pimpl.C:
1623 * output_plaintext.C: cleanup
1625 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1628 * lyxtextclass.[Ch]: parametrize SGML document header
1630 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1633 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1636 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1638 * text2.C (setFont): rework using PosIterator (no more recursive)
1639 (setCharFont): no more needed
1640 (setLayout): no more selection cursors fiddling (done by redoCursor)
1641 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1642 destroy remaining ones)
1644 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1646 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1648 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1651 * text3.C: adjust + re-allow multi par depth changes
1652 * textcursor.C: simplify a bit
1654 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1660 * src/output_docbook.C:
1661 * src/output_latex.C:
1666 * src/text2.C: Introducing a number of tags parametrizing various
1667 XML formats that we may want to support
1669 2003-11-25 André Pönitz <poenitz@gmx.net>
1671 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1673 * lyxtext.h (leftMargin/rightMargin): simplify interface
1680 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1682 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1683 master file to any child files. Fixes bug 546.
1685 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1687 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1689 2003-11-24 André Pönitz <poenitz@gmx.net>
1691 * rowpainter.C: simplification
1693 * text2.C (updateCounters): remove call to redoParagraph on
1694 changed labels as this is far too expensive.
1696 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1698 * converter.C (convert): fix a crash: this function gets
1699 called with buffer == 0 from importer code.
1701 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1703 * text3.C (cursorPrevious): make sure that we do not compare
1704 iterators form different containers.
1707 * rowpainter.C (paintSelection): make sure that we do not compare
1708 iterators from different containers.
1710 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1711 iterators from different ParagraphList containers.
1714 * text2.C (LyXText): change order of initialization slightly
1715 (operator=): new function. copy all variables except cache_par_
1716 (moveUp): make sure that we do not compare iterators from
1717 different ParagraphList constainers.
1720 * text.C (firstPar): new function
1721 (lastPar): new function
1722 (endPar): new function
1724 * lyxtext.h: move things around and group public functions, public
1725 variables, private functions, private variables
1727 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1729 * factory.C: change call to InsetERT constructor to avoid
1730 additional invocation of method status
1731 * text2.C (toggleInset): remove redundant update() call
1732 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1733 instead of a Bufferview pointer
1735 2003-11-21 André Pönitz <poenitz@gmx.net>
1737 * rowpainter.C: simplification
1739 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1741 * text3.C (dispatch): make possible to extend a word/row selection
1744 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1746 * lyxtext.h: x0_,y0_ -> xo_,yo_
1747 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1748 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1749 * rowpainter.C (paintRows): paint full paragraphs
1751 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1753 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1756 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1758 * lyxtext.h: add x0_, y0_
1759 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1760 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1762 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1764 * text2.C (setCursorIntern): move the x_target update here *
1765 * text3.C: change some bv() to true/false in calls to
1766 cursorUp/Down/Right/Left
1767 * cursor.C: use helper function.
1769 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1771 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1772 * paragraph_funcs.[Ch]: correct comment
1773 * rowpainter.C: do not paint selections away from bv->cursor()
1774 Fix a long standing selection painting bug.
1775 * text3.C: generalize mouse-selection code to LyXTexts other that
1777 * textcursor.C: do not use y coords if we can use par offsets
1779 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1781 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1782 cursor position after e.g. inset insert)
1784 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1786 * lyxfind.C (replace): adjust to locking removal + some
1789 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1791 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1794 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1797 * output_docbook.C: XML sanitation: new layout
1798 parameters InnerTag and CommandDepth
1800 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1802 * BufferView_pimpl.C:
1804 * text3.C: Fix the insertion and modification of button-style
1807 2003-11-13 André Pönitz <poenitz@gmx.net>
1809 * InsetList.[Ch]: remove deleteLyXText
1811 * paragraph.[Ch]: cache beginOfBody position
1816 * text3.C: remove superfluous update() calls
1820 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1822 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1823 * BufferView.C (fitLockedInsetCursor): remove
1824 * cursor.[Ch] (getDim): add
1825 * text.C (getRowNearY): add faster version
1826 * text3.C: remove some update calls
1828 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1840 * text3.C: The Character Style /XML short element patch.
1842 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1845 * factory.C: Small step to solving 'unable to insert some insets'
1848 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1850 * cursor.[Ch] (updatePos): new function for updating the y
1851 position of the tip inset
1852 * bufferview_funcs.C (put_selection_at):
1853 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1855 2003-11-11 André Pönitz <poenitz@gmx.net>
1857 * text.C: remove big comment on invalid Paragraph pointers as it is
1860 2003-11-11 André Pönitz <poenitz@gmx.net>
1862 * text_funcs.[Ch]: merge with ...
1870 * Makefile.am: remove text_funcs.[Ch]
1872 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1874 * cursor.C (getPos): return absolute cached y coord
1876 * BufferView_pimpl.C (fitCursor): new simplistic code
1877 (workAreaDispatch): add a fitCursor call
1879 2003-11-10 André Pönitz <poenitz@gmx.net>
1882 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1884 2003-11-10 André Pönitz <poenitz@gmx.net>
1886 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1887 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1888 indicate that the cursor needs to leave an inset
1890 * lyxtext.h: remove inset locking
1892 * cursor.[Ch]: re-implement functionality provided by inset locking
1895 * BufferView_pimpl.[Ch]:
1897 * bufferview_funcs.[Ch]:
1909 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1911 * PosIterator.[Ch]: replace the stack with a vector, add inset
1913 * iterators.[C]: adjust
1915 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1917 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1919 * paragraph_funcs.C (readParToken): put the correct id in the
1920 error item, not the id of the top paragraph
1922 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1924 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1925 * bufferview_funcs.C (put_selection_at): use the above
1927 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1929 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1931 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1933 * output_linuxdoc.h:
1934 * output_plaintext.h:
1936 * output_docbook.h: add #include statements
1938 2003-11-05 José Matos <jamatos@lyx.org>
1940 * output_docbook.[Ch]:
1941 * output_latex.[Ch]:
1942 * output_linuxdoc.[Ch]:
1943 * output_plaintext.[Ch]: New files for output formats.
1944 * output.[Ch]: New file for helper functions.
1947 * paragraph_funcs.[Ch]: output functions moved to new files.
1949 * outputparams.h: rename of latexrunparams.h
1957 * paragraph_funcs.[Ch]:
1958 * paragraph_pimpl.[Ch]:
1959 * tabular.[Ch]: rename ascii to plaintext
1960 and LatexRunParams to OutputParams.
1962 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1964 * iterators.[Ch] (text): require bv argument
1965 * undo.C (recordUndo):
1966 * lyxfunc.C (dispatch):
1967 * bufferview_funcs.C (put_selection_at): adjust
1969 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1971 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1973 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1975 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1978 2003-11-04 André Pönitz <poenitz@gmx.net>
1980 * cursor.[Ch]: restructure
1983 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1985 * iterators.[Ch] (asCursor): remove
1987 * lfuns.h: remove LFUN_INSET_EDIT
1993 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1995 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1997 * lyxfind.[Ch]: complete overhaul
1998 * BufferView_pimpl.C:
2000 * paragraph.[Ch] (insert): add
2002 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2006 * text.C: remove dead spellcheck code
2008 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2010 * dispatchresult.h: add a val setter
2012 * cursor.C (dispatch): use a tempvar for data_[i]
2014 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2016 * PosIterator.[Ch]: compile fix
2018 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2020 * text.C (cursorPar): deactivate the cursor cache
2022 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2024 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2026 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2028 * text3.C (dispatch): adjust for new DisptchResult semantics.
2030 * lyxfunc.C (dispatch): handle update when return from
2031 Cursor::dispatch, adjust for new DispatchResult semantics.
2033 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2034 DispatchResult(true) mean to not update. Add class functions for
2035 setting dispatched and update, as well as reading.
2037 * cursor.C (dispatch): don't handle update here
2039 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2041 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2042 * trans_mgr.C: adjust
2044 * paragraph_funcs.C (readParToken): exception safety
2046 * lyxvc.h: store the vcs pointer in a scoped_ptr
2049 * lyxsocket.C (serverCallback): exception safety
2051 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2053 * ispell.C (clone): make it return a auto_ptr
2055 * factory.C (createInset): exception safety
2056 (readInset): exception safety
2058 * bufferlist.C (newBuffer): exception safety
2060 * Thesaurus.C (Thesaurus): use initialization for aik_
2062 * MenuBackend.C (expandToc): exception safety.
2064 2003-11-03 André Pönitz <poenitz@gmx.net>
2068 * bufferview_funcs.C: remove getInsetFromId()
2071 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2077 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2079 * PosIterator.C (distance, advance): new
2080 * bufferview_funcs.[Ch] (put_selection_at): new
2081 * iterators.[Ch] (lockPath): new
2083 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2085 * iterators.[Ch] (asPosIterator): added
2086 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2087 * PosIterator.[Ch]: added
2089 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2093 * cursor.C (dispatch):
2094 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2096 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2097 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2098 contructor, add a class function dispatched. Remove operator>=
2100 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2102 * debug.C: only use the default constructor for debugstream
2105 * main.C (main): include debug.h and setup the lyxerr streambuf
2108 2003-10-31 José Matos <jamatos@lyx.org>
2110 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2112 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2113 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2114 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2115 * paragraph_pimpl.C (simpleTeXSpecialC):
2116 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2117 add LatexRunParams argument.
2119 * exporter.C (Export): change call accordingly.
2121 * latexrunparams.h: add new member to take care of the other backends.
2122 2003-10-30 José Matos <jamatos@lyx.org>
2124 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2125 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2126 factorise code for paragraph output.
2128 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2131 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2133 * text3.C (dispatch):
2134 * lyxfunc.C (dispatch):
2135 * cursor.C (dispatch):
2136 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2138 * dispatchresult.h: make the dispatch_result_t ctor explicit
2140 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2143 * buffer.C: small refactoring of docbook stuff
2145 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2147 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2150 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2152 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2153 operator dispatch_result_t, and operators for == != and >=
2155 * cursor.C (dispatch): adjust for operator dispatch_result_t
2156 removal. comment out call to update
2158 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2160 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2168 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2171 * dispatchresult.h: new file, DispatchResult broken out of
2174 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2176 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2178 * text.C (rowBreakPoint): put a hack inside #if 0
2180 2003-10-28 André Pönitz <poenitz@gmx.net>
2184 * paragraph_funcs.C:
2187 * text2.C: general cleanup (lots of small stuff)
2189 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2191 * text2.C (cursorEnd): simple fix to the "end key goes to one
2192 before the end on last row" bug
2194 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2196 * text.C (backspace): fix the "zombie characters"
2198 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2200 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2202 2003-10-27 André Pönitz <poenitz@gmx.net>
2204 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2206 * factory.C: handle new InsetPagebreak, InsetLine
2208 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2209 and move handling into new InsetPagebreak, InsetLine
2211 * BufferView_pimpl.C:
2213 * ParagraphParameters.C:
2214 * ParameterStruct.h:
2219 * paragraph_funcs.C:
2220 * paragraph_pimpl.C:
2226 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2229 * lyxrow_funcs.[Ch]:
2235 * text3.C: remove lastPos uses in favour of Row::endpos
2237 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2239 * undo.C (performUndoOrRedo): fix two crashes by setting a
2240 cursor by hand and reordering some calls. Use bv->lockInset instead
2241 of inset->edit because the latter loses cursor information
2243 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2245 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2247 (rowBreakPoint): fix width. change point to point + 1.
2248 Add a missing check.
2250 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2253 * lyxfunc.C: fix (at least partly) the problems
2254 with the Nav menu and headers inside branch insets
2257 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2259 * paragraph.C (getChar): add strong asserts
2261 * lyxrow_funcs.C (lastPos): remove hideous hack
2263 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2264 (fill): adjust to that (avoid an infinite loop)
2266 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2268 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2270 2003-10-23 André Pönitz <poenitz@gmx.net>
2272 * RowList_fwd.h: change list<> to vector<> to gain speed
2273 after suggestion from Alfredo
2275 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2277 * lyxtext.h: move the bidi stuff from here...
2280 * Bidi.[Ch]: ... to here
2282 2003-10-23 André Pönitz <poenitz@gmx.net>
2285 * text.C (isLastRow, isFirstRow): new functions
2287 * paragraph.h: new width cache member
2289 * rowpainter.C: replace RowList::iterator with Row & where possible
2291 * lyxfunc.C: replace several view()->text with a single call
2293 * toc.C: fix 'unused' warning
2295 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2297 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2298 when woring with stream::pos_type
2299 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2301 2003-10-22 André Pönitz <poenitz@gmx.net>
2304 * text.C: use Row & instead of RowList::iterator
2306 * lyxrow.h: rename end() to endpos()
2312 2003-10-22 Angus Leeming <leeming@lyx.org>
2314 * buffer.[Ch] (fully_loaded): new member function, returning true
2315 only when the file has been loaded fully.
2316 Used to prevent the premature generation of previews and by the
2317 citation inset to prevent computation of the natbib-style label.
2319 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2320 templates are all set up.
2322 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2324 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2326 * text.C: fixed an "oops" in the "is a bit silly"
2329 2003-10-21 André Pönitz <poenitz@gmx.net>
2331 * FuncStatus.[Ch]: small stuff, whitespace
2333 * lyxfont.[Ch]: operator<<() for debug reasons
2337 * lyxtext.h: whitespace, spelling
2339 * paragraph.C: naming of variables
2342 * text2.C: small stuff
2345 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2347 * text.C: (1) finish off the inset display() work;
2348 (2) fix the "is a bit silly" bug (accessing char
2351 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2353 * text.C: re-introduce display() for insets, fixing the
2354 various bugs (stretch of line above, math inset
2357 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2359 * text.C (rightMargin): remove spurious semicolon
2361 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2364 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2366 * text3.C: fix one crash due to wrong cursor def
2368 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2370 * vc-backend.C (scanMaster): make the regex static
2372 * LaTeX.C (scanAuxFile): make the regexs static
2374 * text3.C (doInsertInset, dispatch, dispatch):
2375 * text2.C (cursorUp, cursorDown):
2376 * text.C (selectNextWordToSpellcheck):
2377 * BufferView_pimpl.C (dispatch):
2378 * lyxfunc.C (dispatch): localDispatch -> dispatch
2380 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2382 * lyxsocket.C: include <cerrno>
2384 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2386 * lyxfunc.C (dispatch): remove textcache stuff
2388 * bufferlist.C (release): remove textcache stuff
2391 * TextCache.C: delete file
2392 * TextCache.h: delete file
2394 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2396 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2397 delete of the bv_->text.
2398 (resizeCurrentBuffer): remove texcache stuff
2399 (workAreaResize): ditto
2401 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2403 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2406 2003-10-16 André Pönitz <poenitz@gmx.net>
2413 * text3.C: speed up by storing y positions per paragraph plus per-row
2414 offset instead of having a 'full' y position in the row.
2416 2003-10-15 André Pönitz <poenitz@gmx.net>
2420 * undo.[Ch]: make undo aware of inner insets
2422 2003-10-14 Angus Leeming <leeming@lyx.org>
2424 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2425 static member functions LyX::ref() and LyX::cref.
2426 (lastfiles): new accessor functions for the new lastfiles_ member var.
2427 (addLyXView, views_): add a new LyXView to the list of views_.
2428 (updateInset): loop over all LyXViews to call their own updateInset
2429 member function, returning a pointer to the Buffer owning the inset.
2431 * BufferView_pimpl.C (loadLyXFile):
2432 * MenuBackend.C (expandLastfiles):
2433 * bufferlist.C (MenuWrite, QuitLyX):
2434 lastfiles is no longer a global variable.
2435 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2437 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2438 static function. Access through LyX::cref().emergencyCleanup().
2440 2003-10-14 André Pönitz <poenitz@gmx.net>
2442 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2444 * undo.[Ch]: restoring part of 'undo in insets'
2447 * undo_funcs.[Ch]: merge with undo.[Ch]
2449 * tabular.C: small cleansing stuff
2451 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2453 * paragraph_funcs.C (readParToken): report unknown insets as error
2454 boxes. Use the outer paragraph as location (also for unknown
2457 * factory.C (readInset): do not abort on reading an unknown inset.
2458 Eat it and return 0.
2460 2003-10-13 Angus Leeming <leeming@lyx.org>
2462 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2464 * lyxrc.C: displayTranslator is now a function,
2465 declared in GraphicsTypes.h.
2467 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2469 * format.C: new placeholder $$a to pass the socket address.
2471 * bufferlist.[Ch]: new function getBufferFromTmp.
2473 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2474 files in the temporary dir.
2476 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2478 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2480 * Makefile.am: add lyxsocket.[Ch].
2482 * lyx_main.C (error_handler): handle SIGPIPE.
2484 2003-10-13 André Pönitz <poenitz@gmx.net>
2486 * BufferView_pimpl.C:
2491 * undo_funcs.[Ch]: use paroffset_type instead of
2492 ParagraphList::iterators to prevent multiple conversion
2493 (and get a more robust interface)
2495 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2497 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2499 * text3.C (dispatch): ditto
2501 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2503 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2504 move the onlyfile, use onlyfile instead of foundfile in a couple
2507 * DepTable.C (update): flush the error stream a bit more
2509 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2511 * lyxserver.C (callback): adjust
2513 * lyxfunc.C (getStatus): add a missing brace in commented code
2514 (ensureBufferClean): reindent
2515 (dispatch): delete version taking a string
2517 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2519 * LaTeX.C (deplog): move found file handlig from here...
2520 (handleFoundFile): .. to new function here.
2521 (deplog): make sure to discover several files mentioned on the
2524 2003-10-10 André Pönitz <poenitz@gmx.net>
2531 * text3.C: fix some of the tabular crashes
2533 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2535 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2537 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2539 2003-10-09 André Pönitz <poenitz@gmx.net>
2541 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2544 * BufferView_pimpl.C:
2545 * bufferview_funcs.C:
2556 * undo_funcs.C: adjust
2558 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2560 * text2.C (incrementItemDepth): new function, use a backtracking
2561 algorithm to discover the correct item depth.
2562 (resetEnumCounterIfNeeded): new function, use a backtracking
2563 algorithm to discover if counter reset is needed.
2564 (setCounter): use them. Simplify a bit. Add different labels for
2565 different item depths for itemize.
2567 * paragraph.C (Paragraph): remove initialization of enumdepth
2570 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2571 enumerate and itemize. Change the type of itemdepth to signed char.
2573 2003-10-08 André Pönitz <poenitz@gmx.net>
2575 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2580 * tabular.[Ch]: fix crash after 'row-insert'
2582 2003-10-08 Angus Leeming <leeming@lyx.org>
2584 Fix doxygen warnings.
2586 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2587 Remove CutAndPaste:: prefix from header file declaration.
2589 * LColor.h (fill): remove LColor:: prefix from declaration.
2591 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2592 use lyx::depth_type rather than Paragraph::depth_type so that
2593 header file and .C file match.
2595 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2597 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2598 * aspell.C: \file aspell_local.C -> \file aspell.C
2599 * gettext.C: \file gettext.C -> \file src/gettext.C
2600 * gettext.h: \file gettext.h -> \file src/gettext.h
2601 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2602 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2603 * text.C: \file text.C -> \file src/text.C
2605 * toc.C: move comment so that doxygen is not confused.
2607 2003-10-07 Angus Leeming <leeming@lyx.org>
2609 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2611 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2614 * aspell_local.h: add forgotten std::string's.
2616 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2623 * text3.C: The Box patch. Fancybox support, minipage, parbox
2625 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2631 * ParagraphParameters.h:
2641 * lyxtextclasslist.h:
2644 * paragraph_pimpl.C:
2645 * textcursor.h: add <string> and other small fixes to make Lars'
2646 std::string patch compile with STLport.
2648 2003-10-06 Angus Leeming <leeming@lyx.org>
2650 * LColor.h: Add missing #include <string>.
2652 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2654 * All most all file in all subdirs: Make <string> be the prefered
2655 way of getting to std::string, add using declarations.
2657 2003-10-06 André Pönitz <poenitz@gmx.net>
2659 * metricsinfo.C: initialize LyXFont before changing attribute.
2660 (fixes the 'math in \emph is upright' bug)
2662 2003-10-06 André Pönitz <poenitz@gmx.net>
2664 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2666 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2669 * paragraph_pimpl.C: Small fixes to build using STLport
2671 2003-10-02 André Pönitz <poenitz@gmx.net>
2674 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2676 2003-10-01 André Pönitz <poenitz@gmx.net>
2678 * factory.C: assert early
2680 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2682 * lyx_main.C: remove the global debug object
2684 * debug.h: adjust for new debugstream
2686 * debug.C: adjust for new debugstream and keep the global debug
2689 2003-09-22 Angus Leeming <leeming@lyx.org>
2691 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2692 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2693 an incomplete class LyXFont.
2695 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2697 * factory.C: bug fix in branches
2699 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2701 * lyxfunc.C (processKeySym): adjust
2703 (dispatch): change arg name from ev to func, adjust
2704 (sendDispatchMessage): ditto
2706 * lyx_main.C (defaultKeyBindings): adjust keybindings
2707 (deadKeyBindings): ditto
2709 * kbsequence.C (addkey): return a FuncRequest
2711 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2713 * kbmap.C (bind): take a FuncRequest as arg, adjust
2716 (defkey): change to take a FuncRequest as arg, adjust
2717 (findbinding): take a FuncRequest as arg, adjust.
2719 * funcrequest.h (operator=): added
2721 * funcrequest.C (FuncRequest): default kb_action changed from
2722 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2724 * buffer.C (dispatch): simplify
2725 (dispatch): adjust to take a FuncRequest as arg, adjust
2727 * boost.C (assertion_failed): change assertion message slightly
2729 * ToolbarBackend.C (read): simplify
2731 * MenuBackend.C (binding): adjust call to findbinding, add a
2732 message if no binding is found.
2734 (expandToc): correct by adding a empty FuncRequest
2736 * LyXAction.C: include <boost/assert.hpp>
2737 (isPseudoAction): delete function
2738 (LookupFunc): change name to...
2739 (lookupFunc): this. change return type to FuncRequest.
2740 (getActionName): take kb_action as arg, simplify
2741 (funcHasFlag): add an assert, simplify.
2743 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2745 * toc.C (action): return a FuncRequest, simplify
2747 * lyxfunc.C (processKeySym): adjust
2748 (getStatus): delete version that takes an int.
2750 (dispatch): delete version that takes action as int
2752 (sendDispatchMessage): simplify and adjust
2754 * funcrequest.C (getArg): take unsigned int as arg
2756 * ToolbarBackend.C (read): adjust
2757 (add): delete version that takes func as a string.
2758 (getIton): take a FuncRequest as arg
2760 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2763 * MenuBackend.C (MenuItem): add a new construct that only takes a
2764 Kind, simplify the constructor use for submenus.
2766 (expandLastfiles): adjust
2767 (expandDocuments): adjust
2768 (expandFormats): adjust
2769 (expandFloatListInsert): adjust
2770 (expandFloatInsert): adjust
2771 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2773 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2774 Remove class variables lyx_pseudo_map and lyx_arg_map
2776 * LyXAction.C (searchActionArg): delete function
2777 (getPseudoAction): delete function
2778 (retrieveActionArg): delete function
2779 (LookupFunc): make it return kb_action, simplify.
2780 (getActionName): simplify
2782 * factory.C (createInset): fix new bug
2784 2003-09-19 Angus Leeming <leeming@lyx.org>
2786 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2787 masterFilename_ parameter in the include inset.
2789 * factory.C (createInset): changes due to the changes to InsetInclude.
2791 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2793 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2795 2003-09-18 Angus Leeming <leeming@lyx.org>
2798 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2799 Inset::fillWithBibKeys.
2800 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2802 2003-09-18 Angus Leeming <leeming@lyx.org>
2804 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2806 (ctor): pass and store a 'Buffer const &'
2807 (buffer): new member function.
2809 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2810 '*this' to the LaTeXFeatures ctor.
2812 2003-09-18 Angus Leeming <leeming@lyx.org>
2818 * text.C: rename EnumLColor as LColor_color.
2820 2003-09-18 Angus Leeming <leeming@lyx.org>
2822 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2823 remove #include "insets/insetbase.h" from cursor.h.
2825 2003-09-18 Angus Leeming <leeming@lyx.org>
2827 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2828 InsetOld_code to remove #include "inset.h".
2830 * iterators.C: add #include "insets/inset.h"
2832 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2834 * BufferView.C: remove more locking stuff that apparently doesn't
2835 do anything sensible.
2837 2003-09-16 André Pönitz <poenitz@gmx.net>
2840 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2843 2003-09-16 Angus Leeming <leeming@lyx.org>
2845 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2847 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2850 * paragraph.h: remove #include "lyxfont.h". Forward declare
2853 2003-09-16 Angus Leeming <leeming@lyx.org>
2855 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2856 of support/textutils.h.
2857 (isWord): move the contents of support/textutils.h's IsWordChar here.
2863 * text2.C: add #include "paragraph.h".
2866 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2868 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2874 * LaTeX.C: use namespace alias for lyx::support::os
2876 2003-09-16 Angus Leeming <leeming@lyx.org>
2879 * bufferview_funcs.C:
2882 * paragraph_pimpl.C:
2884 * text.C: add #include "LColor.h".
2886 2003-09-16 Angus Leeming <leeming@lyx.org>
2888 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2889 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2891 Store the FontBits::color variable as an int rather than as an
2892 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2895 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2896 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2897 string calls together.
2899 * lyxrc.C: add #include "LColor.h".
2901 2003-09-15 Angus Leeming <leeming@lyx.org>
2903 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2906 2003-09-15 Angus Leeming <leeming@lyx.org>
2908 * LColor.h: add an EnumLColor wrapper for LColor::color.
2910 * lyxfont.[Ch] (color, setColor, realColor):
2911 * lyxtext.h, text.C (backgroundColor):
2912 pass EnumLColor args to/from the functions, rather than LColor::color
2916 * lyxtext.h: forward declare EnumLColor.
2918 * lyx_main.C: add #include "LColor.h".
2920 2003-09-15 Angus Leeming <leeming@lyx.org>
2922 * .cvsignore: add lyx-gtk.
2924 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2929 * ParagraphParameters.C
2933 * bufferview_funcs.C
2943 * vc-backend.C: remove usage of STRCONV
2945 2003-09-15 Angus Leeming <leeming@lyx.org>
2947 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2948 explicitly define the color passed to the painter.
2950 2003-09-15 Angus Leeming <leeming@lyx.org>
2952 * bufferparams.C (BufferParams): reorder member initializers to avoid
2955 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2957 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2958 * text.C (updateRowPositions): remove an unusual nop
2960 2003-09-12 André Pönitz <poenitz@gmx.net>
2962 * BufferView_pimpl.C:
2971 * Counters.[Ch]: finish the 'automatic counters' job
2973 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2975 * aspell.C: include <boost/assert.cpp> (compile fix)
2977 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2979 * boost.C (assertion_failed): use lyx::support::abort instead of
2982 2003-09-10 Angus Leeming <leeming@lyx.org>
2984 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2985 with their _fwd progeny.
2987 2003-09-09 Angus Leeming <leeming@lyx.org>
2989 134 files throughtout the source tree: replace 'using namespace abc;'
2990 directives with the appropriate 'using abc::xyz;' declarations.
2992 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2994 * boost.C (emergencyCleanup): moved here from LAssert.c
2995 (assertion_failed): new function, called by BOOST_ASSERT
2997 * several files: change Assert to BOOST_ASSERT
2999 2003-09-09 Angus Leeming <leeming@lyx.org>
3001 * buffer.[Ch]: Add an Impl class and move Buffer's member
3002 variables into it. As a result move several header files out of
3005 Add header files to lots of .C files all over the tree as a result.
3007 2003-09-09 Angus Leeming <leeming@lyx.org>
3009 * buffer.[Ch]: make Buffer's member variables private. Add
3012 Lots of changes all over the tree as a result.
3014 2003-09-08 Angus Leeming <leeming@lyx.org>
3016 * graph.C: #include <config.h>.
3018 2003-09-08 Angus Leeming <leeming@lyx.org>
3022 * BufferView_pimpl.C:
3051 * toc.C: remove redundant using directives.
3053 2003-09-07 Angus Leeming <leeming@lyx.org>
3055 * LaTeXFeatures.h: remove #include "support/types.h".
3056 * ToolbarBackend.h: remove #include <algorithm>.
3057 * changes.h: remove #include <ctime>.
3058 * debug.h: remove #include <iosfwd>.
3059 * graph.h: remove #include "support/std_string.h".
3060 * lyx_main.h: remove #include <csignal>.
3061 * lyxlex_pimpl.h: remove #include <fstream>.
3062 * sgml.h: remove #include <algorithm>, <utility>.
3063 * toc.h: remove #include "support/std_ostream.h".
3064 Add #include <iosfwd>.
3066 2003-09-07 Angus Leeming <leeming@lyx.org>
3068 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3070 * converter.h: forward declare LatexRunParams.
3071 * encoding.h: remove #include "lyxrc.h".
3072 * lyxtext.h: remove #include "LColor.h".
3073 * lyxtextclass.h: remove #include "support/types.h".
3074 * trans.h: remove #include "tex-accent.h".
3075 * trans_mgr.h: remove #include "tex-accent.h".
3076 * insets/inset.h: remove #include "support/types.h", <vector>.
3077 * insets/insetcollapsable.h: remove #include "LColor.h".
3078 * insets/insetinclude.h: remove #include "dimension.h".
3079 * insets/insetlatexaccent.h: remove #include "dimension.h".
3080 * insets/insetoptarg.h:: remove #include "insettext.h".
3081 * insets/insettext.h: remove #include "dimension.h",
3082 <boost/shared_ptr.hpp>
3084 * insets/renderers.h: add #include "dimension.h".
3085 * insets/updatableinset.h: add #include "support/types.h".
3087 * many .C files: Associated changes.
3089 2003-09-06 Angus Leeming <leeming@lyx.org>
3091 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3092 one, inside testInvariant.
3094 * PrinterParams.C: new file.
3095 * PrinterParams.[Ch]: move the function bodies out of line.
3097 2003-09-06 Angus Leeming <leeming@lyx.org>
3099 * ParagraphParameters.h: forward declare ParameterStruct rather than
3100 including its header file.
3101 (depth): moved out-of-line.
3103 2003-09-06 Angus Leeming <leeming@lyx.org>
3105 * BufferView_pimpl.h:
3108 * lyxfunc.h: forward declare LyXKeySym rather than
3109 #include "frontends/LyXKeySym.h".
3111 * BufferView_pimpl.C:
3114 * lyxfunc.C: associated changes.
3116 2003-09-06 Angus Leeming <leeming@lyx.org>
3118 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3119 As a result, can remove the #include "insets/inset.h" from BufferView.h
3121 2003-09-06 Angus Leeming <leeming@lyx.org>
3123 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3124 As a result, can remove the #include "insets/inset.h" from BufferView.h
3126 2003-09-06 Angus Leeming <leeming@lyx.org>
3132 * bufferview_funcs.C:
3133 * BufferView_pimpl.C:
3138 * ParagraphParameters.C:
3143 * frontends/controllers/ControlDocument.C:
3144 * insets/insetcaption.C: rearrange the #includes into some sort of
3147 * buffer.h: remove #includes ErrorList.h, undo.h
3149 2003-09-06 Angus Leeming <leeming@lyx.org>
3151 * support/types.h: add a 'depth_type' typedef, used to store the
3152 nesting depth of a paragraph.
3155 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3156 defining explicitly.
3159 * paragraph_funcs.h:
3160 * ParagraphParameters.h:
3161 * sgml.h: use lyx::depth_type rather than Paragraph or
3162 ParameterStruct's depth_type.
3165 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3168 * BufferView_pimpl.C:
3170 * ParagraphParameters.C:
3173 * bufferview_funcs.C:
3180 * frontends/LyXView.C:
3181 * frontends/controllers/ControlDocument.C:
3182 * frontends/controllers/ControlErrorList.C:
3183 * insets/insetbibitem.C:
3184 * insets/insetbranch.C:
3185 * insets/insetcaption.C:
3186 * insets/insetcollapsable.C:
3187 * insets/insetenv.C:
3188 * insets/insetert.C:
3189 * insets/insetfloat.C:
3190 * insets/insetfoot.C:
3191 * insets/insetfootlike.C:
3192 * insets/insetnewline.C:
3193 * insets/insetquotes.C:
3194 * insets/insettabular.C:
3195 * insets/insettext.C:
3196 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3198 * frontends/controllers/ControlChanges.C: #include "changes.h".
3200 2003-09-06 Angus Leeming <leeming@lyx.org>
3202 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3203 than #including paragraph.h.
3206 * RowList.h: deleted. Superfluous.
3216 * insets/insettext.h: use ParagraphList_fwd.h rather than
3219 * paragraph.h: don't forward declare ParagraphList.
3222 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3223 rather than ParagraphList.h. paragraph.h is still needed for the
3224 Paragraph::depth_type parameters.
3226 * textcursor.h: enable it to compile stand-alone in light of the
3229 * bufferview_funcs.C:
3241 * frontends/controllers/ControlParagraph.C:
3242 * frontends/controllers/ControlTabular.C:
3243 * insets/insetmarginal.C:
3244 * insets/insetminipage.C:
3245 * insets/insetnote.C:
3246 * insets/insetoptarg.C: add header files needed to compile again.
3248 2003-09-06 Angus Leeming <leeming@lyx.org>
3250 * RowList_fwd.h: new file, forward-declaring Row rather than
3251 #including lyxrow.h.
3256 * insets/insettext.h: use it instead of RowList.h
3258 * bufferview_funcs.C:
3265 * text3.C: #include "RowList.h".
3267 2003-09-05 Angus Leeming <leeming@lyx.org>
3269 * factory.C (createInset):
3270 * vspace.C (c-tor): replace sscanf call with an istringstream.
3271 * ispell.C: re-add missing HP/UX headers.
3272 * lyxserver.C: re-add missing os2 headers.
3274 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3283 * text3.C: re-add missing system headers, needed for 2.95.2.
3285 2003-09-05 Angus Leeming <leeming@lyx.org>
3287 Changes most place everywhere due to the removal of using directives
3288 from support/std_sstream.h.
3290 2003-09-05 Angus Leeming <leeming@lyx.org>
3292 Replace LString.h with support/std_string.h,
3293 Lsstream.h with support/std_sstream.h,
3294 support/LIstream.h with support/std_istream.h,
3295 support/LOstream.h with support/std_ostream.h.
3297 Changes resulting throughout the tree.
3299 2003-09-05 Angus Leeming <leeming@lyx.org>
3301 * sgml.h: ensure that the header file can be compiled stand-alone.
3302 * *.C: strip out redundant #includes. (320 in total.)
3304 2003-09-04 Angus Leeming <leeming@lyx.org>
3306 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3307 here (from getPackages).
3309 * debug.[Ch]: add a new EXTERNAL tag.
3311 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3313 * text2.C (cursorEnd): simplify
3315 (getColumnNearX): adjust
3317 * text.C (computeBidiTables): adjust
3320 * rowpainter.C (paintChars): adjust
3321 (paintSelection): adjust
3322 (paintChangeBar): adjust
3325 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3327 (numberOfSeparators): adjust
3329 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3335 * text3.C: Restricts the mouse click functionality
3336 of insets like bibtex, include, toc and floatlist to the visible
3337 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3338 up the dialogs. Cursor has to be in front of the inset (i.e.
3339 start of row) for this to function.
3341 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3343 * bufferview_funcs.C (currentState): output row information
3345 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3347 * bufferview_funcs.C (currentState): output paragraph position
3349 2003-09-04 Angus Leeming <leeming@lyx.org>
3351 * FloatList.h: move out #include "Floating.h".
3352 * LaTeX.h: move out #include "DepTable.h".
3353 * LyXAction.h: move out #include "funcrequest.h".
3354 * buffer.h: move out #include "author.h", "iterators.h".
3355 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3356 * lyx_main.h: move out #include "errorlist.h".
3357 * lyxfunc.h: move out #include "FuncStatus.h".
3358 * lyxtext: move out #include "lyxcursor.h".
3359 * paragraph_pimpl.h: move out #include "counters.h".
3361 2003-09-03 Angus Leeming <leeming@lyx.org>
3363 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3364 preamble_snippets list, enabling us to add snippets to the preamble
3365 only if the snippet was not there already.
3367 2003-09-04 Angus Leeming <leeming@lyx.org>
3369 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3371 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3373 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3376 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3378 * BranchList.C: point fix, earlier forgotten
3380 2003-09-02 Angus Leeming <leeming@lyx.org>
3382 * box.C (contains): renamed from 'contained' after a fantastic
3385 2003-09-02 John Levon <levon@movementarian.org>
3391 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3393 2003-09-02 John Levon <levon@movementarian.org>
3395 * text2.C: simplification of cursorEnd(), including partial
3398 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3400 * buffer.C (readFile): add a space
3402 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3404 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3406 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3408 * buffer.C (readFile): new function, take a filename and a
3409 ParagraphList::iterator
3411 (readFile): adjust, make it private. don't use setStream, make
3412 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3413 always contain the filename.
3415 * BufferView.C (insertLyXFile): simplify and make it work for
3418 2003-08-30 John Levon <levon@movementarian.org>
3420 * Makefile.am: fix dist (from Kayvan)
3422 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3424 * most files: change to use const Buffer refs
3426 2003-08-27 André Pönitz <poenitz@gmx.net>
3428 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3429 on top of ownerPar().
3431 2003-08-27 John Levon <levon@movementarian.org>
3433 * funcrequest.C: properly initialise POD members
3435 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3437 * lyxtext.h (top_y): move top_y from here
3442 * BufferView_pimpl.[Ch]: to here
3443 * frontends/screen.C:
3444 * insets/insettabular.C:
3445 * insets/insettext.C: adjust
3446 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3448 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3451 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3453 2003-08-26 André Pönitz <poenitz@gmx.net>
3455 * paragraph_func.[Ch] (outerPar): new function
3458 * paragraph_funcs.C:
3459 * paragraph_funcs.h:
3460 * paragraph_pimpl.C:
3461 * text2.C: remove Inset::par_owner
3463 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3468 * text2.C: eliminates the needFullRow/display() stuff
3469 altogether, putting the logic in metrics/draw in the insets.
3471 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3473 * text2.C (redoParagraphInternal, redoParagraphs):
3474 * text.C (redoParagraph): add a call to updateRowPositions at the
3475 end of each 'metrics-like' call. Remove all others.
3476 (getRow): remove the 'y-computing' version.
3477 (getRowNearY): do not compute nor return the real y. Solve the
3478 'y < 0' problem and simplify.
3480 2003-08-22 Angus Leeming <leeming@lyx.org>
3482 * *.[Ch]: clean-up of licence and author blurbs.
3483 Also move config.h out of a few .h files and into a few .C files.
3485 2003-08-22 André Pönitz <poenitz@gmx.net>
3487 * lyxrow.[Ch]: add x_ and *fill_ members
3492 * text2.C: adjust/remove prepareToPrint() calls
3494 2003-08-22 André Pönitz <poenitz@gmx.net>
3496 * lyxrow.[Ch]: add end_ member
3498 * lyxrow_funcs.C: use LyXRow::end_
3500 * lyxtext.h (singleWidth): add LyXFont parameter
3503 * text2.C: adjust LyXText::singleWidth() calls
3505 * text.C (redoParagraph): simplify row breaking logic
3508 2003-08-19 André Pönitz <poenitz@gmx.net>
3510 * funcrequest.C: initialize button_ member
3513 * rowpainter.[Ch]: interface consolidation
3515 2003-08-18 André Pönitz <poenitz@gmx.net>
3518 * BufferView_pimpl.C:
3520 * paragraph_funcs.C:
3522 * text3.C: remove LyXScreen::draw() and fitCursor calls
3524 * BranchList.h: remove spurious semicolons
3526 * MenuBackend.C: fix branchlist related crash
3528 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3536 * bufferparams.[Ch]:
3540 * text3.C: implements the 'branch inset'
3541 idea. This allows the output of various versions of a document
3542 from a single source version, selectively outputing or suppressing
3543 output of parts of the text.
3544 This implementation contains a 'branch list editor' in a separate
3545 tab of the document settings dialog. Branches are user definable
3546 and have a "display colour" to distinguish them on-screen.
3548 ColorHandler was somewhat cleaned up.
3549 (1) make possible a dynamically growing LColor list by allowing
3550 the graphic context cache to grow along (vector);
3551 (2) eliminate an IMHO unnecessary step in colour allocation.
3553 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3555 * BufferView_pimpl.C: compile fix
3557 2003-08-15 André Pönitz <poenitz@gmx.net>
3559 * rowpainter.C: remove extra metrics calls
3561 * lyxtext.h: merge the two constructors into a single one,
3562 pass reference to owner's par list
3564 * BufferView_pimpl.C:
3568 2003-08-15 André Pönitz <poenitz@gmx.net>
3570 * lyxrow_funcs.[Ch]:
3573 * paragraph_funcs.C:
3578 * text_funcs.C: split LyXText::rowlist_ into individual
3579 Paragraph::rows_ chunks
3582 * BufferView_pimpl.[Ch]:
3585 * text3.C: remove toggleSelection()
3587 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3589 * bufferlist.C: beautify two alerts (shorter text of buttons)
3590 * buffer.C: Remove redundant ' ' from message
3592 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3593 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3594 rename VALIGN_CENTER to VALIGN_MIDDLE
3596 2003-08-11 André Pönitz <poenitz@gmx.net>
3598 * lyxtext.h (getPar):
3599 * text.C: new function
3601 2003-08-11 André Pönitz <poenitz@gmx.net>
3604 * tracer.[Ch]: remove unneeded files
3606 * InsetList.[Ch]: remove resizeInsetsLyXText()
3611 * text3.C: merge insertParagraphs() and appendParagraph()
3612 remove breakAgain(), update()
3614 * BufferView_pimpl.[Ch]:
3615 * bufferview_funcs.[Ch]:
3619 * tabular.C: adjust after text & InsetList changes.
3621 2003-08-08 André Pönitz <poenitz@gmx.net>
3623 * text.C (insertChar, backspace): replace rowlist fiddling
3624 with rebreak of full par
3627 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3628 checkParagraph, updateInset): removed
3630 2003-08-07 André Pönitz <poenitz@gmx.net>
3633 * text3.C: merge some LFUN handlers, remove dead code
3635 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3637 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3639 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3641 * text2.C (DEPM): fix part of bug 1255 and 1256
3643 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3645 * BufferView_pimpl.C (workAreaDispatch): change to use
3646 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3647 that are no mouse related.
3649 2003-08-05 André Pönitz <poenitz@gmx.net>
3652 * BufferView_pimpl.[Ch]:
3653 * bufferview_funcs.C:
3655 * text3.C: rip out "deep update"
3657 * textcursor.[Ch] (last_sel_cursor): remove unused member
3659 2003-08-04 André Pönitz <poenitz@gmx.net>
3662 * BufferView_pimpl.[Ch]:
3663 * ParagraphParameters.C:
3664 * bufferview_funcs.C:
3670 * text3.C: replace "complicated" BufferView::update(...) calls with
3673 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3675 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3677 * Makefile.am (lyx_SOURCES): add paper.h
3679 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3681 * Makefile.am: move things around so that both lyx-qt and
3682 lyx-xforms can be built (according to --with-frontend). Then lyx
3683 is a symbolic link to lyx-[firstfrontend]
3685 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3687 * Always use std::endl with lyxerr
3689 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3691 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3693 2003-08-01 André Pönitz <poenitz@gmx.net>
3696 * BufferView_pimpl.[Ch]:
3698 * text3.C: merge BufferView::repaint() and BufferView::update()
3700 2003-08-01 José Matos <jamatos@lyx.org>
3702 * buffer.[Ch]: file_format is no longer a buffer data element.
3704 2003-08-01 André Pönitz <poenitz@gmx.net>
3709 * text2.C: make redoParagraph more independent of current cursor
3711 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3713 * text2.C: remove unneeded members
3715 2003-07-30 André Pönitz <poenitz@gmx.net>
3717 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3719 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3720 create a single function...
3722 * paragraph_funcs.C (moveItem): ... here.
3725 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3727 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3729 * LColor.[Ch]: Add comment and greyedout logical colors.
3731 2003-07-30 André Pönitz <poenitz@gmx.net>
3733 * tabular.C: don't use Assert too heavily. This crashes where it
3736 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3738 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3739 is disabled (bug 1232)
3741 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3743 * factory.C: limited 'arg' scope
3745 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3747 * factory.C: fixed Note submenu issues
3749 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3751 * factory.C: submenu for Note/Comment/Greyedout
3753 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3756 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3758 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3761 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3762 greyedout. Patch provided by Jürgen Spitzmüller.
3764 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3766 * kbmap.C (read): fix error message when reading bind files
3768 2003-07-29 Angus Leeming <leeming@lyx.org>
3770 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3771 certainly does not do what it purports to do. I am doing it, and
3772 us, a favour by killing it.
3774 2003-07-28 José Matos <jamatos@lyx.org>
3776 * buffer.C (readBody, do_writeFile):
3777 * paragraph.C(readParagraph): \end_document replaces \the_end.
3779 2003-07-29 André Pönitz <poenitz@gmx.net>
3782 * BufferView_pimpl.[Ch]:
3786 * textcursor.[Ch]: remove toggleToggle & Co
3788 2003-07-28 José Matos <jamatos@fep.up.pt>
3790 * buffer.C (readParagraph):
3791 * params_func (readParToken, readParagraph):
3792 * paragraph.C (write): \layout -> \begin_layout.
3794 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3796 * lyxlex_pimpl.C (setFile): clean up slightly.
3798 * bufferparams.h: add compressed var
3800 * buffer_funcs.C (readFile): adjust for LyXLex change
3801 (newFile): ditto + simplify
3803 * buffer.C (writeFile): handle writing of compressed files
3805 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3806 Check if the file is compressed and set a bufferparm if so.
3808 * Makefile.am (lyx_LDADD): remove explicit -lz
3810 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3812 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3813 makeDocBookFile): put the real LyX version in the first line of
3817 * version.C.in: remove lyx_docversion
3819 * tabular.C (write_attribute): add a template-based version to
3820 write enums properly
3822 2003-07-28 André Pönitz <poenitz@gmx.net>
3827 * text3.C: use doubles again for x-coordinates. They are needed.
3829 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3831 * messages.C (getLocaleDir): use lyx_localedir()
3833 * lyxlex_pimpl.C (setFile): compress stuff
3835 * buffer.C (writeFile): add some compression stuff
3836 (do_writeFile): new func, dont call expliti close... will this
3839 * Makefile.am (lyx_LDADD): add -lz
3841 2003-07-28 José Matos <jamatos@fep.up.pt>
3843 * buffer.C: increment file format.
3844 * paragraph_funcs (readParagraph, readParToken):
3845 * paragraph.C (readParagraph): add \end_layout.
3847 2003-07-27 Angus Leeming <leeming@lyx.org>
3849 * Makefile.am: remove special casing for configure-time setting of
3850 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3852 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3853 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3855 2003-07-26 André Pönitz <poenitz@gmx.net>
3857 * paragraph_func.[Ch]:
3858 * paragraph.C (realizeFont): inline it whereever it is used
3863 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3866 2003-07-26 André Pönitz <poenitz@gmx.net>
3870 * text2.C: get rid of LyXText::need_break_row
3872 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3874 * toc.[Ch]: put namespace toc inside namespace lyx
3876 * MenuBackend.C (expandToc2): adjust for lyx::toc
3879 * lyxfunc.C (dispatch): adjust for lyx::find
3881 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3882 lyx::find instead. Reorganize a bit.
3883 (LyXReplace): rename to replace
3884 (LyXFind): rename to find
3886 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3889 2003-07-26 André Pönitz <poenitz@gmx.net>
3891 * text.C (setHeightOfRow): restrict scope of temporary variable
3893 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3894 code (never has been used?)
3896 2003-07-27 Asger Alstrup <alstrup@local>
3898 * text.C (fill): Optimise algorithm to exploit that we can reuse
3899 the LyXFont for many characters.
3900 (setHeightOfRow): Same thing.
3901 (rowBreakPoint): Same thing.
3903 2003-07-26 Asger Alstrup <alstrup@local>
3905 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3907 * text.C (singleWidth): Spurious font copying in hot-spot
3908 singleWidth avoided. Reorder tests for arabic for efficiency.
3910 * text.C (fill): handle empty paragraphs better.
3912 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3915 * encoding.h: add includes
3917 * lyxrc.C: remove reading of bind files
3919 * lyx_main.C (init): setup bindings and menus only if we have a
3922 * kbmap.C (read): new method. Do the actual reading of bind
3925 * converter.C (dvipdfm_options):
3928 (output): adapt PAPER_* enums.
3930 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3932 * bufferparams.h: remove paper-related enums from there
3934 * paper.h: New file. A trivial header file to hold paper-related
3935 enums. It should later expand to contain many paper-related
3938 * lyxrc.C: declare extern displayTranslator
3940 2003-07-27 José Matos <jamatos@fep.up.pt>
3942 * tabular.[Ch] (linuxdoc): add support for tables and figures
3945 2003-07-27 José Matos <jamatos@fep.up.pt>
3947 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3948 consistency in both functions.
3949 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3951 2003-07-26 Asger Alstrup <alstrup@local>
3953 * rowpainter.C (paintRows): Change algorithm to work directly on
3954 the insets rather than asking every character in the document
3955 whether its an inset.
3957 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3959 * buffer.C (openFileWrite): factorize some code
3961 2003-07-26 Angus Leeming <leeming@lyx.org>
3964 * lyx_main.[Ch]: replace occurances of system_tempdir with
3967 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3969 * rename Inset to InsetOld
3971 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3973 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3974 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3975 which I think is a bit clearer. EDIT is gone, since it was
3976 premature optimisation, and broken for mathed anyway.
3977 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3978 with cursor positioning in insets as well (math insets still do not
3979 work, but that's a different story anyway.) It mysteriously
3980 crashes sometimes with undo in the first paragraph, but I'm fairly
3981 confident that this is a compiler bug.
3983 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3985 * paragraph.C (Paragraph): adjust for new clone return type
3987 (copyIntoMinibuffer): ditto
3989 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3991 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3992 by not having a special case, and always doing a full rebreak of
3993 the document after undo.
3995 2003-07-23 Angus Leeming <leeming@lyx.org>
3997 * factory.C (createInset): InsetExternal::setParams now takes a
4000 2003-07-23 Angus Leeming <leeming@lyx.org>
4002 * factory.C (createInset): changed interface to the external and
4003 graphics mailers' string2params functions.
4005 2003-07-23 Angus Leeming <leeming@lyx.org>
4007 * factory.C (createInset): pass a
4008 Buffer const * parameter to InsetExternalMailer's string2params.
4010 2003-07-22 John Levon <levon@movementarian.org>
4012 * Thesaurus.h: include the right aiksaurus header
4014 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4016 * MenuBackend.C (expand): check menu shortcuts unconditionally
4018 2003-07-21 Angus Leeming <leeming@lyx.org>
4020 * factory.C (createInset): pass a
4021 buffer_path parameter to InsetGraphicsMailer's string2params.
4023 2003-07-21 Angus Leeming <leeming@lyx.org>
4025 * BufferView_pimpl.C (buffer):
4028 * lyxfunc.C (dispatch):
4029 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4030 rather than the grfx shortcut.
4032 2003-07-21 André Pönitz <poenitz@gmx.net>
4034 * rowpainter.C: remove unused variables
4037 * tabular_funcs.h: move to tabular.C
4038 * Makefile.am: adjust
4040 * tabular.[Ch]: basic optical cleaning
4042 * author.h: pass references, not values
4044 2003-07-18 André Pönitz <poenitz@gmx.net>
4052 * text3.C: two-phase drawing for InsetText and InsetTabular
4053 some float -> int changes.
4055 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4057 * lyx_main.C: fix the fix
4059 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4061 * lyx_main.C: fix a crash in batch mode if no files specified
4064 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4066 * format.[Ch] (papersize): moved to BufferParams
4067 * converter.[Ch] (dvips_options): moved to BufferParams
4068 (dvipdfm_options): moved to anon namespace
4069 * bufferparams.[Ch]: added above functions.
4071 2003-07-17 André Pönitz <poenitz@gmx.net>
4075 * text2.C: don't call inset->update() anymore
4077 * metricsinfo.[Ch]: add convenience constructor
4079 2003-07-16 André Pönitz <poenitz@gmx.net>
4084 * text2.C: replace the LyXCursor::irow_ member with
4085 on-demand computation of the value
4087 2003-07-16 John Levon <levon@movementarian.org>
4089 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4091 2003-07-15 André Pönitz <poenitz@gmx.net>
4094 * text2.C: remove no more needed refresh_row
4096 2003-07-15 André Pönitz <poenitz@gmx.net>
4101 * text3.C: refresh_status tristate -> need_update bool
4103 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4105 * lyxtext.h (init): remove reinit argument (act as if always true)
4106 * text2.C: adjust to that
4108 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4110 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4111 * text3.C: use it to delete selections in some cases
4112 (bugs 441, 673, 702, 954).
4114 2003-07-14 André Pönitz <poenitz@gmx.net>
4116 * rowpainter.[Ch]: reduce interface
4118 2003-07-14 André Pönitz <poenitz@gmx.net>
4120 * BufferView_pimpl.C:
4121 * text2.C: adjust after removing unused BufferView * argument
4123 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4125 * text2.C (init): fix a crash fired on resize
4127 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4129 * buffer.[Ch]: added new closing signal
4130 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4131 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4132 BufferView::Pimpl via the closing the signal
4134 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4136 * buffer.[Ch]: take out all bv-related from buffer
4138 * BufferView_pimpl.[Ch]: connect to new signals
4139 * CutAndPaste.C: removed useless asserts
4140 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4143 * lyxfunc.C: moved view-related funciontality from vc here
4144 * paragraph.C: removed outdated comments
4147 2003-07-10 André Pönitz <poenitz@gmx.net>
4149 * BufferView_pimpl.C:
4153 * text2.C: remove InsetText::InnerCache, clean up consequences
4155 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4157 * ispell.C: fix two typos in error messages
4159 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4161 * Extend Note inset to other forms of annotation like Comment
4162 and Greyedout. Right button click gives dialog.
4164 Files modified or added (+):
4168 * ControlNote.[Ch] +
4170 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4171 frontends/controllers
4175 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4177 * aspell.C: add missing namespace lyx::support
4179 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4181 * BufferView.[Ch] (newFile): Add
4182 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4183 * LaTeX.[Ch] (message): added this signal and use it
4184 * buffer.[Ch] (busy, message): added these signals and use them
4185 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4189 * importer.C: use buffer signals instead of direct bv calling
4190 * lyx_cb.[Ch] (ShowMessage): removed
4193 * paragraph_funcs.C:
4194 * text2.C: use buffer signals
4196 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4198 * introduce namespace lyx::graphics
4200 2003-07-02 André Pönitz <poenitz@gmx.net>
4202 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4204 2003-07-01 André Pönitz <poenitz@gmx.net>
4211 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4212 text*.C to text_func.C
4214 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4216 * introduce namespace lyx::support
4218 2003-06-30 André Pönitz <poenitz@gmx.net>
4223 * text.C: re-enable --with-included-string
4225 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4227 * textcursor.C: add <config.h>
4229 * text.C (getWord): remove const from word_location arg
4231 * lyxvc.C (getLogFile): fix const type order
4233 * lyxtext.h: remove const from word_location arg, add arg name
4235 * lyxlayout.h: currect type on labeltype.
4237 * importer.C: correct \file
4239 * converter.C (intToFormat): use std:: on ret val, ws changes
4241 * bufferlist.h: correct \file
4243 * buffer.C (makeLinuxDocFile): fix const type order
4244 (makeDocBookFile): ditto
4245 (fillWithBibKeys): use std:: on stdlib args.
4247 * CutAndPaste.C: fix authors.
4248 (availableSelections): use std:: on return vector
4250 2003-06-27 André Pönitz <poenitz@gmx.net>
4252 * BufferView_pimpl.C:
4253 * bufferview_funcs.C:
4261 * text3.C: remove LyXCursor::row_ member
4264 * text.C: rename fullRebreak() to partialRebreak() and implement
4265 a fullRebreak() that really bereks fully
4267 * textcursor.h: new struct for cursor-related data
4269 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4271 * lyx_main.C (LyX): get full path of document loaded on the
4274 2003-06-26 André Pönitz <poenitz@gmx.net>
4276 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4277 remove unused/broken operator>,<,>=.
4279 * text.C: remove only use of broken operator<= in an Assert().
4281 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4283 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4284 moved errorlist_.clear to showErrorList
4286 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4288 * converter.C (scanLog, runLaTeX):
4289 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4290 move the bv->showErrorList call to the callers
4291 * lyxfunc.C: i.e. here...
4293 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4294 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4295 namespace, the second to...
4296 * buffer_funcs (BufferFormat, parseErrors): added
4297 * errorlist.C (ErrorList(TeXErrors const &)): removed
4299 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4301 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4303 2003-06-24 "Garst R. Reese" <reese@isn.net>
4307 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4309 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4311 * version.C.in: change docversion to 1.4
4313 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4315 * buffer.C: fix a bug just introduced
4317 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4319 * buffer.[Ch]: added the parseError signal and use it, removed
4321 * BufferView.[Ch] (addError): moved to ...
4322 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4323 to the Buffer::parseError signal to catch (guess what) parse errors
4324 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4326 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4328 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4329 ability to create a buffer and to return an existing one from
4330 the list. Moved these functions to...
4331 * buffer_funcs.[Ch]: added
4332 * BufferView.[Ch] (loadLyXFile): added
4333 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4334 job removed from bufferlist::loadLyXFile.
4335 * buffer.C (setReadOnly): make it work without view
4336 (i.e added an if (users))
4338 2003-06-19 Angus Leeming <leeming@lyx.org>
4341 * LyXAction.C (init):
4342 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4343 with LFUN_DIALOG_SHOW <name> <data>.
4345 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4347 * CutAndPaste.C (availableSelections): small compilation fix for
4348 ancient (gcc 2.9x) compilers
4350 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4352 * text3.C (cursorNext): add tmp var
4354 * text2.C (updateCounters): for function calling out of for clause
4355 (replaceSelectionWithString): ditto
4356 (insertStringAsParagraphs): ditto
4357 (getColumnNearX): add tmp var
4358 (setCursorFromCoordinates): add tmp var
4359 (cursorDownParagraph): add tmp var
4360 (deleteEmptyParagraphMechanism): add tmp var
4362 * text.C (insertChar): add tmp var
4364 * rowpainter.C (paintDepthBar): add tmp var
4366 * CutAndPaste.C (availableSelections): potentially check all
4367 paragraphs in a cut to fill the shown strings.
4369 2003-06-18 André Pönitz <poenitz@gmx.net>
4371 * kbmap.[Ch]: use vector<> instead of list<>
4373 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4375 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4376 pasteSelection with index
4378 * text2.C (pasteSelection): modify, call pasteSelection with index
4380 * paragraph.C (asString): reimplement version with no interval to
4381 call the one with interval.
4383 * lyxtext.h: add index arg to pasteSelection
4385 * MenuBackend.C (MenuItem): handle PasteRecent
4386 (Menu::read::Menutags): add md_pasterecent
4388 (expandPasteRecent): new function
4391 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4393 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4395 (availableSelections): new function
4397 2003-06-17 Angus Leeming <leeming@lyx.org>
4399 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4401 2003-06-17 Angus Leeming <leeming@lyx.org>
4404 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4406 * lyxfunc.C (dispatch): invoke it.
4408 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4410 * iterators.C (operator++, ParPosition): reintroduce some
4411 const_cast for the benefit of older compilers.
4413 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4415 * text3.C (dispatch): do not modify clipboard when doing
4416 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4417 LFUN_DELETE_SKIP on a selection selection
4419 2003-06-16 André Pönitz <poenitz@gmx.net>
4425 * tabular.[Ch]: IU of clone() and getLabelList();
4427 2003-06-13 André Pönitz <poenitz@gmx.net>
4429 * tabular.h: compactification
4431 2003-06-12 André Pönitz <poenitz@gmx.net>
4435 * tabular_funcs.h: some renaming plus whitespace
4437 2003-06-12 André Pönitz <poenitz@gmx.net>
4440 * BufferView_pimpl.C:
4446 * toc.C: Return a Paragraph & for ParIterator::operator*()
4448 2003-06-11 John Levon <levon@movementarian.org>
4452 * ToolbarBackend.C: add "Toolbars" section and
4455 2003-06-10 Angus Leeming <leeming@lyx.org>
4458 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4460 * lyxfunc.C (dispatch): invoke it.
4462 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4464 * main.C: protect <ios> with HAVE_IOS
4465 (main): protect sync_with_stdio with HAVE_IOS
4467 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4469 * text2.C (cutSelection): adjust
4470 (pasteSelection): adjust
4472 * messages.C: handle get of empty string
4474 * main.C (main): use sync_with_stdio(false)
4476 * lyxfunc.C (dispatch): adjust
4478 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4479 (WriteAs): remove unneeded BufferView arg.
4481 * bufferparams.h: use correct types on papersize, papersize2 and
4484 * bufferparams.C (readToken): adjust for type
4485 (writeLaTeX): add missing cases to switch.
4487 * bufferlist.C (quitWriteBuffer): adjust
4490 * buffer.C (asciiParagraph): remove some commented code.
4492 * CutAndPaste.C: remove current_view extern variable.
4493 (cutSelection): add BufferParams arg.
4494 (eraseSelection): add BufferParams arg.
4495 (pasteSelection): add Buffer const & arg
4497 2003-06-07 John Levon <levon@movementarian.org>
4500 * paragraph_funcs.C:
4501 * paragraph_pimpl.C:
4505 * paragraph.C: allow InsetERT to freely space lines,
4506 and some consolidation of code
4508 2003-06-06 José Matos <jamatos@fep.up.pt>
4510 * buffer.C (makeDocBookFile): fix bug #821
4512 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4514 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4516 2003-06-04 Angus Leeming <leeming@lyx.org>
4518 * buffer.C: bump format to 224.
4520 2003-06-05 André Pönitz <poenitz@gmx.net>
4522 * text2.C (redoParagraphs): remove two const_cast<>
4524 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4526 * ParagraphList.h: remove last remnants of NO_STD_LIST
4528 2003-06-03 Angus Leeming <leeming@lyx.org>
4530 * factory.C (createInset): small change to the way InsetExternal's params
4533 2003-06-04 André Pönitz <poenitz@gmx.net>
4535 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4537 * paragraph_pimpl.h:
4538 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4540 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4542 * undo_funcs.C: make some simple cases of undo work again
4544 2003-06-03 John Levon <levon@movementarian.org>
4546 * ispell.C: HPUX doesn't have sys/select.h
4549 2003-06-03 John Levon <levon@movementarian.org>
4551 * CutAndPaste.C: update tabular and include inset
4556 * paragraph.C: remove owningBuffer(), don't pass Buffer
4559 * factory.C: insetGraphicsParams changed
4561 2003-06-02 John Levon <levon@movementarian.org>
4567 * text3.C: remove insetparent
4569 2003-06-02 John Levon <levon@movementarian.org>
4572 * buffer.C: fix inset_iterator.end(), move out of line
4575 2003-06-01 John Levon <levon@movementarian.org>
4577 * text3.C: use a proper cut/paste when doing inset
4578 insert (from Jürgen Spitzmüller)
4580 2003-06-01 John Levon <levon@movementarian.org>
4582 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4584 2003-05-30 André Pönitz <poenitz@gmx.net>
4586 * rowpainter.C: unify second drawing phase
4588 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4590 * trans_mgr.C: remove one case of current_view
4592 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4594 * paragraph_funcs.h: remove paragraph.h include
4596 * paragraph.h: delete NO_STD_LIST stuff
4598 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4600 * buffer.h: remove paragraph.h include
4602 * ParagraphList.C: delete file
4604 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4606 * toc.C (getTocList): adjust
4608 * paragraph_pimpl.C (validate): adjust
4610 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4612 * paragraph.C (Paragraph): adjust
4613 (getPositionOfInset): use const_iterator, adjust
4614 (bibitem): use const_iterator, adjust
4615 (setInsetOwner): adjust
4617 * iterators.C (operator++): adjust
4619 * InsetList.[Ch]: Replace selfmade iterator with standard
4620 vector::iterator also introduce const_iterator. Remove getPos,
4621 getInset and setInset from InsetTable. Adjust accordingly.
4623 * BufferView.C (lockInset): adjust
4624 (ChangeInsets): adjust
4626 * tabular.[Ch]: delete commented same_id functions
4628 2003-05-28 John Levon <levon@movementarian.org>
4630 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4632 2003-05-28 André Pönitz <poenitz@gmx.net>
4634 * metricsinfo.[Ch]: remove 'fullredraw' member
4636 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4638 * lyxtextclass.C (operator): remove caching.
4640 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4644 * text2.C (cursorBottom): adjust
4645 (setCounter): use ParagraphList::find, adjust
4647 * text.C (workWidth): use ParagraphList::find, adjust
4649 * lyxcursor.C (LyXCursor): adjust
4651 * buffer.C (inset_iterator): adjust
4653 * ParagraphList.h: make iterator(value_type) private, make
4654 ParagraphList a friend of iterator.
4656 * ParagraphList.C (find): new function
4658 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4660 2003-05-27 André Pönitz <poenitz@gmx.net>
4662 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4664 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4666 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4668 2003-05-26 John Levon <levon@movementarian.org>
4670 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4672 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4674 * remove same_id from function signatures, adjust.
4676 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4678 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4680 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4682 * paragraph.C (Paragraph): get rid of same_ids parameter
4684 * ParagraphList.C (insert): adjust
4687 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4689 * paragraph_funcs.C (breakParagraph): adjust
4690 (breakParagraphConservative): adjust
4692 * buffer.C (readParagraph): adjust
4694 * ParagraphList.C (insert): take a reference instead of a pointer
4697 * paragraph.[Ch] (id): new function
4699 * bufferlist.C (newFile): adjust
4701 * ParagraphList.C (ParagraphList): adjust
4703 (push_back): take a reference instead of a pointer.
4705 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4707 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4710 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4711 set else use old code.
4713 * ParagraphList.C: remove all NO_NEXT code and only compile this
4714 code of NO_STD_LIST is set.
4716 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4718 * BufferView_pimpl.C:
4728 * graphics/GraphicsConverter.C:
4729 * graphics/PreviewLoader.C: header adjustment
4731 2003-05-23 Angus Leeming <leeming@lyx.org>
4733 * LaTeXFeatures.[Ch] (useBabel): new method.
4734 * bufferparams.C (writeLaTeX): use it.
4736 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4738 * ParagraphList.h (set): remove unused function.
4740 2003-05-23 André Pönitz <poenitz@gmx.net>
4743 * BufferView_pimpl.C:
4747 * undo_funcs.C: setUndo reworked
4749 * iterators.[Ch]: add access to topmost ParagraphList
4751 * lyxtext.[Ch] (workWidth): add a const
4753 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4755 * texrow.[Ch] (increasePos): remove function
4756 * exporter.C (export): removed unused var and outdated comment
4758 2003-05-23 Angus Leeming <leeming@lyx.org>
4760 * latexrunparams.h: rename fragile as moving_arg.
4761 * paragraph.C (simpleTeXOnePar): ditto.
4762 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4764 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4766 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4768 (textUndoOrRedo): comment out a currently unused var.
4770 * paragraph.h (NO_NEXT): enable NO_NEXT
4772 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4774 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4776 * exporter.C (Export): adjust for removeAutoInsets removal.
4778 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4780 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4782 * BufferView.[Ch] (removeAutoInsets): delete function
4784 2003-05-22 Angus Leeming <leeming@lyx.org>
4786 * latexrunparams.h: add a free_spacing variable.
4788 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4789 to pass moving_arg, as the data is stored in runparams.fragile.
4791 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4792 to Inset::latexOptional or to simpleTeXOnePar.
4794 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4795 free_spacing arg to Inset::latexOptional.
4797 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4800 2003-05-22 Angus Leeming <leeming@lyx.org>
4802 * latexrunparams.h: add fragile and use_babel variables.
4804 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4805 * buffer.C (makeLaTeXFile): store this returned value in
4806 runparams.use_babel, thus passing it to the inset::latex methods.
4808 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4809 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4811 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4812 longer has a fragile arg, as it is stored in runparams.fragile.
4814 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4815 moving_arg parameter as the data is stored in runparams.fragile.
4817 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4818 a fragile parameter as the data is stored in runparams.fragile.
4820 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4822 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4824 2003-05-22 Angus Leeming <leeming@lyx.org>
4826 * latexrunparams.h: add a 'bool nice' which defaults to false.
4828 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4829 now encapsulated within runparams.
4831 * bufferlist.C (updateIncludedTeXfiles):
4832 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4834 2003-05-22 Angus Leeming <leeming@lyx.org>
4836 * latexrunparams.h: new file containing struct LatexRunParams.
4837 * Makefile.am: add new file.
4839 * LaTeX.[Ch] (c-tor, run):
4840 * buffer.[Ch] (makeLaTeXFile):
4841 * bufferlist.[Ch] (updateIncludedTeXfiles):
4842 * converter.C (convert, scanLog):
4843 * converter.[Ch] (runLaTeX):
4844 * exporter.C (Export):
4845 * paragraph.[Ch] (simpleTeXOnePar):
4846 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4847 * paragraph_funcs.[Ch] (latexParagraphs):
4848 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4849 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4850 pass around a LatexRunParams parameter.
4852 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4854 * paragraph.[Ch]: remove unused constructor
4856 * ParagraphList.C (erase): new function, taking two iterators
4858 2003-05-22 André Pönitz <poenitz@gmx.net>
4860 * undo_funcs.C: remove duplicated code
4862 * iterator.[Ch]: operator=
4864 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4866 * tabular.C (SetMultiColumn): ws changes
4868 * rowpainter.C (paintFirst): get rid of a ->previous
4870 * lyx_cb.C (getPossibleLabel): parlist simplification
4872 * BufferView.C (ChangeInsets): simplify slightly.
4874 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4876 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4877 * lfuns.h: new LFUN_SPACE
4878 * lyxfunc.C: protected space has a new lfun
4879 * paragraph_funcs.C: read new space insets
4881 * factory.C: handle new space insets
4883 2003-05-22 André Pönitz <poenitz@gmx.net>
4886 * BufferView_pimpl.C:
4889 * undo_funcs.C: return a ParIterator from getParFromID.
4891 * iterators.[Ch]: add two const's
4893 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4895 * toc.C (getTocList): adjust
4897 * iterators.[Ch]: rework for parlist
4899 * buffer.C (par_iterator_begin): adjust
4900 (par_iterator_end): adjust
4902 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4904 * BufferView.C (removeAutoInsets): adjust
4905 (ChangeInsets): adjust
4907 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4909 * text.C (top_y): fix bug 1110
4911 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4913 * errorlist.[Ch]: added
4916 * BufferView_pimpl.C:
4917 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4920 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4922 * Makefile.am: ensure that lyx is relinked upon changes to the
4923 various "convenience" libs.
4925 2003-05-20 Angus Leeming <leeming@lyx.org>
4927 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4928 files are compiled in alphabetical order again.
4930 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4932 2003-05-19 Angus Leeming <leeming@lyx.org>
4934 * gettext.[Ch]: remove "char const * _(char const *)".
4936 2003-05-19 André Pönitz <poenitz@gmx.net>
4938 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4947 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4949 2003-05-19 André Pönitz <poenitz@gmx.net>
4953 * lyxtextclass.[Ch]:
4955 * paragraph_funcs.[Ch]:
4957 * text3.C: more insetenv work
4959 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4961 * ParagraphParameters.C (params2string): small bug fixed
4963 2003-05-16 André Pönitz <poenitz@gmx.net>
4966 * bufferview_funcs.C: patch from Kornel Benko to prevent
4967 crash when _(...) is called twice in a statement
4969 2003-05-16 André Pönitz <poenitz@gmx.net>
4976 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4978 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4980 * lyx_main.C (init): remove spurious static_cast
4982 2003-05-14 André Pönitz <poenitz@gmx.net>
4984 * BufferView.C: fix format string
4986 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4988 * BufferView.[Ch] (insertErrors): removed
4989 * BufferView.[Ch] (showErrorList): added
4990 * buffer.C (runChkTeX):
4991 * converter.C (scanLog): call showErrorList instead of inserterrors
4993 2003-05-13 André Pönitz <poenitz@gmx.net>
4995 * BufferView_pimpl.C:
4997 * bufferview_func.C:
5004 * tabular_funcs.h: tostr() from its own header
5006 * ParagraphParameters.C:
5011 * text3.C: STRCONV()
5013 2003-05-12 André Pönitz <poenitz@gmx.net>
5016 * BufferView_pimpl.C:
5020 * ParagraphParameters.C:
5024 * bufferview_funcs.C:
5037 * paragraph_funcs.C:
5041 * text3.C: boost::format -> bformat all over the place
5044 2003-05-09 André Pönitz <poenitz@gmx.net>
5046 * LColor.[Ch]: Pimpl the #include <map> away
5048 2003-05-09 John Levon <levon@movementarian.org>
5050 * bufferlist.C: never remove emergency saves
5052 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5054 * Makefile.am: better lib building
5056 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5058 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5060 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5061 (simpleTeXSpecialChars): adjust
5062 (simpleTeXSpecialChars): adjust
5063 * paragraph.C (simpleTeXOnePar): adjust
5064 * buffer.C (makeLaTeXFile): adjust
5066 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5068 * text2.C (changeDepth): parlist cleanup
5069 (getColumnNearX): ditto
5071 * rowpainter.C (getLabelFont): parlist cleanup
5073 * bufferlist.C (newFile): parlist cleanup
5075 * CutAndPaste.C (eraseSelection): parlist cleanup
5077 * BufferView_pimpl.C (trackChanges): parlist cleanup
5080 * BufferView.C (lockInset): parlist cleanup.
5081 (ChangeInsets): ditto
5083 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5085 * CutAndPaste.h: Update file header.
5087 * CutAndPaste.C: Update file header.
5088 Store the parts cut out of the Document in a limited_stack.
5089 (copySelection): adjust
5090 (pasteSelection): new function, takes the index in the limited stack.
5091 (nrOfParagraphs): adjust
5092 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5093 simplify error inset insertion.
5094 (checkPastePossible): adjust
5096 2003-05-06 John Levon <levon@movementarian.org>
5098 * text2.C: don't cast wrap inset to float
5100 2003-05-05 André Pönitz <poenitz@gmx.net>
5103 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5105 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5106 few naked Paragraph *.
5108 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5110 * bufferparams.C: Output warning if a document with missing
5111 TeX document class is loaded
5112 * exporter.C: Disable TeX exports if the document class is missing
5115 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5116 isTeXClassAvailable()
5118 2003-05-03 John Levon <levon@movementarian.org>
5121 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5122 explicit cursor show/hide
5124 * BufferView_pimpl.h:
5125 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5126 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5128 * lyxfunc.C: hide cursor before dispatching.
5133 * text3.C: remove explicit cursor hides
5135 2003-05-02 André Pönitz <poenitz@gmx.net>
5137 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5140 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5143 * text2.C: tiny whitespace
5145 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5147 * undo_funcs.C: almost only ws changes.
5149 * ParagraphList.C (splice): just return if pl is empty.
5151 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5153 * ParagraphList.C (splice): new function.
5155 * CutAndPaste.C (pasteSelection): use it
5157 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5159 * CutAndPaste.C (pasteSelection): remove the last next and
5160 previous from this file.
5162 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5164 * CutAndPaste.C (pasteSelection): more clean up, user proper
5165 ParagraphList functions for pasteing.
5167 * ParagraphList.C (insert): new function, three arg insert
5169 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5171 * ParagraphList.C (insert): new function, three arg insert
5173 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5176 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5178 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5180 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5182 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5184 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5186 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5187 (copySelection): clean up a bit.
5188 (pasteSelection): use make_pair
5190 * ParagraphList.C (ParagraphList): implement copy constructor
5191 (operator=): implement, base on copy constructor.
5194 * paragraph.C (erase): return a bool
5196 * paragraph_pimpl.C (erasePos): remove function, move contents...
5197 (erase): ... here. Return a bool.
5198 (erase): call erase instead of erasePos.
5200 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5202 * ParagraphList.h: define PitPosPair
5203 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5204 ParagraphList, fix a bug on pasting multiple pars
5205 * text2.C: change interface to C&P
5207 2003-04-30 André Pönitz <poenitz@gmx.net>
5209 * undo_func.C: revert part of yesterday's patch 2
5211 2003-04-30 John Levon <levon@movementarian.org>
5213 * LColor.C: s/tabular/table/
5215 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5217 * text3.C (dispatch): do not convert iterator -> pointer
5218 * undo_funcs.C (setCursorParUndo): ditto
5219 * text_funcs.C (transposeChars): ditto
5221 * text2.C (setLayout): ws changes only
5223 * text.C (breakParagraph): do not convert iterator -> pointer
5225 (acceptChange): ditto
5226 (rejectChange): ditto
5231 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5234 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5236 * text3.C (gotoInset): YABG (yet another bad getChar)
5238 2003-04-29 André Pönitz <poenitz@gmx.net>
5240 * paragraph.h: make operator= private unimplemented as long as
5243 * ParagraphList.C: whitespace
5246 * paragraph_pimpl.[Ch]:
5247 * paragraph_funcs.C:
5249 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5252 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5254 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5256 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5257 * paragraph.[Ch] (erase):
5258 * paragraph_pimpl.[Ch] (erase): change return type and value
5259 * text2.C (cutSelection): some rework
5261 2003-04-28 John Levon <levon@movementarian.org>
5263 * bufferlist.C: changes for unsaved changes dialog
5265 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5267 * bufferlist.C (newFile): set language (messages_) for new
5270 * buffer.C (readFile): ws changes only.
5272 2003-04-28 André Pönitz <poenitz@gmx.net>
5277 * BufferView_pimpl.C:
5278 * BufferView.C: getParFromID related ParagraphList::iterator changes
5280 2003-04-28 André Pönitz <poenitz@gmx.net>
5282 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5285 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5287 * messages.C: remove one more localedir class variable.
5289 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5291 * messages.C (getLocaleDir): singleton generation function
5293 (Messages): add a default constructor.
5295 * main.C (main): do not setup localedir here, do not call
5298 * gettext.C (_): use it.
5299 (gettext_init): delete funciton
5301 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5303 * gettext.C (getLyXMessages): new singleton generating function.
5305 * buffer.C (updateDocLang): adjust
5307 * Makefile.am (messages.o): add target
5308 (main.o): remove target
5310 2003-04-27 John Levon <levon@movementarian.org>
5315 * lyxvc.C: specify cancel button in Alert::prompt
5317 2003-04-26 John Levon <levon@movementarian.org>
5322 * LyXAction.C: add LFUN_INSET_SETTINGS
5324 * lyxfunc.C: don't enable tabular-feature when there's
5325 just any locking inset
5327 2003-04-26 John Levon <levon@movementarian.org>
5329 * bufferlist.C: re-add Cancel to buffer close question
5331 * lyxfunc.C: fix import UI a bit
5333 2003-04-25 John Levon <levon@movementarian.org>
5335 * gettext.C: remove the broken asserts for now
5337 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5339 * messages.C: make case where setlocale cannot comply work better.
5341 * buffer.C (updateDocLang): new function
5342 (changeLanguage): use it
5345 * text2.C (setCounter): use B_ a bit.
5347 * lyxlayout.C (Read): be sure to trim the label strings.
5349 * messages.C (Messages): fix typo in comment
5351 * buffer.C (readFile): set message_ after file is loaded.
5352 (makeDocBookFile): remove double return
5353 (changeLanguage): reset message_ upon language change.
5354 (B_): new func, use this to get translated buffer strings.
5356 * main.C: add myself and Jean Marc as authors.
5358 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5360 * messages.[hC]: pimplify Messages, and three different pimpls to be
5361 used in different circumstances.
5363 * gettext.[Ch]: change for use with new message code.
5365 2003-04-24 André Pönitz <poenitz@gmx.net>
5367 * factory.C: support for eqref
5369 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5371 * messages.[Ch]: add missing char
5373 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5375 * messages.[Ch]: New files
5377 2003-04-18 John Levon <levon@movementarian.org>
5381 * BufferView_pimpl.C:
5385 * text2.C: remove layout-copy/paste (bug 778)
5387 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5389 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5391 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5393 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5394 if they succeed. Act accordingly.
5396 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5398 * text2.C (setCharFont): adjust
5399 (setCounter): adjust
5400 (insertStringAsLines): adjust
5402 * text.C (leftMargin): adjust
5403 (setHeightOfRow): adjust
5405 * rowpainter.C (paintFirst): adjust
5408 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5410 (isFirstInSequence): ditto
5411 (getEndLabel): ditto
5414 * paragraph.C (getParLanguage): comment out some hard stuff.
5416 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5418 (simpleDocBookOnePar): ditto
5419 (makeDocBookFile): use ParagraphList::iterator
5421 * CutAndPaste.C (pasteSelection): adjust
5423 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5425 * text2.C (getFont): adjust
5426 (getLayoutFont): adjust
5427 (getLabelFont): adjust
5429 * paragraph_funcs.C (TeXOnePar): adjust
5431 * buffer.C (simpleLinuxDocOnePar): adjust
5432 (simpleDocBookOnePar): adjust
5434 * CutAndPaste.C (pasteSelection): adjust
5436 * BufferView.C (getEncoding): adjust
5438 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5440 2003-04-16 John Levon <levon@movementarian.org>
5442 * lyxfind.C: use parlist stuff for search/changes
5444 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5446 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5448 * text2.C (deleteEmptyParagraphMechanism): adjust
5450 * text2.[Ch] (ownerParagraph): delete func (both of them
5452 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5454 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5456 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5458 * ParagraphList.C: prepare for NO_NEXT
5460 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5462 * text2.C (getFont): adjust
5463 (getLayoutFont): adjust
5464 (getLabelFont): adjust
5466 * paragraph.C (getFont): adjust
5467 (getLabelFont): adjust
5468 (getLayoutFont): adjust
5470 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5472 2003-04-15 John Levon <levon@movementarian.org>
5476 * lyx_main.C: handle Include in .ui files
5478 2003-04-15 John Levon <levon@movementarian.org>
5480 * MenuBackend.C: make the doc files length shorter
5483 * ToolbarBackend.C: handle toolbar placement flags,
5486 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5488 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5491 * paragraph_funcs.C (TeXOnePar): adjust
5493 * paragraph.C (getLabelFont): add outerfont arg, adjust
5494 (getLayoutFont): ditto
5495 (simpleTeXOnePar): adjust
5497 * paragraph_pimpl.C (realizeFont): delete func
5499 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5501 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5502 row argument, constify cur argument.
5504 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5506 * text2.C (getFont): adjust
5507 (getLayoutFont): adjust
5508 (getLabelFont): adjust
5510 * paragraph_funcs.C (TeXOnePar): adjust
5511 (outerFont): new func...
5512 (realizeFont): ...moved out from here, changed this to facilitate
5515 * paragraph.C (getFont): take outerfont as arg, adjust
5516 (simpleTeXOnePar): add outerfont arg, adjust
5518 * buffer.C (simpleLinuxDocOnePar): adjust
5519 (simpleDocBookOnePar): adjust
5521 * CutAndPaste.C (pasteSelection): adjust
5523 * BufferView.C (getEncoding): adjust
5525 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5527 * text2.C (setCharFont): adjust
5528 (setCounter): adjust
5530 * text.C (leftMargin): adjust
5531 (setHeightOfRow): adjust
5533 * rowpainter.C (paintFirst): adjust
5536 * paragraph_pimpl.C (realizeFont): adjust
5538 * paragraph.C (isFirstInSequence): move from here...
5539 * paragraph_funcs.C (isFirstInSequence): ...to here
5541 * paragraph.C (outerHook): move from here...
5542 * paragraph_funcs.C (outerHook): ...to here
5544 * paragraph.C (depthHook): move from here...
5545 * paragraph_funcs.C (depthHook): ...to here
5547 * paragraph.C (getEndLabel): move from here...
5548 * paragraph_funcs.C (getEndLabel): ...to here
5550 * text2.C (realizeFont): move from here...
5551 * paragraph_funcs.C (realizeFont): ...to here
5553 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5555 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5557 2003-04-14 Angus Leeming <leeming@lyx.org>
5559 * LColor.[Ch]: scrap LColor mathcursor.
5561 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5563 * lyxlex.[Ch] (text): delete function
5564 * trans.C (Load): adjust
5565 * paragraph_funcs.C (readParToken): adjust
5567 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5569 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5570 vector<char> instead of a char[].
5572 * lyxlex_pimpl.C (getString): adjust
5574 (lex): use getString
5578 * lyxlex.C (text): use pimpl_->getString()
5582 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5584 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5585 (makeFontEntriesLayoutSpecific): temp var for par.size()
5586 (setLayout): temp var for ownerParagraphs().end()
5587 (fullRebreak): temp var for rows().end()
5588 (selectionAsString): temp var for boost::next(startpit), realize
5589 that the while really is a regular for loop.
5590 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5591 setCursor in one place.
5592 (setParagraph): temp vr for ownerParagraphs().end()
5593 (updateCounters): make the while loop a for loop
5594 (cutSelection): temp var for ownerParagraphs().end()
5595 (updateInset): make the do {} while() a regular for loop
5596 (getCursorX): use temp vars
5597 (setCurrentFont): use temp vars
5598 (getColumnNearX): use temp vars
5600 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5602 * text.C (transformChar): use temp var for getChar
5603 (computeBidiTables): use temp var for row->par()
5604 (fill): move temp vars for row->par() and pit->layout() earlier in
5606 (labelFill): use temp var for row->par()
5607 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5608 asc and desc, realize that pit never changes and that firstpit is
5609 just a duplicate and not needed. Exchange rit->par() with pit in a
5611 (breakAgain): use a temp var for boost::next(rit)
5612 (breakAgainOneRow): ditto
5613 (breakParagraph): use a temp var for rows().begin()
5614 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5615 (cursorRightOneWord): use temp var for cursor.par() and
5616 cursor.pos(), remove usage of tmpcursor.
5617 (cursorLeftOneWord): use temp var for cursor.par() and
5618 cursor.pos() only set cur at end of function.
5620 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5622 * text.C, text2.C: exchange all usage of Paragraph::next with
5623 boost::next(ParagraphList::iterator)
5625 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5627 * text2.C (cursorTop): simplify implementation
5628 (cursorBottom): ditto
5629 (setParagraph): use ParagraphList::iterator
5630 (setCurrentFont): adjust
5631 (getColumnNearX): adjust
5632 (cursorRight): adjust
5633 (cursorLeft): remove usage of Paragraph::previous
5634 (cursorUpParagraph): ditto
5635 (deleteEmptyParagraphMechanism): slight cleanup
5637 * text.C (isBoundary): take a Paragraph const & instead of a
5639 (addressBreakPoint): ditto
5640 (leftMargin): remove usage of Paragraph::previous.
5641 (setHeightOfRow): ditto
5642 (cursorLeftOneWord): ditto
5643 (selectNextWordToSpellcheck): ditto
5646 (breakParagraph): remove one usage of Paragraph::next
5647 (redoParagraph): ditto
5648 (acceptChange): ditto
5649 (insertChar): adjust
5650 (rowBreakPoint): adjust
5652 * bufferview_funcs.C (toggleAndShow): adjust
5654 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5656 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5657 methods to access it.
5659 * text.C: Added updateRowPositions to compute all row positions.
5660 Make top_y and getRowNearY() to use the cached y position
5662 2003-04-11 John Levon <levon@movementarian.org>
5664 * text.C (rowBreakPoint): reintroduce the labelEnd
5665 checks, code copied from the row fill stuff. Deep voodoo.
5667 * text.C (fill): add a comment and debugging for the
5670 2003-04-11 John Levon <levon@movementarian.org>
5672 * text.C: make sure fullrow insets get wrapped to the next line,
5673 even when they're in a manual label
5675 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5677 * text2.C (insertParagraph): make it take ParagraphList::iterator
5679 (setLayout): make it return ParagraphList::iterator
5680 (redoParagraphs): ditto
5682 (checkParagraph): ditto
5684 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5686 * text2.C: adjust several funcs.
5687 (realizeFont): take a ParagraphList::iterator as arg.
5688 (getLayoutFont): ditto
5689 (getLabelFont): ditto
5690 (setCharFont): ditto
5692 * text.C: adjust several funcs.
5694 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5696 * text.C (selectNextWordToSpellcheck): don't accidentally
5699 2003-04-10 John Levon <levon@movementarian.org>
5701 * ToolbarBackend.C (getIcon): special handling for
5704 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5706 * text2.C (cursorRight): a getChar assert fixed
5708 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5710 * text2.C (getFont): change to take a ParagraphList::iterator
5711 instead of Paragraph*
5712 Adjust several functions.
5714 * text.C (transformChar): change to take a ParagraphList::iterator
5715 instead of Paragraph*
5716 (singleWidth): ditto
5717 Adjust several functions.
5719 * rowpainter.C: adjust several functions
5720 * rowpainter.h:store a ParagraphList::iterator and not a
5724 2003-04-09 John Levon <levon@movementarian.org>
5729 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5730 and the "help" bits as well
5732 2003-04-09 John Levon <levon@movementarian.org>
5735 * ToolbarBackend.C: allow multiple toolbars
5737 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5739 * undo_funcs.C (setCursorParUndo): adjust
5741 * text_funcs.C (transposeChars): adjust
5743 * text3.C (gotoNextInset): adjust
5746 * text2.C (setLayout): adjust
5747 (changeDepth): adjust
5749 (redoParagraphs): adjust
5750 (selectionAsString): adjust
5751 (setParagraph): adjust
5752 (insertInset): adjust
5753 (cutSelection): adjust
5754 (copySelection): adjust
5755 (pasteSelection): adjust
5756 (insertStringAsLines): adjust
5757 (updateInset): adjust
5758 (setCursor): change to take a ParagraphList::iterator parameter
5759 (setCursorIntern): change to take a ParagraphList::iterator parameter
5760 (setCurrentFont): adjust
5761 (cursorLeft): adjust
5762 (cursorRight): adjust
5763 (deleteEmptyParagraphMechanism): adjust
5765 * text.C (breakParagraph): adjust
5766 (insertChar): adjust
5767 (acceptChange): adjust
5768 (rejectChange): adjust
5769 (selectNextWordToSpellcheck): adjust
5770 (changeCase): adjust
5774 * lyxfind.C (SearchForward): adjust
5775 (SearchBackward): adjust
5776 (nextChange): adjust
5778 * lyxcursor.C (par): adjust
5780 * lyxcursor.h: store a ParagraphList::iterator instead of a
5783 * lyx_cb.C (getPossibleLabel): adjust
5785 * bufferview_funcs.C (toggleAndShow): adjust
5787 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5790 * BufferView.C (removeAutoInsets): adjust
5791 (lockedInsetStoreUndo): adjust
5793 2003-04-09 John Levon <levon@movementarian.org>
5795 * ToolbarBackend.C: try icon without argument
5796 if with argument fails
5798 2003-04-08 John Levon <levon@movementarian.org>
5801 * ToolbarBackend.C: add getIcon(), handle tooltip,
5802 and change from "Icon" to "Item".
5804 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5806 * BufferView.C (lockInset): another bad getchar crunched
5808 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5810 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5813 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5815 * lyxfind.C (searchForward, searchBackwards): bug 782
5817 2003-04-07 John Levon <levon@movementarian.org>
5819 * paragraph.C: remove dead comment
5821 * text.C: remove troublesome depth-fiddling code
5822 in leftMargin() and rightMargin() (bug 1017)
5824 * text.C: fix breaking of rows in nested lists
5827 * text2.C (updateCounters): fix up depth values
5830 2003-04-07 John Levon <levon@movementarian.org>
5832 * BufferView_pimpl.C: clear message when doc finishes resizing,
5833 and after a mouse event
5835 * lyxfunc.C: clear message after exiting inset
5837 2003-04-07 John Levon <levon@movementarian.org>
5839 * bufferview_funcs.C: show math status not outside
5840 status in the statusbar
5842 2003-04-07 John Levon <levon@movementarian.org>
5844 * lyxfunc.C: note status changed after a depth change
5846 2003-04-04 Angus Leeming <leeming@lyx.org>
5848 * LaTeX.h: move AuxInfo operator==, != out of line.
5849 Remove LaTeX virtual destructor; nothing derives from it.
5850 Move operator()() out of public area and rename it startscript().
5851 Change protected for private.
5853 2003-04-04 Angus Leeming <leeming@lyx.org>
5856 * text2.C: remove unneeded #includes.
5858 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5860 * text2.C (dEPM): fix the heigth of the next row
5862 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5864 * text.C: squashed an invalid getChar requester + some ws changes
5866 2003-04-03 John Levon <levon@movementarian.org>
5868 * bufferview_funcs.h:
5869 * bufferview_funcs.C:
5872 * text2.C: make getStatus work for the env depth lfuns
5874 2003-04-03 John Levon <levon@movementarian.org>
5876 * bufferview_funcs.h:
5877 * bufferview_funcs.C:
5880 * text2.C: parlistize decDepth(), by merging it with incDepth()
5882 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5884 * lyxrow.h: store a ParagraphList::iterator instead of a
5885 Paragraph* and adjust other class functions to suit.
5887 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5890 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5892 * text2.C (setCursor): do not anchor to cursor row for the time being
5894 2003-04-02 John Levon <levon@movementarian.org>
5901 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5903 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5905 * paragraph.h: make ParagraphList and ParagraphList::iterator
5906 friends of Paragraph.
5908 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5910 * ParagraphList.C: Use the private next_ and previous_ from
5913 2003-04-01 John Levon <levon@movementarian.org>
5917 * Makefile.am: rename, remove defaults gunk
5920 * MenuBackend.C: remove defaults gunk
5923 * Languages.C: remove defaults gunk
5926 * lyx_main.C: error out if files couldn't be found.
5928 2003-04-02 John Levon <levon@movementarian.org>
5930 * text2.C: make incDepth() use parlist
5932 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5934 * undo_funcs.C (firstUndoParagraph): adjust
5936 * text3.C (gotoInset): adjust
5937 (dispatch): adjust, and rewrite loop.
5939 * text2.C (init): adjust, and rewrite loop.
5940 (redoParagraphs): adjust
5941 (updateInset): adjust, and rewrite loop.
5942 (deleteEmptyParagraphMechanism): adjust
5944 * tabular.C (LyXTabular): adjust
5945 (SetMultiColumn): adjust
5948 * lyxtext.[Ch] (ownerParagraph): delete function
5949 (ownerParagraphs): new function returns a ParagraphList.
5951 * BufferView.C (removeAutoInsets): adjust
5952 (insertErrors): adjust
5953 (setCursorFromRow): adjust
5955 2003-04-01 Angus Leeming <leeming@lyx.org>
5957 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5960 2003-04-02 John Levon <levon@movementarian.org>
5966 * text_funcs.C: make transposeChars a free function
5968 * lyxrow_funcs.C: remove wrong comment
5970 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5973 * rowpainter.C: adjust
5978 * lyxrow_funcs. [Ch]: new files
5980 * lyxrow.[Ch]: remove next and previous pointers
5981 (next,previous): remove accessor functions
5982 (isParEnd): move to lyxrow_funcs
5983 (lastPos): move to lyxrow_funcs
5984 (nextRowIsAllInset): move to lyxrow_funcs
5985 (lastPrintablePos): move to lyxrow_funcs
5986 (numberOfSeparators): move to lyxrow_funcs
5987 (numberOfHfills): move to lyxrow_funcs
5988 (numberOfLabelHfills): move to lyxrow_funcs
5989 (hfillExpansion): move to lyxrow_funcs
5993 * bufferview_funcs.C (toggleAndShow): adjust
5995 * RowList.h: Remove class RowList from file leave just a
5998 * RowList.C: delete file
6000 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6003 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6005 * text3.C (cursorPrevious): adjust
6006 (cursorNext): adjust
6009 * text2.C (redoHeightOfParagraph): adjust
6010 (redoDrawingOfParagraph): adjust
6013 * text.C (breakParagraph): adjust
6014 (insertChar): adjust
6017 * rowpainter.C (RowPainter): adjust
6018 (leftMargin): simplify and adjust
6019 (most rowpainter functions): adjust.
6021 * rowpainter.h: store the row as RowList::iterator not as Row*
6023 * lyxcursor.C (row): taka RowList::iterator as arg
6026 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6029 2003-04-01 Angus Leeming <leeming@lyx.org>
6031 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6032 stuff like bool Bool.
6034 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6036 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6039 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6041 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6044 * lyxtext.h (rows): drop one version and leve a const variant that
6045 returns a RowList::iterator.
6047 2003-03-31 Angus Leeming <leeming@lyx.org>
6049 * text.C (fill): ensure that the signature is the same as that in the
6052 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6054 * text2.C (redoParagraphs): adjust
6055 (updateCounters): adjust
6056 (checkParagraph): adjust
6057 (getColumnNearX): adjust and reformat a bit.
6059 * text.C (top_y): adjust
6061 (leftMargin): adjust
6062 (prepareToPrint): adjust
6064 (getRowNearY): adjust
6066 * lyxtext.h: make rowlist_ mutable.
6068 * RowList.h: add const_iterator
6069 * RowList.C: adjust for RowList::const_iterator.
6071 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6074 2003-03-31 John Levon <levon@movementarian.org>
6077 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6079 * lyx_main.C: set default fonts from using lyx_gui funcs
6081 * exporter.C: pdf_mode moved from lyxrc
6084 * lyxfunc.C: changes from above
6086 2003-03-31 John Levon <levon@movementarian.org>
6088 * lyx_main.C: fix to the last fix
6090 2003-03-31 John Levon <levon@movementarian.org>
6092 * bufferlist.C: "Load original" -> "Load Original"
6098 * format.C: more Alert cleanups
6100 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6102 * text2.C (removeParagraph): make it take a RowList::iterator as
6104 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6105 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6107 * text.C (anchor_row): make it take a RowList::iterator as arg,
6109 (computeBidiTables): make it take a const reference to Row instead
6110 of Row pointer, adjust.
6111 (leftMargin): make it take a RowList::iterator as arg, adjust.
6112 (rowBreakPoint): adjust
6113 (breakAgainOneRow): make it take a RowList::iterator as arg,
6115 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6117 * bufferview_funcs.C (toggleAndShow): adjust
6119 2003-03-30 John Levon <levon@movementarian.org>
6123 * boost-inst.C: moved to support
6125 * several files: changes as a result
6127 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6129 * text2.C (LyXText): adjust.
6131 (removeRow): make it take a RowList::iterator as arg, adjust.
6132 (fullRebreak): adjust
6133 (deleteEmptyParagraphMechanism): adjust
6134 (clearPaint): adjust
6137 * text.C (top_y): adjust
6138 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6139 (breakAgain): make it take a RowList::iterator as arg, adjust.
6140 (breakParagraph): adjust
6141 (insertChar): adjust
6144 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6145 need_break_row, and refresh_row.
6147 * text3.C (dispatch): adjust
6149 * text2.C (checkParagraph): adjust
6151 (setCursorFromCoordinates): adjust
6153 * text.C (top_y): adjust
6155 (getRow): make it return a RowList::iterator, adjust
6156 (getRowNearY): make it return a RowList::iterator, adjust
6158 * text2.C (init): adjust
6159 (insertRow): remove function
6160 (insertParagraph): adjust
6161 (redoParagraphs): adjust
6162 (fullRebreak): adjust
6163 (updateCounters): adjust
6165 * text.C (top_y): rewrite to use RowList iterators.
6167 (setHeightOfRow): rewrite to sue RowList iterators.
6168 (appendParagraph): adjust
6169 (breakAgain): adjust
6170 (breakAgainOneRow): adjust
6171 (breakParagraph): adjust
6173 (getRowNearY): adjust, and remove commented code.
6175 * lyxtext.h (firstRow): delete function
6176 (lastRow): delete function
6177 (rows): new function (const and non-const versions.)
6178 (insertRow): delete function
6180 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6182 2003-03-29 John Levon <levon@movementarian.org>
6184 * BufferView_pimpl.C: always update scrollbar top
6185 because pasting text when we're anchored could mean we
6186 miss an update altogether
6188 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6190 * text2.C (init): use rowlist_.end() and not 0.
6191 (insertRow): change to take a RowList::iterator as arg, adjust
6193 (insertParagraph): change to take a RowList::iterator as arg,
6195 (redoParagraphs): remove some debug msgs.
6197 * text.C (appendParagraph): change to take a RowList::iterator
6198 arg, adjust for this.
6199 (breakAgain): add an assert
6200 (breakAgainOneRow): ditto
6202 2003-03-29 John Levon <levon@movementarian.org>
6204 * text2.C: do not clear selection after inc/decDepth
6207 2003-03-29 John Levon <levon@movementarian.org>
6210 * buffer.C: fix broken strerrors according to Lars
6212 2003-03-29 John Levon <levon@movementarian.org>
6214 * converters.C: more Alert cleanups
6216 2003-03-29 John Levon <levon@movementarian.org>
6218 * bufferview_funcs.C: remove pointless Alert
6220 * buffer.C: fix confusing error message when
6221 a template is chmoded 000
6223 2003-03-29 John Levon <levon@movementarian.org>
6227 * BufferView_pimpl.C: Alert fixes
6231 * tabular-old.C: remove unused table compat reading
6233 2003-03-29 John Levon <levon@movementarian.org>
6238 * lyx_cb.C: more Alert cleanups
6240 * lyxfunc.C: don't allow chktex if not latex document
6242 2003-03-29 John Levon <levon@movementarian.org>
6246 * buffer.C: warnings pushed down from support/,
6249 2003-03-29 John Levon <levon@movementarian.org>
6251 * lyxfunc.C: safety check for C-r (revert)
6253 2003-03-29 John Levon <levon@movementarian.org>
6256 * bufferlist.C: several UI fixes using Alert::prompt.
6257 Fix the pointless looping quit code. Fix stupid revert
6262 * lyx_cb.C: use Alert::prompt
6264 * lyx_main.C: remove a silly question
6266 * lyxfunc.C: remove a couple of silly questions,
6269 2003-03-28 John Levon <levon@movementarian.org>
6271 * text2.C: fix bug 974 (End on empty par)
6273 2003-03-28 John Levon <levon@movementarian.org>
6275 * BufferView_pimpl.C:
6277 * lfuns.h: remove do-nothing math greek lfuns
6279 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6281 * lyxgluelength.h (isValidGlueLength): add default arg on
6282 parameter 2. Remove default arg from friend in class.
6284 * lyxlength.h (isValidLength): add default arg on parameter 2.
6285 Remove default arg from friend in class.
6287 * text2.C (LyXText): adjust, initialize refresh_row.
6291 (insertParagraph): adjst
6292 (redoParagraphs): adjust
6293 (fullRebreak): adjust
6294 (updateCounters): adjust
6295 (deleteEmptyParagraphMechanism): first attempt at fixing a
6298 * text.C (top_y): adjust
6299 (setHeightOfRow): adjust
6301 (getRowNearY): adjust
6303 * lyxtext.h: include RowList.h
6304 (~LyXText): not needed anymore, deleted.
6305 (firstRow): modify for RowList
6306 (lastRow): new function
6307 Delete firstrow and lastrow class variables, add a Rowlist
6308 rowlist_ class variable.
6310 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6313 * RowList.C (insert): fix case where it == begin().
6315 2003-03-26 Angus Leeming <leeming@lyx.org>
6317 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6318 the thesaurus dialog.
6320 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6322 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6324 * RowList.[Ch]: new files
6326 * ParagraphList.C (erase): handle the case where it == begin
6329 2003-03-25 John Levon <levon@movementarian.org>
6333 * aspell.C: add new aspell support
6336 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6339 2003-03-25 Angus Leeming <leeming@lyx.org>
6342 * LyXAction.C (init): new LFUN_INSET_INSERT.
6344 * BufferView_pimpl.C (dispatch): split out part of the
6345 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6347 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6350 2003-03-25 Angus Leeming <leeming@lyx.org>
6352 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6354 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6357 * text3.C: remove useless row->height(0)
6359 2003-03-25 John Levon <levon@movementarian.org>
6363 * text3.C: rename the refreshing stuff to better names
6365 2003-03-24 John Levon <levon@movementarian.org>
6367 * BufferView_pimpl.h:
6368 * BufferView_pimpl.C: update layout choice on a mouse
6371 2003-03-23 John Levon <levon@movementarian.org>
6373 * Makefile.am: fix commandtags.h reference
6375 2003-03-22 John Levon <levon@movementarian.org>
6377 * BufferView_pimpl.C:
6382 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6384 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6387 * text.C: take the rtl methods out of line
6389 2003-03-21 André Pönitz <poenitz@gmx.net>
6391 * metricsinfo.[Ch]: new files containing structures to be passed around
6392 during the two-phase-drawing...
6394 2003-03-21 André Pönitz <poenitz@gmx.net>
6396 * lyxtextclass.C: read 'environment' tag.
6398 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6400 * text2.C (removeRow): fix bug 964
6402 2003-03-20 John Levon <levon@movementarian.org>
6406 * text2.C: paint cleanups. Inset::update() dropped font
6409 2003-03-19 John Levon <levon@movementarian.org>
6411 * lyxfunc.C: only fitcursor/markDirty if available()
6413 2003-03-19 John Levon <levon@movementarian.org>
6415 * commandtags.h: rename to ...
6417 * lfuns.h: ... this, and renumber / cleanup
6419 2003-03-19 John Levon <levon@movementarian.org>
6421 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6422 fit the cursor after an lfun
6426 * BufferView_pimpl.h:
6427 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6429 * LyXAction.C: layout-character should have ReadOnly
6431 * ParagraphParameters.C:
6433 * bufferview_funcs.C:
6440 * undo_funcs.C: changes from above
6442 2003-03-18 John Levon <levon@movementarian.org>
6444 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6445 remove it from update()
6447 * lyxfunc.C: update layout choice after an lfun
6449 * text3.C: remove extra updateLayoutChoice()s
6451 2003-03-18 John Levon <levon@movementarian.org>
6453 * text.C: top_y change means full repaint, fix
6454 a drawing bug with cursor movement
6456 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6460 * text2.C: anchor row on setCursor
6462 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6464 * lyxtext.h: remove almost all mutable keywords
6467 * text3.C: remove const keywords accordingly
6469 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6471 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6473 (TeXEnvironment): ditto
6476 2003-03-17 John Levon <levon@movementarian.org>
6478 * text.C (rowBreakPoint): remove attempt to fix displayed
6479 math insets inside a manual label
6481 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6483 * lyxtext.h: remove BufferView* as first arg from almost all class
6485 * other files: adjust.
6487 2003-03-17 John Levon <levon@movementarian.org>
6491 * text2.C: more paint cleanups
6493 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6496 * rowpainter.C: remove "smart" background painting code
6498 2003-03-16 John Levon <levon@movementarian.org>
6503 * text3.C: add helper functions for setting refresh_row/y
6505 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6507 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6508 newline inset which *can* get inserted in the pass_thru layouts.
6509 This is primarily for literate documents.
6511 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6513 * buffer.C: increment LYX_FORMAT to 223
6515 2003-03-14 André Pönitz <poenitz@gmx.net>
6517 * textclass.h: prepare for environment handling, ws changes
6518 * lyxlayout.C: read latexheader and latexfooter tags
6520 2003-03-14 John Levon <levon@movementarian.org>
6522 * text2.C: rewrite ::status() a bit
6524 2003-03-13 John Levon <levon@movementarian.org>
6526 * lyxtext.h: add some docs
6528 2003-03-13 John Levon <levon@movementarian.org>
6533 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6535 2003-03-13 John Levon <levon@movementarian.org>
6537 * text3.C: fix appendix redrawing
6539 2003-03-13 John Levon <levon@movementarian.org>
6541 * text.C (setHeightOfRow):
6543 * rowpainter.C: make appendix mark have the text
6544 "Appendix" so the user knows what it is
6547 * LColor.C: s/appendixline/appendix/ from above
6549 2003-03-13 John Levon <levon@movementarian.org>
6551 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6553 * text.C: fix a getChar(pos) bug properly
6555 2003-03-13 Angus Leeming <leeming@lyx.org>
6558 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6559 Probably only temporary. Let's see how things pan out.
6561 * BufferView.C (unlockInset):
6562 * BufferView_pimpl.C (fitCursor):
6563 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6565 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6566 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6568 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6569 new functions that convert ParagraphParameters to and from a string.
6571 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6572 BufferView::Pimpl's dispatch.
6573 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6575 2003-03-13 André Pönitz <poenitz@gmx.net>
6579 * factory.C: make it aware of InsetEnv
6581 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6583 * text2.C (setCursor): never ask for one past last
6584 (setCursor): add some debugging messages.
6586 * text.C (singleWidth): never ask for one past last
6587 (singleWidth): ditto
6589 (rightMargin): ditto
6590 (rowBreakPoint): ditto
6591 (setHeightOfRow): ditto
6592 (prepareToPrint): ditto
6594 * rowpainter.C (paintBackground): never ask for one past last
6595 (paintText): never ask for one past last
6597 * paragraph_pimpl.C (getChar): make the assert stricter, never
6598 allow the one past last pos to be taken
6600 * paragraph.C (getChar): ws changes only
6602 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6603 (numberOfSeparators): ditto
6604 (numberOfHfills): ditto
6606 2003-03-12 John Levon <levon@movementarian.org>
6612 * paragraph_funcs.C: fix per-buffer authorlists
6614 2003-03-12 John Levon <levon@movementarian.org>
6616 * text.C: fix newline in right address
6618 2003-03-12 Angus Leeming <leeming@lyx.org>
6620 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6621 duplicate those in LyXFunc::dispatch.
6625 * ToolbarDefaults.C:
6626 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6627 Add LFUN_FONTFREE_UPDATE.
6629 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6630 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6632 * bufferview_func.[Ch]: several new functions to facilliate
6633 transfer of data to and from the character dialog.
6635 2003-03-12 John Levon <levon@movementarian.org>
6640 * paragraph_funcs.C:
6641 * paragraph_pimpl.C:
6645 * text3.C: remove META_NEWLINE in favour of an inset
6648 * rowpainter.C: remove paintNewline (done by inset)
6650 2003-03-12 John Levon <levon@movementarian.org>
6652 * paragraph_pimpl.C: complain about bad getChar()s
6653 for a while at least
6655 2003-03-12 John Levon <levon@movementarian.org>
6658 * buffer.C: move paragraph read into a separate function,
6659 a little renaming to reflect that.
6662 * bufferparams.C: remove the author_ids map, not necessary now
6665 * factory.C: moved Buffer::readInset to here
6667 * paragraph_funcs.h:
6668 * paragraph_funcs.C: readParagraph free function moved from
6671 * tabular.C: name change
6673 2003-03-12 John Levon <levon@movementarian.org>
6676 * ParagraphParameters.C: move par params input to
6679 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6680 behave like a normal read from the stream wrt reading
6681 a line vs. a \\token
6683 2003-03-12 John Levon <levon@movementarian.org>
6686 * ParagraphParameters.h:
6687 * ParagraphParameters.C: move output code to a
6690 2003-03-12 John Levon <levon@movementarian.org>
6692 * BufferView.C (insertLyXFile):
6695 * tabular.C: use a parlist iterator for creating the
6698 2003-03-12 John Levon <levon@movementarian.org>
6700 * buffer.C: make current_change static local not
6703 2003-03-12 John Levon <levon@movementarian.org>
6705 * buffer.C: fix insertStringAsLines for change tracking
6707 2003-03-12 John Levon <levon@movementarian.org>
6714 * bufferparams.C: move author list into params. Rename some
6715 functions. Move the header reading into a separate token
6716 loop. Move the header token reading into BufferParams.
6718 2003-03-12 John Levon <levon@movementarian.org>
6720 * changes.C: put debug inside lyxerr.debugging() checks
6722 2003-03-11 André Pönitz <poenitz@gmx.net>
6724 * factory.C: make it aware of InsetHFill
6726 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6728 * buffer.C (latexParagraphs): move function from here...
6729 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6732 2003-03-10 Angus Leeming <leeming@lyx.org>
6734 * LyXAction.C (init): fix bug in poplating array with multiple entries
6735 with the same LFUN (spotted by JMarc).
6737 2003-03-10 John Levon <levon@movementarian.org>
6740 * text2.C: move getColumnNearX() near its
6743 2003-03-10 John Levon <levon@movementarian.org>
6745 * text.C: fix break before a minipage
6747 2003-03-10 John Levon <levon@movementarian.org>
6749 * text.C: fix the last commit
6751 2003-03-09 John Levon <levon@movementarian.org>
6755 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6756 bug 365 (don't break before insets unless needed). Don't
6757 return a value > last under any circumstances.
6759 2003-03-09 Angus Leeming <leeming@lyx.org>
6761 * BufferView_pimpl.C (trackChanges, dispatch): call
6762 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6764 2003-03-09 Angus Leeming <leeming@lyx.org>
6766 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6767 than Dialogs::showAboutlyx().
6769 2003-03-09 Angus Leeming <leeming@lyx.org>
6771 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6772 than Dialogs::showTabularCreate().
6774 2003-03-09 John Levon <levon@movementarian.org>
6778 * text2.C: 3rd arg to nextBreakPoint was always the same.
6781 2003-03-08 John Levon <levon@movementarian.org>
6788 * text2.C: Remove the "main" bit from the "main body"
6791 2003-03-08 John Levon <levon@movementarian.org>
6793 * text.C (leftMargin): The left margin of an empty
6794 manual label paragraph should not include the label width
6797 * text.C (prepareToPrint): don't attempt to measure hfills
6798 for empty manual label paragraphs - the answer should be 0
6800 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6802 * CutAndPaste.C: remove commented code and reindent.
6804 2003-03-08 John Levon <levon@movementarian.org>
6807 * lyxfunc.C: move reloadBuffer()
6810 * BufferView.C: to here
6812 * lyxvc.C: add comment
6815 * vc-backend.C: call bv->reload() to avoid
6816 getStatus() check on MENURELOAD
6818 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6820 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6821 to an old format .dep file.
6823 2003-03-07 Angus Leeming <leeming@lyx.org>
6825 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6826 when the LFUN_MOUSE_RELEASE should have been handled by
6827 inset->localDispatch.
6829 2003-03-07 Angus Leeming <leeming@lyx.org>
6831 * BufferView_pimpl.C (dispatch):
6832 * LyXAction.C (init):
6833 * ToolbarDefaults.C (init):
6835 * lyxfunc.C (getStatus):
6836 remove LFUN_INSET_GRAPHICS.
6838 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6840 2003-03-07 Angus Leeming <leeming@lyx.org>
6843 * LyXAction.C (init):
6844 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6846 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6849 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6851 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6852 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6854 2003-03-07 Angus Leeming <leeming@lyx.org>
6856 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6859 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6861 * ParagraphList.C (front): new function
6864 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6866 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6867 and top_row_offset_. removed var first_y.
6869 * text2.C (LyXText, removeRow):
6871 * BufferView_pimpl.C:
6872 use these methods instead of using first_y
6874 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6876 * text2.C (pasteSelection): adjust for checkPastePossible
6878 * CutAndPaste.C: remove Paragraph * buf and replace with
6879 ParagraphList paragraphs.
6880 (DeleteBuffer): delete
6881 (cutSelection): change the tc type to textclass_type
6882 (copySelection): change the tc type to textclass_type
6883 (copySelection): adjust for ParagraphList
6884 (pasteSelection): change the tc type to textclass_type
6885 (pasteSelection): adjust for Paragraphlist
6886 (nrOfParagraphs): simplify for ParagraphList
6887 (checkPastePossible): simplify for ParagraphList
6888 (checkPastePossible): remove unused arg
6890 * ParagraphList.C (insert): handle the case where there are no
6893 * CutAndPaste.h: make CutAndPaste a namespace.
6895 * text3.C (dispatch): adjust
6897 * text.C (breakParagraph): add a ParagraphList as arg
6899 * paragraph_funcs.C (breakParagraph): change to take a
6900 BufferParams and a ParagraphList as args.
6901 (breakParagraphConservative): ditto
6902 (mergeParagraph): ditto
6903 (TeXDeeper): add a ParagraphList arg
6904 (TeXEnvironment): ditto
6907 * buffer.C (readLyXformat2): adjust
6908 (insertStringAsLines): adjust
6909 (latexParagraphs): adjust
6911 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6912 (cutSelection): adjust
6913 (pasteSelection): adjust
6915 * BufferView_pimpl.C (insertInset): adjust
6917 2003-03-05 Angus Leeming <leeming@lyx.org>
6920 * LyXAction.C (init):
6921 * BufferView_pimpl.C (dispatch):
6922 * lyxfunc.C (getStatus):
6923 remove LFUN_CHILD_INSERT.
6925 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6927 2003-03-05 Angus Leeming <leeming@lyx.org>
6930 * LyXAction.C (init):
6931 * src/factory.C (createInset):
6932 * lyxfunc.C (getStatus):
6933 * text3.C (dispatch):
6934 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6936 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6938 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6940 * ParagraphList.C (insert): handle insert right before end()
6941 (erase): fix cases where it can be first or last paragraph.
6943 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6945 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6946 Paragraph::next and Paragraph::previous
6949 * text.C (breakParagraph): adjust
6951 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6952 BufferParams& as arg.
6953 (breakParagraph): use ParagraphList::insert
6954 (breakParagraphConservative): take a Buffer* instead of a
6955 BufferParams& as arg.
6956 (breakParagraphConservative): use ParagraphList::insert.
6958 * buffer.C (insertStringAsLines): un-const it
6959 (insertStringAsLines): adjust
6961 * ParagraphList.C (insert): new function
6963 * CutAndPaste.C (pasteSelection): adjust
6965 * text.C (backspace): adjust
6967 * tabular.C (SetMultiColumn): adjust
6969 * CutAndPaste.C (cutSelection): adjust
6970 (pasteSelection): adjust
6972 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6973 Buffer const * as arg
6975 * ParagraphList.C (erase): new function
6976 * paragraph_funcs.C (mergeParagraph): use it
6977 (mergeParagraph): make it take a Buffer* instead of a
6978 BufferParams* as arg
6980 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6982 (breakParagraphConservative): ditto
6984 * paragraph.h: remove the breakParagraph friend
6986 * paragraph.C (eraseIntern): new function
6987 (setChange): new function
6989 * paragraph_funcs.C (mergeParagraph): make it take a
6990 ParagraphList::iterator instead of a Paragraph *, adjust
6993 * paragraph.h: move an #endif so that the change tracking stuff
6994 also works in the NO_NEXT case.
6996 2003-03-04 Angus Leeming <leeming@lyx.org>
6999 * LyXAction.C: new LFUN_INSET_MODIFY.
7001 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7002 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7004 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7006 * several files: ws changes only
7008 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7009 (TeXEnvironment): ditto
7012 * buffer.C (makeLaTeXFile): adjust
7013 (latexParagraphs): make it take ParagraphList::iterator as args
7015 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7017 * buffer.C (latexParagraphs): adjust
7019 * paragraph.C (TeXOnePar): move function...
7020 (optArgInset): move function...
7021 (TeXEnvironment): move function...
7022 * paragraph_pimpl.C (TeXDeeper): move function...
7023 * paragraph_funcs.C: ...here
7025 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7027 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7029 * buffer.C (readInset): remove compability code for old Figure and
7032 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7034 * buffer.C: ws changes
7037 * BufferView_pimpl.C: ditto
7040 * bufferlist.h: ditto
7044 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7046 * converter.[Ch]: split into itself +
7049 * Makefile.am: += graph.[Ch] + format.[Ch]
7056 * lyxrc.C: added #include "format.h"
7058 2003-02-27 Angus Leeming <leeming@lyx.org>
7060 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7063 * factory.C (createInset): add "label" to the factory.
7065 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7066 string and do no more.
7068 2003-02-27 Angus Leeming <leeming@lyx.org>
7071 * LyXAction.C (init):
7072 * factory.C (createInset):
7073 * BufferView_pimpl.C (dispatch):
7074 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7076 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7078 * lyxfunc.C (dispatch):
7079 * text3.C (dispatch): pass name to params2string.
7081 2003-02-26 Angus Leeming <leeming@lyx.org>
7083 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7085 Rearrange the ~includes. Strip out the unnecessary ones.
7087 * factory.C (createInset): reformat.
7088 create new insets for the various LFUN_XYZ_APPLY lfuns.
7090 2003-02-26 John Levon <levon@movementarian.org>
7093 * lyxrow.C: add isParStart,isParEnd helpers
7095 * paragraph.h: make isInserted/DeletedText take refs
7097 * paragraph_funcs.h:
7098 * paragraph_funcs.C: remove #if 0'd code
7103 * text.C: use lyxrow helpers above.
7104 Move draw and paint routines to RowPainter.
7105 Make several methods use refs not pointers.
7106 Make backgroundColor() const.
7107 Add markChangeInDraw(), isInInset().
7108 Merge changeRegionCase into changeCase.
7109 Make workWidth() shouldn't-happen code into an Assert.
7112 * rowpainter.C: new class for painting a row.
7115 * vspace.C: make inPixels take a ref
7117 2003-02-26 Angus Leeming <leeming@lyx.org>
7119 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7122 2003-02-25 John Levon <levon@movementarian.org>
7124 * ispell.C: give the forked command a more accurate name
7126 2003-02-22 John Levon <levon@movementarian.org>
7129 * toc.C: make TocItem store an id not a Paragraph *
7132 2003-02-21 Angus Leeming <leeming@lyx.org>
7134 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7135 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7136 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7137 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7138 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7139 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7141 * BufferView_pimpl.C (dispatch):
7142 * LyXAction.C (init):
7143 * factory.C (createInset):
7144 * lyxfunc.C (getStatus, dispatch):
7145 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7147 2003-02-21 Angus Leeming <leeming@lyx.org>
7149 * BufferView_pimpl.C (MenuInsertLyXFile):
7150 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7151 * lyxfunc.C (menuNew, open, doImport):
7152 no longer pass a LyXView & to fileDlg.
7154 2003-02-21 Angus Leeming <leeming@lyx.org>
7156 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7157 * LyXAction.C: change, BIBKEY to BIBITEM.
7158 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7159 Change InsetBibKey to InsetBibitem.
7160 Change BIBKEY_CODE to BIBITEM_CODE.
7161 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7162 * factory.C: replace insetbib.h with insetbibitem.h.
7163 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7164 * paragraph.C: replace insetbib.h with insetbibitem.h.
7165 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7166 Change bibkey() to bibitem().
7167 * text.C: remove insetbib.h.
7168 * text2.C: replace insetbib.h with insetbibitem.h.
7169 change bibkey() to bibitem().
7170 * text3.C: remove insetbib.h.
7171 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7173 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7175 * lyxrc.C (output): enclose user email in quotes (in case there are
7178 2003-02-18 John Levon <levon@movementarian.org>
7180 * buffer.h: add std::
7182 2003-02-17 John Levon <levon@movementarian.org>
7188 * pspell.C: reworking. Especially in ispell, a large
7189 number of clean ups and bug fixes.
7191 * lyxfunc.C: fix revert to behave sensibly
7193 2003-02-17 André Pönitz <poenitz@gmx.net>
7196 * commandtags.h: new LFUN_INSERT_BIBKEY
7206 * paragraph_func.C: remove special bibkey handling
7208 2003-02-17 John Levon <levon@movementarian.org>
7210 * text.C (Delete): fix case where delete at the end of
7211 the very first paragraph would not merge the pars
7213 2003-02-17 John Levon <levon@movementarian.org>
7215 * lyxrow.C: fix lastPrintablePos()
7217 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7219 * bufferparams.C (writeLaTeX): add a std:here
7221 * buffer.C: and remove a using directive there
7223 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7225 * buffer.C (makeLaTeXFile): move the code that generates the
7228 * bufferparams.C (writeLaTeX): ... in this new method
7230 * LaTeXFeatures.C (getEncodingSet): make const
7231 (getLanguages): make const
7233 * MenuBackend.C (binding): returns the binding associated to this
7235 (add): sets the status of each item by calling getStatus. Adds
7237 (read): add support for OptSubMenu
7238 (expand): remove extra separator at the end of expanded menu
7240 2003-02-15 John Levon <levon@movementarian.org>
7243 * BufferView_pimpl.C:
7245 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7246 inset code that had no actual effect. Remove unneeded status
7249 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7251 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7254 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7256 * text.C (drawLengthMarker): also draw an arrow marker for
7257 symbolic lengths (medskip...)
7259 2003-02-14 John Levon <levon@movementarian.org>
7262 * tabular.C: better method names
7264 2003-02-14 John Levon <levon@movementarian.org>
7266 * BufferView_pimpl.C:
7271 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7272 it's a more accurate name. Remove some pointless uses.
7274 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7276 * text2.C (LyXText): change order of initilizers to shut off
7279 2003-02-14 John Levon <levon@movementarian.org>
7281 * buffer.C: use ParIterator for getParFromID()
7285 * paragraph_pimpl.h:
7286 * paragraph_pimpl.C: remove unused getParFromID()
7288 2003-02-14 John Levon <levon@movementarian.org>
7290 * buffer.C: remove some very old #if 0'd parse code
7292 2003-02-13 John Levon <levon@movementarian.org>
7296 * text2.C: move hfillExpansion(), numberOfSeparators(),
7297 rowLast(), rowLastPrintable(), numberofHfills(),
7298 numberOfLabelHfills() ...
7301 * lyxrow.C: ... to member functions here.
7306 * text.C: remove LyXText::beginningOfMainBody(), and call
7307 p->beginningOfMainBody() directly. Move the check for
7308 LABEL_MANUAL into the latter.
7315 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7321 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7322 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7324 2003-02-13 John Levon <levon@movementarian.org>
7326 * CutAndPaste.C: remove debug
7328 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7330 * paragraph.C (asString): remove two unused variables
7332 * lyxtextclass.C (readTitleType):
7334 (LyXTextClass): handle new members titletype_ and titlename_
7336 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7338 2003-02-09 John Levon <levon@movementarian.org>
7341 * buffer.C: replace hand-coded list with a map for the dep clean
7343 2003-02-08 John Levon <levon@movementarian.org>
7345 * LaTeX.C: consolidate code into showRunMessage() helper
7347 2003-02-08 John Levon <levon@movementarian.org>
7352 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7353 and pass the size in explicitly
7355 * BufferView_pimpl.h:
7356 * BufferView_pimpl.C:
7358 * BufferView.C: add getCurrentChange()
7360 * BufferView_pimpl.h:
7361 * BufferView_pimpl.C: handle change lfuns
7363 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7364 for changes. Mark pasted paragraphs as new.
7366 * support/lyxtime.h:
7367 * support/lyxtime.C:
7368 * DepTable.C: abstract time_t as lyx::time_type
7371 * LColor.C: add colours for new text, deleted text, changebars
7373 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7374 package use "usenames" option.
7378 * LyXAction.C: add change lfuns
7382 * author.C: author handling
7385 * buffer.C: add a per-buffer author list, with first entry as
7386 current author. Handle new .lyx tokens for change tracking. Output
7387 author list to .lyx file. Output dvipost stuff to .tex preamble.
7388 Bump lyx format to 222.
7391 * bufferlist.C: add setCurrentAuthor() to reset current author details
7395 * bufferparams.C: add param for tracking
7397 * bufferview_funcs.C: output change info in minibuffer
7401 * changes.C: add change-tracking structure
7404 * debug.C: add CHANGES debug flag
7407 * lyxfind.C: add code for finding the next change piece
7410 * lyxrc.C: add user_name and user_email
7413 * lyxrow.C: add a metric for the top of the text line
7416 * text.C: implement accept/rejectChange()
7419 * text.C: paint changebars. Paint new/deleted text in the chosen
7420 colours. Strike through deleted text.
7424 * paragraph_pimpl.h:
7425 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7426 in the current change to the insert functions. Rework erase to
7427 mark text as deleted, adding an eraseIntern() and a range-based
7428 erase(). Implement per-paragraph change lookup and
7431 * paragraph_funcs.C: Fixup paste for change tracking.
7433 * tabular.C: mark added row/columns as new.
7435 * text.C: fix rowLast() to never return -1. Don't allow
7436 spellchecking of deleted text. Track transpose changes. Don't
7437 allow paragraph break or merge where appropriate.
7439 * text2.C: leave cursor at end of selection after a cut.
7441 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7443 * text.C (getLengthMarkerHeight):
7444 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7445 visible on screen too.
7447 2003-02-07 John Levon <levon@movementarian.org>
7449 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7451 2003-02-05 Angus Leeming <leeming@lyx.org>
7453 * lyxserver.C (read_ready): revert my patch of 11 September last year
7454 as it sends PC cpu through the roof. Presumably this means that
7455 the lyxserver will no longer run on an Alpha...
7457 2003-01-30 Angus Leeming <leeming@lyx.org>
7459 * factory.C (createInset): create an InsetCommandParam of type "index"
7460 and use it to 'do the right thing'.
7462 * text2.C (getStringToIndex): ensure that cursor position is always
7463 reset to the reset_cursor position.
7465 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7467 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7470 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7474 * lyxfunc.C: Output messages with identical spelling, punctuation,
7477 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7479 * MenuBackend.C (expandFormats): List only viewable export formats
7482 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7485 * lyxfunc.C (getStatus): Make sure that formats other than
7486 "fax" can also be disabled
7488 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7490 * text3.C (dispatch): put the lfuns that insert insets in 3
7491 groups, and call doInsertInset with appropriate arguments.
7492 (doInsertInset): new function, that creates an inset and inserts
7493 it according to some boolean parameters.
7495 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7497 * buffer.C (readFile): remember to pass on 'par' when calling
7498 readFile recursively.
7500 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7502 * MenuBackend.C (expandFormats): add "..." to import formats.
7504 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7506 * paragraph.C (asString): Remove XForms RTL hacks.
7508 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7509 * buffer.C: fix typo
7511 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7513 * Makefile.am (LIBS): delete var
7514 (lyx_LDADD): add @LIBS@ here instead.
7516 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7518 * Clarify the meaning of "wheel mouse jump"
7520 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7522 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7525 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7527 * importer.C (Loaders): do not preallocate 3 elements in the
7528 vector, since one ends up with 6 elements otherwise
7530 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7532 * DepTable.C (write): write the file name as last element of the
7533 .dep file (because it may contain spaces)
7534 (read): read info in the right order
7536 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7538 * paragraph_pimpl.C (simpleTeXBlanks):
7539 (simpleTeXSpecialChars):
7540 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7542 * tabular.C (latex): add some missing case statements. Reindent.
7544 * MenuBackend.C (expandToc): remove unused variable.
7546 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7555 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7558 2003-01-05 John Levon <levon@movementarian.org>
7561 * BufferView.C: add getEncoding()
7564 * kbsequence.C: do not store last keypress
7567 * lyxfunc.C: store last keypress here instead. Pass encoding
7570 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7572 * lyx_main.C (init): remove annoying error message when following
7573 symbolic links (bug #780)
7575 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7577 * text.C (insertChar):
7578 * lyxrc.C (getDescription): remove extra spaces
7580 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7582 * lyxrc.C (getDescription): remove extra spaces
7584 2002-12-20 John Levon <levon@movementarian.org>
7586 * text3.C: hack fix for page up/down across tall rows
7588 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7590 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7593 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7595 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7596 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7597 thesaurus is not compiled in
7599 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7601 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7603 2002-12-16 Angus Leeming <leeming@lyx.org>
7606 * lyx_main.C (init): remove override_x_deadkeys stuff.
7608 2002-12-12 John Levon <levon@movementarian.org>
7610 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7611 insert. Only remove shift modifier under strict
7614 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7616 * MenuBackend.C (expandToc): fix crash.
7618 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7620 * MenuBackend.C (expandToc): gettext on float names.
7622 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7624 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7625 implement bool empty() [bug 490]
7627 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7629 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7631 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7633 * several files: ws changes
7635 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7637 * text2.C (setCounter): clean up a bit, use boost.format.
7638 (updateCounters): initialize par upon declaration.
7640 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7641 if the layout exists. We do not just store the layout any more.
7642 (SwitchLayoutsBetweenClasses): use boost.format
7644 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7646 * converter.C (convert): if from and to files are the same, use a
7647 temporary files as intermediary
7649 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7652 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7654 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7656 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7658 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7660 * tabular.C (asciiPrintCell): use string(size, char) instead of
7663 * sgml.C (openTag): fix order of arguments to string constructor
7666 * lyxfunc.C (dispatch): use boost.format
7668 * lots of files: change "c" -> 'c'
7670 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7672 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7674 2002-11-25 Angus Leeming <leeming@lyx.org>
7676 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7678 * lyx_main.C (init): compile fix.
7680 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7682 * lyx_cb.C (start): boost.formatify
7683 do not include <iostream>
7685 * lengthcommon.C: ws only
7687 * boost-inst.C,BoostFormat.h: add more explict instantations
7689 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7691 * lots of files: handle USE_BOOST_FORMAT
7693 2002-11-21 John Levon <levon@movementarian.org>
7695 * pspell.C: fix compile
7697 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7699 * lyxfunc.C (dispatch): use boost::format
7703 * lyxfont.C (stateText): use boost::format
7705 * lyx_main.C (LyX): use boost::format
7707 (queryUserLyXDir): ditto
7710 (typedef boost::function): use the recommened syntax.
7712 * importer.C (Import): use boost::format
7714 * debug.C (showLevel): use boost::format
7716 * converter.C (view): use boost::format
7721 * bufferview_funcs.C (currentState): use boost::format
7723 * bufferlist.C (emergencyWrite): use boost::format
7725 * buffer.C (readLyXformat2): use boost::format
7726 (parseSingleLyXformat2Token): ditto
7728 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7730 * LaTeX.C (run): use boost::format
7732 * Chktex.C (scanLogFile): use boost::format
7734 * BufferView_pimpl.C (savePosition): use boost::format
7735 (restorePosition): ditto
7736 (MenuInsertLyXFile): ditto
7738 * BoostFormat.h: help file for explicit instation.
7740 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7742 * tabular.C (latex): Support for block alignment in fixed width
7745 2002-11-17 John Levon <levon@movementarian.org>
7747 * BufferView_pimpl.C:
7749 * lyxfunc.C: split filedialog into open/save
7751 2002-11-08 Juergen Vigna <jug@sad.it>
7753 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7754 by my last patch (hopefully).
7756 2002-11-08 John Levon <levon@movementarian.org>
7765 * toc.C: ParConstIterator, and use it (from Lars)
7767 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7769 * lyxtextclass.[Ch]: revise and add doxygen comments
7771 2002-11-07 John Levon <levon@movementarian.org>
7773 * text.C: fix progress value for spellchecker
7775 * toc.C: fix navigate menu for insetwrap inside minipage
7777 * paragraph_funcs.C: added FIXME for suspect code
7779 2002-11-07 John Levon <levon@movementarian.org>
7781 * BufferView_pimpl.C: fix redrawing of insets
7784 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7786 * text2.C (updateCounters): fix bug 668
7788 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7790 * text3.C (dispatch): Do not make the buffer dirty when moving the
7793 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7795 * vc-backend.C: STRCONV
7798 * text2.C (setCounter): STRCONV
7800 * paragraph.C (asString): STRCONV
7802 * lyxlength.C (asString): STRCONV
7803 (asLatexString): ditto
7805 * lyxgluelength.C (asString): STRCONV
7806 (asLatexString): ditto
7808 * lyxfunc.C (dispatch): STRCONV
7811 * lyxfont.C (stateText): STRCONV
7813 * importer.C (Import): STRCONV
7815 * counters.C (labelItem): STRCONV
7816 (numberLabel): ditto
7817 (numberLabel): remove unused ostringstream o
7822 * bufferview_funcs.C (currentState): STRCONV
7824 * buffer.C (readFile): STRCONV
7825 (asciiParagraph): ditto
7826 (makeLaTeXFile): ditto
7828 * Spacing.C (writeEnvirBegin): STRCONV
7830 * LaTeXFeatures.C (getLanguages): STRCONV
7831 (getPackages): ditto
7833 (getBabelOptions): ditto
7834 (getTClassPreamble): ditto
7835 (getLyXSGMLEntities): ditto
7836 (getIncludedFiles): ditto
7840 (scanAuxFile): ditto
7843 * LString.h: add the STRCONV macros
7845 * BufferView_pimpl.C (savePosition): STRCONV
7846 (restorePosition): ditto
7847 (MenuInsertLyXFile): ditto
7849 * vc-backend.C (scanMaster): change from submatch[...] to
7852 * funcrequest.C: include config.h
7854 * factory.C: include config.h
7856 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7858 * box.C: include config.h
7860 * LaTeX.C (scanAuxFile): change from submatch[...] to
7864 2002-10-25 Angus Leeming <leeming@lyx.org>
7866 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7868 * ispell.[Ch] (setError): new method.
7869 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7870 Use setError() insetead of goto END.
7872 * lyx_cb.C (AutoSave): move out child process into new class
7875 2002-10-30 John Levon <levon@movementarian.org>
7877 * text3.C: make start appendix undoable
7879 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7881 * lyxlength.C (inPixels): Fix returned value.
7883 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7886 2002-10-24 Angus Leeming <leeming@lyx.org>
7888 * lyxgluelength.h: no need to forward declare BufferParams
7889 or BufferView, so don't.
7891 2002-10-21 John Levon <levon@movementarian.org>
7893 * BufferView.C: menuUndo ->undo, redo
7895 * BufferView.h: document, remove dead, make some methods private
7897 * paragraph_funcs.h:
7898 * paragraph_funcs.C:
7899 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7904 * sgml.C: move sgml open/close tag into sgml.C
7906 * bufferview_funcs.h: unused prototype
7909 * lyxfunc.C: remove unused
7912 * text.C: remove unused
7914 2002-10-21 John Levon <levon@movementarian.org>
7918 * BufferView_pimpl.h:
7919 * BufferView_pimpl.C: fix mouse wheel handling based on
7920 patch from Darren Freeman
7922 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7924 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7926 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7928 * lyxlength.C (inPixels): Fix hanfling of negative length.
7929 Fix LyXLength::MU case.
7931 2002-10-16 John Levon <levon@movementarian.org>
7933 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7935 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7937 * converter.C (view): add support for $$i (file name) and $$p
7938 (file path) for the viewer command. If $$i is not specified, then
7939 it is appended to the command (for compatibility with old syntax)
7941 2002-10-14 Juergen Vigna <jug@sad.it>
7943 * undo_funcs.C (textHandleUndo): alter the order in which the
7944 new undopar is added to the LyXText, as we have to set first
7945 the right prev/next and then add it as otherwise the rebuild of
7946 LyXText is not correct. Also reset the cursor to the right paragraph,
7947 with this IMO we could remove the hack in "redoParagraphs()".
7949 2002-10-09 Angus Leeming <leeming@lyx.org>
7951 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7952 to turn off an optimisation if a new inset is to be inserted.
7954 2002-10-11 André Pönitz <poenitz@gmx.net>
7956 * lyxtext.h: make some functions public to allow access
7957 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7959 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7961 * text3.C (dispatch): when changing layout, avoid an infinite loop
7964 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7966 * lyxrc.C (read): treat a viewer or converter command of "none" as
7969 * MenuBackend.C (expandFormats): for an update, also allow the
7970 formats that are not viewable
7972 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7973 script if it is newer than the lyxrc.defaults in user directory
7975 2002-10-07 André Pönitz <poenitz@gmx.net>
7977 * text.C: Vitaly Lipatov's small i18n fix
7979 2002-09-25 Angus Leeming <leeming@lyx.org>
7981 * ispell.h: doxygen fix.
7983 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7985 * buffer.h (readFile): Add a new argument to the method, to allow
7986 reading of old-format templates.
7988 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7990 * toc.C (getTocList): Get TOC from InsetWrap.
7992 2002-09-16 John Levon <levon@movementarian.org>
7994 * lyxfunc.C: check tabular for cut/copy too
7996 2002-09-12 John Levon <levon@movementarian.org>
8001 * factory.C: add header
8003 * paragraph_funcs.h:
8004 * paragraph_funcs.C: cleanup
8006 2002-09-11 John Levon <levon@movementarian.org>
8008 * PrinterParams.h: odd/even default to true
8010 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8012 * PrinterParams.h: update printer parameters for new xforms dialog
8014 2002-09-11 Angus Leeming <leeming@lyx.org>
8016 * lyxserver.C (read_ready): re-write to make it more transparent
8017 and to make it work in coherent fashion under Tru64 Unix.
8019 2002-09-11 André Pönitz <poenitz@gmx.net>
8023 * text3.C: implement LFUN_WORDSEL
8025 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8027 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8028 make floatlist_ a boost::shared_ptr<FloatList>
8030 * lyxtextclass.C: include FloatList.h
8031 (LyXTextClass): initialize floatlist_
8032 (TextClassTags): add TC_NOFLOAT
8033 (Read): match "nofloat" to TC_NOFLOAT and use it.
8034 (readFloat): modify call to floatlist_
8038 * FloatList.[Ch] (FloatList): remove commented out float
8040 (erase): new function
8042 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8044 * MenuBackend.C (expandToc): fix crash when there is no document
8047 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8049 * many files: Add insetwrap.
8051 2002-09-09 John Levon <levon@movementarian.org>
8053 * text2.C: remove confusing and awkward depth wraparound
8055 2002-09-09 John Levon <levon@movementarian.org>
8057 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8060 * buffer.C: remove getIncludeonlyList()
8063 * lyxfunc.C: remove headers
8065 2002-09-09 Juergen Vigna <jug@sad.it>
8067 * text.C (getColumnNearX): fix form Michael this is most
8068 probably a cut&paste bug.
8070 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8072 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8074 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8075 references, ws changes.
8077 * text2.C (init): update counters after init
8078 (insertParagraph): no need to set counter on idividual paragraphs.
8079 (setCounter): access the counters object in the textclass object
8080 on in the buffer object.
8081 (updateCounters): ditto
8083 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8084 shared_ptr<Counters> to avoid loading counters.h in all
8086 (LyXTextClass): initialize ctrs_
8087 (TextClassTags): add TC_COUNTER, and ...
8088 (Read): use it here.
8089 (CounterTags): new tags
8090 (readCounter): new function
8091 (counters): new funtion
8092 (defaultLayoutName): return a const reference
8094 * counters.C (Counters): remove contructor
8095 (newCounter): remove a couple of unneeded statements.
8096 (newCounter): simplify a bit.
8097 (numberLabel): some small formatting changes.
8099 * buffer.[Ch]: remove all traces of counters, move the Counters
8100 object to the LyXTextClass.
8102 2002-09-06 Alain Castera <castera@in2p3.fr>
8104 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8105 package to set the horizontal alignment on fixed width columns.
8108 * lyx_sty.h: added tabularnewline macro def.
8110 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8112 2002-09-06 John Levon <levon@movementarian.org>
8114 * LyXAction.C: tooltips for sub/superscript
8116 * MenuBackend.C: a bit more verbose
8118 * lyxfunc.C: tiny clean
8120 * undo_funcs.C: document undo_frozen
8122 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8124 * counters.C (Counters): add missing algorithm counter.
8126 * text2.C (setCounter): lookup the counter with layouts latexname
8127 instead of by section number.
8128 (setCounter): use a hackish way to lookup the correct enum
8130 a float name->type change
8131 reset enum couners with counter name directly instead of depth value.
8133 * counters.C (Counters): remove the push_backs, change to use the
8134 float type not the float name.
8135 (labelItem): remove unused string, float name->type change
8137 * counters.h: don't include vector, loose the enums and sects vectors
8139 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8141 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8142 (Read): add float->TC_FLOAT to textclassTags
8143 (Read): and handle it in the switch
8144 (readFloat): new function
8146 * FloatList.C (FloatList): comment out the hardcoded float
8149 * lyxlayout.h: ws change.
8151 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8153 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8155 2002-09-03 Angus Leeming <leeming@lyx.org>
8157 * BufferView_pimpl.h: qualified name is not allowed in member
8158 declaration: WorkArea & Pimpl::workarea() const;
8160 * factory.C: added using std::endl directive.
8162 * text3.C: added using std::find and std::vector directives.
8164 2002-08-29 André Pönitz <poenitz@gmx.net>
8167 * text2.C: remove unused member number_of_rows
8170 * BufferView2.C: remove file, move contents to...
8171 * BufferView.C: ... here
8173 * BufferView_pimpl.C:
8174 * factory.C: move more inset creation to factory
8176 * vspace.C: avoid direct usage of LyXText, ws changes
8179 don't provide direct access to WorkArea, use two simple
8180 acessors haveSelction() and workHeight() instead
8183 2002-08-29 John Levon <levon@movementarian.org>
8185 * BufferView_pimpl.C (dispatch): do not continue when
8188 2002-08-28 André Pönitz <poenitz@gmx.net>
8190 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8193 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8195 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8197 * buffer.C: increment LYX_FORMAT to 221
8199 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8200 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8202 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8204 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8206 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8208 * factory.C (createInset): use LyXTextClass::floats
8210 * MenuBackend.C (expandFloatListInsert):
8211 (expandFloatInsert):
8214 * text2.C (setCounter):
8216 * LaTeXFeatures.C (useFloat):
8217 (getFloatDefinitions):
8219 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8221 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8222 floatlist_, with accessor floats().
8224 * FloatList.h: remove global FloatList
8226 2002-08-26 André Pönitz <poenitz@gmx.net>
8228 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8232 * BufferView_pimpl.C:
8233 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8235 2002-08-25 John Levon <levon@movementarian.org>
8237 * LyXAction.C: fix margin note description
8239 2002-08-24 John Levon <levon@movementarian.org>
8243 * bufferview_funcs.C:
8245 * undo_funcs.C: cleanups
8247 * lyxfunc.C: disable CUT/COPY when no selection
8249 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8251 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8252 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8254 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8255 Add backward compatibility to "mono", "gray" and "no".
8257 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8259 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8260 (and file_format >= 200).
8262 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8264 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8266 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8268 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8270 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8272 * BufferView_pimpl.C:
8279 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8280 inset and code to make it work with the paragraph code. The inset
8281 can be anywhere in the paragraph, but will only do the expected
8282 thing in LaTeX if the layout file contains the parameter line
8284 (or more generally, a nonzero value) for that layout.
8286 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8288 * paragraph.h: remove the declaration of undefined counters class
8291 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8293 * text2.C (setCounter): fixed enumeration mis-count as reported by
8294 Dr. Richard Hawkins.
8296 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8298 * paragraph_funcs.h: remove some unneeded includes
8300 * text.C (backspace): pasteParagraph now in global scipe
8302 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8303 (pasteSelection): ditto
8305 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8306 * paragraph_funcs.C (pasteParagraph): ... here
8308 2002-08-20 André Pönitz <poenitz@gmx.net>
8310 * commandtags.h: new LFUNs for swapping/copying table row/colums
8313 * lyxfunc.C: support for new lfuns
8315 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8318 * buffer.[Ch]: remove NO_COMPABILITY stuff
8320 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8322 * boost.C (throw_exception): new file, with helper function for
8323 boost compiled without exceptions.
8328 * ParameterStruct.h:
8329 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8331 * bufferlist.C (emergencyWriteAll): use boost bind
8333 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8335 * text.C: include paragraph_funcs.h
8336 (breakParagraph): breakParagraph is now in global scope
8338 * paragraph_funcs.[Ch]: new files
8340 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8343 * buffer.C: include paragraph_funcs.h
8344 (insertStringAsLines): breakParagraph is now in global scope
8346 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8349 * CutAndPaste.C: include paragraph_funcs.h
8350 (cutSelection): breakParagraphConservative is now in global scope
8351 (pasteSelection): ditto
8353 * buffer.h: declare oprator== and operator!= for
8354 Buffer::inset_iterator
8356 * bufferlist.C (emergencyWrite): don't use fmt(...)
8358 * text3.C: add using std::endl
8360 * BufferView.C (moveCursorUpdate): remove default arg
8362 2002-08-20 André Pönitz <poenitz@gmx.net>
8364 * buffer.[Ch]: move inline functions to .C
8367 * BufferView_pimpl.C:
8369 * buffer.[Ch]: use improved inset_iterator
8372 * paragraph.[Ch]: write one paragraph at a time
8374 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8376 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8377 style if style is not specified.
8379 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8381 * text2.C (setCounter): when searching for right label for a
8382 caption, make sure to recurse to parent insets (so that a caption
8383 in a minipage in a figure float works) (bug #568)
8385 2002-08-20 André Pönitz <poenitz@gmx.net>
8387 * text3.C: new file for LyXText::dispatch() and helpers
8389 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8391 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8393 2002-08-19 André Pönitz <poenitz@gmx.net>
8396 * text.C: new LyXText::dispatch()
8398 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8400 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8402 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8404 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8407 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8409 * Makefile.am: use $(variables) instead of @substitutions@
8411 2002-08-15 André Pönitz <poenitz@gmx.net>
8414 * BufferView_pimpl.C: streamlining mathed <-> outer world
8418 * LyXAction.C: remove unused LFUN_MATH
8420 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8422 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8424 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8426 * paragraph.C (Paragraph): reformat a bit
8427 (cutIntoMinibuffer): use builtin InsetList function instad of
8431 * buffer.C: include boost/bind.hpp, add using std::for_each
8432 (writeFileAscii): use ParagraphList iterators
8433 (validate): use for_each for validate traversal of paragraphs
8434 (getBibkeyList): use ParagraphList iterators
8435 (resizeInsets): use for_each to resizeInsetsLyXText for all
8437 (getParFromID): use ParagraphList iterators
8439 * BufferView2.C (lockInset): use paragraph list and iterators
8441 2002-08-14 John Levon <levon@movementarian.org>
8443 * lyxserver.C: remove spurious xforms include
8445 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8447 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8449 2002-08-13 André Pönitz <poenitz@gmx.net>
8452 * lyxfunc.C: further cleaning
8454 2002-08-13 André Pönitz <poenitz@gmx.net>
8456 * funcrequest.h: new constructor
8458 * funcrequest.C: move stuff here from .h
8461 * BufferView_pimpl.C:
8464 * lyxfunc.C: subsequent changes
8466 * lyxfunc.h: new view() member function
8468 * lyxfunc.C: subsequent changes
8470 2002-08-13 Angus Leeming <leeming@lyx.org>
8473 * BufferView_pimpl.C:
8481 changes due to the changed LyXView interface that now returns references
8482 to member variables not pointers.
8484 2002-08-13 Angus Leeming <leeming@lyx.org>
8486 * WordLangTuple (word, lang_code): return references to strings,
8491 * lyxtext.h: forward-declare WordLangTuple.
8496 * text.C: #include "WordLangTuple.h".
8499 * text.C: (selectNextWordToSpellcheck): constify return type.
8501 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8507 * paragraph_pimpl.h:
8510 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8512 Made updateCounter always count from start of buffer, and removed
8513 second argument (par).
8514 Reverted floats number display to '#'. Perhaps I'll try again when the
8515 code base is sanitized a bit.
8517 2002-08-12 Angus Leeming <leeming@lyx.org>
8519 * buffer.[Ch] (getLabelList): constify.
8521 2002-08-07 André Pönitz <poenitz@gmx.net>
8523 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8525 * funcrequest.h: extension to keep mouse (x,y) position
8527 2002-08-12 Juergen Vigna <jug@sad.it>
8529 * BufferView2.C (insertErrors): forbid undo when inserting error
8532 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8534 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8536 * ParagraphList.[Ch]: new files
8538 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8540 * BufferView2.C (lockInset): ParagraphList changes
8543 * bufferlist.C: ditto
8547 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8549 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8550 unused class variable counter_,
8552 * paragraph.[Ch] (getFirstCounter): delete unused function
8554 * counters.C: include LAssert.h
8555 (reset): add a new function with no arg, change other version to
8556 not have def. arg and to not allow empty arg.
8558 * text2.C (setCounter): remove empty arg from call to Counters::reset
8560 2002-08-11 John Levon <levon@movementarian.org>
8562 * Makefile.am: add WordLangTuple.h
8564 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8566 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8567 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8569 * insets/insettext.C: InsetList changes
8571 * graphics/GraphicsSupport.C (operator()): InsetList changes
8573 * toc.C (getTocList): InsetList changes
8575 * paragraph_pimpl.[Ch]: InsetList changes
8577 * paragraph.[Ch]: InsetList changes
8579 * buffer.C (inset_iterator): InsetList changes
8580 (setParagraph): ditto
8581 * buffer.h (inset_iterator): ditto
8582 * iterators.C (operator++): ditto
8583 * iterators.h: ditto
8585 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8587 * InsetList.[Ch]: new files, most InsetList handling moved out of
8590 * BufferView2.C (removeAutoInsets): InsetList changes
8592 (ChangeInsets): ditto
8594 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8596 * paragraph_pimpl.h (empty): new function
8598 * paragraph.[Ch] (empty): new function
8600 * other files: use the new Paragraph::empty function
8602 2002-08-09 John Levon <levon@movementarian.org>
8604 * lyxtext.h: remove unused refresh_height
8606 2002-08-09 John Levon <levon@movementarian.org>
8613 * paragraph.C: move sgml char escaping out of paragraph
8616 * paragraph.C: remove id setter
8620 * paragraph_pimpl.C: remove dead tex_code_break_column
8622 * bufferview_funcs.C: small cleanup
8624 * lyxfunc.C: remove dead proto
8626 * lyxtext.h: make some stuff private. Remove some dead stuff.
8628 * lyxgluelength.C: make as[LyX]String() readable
8630 2002-08-08 John Levon <levon@movementarian.org>
8635 * ToolbarDefaults.C:
8638 * toc.C: lyxaction cleanup
8640 2002-08-08 John Levon <levon@movementarian.org>
8642 * BufferView2.C: small cleanup
8645 * lyxfind.C: move unnecessary header into the .C
8647 2002-08-08 John Levon <levon@movementarian.org>
8649 * funcrequest.h: just tedious nonsense
8652 * lyx_main.C: cleanups
8655 * vspace.C: remove dead header lyx_main.h
8657 2002-08-07 Angus Leeming <leeming@lyx.org>
8660 * paragraph_pimpl.h:
8661 Forward declare class Counters in paragraph.h by moving the ctrs member
8662 variable into Paragraph::Pimpl.
8663 (counters): new method, returning a reference to pimpl_->ctrs.
8665 * text2.C: ensuing changes.
8667 2002-08-07 John Levon <levon@movementarian.org>
8669 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8671 * BufferView_pimpl.C: announce X selection on double/triple
8674 * lyx_main.C: use correct bool in batch dispatch
8676 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8678 2002-08-07 André Pönitz <poenitz@gmx.net>
8680 * funcrequest.h: new class to wrap a kb_action and its argument
8683 * BufferView_pimpl[Ch]:
8687 * lyxrc.C: subsequent changes
8690 2002-08-07 John Levon <levon@movementarian.org>
8692 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8693 document options change.
8695 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8700 * makefile.am: move counters functionality over from
8701 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8703 2002-08-06 John Levon <levon@movementarian.org>
8705 * WordLangTuple.h: new file for word + language code tuple
8716 * BufferView2.C: use WordLangTuple
8719 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8721 2002-08-06 John Levon <levon@movementarian.org>
8723 * lyx_main.C: fix cmdline batch handling
8725 2002-08-06 André Pönitz <poenitz@gmx.net>
8727 * lyxrc.C: set default for show_banner to true
8729 2002-08-06 John Levon <levon@movementarian.org>
8731 * pspell.C: fix a crash, and allow new aspell to work
8733 2002-08-06 John Levon <levon@movementarian.org>
8736 * kbmap.C: small cleanup
8739 * vspace.C: add const
8741 2002-08-05 John Levon <levon@movementarian.org>
8743 * LyXAction.C: back to tabular-insert
8745 2002-08-04 John Levon <levon@movementarian.org>
8748 * BufferView.C: cosmetic change
8750 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8760 * BufferView2.C: purge all "Lyx" not "LyX" strings
8763 * lyxcursor.C: attempt to add some documentation
8768 * ToolbarDefaults.C:
8769 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8770 merge with LFUN_TABULAR_INSERT
8777 * pspell.C: split up i/pspell implementations into separate
8778 files, many cleanups
8780 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8782 * text2.C: some cleanup
8784 * lyxfunc.C: don't check for isp_command == "none" any more, it
8785 didn't make any sense
8787 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8792 * makefile.am: move counters functionality over
8793 from text2.C/paragraph.[Ch] to counters.[Ch], and
8795 2002-08-02 John Levon <levon@movementarian.org>
8797 * buffer.C: s/lyxconvert/lyx2lyx/
8799 2002-08-02 Angus Leeming <leeming@lyx.org>
8801 * lyxlex.C: revert John's change as it breaks reading of the user
8804 2002-08-02 Angus Leeming <leeming@lyx.org>
8806 * importer.C (Import):
8807 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8808 changes due to LyXView::view() now returning a boost::shared_ptr.
8810 2002-08-02 John Levon <levon@movementarian.org>
8812 * lyxlex.C: small cleanup
8814 2002-08-02 John Levon <levon@movementarian.org>
8816 * text2.C (status): small cleanup, no logic change
8818 2002-08-01 John Levon <levon@movementarian.org>
8821 * buffer.C (writeFile): don't output alerts, caller
8825 * lyx_cb.C: from above
8827 * lyxfunc.C: allow to open non-existent files
8829 2002-07-31 John Levon <levon@movementarian.org>
8831 * lyxserver.C: don't let incidental errors get
8834 2002-07-30 John Levon <levon@movementarian.org>
8836 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8838 2002-07-30 John Levon <levon@movementarian.org>
8841 * lyxserver.C: remove I/O callback too
8843 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8845 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8848 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8850 * many files: strip,frontStrip -> trim,ltrim,rtrim
8852 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8854 * PrinterParams.h: remove extern containsOnly, and include
8855 support/lstrings.h instead.
8857 * LaTeX.C (scanAuxFile): modify because of strip changes
8859 * buffer.C (makeLaTeXFile): ditto
8860 * bufferparams.C (writeFile): ditt
8861 * lyxfont.C (stateText): ditto
8862 * lyxserver.C (read_ready): ditto
8863 * vc-backend.C (scanMaster): ditto
8865 * BufferView_pimpl.h: ws changes
8867 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8869 2002-07-26 André Pönitz <poenitz@gmx.net>
8871 * kb_sequence.C: remove unnedred usings
8873 2002-07-26 Juergen Vigna <jug@sad.it>
8875 * lyxfind.C (LyXReplace): we have to check better if the returned
8876 text is not of theLockingInset()->getLockingInset().
8878 2002-07-25 Juergen Vigna <jug@sad.it>
8880 * lyxfind.C (LyXReplace): don't replace if we don't get the
8883 * undo_funcs.C (createUndo): remove debugging code.
8885 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8887 * buffer.C (parseSingleLyXformat2Token): Use default placement
8888 when reading old floats.
8890 * FloatList.C (FloatList): Change the default placement of figure
8891 and tables to "tbp".
8893 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8895 * MenuBackend.C: using std::max
8897 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8899 * MenuBackend.C (expandToc):
8900 (expandToc2): code moved from xforms menu frontend. It is now
8901 generic and TOCs are transparent to menu frontends.
8903 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8905 * toc.C (getTocList): protect against buf=0
8907 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8908 Menu as first parameter. Now, this calls itself recursively to
8909 expand a whole tree (this will be useful for TOC handling)
8910 (expandFloatInsert): remove 'wide' version of floats
8912 * MenuBackend.h (submenuname): returns the name of the submenu.
8913 (submenu): returns the submenu itself, provided it has been
8914 created by MenuBackend::expand
8916 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8918 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8919 insets which have noFontChange == true. (bug #172)
8921 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8923 * BufferView_pimpl.C: add connection objects and use them...
8926 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8928 * MenuBackend.C (expandLastfiles):
8931 (expandFloatListInsert):
8932 (expandFloatInsert):
8933 (expand): split expand in parts
8935 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8937 * lyx_gui.C: use lyx_gui::exit()
8939 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8941 * LyXAction.C: show the failing pseudo action
8943 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8945 * buffer.C (readFile): Run the lyxconvert script in order to read
8948 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8952 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8954 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8958 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8960 2002-07-22 Herbert Voss <voss@lyx.org>
8963 * lyxlength.[Ch]: add support for the vertical lengths
8965 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8967 * toc.[Ch]: std:: fixes
8969 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8971 * lyxrc.C: do not include lyx_main.h
8973 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8979 * BufferView2.C: include "lyxlex.h"
8982 * bufferparams.h: do not #include "lyxlex.h"
8984 * lyxtextclasslist.C (Add): remove method
8985 (classlist): renamed to classlist_
8987 * paragraph_pimpl.C:
8991 * bufferview_funcs.C:
8996 * toc.C (getTocList): use BufferParams::getLyXTextClass
8998 * toc.C (getTocList): use InsetFloat::addToToc
9000 * toc.[Ch]: new files, containing helper functions to handle table
9003 * lyxfunc.C (dispatch): no need to remove spaces around command
9005 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9006 first command of the sequence; it is not very clever, but I do not
9007 have a better idea, actually
9009 * LyXAction.C (LookupFunc): make sure to remove space at the
9010 beginning and end of the command
9012 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9014 * MenuBackend.C (getMenubar): new method: return the menubar of
9016 (read): treat differently reading of menu and menubar (in
9017 particular, the menubar has no name now)
9018 (Menu::menubar): remove
9020 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9023 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9025 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9026 a bibitem inset in a RTL paragraph.
9028 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9030 * paragraph_pimpl.C: constify
9032 * BufferView_pimpl.C:
9034 * lyxfunc.C: fix dispatch in a nicer way
9036 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9038 * lyxfunc.C (dispatch):
9039 * BufferView_pimpl.C:
9040 * BufferView_pimpl.h:
9042 * BufferView.h: rename Dispatch() to dispatch()
9044 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9046 * lyxlayout.C (Read): honor DependsOn tag
9048 * lyxlayout.[Ch] (depends_on): new method
9050 * version.C.in: update lyx_docversion
9052 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9054 * paragraph.C (validate): remove from here...
9055 * paragraph_pimpl.C (validate): ... and move here
9056 (isTextAt): make it const
9058 * buffer.C (getLists): ws cleanup
9060 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9062 * language.C (read): Use iso8859-1 encoding in latex_lang
9063 (this prevents LyX from crashing when using iso10646-1 encoding).
9065 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9067 * text2.C (toggleInset): if cursor is inside an inset, close the
9068 inset and leave cursor _after_ it
9070 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9072 * lyxfunc.C: move minibuffer completion handling out of here
9074 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9076 * BufferView_pimpl.C:
9077 * LaTeX.C: fix dispatch calls
9079 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9081 * text.C (drawChars): Fix Arabic text rendering.
9083 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9087 * lyxfunc.C: remove message-push/pop
9091 * lyxfunc.C: rationalise some code by removing verboseDispatch
9092 in favour of a bool argument to dispatch()
9094 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9096 * lyx_main.C (init): make sure to read symlinks as absolute paths
9098 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9101 * lyxfunc.C: no need for commandshortcut to be a member
9103 2002-07-15 André Pönitz <poenitz@gmx.net>
9105 * converter.C: add support for $$s (scripts from lib/scripts dir)
9106 * lyx_main.C: white space
9108 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9112 * lyxrc.C: remove second exit confirmation
9114 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9119 * BufferView_pimpl.h:
9120 * BufferView_pimpl.C:
9121 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9123 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9125 * MenuBackend.C (expand): add numeric shortcuts to document menu
9127 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9129 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9131 * lyxfont.C (setLyXFamily):
9138 * buffer.C (asciiParagraph): use ascii_lowercase
9140 2002-07-15 Mike Fabian <mfabian@suse.de>
9142 * lyxlex_pimpl.C (search_kw):
9143 * lyxlex.C (getLongString):
9144 * converter.h (operator<):
9145 * converter.C (operator<):
9146 * buffer.C (parseSingleLyXformat2Token):
9148 * ToolbarDefaults.C (read):
9149 * MenuBackend.C (checkShortcuts):
9151 * LColor.C (getFromGUIName):
9152 (getFromLyXName): use the compare_ascii_no_case instead of
9153 compare_no_case, because in turkish, 'i' is not the lowercase
9154 version of 'I', and thus turkish locale breaks parsing of tags.
9156 2002-07-16 Angus Leeming <leeming@lyx.org>
9158 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9159 now takes a Buffer const & argument.
9161 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9163 * BufferView.C (resize): check there's a buffer to resize
9165 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9167 * lyxfunc.C: remove dead code
9170 * lyxserver.C: use lyx_guii::set_read_callback
9172 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9174 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9175 an inset in a RTL paragraph.
9177 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9179 * lyxfunc.C: repaint after a font size update
9181 2002-07-15 André Pönitz <poenitz@gmx.net>
9183 * lyxlength.C: inBP should be able to return negative values
9185 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9187 * lyxfunc.C: use lyx_gui::update_fonts()
9189 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9191 * lyxfunc.C: use lyx_gui::update_color()
9193 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9199 * lyxrc.C: remove file->new asks for name option, and let
9200 buffer-new take an argument
9202 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9204 * BufferView_pimpl.C: remove unneeded extra repaint()
9206 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9208 * LyXAction.C: allow command-sequence with NoBuffer
9210 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9212 2002-07-10 Angus Leeming <leeming@lyx.org>
9214 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9216 2002-07-09 Angus Leeming <leeming@lyx.org>
9218 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9220 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9222 * lengthcommon.h: whitespace
9224 * lyxfunc.C: update scrollbar after goto paragraph
9226 * lyxtext.h: factor out page break drawing, and fix it so
9227 page break/added space paints as selected nicely
9229 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9231 * BufferView_pimpl.C: add FIXMEs, clean up a little
9233 2002-07-09 André Pönitz <poenitz@gmx.net>
9235 * lyxfont.[Ch]: support for wasy symbols
9237 2002-07-08 André Pönitz <poenitz@gmx.net>
9239 * BufferView_pimpl.C: apply John's patch for #93.
9241 2002-07-05 Angus Leeming <leeming@lyx.org>
9243 * BufferView_pimpl.C (buffer): generate previews if desired.
9245 * LColor.h: add "preview" to the color enum.
9247 * LColor.C (LColor): add a corresponding entry to the items array.
9249 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9252 2002-07-05 Angus Leeming <leeming@lyx.org>
9254 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9255 The body of the code is now in the method that is passed an ostream &
9256 rather than a file name.
9257 Pass an additional only_preamble parameter, useful for the forthcoming
9260 2002-07-03 André Pönitz <poenitz@gmx.net>
9262 * lyxfunc.C: simplify getStatus() a bit for math stuff
9264 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9266 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9268 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9270 * text.C (changeRegionCase): do not change case of all the
9271 document when region ends at paragraph end (bug #461)
9273 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9275 * paragraph.C (startTeXParParams):
9276 (endTeXParParams): add \protect when necessary
9278 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9280 * BufferView_pimpl.C (workAreaExpose): remove warning
9282 2002-06-27 Angus Leeming <leeming@lyx.org>
9284 * Makefile.am: add lyxlayout_ptr_fwd.h.
9286 2002-06-26 André Pönitz <poenitz@gmx.net>
9288 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9290 2002-06-25 Angus Leeming <leeming@lyx.org>
9292 * lyxfunc.C (dispatch): Comment out the call to
9293 grfx::GCache::changeDisplay. The method no longer exists now that the
9294 pixmap generation part of the graphics loader has been moved into
9297 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9299 * text2.C: layout as layout
9301 * text.C: layout as layout
9303 * tabular.C (OldFormatRead): layout as layout
9305 * paragraph_pimpl.C (TeXDeeper): layout as layout
9306 (realizeFont): layout as layout
9308 * paragraph.C (writeFile): layout as layout
9309 (validate): layout as layout
9310 (getFont): layout as layout
9311 (getLabelFont): layout as layout
9312 (getLayoutFont): layout as layout
9313 (breakParagraph): layout as layout
9314 (stripLeadingSpaces): layout as layout
9315 (getEndLabel): layout as layout
9316 (getMaxDepthAfter): layout as layout
9317 (applyLayout): layout as layout
9318 (TeXOnePar): layout as layout
9319 (simpleTeXOnePar): layout as layout
9320 (TeXEnvironment): layout as layout
9321 (layout): layout as layout
9322 (layout): layout as layout
9324 * lyxtextclass.C (compare_name): new functor to work with
9325 shared_ptr, layout as layout
9326 (Read): layout as layout
9327 (hasLayout): layout as layout
9328 (operator): layout as layout
9329 (delete_layout): layout as layout
9330 (defaultLayout): layout as layout
9332 * lyxlayout_ptr_fwd.h: new file
9334 * lyxlayout.C (Read): layout as layout
9336 * lyx_cb.C (MenuInsertLabel): layout as layout
9338 * bufferlist.C (newFile): layout as layout
9340 * buffer.C (readLyXformat2): layout as layout
9341 (parseSingleLyXformat2Token): layout as layout
9342 (insertStringAsLines): layout as layout
9343 (asciiParagraph): layout as layout
9344 (latexParagraphs): layout as layout
9345 (makeLinuxDocFile): layout as layout
9346 (simpleLinuxDocOnePar): layout as layout
9347 (makeDocBookFile): layout as layout
9348 (simpleDocBookOnePar): layout as layout
9349 (getLists): layout as layout
9351 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9353 * CutAndPaste.C (cutSelection): layout as layout
9354 (pasteSelection): layout as layout
9355 (SwitchLayoutsBetweenClasses): layout as layout
9357 * BufferView_pimpl.C (Dispatch): layout as layout
9358 (smartQuote): layout as layout
9360 * BufferView2.C (unlockInset): layout as layout
9362 2002-06-24 André Pönitz <poenitz@gmx.net>
9364 * lyxfunc.C: fix #487
9366 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9370 * lyxfunc.C: remove display_shortcuts, show_banner
9372 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9374 * Buffer_pimpl.C: oops, update on resize
9376 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9383 * BufferView.C: use repaint()
9385 * BufferView_pimpl.h:
9386 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9387 as it's a clearer description. Remove superfluous
9390 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9392 * text.C: fix bug 488. Not ideal, but getting
9393 getWord() to work properly for the insets that
9394 matter is more difficult ...
9396 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9398 * BufferView_pimpl.C:
9401 * lyxfunc.C: remove the six million index lyxfuncs to just
9402 one, and DTRT (bug 458)
9404 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9408 * BufferView_pimpl.h:
9409 * BufferView_pimpl.C: clean up resize() stuff,
9410 and unnecessary updateScreen()s
9412 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9416 * BufferView_pimpl.h:
9417 * BufferView_pimpl.C:
9420 * minibuffer.C: remove focus management of workarea,
9421 not needed. Use screen's greyOut()
9423 2002-06-17 Herbert Voss <voss@lyx.org>
9425 * converter.C: (convert) do not post a message, when converting
9426 fails, let the calling function decide what to do in this case
9428 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9430 * lyxfunc.C: tidy up a little
9432 2002-06-16 <alstrup@diku.dk>
9434 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9435 Got rid of FORMS_H_LOCATION include. Now we are
9438 2002-06-15 LyX Development team <lyx@rilke>
9440 * buffer.[Ch] (sgmlOpenTag):
9441 (sgmlCloseTag): Added support for avoiding pernicious mixed
9442 content. Return number of lines written.
9445 (makeDocBookFile): Fixed calls to sgml*Tag.
9446 Simple white space clean.
9448 (simpleDocBookOnePar): Simple white space clean.
9450 * tabular.[Ch] (docBook): Renamed to docbook and got another
9451 argument to related with the pernicious mixed content.
9453 (docbookRow): Fixed calls for docbook inset method.
9455 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9457 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9458 so it's X11 independent.
9462 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9464 2002-06-15 Lyx Development team <lyx@electronia>
9466 * intl.h: Renamed getTrans to getTransManager.
9468 2002-06-14 Angus Leeming <leeming@lyx.org>
9470 * Makefile.am: nuke forgotten stl_string_fwd.h.
9472 2002-06-12 Angus Leeming <leeming@lyx.org>
9474 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9476 2002-06-13 Angus Leeming <leeming@lyx.org>
9479 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9481 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9483 * kbmap.C (getiso): add support for cyrillic and greek
9485 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9489 * BufferView_pimpl.h:
9490 * BufferView_pimpl.C: move bogus scrolling logic
9493 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9496 * BufferView_pimpl.C: view->resize() change
9498 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9500 * BufferView_pimpl.C: topCursorVisible
9503 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9507 * lyx_gui.C: move to frontends/
9511 * lyx_main.C: changes from above
9513 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9520 * lyx_main.C: minor tidy
9522 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9524 * BufferView_pimpl.h:
9525 * BufferView_pimpl.C:
9527 * BufferView.C: make painter() const,
9530 * BufferView2.C: use screen() accessor
9533 * lyx_main.C: some minor cleanup
9535 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9537 * BufferView_pimpl.h:
9538 * BufferView_pimpl.C: remove enter/leaveView,
9541 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9546 * BufferView_pimpl.h:
9547 * BufferView_pimpl.C: only construct screen once,
9550 * lyxrc.C: remove pointless comment
9552 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9555 * BufferView.C: remove active() and belowMouse()
9557 * BufferView_pimpl.h:
9558 * BufferView_pimpl.C: use workarea() not workarea_,
9559 and make it use a scoped_ptr instead
9561 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9563 * lyx_gui.C: add debug message on BadWindow
9565 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9567 * sp_spell.C: fdopen is not part of the C++ standard.
9569 * paragraph.C (InsetIterator): use >= instead of ==
9571 2002-06-07 Angus Leeming <leeming@lyx.org>
9573 Fixes needed to compile with Compaq cxx 6.5.
9574 * BufferView_pimpl.C:
9581 * lyxtextclasslist.C:
9586 all c-library variables have been moved into namespace std. Wrap
9587 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9592 Add a using std::abs declaration.
9594 * kbmap.h (modifier_pair):
9595 * paragraph.h (InsetTable, InsetList):
9596 * lyxfont.h (FontBits):
9597 type definition made public.
9599 * bufferlist.C (emergencyWriteAll): the compiler complains that
9600 there is more than one possible lyx::class_fun template to choose from.
9601 I re-named the void specialisation as lyx::void_class_fun.
9603 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9605 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9606 the compiler is is unable to find tostr in write_attribute.
9608 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9610 * buffer.C (sgmlError): hide #warning
9612 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9614 * xtl/*: get rid of xtl, which is not in use anyway
9616 * LyXAction.C (init):
9617 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9618 were unimplemented xtl experimentation
9620 2002-06-04 André Pönitz <poenitz@gmx.net>
9622 * lyxfunc.C: disable array operation on simple formulae
9624 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9626 * converter.C: constify a bit
9628 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9630 * lyx_gui.C: check xforms version correctly
9632 2002-04-30 Herbert Voss <voss@lyx.org>
9634 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9637 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9639 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9640 attempt to register it with a VCS)
9642 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9644 * lyx_main.C (init): honor variables LYX_DIR_13x and
9647 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9651 * lyx_main.C: fix a crash on bad command line,
9652 and give a useful exit status on error
9654 * lyxfunc.C (doImport): allow -i lyx to work
9656 2002-03-30 André Pönitz <poenitz@gmx.net>
9658 * lyxfunc.C: mathed font changes
9660 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9675 * trans_mgr.h: srcdocs, and some minor cleanups
9677 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9679 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9680 call getFont all the time)
9682 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9684 * switch from SigC signals to boost::signals
9686 2002-05-29 André Pönitz <poenitz@gmx.net>
9688 * paragraph_pimpl.C (getChar): don't call size() too often...
9690 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9692 * paragraph_pimpl.C (insertChar): do not try to update tables when
9693 appending (pos == size())
9695 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9696 in order to reduce drastically the number of comparisons needed to
9697 parse a large document
9699 2002-05-29 André Pönitz <poenitz@gmx.net>
9705 * textclasslist.[Ch]:
9706 * sp_ispell.h: whitespace change
9708 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9710 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9711 lyxaction directly now.
9713 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9717 * lyxvc.C: remove unused headers
9719 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9726 * undo_funcs.C: some cleanups. Use shared_ptr
9727 and a template for the undo stacks.
9729 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9731 * BufferView_pimpl.h:
9732 * BufferView_pimpl.C:
9739 * text2.C: use key_state/mouse_state
9741 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9743 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9746 * chset.C: change include order
9747 (loadFile): use boost regex and get rid of LRegex and LSubstring
9749 * Makefile.am (BOOST_LIBS): new variable
9752 * LaTeX.C: change include order.
9753 (scanAuxFile): use boost regex and get rid of LRegex and
9757 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9762 * FontInfo.C: moved to frontends/xforms/
9765 * FontLoader.C: moved into frontends for GUIIzation
9770 * lyxfunc.C: changes from above
9772 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9774 * LColor.C: remove spurious X include
9776 * BufferView_pimpl.C:
9781 * text2.C: move font metrics to frontends/
9783 2002-05-24 Juergen Vigna <jug@sad.it>
9785 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9786 setting the undo_cursor.
9788 * ParagraphParameters.h: include local includes first.
9790 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9792 * BufferView_pimpl.C:
9793 * BufferView_pimpl.h:
9797 * screen.C: move WorkArea into frontends/
9803 * BufferView2.C: move LyXScreen into frontends/
9807 * lyx_gui.C: move lyxlookup into frontends/xforms/
9809 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9812 * BufferView_pimpl.C:
9822 * bufferview_funcs.C:
9835 * vc-backend.C: move LyX/XFormsView into frontends/
9837 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9849 * text2.C: move Painter to frontends/
9851 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9853 * buffer.C: comment out some some code that depend upon lyx_format
9856 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9857 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9859 * buffer.h (NO_COMPABILITY): turn off compability
9861 * ColorHandler.C: include scoped_array.hpp
9863 * font.C: Use more specific smart_ptr header.
9866 * ShareContainer.h: ditto
9870 * BufferView_pimpl.h: ditto
9871 * ColorHandler.h: ditto
9873 * kbmap.C (defkey): change call to shared_ptr::reset
9875 2002-05-21 Juergen Vigna <jug@sad.it>
9877 * buffer.C (insertErtContents): fix to insert ert asis if it is
9878 non empty. Skip it completely if it contains only whitespaces.
9880 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9882 * BufferView_pimpl.C:
9883 * BufferView2.C: clear selection on paste (bug 393)
9885 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9887 * DepTable.C: include ctime
9889 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9891 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9893 2002-05-14 Juergen Vigna <jug@sad.it>
9895 * text.C (breakParagraph): fixed function to honor the keepempty
9896 layout in the right maner and also to permit the right breaking
9897 algorithm on empty or non empyt keepempty paragraphs.
9899 * paragraph.C (breakParagraph): we have to check also if the par
9900 is really empty (!size()) for isempty otherwise we do the wrong
9903 2002-05-10 Juergen Vigna <jug@sad.it>
9905 * buffer.[Ch] : The following are only changes to the ert
9906 compatibility read reading old LaTeX layout and font stuff and
9907 convert it to ERTInsets.
9909 * buffer.h: added isErtInset().
9911 * buffer.C (struct ErtComp): add a fromlayout bool to check
9912 if we're inside a LaTeX layout.
9913 (isErtInset): new helper function.
9914 (insertErtContents): look for other ert insets before this one
9915 and insert the contents there, so that we don't have subsequent
9916 ERT insets with nothing between them. This way we create only one
9917 inset with multiple paragraphs. Also check if we don't insert only
9918 spaces ' ' as they are ignored anyway afterwards in the .tex file
9919 so if we have only spaces we will ignore this latex part in the
9921 (parseSingleLyXformat2Token \\layout): better compatibility when
9922 reading layout-latex stuff.
9923 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9925 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9926 stuff after reading the inset only get the information back from
9929 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9931 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9933 * LaTeXFeatures.C (getBabelOptions): New method.
9935 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9937 * BufferView_pimpl.C (Dispatch): work around missing argument for
9940 2002-05-08 Juergen Vigna <jug@sad.it>
9942 * text.C (leftMargin): handle paragraph leftindent.
9944 * paragraph.C (writeFile): write the new \\leftindent tag.
9945 (validate): handle leftindent code.
9946 (TeXEnvironment): handle paragraphleftindent code again.
9948 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9950 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9951 for paragrap_extra indent code and new token \\leftindent.
9952 (latexParagraphs): handle the leftindent as environment.
9954 * ParameterStruct.h: added leftindent support.
9956 * ParagraphParameters.C (leftIndent): added support functions for
9957 the paragraph left indent.
9959 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9962 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9964 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9967 * text.C (computeBidiTables): No bidi in insetERT.
9969 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9972 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9974 * version.C.in: pre 5
9976 2002-05-02 José Matos <jamatos@fep.up.pt>
9977 * buffer.C (makeDocBookFile): white space changes, add newline to
9979 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9981 * tabular.C (docBook): fix typo.
9983 2002-05-03 Juergen Vigna <jug@sad.it>
9985 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9986 change in LyXText as we can not be sure it was not freed.
9987 (drawOneRow): remove unused code.
9989 * text.C (drawInset): redo the calculation of the need_break_row as
9990 it could have a row which was already freed.
9991 (draw): look at the return value of drawInset and return false if
9992 it also returned false.
9993 (paintRowText): look at the return value of draw and return false if
9994 it also returned false.
9996 * lyxtext.h: added bool return type to drawInset() and draw() so that
9997 if we have a change in the row so that the rowbreak has to be redone
9998 we abort drawing as it will be called again.
10000 2002-05-02 Juergen Vigna <jug@sad.it>
10002 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10003 a change in the maintext also if we're inside an inset.
10004 (Dispatch): set the cursor again after a break line and after the
10005 screen has been updated as it could be we're in a different row.
10007 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10008 to set the cursor behind the pargraph with > size().
10009 (setCursor): check also for the same paragraph when checking where
10010 to put the cursor if we have a NFR inset.
10012 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10013 parts of layout read further up as it still was in the wrong
10016 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10018 * screen.C (drawFromTo): change sine fullRebreak always return
10021 * buffer.C (parseSingleLyXformat2Token): reindent some
10023 * BufferView_pimpl.C (update): change since fullRebreak always
10025 (Dispatch): git rid of the last hardcoded "Standard"s.
10027 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10029 * text2.[Ch] (fullRebreak): make it return void now that we always
10032 2002-04-30 Juergen Vigna <jug@sad.it>
10034 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10035 ert compatibility check for "latex" layout.
10037 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10039 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10040 minipages: use col% instead of p%, and also use the current font.
10041 (makeLaTeXFile): Fix use babel condition.
10042 (parseSingleLyXformat2Token): Correct font when reading old floats.
10044 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10046 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10047 inserting list of floats.
10049 2002-04-25 Herbert Voss <voss@lyx.org>
10051 * MenuBackend.C (expand): don't add the graphics extensions to the
10054 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10056 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10057 non-existing layout, do not complain if it was the default layout
10058 of the original class (bug #342)
10060 2002-04-24 Juergen Vigna <jug@sad.it>
10062 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10063 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10065 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10067 * buffer.C (getBibkeyList): If using \bibliography, return the
10068 option field with the reference itself. Enables us to provide natbib
10069 support when using \bibliography.
10071 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10073 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10075 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10076 natbib is provided by the LaTeX class.
10078 2002-04-23 Juergen Vigna <jug@sad.it>
10080 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10083 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10085 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10087 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10089 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10090 ensuremath around textordmasculine, textordfeminine and
10093 2002-04-19 Juergen Vigna <jug@sad.it>
10095 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10096 reinitializing the buffer otherwise row-dimensions may be wrong.
10097 (update): reset also the selection cursors if they do exits otherwise
10098 their x/y positions may be wrong.
10100 * text2.C (cursorDown): don't enter the inset if we came from a row
10101 above and are one row over the inset.
10103 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10104 really leaving an inset.
10106 2002-04-18 Juergen Vigna <jug@sad.it>
10108 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10109 of the selected paragraph does not have the selected layout also if
10112 * text2.C (setLayout): fixed bug which did not change last selected
10115 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10116 changed the read and substituted \\end_float with \\end_inset!
10118 * BufferView_pimpl.C (cursorPrevious):
10119 (cursorNext): fixed to make it work with rows heigher than the work
10120 area without moving the cursor only the draw of the row.
10121 (workAreaMotionNotify): fix jumping over high rows.
10123 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10125 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10128 2002-04-16 Juergen Vigna <jug@sad.it>
10130 * text2.C (setCursor): set also the irow().
10131 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10133 (cursorDown): support for locking an inset if the x_fix value goes
10134 inside it. That way I can transverse insets too with cursor up/down.
10136 * lyxrow.h: added irow helper function same as other (i) functions.
10138 * BufferView_pimpl.C (cursorPrevious):
10139 (cursorNext): fixed for insets!
10141 2002-04-15 Juergen Vigna <jug@sad.it>
10143 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10144 position otherwise it is wrong in some cases.
10146 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10147 inside the inset before the call.
10149 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10151 * buffer.[Ch] (getBibkeyList): make it const.
10153 2002-04-12 Juergen Vigna <jug@sad.it>
10155 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10157 * text2.C (getCursorX): new helper function
10158 (setCursor): compute also ix_
10159 (setCursorFromCoordinates): set also ix.
10161 * lyxcursor.h: added ix_ and helper functions.
10163 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10165 * buffer.C (insertStringAsLines): dont break paragraph if the this
10166 paragraph is inside an inset which does not permit it!
10168 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10169 also with no chars on this paragraph.
10170 (paintRowText): only paint stuff if it's inside the workarea!
10172 * paragraph.C (breakParagraph): honor keepempty flag and break the
10173 paragraph always below not above.
10175 * BufferView2.C (unlockInset): update the paragraph layout on inset
10176 unlock as we changed paragraph in such a case.
10178 * lyxfind.C (LyXFind): clear the former selection if not found!
10180 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10181 again called in insertChar().
10183 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10184 an inset which uses the whole row!
10185 (rightMargin): ditto.
10186 (insertChar): force a rebreak if we inserted an inset!
10188 2002-03-28 Herbert Voss <voss@lyx.org>
10190 * lyxlength.[Ch]: add inBP() to get the right PS-point
10191 units (BigPoint). With inPixels we have rounding errors
10193 2002-04-11 Juergen Vigna <jug@sad.it>
10195 * text2.C (setCursorFromCoordinates): set iy to the right value.
10196 (setCursor): add check if row->previous exists!
10198 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10199 an old float_type as this was the case in the old code!
10201 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10203 * BufferView2.C (showLockedInsetCursor): use iy
10204 (fitLockedInsetCursor): ditto
10206 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10207 locked insets as there we have the right value now.
10209 * lyxcursor.C: added iy_ variable and iy functions to set to the
10210 baseline of cursor-y of the locked inset.
10212 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10213 (setCursor): fixed for insets which need a full row.
10215 * text.C (rowLastPrintable): don't ignore the last space when before
10216 an inset which needs a full row.
10217 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10218 as last character of a row when before a inset which needs a full row.
10220 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10222 * version.C.in: update date
10224 * text2.C (fullRebreak): try to always return true and see what
10227 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10229 * MenuBackend.C (expand): use Floating::listName
10231 * FloatList.C (FloatList): add listName argument to the built-in
10234 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10235 text associated with the float.
10237 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10239 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10241 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10243 * ShareContainer.h: add a couple of missing typenames.
10245 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10247 * lyxrc.C (getDescription): use _() correctly rather than N_().
10249 2002-03-28 Herbert Voss <voss@lyx.org>
10251 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10252 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10254 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10256 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10257 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10259 2002-03-29 Juergen Vigna <jug@sad.it>
10261 * lyxfunc.C (dispatch): add a missing fitCursor call.
10263 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10264 it was scrolled by a cursor move, so return the bool status.
10266 * BufferView.C (fitCursor): return the bool flag also to the outside
10267 world as this is needed.
10269 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10271 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10272 call the edit() as it is not needed (and wrong) IMO.
10273 (workAreaButtonPress): set the screen_first variable before evt.
10274 unlock the inset as this may change screen_first and then we have
10275 a wrong y position for the click!
10277 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10279 * MenuBackend.C (expand): another translation that I missed
10281 2002-03-28 Juergen Vigna <jug@sad.it>
10283 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10285 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10287 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10289 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10291 * MenuBackend.C (expand): fix export/view/update when there is no
10294 2002-03-27 Herbert Voss <voss@lyx.org>
10296 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10299 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10301 * bufferview_funcs.C (currentState): only show paragraph number
10302 for is DEVEL_VERSION is set.
10304 * lyxfunc.C (dispatch): put warning in INFO channel
10306 * MenuBackend.C (expand): translate the name of floats
10308 * FloatList.C (FloatList): mark the float names for translation
10310 * converter.C (convert): use LibScriptSearch
10312 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10314 * MenuBackend.C (defaults): fix default menu (we might as well get
10317 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10319 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10322 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10324 * lyxvc.C: reorder includes.
10326 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10328 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10331 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10333 * CutAndPaste.C: change layouts earlier on paste
10334 to avoid crashing when calling getFont()
10336 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10338 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10341 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10343 * WorkArea.C: remove 'Pending' debug message.
10345 * most files: ws cleanup
10347 * buffer.[Ch]: ws changes
10349 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10351 2002-03-21 Juergen Vigna <jug@sad.it>
10353 * tabular.C (SetMultiColumn): collapse also the contents of the
10354 cells and set the last border right. Added a Buffer const * param.
10356 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10358 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10361 2002-03-19 Juergen Vigna <jug@sad.it>
10363 * text2.C (clearSelection): reset also xsel_cache.
10365 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10366 where it needs to be called (John tells us to do so too :)
10367 (selectionLost): reset sel_cache.
10369 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10371 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10373 * text2.C (setCursorIntern): put debuging code in INSETS channel
10375 2002-03-19 André Pönitz <poenitz@gmx.net>
10377 * lyxfunc.C: tiny whitespace change
10379 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10381 * ToolbarDefaults.C (init):
10382 * LyXAction.C (init):
10384 * BufferView_pimpl.C (Dispatch):
10385 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10387 2002-03-19 Allan Rae <rae@lyx.org>
10389 * exporter.C (Export): removeAutoInsets before doing anything else.
10390 While I've just introduced a dependency on BufferView this really is
10391 the best place to clean the buffer otherwise you need to cleanup in
10392 a dozen places before calling export or cleanup in a dozen functions
10395 * converter.C (runLaTeX):
10396 (scanLog): Better handling of removeAutoInsets and screen updates.
10398 * lyxfunc.C (dispatch): small whitespace changes
10400 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10402 * WorkArea.C (C_WorkAreaEvent): return a value.
10403 (event_cb): return 1 if we handled the event, 0 otherwise.
10405 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10407 2002-03-18 Juergen Vigna <jug@sad.it>
10409 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10410 (GetAdditionalWidth): ditto.
10411 (RightLine): ditto.
10414 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10415 inset if we're there actually (probably not used right now but this
10416 is the direction to go for unifying code).
10417 (paste): disable code to clear the selection.
10419 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10420 inside an InsetText and move the check further up as it is in the
10423 * text2.C (pasteSelection): set a selection over the pasted text.
10425 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10427 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10428 and libgraphics to build on Cygwin.
10430 2002-03-15 Juergen Vigna <jug@sad.it>
10432 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10433 inserting an Inset into the paragraph. I know this is not the best
10434 fix but we already use current_view in CutAndPaste so we will remove
10435 all of it's using at the same time.
10437 * buffer.C (sgmlError): deactivated function till it is rewritten in
10438 the right mode, now it can create problems.
10440 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10441 before accessing it.
10443 2002-03-14 Juergen Vigna <jug@sad.it>
10445 * undo_funcs.C (textHandleUndo): do the right thing when updating
10446 the inset after the undo/redo.
10448 * text2.C (setCursor): just some testcode for #44 not ready yet.
10450 * undo_funcs.C (textHandleUndo): set the next() and previous()
10451 pointers of the paragraph to 0 before deleting otherwise we have
10452 problems with the Paragraph::[destructor].
10454 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10455 on a paragraph insertion.
10457 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10459 * buffer.C (asciiParagraph): use += operator for char append to
10462 * paragraph.C (getFontSettings): compare >= not just >
10463 (highestFontInRange): ditto
10466 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10468 * paragraph.C: change several algorithm to be more appripriate for
10469 the problem domain. This is lookip in FontList and in the InsetList.
10471 2002-03-13 André Pönitz <poenitz@gmx.net>
10474 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10476 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10481 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10483 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10485 * Painter.C (display): anon helper function, adjust code for this
10487 (pixmap): remove function.
10489 * Painter.h: remove private display variable.
10491 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10493 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10495 * WorkArea.[Ch]: remove figinset_canvas cruft.
10497 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10499 * lyxtextclass.C (operator): add one item cache optimization.
10501 * bufferlist.h: doxy changes
10503 * bufferlist.C: ws changes
10505 * DepTable.[Ch] (ext_exist): place const in the right spot.
10507 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10509 (workAreaExpose): call resizeInsets when the with BufferView changes.
10510 (Dispatch): adjust for protectedBlank removal
10511 (specialChar): call updateInset if the insert went ok.
10513 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10514 specialChar instead.
10516 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10518 * BufferView.h: doxy change
10520 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10522 * lyxtextclass.C (operator[]): remove non-const version
10523 (defaultLayout): remove non-const version
10525 2002-03-12 Juergen Vigna <jug@sad.it>
10527 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10528 did resize the LyXText too.
10530 * buffer.C (readLyXformat2): set layout information on newly allocated
10533 * tabular.C (OldFormatRead): set layout information on the paragraph.
10535 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10537 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10539 2002-03-11 Juergen Vigna <jug@sad.it>
10541 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10543 (resizeCurrentBuffer): force also the insets to resize themselfes.
10544 (moveCursorUpdate): fixed up for InsetText.
10546 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10549 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10550 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10551 value of Dialogs::tooltipsEnabled().
10552 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10554 2002-03-08 Juergen Vigna <jug@sad.it>
10556 * BufferView_pimpl.C (updateInset): update inset inside inset also
10557 if it isn't inside theLockingInset().
10559 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10561 * buffer.C (asciiParagraph): redo some of the word and line length
10563 (getLists): look for Caption instead of caption.
10565 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10567 * buffer.C (Buffer): initialize niceFile to true
10569 (makeLinuxDocFile):
10570 (makeDocBookFile): make sure niceFile is true on exit
10572 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10574 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10576 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10578 * LyXSendto.C: remove.
10579 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10580 * lyx_gui.C: remove now-redundant comment.
10581 * ColorHandler.h: remove forward declaration of class WorkArea.
10582 * lyxfunc.C: remove #include "WorkArea.h".
10584 2002-03-07 Juergen Vigna <jug@sad.it>
10586 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10587 got moved away with the DEPM and also set the inset_owner always
10588 right which before could have been omitted.
10590 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10592 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10593 wanted layout is not found.
10595 2002-03-07 Juergen Vigna <jug@sad.it>
10597 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10599 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10601 * paragraph.C (breakParagraph): use default layout not layout of
10603 (Paragraph): clear ParagraphParameters.
10605 2002-03-06 Juergen Vigna <jug@sad.it>
10607 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10608 otherwise it would not be a valid lenght. Fixed a special case in
10609 the minipage compatibility read where we end the document with a
10612 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10613 was set as it could be 0 for InsetTexts first entry.
10615 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10617 * paragraph.C (writeFile): if layout is empty write out
10618 defaultLayoutName().
10620 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10621 file without named layout we set layout to defaultLayoutName().
10623 2002-03-06 Juergen Vigna <jug@sad.it>
10625 * CutAndPaste.C (copySelection): set layout for new paragraph.
10627 * text.C (prepareToPrint): leave ERT inset left aligned
10628 (leftMargin): don't indent paragraphs inside ERT insets
10630 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10632 * paragraph.C (breakParagraph): dont call clear do the work manually
10634 * paragraph.[Ch] (clear): remove function
10636 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10638 * paragraph.C (Paragraph): dont call clear, the work has already
10641 * lyxtextclass.C (operator): assert if n is empty
10643 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10644 work manually instead.
10646 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10648 * BufferView_pimpl.C: protect selectionLost against text == 0
10650 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10652 * text.C (breakParagraph): fix a setting layout to '0' problem.
10654 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10656 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10657 final location of file, for the included files, and graphics.
10659 2002-03-05 Juergen Vigna <jug@sad.it>
10661 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10663 2002-03-04 Juergen Vigna <jug@sad.it>
10665 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10667 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10668 last column of multicolumn cells.
10669 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10671 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10673 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10674 file if it doesn't go to a temporary file.
10676 * buffer.C (sgmlOpenTag):
10677 (sgmlCloseTag): remove extra newline insertion.
10679 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10681 * text.C (getRowNearY): comment out debug msg
10683 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10685 * text2.C: first -> first_y
10687 * text.C (getRowNearY): add some attemts at a possible
10688 optimization, not working.
10690 * tabular.[Ch]: add BufferParams to several function so that newly
10691 created paragraph can be initialized to he default layotu for the
10694 * tabular-old.C (ReadOld): add buf->params to call of Init
10696 * screen.C: rename text->first to text->first_y
10698 * paragraph.C (breakParagraph): always set layout in the broken
10701 * lyxtextclass.C (Read): remove lowercase
10704 (delete_layout): ditto
10706 * lyxtext.h: rename first -> first_y
10708 * lyxlayout.C (Read): remove lowercase
10711 (obsoleted_by): ditto
10713 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10715 * buffer.C (insertErtContents): add params are to InsetERT
10716 (parseSingleLyXformat2Token): add code to check if a paragraphs
10717 layout really exist.
10718 (parseSingleLyXformat2Token): add params to several inset
10720 (asciiParagraph): remove lowercase, do the layout comparisons with
10723 * BufferView_pimpl.C (cursorNext): first -> first_y
10724 (resizeCurrentBuffer): first -> first_y
10725 (updateScrollbar): first -> first_y
10726 (scrollCB): first -> first_y
10727 (workAreaMotionNotify): first -> first_y
10728 (workAreaButtonPress): first -> first_y
10729 (checkInsetHit): first -> first_y
10730 (cursorPrevious): first -> first_y
10731 (cursorNext): first -> first_y
10732 (Dispatch): add buffer_->params to severl inset contructors
10734 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10736 * lyxlayout.C (Read): remove some debug info that I forgot.
10738 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10739 clean up the code slightly.
10740 (makeLinuxDocFile): ditto
10741 (makeDocBookFile): ditto
10743 * text2.C: layout as string
10745 * text.C: layout as string
10747 * paragraph_pimpl.C: layout as string
10749 * paragraph.[Ch]: layout as string
10751 * lyxtextclasslist.[Ch]: layout as string
10753 * lyxtextclass.[Ch]: layout as string
10755 * lyxtext.h: layout as string
10757 * lyxlayout.[Ch]: layout as string
10759 * lyx_cb.C: layout as string
10761 * bufferview_funcs.C: layout as string
10763 * bufferparams.C: layout as string
10765 * buffer.C: layout as string
10767 * LyXView.[Ch]: layout as string
10769 * LaTeXFeatures.[Ch]: layout as string
10771 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10773 * BufferView_pimpl.C: change current_layout to string, remove
10778 (workAreaButtonRelease): layout as string
10780 * BufferView2.C (unlockInset): adjust
10782 * vspace.C (asLatexCommand): use an explict temp variable.
10784 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10786 * Makefile.am: use FRONTEND_*
10788 2002-03-01 Juergen Vigna <jug@sad.it>
10790 * tabular.C (SetWidthOfMulticolCell): changed to something better
10791 I hope but still work in progress.
10792 (recalculateMulticolumnsOfColumn): renamed function from
10793 recalculateMulticolCells as it is more appropriate now.
10794 (SetWidthOfCell): calculate multicols better.
10796 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10798 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10800 * lyxfunc.C (processKeySym): print sequence also if it is
10801 `deleted' (complete)
10803 * kbsequence.C (print): print sequence even if it is deleted
10804 (complete would be a better word, actually).
10806 * lyxfunc.C (dispatch): print complete options after a prefix key
10808 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10810 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10812 * text2.C (setCharFont): eliminate setCharFont code duplication.
10814 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10816 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10817 LFUN_TABULAR_FEATURE (bug #177)
10819 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10821 * Makefile.am: remove figure.h
10823 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10825 * Bufferview_pimpl.C:
10837 * text2.C: remove #include "lyx_gui_misc.h".
10839 * LaTeX.C: added #include <cstdio>
10841 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10843 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10844 that the paragraph following this one can have.
10846 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10848 * vspace.C (asLatexCommand): fix bogus gcc warning
10850 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10852 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10854 * text2.C (setLayout): get rid of redundant code
10856 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10858 * text2.C (incDepth): make sure depth cannot be increased beyond
10861 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10863 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10864 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10866 * PainterBase.h (image):
10867 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10868 a LyXImage const *.
10870 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10874 * BufferView_pimpl.C:
10875 * BufferView_pimpl.h:
10895 * sp_spell.C: remove fig inset, and the crap house of
10896 cards that follows it
10898 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10903 * os2_errortable.h:
10904 * nt_defines.h: move .h into support/
10906 * vms_defines.h: remove
10908 * WorkArea.C: add space in debug output
10912 * buffer.C: add WITH_WARNINGS
10916 * bufferlist.C: s/retrive/retrieve/, add docs
10925 * chset.C: add docs
10927 * lyxgui.C: add ID to X error handler
10929 * lyxtestclass.c: fix typo
10931 2002-02-26 Juergen Vigna <jug@sad.it>
10933 * tabular_funcs.C (write_attribute): changed so that some default
10934 attributes are not written at all.
10935 (getTokenValue): set default values before trying to read the
10936 value so we have the return value always set as default if we don't
10937 find the token we search for.
10939 * tabular.C (Write): write bools as bools not as strings!
10941 2002-02-22 Juergen Vigna <jug@sad.it>
10943 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10944 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10946 * text.C (leftMargin): don't add an indent for paragraphs inside
10947 tabular cells (fix #208).
10949 2002-02-21 José Matos <jamatos@fep.up.pt>
10951 * tabular.C (docBook): fixed support for long tables.
10953 2002-02-20 Juergen Vigna <jug@sad.it>
10955 * text2.C (getFont): get the drawing font of the Inset if this
10956 paragraph is inside an inset (only important for InsetERT for now).
10958 * buffer.C (insertErtContents): use new lanugage params in ERT
10961 * CutAndPaste.C: commenting out seemingly uneeded code.
10963 2002-02-19 Allan Rae <rae@lyx.org>
10965 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10966 Iterators might be simple to use but they also get invalidated.
10967 (removeAutoInsets): renamed saved cursor tracking variables and added
10968 some comments to clarify what everything does.
10970 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10977 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10978 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10981 * vc-backend.h: remove #include "support/syscall.h"
10985 * converter.C: rearrange #includes in Lars' approved fashion.
10987 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10988 forward declare class Timeout in the header file.
10990 * XFormsView.C: changes due to the above.
10992 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10993 similar to LyXView.
10995 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10996 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10998 2002-02-18 José Matos <jamatos@fep.up.pt>
11000 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11003 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11005 * a lot of small ws changes
11006 * add a lot of using std::XXX
11007 * use std construcs some places where approp.
11008 * use some exisint stuff from lyxfunctional where approp.
11009 * Make file changes to use partial linking (lets test this now...)
11011 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11015 remove #include "support/syscontr.h" as it's redundant. Always has been.
11023 change Systemcalls::System to Systemcalls::Wait and
11024 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11025 No change of functionality, just reflects the stripped down Systemcalls
11028 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11030 * debug.[Ch]: add a GRAPHICS type to the enum.
11032 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11034 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11036 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11039 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11041 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11042 match the changes below.
11044 * text2.C (toggleInset): if there is not editable inset at cursor
11045 position, try to see if cursor is _inside_ a collapsable inset
11048 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11050 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11051 document menu has a nice checkbox
11053 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11055 * lyxlength.C (asLatexString): change PW to output as percent of
11058 * lengthcommon.C: change '%' to 't%'
11060 * lyxfunc.C (dispatch): a few comments from Martin
11062 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11066 * BufferView_pimpl.h:
11067 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11070 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11072 * vspace.C (inPixels): fix compiler warning
11074 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11076 * lyxfunc.C (getStatus): fix status message for disabled commands.
11078 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11080 * BufferView_pimpl.C: fix crash on close buffer
11081 during selection (#227)
11083 2002-01-27 Herbert Voss <voss@lyx.org>
11085 * buffer.C: link old Figure to new graphic inset
11087 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11089 * FontLoader.C (getFontinfo): Change the latex font names in order
11090 to match the names of type1inst.
11092 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11094 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11096 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11097 (extchanged): ditto
11099 (remove_files_with_extension): ditto
11100 (remove_file): ditto
11103 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11104 document is smaller than the work area height. Do not initialize
11105 static variables to 0.
11107 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11109 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11111 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11112 LFUN_LAYOUT_PARAGRAPHS.
11114 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11115 tabular. It is possible to provide a possible cell, which will
11116 typically be the actcell from the corresponding insettabular
11118 * lyxfunc.C (getStatus): small cleanup; disable
11119 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11122 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11124 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11126 * paragraph.C (startTeXParParams):
11127 (endTeXParParams): new methods. The LaTeX code to
11128 start/end paragraph formatting
11129 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11130 empty (fixes bug #200)
11132 * vspace.C (inPixels): adapt to the change below
11133 (inPixels): [later] more cleanups (remove unused variables)
11135 * lyxlength.C (inPixels): change to use a width and a height as
11138 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11140 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11141 Replaced with \paperwidth
11143 * DepTable.C (insert): add std:: qualifier
11145 2002-01-18 Allan Rae <rae@lyx.org>
11147 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11150 * text.C (drawInset): Turned out I didn't know enough about how
11151 rebreaking worked. This fixes most of the redraw problems. I see
11152 an occasional cursor trail when a line is broken now and the cursor
11153 placement can seem out by a few pixels also after a rebreak.
11155 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11157 * buffer.C (parseSingleLyXformat2Token): update because minipage
11158 width is now a LyXLength
11160 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11162 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11165 2002-01-17 Juergen Vigna <jug@sad.it>
11167 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11169 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11170 is set correctly and the inset is updated correctly.
11172 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11174 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11175 the beginning of the loop.
11177 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11179 * lyxrc.C: improve help for use_scalable_fonts
11181 2002-01-17 Allan Rae <rae@lyx.org>
11183 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11185 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11187 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11188 make sure to set their inset_owner to the right value (bug #171)
11190 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11193 * DepTable.C: Implement mtime checking to reduce time spent doing
11196 2002-01-16 Juergen Vigna <jug@sad.it>
11198 * tabular.C (GetAdditionalHeight): one of error fixed.
11200 * lyxrc.C (output): small fix in writing use_pspell.
11202 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11204 * sp_base.h: #include LString.h
11206 2002-01-16 Allan Rae <rae@lyx.org>
11208 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11209 Can someone check this please?
11211 * text.C (drawInset): It was possible that p.row would be removed by
11212 breakAgainOneRow upsetting a few other settings. There may be another
11213 small tweak possible by setting need_break_row = 0 when p.row has been
11214 removed but I don't know enough about the logic here.
11216 2002-01-15 Allan Rae <rae@lyx.org>
11218 * text.C (insertChar): removed conditional truism.
11220 * BufferView2.C (removeAutoInsets): More tweaks.
11221 cur_par_prev could be a stray pointer. Check for trailing empty line
11222 in case last line was cur_par and only had an error inset on it.
11224 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11226 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11229 * vc-backend.C (most methods):
11230 * exporter.C (Export):
11231 * converter.C (convert):
11233 * LyXSendto.C (SendtoApplyCB):
11234 * lyxfunc.C (dispatch):
11238 * lyx_cb.C (AutoSave):
11240 * BufferView_pimpl.C (MenuInsertLyXFile):
11241 * buffer.C (runChktex): use Buffer::filePath().
11243 * buffer.h: rename filename to filename_; rename filepath to
11244 filepath_ and make it private
11245 (filePath): new method
11247 * buffer.C (writeFile): use fileName()
11250 * lyx_main.C (init): fix starting of LyX when the binary is a
11251 link from so,ewhere else.
11253 * minibuffer.C: include <cctype> for isprint
11255 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11257 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11258 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11259 name clash with InsetCollapsable's width function.
11261 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11263 * lastfiles.C: include <iterator>
11265 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11267 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11270 * buffer.C (makeLaTeXFile): ditto.
11271 Also make loop operation more transparent.
11273 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11275 * ToolbarDefaults.C: remove trailing comma closing namespace.
11277 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11279 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11282 * trans.C (Load): comment out unused variable, allowed.
11284 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11286 * minibuffer.[Ch] (append_char): new method to recieve input from the
11287 drop-down completion browser. If a key was pressed, then recieve this
11288 char and append it to the existing string.
11289 (peek_event): modify the positioning data passed to the completion
11290 browser so that it can be placed above the minibuffer rather than below.
11291 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11293 * LyXAction.C (init): alloe error-next for readonly documents.
11295 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11298 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11300 * bufferlist.C (readFile): create the buffer _after_ checking that
11303 * lyxfunc.C (verboseDispatch): fix handling of arguments
11305 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11307 * lyxrc.C: use string::erase() instead of initializing to "".
11310 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11312 * BufferView_pimpl.h:
11313 * BufferView_pimpl.C:
11316 * text2.C: tell X when we have made a selection for copying
11318 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11320 * BufferView_pimpl.C (MenuInsertLyXFile):
11321 * lyxfunc.C (menuNew):
11323 (doImport): add shortcuts to directory buttons
11325 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11328 * lyxfunc.C (setStatusMessage):
11329 (getStatusMessage): new methods
11330 (getStatus):use setStatusMessage instead of setErrorMessage
11331 (dispatch): when function is disabled, set error message here
11332 [instead of in getStatus previously]
11334 * BufferView_pimpl.C (workAreaButtonRelease): update
11335 toolbar/menubar here too.
11337 2002-01-13 Allan Rae <rae@lyx.org>
11339 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11340 Now seems indestructible. Remaining task is to audit all other
11341 code affected by deleteEmptyParagraphMechanism. One small quirk
11342 left is that an empty document with an error in the preamble can
11343 be made to report an error but no error box appears. I don't know
11345 (removeAutoInsets): Improved comments.
11347 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11350 * Thesaurus.C: update for Aiksaurus 0.14
11352 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11354 * text2.C (firstParagraph): removed member function, all uses
11355 replaces with ownerParagraph
11356 (redoParagraphs): here
11357 (updateInset): here
11358 (toggleAppendix): here
11359 * BufferView2.C (insertErrors): here
11360 (setCursorFromRow): here
11362 2002-01-13 Allan Rae <rae@lyx.org>
11364 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11365 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11366 There is still a way to segfault this although you may have to do this
11367 multiple times: Have an InsetERT with an unknown command in it.
11368 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11369 <down-arrow>, <Enter> again, View->DVI, BANG!
11371 * text2.C (setCursor):
11372 (deleteEmptyParagraphMechanism):
11373 * lyxtext.h (setCursor):
11374 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11375 Making use of the return value may help fix other bugs.
11377 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11379 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11381 * LyXView.C (updateMenubar): call MenuBar::update here
11382 (updateToolbar): but not here
11383 (showState): do not update toolbar/menubar
11385 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11386 should need to care about that.
11388 * lyxfunc.C (verboseDispatch): simplify a bit
11389 (getStatus): have a version which takes a pseudoaction, and
11390 another which requires a (kb_action,string).
11392 * LyXAction.C (retrieveActionArg): make it work also when action
11393 is not a pseudo-action.
11394 (getActionName): simplify a bit
11397 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11399 * lyxfunc.C (verboseDispatch): new families of methods with
11400 several ways to specify a command and a bool to indicate whether
11401 the command name and shortcut should be displayed in minibuffer
11402 (eventually, we could extend that to a finer bitmask like
11403 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11404 (dispatch): the pristine dispatch command which just, well,
11405 dispatchs! Note it still sets its result to minibuffer; I'm not
11408 * lyxfunc.h: remove setHintMessage
11410 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11412 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11414 * BufferView_pimpl.C (specialChar): delete new inset if we have
11415 not been able to insert it.
11417 * kbmap.C: revert to using int instead of kb_action, since all we
11418 are dealing with is pseudo-actions.
11420 * LyXAction.C (searchActionArg): change to return int instead of
11421 kb_action, since the result is a pseudoaction.
11423 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11425 * buffer.C (insertErtContents): Fix (partially) the font bug.
11427 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11429 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11430 as the other one is broken on my machine!
11432 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11435 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11437 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11439 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11440 reflect their actual use. Provide compatibility code for older lyxrc
11443 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11445 change names of popup font variables in line with the changes to lyxrc.C
11447 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11449 * buffer.C (asciiParagraph): avoid outputing a word twice after
11452 * lyxrc.C (getDescription): document that document_path and
11453 template_path can be empty.
11455 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11457 * LaTeXFeatures.C (getMacros):
11458 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11460 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11462 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11464 (getPackages): rename feature "floats" to "float". Use an array to
11465 iterate over 'simple' features (i.e. just a \usepackage). Add
11466 handling of "amsmath" (renamed from "amsstyle").
11468 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11470 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11473 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11475 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11476 FuncStaus::FuncStatus & FuncStaus::some_method().
11478 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11480 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11481 of the func_satus stuff. Edited and massaged in various ways by
11484 * lyxfunc.C (getStatus): use FuncStatus
11486 2002-01-08 Juergen Vigna <jug@sad.it>
11488 * text.C (nextBreakPoint): use function Inset::isChar().
11490 * paragraph.C (TeXOnePar): use function
11491 Inset::forceDefaultParagraphs.
11493 * buffer.C (latexParagraphs): use function
11494 Inset::forceDefaultParagraphs.
11496 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11498 * lyx_gui.C (init): set the style of the menu popups to
11499 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11501 2002-01-07 Juergen Vigna <jug@sad.it>
11503 * text.C (setHeightOfRow): small fix
11504 (prepareToPrint): don't look at alignment if we don't have the place
11507 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11509 * box.C: New file. Move the Box methods and functions out of box.h,
11510 following Lars' suggestion.
11512 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11514 * box.h: #include "support/LOstream.h", needed for inlined function.
11517 * lyxtextclasslist.C: added some using std declarations.
11519 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11521 * box.h: make signed dimensions to allow insets wider than
11522 the screen (bug #162)
11524 * BufferView_pimpl.C: add some insetHit debug
11526 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11528 * vc-backend.C: add FIXME
11530 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11532 * lyxfunc.C (getStatus): enable code for showing math font status
11535 2002-01-07 Juergen Vigna <jug@sad.it>
11537 * text.C (nextBreakPoint): removed debug output not needed anymore.
11539 2002-01-06 Juergen Vigna <jug@sad.it>
11541 * text.C (nextBreakPoint): fixed up this function we had this bug
11542 since ever but now hopefully we break row better.
11543 (insertChar): we have to check if an inset is the next char as it
11544 could now happen that a large inset is causing a break.
11546 2002-01-05 Juergen Vigna <jug@sad.it>
11548 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11549 if it doesn't like to be drawed.
11551 2002-01-04 Juergen Vigna <jug@sad.it>
11553 * BufferView2.C (lockInset): forgot to set a cursor.
11555 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11557 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11559 * FormMathsPanel.C:
11562 * form_maths_panel.C:
11563 * form_maths_panel.h:
11564 * form_maths_panel.fd: implemented sub- and super- buttons in math
11567 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11568 (or ^ space) to be used as in TeX (req'd by André).
11570 * lyxfunc.C: Allow ^ and _ again to be used both as
11571 super/subscript (mathed) and as themselves (in text).
11573 2002-01-03 Allan Rae <rae@lyx.org>
11575 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11576 "LyX" or the filename of the current buffer if it has one. This is a
11577 modified form of John Levon's patch.
11579 * XFormsView.C (setWindowTitle): also set icon title.
11581 * LyXView.h (setWindowTitle): signature changed.
11582 * XFormsView.h (setWindowTitle): ditto.
11584 2002-01-02 Juergen Vigna <jug@sad.it>
11586 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11588 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11590 * screen.C (topCursorVisible): introduce a temp var for
11591 text->cursor.row(), handle the case where this row is null. (kindo
11594 * text2.C (setCursor): add a couple of asserts.
11596 * paragraph.h (inset_iterator): add -> operator
11598 * paragraph.[Ch] (autoDeleteInsets): remove member function
11600 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11601 cursor pos correctly and handle inset deletion by itself.
11602 (insertErrors): move iterator declaration out of for expression
11604 * lyxtextclass.C: add <algorithm>
11606 * Makefile.am: added the new files to sources, removed layout.C
11608 * layout.C: removed file
11610 * layout.h: remove LYX_DUMMY_LAYOUT
11612 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11616 * lyxtextclass.[Ch]:
11617 * lyxtextclasslist.[Ch]: new files
11619 * include order changes to a lot of files, also changes because of
11622 2001-12-27 Juergen Vigna <jug@sad.it>
11624 * buffer.C (asciiParagraph): more fixes.
11626 * tabular.C (ascii): make ascii export support export of only the
11627 data separated by a column-delimiter.
11628 (ascii): better support for ascii export.
11630 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11632 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11634 * tabular_funcs.C: use a "using std::getline" instead of the
11635 previous fix from Angus (necessary for cxx + lyxstring)
11637 2001-12-24 Juergen Vigna <jug@sad.it>
11639 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11641 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11642 problems. First check a minipage also if we have some ert-contents
11643 (not only on par->size(), second set the right depth of the paragraph
11644 on the relink to the root-paragraph-list!
11646 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11647 which then did not anymore update the main paragraphs on undo/redo!
11649 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11651 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11652 code. Support all font-changing funcs (even those which are not in
11653 menu currently). Support for reporting font settings in
11654 mathed (disabled until Andre provides a function on mathed's side).
11656 * func_status.h (toggle): small helper function to set toggle
11659 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11661 * tabular_funcs.C: getline -> std::getline
11663 2001-12-21 Juergen Vigna <jug@sad.it>
11665 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11666 accessed and could be 0 (I couldn't generate this but it seems
11669 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11671 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11672 * tabular_funcs.h: here and include iosfwd
11674 2001-12-20 Juergen Vigna <jug@sad.it>
11676 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11677 inside inset but undo_par was.
11679 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11681 * Thesaurus.C: always include <config.h> in sources.
11685 * box.h: do not include <config.h> in header files
11687 * text.C (paintLastRow): remove unused variable
11689 * text.C (transformChar):
11691 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11693 * Painter.C (text):
11694 * font.C (width): rewrite to use uppercase() instead of
11697 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11699 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11701 * lyxfind.C: clean up of find failure position change
11703 2001-12-20 Juergen Vigna <jug@sad.it>
11705 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11707 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11708 (TeXRow): added to LaTeX a single tabular row.
11709 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11710 (Latex): simplified and finally good LT-h/f support.
11711 (various_functions): just small adaptions for LT-h/f support.
11713 * tabular_funcs.[hC]: added and moved here all not classfunctions
11716 2001-12-19 Juergen Vigna <jug@sad.it>
11718 * tabular.[Ch]: better support for longtabular options (not finished
11721 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11723 * text.C (paintLastRow): use the label font instead of the font of
11724 the last character to compute the size of *_BOX. This makes more
11725 sense and avoids a crash with empty paragraphs.
11726 Use Painter::rectangle to draw EMPTY_BOX.
11728 2001-12-19 Juergen Vigna <jug@sad.it>
11730 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11731 the paragraphs if the replaced paragraph is not the first one!
11732 Tried to delete not used paragraphs but does not work yet so for
11733 now it's inside #ifdef's and by default off!
11735 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11737 * MenuBackend.C: include "lyx_main.h" instead of declaring
11738 lastfiles (actually was declared as LastFiles* instead of a
11741 2001-12-17 Juergen Vigna <jug@sad.it>
11743 * tabular.C (AppendColumn): applied John's fix
11745 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11749 * BufferView_pimpl.h:
11750 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11753 * box.h: new start of class for above
11755 * lyxfunc.C: ignore space-only minibuffer dispatches.
11756 Show the command name when it doesn't exist
11758 * minibuffer.C: don't add empty lines to the history
11760 * minibuffer.C: add a space on dropdown completion
11762 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11764 * text.C: fix line above/below drawing in insets
11766 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11768 * lyxlength.C (LyXLength): Initialize private variables.
11770 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11772 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11773 when inserting error insets.
11775 2001-12-13 Juergen Vigna <jug@sad.it>
11777 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11778 actually sometimes the before-paragraph.
11779 (setUndo): don't clear the redostack if we're not actually undoing!
11781 2001-12-06 Juergen Vigna <jug@sad.it>
11783 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11784 and fixed redoing of main paragraph, so we can use it now ;)
11786 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11788 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11790 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11793 2001-12-13 André Pönitz <poenitz@gmx.net>
11796 * undo_func.C: minor cleanup
11798 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11800 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11801 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11802 font in urw-fonts package which is marked as -urw-fontspecific and
11803 does not work (incidentally, changing the encoding in the
11804 fonts.dir of this package to -adobe-fontspecific fixes the
11807 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11808 is a crash when undoing first paragraph (Juergen, please take a
11809 look). THis does not mean the undo fix is wrong, just that it
11812 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11813 the (Paragraph*) version when needed instead of duplicating the
11816 * text.C (workWidth): use Inset::parOwner to find out where the
11817 inset has been inserted. This is a huge performance gain for large
11818 documents with lots of insets. If Inset::parOwner is not set, fall
11819 back on the brute force method
11821 * paragraph_pimpl.C (insertInset):
11822 * paragraph.C (Paragraph):
11823 (cutIntoMinibuffer): set parOwner of insets when
11824 inserting/removing them
11826 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11828 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11834 * mathed/formulabase.C:
11835 * mathed/math_cursor.[Ch]:
11836 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11839 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11841 * lyxlength.[Ch] (operator!=): new function
11843 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11845 * text.C (workWidth): use Inset::parOwner to find out where the
11846 inset has been inserted. This is a huge performance gain for large
11847 documents with lots of insets. If Inset::parOwner is not set, fall
11848 back on the brute force method
11850 * paragraph_pimpl.C (insertInset):
11851 * paragraph.C (Paragraph):
11852 (cutIntoMinibuffer): set parOwner of insets when
11853 inserting/removing them
11855 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11857 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11859 * tabular-old.C (getTokenValue):
11860 * tabular.C (getTokenValue):
11861 (write_attribute): new versions for LyXLength
11862 (everywhere): adjust the use of widths
11864 * tabular.h: change the type of widths from string to LyXLength
11866 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11868 * paragraph.C: fixed missing line number count when exporting
11869 Environments to LaTeX file
11871 * buffer.C: added informational message for checking line numbers.
11873 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11875 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11876 paragraph, do the 'double space' part, but not the 'empty
11879 * text.C (workWidth): small optimization
11880 (getLengthMarkerHeight): use minimal size for negative lengths.
11882 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11884 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11886 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11888 2001-12-11 André Pönitz <poenitz@gmx.net>
11891 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11893 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11895 * text2.C: keep selection on a setFont()
11897 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11899 * lyx_cb.C: another bv->text misuse, from insert label
11901 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11904 * kbsequence.C: re-instate nmodifier mask
11906 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11908 * lyx_main.h: make lyxGUI private.
11910 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11912 * lyxfind.C: place the cursor correctly on failed search
11914 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11916 * text.C (getLengthMarkerHeight): for small heights, the arrows
11917 are not always on top/bottom of the text
11918 (drawLengthMarker): smaller arrows; take the left margin in
11919 account; draw also vfills.
11921 (paintLastRow): remove special code for vfill and standard spaces,
11922 since everything is handled in drawLengthMarker now.
11924 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11926 * buffer.C (insertErtContents): try to handle font and language
11927 interaction a bit better.g
11929 * ColorHandler.C (updateColor): change the hash to cover the whole
11930 LColor enum, ws cleanup
11931 (getGCLinepars): ditto
11932 (getGCLinepars): only lookup in the linecache once.
11934 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11936 * iterators.C (operator++): Make the iterator more robust
11938 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11940 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11942 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11945 * text.C: better added space drawing
11947 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11950 * BufferView2.C: fix layout combo update on inset unlock
11952 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11954 * Makefile.am: don't compile unused files
11956 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11960 * LyXAction.C: remove old LFUN_LAYOUTNO
11962 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11964 * paragraph_pimpl.h:
11965 * paragraph_pimpl.C: isTextAt() doesn't need font param
11967 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11970 * lyxlex.C: little cleanup
11972 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11974 * BufferView_pimpl.C: fix insertAscii for insets
11976 2001-12-05 Juergen Vigna <jug@sad.it>
11978 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11979 set the right font on the "multi" paragraph paste!
11981 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11987 * lyxlength.C: remove out-commented code.
11989 * BufferView_pimpl:
12003 * vc-backend.C: change "while(" to "while ("
12005 * lyxlength.[Ch]: add zero function to check if length is zero or
12007 * lyxgluelength.C: use it
12009 2001-12-05 Allan Rae <rae@lyx.org>
12011 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12012 Works for 2.95.3, from what I understand of Garst's reports this should
12013 work for other g++ versions. We're screwed if the abs(int) definition
12014 changed between bugfix releases of gcc.
12016 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12018 * text.C: fix chapter label offset !
12020 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12023 * text.C: fix hfill at end of line, clean up
12025 2001-12-04 Juergen Vigna <jug@sad.it>
12027 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12028 that we force an update of the inset and it's owners if neccessary.
12030 2001-12-03 Juergen Vigna <jug@sad.it>
12032 * text.C (rowLast): simplified code
12034 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12036 * lyxfunc.C: fix show options on timeout
12038 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12040 * screen.C (topCursorVisible): scroll half a page when the cursor
12041 reached top of bottom of screen
12043 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12045 * minibuffer.C: deactivate on loss of focus
12047 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12049 * vspace.[Ch] (operator!=): add operator.
12051 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12053 * BufferView_pimpl.C: refuse to open an inset when
12054 there's a selection.
12056 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12058 * BufferView_pimpl.C: allow to click on RHS of full row insets
12060 2001-11-30 Juergen Vigna <jug@sad.it>
12062 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12063 insets for undo reasons.
12065 2001-11-28 André Pönitz <poenitz@gmx.net>
12067 * vspace.[Ch]: cosmetical changes
12069 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12079 * kbsequence.C: part re-write of old kb code
12082 * WorkArea.C: remove Lgb_bug_find_hack
12084 2001-11-30 José Matos <jamatos@fep.up.pt>
12086 * buffer.C (makeDocBookFile): add a comment to point a hack.
12087 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12088 Fixed a double write of labels.
12090 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12093 * LaTeX.h Fixed bug in LaTeX class where it would not
12094 re-run latex if no depfiles were changed, but the .dvi was removed.
12096 2001-11-28 André Pönitz <poenitz@gmx.net>
12098 * all the files from the change on 2001/11/26:
12099 use lyx::layout_type instead of LyXTextClass::size_type
12100 use lyx::textclass_type instead of LyXTextClassList::size_type
12102 2001-11-29 Juergen Vigna <jug@sad.it>
12104 * text.C: added support for paragraph::isFreeSpacing()
12106 * buffer.C: same as above
12108 * paragraph.h: inserted isFreeSpacing() function to enable
12109 FreeSpacing inside InsetERT.
12111 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12112 of the paragraph's in the cut/copy buffer to 0!
12114 * text2.C (removeRow): remove the assert as it can!
12116 * lyxtext.h: added helper function firstRow returning firstrow and
12117 made firstrow private again.
12119 * BufferView2.C (lockInset): don't relock if we're already locked!
12121 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12122 the only paragraph.
12123 (removeRow): added Assert::(firstrow)
12125 * debug.C: forgot to add INSETTEXT here.
12127 2001-11-28 Juergen Vigna <jug@sad.it>
12129 * sp_spell.C (initialize): changed error text to more general
12130 spellchecker command use (not only ispell!)
12132 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12134 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12136 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12138 * vspace.C: initialise lyxgluelength on failure
12140 2001-11-28 Allan Rae <rae@lyx.org>
12142 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12143 declaration & definition that looks like a function declaration.
12145 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12147 * BufferView2.C (copy):
12148 (copyEnvironment): do not clear the selection when doing a copy.
12150 * text.C (paintFirstRow): compilation fix
12152 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12154 * tabular.C (Latex): correct line count when writing latex.
12156 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12158 * paragraph_pimpl.h:
12159 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12162 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12166 * LColor.C: change vfillline->added_space
12168 * text.C: add markers and text for added space
12170 * vspace.C: fix comment
12172 2001-11-28 André Pönitz <poenitz@gmx.net>
12174 * paragraph.C: whitespace changes
12175 * all the other files from the change on 2001/11/26:
12176 change *::pos_type into lyx::pos_type
12178 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12180 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12181 language of the document when inserting error insets.
12183 2001-11-26 André Pönitz <poenitz@gmx.net>
12185 * BufferView_pimpl.[Ch]:
12193 * paragraph_pimpl.[Ch]:
12196 * text2.C: reduce header dependencies, introduce type for positions
12198 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12200 * <various>: change to use Alert.h
12202 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12204 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12205 when encountering an unknown token.
12206 (readLyXformat2): Show an error message if there were unknown tokens.
12208 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12211 * BufferView_pimpl.C:
12215 * text2.C: use par->isInset()
12217 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12219 * paragraph_pimpl.h:
12220 * paragraph_pimpl.C: cleanup
12222 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12224 * text2.C (removeRow):
12225 * text.C (setHeightOfRow): remove useless (and costly) call to
12228 2001-11-20 Allan Rae <rae@lyx.org>
12230 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12231 Now need Inset*::checkInsertChar() to return true for appropriate
12232 cases so that the characters in the minibuffer will actually be
12235 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12237 * text.C: change the order of the includes.
12238 (workWidth): initialize it at once.
12239 (workWidth): make maxw unsigned
12240 (setHeightOfRow): remove unused variable (inset)
12241 (selectSelectedWord): remove unused variable (inset)
12242 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12244 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12246 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12247 server is not running.
12249 (closeConnection): add debug info when server is disabled.
12251 * ColorHandler.C (getGCForeground): send debug message to GUI
12254 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12256 * kbmap.C (bind): modify because return conventions of
12257 kb_sequence::parse have changed.
12259 * kbsequence.C (parse): only ignore spaces and not any stupid
12260 control character. This avoids tests like s[i] <= ' ', which are
12261 guaranteed to fail with 8bit characters and signed chars.
12262 Change return code to string::npos when there have been no error
12263 (0 was a bad idea when error is at first character)
12265 2001-11-14 José Matos <jamatos@fep.up.pt>
12268 * buffer.C (simpleDocBookOnePar): removed unused argument.
12270 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12272 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12273 insets which are part of a word. Paragraph::isLetter takes care of
12274 that now. Use Paragraph::isInset to identify insets.
12275 (selectSelectedWord): do not test for hyphenation break.
12277 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12278 that protected spaces are considered as spaces.
12280 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12283 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12286 * lyxserver.C: fix it. and small cleanup.
12288 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12290 * BufferView_pimpl.C: use inline helpers
12293 * LaTeXFeatures.C: fix typos
12296 * Spacing.C: move spacing_string into class
12298 * ToolbarDefaults.C: move stuff into namespace anon
12300 * layout.h: update enum
12302 * lyxfunc.C: use better debug
12304 * minibuffer.h: fix typo
12308 * WorkArea.C: add and use Debug::WORKAREA
12312 * text2.C: code re-organisation, inline helpers
12314 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12316 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12317 std::vector.empty().
12319 2001-11-09 Allan Rae <rae@lyx.org>
12321 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12322 '\n's after tables. Tabular and ERT inset work now makes this no
12325 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12328 * minibuffer.C: fix crash, improve drop-down completion
12330 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12333 * lyxserver.C: invalidate fd's when doing endPipe()
12335 2001-11-08 José Matos <jamatos@fep.up.pt>
12337 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12338 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12341 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12343 2001-11-07 José Matos <jamatos@fep.up.pt>
12346 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12349 * buffer.C (sgmlOpenTag):
12350 * buffer.C (sgmlCloseTag): removed debug info.
12352 * buffer.h (sgmlOpenTag):
12353 * buffer.h (sgmlCloseTag): made public.
12355 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12357 * buffer.C (saveParamsAsDefaults):
12358 * lyx_cb.C (MenuLayoutSave): remove
12360 * LyXAction.C (init):
12362 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12364 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12366 * buffer.C (setPaperStuff): removed from here...
12368 * bufferparams.C (setPaperStuff): ... and moved there.
12370 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12374 * XFormsView.C: add support for drop-down completion
12376 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12378 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12381 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12383 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12386 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12388 * lyx_main.C: change ref to known bugs
12390 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12392 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12393 to work around older babel problems.
12395 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12397 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12399 2001-10-24 Juergen Vigna <jug@sad.it>
12401 * tabular-old.C (ReadOld): below variable changes reflected.
12403 * tabular.[Ch]: added ltType struct for longtable header/footer
12404 defines and changed all instances where they are used. Added
12405 future support for double top/bottom rows.
12407 2001-10-24 José Matos <jamatos@fep.up.pt>
12409 * buffer.h (docbookHandleCaption):
12410 * buffer.C (docbookHandleCaption): removed unused function.
12411 (makeDocBookFile): moved docbook supported version to v4.1.
12413 2001-10-24 José Matos <jamatos@fep.up.pt>
12416 * tabular.C (docbookRow): new function to export docbook code of a row.
12417 (DocBook): now honors the longtable flags.
12419 2001-10-23 José Matos <jamatos@fep.up.pt>
12422 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12423 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12425 * buffer.C (makeLinuxDocFile):
12426 (makeDocBookFile): reworked the preamble, more clean, and with
12427 support for lyx defined entities. Changed the document declaration
12428 to be more XML friendly.
12430 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12431 if we need to output XML that should be done with a filter.
12433 2001-10-22 Juergen Vigna <jug@sad.it>
12435 * sp_pspell.h (class PSpell): add alive function needed in the
12436 controller to see if the spellchecker could be started.
12438 2001-10-22 Juergen Vigna <jug@sad.it>
12440 * buffer.C (insertStringAsLines): modify the font for inserting
12441 chars in certain conditions by calling checkInsertChar(font).
12443 2001-10-19 Juergen Vigna <jug@sad.it>
12445 * text.C (workWidth): use getRow instead of wrong algorithm.
12446 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12448 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12453 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12455 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12457 * text.C (workWidth): do not search for the exact row when
12458 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12459 optimization for big documents.
12461 2001-10-18 Juergen Vigna <jug@sad.it>
12463 * text.C (workWidth): new function with added Inset * parameter.
12465 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12467 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12469 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12470 change return type of getColumnNearX.
12473 * text.C (changeRegionCase): use uppercase/lowercase instead of
12476 (rightMargin): simplify code by factoring out the uses of
12481 (appendParagraph): use Paragraph::size_type
12483 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12485 * vspace.C (asLatexString): add a missing break
12487 2001-10-15 Herbert Voss <voss@perce.de>
12489 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12491 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12493 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12496 2001-10-10 André Pönitz <poenitz@gmx.net>
12498 * lyxfunc.C: removed greek_kb_flag.
12500 2001-10-10 Herbert Voss <voss@perce.de>
12502 * lyx_main.C: delete global string help_lyxdir.
12504 2001-10-09 Herbert Voss <voss@perce.de>
12506 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12508 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12510 * lyx_main.C: added global string help_lyxdir.
12512 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12514 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12516 * lyxrc.C (set_font_norm_type): support iso8859-4
12518 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12520 * LaTeX.C (deplog): add another regex for MikTeX
12522 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12524 * lyxrc.C (set_font_norm_type): support iso8859-3
12526 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12528 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12530 * LaTeXFeatures.C: remove special case of french and index
12532 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12533 before \begin{document}). This solves several incompatibilities.
12535 2001-10-03 Garst Reese <reese@isn.net>
12537 * lyx_cb.C: change CheckTex error msg.
12539 2001-10-03 José Matos <jamatos@fep.up.pt>
12541 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12543 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12545 * .cvsignore: update
12547 * lyx_main.C (commandLineVersionInfo): use new style version info.
12549 * buffer.C (writeFile):
12551 (makeLinuxDocFile):
12552 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12554 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12556 * version.h: update to use stuff in version.C
12558 * version.C.in: new file. Contains version information determined
12559 at compile time. This is a merging of version.h and
12562 2001-10-03 Juergen Vigna <jug@sad.it>
12564 * BufferView_pimpl.C (update): don't change "dirty" status in
12567 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12569 * WorkArea.C (c-tor): re-position version string slightly.
12571 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12573 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12574 revert to previous code.
12576 WorkArea.[Ch]: (show, destroySplash): methods removed.
12578 WorkArea.C: rework code so that it's an amalgam of the codes before and
12579 after the splash screen was moved to WorkArea.
12581 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12584 * vspace.C (inPixels):
12587 * buffer.C (insertStringAsLines):
12588 (asciiParagraph): fix types to be large enough
12590 * lyxlex_pimpl.h: change member status from short to int
12592 * layout.h: fix type of endlabeltype
12595 * kbsequence.C (parse): change return type to string::size_type
12597 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12600 * Bullet.C (bulletSize):
12601 (bulletEntry): do not use short ints as parameters
12603 * BufferView2.C (insertLyXFile): change a char to an int.
12605 * WorkArea.C (WorkArea): remove unneeded floats in computation
12607 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12609 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12611 * paragraph.C (asString): Do not ignore newline/hfill chars when
12612 copying to the clipboard.
12614 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12616 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12617 after a multi-line inset.
12619 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12621 * paragraph.C (validate): Set NeedLyXFootnoteCode
12623 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12625 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12626 and decrease-error to decrease.
12628 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12630 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12631 it more readable (should be equivalent)
12633 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12635 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12637 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12639 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12640 of a cursor (row, etc.) after a character has been deleted
12641 (deleteEmptyParagraphMechanism): call the method above on _all_
12642 cursors held by the LyXText when a double space has been
12645 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12647 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12649 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12651 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12652 background. Use greyOut() and the new show() methods to toggle between
12653 the foreground and background. Add code to remove the splash after
12654 its initial showing.
12656 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12657 (create_forms): no longer call Dialogs::showSplash.
12659 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12661 * .cvsignore: add version_info.h
12663 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12665 * version_info.h.in: new file
12667 * Makefile.am: add version_info.h.in
12669 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12670 version_info.h instead of VERSION_INFO
12672 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12674 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12675 The ERT inset now returns string().
12677 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12679 * lyxtext.h, text.C (selectNextWord): renamed as
12680 selectNextWordToSpellcheck.
12682 * text.C (selectNextWordToSpellcheck): Modified to not select
12683 words inside an ERT inset.
12685 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12687 * lyx_cb.C (MenuLayoutSave): change a bit the question
12689 * sp_base.h: include <sys/types.h>
12691 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12693 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12695 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12697 * several files: fix typos in user-visible strings
12699 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12701 * text2.C (pasteSelection): do not set the selection, since it
12702 will be cleared later. Actually, the intent was to fix the way the
12703 selection was set, but I figured rmoving the code was just as good.
12705 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12707 * FontLoader.C (available): Check if font is available without
12710 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12712 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12714 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12716 * lyxrc.[Ch]: added display_graphics variable and associated code.
12718 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12720 * bufferparams.C (hasClassDefaults): new method. Returns true if
12721 the buffer parameters correspond to known class defaults
12723 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12725 * XFormsView.C (show): set minimum size to the main window.
12727 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12729 * text2.C (copySelection):
12731 * lyxfind.C (LyXReplace):
12732 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12733 LyXText::selectionAsString.
12735 * paragraph.C (asString): add "label" argument to the second form
12737 * text2.C (selectionAsString): add "label" argument and pass it to
12738 Paragraph::asString.
12740 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12742 * lyx_main.C (commandLineHelp): remove version information
12744 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12746 * lyx_main.C: add -version commandline option
12748 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12750 * paragraph.h: make the optional constructor arg required instead.
12751 some modifications to other files because of this.
12753 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12755 * lyxserver.C (C_LyXComm_callback): make it static
12757 * lyx_main.C (error_handler): make it static
12759 * lyx_gui.C (LyX_XErrHandler): make it static
12761 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12763 * WorkArea.C: make the extern "C" methods static.
12765 * Makefile.am (lyx_LDADD): simplify
12767 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12769 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12770 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12772 * LyXAction.C (init):
12773 * lyxfunc.C (dispatch): associated code removal.
12775 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12777 * lyxfont.h (isSymbolFont): shut off warning
12779 * text.C (setHeightOfRow):
12780 (getVisibleRow): fix crash with empty paragraphs which have a
12783 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12785 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12788 2001-09-04 José Matos <jamatos@fep.up.pt>
12791 * tabular.C (docbook): rename docBook method to docbook.
12793 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12795 * Makefile.am: add dependencies to main.o.
12797 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12799 * FontLoader.C (available): Return false if !lyxrc.use_gui
12801 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12803 * FontInfo.C (query):
12804 * converter.C (view):
12805 * importer.C (Import):
12806 * exporter.C (Export): Can not -> cannot.
12808 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12810 * BufferView_pimpl.C: allow to create index inset even if
12813 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12815 * buffer.C (getLists): replace boost::tie code with an explicit pair
12816 as boost::tie can break some compilers.
12818 * iterators.h: Added a std:: declaration to the return type of
12821 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12823 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12826 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12828 * iterators.[Ch]: New files. Provide paragraph iterators.
12830 * buffer.C (changeLanguage): Use paragraph iterators.
12831 (isMultiLingual): ditto
12833 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12835 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12837 * FontLoader.C: Support for cmr font.
12839 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12841 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12842 (available): New method.
12844 * FontInfo.C (getFontname): Use scalable fonts even when
12845 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12848 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12850 * converter.C (Formats::view): reverted! Incorrect fix.
12852 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12854 * converter.C (Formats::view): only output the -paper option
12855 if the dvi viewer is xdvi, thereby fixing bug #233429.
12857 2001-08-23 Herbert Voss <voss@perce>
12859 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12861 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12863 * Spacing.h (Spacing): Set space to Default on in the default
12866 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12868 * vc-backend.h (RCS::versionString): add RCS to version
12869 (CVS::versionString): add CVS to version
12871 * vc-backend.C (scanMaster): do not add CVS to version.
12872 (scanMaster): do not add RCS to version
12874 * lyxvc.C (versionString): new method
12876 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12878 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12880 * Spacing.C (set): initialize fval
12882 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12884 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12887 2001-08-16 Juergen Vigna <jug@sad.it>
12889 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12891 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12893 * BufferView_pimpl.C:
12896 * text2.C: setParagraph takes linespacing now
12898 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12900 * LyxAction.C: add internal LFUN_CITATION_INSERT
12902 * LyXView.C: actually apply fix
12904 * bufferlist.C: fix open non-existent file
12906 * lyxfind.C: fix indentation
12908 * lyxfunc.C: remove unneeded assert, fix typo
12910 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12912 * MenuBackend.C: use "Floatname List"
12914 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12916 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12917 when converting LaTeX layout to insetERT.
12918 Generate a non-collapsed float when reading old float
12920 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12922 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12925 2001-08-13 Juergen Vigna <jug@sad.it>
12927 * text.C (fill): return 0 instead of 20 as this seems to be the more
12930 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12932 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12935 2001-08-13 Juergen Vigna <jug@sad.it>
12937 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12939 (SearchBackward): comment out the unlocking of the inset_owner this
12940 should not be needed!
12942 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12944 * Many files: Remove inherit_language, and add latex_language
12946 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12947 collapsible insets.
12949 2001-08-10 Juergen Vigna <jug@sad.it>
12951 * text.C (prepareToPrint): fixed hfill-width in draw!
12953 * BufferView2.C (selectLastWord): save the selection cursor as this
12954 now is cleared in the function LyXText::clearSelection!
12956 2001-08-08 Juergen Vigna <jug@sad.it>
12958 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12959 BACKSPACE type functions.
12961 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12962 is only cutted from the document but not put in the cut-buffer, where
12963 still the old stuff should be.
12965 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12967 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12969 * tabular.C (SetWidthOfCell): fixed special case where the width
12971 (LeftLine): handle '|' in align_special.
12973 (LeftAlreadyDrawed): ditto
12974 (SetWidthOfCell): ditto
12976 2001-08-07 Juergen Vigna <jug@sad.it>
12978 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12980 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12982 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12983 * lyxlex.[hC]: ditto
12985 2001-08-06 Juergen Vigna <jug@sad.it>
12987 * text.C (getVisibleRow): fix up row clearing a bit.
12989 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12991 * minibuffer.C: make sure the X server sees the changes in the input.
12993 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12995 * paragraph.C (getFont): split into...
12996 (getLabelFont): this
12997 (getLayoutFont): and this
12998 * paragraph_pimpl.C (realizeFont): calling this
13000 * text2.C (getFont): split into...
13001 (getLayoutFont): this
13002 (getLabelFont): and this
13003 (realizeFont): all three calling this
13005 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13008 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13010 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13012 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13014 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13015 layouts from the Quote inset insertion.
13017 2001-08-03 Juergen Vigna <jug@sad.it>
13019 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13021 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13022 only if status not is already CHANGED_IN_DRAW (second level).
13024 * text.C (draw): don't set the need_break_row when inside an
13027 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13029 * buffer.C (parseSingleLyXformat2Token): handle more latex
13032 * bufferview_funcs.[hC]: change function names to
13033 begin with small char, adjust other files.
13035 2001-08-02 André Pönitz <poenitz@gmx.net>
13038 BufferView_pimpl.C: remove broken special code for math-greek
13040 2001-08-02 Juergen Vigna <jug@sad.it>
13042 * BufferView_pimpl.C (update): redone this function so that we
13043 update the text again if there was a CHANGE_IN_DRAW.
13045 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13046 (drawFromTo): added a new internal bool which is used by draw() and
13048 (general): some cursor drawing problems fixed.
13050 2001-08-01 Juergen Vigna <jug@sad.it>
13052 * lyxfind.C (LyXFind): fixed
13053 (SearchForward): ditto
13054 (SearchBackward): ditto
13056 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13057 spurius drawing of the cursor in the main area.
13059 * text2.C (status): small fix which could lead to a segfault!
13060 (clearSelection): remove unneeded BufferView param.
13062 2001-08-01 André Pönitz <poenitz@gmx.net>
13064 * lyxfunc.C: small change due to changed mathed interface
13066 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13068 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13070 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13072 * lyxfunc.c: fail gracefully if file doesn't exist
13077 * BufferView_pimpl.C: IsDirWriteable() proto changed
13079 * LyXView.C: fix updateWindowTitle() to store the last title
13081 2001-07-31 Juergen Vigna <jug@sad.it>
13083 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13084 the font (wrong since using of Paragraph::highestFontInRange).
13086 * paragraph.C (highestFontInRange): added a default_size parameter.
13088 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13089 (setHeightOfRow): reformat
13091 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13093 * converter.[hC] + affected files: move to (inital-char)lowercase
13096 * ParagraphParameters.C (ParagraphParameters): remove commented code
13098 * PainterBase.[Ch]: remove commented code
13100 * LaTeXFeatures.h: add "bool floats" for float.sty
13102 * LaTeXFeatures.C (LaTeXFeatures): init floats
13103 (require): handle float
13104 (getPackages): do it with floats
13106 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13108 * BufferView_pimpl.C (Dispatch): improve handling of
13109 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13111 * commandtags.h: #include lyxfont.h here temporarily to avoid
13114 * bufferlist.h: include LString.h here.
13116 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13118 * text2.C (getStringToIndex): new method.
13120 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13122 * *: Reduced header file dependencies all over.
13124 2001-07-30 Baruch Even <baruch@lyx.org>
13126 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13128 2001-07-29 Baruch Even <baruch@lyx.org>
13130 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13132 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13134 * ParameterStruct.h (endif): add a default constructor to make
13135 sure that all variables is initialized.
13137 * ParagraphParameters.C (ParagraphParameters): adjust
13139 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13141 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13142 index; also, check that there is something to index, and that it
13143 does not span over several paragraphs.
13144 (doubleClick): use WHOLE_WORD_STRICT for double click.
13146 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13148 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13151 2001-07-26 Baruch Even <baruch@lyx.org>
13153 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13154 an InsetFig figure, backwards compatible reading of old figure code.
13156 2001-07-27 Juergen Vigna <jug@sad.it>
13158 * text2.C: font.realize function adaption.
13160 * text.C (draw): add a warnings lyxerr text if needed.
13162 * layout.C: font.realize function adaption.
13164 * language.C: add inherit_language and implement it's handlings
13166 * bufferview_funcs.C (StyleReset): remove language parameter from
13167 font creation (should be language_inherit now).
13169 * bufferparams.C (writeFile): handle ignore_language.
13171 * paragraph.C (getFontSettings): the language has to be resolved
13172 otherwise we have problems in LyXFont!
13174 * lyxfont.C (lyxWriteChanges): added document_language parameter
13175 (update): removed unneeded language parameter
13177 * paragraph.C (validate): fixed wrong output of color-package when
13178 using interface colors for certain fonts in certain environments,
13179 which should not seen as that on the final output.
13181 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13183 * BufferView_pimpl.C:
13188 * LyXAction.C: add thesaurus support
13191 * lyxfind.C: add "once" parameter, for thesaurus, to not
13192 move to the next match
13194 2001-07-26 Juergen Vigna <jug@sad.it>
13196 * lyxfont.C (realize): honor ignore_language too!
13199 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13201 * text.C (draw): one place more for ignore_language to not draw
13204 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13206 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13208 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13210 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13211 the minipage conversion problem.
13213 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13215 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13218 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13220 * BufferView.h: don't forward declare WorkArea
13222 * BufferView.C: don't include WorkArea.h
13224 2001-07-25 André Pönitz <poenitz@gmx.net>
13228 * lyxfunc.C: new LFUN 'math-space'
13230 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13232 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13234 * text2.C (toggleInset): call open/close
13236 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13238 * lyxfunc.C (dispatch): add debug for the disabled case
13240 * font.C (buttonText): make similar to rectText
13242 * buffer.C (readInset): comment out parsing of insetlist and
13245 * PainterBase.C (rectText): small correction
13247 * BufferView_pimpl.C: comment out insettheorem and insetlist
13248 * LyXAction.C: ditto
13249 * commandtags.h: ditto
13251 2001-07-24 Juergen Vigna <jug@sad.it>
13253 * text.C (draw): honor the ignore_language.
13255 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13257 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13259 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13262 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13264 * lyxtext.h: remove unused (and unimplemented) methods
13266 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13268 * text.C (getVisibleRow): honor background color
13271 * Painter.h: remove default color argument for fillRectangle
13273 * text.C (backgroundColor): new method
13275 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13277 * text.C (getVisibleRow): adjust
13279 * font.[Ch] (rectText): new method, metrics
13280 (buttonText): new method, metrics
13282 * PainterBase.[hC]: make rectText and buttonText always draw and take
13285 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13287 * ToolbarDefaults.C (read):
13288 * MenuBackend.C (read): allow escaping in all strings
13290 * BufferView_pimpl.C (insertAndEditInset): new method.
13291 (Dispatch): use insertAndEditInset whenever appropriate.
13293 * BufferView_pimpl.C (insertNote): removed
13295 * BufferView_pimpl.C (smartQuote): new method, moved from
13296 BufferView; if an insetquote cannot be inserted, insert a '"'
13299 * BufferView2.C: remove insertCorrectQuote();
13301 * lyxfunc.C (getStatus): Add support for all remaingin
13302 inset-insert lfuns.
13304 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13306 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13307 command (necessary to pass " as parameter of self-insert.
13309 * text.C (selectWordWhenUnderCursor):
13310 (selectWord): add word_location parameter
13311 (selectWordWhenUnderCursor): same + remove special code for word
13313 (selectNextWord): use kind() to guess type of insetspecialchar,
13316 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13317 (insertErtContents): create ert insets as collapsed.
13318 (readInset): better compatibility code for Info inset.
13320 2001-07-20 Juergen Vigna <jug@sad.it>
13322 * lyxfunc.C (dispatch): use always LyXFind now!
13324 * text2.C (init): add a reinit flag so that the LyXText can be
13325 reinited instead of deleted and reallocated (used in InsetText).
13327 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13333 2001-07-18 Juergen Vigna <jug@sad.it>
13335 * text.C (selectNextWord): handle insets inside inset by calling
13336 always the bv->text functions so that we can go up the_locking_inset!
13338 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13339 in strange locations when inside an inset!
13341 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13342 handling to include insets.
13344 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13346 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13348 * LyXAction.C (init):
13350 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13351 LIGATURE_BREAK, since the name is so stupid.
13353 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13355 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13358 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13360 * sp_form.[Ch]: remove.
13362 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13364 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13367 * src/buffer.C (readInset): ditto.
13369 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13371 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13372 menuSeparator(), endOfSentenceDot(), ldots() and
13373 hyphenationPoint(), which are therefore removed.
13374 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13376 * LyXAction.C (init):
13377 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13379 * paragraph.C (getWord): removed.
13381 * BufferView_pimpl.C (Dispatch): use last word or selection for
13382 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13384 * lyx_main.C (queryUserLyXDir): do not ask before creating
13385 user_dir, except if it has been named explicitely.
13387 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13389 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13390 a document of zero size.
13392 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13394 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13395 approriately in the c-tor and in require().
13396 (getPackages): output the appropriate LaTeX for natbib support.
13398 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13399 variables "use_natbib" and "use_numerical_citations" when reading the
13401 (readInset): read the various natbib cite commands.
13402 (validate): white-space change.
13404 * bufferparams.[Ch]: new variables "bool use_natbib" and
13405 "bool use_numerical_citations".
13406 (writeFile): output them in the LyX file.
13408 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13410 * lyxfunc.C (getStatus): add support for all the inset insertion
13413 * text2.C (insertInset):
13414 * paragraph.C (insetAllowed):
13415 * BufferView_pimpl.C (insertInset): update to take in account the
13416 renaming of insertInsetAllowed
13418 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13420 * text2.C (getInset): new method. returns inset at cursor position.
13422 * BufferView_pimpl.C (Dispatch): changes because of this.
13424 * LyXAction.C (init): rename open-stuff to inset-toggle.
13426 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13428 * text2.C (toggleInset): renamed from openStuff; use
13431 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13433 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13435 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13437 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13439 * buffer.C (readLyXformat2): Add filename to the error dialog
13441 2001-07-18 Juergen Vigna <jug@sad.it>
13443 * tabular.C (GetCellNumber): put an assert here instead of the check!
13445 2001-07-17 Juergen Vigna <jug@sad.it>
13447 * BufferView_pimpl.C (toggleSelection): adapted too.
13449 * text.C (selectNextWord): adapted for use with insets.
13450 (selectSelectedWord): ditto
13452 2001-07-17 Juergen Vigna <jug@sad.it>
13454 * sp_spell.C (PSpell): fix initialitation order.
13456 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13458 * paragraph.C: spacing
13460 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13462 * sp_spell.C: repair language selection for pspell
13464 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13466 * lyxfunc.h: change more methods to begin with lower char.
13468 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13470 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13471 for unknown layouts.
13473 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13475 * buffer.C (readLyXformat2): Generate an error dialog if there are
13478 2001-07-16 Juergen Vigna <jug@sad.it>
13480 * sp_spell.C: always compile ISpell part.
13482 * lyxrc.C: added use_pspell entry and it's handling.
13484 2001-07-13 Juergen Vigna <jug@sad.it>
13486 * sp_spell.C: removed double includes.
13488 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13490 Consistent use of Lsstream.h:
13491 * Lsstream.h: added using std::stringstream for consistencies sake.
13493 * buffer.C: removed using std::stringstream
13495 * lyxfont.C (stateText):
13496 * paragraph.C (asString):
13497 * text.C (selectNextWord, selectSelectedWord):
13498 * text2.C (setCounter):
13499 * vspace.C (asString, asLatexString):
13500 std::ostringstream -> ostringstream.
13502 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13504 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13505 * commandtags.h: add LFUN_HELP_ABOUTLYX
13506 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13508 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13510 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13512 * lyx_gui_misc.C: remove spellchecker
13513 * lyxfunc.C: showSpellchecker
13515 * sp_ispell.h: added
13516 * sp_pspell.h: added
13517 * sp_spell.C: added
13518 * sp_form.[Ch]: removed
13519 * spellchecker.[Ch]: removed
13521 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13523 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13525 (simpleTeXSpecialChars): Simply print the input character without
13526 any special translation if pass_thru is set.
13528 * layout.h: Added bool pass_thru to layout class for being able to
13529 implement pass through of a paragraph for Literate Programming.
13531 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13532 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13533 * layout.C (Read): add "passthru" to list of layout tags and add
13534 code to set the pass_thru boolean when it is read.
13536 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13538 * trans_decl.h: remove allowed from KmodInfo
13540 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13541 remove allowed code
13544 * paragraph_pimpl.C (erase): use boost::prior
13546 * Painter.C (text): use data() instead of c_str() when length is
13548 * WorkArea.C (putClipboard): ditto
13549 * font.h (width): ditto
13551 * BufferView2.C: use it-> instead of (*it). for iterators
13553 * paragraph_pimpl.C: ditto
13554 * paragraph.C: ditto
13555 * minibuffer.C: ditto
13556 * language.C: ditto
13558 * encoding.C: ditto
13559 * counters.C: ditto
13560 * converter.C: ditto
13562 * Variables.C: ditto
13563 * TextCache.C: ditto
13564 * MenuBackend.C: ditto
13565 * LyXAction.C: ditto
13567 * FloatList.C: ditto
13568 * DepTable.C: ditto
13569 * ColorHandler.C (LyXColorHandler): ditto
13571 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13573 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13575 * text2.C (openStuff): reintroduce this method (which had been
13576 nuked in NEW_INSETS frenzy).
13578 * lyxfunc.C (Dispatch): when an action has not been handled, use
13579 its name in the error message, not its number.
13581 * paragraph.C (inInset): change method name to begin with lowercase.
13584 * text2.C: updates because of this.
13586 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13588 * ToolbarDefaults.C (add): add spaces in error message
13590 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13592 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13593 (readLyXformat2): rename return_par to first_par, use lyxlex's
13594 pushToken and remove the manual push handling.
13595 (parseSingleLyXformat2Token): add another ert comp. variable:
13596 in_tabular, rename return_par to first_par. handle newlines better
13598 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13600 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13602 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13604 * text2.C (getParFromID): removed
13606 * buffer.C (getParFromID): new method moved form lyxtext.
13607 * BufferView2.C (insertErrors): adjust
13608 (setCursorFromRow): adjust
13609 * BufferView_pimpl.C (restorePosition): adjust
13610 * lyxfunc.C (Dispatch): adjust
13611 * undo_funcs.C (textUndo): adjust
13613 (textHandleUndo): adjust
13614 (textHandleUndo): adjust
13616 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13618 * buffer.C: up' the LYX_FORMAT
13620 * lyxfont.h: turn NO_LATEX on as default
13622 * buffer.C (insertErtContents): new methods of tex style compability.
13623 (parseSingleLyXformat2Token): use it several places.
13624 * tabular.C (OldFormatRead): and here
13626 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13628 * text2.C: remove some commented code.
13631 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13632 * trans.C: changes because of the above.
13634 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13636 * text2.C (setCounter): Fix counters bug with bibliography layout.
13638 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13640 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13641 own member functions
13642 (simpleTeXSpecialChars): ditto
13644 2001-07-06 Juergen Vigna <jug@sad.it>
13646 * a lot of files: changed the access to LyXText::status and the
13647 call of undo-functions.
13649 * undo.[Ch]: added a inset_id to the undo informations.
13651 * undo_funcs.[Ch]: added and moved here all undo functions.
13653 * lyxtext.h: give the status enum a weight, made status_ a private
13654 variable and made accessor functions for it, removed the whole bunch
13655 of undo-functions as they are now in their own file, make some
13656 functions publically available. Added function ownerParagraph with
13659 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13660 made InInset() a const function, added getParFromID() function.
13662 * buffer.[Ch]: added const version for inset_iterator functions,
13663 added getInsetFromID() function.
13665 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13666 changed undo functions for new version.
13668 2001-07-05 Juergen Vigna <jug@sad.it>
13670 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13671 unknow mechanism does not call the proper constructor but only this
13672 one also if I request the other!?
13674 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13676 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13678 * text2.C (LyXText): use initialization lists.
13680 * lyxtext.h (Selection): initialize set_ and mark_
13681 (init): remove method
13683 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13685 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13687 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13689 * screen.[Ch]: change method names to begin with lowercase
13691 * BufferView_pimpl.C (updateScrollbar): simplify further and
13692 hopefully make it a bit faster.
13694 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13696 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13697 calling directly xforms functions.
13699 * Painter.C (Painter):
13700 * lyx_cb.C (MenuWrite):
13701 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13704 * lyx_gui.C: remove bogus guiruntime extern declaration.
13706 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13708 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13710 (redoDrawingOfParagraph): ditto
13711 (redoParagraphs): ditto
13712 (cutSelection): don't create a object for CutAndPaste use the
13713 static method directly
13714 (pasteSelection): ditto
13716 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13719 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13721 * modifications to some other files because of this.
13723 * Makefile.am (lyx_SOURCES): add XFormsView
13725 * XFormsView.[Ch]: new files
13727 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13728 the main window. Move the gui dependent stuff to XFormsView
13730 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13732 * tabular.C (GetCellInset): update cur_cell also in the row/col
13733 version of this function.
13735 * lyxfunc.C: no need to include figure_form.h here.
13741 * lyxvc.C: no need to include forms.h here.
13743 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13745 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13747 * lyxfunc.C (Dispatch):
13749 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13750 constructor argument.
13752 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13754 * paragraph.C (Paragraph): dont't clear, and just set layout.
13755 (makeSameLayout): use params's copy contructor.
13757 * ParagraphParameters.[Ch] (makeSame): delete method
13759 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13761 * Variables.[Ch]: fix indentation, rename set to isSet
13763 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13765 * lyxfunc.C (Dispatch): fix typo
13767 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13769 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13772 * bufferlist.C: include assert.h for emergencyWrite().
13774 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13776 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13777 give up at last (bug #425202) !
13779 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13785 * spellchecker.C: strip spellchecker options and bring up
13786 preferences tab instead
13788 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13790 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13791 the istringstream constructor
13793 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13795 * paragraph.C (getLayout): fix return value
13797 * paragraph.h: do not declare getLayout as inline.
13799 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13801 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13803 * lyxcursor.h (operator<): new func
13804 (operator>): new func
13805 (operator>=): new func
13806 (operator<=): new func
13808 * text.C (changeCase): use selection.start and selection.end
13809 (changeRegionCase): require from to be <= to. Require par to be a
13812 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13814 2001-06-27 Juergen Vigna <jug@sad.it>
13816 * text.C (cursorLeftOneWord): changed to return the cursor and added
13817 overlay with BufferView * parameter which calls this one.
13819 (selectWord): use new getWord function.
13820 (changeCase): renamed from changeWordCase as and extended to work
13821 also on selections.
13823 * lyxtext.h: added enum word_location
13825 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13826 changeCase as this operates now also on selections.
13828 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13830 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13832 * many files: send debug output to Debug::INFO instead of
13835 * converter.C (View):
13837 (Move): send debug output to Debug::FILES instead of console.
13839 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13841 * lyxfunc.C (getStatus): use func_status
13843 * func_status.h: new header, describing the results of
13844 LyXFunc::getStatus;
13846 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13849 2001-06-25 The LyX Project <jug@sad.it>
13851 * buffer.C (sgmlOpenTag):
13853 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13855 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13857 * text2.C: remove some dead code
13859 * tabular.C (GetCellInset): store the last cell checked (gotten)
13861 * tabular.h: add the helper for the speedup
13863 * lyxtext.h: remove some dead code
13865 2001-06-26 The LyX Project <Asger>
13867 * paragraph.C: Change export to LaTeX of alignment to
13868 \begin{center} and family for better roundtrip work with reLyX.
13870 * Tune the math drawing a bit.
13872 2001-06-25 The LyX Project <Asger>
13874 * LColor.C (LColor): New color for math background. New color
13877 2001-06-25 The LyX Project <jug@sad.it>
13879 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13881 * lyxfunc.C (Open):
13882 * bufferlist.C (newFile): do not restrict to files ending with
13885 * BufferView_pimpl.C (MenuInsertLyXFile):
13887 2001-06-24 The LyX Project <jug@sad.it>
13889 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13892 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13894 * lyxtext.h: rename most methods to begin with a small char.
13895 Lots of changes because of this.
13897 * paragraph.C (Paragraph): do not call fitToSize
13898 (erase): call Pimpl::erase
13899 (insertChar): call Pimpl::insertChar
13900 (insertInset): call Pipl::insertInset
13901 (breakParagraph): do not call fitToSize
13902 (breakParagraphConservative): do not call fitToSize
13903 (fitToSize): remove method
13905 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13907 2001-06-24 The LyX Project <Asger>
13909 * Fix Qt compilation^2
13911 2001-06-24 The LyX Project <jug@sad.it>
13913 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13914 depthHook(getDepth()-1).
13917 * ParagraphParameters.h:
13918 * ParameterStruct.h: change type of depth to unsigned int ==
13919 depth_type. Many adaptations to other files before of that.
13921 2001-06-24 The LyX Project <Asger>
13923 * Fix Qt compilation.
13925 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13927 * paragraph.h: renamed several methods to begin with small letter.
13928 several changes to many parts of the code because of this.
13930 2001-06-23 The LyX Project <jug@sad.it>
13932 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13933 rewritten to discard all double spaces when KeepEmpty is off
13934 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13935 to only handle newlines but not fiddle with spaces and friends.
13937 * lyxfunc.C (MenuNew): when doing 'new from template', use
13938 template_path as default directory
13940 2001-06-23 The LyX Project <Asger>
13942 * Clean-up of header file includes all over
13943 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13945 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13947 * paragraph.h: renamed from lyxparagraph.h
13949 2001-06-23 Asger <lyx@violet.home.sad.it>
13951 * Buffer.h: Removed Buffer::resize
13952 * BufferList.h: Removed BufferList::resize
13953 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13954 the document lazily when we change the width, or the font settings.
13956 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13958 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13960 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13962 * buffer.h: remove out of date comment
13964 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13967 * screen.C: fix "theoretical" GC leak
13969 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13971 * LaTeX.C (scanAuxFile):
13972 (deplog): remove trailing \r when reading stream (useful under
13975 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13977 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13978 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13979 and BufferView::theLockingInset(Inset*), so should use them and not
13980 access bv_->text->the_locking_inset directly.
13982 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13984 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13987 * tex-defs.h: remove old unused file
13989 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13991 * BufferView_pimpl.C: fix typo, remove minibuffer message
13992 when buffer has loaded
13994 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13996 * lyxfunc.C (Dispatch): use stringstream
13997 (MenuNew): use stringstream
13998 (Open): use stringstream
14000 * importer.C (Import): use stringstream
14002 * bufferview_funcs.C (CurrentState): use stringstream
14004 * LaTeX.C (run): use stringstream
14006 * BufferView_pimpl.C (savePosition): use stringstream
14007 (restorePosition): use stringstream
14008 (MenuInsertLyXFile): use stringstream
14010 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14023 * vspace.C: removed // -*- C++ -*- as first line.
14026 * version.h: added // -*- C++ -*- as first line.
14028 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14030 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14032 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14035 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14037 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14040 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14042 * gettext.C: include LString.h even when --disable-nls is on.
14044 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14046 * converter.h (Get): changed argument type from int to
14047 FormatList::size_type to avoid unnecessary conversion.
14049 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14052 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14054 * gettext.h: include LString.h even when --disable-nls is on.
14056 2001-06-07 Juergen Vigna <jug@sad.it>
14058 * text.C (BreakAgain): subst spaces with tabs.
14060 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14061 (resizeInsetsLyXText): set force on resizeLyXText.
14063 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14065 * gettext.h (gettext_init):
14066 (locale_init): use a real definition instead of a macro
14068 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14070 * Bufferview_pimpl.C:
14072 * LColor.C: further lcolor tidies
14074 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14076 * BufferView_pimpl.C (updateScrollbar): simplify.
14078 * BufferView2.C: don't include insets/insetinfo.h, change
14079 prototype for insertInset and call the Pimpl version. let
14080 updateInset call Pimpl version.
14082 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14083 gotoInset to BufferView::Pimpl
14085 2001-06-01 Juergen Vigna <jug@sad.it>
14087 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14088 inside a LockingInset (is the update needed at all?).
14090 2001-05-31 Juergen Vigna <jug@sad.it>
14092 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14093 here not the old one otherwise how should we compare it afterwards
14096 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14101 * FontInfo.C: bring C functions into global namespace when
14104 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14106 * LString.h: make sure config.h has been loaded before LString.h.
14108 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14109 (one for each char read by EatLine!).
14111 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14114 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14116 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14117 to the same as the par we break from
14119 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14121 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14123 * MenuBackend.C (expand): also create menu entries for wide
14124 versions of the floats.
14126 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14128 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14130 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14131 frontends/Makefile.am
14137 * tabular.C (getTokenValue): add std::
14139 * tabular-old.C (getTokenValue): add std::
14140 (getTokenValue): ditto
14141 (getTokenValue): ditto
14143 * screen.C (ToggleSelection): adjust
14145 * lyxtext.h: put selection cursors inside a Selection struct.
14147 * lyxfunc.C (moveCursorUpdate): adjust
14149 * lyxfont.C (latexWriteStartChanges): add std::
14151 * lyxfind.C: adjust
14153 * font.h: delete with(char const *, LyXFont const &)
14155 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14157 * FontInfo.C (getFontname): add std::
14159 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14160 (workAreaButtonPress): adjust
14161 (tripleClick): adjust
14163 (moveCursorUpdate): adjust
14166 * BufferView2.C (gotoInset): adjust
14168 2001-05-30 Juergen Vigna <jug@sad.it>
14170 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14171 to check pspell I add this as default as I now have new pspell
14172 libraries and they seem to use this.
14174 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14176 * text2.C (CutSelection): make the cursor valid before the call to
14179 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14181 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14182 relied on 0 terminated strings and other horrors. Bug found due to
14183 the new assert in lyxstring!
14185 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14188 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14190 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14193 * lyxfunc.C (processKeySym): change method of getting to the
14196 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14197 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14198 * BufferView_pimpl.[Ch]: here as private methods.
14200 2001-05-28 Juergen Vigna <jug@sad.it>
14202 * text.C (SetHeightOfRow): added the update() call again as it is
14203 needed to initialize inset dimensions!
14205 2001-05-16 Juergen Vigna <jug@sad.it>
14207 * text2.C (SetCharFont): Add new function with BufferView * and
14208 bool toggleall parameters for setting insets internal fonts.
14209 (SetFont): Freeze the undo as we may change fonts in Insets and
14210 all this change should be inside only one Undo!
14212 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14213 setting font's in insets as for them we have the SetFont function!
14215 2001-05-15 Juergen Vigna <jug@sad.it>
14217 * text2.C (ClearSelection): to be sure we REALLY don't have any
14220 * tabular.C (TeXCellPreamble): fixed the left border problem for
14223 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14225 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14228 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14230 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14231 LFUN_BREAKPARAGRAPH.
14233 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14234 help test to "internal only", similar for LFUN_INSERT_URL
14236 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14237 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14238 auto_region_delete and deadkeys.
14240 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14243 * LColor.C: remove some dead entries, tidy a little
14245 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14247 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14249 (Dispatch): implement LFUN_ESCAPE
14251 * commandtags.h: add LFUN_ESCAPE
14253 * LyXAction.C (init): add entry for LFUN_ESCAPE
14255 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14256 Remove commented code.
14257 (insertNote): moved here
14258 (open_new_inset): moved here
14260 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14263 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14265 * kbmap.C (findbinding): clean it up and make it work correctly.
14267 * lyx_main.C (init): do not pass argc and argv as parameters
14269 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14271 * buffer.C: fix path for OS/2 & Win32
14275 * lyx_main.C: Added os:: class.
14277 * os2_defines.h: update
14279 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14281 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14282 better by trying again with reduced state.
14284 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14286 * lyxrc.C (read): print error about invalid key sequence only when
14287 debugging (because not all latinX keysyms are known to some X
14290 * kbsequence.C (getiso): add a few std:: qualifiers
14291 (getiso): comment out extra return statement.
14293 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14295 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14297 (Dispatch): enhance the accent inset a bit. (not perfect)
14299 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14301 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14303 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14305 * bufferlist.C (emergencyWrite): fix assert() call
14307 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14309 * text.C (InsertChar): Added trivial patch to only send the "you
14310 can not do multiple spaces this way" message once during a
14313 2001-05-08 Baruch Even <baruch@lyx.org>
14315 * Makefile.am: Changed order of libraries to get LyX to link properly
14316 with the gnome frontend.
14318 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14320 * LaTeXFeatures.h: add a std:: qualifier
14322 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14324 * paragraph.C (String): use stringstream
14326 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14328 * paragraph.C (writeFile): remove footflag arg
14330 * buffer.C (makeLaTeXFile): use stringstream
14331 (latexParagraphs): remove footnot gurba
14333 * LaTeXFeatures.C (getPackages): use stringstream
14334 (getMacros): likewise
14335 (getTClassPreamble): likewise
14336 (getFloatDefinitions): new method
14338 * paragraph.C (writeFile): reindent
14341 * WorkArea.h: revert the xpos + etc changes.
14343 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14345 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14347 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14348 (pasteSelection): likewise
14349 * text2.C (CreateUndo): likewise
14351 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14353 * minibuffer.C (peek_event): temporarily reduce the functionality
14354 of the minibuffer (to allow args on lfuns)
14356 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14357 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14359 * buffer.C (readInset): add compability reading of old float
14360 lists, add reading of new style float list.
14361 (readInset): avoid reevaluation of inscmd.getCmdName()
14362 (getLists): reindent
14364 * MenuBackend.C (MenuItem): implement parsing of
14365 md_floatlistinsert and md_floatinsert.
14366 (expand::LastFiles): move initalizaton of iterators out of loop,
14367 avoid reevaluation.
14368 (expand::Documents): introduce typdedef vector<string> Strings,
14370 (expand::ExportFormats): introduce typedef vector<Format const *>
14371 Formats, and use it.
14372 (expand): implement FloatListInsert and FloatInsert.
14374 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14375 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14376 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14378 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14380 (Dispatch::LFUN_FLOAT_LIST): implement
14382 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14384 * LaTeX.C (run): Fix problem with --export code.
14386 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14388 * BufferView.[Ch] (workarea): removed.
14389 (getClipboard) new method; wrapper for workarea()->getClipboard()
14391 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14394 * WorkArea.h (width, height, xpos, ypos): These methods all
14395 returned the dimensions of the work_area sub-area of WorkArea,
14396 resulting in a position error if the WorkArea were resized. Now
14397 return the dimensions of the entire WorkArea.
14399 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14401 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14403 * LaTeX.C (deplog): correct the syntax of regex reg1
14405 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14407 * undo.C: remove !NEW_INSETS cruft
14409 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14411 * text2.C: remove !NEW_INSETS cruft
14413 * text.C: remove !NEW_INSETS cruft
14415 * tabular.C: remove !NEW_INSETS cruft
14417 * spellchecker.C: remove !NEW_INSETS cruft
14419 * lyxtext.h: remove !NEW_INSETS cruft
14421 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14423 * lyxfunc.C: remove !NEW_INSETS cruft
14425 * lyxfind.C: remove !NEW_INSETS cruft
14427 * lyx_cb.C: remove !NEW_INSETS cruft
14429 * figureForm.C: remove !NEW_INSETS cruft
14431 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14433 * buffer.[Ch]: remove !NEW_INSETS cruft
14435 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14437 * CutAndPaste.C: remove !NEW_INSETS cruft
14439 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14441 * BufferView2.C: remove !NEW_INSETS cruft
14443 * BufferView.h: remove !NEW_INSETS cruft
14445 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14447 * Lsstream.h: include LString.h before the sstream headers to
14448 fix problem with gcc 2.95.3 and lyxstring
14450 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14452 * lyx_main.C: add using directives when needed for C functions
14453 declared in std:: namespace.
14455 2001-04-27 Juergen Vigna <jug@sad.it>
14457 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14458 (SetHeightOfRow): comment out the update call should not be needed!
14460 2001-04-13 Juergen Vigna <jug@sad.it>
14462 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14463 (LyXTabular): tried to minimize operator= operations (and realized
14464 hopfully Lars wish).
14466 2001-04-27 Juergen Vigna <jug@sad.it>
14468 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14470 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14472 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14474 * buffer.C (readInset): hack to make listof algorithm work
14476 * BufferView_pimpl.C: hack to make listof algorithm work
14478 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14480 * LyXAction.C: removed all !NEW_INSETS cruft
14481 (init): moved lfun_item in method
14483 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14485 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14487 * BufferView2.C (theLockingInset): white space.
14489 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14491 * minibuffer.C: include <iostream>
14493 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14495 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14497 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14499 * text.[Ch] (TransposeChars): new method
14501 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14503 * call message directly through LyXView instead of through LyXFunc
14504 * BufferView2.C: adjust
14505 * BufferView_pimpl.C: adjust
14506 * FontLoader.C: adjust
14508 * bufferview_funcs.C: adjust
14509 * converter.C: adjust
14510 * figureForm.C: adjust
14511 * importer.C: adjust
14513 * lyx_gui_misc.C: adjust
14514 * lyxfunc.C: adjust
14517 + more files in subdirs
14519 * lyxparagraph.h (size): move up int file
14522 * adjust all uses of Assert to lyx::Assert.
14524 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14525 lyxfunctional in namespace lyx
14526 * layout.C (hasLayout): ditto
14529 (delete_layout): ditto
14530 (NumberOfClass): ditto
14531 * converter.C (GetFormat): ditto
14536 * bufferlist.C (getFileNames): ditto
14537 (emergencyWriteAll): ditto
14540 * MenuBackend.C (hasSubmenu): ditto
14543 * BufferView_pimpl.C (getInsetByCode): ditto
14545 2001-04-18 Juergen Vigna <jug@sad.it>
14547 * vspace.C (asLatexString): fixed the 100% problem.
14549 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14551 * lyxfunc.C (Dispatch):
14553 * minibuffer.h: add a few std:: qualifiers
14555 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14557 * minibuffer.[Ch]: reimplement so that commands is initiated and
14558 run from lyxfunc, simplified som handling, and made the completion
14559 and history code for complete. wip.
14561 * lyxfunc.C (processKeySym): call message
14562 (miniDispatch): new temporary method
14563 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14564 (LFUN_MESSAGE): implement
14565 (LFUN_MESSAGE_PUSH): implement
14566 (LFUN_MESSAGE_POP): implement
14567 (initMiniBuffer): the initial/defualt minibuffer message.
14569 * lyxfont.[Ch]: inline some more getters
14571 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14573 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14575 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14576 (AutoSave): use LFUN_MESSAGE
14577 (Reconfigure): ditto
14579 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14581 * figureForm.C: use LFUN_MESSAGE
14583 * converter.C (runLaTeX): use LFUN_MESSAGE
14585 * bufferview_funcs.C: use LFUN_MESSAGE
14587 (changeDepth): ditto
14589 * bufferparams.h: use boost::
14591 * bufferlist.h: inherit privately from noncopyable
14593 * bufferlist.C (loadLyXFile): remove some commented code.
14595 * buffer.C (runChktex): use LFUN_MESSAGE
14597 * ShareContainer.h: inherit privately from noncopyable
14599 * ParagraphParameters.[hC] (depth): inline it.
14601 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14603 (message): new method
14604 (messagePush): ditto
14605 (messagePop): ditto
14606 (show): init minibuffer
14607 (showState): direct call
14609 * LaTeX.[Ch]: inherit privately from noncopyable
14610 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14611 instead of WriteStatus.
14613 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14615 * BufferView_pimpl.C (buffer): don't init minibuffer
14616 (workAreaButtonPress): use LFUN_MESSAGE
14617 (workAreaButtonRelease): ditto
14618 (savePosition): ditto
14619 (restorePosition): ditto
14620 (MenuInsertLyXFile): ditto
14621 (workAreaExpose): don't init minibuffer
14622 (update): remove commented code, simplify
14624 * BufferView2.C (openStuff): use LFUN_MESSAGE
14625 (toggleFloat): ditto
14628 (copyEnvironment): ditto
14629 (pasteEnvironment): ditto
14634 (updateInset): remove some commented code
14636 * lastfiles.h: inherit privately from noncopyable
14639 * lyx_main.h: ditto
14641 * lyxlex_pimpl.h: ditto
14643 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14644 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14645 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14647 * LyXAction.h: inherit privately from noncopyable, add methods
14648 func_begin, func_end, returning iterators to the func map.
14650 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14651 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14652 (func_begin): new method
14653 (func_end): new method
14655 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14657 (copySelection): ditto
14658 (pasteSelection): ditto
14660 * BufferView.C: whitespace change
14661 * BufferView.h: inherit privately from noncopyable
14663 2001-04-16 Allan Rae <rae@lyx.org>
14665 * tabular-old.C (l_getline):
14666 * spellchecker.C (sc_check_word):
14667 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14668 an unrecognised preprocessor directive. So ensure they're wrapped.
14670 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14672 * src/exporter.C (Export): Give an error message when path to file
14675 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14677 * LaTeX.C (deplog): Always check that foundfile exists.
14679 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14682 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14684 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14686 * tabular.[Ch] (getLabelList): implement new method
14688 * minibuffer.h: comment ouf setTiimer
14690 * minibuffer.C (ExecutingCB): constify res
14691 (peek_event): constify s
14692 (Set): constify ntext
14693 (Init): constify nicename
14695 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14697 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14698 (savePosition): use two params to Minibuffer::Set
14699 (restorePosition): ditto
14701 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14703 * lyx_main.C: include language.h
14705 * Makefile.am (lyx_main.o): add language.h
14707 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14713 * CutAndPaste.C: include gettext.h
14715 * lyxfont.h: remove old hack with ON and OFF.
14718 * lyxfont.h: do not include language.h...
14723 * bufferview_funcs.C:
14729 * paragraph.C: ... but do it here instead
14731 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14733 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14735 * tabular.C: small reformat
14737 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14740 (BreakParagraph): ditto
14741 (SetOnlyLayout): ditto
14744 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14747 * lastfiles.C: removed most using decl, add std:: where needed
14749 * buffer.C: ws changes
14751 * MenuBackend.C (class compare_format): put into anon namespace
14752 (expand): constify label, names, action, action2
14755 * text.C (SingleWidth): constify font
14756 (IsBoundary): constify rtl2
14757 (GetVisibleRow): constify ww
14759 * LaTeX.C (deplog): constify logfile
14761 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14763 (workAreaExpose): constify widthChange, heightChange
14765 * lyxrow.C (par): moved
14768 * lyxrow.h: as inlines here
14770 * lyxfont.h (shape): moved from lyxfont.C
14771 (emph): moved from lyxfont.C
14773 * lyxfont.C (LyXFont): use initialization list for all
14775 (shape): move to lyxfont.h as inline
14776 (emph): move to lyxfont.h as inline
14779 2001-04-04 Juergen Vigna <jug@sad.it>
14781 * vspace.C: had to include stdio.h for use of sscanf
14783 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14786 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14787 independent of xforms.
14789 2001-04-02 Juergen Vigna <jug@sad.it>
14791 * spellchecker.C: fixed namespace placing!
14793 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14795 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14796 the LyXParagraph * is 0.
14798 2001-03-29 Juergen Vigna <jug@sad.it>
14800 * vspace.C: added support for %, c%, p%, l%.
14801 (stringFromUnit): added helper function.
14802 (asLatexString): changed to give right results for the %-values.
14804 * buffer.C: convert the widthp in a width%.
14806 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14808 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14811 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14812 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14814 * lyx_cb.[Ch]: see above.
14816 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14820 * lyx.[Ch]: replaced by figure_form.[Ch].
14824 * lyxfunc.C: changed headers associated with above changes.
14826 2001-03-27 Juergen Vigna <jug@sad.it>
14828 * BufferView_pimpl.C: set the temporary cursor right!
14830 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14832 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14834 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14836 * LString.h: removed "using std::getline"!
14838 * BufferView_pimpl.C (Dispatch): changes due to changes in
14839 InsetInclude::Params.
14841 * buffer.C (tag_name): removed redundant break statements as they were
14842 producing lots of warnings with my compiler.
14844 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14846 * LString.h: add "using std::getline" when using the real <string>.
14848 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14850 * buffer.C: removed bitset usage.
14851 PAR_TAG moved to an anonymous name space.
14852 (tag_name): new funtion, also in the anonymous namespace.
14853 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14854 (makeDocBookFile): clean code. Completed transition from string arrays
14856 (SimpleDocBookOnePar): code clean.
14858 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14860 * tabular.C: add some comments.
14862 2001-03-22 Juergen Vigna <jug@sad.it>
14864 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14865 compatibility read a bit and fixed bug with minipage in different
14868 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14870 * buffer.C (pop_tag): removed.
14871 (push_tag): removed.
14872 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14873 array replaced with vector. Added support for CDATA sections.
14874 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14876 (makeDocBookFile): XML conformant declaration of CDATA section,
14877 fixed bug related to <emphasis> in the first paragraph char.
14878 (sgmlOpenTag): exclude empty tags.
14879 (sgmlCloseTag): ditto.
14881 * buffer.h (pop_tag): removed.
14882 (push_tag): removed.
14884 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14886 * language.h (Languages): added size_type and size().
14888 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14890 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14891 response on compability reading of minipages. One probliem is that
14892 the old usage of minipages was «flertydig»
14894 * several files here and in subdirs: don't use static at file
14895 scope use anon namespaces instead.
14897 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14899 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14900 LaTeX output. This is necessary for Literate document
14903 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14905 * buffer.C: insert hfill when needed.
14907 * tabular.C (l_getline): use string::erase, small whitespace change.
14909 * BufferView_pimpl.C: try the anon namespace.
14910 * WorkArea.C: ditto
14912 2001-03-16 Juergen Vigna <jug@sad.it>
14914 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14915 otherwise it won't open options-dialogs.
14917 * buffer.C: honor pextraWidth(p) on converting minipages.
14919 * tabular.C (l_getline): changed the functions to strip trailing \r.
14921 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14923 * BufferView_pimpl.C:
14924 * minibuffer..C: added "using SigC::slot" declaration.
14926 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14928 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14934 * paragraph.C: ditto
14936 * lyxtext.h: NO_PEXTRA
14938 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14940 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14941 * ParameterStruct.h: ditto
14942 * ParagraphParameters.h: ditto
14943 * lyxparagraph.h: ditto
14945 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14947 * buffer.C: add compability for minipage alignment.
14948 (latexParagraphs): remove unwanted pextra check.
14950 * several files: remove CXX_WORKING_NAMESPACES
14952 * buffer.C (pop_tag): tie is in namespace boost
14954 * BufferView.h: noncopyable is in namespace boost
14956 * lyx_main.h: ditto
14959 * lastfiles.h: ditto
14960 * bufferlist.h: ditto
14961 * ShareContainer.h: ditto
14963 * LyXAction.h: ditto
14966 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14968 * Merging changes from BRANCH_MVC back into HEAD.
14970 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14972 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14974 * BufferView_pimpl.C: change from intl.C
14978 * Makefile.am: move combox.*
14984 * intl.C: remove dialog (covered by prefs)
14986 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14988 * lyxfunc.C (Dispatch): removed redundant break statement.
14990 2001-03-14 Juergen Vigna <jug@sad.it>
14992 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14994 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14996 * buffer.C: add hack to fix compability reading of minipages.
14998 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15000 * buffer.C (getLists): Cleanup.
15002 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15004 * lyxfont.C (update): don't honor toggleall on font size.
15006 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15010 * Makefile.am: moved to frontends/xforms/
15014 * BufferView_pimpl.C: changes for moved mathpanel
15016 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15018 * gettext.h: fix gettext_init() in --disable-nls
15020 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15022 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15024 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15027 * lyx.h: strip external form
15029 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15031 * BufferView_pimpl.C: add comment, destroySplash()
15033 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15035 * BufferView_pimpl.C:
15039 * lyxfunc.C: use re-worked insetinclude
15041 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15043 * buffer.C: add using std::stringstream.
15045 * lyx_cb.C: readd using std::ios.
15047 * buffer.C: add using std::map.
15049 * BufferView_pimpl.C: add using std::vector.
15051 * ShareContainer.h: add std:: to swap.
15053 * buffer.h: add some typedefs
15054 * buffer.C (getLists): use them
15055 (getLists): renamed from getTocList.
15056 add a counter for the different float types and use it in the
15058 (getLists): use the same counter for the NEW_INSETS and the "non"
15061 * lyx_cb.h: remove unused items, includes, using etc.
15063 * ShareContainer.h: remove some commented code, add more comments
15064 and "documentation".
15066 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15068 * buffer.C (getTocList): make the list also when NEW_INSETS is
15071 * buffer.h: remove TocType
15073 * buffer.C (getTocList): change to return a map<string,
15074 vector<TocItem> >, implement for dynamic number of list.
15076 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15077 * text2.C (PasteSelection): adjust
15078 * CutAndPaste.C (pasteSelection): adjust
15080 * FloatList.C (FloatList): update from the new_insets branch.
15081 * Floating.[Ch]: ditto
15082 * LaTeXFeatures.C: ditto
15084 * lyxlex_pimpl.C: ditto
15086 * paragraph.C (Last): remove when NEW_INSETS is defined.
15088 * other file: changes because of the above.
15090 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15092 * lyxparagraph.h: rename next to next_, previous to previous_,
15093 make them private for NEW_INSETS. Rename Next() to next(),
15094 Previous() to previous().
15096 * other files: changes because of the above.
15098 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15101 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15104 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15106 * main.C (main): pass lyx_localedir to gettext_init().
15108 * gettext.h: remove locale_init and gettext_init macros
15110 * gettext.C (locale_init): new function
15111 (gettext_init): new function
15113 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15116 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15118 * Moved credits to frontends:
15119 * credits.[Ch]: removed
15120 * credits_form.[Ch]: removed
15121 * lyx_gui_misc.C: remove credits stuff
15124 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15126 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15128 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15129 unneeded destructor.
15131 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15132 a standalone pointer again.
15134 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15136 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15142 * ToolbarDefaults.C:
15151 * BufferView_pimpl.C: use new file dialog in GUII
15154 * lyx_cb.C: remove LayoutsCB to Toolbar
15156 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15158 * ShareContainer.h (get): add std:: qualifier
15160 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15162 * ShareContainer.h: define a proper ShareContainer::value_type
15163 type (and use typename to please compaq cxx)
15165 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15167 * lyxparagraph.h: move serveral local vars to
15168 ParameterStruct/ParagraphParameters., use ShareContainer in
15169 FontTable., make vars in FontTable private and add getter and
15172 * paragraph.C: changes because of the above.
15174 * lyxfont.h: remove copy constructor and copy assignment. (the
15175 default ones is ok), move number inside FontBits. move inlines to
15178 * lyxfont.C: add number to initializaton of statics, move several
15179 inlines here. constify several local vars. some whitespace
15180 cleanup. Dont hide outerscope variables.
15182 * Spacing.h: add two new constructors to match the set methods.
15184 * ShareContainer.h: new file, will perhaps be moved to support
15186 * ParameterStruct.h: new file
15188 * ParagraphParameters.h: new file
15190 * ParagraphParameters.C: new file
15192 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15193 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15195 * BufferView_pimpl.C: ParagraphParameter changes.
15196 * buffer.C: Likewise.
15197 * bufferview_funcs.C: Likewise.
15198 * text.C: Likewise.
15199 * text2.C: Likewise.
15201 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15203 * lyxfind.C (LyXReplace): do not redefine default argument in
15205 (IsStringInText): ditto
15206 (SearchForward): ditto
15207 (SearchBackward): ditto
15209 2001-03-06 Juergen Vigna <jug@sad.it>
15211 * lyxfind.C (IsStringInText): put parentes around expressions.
15213 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15215 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15217 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15219 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15221 * stl_string_fwd.h: add comment
15223 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15226 * tabular.C: remove unused DocBook methods
15232 killed DO_USE_DEFAULT_LANGUAGE
15234 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15236 * lyx_gui.C: do not include language.h.
15238 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15239 arguments in function implementation.
15241 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15243 * BufferView_pimpl.C: add <ctime>
15245 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15247 * BufferView_pimpl.C: add using std::find_if
15249 2001-02-27 José Matos <jamatos@fep.up.pt>
15251 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15254 2001-02-11 José Matos <jamatos@fep.up.pt>
15256 * buffer.C (makeDocBookFile): command styles now have a parameter as
15257 "title" by default.
15259 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15261 * layout_forms.[Ch]: removed
15262 * lyx_cb.[Ch]: out character
15263 * lyx_gui.C: out character
15264 * lyx_gui_misc.C: out character
15265 * bufferview_funcs.C: : out character,
15266 added toggleall as parameter in ToggleAndShow
15268 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15270 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15272 * text2.C (SetCurrentFont): Disable number property at boundary.
15274 2001-02-26 Juergen Vigna <jug@sad.it>
15276 * lyxfunc.C (getStatus): added a string argument override function so
15277 that this is correctly called from LyXFunc::Dispatch if it contains a
15278 do_not_use_argument which is used!
15279 (Dispatch): added check for "custom" export and call appropriate func.
15281 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15283 * lyxrc.C: Add language_command_local, language_use_babel and
15284 language_global_options.
15286 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15288 * buffer.C (makeLaTeXFile): Use language_use_babel and
15289 language_global_options.
15291 2001-02-23 Juergen Vigna <jug@sad.it>
15293 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15294 which works with LyXText and putted it inside BufferView. Here now we
15295 only call for that part the BufferView::Dispatch() function.
15297 * BufferView.C (Dispatch): added.
15299 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15300 functions which needs to use a LyXText over from LyXFunc.
15301 (MenuInsertLyXFile): added
15302 (getInsetByCode): added
15303 (moveCursorUpdate): added
15304 (static TEXT): added
15306 2001-02-22 Juergen Vigna <jug@sad.it>
15308 * BufferView_pimpl.C (update): call a status update to see if LyXText
15311 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15313 * vc-backend.C (revert): implement for CVS
15314 (getLog): implement for CVS
15316 2001-02-20 Juergen Vigna <jug@sad.it>
15318 * text2.C (ClearSelection): added BufferView param for inset_owner call
15320 * lyxfunc.C (TEXT): added this function and use it instead of
15321 directly owner->view()-text of getLyXText().
15323 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15325 * src/layout_forms.C: out preamble
15326 * src/layout_forms.h: out preamble
15327 * src/lyx_cb.C: out preamble
15328 * src/lyx_cb.h: out preamble
15329 * src/lyx_gui.C: out preamble
15330 * src/lyx_gui_misc.C: out preamble
15331 * src/lyxfunc.C: connect with guii preamble
15333 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15335 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15337 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15339 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15340 whether to run bibtex.
15342 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15344 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15346 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15348 * Makefile.am (lyx_SOURCES): removed bibforms.h
15350 * vspace.h: doxygen
15352 * text.C (GetVisibleRow): make several local vars const
15354 * tabular.C: small cleanup.
15356 * lyxserver.C (callback): use compare instead of strncmp
15358 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15359 inlines to after class or to paragraph.C
15361 * lyxfont.h: remove friend operator!=
15363 * converter.h: move friend bool operator< to non friend and after
15366 * combox.h: small cleanup
15368 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15369 to inlines after class def.
15371 * buffer.C (pop_tag): use string operations instead of strcmp
15373 * bmtable.c: doxygen, small cleanup
15375 * LaTeX.h: remove friend operator==
15377 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15389 * BufferView_pimpl.C:
15390 * BufferView.[Ch]: remove cruft
15392 2001-02-14 Juergen Vigna <jug@sad.it>
15394 * lyxfunc.C: removed #if 0 unused code
15396 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15398 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15400 * text2.C (SetSelection): added a BufferView * parameter
15402 2001-02-13 Juergen Vigna <jug@sad.it>
15404 * lyxfunc.C (Dispatch): fixed protected blank problem.
15405 * BufferView2.C (protectedBlank): added LyxText * parameter.
15407 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15408 (AppendColumn): same as above for column_info.
15410 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15411 (moveCursorUpdate): use a LyXText param for support of InsetText.
15413 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15414 (tripleClick): ditto
15416 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15418 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15420 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15422 * text2.C (SetSelection): set correct update status if inset_owner
15423 (ToggleFree): ditto
15425 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15427 * tabular.C: remove some commented code.
15429 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15431 * BufferView_pimpl.C: call hideSplash()
15433 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15436 * bibforms.h: remove
15439 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15440 add LFUN_CHILD_CREATE
15442 * counters.h: fix tiny typo
15447 * lyx.C: move splash to frontends/xforms/
15449 * lyx_gui_misc.C: move Include and Bibform to frontends
15451 * lyxvc.h: clarify comment
15453 * vspace.C: tiny housekeeping
15455 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15457 * text.C (PrepareToPrint): RTL Fix.
15459 * paragraph.C (GetUChar): New method.
15460 (String): Use GetUChar.
15462 * buffer.C (asciiParagraph): Use GetUChar.
15464 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15466 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15468 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15471 * buffer.C: rename to getLogName(), handle
15472 build log / latex log nicely
15474 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15477 * MenuBackend.h: remove support for reference menuitem type.
15479 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15481 * BufferView_pimpl.C: housekeeping
15482 * BufferView_pimpl.h:
15487 * minibuffer.h: move Timeout GUI-I
15489 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15491 * lyxrc.C (read): Update converters data-structures.
15493 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15495 * LaTeX.h (operator!=): add operator != for Aux_Info
15497 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15499 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15501 * LaTeXLog.C: deleted, useful code moved to Buffer
15504 * buffer.C: new function getLatexLogName()
15510 * lyxfunc.C: use frontends for LaTeX and VC logs
15512 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15514 * LaTeX.h: yet another std:: that Allan forgot.
15516 * Variables.C (set): renamed from isset(), because this clashes
15517 with some HP-UX macros (grr).
15519 2001-02-06 Allan Rae <rae@lyx.org>
15521 * LaTeX.h: Another bug fix. Missing std:: this time.
15523 2001-02-04 Allan Rae <rae@lyx.org>
15525 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15526 floats problem. I've left it commented out because it's not quite
15527 correct. It should also test that the current object is a table or
15528 figure inset. But I haven't gotten around to figuring out how to do
15529 that. I *think* it'll be something like: "table" == inset.type()
15531 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15534 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15536 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15537 all the citation/databases/styles in the auxilary file.
15538 (run): Rerun latex if there was a babel language error.
15540 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15542 * text.C (Backspace): Preserve the font when changing newline char
15544 (BreakParagraph): If the cursor is before a space, delete the space.
15546 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15548 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15550 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15551 new argument (code).
15552 (ChangeCitationsIfUnique): New method.
15554 * paragraph.C (GetPositionOfInset): Handle bibkey.
15556 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15558 * BufferView_pimpl.h: change type of Position::par_pos to
15559 LyXParagraph::size_type.
15561 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15563 * BufferView_pimpl.C (savePosition, restorePosition): Write
15564 messages to minibuffer.
15566 2001-01-28 José Matos <jamatos@fep.up.pt>
15568 * buffer.C (makeDocBookFile): adds support for document language.
15569 A silly restriction on the name of LatexCommand types where removed.
15570 Added support for CDATA sections, allows to chars unescaped, used
15571 among others in code, to avoid escape < and >.
15573 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15575 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15576 saved positions instrad of a stack. Furthermore, a position is
15577 stored using paragraph id/paragraph position.
15579 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15580 Remove LFUN_REF_BACK.
15582 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15584 * converter.C (dvipdfm_options): New method.
15586 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15588 * vspace.C (isValidLength): Fix for empty input string.
15590 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15592 * LyXAction.C (init): change description of LFUN_FIGURE to
15595 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15597 * LaTeX.C: add using directive
15599 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15601 * MenuBackend.C (expand): Fix the sorting of the formats.
15603 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15605 * lyx_main.C: tiny error message fix
15607 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15609 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15610 calling fl_initialize(). This fixes the problem with ',' as
15611 decimal separator in text files.
15613 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15615 * trans.C (process): Fix the keymap bug.
15617 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15619 * LaTeX.C (scanAuxFiles): New method. Provides support for
15620 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15621 (scanLogFile) Scan for "run BibTeX" messages.
15623 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15624 OT1 font encoding. Also, load the aecompl package if the ae
15627 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15629 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15631 * texrow.C (increasePos): turn two error messages into debug
15634 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15636 * LaTeX.C (scanAux): Handle the \@input macro.
15637 (runBibTeX): Use scanAux().
15639 * language.C (latex_options_): New field.
15641 * LaTeXFeatures.C (getMacros): Add language macros.
15643 * buffer.C (makeLaTeXFile): Small fix.
15645 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15647 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15649 * text2.C: add a using directive.
15651 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15656 * lyxfunc.C: kill LyXBell.
15658 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15660 * text.C (IsBoundary): Remove the error message
15662 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15664 * lyxrc.C (setDefaults): Correct initialization value for
15667 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15669 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15672 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15673 and GotoNextNote().
15675 * src/LyXAction.C: Added reference-next.
15677 * text.C (InsertChar): Use contains instead of strchr.
15679 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15681 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15683 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15684 alignment commands (when needed).
15686 * text.C (InsertChar): Add ':' to number separator chars.