1 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * exporter.C (checkOverwrite): new method
4 * exporter.C (copyFile): new method
5 * exporter.C (Export): copy referenced files to the document dir
6 * exporter.[Ch]: new class ExportedFile
7 * exporter.[Ch]: new class ExportData. Contains currently the
8 names of referenced external files
9 * outputparams.h: add exportdata member.
11 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
13 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
16 2004-05-19 Angus Leeming <leeming@lyx.org>
21 * lyxfunc.C: small changes due to the introduction of namespace
22 lyx::frontend and the moving of namespace biblio to lyx::biblio.
24 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
26 * text3.C (dispatch): supress update when only moving the cursor
27 * cursor.C (selHandle): remove commented code
29 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
31 * paragraph.C (startTeXParParams): correct column count
32 * CutAndPaste.C (pasteSelection): remove const_cast
33 * output_docbook.C (docbookParagraphs): remove const_cast
34 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
35 const_cast and return ParagraphList::const_iterator
36 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
37 * output_plaintext.C (writeFileAscii): remove const_cast
38 * paragraph.[Ch] (simpleTeXOnePar): make const
39 * paragraph_funcs.C (outerPar): use const iterators
40 * paragraph_pimpl.C (validate): use const iterators
41 * text.C (setHeightOfRow): use const iterators
43 2004-05-17 Angus Leeming <leeming@lyx.org>
46 * LyXAction.C (init): new LFUN_INSET_REFRESH.
48 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
49 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
50 if the citation engine has changed.
52 2004-05-14 José Matos <jamatos@lyx.org>
54 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
55 if the textclass does not provide it. Have it different for sgml and
57 support the language of document.
58 * output_docbook.C (docbookParagraphs):
59 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
60 first anchor as the id of the paragraph, remove special case code.
61 * sgml.C (escapeChar): escape only < & >.
63 2004-05-14 Angus Leeming <leeming@lyx.org>
65 * bufferparams.h: move biblio::CiteEngine enum here to minimize
66 dependencies on src/frontends/controllers/biblio.h. Define a
67 CiteEngine_enum wrapper class to enable the enum to be forward
70 2004-05-12 Angus Leeming <leeming@lyx.org>
72 * buffer.C: up LYX_FORMAT to 234.
73 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
74 use_numerical_citations with a single biblio::CiteEngine cite_engine
76 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
78 2004-05-13 José Matos <jamatos@lyx.org>
81 * converter.C (Converter, readFlags): add xml member.
82 * outputparams.h: add XML flavor.
83 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
85 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
87 * lyxfunc.C (dispatch):
88 (getStatus): fix handling of LFUN_SEQUENCE
90 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
92 * debug.C (showLevel): do not forget the end-of-line marker
94 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
96 * kbmap.C (read): do not stop parsing a bind file when an error
99 2004-04-29 Angus Leeming <leeming@lyx.org>
104 * text2.C: wrap a bunch of #warning statements
105 inside #ifdef WITH_WARNINGS blocks.
107 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
109 * buffer.C: increment format to 233.
111 2004-04-28 Angus Leeming <leeming@lyx.org>
113 * BufferView_pimpl.C:
116 s/updateToolbar()/updateToolbars()/
117 s/Toolbar.h/Toolbars.h/
119 2004-04-28 Angus Leeming <leeming@lyx.org>
121 * BufferView.[Ch] (c-tor):
122 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
123 No longer passes these data to the WorkArea generator.
125 2004-04-28 Angus Leeming <leeming@lyx.org>
127 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
129 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
131 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
133 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
135 * output_latex.C (TeXEnvironment): make sure that there is a line
136 break before \end{foo} for the last paragraph of a document
137 (TeXOnePar): if the paragraph is at the end of the document (or
138 inset) and the language has to be reset, then make sure that the
139 line break is _before_ the language command, not after (fixes bug
140 1225); also make sure that the language reset command is the first
141 thing after the paragraph (to ensure proper nesting of
142 environments and thus fix bug 1404)
144 2004-04-21 John Levon <levon@movementarian.org>
147 * ToolbarBackend.C: make "name" be a programmatic name
148 and a gui_name field.
150 * lyxfunc.C: display the minibuffer on M-x
152 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
154 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
157 2004-04-19 Angus Leeming <leeming@lyx.org>
159 * BufferView_pimpl.C (setBuffer): changed preview interface.
161 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
164 2004-04-19 John Levon <levon@movementarian.org>
166 * BufferView_pimpl.C:
167 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
169 2004-04-05 Angus Leeming <leeming@lyx.org>
171 * text.C (redoParagraphs): add call to updateCounters(), thereby
172 fixing the missing "Figure #:" label from the caption of a
175 2004-04-13 Angus Leeming <leeming@lyx.org>
177 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
178 cursor is clicked out of an inset.
180 2004-04-13 Angus Leeming <leeming@lyx.org>
182 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
183 than an InsetOld one.
185 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
187 * format.[Ch]: add editor to Format
188 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
189 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
191 2004-04-08 André Pönitz <poenitz@gmx.net>
193 * metricsinfo.h: remove PainterInfo::width member
195 2004-04-08 Angus Leeming <leeming@lyx.org>
197 * lyx_sty.C (boldsymbol_def): modify so that it outputs
198 "\providecommand" rather than "\newcommand", thereby preventing
199 clashes with packages that define "\boldsymbol" themselves.
202 2004-04-08 Angus Leeming <leeming@lyx.org>
204 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
205 thereby squashing an unnecessary warning.
207 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
209 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
212 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
214 * BufferView.C (setCursor): call redoParagraph (some insets could
216 (putSelectionAt): remove the 'double update' trick
218 * BufferView_pimpl.C (fitCursor): call refreshPar
219 (workAreaDispatch): remove an uneeded update call
220 (dispatch): remove some manual update calls
222 * cursor.[Ch]: remove cached_y_, updatePos
223 (selHandle): set noUpdate when appropriate
225 * lyxfunc.C (dispatch): track if we need an update
227 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
229 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
230 (paintSelection): cheap optimization, do not call cursorX when not
232 (paintPars): change signature
235 (paintTextInset): adjust
239 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
241 * lengthcommon.C: compilation fix: remove explicit array size from
242 unit_name[] and friends
244 2004-04-05 Angus Leeming <leeming@lyx.org>
246 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
248 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
249 present only for the preferences dialog.
250 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
252 2004-04-05 Angus Leeming <leeming@lyx.org>
254 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
255 to enable the frontends to export changes to lyxrc correctly.
257 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
259 2004-04-07 André Pönitz <poenitz@gmx.net>
261 * cursor.[Ch] (selClear, adjust): remove math
263 * cursor_slice.C: more agressive assert
266 * BufferView_pimpl.C: rework mouse event dispatch
273 2004-04-05 André Pönitz <poenitz@gmx.net>
275 * cursor.[Ch] (valign, halign...): remove unneeded functions
277 2004-04-05 Angus Leeming <leeming@lyx.org>
279 * lyxlength.[Ch] (unit_name et al.): const-correct.
281 2004-04-05 Angus Leeming <leeming@lyx.org>
283 * BufferView_pimpl.C:
292 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
294 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
296 * text3.C (getStatus): add LFUN_BEGINNINGBUF
298 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
300 * lyxfind.C: add a couple of inTexted() tests + other small fixes
301 * BufferView_pimpl.[Ch] (getStatus)
302 * BufferView.[Ch] (getStatus): add
303 * lyxfunc.C (getStatus): move lfuns handled in
304 BufferView::dispatch to te function above
305 * Cursor.C (setSelection): set selection() = true
307 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
309 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
311 2004-03-31 Angus Leeming <leeming@lyx.org>
313 * lyxfunc.C (dispatch): Fall through to the generic
314 Dialogs::show("preamble").
316 2004-03-31 Angus Leeming <leeming@lyx.org>
318 * lyxfunc.C (dispatch): Fall through to the generic
319 Dialogs::show("spellchecker").
321 2004-03-31 Angus Leeming <leeming@lyx.org>
323 * lyxfunc.C (getStatus, dispatch): changed invocation of the
326 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
331 * insetiterator.[Ch]:
336 * undo.[Ch]: s/DocumentIterator/DocIterator/g
338 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
340 * BufferView.C (setCursor, putSelectionAt): call edit to open the
341 insets where we are putting the cursor.
343 2004-03-31 Angus Leeming <leeming@lyx.org>
346 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
348 * lyxrc.[Ch] (read, write): overloaded member functions taking
349 a std::[io]stream arguments.
351 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
353 2004-03-31 Angus Leeming <leeming@lyx.org>
355 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
356 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
358 * lyxtextclass.C (load): if the text class couldn't be loaded, then
359 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
361 2004-03-31 Angus Leeming <leeming@lyx.org>
363 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
364 the LFUN_ALL_INSETS_TOGGLE code.
366 2004-03-30 Angus Leeming <leeming@lyx.org>
368 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
369 has died. Fall through to the generic Dialogs::show("document").
371 2004-03-30 Angus Leeming <leeming@lyx.org>
374 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
375 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
377 * lyxfunc.C (getStatus, dispatch): define the actions for these
378 lfuns. Little more than a cut and pste job from ControlDocument.C
380 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
382 2004-03-30 Angus Leeming <leeming@lyx.org>
385 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
386 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
388 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
389 open/closed state of ollapsable insets. Usage:
391 all-inset-toggle <state> <name>, where
392 <state> == "open" || "closed" || "toggle" and
393 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
395 * lyxtext.h, text2.C (toggleInset): removed.
397 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
398 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
399 now passes LFUN_INSET_TOGGLE to the found inset.
401 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
402 is now invoked as "all-insets-toggle toggle branch".
404 2004-03-30 Angus Leeming <leeming@lyx.org>
408 * pariterator.[Ch]: added/corrected header blurb.
410 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
412 * dociterator.[Ch]: add an inset_ member
413 (backwardPos): implemented
414 (backwardPos, forwardPos): use inset_ when the stack is empty.
415 (doc_iterator_begin, doc_iterator_end): implemented
416 * pariterator.[Ch]: adjust, add begin, end
417 * insetiterator.[Ch]: adjust, add begin, end
421 * BufferView_pimpl.C:
422 * CutAndPaste.C: adjust
424 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
426 * buffer.C: increment file format to 232.
427 * LaTeXFeatures.C: add bibtopic package.
428 * bufferparams.[Ch]: param \use_bibtopic.
430 * lyxrc.[Ch]: add lyxrc bibtex_command
431 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
433 * buffer.C: increment file format to 231.
435 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
437 * dociterator.C: implement forwardPar
438 * iterators.[Ch]: remove, replaced by
439 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
441 * BufferView_pimpl.C:
444 * bufferview_funcs.C:
450 * Makefile.am: adjust
452 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
454 * CutAndPaste.C (pasteSelection): fix 2 crashes
455 (eraseSelection): fix a crash
456 * paragraph_funcs.C: remove a warning
458 2004-03-28 Angus Leeming <leeming@lyx.org>
461 * LyXAction.C (init): new LFUN_PRINT.
463 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
465 2004-03-27 Angus Leeming <leeming@lyx.org>
468 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
470 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
472 2004-03-27 Angus Leeming <leeming@lyx.org>
474 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
475 insetlist always contains non-null pointers to insets.
477 2004-03-26 Angus Leeming <leeming@lyx.org>
479 * src/BufferView_pimpl.C:
483 * src/output_plaintext.C:
484 * src/outputparams.h:
485 * src/paragraph_funcs.C:
489 * src/frontends/controllers/ControlErrorList.C:
490 * src/frontends/gtk/FileDialogPrivate.C:
491 * src/frontends/gtk/GPainter.C:
492 * src/frontends/gtk/GToolbar.C:
493 * src/frontends/qt2/QRef.C:
494 * src/mathed/math_scriptinset.C: squash compiler warnings.
496 2004-03-26 Angus Leeming <leeming@lyx.org>
498 * ispell.C (LaunchIspell::start):
499 * lyx_cb.C (AutoSaveBuffer::start):
500 invoke run(DontWait) rather than runNonBlocking().
502 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
504 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
506 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
508 * kbsequence.C (print): adjust
510 * kbmap.C (printKeySym): rename and change signature
511 (printKey): use LyXKeySym::print()
513 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
515 * undo.C: add using std::advance to compile for stlport
517 2004-03-24 Angus Leeming <leeming@lyx.org>
519 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
520 it leads to a crash when no buffer is present.
522 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
523 Martin Vermeer <martin.vermeer@hut.fi>
525 * lyxfunc.C (dispatch):
526 * bufferparams.C (readToken): use the new LColor::setColor
528 * LColor.[Ch] (setColor): new version that takes two strings as
529 argument and creates a new color entry if necessary
531 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
533 * buffer.C (makeLaTeXFile): if the main latex file that is
534 processed is usually a subdocument of some master, then pretend
535 for a while that it is actually the master
537 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
539 * buffer.C (getLabelList):
540 (getBibkeyList): use getMasterBuffer()
541 (getMasterBuffer): new method. Returns the main document in the
542 case where one is using included documents.
544 2004-03-25 André Pönitz <poenitz@gmx.net>
548 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
550 * ParagraphList_fwd.h: change ParagraphList to a std::vector
552 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
553 text*.C over here. Rename namespace CutAndPaste to lyx::cap
555 * ParameterStruct.h: merge with ParagraphParameters
557 * lyxtext.h: remove LyXText::parOffset() and getPar()
559 * text3.C: Remove all 'manual' update calls. We do now one per user
560 interaction which is completely sufficient.
564 * BufferView_pimpl.C:
567 * ParagraphParameters.[Ch]:
579 * output_docbook.[Ch]:
581 * output_linuxdoc.[Ch]:
582 * output_plaintext.[Ch]:
584 * paragraph_funcs.[Ch]:
585 * paragraph_pimpl.[Ch]:
593 * frontends/controllers/ControlDocument.C:
594 * frontends/controllers/ControlErrorList.C:
595 * frontends/controllers/ControlSpellchecker.C:
598 * insets/insetbase.h:
599 * insets/insetbibitem.C:
601 * insets/insetbranch.C:
602 * insets/insetcaption.C:
603 * insets/insetcharstyle.C:
604 * insets/insetcharstyle.h:
605 * insets/insetcollapsable.C:
606 * insets/insetcollapsable.h:
608 * insets/insetfloat.C:
609 * insets/insetfoot.C:
610 * insets/insetmarginal.C:
611 * insets/insetnote.C:
612 * insets/insetoptarg.C:
613 * insets/insettabular.C:
614 * insets/insettext.C:
615 * insets/insettext.h:
616 * insets/insetwrap.C:
617 * mathed/math_mboxinset.C:
618 * mathed/math_nestinset.C:
619 * mathed/math_scriptinset.C:
620 * mathed/math_scriptinset.h:
623 2004-03-24 Angus Leeming <leeming@lyx.org>
625 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
626 deal with any child processes that have finished but are waiting to
627 communicate this fact to the rest of LyX.
629 2004-03-24 Angus Leeming <leeming@lyx.org>
631 64-bit compile fixes.
633 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
634 (c-tor): pass lyx::pos_types rather than ints.
636 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
639 * text.C (Delete): compile fix.
640 (getPar): ensure that function declaration is the same as that in
643 2004-03-23 Angus Leeming <leeming@lyx.org>
645 * ispell.C (LaunchIspell):
646 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
647 a boost::shred_ptr rather than a std::auto_ptr.
649 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
651 * lyxfunc.C (getStatus): handle read-only buffers correctly;
652 handle LFUN_FILE_INSERT_*
654 * lyxrc.C (setDefaults, getDescription, output, read):
655 * lyxrc.h: remove ps_command
657 2004-03-22 Angus Leeming <leeming@lyx.org>
659 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
660 Ensure that error_handler is processed once only and that all data
661 is saved before attempting to output any warning messages.
663 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
665 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
667 * tabular.C (TeXRow): crash fix (from Kayvan and André)
669 2004-03-19 André Pönitz <poenitz@gmx.net>
671 * cursor.[Ch] (reset): take main text inset as argument
674 * BufferView_pimpl.C: adjust
676 * paragraph.[Ch]: fix completely broken operator=()
678 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
680 * LColor.C (getFromLyXName): make sure that the color name is used
683 2004-03-17 Angus Leeming <leeming@lyx.org>
686 * LyXAction.C (init): remove LFUN_FORKS_KILL.
688 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
689 dialog and to kill a forked process.
691 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
693 * text2.C (setCursorFromCoordinates): fix font problem
695 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
697 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
698 bogus "rebuild cursor" code
700 2004-03-11 André Pönitz <poenitz@gmx.net>
702 * buffer.[Ch]: use InsetText instead of LyXText as container for
705 * dociterator.[Ch]: drop the BufferView * member which is not needed
706 anymore after the change to buffer.C
712 * BufferView_pimpl.[Ch]:
714 * cursor_slice.[Ch]: adjust
716 * text3.C: fix bug in mathDispatch
718 2004-03-08 André Pönitz <poenitz@gmx.net>
720 * undo.[Ch]: use 'StableDocumentIterator' as base for
723 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
726 * bufferparams.[Ch]: add jurabib support and param.
728 * LaTeX.C: add FIXME/comment.
730 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
732 * buffer.C: increment file format to 230.
734 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
736 * cursor.C (dispatch): avoid infinite loops
738 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
740 * rowpainter.C (paintSelection): fix x coordinates
742 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
744 * text.C (rowBreakPoint): fix breaking before displayed insets
746 2004-03-01 André Pönitz <poenitz@gmx.net>
748 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
750 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
754 * BufferView_pimpl.C:
762 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
768 * BufferView_pimpl.C: rename textwidth -> maxwidth,
769 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
771 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
773 * Bidi.[Ch] (computeTables): const correctness
774 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
775 fill_hfill, fill_label_hfill and x from Row
776 * lyxtext.h: prepareToPrint returns a RowMetrics
777 * rowPainter.C: adjust
778 * text.C (prepareToPrint): use width, not textWidth. adjust
779 (redoParagraphInternal, cursorX): adjust
780 * text2.C (getColumnNearX): adjust
781 (init): put a default value to the top LyXText::width
783 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
785 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
787 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
789 * lyxtext.h: add FontIterator class
791 * text.C (FontIterator, operator*, operator->, operator++): add
792 (rowBreakPoint, setRowWidth): adjust (fixing a
795 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
797 * BufferView_pimpl.C (workAreaDispatch): allow also
798 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
800 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
802 * text.C (rowBreakPoint): fix a bug showing with very large insets
804 2004-02-25 André Pönitz <poenitz@gmx.net>
807 * cursor.[Ch]: move some mathed specific code to mathed
809 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
811 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
812 use_tempdir in preferences
813 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
815 * lyx_main.C: ensure that tempdir is valid
816 * lyxlex.h: correct typo
817 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
818 * paragraph.[Ch] (isMultiLingual): make const
819 * cursor.[Ch] (openable): make const
821 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
823 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
825 2004-02-20 André Pönitz <poenitz@gmx.net>
827 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
829 * cursor.[Ch]: prepare for localized getStatus()
835 * text3.C: streamlines the LyXText cursor movement handlers a bit.
837 2004-02-20 André Pönitz <poenitz@gmx.net>
839 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
841 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
843 * text2.C (setCursorFromCoordinates): switch to absolute coords
846 * text3.C (dispatch): adjust
848 2004-02-16 André Pönitz <poenitz@gmx.net>
850 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
853 * cursor_slice.[Ch]: remove unneeded acessor function
855 * lyxtext.h: rename rtl() to isRTL()
863 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
865 * rowpainter.C (paintSelection): coord fix
867 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
869 * Spacing.C: compile fix
871 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
873 * cursor.C (dispatch): restore current_ before returning
875 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
877 * text2.C (cursorUp, cursorDown): fix coords
880 2004-02-12 André Pönitz <poenitz@gmx.net>
885 * text3.C: add LCursor & parameter to most cursor movement functions
886 remove usage of LyXText::cursorRow() and cursorPar()
888 * cursor.[Ch]: add textRow() needed members
891 * BufferView_pimpl.C:
894 * BufferView_pimpl.C: adjust
896 2004-02-11 André Pönitz <poenitz@gmx.net>
900 * BufferView_pimpl.C: shift undo/redo handling
902 * cursor.[Ch]: fix mathed crash
905 * lyxtext.h: move selectionAsText to LCursor
913 * rowpainter.C: fix excessive drawing
915 2004-02-06 André Pönitz <poenitz@gmx.net>
918 * BufferView_pimpl.[Ch]:
919 * text3.C: move some text specific LFUN handling
921 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
923 * text3.C (checkInsetHit): adjust coords
924 * text2.C (getColumnNearX): adjust coords
925 (edit): adjust coords
926 * text.C (getRowNearY): add two asserts
928 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
931 * format.C: add using std::distance to compile on gcc 2.95/stlport
933 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
935 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
937 2004-02-04 André Pönitz <poenitz@gmx.net>
939 * BufferView.[Ch] (insertInset):
940 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
945 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
947 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
948 on the default clause of the switch
949 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
950 wasn't catched by LCursor::dispatch
952 2004-02-03 André Pönitz <poenitz@gmx.net>
955 * cursor.[Ch]: some additional asserts
957 * undo.[Ch]: remove LyXText dependency in interface
961 * lyxtext.h (firstPar, lastPar): remove dead functions
966 * paragraph.[Ch]: adjust
968 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
970 * lyxfind.C (find): fix argument order in call to ::find
972 2004-02-02 André Pönitz <poenitz@gmx.net>
974 * cursor.[Ch]: remove direct access to anchor
976 * text.C: remove findText() hack
978 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
980 * iterators.[Ch] (lockPath): remove in favour of...
981 * BufferView.[Ch] (setCursor): this addition
982 * BufferView.C (putSelectionAt): adjust
983 * undo.C (performUndoOrRedo): adjust
984 * lyxfunc.C (dispatch): adjust
986 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
988 * iterators.C (lockPath): add a missing slice
989 * undo.C (performUndoOrRedo): remove redundant positioning code
991 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
993 * vc-backend.C (scanMaster): ";" -> ';'
995 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
997 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1000 * lyxtextclass.C (compare_name): rename to...
1001 (LayoutNamesEqual): ...this
1003 * lyxlex_pimpl.C (compare_tags): inherit from
1004 std::binary_function, put back into anon namespace
1006 * lyxfind.C (MatchString): inherig from std::binary_function
1007 (findChange): use empty() istead of !size()
1009 * format.C (FormatNamesEqual): new functor
1016 * converter.C (compare_Converter): rename to...
1017 (ConverterEqual): ...this, and fixup a bit.
1018 (getConverter): use it, and make function const
1019 (getNumber): use it, and make function const
1023 * bufferlist.C: add using boost::bind
1025 * MenuBackend.C (MenuNamesEqual): new functor
1026 (hasMenu): use it, and make function const
1027 (hasSubmenu): use nested bind to get rid of compare_memfun.
1029 2004-01-30 André Pönitz <poenitz@gmx.net>
1031 * BufferView_pimpl.C:
1034 * cursor_slice.[Ch]:
1037 * paragraph_funcs.C:
1038 * paragraph_funcs.h:
1042 * text3.C: move some of the edit(x,y) handling to the insets
1043 some coordinate changes.
1045 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1047 * text.C: add using statements for std::advance and std::distance
1049 * paragraph.C: add using statement for std::distance
1051 * lyxfind.C: add using statement for std::advance
1053 * cursor.C (region): remove std:: from swap
1054 (openable): use nucleus in stead of operator->
1056 * BufferView.C: add using statements for std::distance and std::swap
1058 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1060 * iterators.C: Remove the pimple, move the needed structures to
1061 the header file. Create accessor for the positions stack.
1062 (asPosIterator): remove function
1064 * PosIterator.C (PosIterator): move constructors to top of file
1065 (PosIterator): reimplement the constructor taking a ParIterator in
1067 (setFrom): new function
1068 (operator!=): inline it
1070 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1072 * lyxfind.C (replaceAll): use std::advance
1074 * iterators.h: inherit from std::iterator.
1076 * PosIterator.C (advance, distance): remove
1077 * PosIterator.h: interit from std::iterator.
1079 2004-01-26 André Pönitz <poenitz@gmx.net>
1082 * BufferView_pimpl.[Ch]:
1086 * bufferview_funcs.C:
1096 * output_linuxdoc.C:
1097 * output_plaintext.C:
1099 * paragraph_funcs.[Ch]:
1100 * paragraph_pimpl.[Ch]:
1106 * text3.C: more IU: dumps most of the rest of the mathcursor
1107 implementation into cursor.[Ch]; "globalize" a bit of it.
1109 2004-01-25 Angus Leeming <leeming@lyx.org>
1111 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1113 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1115 * LaTeXFeatures.h: add nice_ and nice() const
1116 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1118 2004-01-20 André Pönitz <poenitz@gmx.net>
1121 * BufferView_pimpl.C:
1123 * bufferview_funcs.C:
1125 * cursor_slice.[Ch]:
1136 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1137 LCursor and mathcursor parts to LCursor and InsetBase.
1139 2004-01-15 André Pönitz <poenitz@gmx.net>
1141 * cursor_slice.[Ch]: add a few covienience functions
1143 * funcrequest.[Ch]: remove BufferView * member
1145 * BufferView_pimpl.C:
1152 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1154 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1156 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1157 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1159 2004-01-13 André Pönitz <poenitz@gmx.net>
1162 * lyxtext.h: hide cursor and selection anchor behind accessor function
1165 * BufferView_pimpl.[Ch]:
1167 * bufferview_funcs.C:
1177 * cursor_slice.[Ch]: some integer type changes for inset unification
1179 * lyxcursor.[hC]: remove, it's CursorSlice now.
1182 * BufferView_pimpl.[Ch]:
1183 * bufferview_funcs.C:
1189 * textcursor.[Ch]: adjust
1191 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1193 * text2.C (undoSpan): add and use
1194 * text.C (breakParagraph): use undoSpan (fix bug 578)
1197 2004-01-08 Angus Leeming <leeming@lyx.org>
1199 * BufferView_pimpl.C (MenuInsertLyXFile):
1200 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1201 * lyxfunc.C (menuNew, open, doImport):
1202 FileFilterList change to the FileDialog open and save functions.
1204 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1206 * ShareContainer.h: make isEqual and isUnique adaptable
1208 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1210 2004-01-07 Angus Leeming <leeming@lyx.org>
1213 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1215 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1217 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1218 functions replacing find, replace and replaceAll.
1220 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1221 LFUN_WORDFIND(FORWARD|BACKWARD).
1223 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1225 * text.C (breakParagraph): remove an outdated #warning
1227 2004-01-07 André Pönitz <poenitz@gmx.net>
1229 * lyxfind.C: somewhat clearer logic
1231 * text.C: prevent crash in cursorX on unitialized row cache
1233 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1235 * lyxcursor.[Ch] (operator>): add
1236 * textcursor.C (selStart, selEnd): use std::min and std::max
1238 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1240 * Chktex.C: include boost/format.hpp
1242 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1244 * InsetList.C: replace functor MathcIt with adaptable functor
1246 (insetIterator): modify accordingly
1248 * BranchList.h: move the BranchNamesEqual functor here from...
1249 * BranchList.C: ... to here
1251 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1253 (add): replace a finding loop with std::find_if.
1255 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1257 * output_docbook.C: moving LatexParam functionality into
1260 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1262 * buffer.C: increment format to 229.
1264 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1267 * lyx_sty.[Ch]: remove minipageindent_def
1273 * text3.C: remove LFUN_INSET_MINIPAGE
1275 2003-12-28 Angus Leeming <leeming@lyx.org>
1277 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1279 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1281 * text2.C (setParagraph): fix off-by-one crash
1283 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1285 * output_docbook.C: header stuff for AGU
1287 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1289 * text2.C (redoCursor): remove
1292 * BufferView_pimpl.C: remove calls to redoCursor and
1293 setCursor(cursor.par(), cursor.pos()) all around
1295 2003-12-15 Angus Leeming <leeming@lyx.org>
1297 * buffer.C: up the format to 228.
1299 2003-12-15 André Pönitz <poenitz@gmx.net>
1301 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1306 * BufferView_pimpl.C:
1315 2003-12-15 Angus Leeming <leeming@lyx.org>
1317 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1318 than getFromGUIName to manipulate the color.
1320 2003-12-14 Angus Leeming <leeming@lyx.org>
1322 * BranchList.[Ch]: minimize the API.
1323 (Branch::getBranch, getColor): now return a 'const &'.
1324 (Branch::setSelected) now returns a bool set to true if the
1325 selection status changes.
1326 (BranchList::clear, size, getColor, setColor, setSelected,
1327 allBranches, allSelected, separator): removed.
1328 (BranchList::find): new functions, returning the Branch with
1330 (BranchList::add, remove): return a bool indicating that
1331 the operation was successful.
1333 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1334 new InsetBranch::isBranchSlected member function.
1336 * LColor.[Ch]: mimimize the API.
1337 (fill): renamed as addColor and made private.
1338 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1339 versions of these functions taking a string arg have been removed.
1341 * bufferparams.C (readToken):
1342 * lyxfunc.C (dispatch):
1343 * lyxrc.C (read): changes due to the altered BranchList and
1346 * factory.C (createInset, readInset): changes due to altered
1349 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1352 * lyxfunc.C: remove insetminipage. "minipage-insert"
1353 now produces a frameless minipage box inset.
1355 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1357 * textcursor.[Ch] (selStart,selEnd): add new methods
1358 remove selection::start, end, use LyXCursor::operator<
1359 * lyxcursor.[Ch] (operator<): add
1360 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1361 * BufferView.[Ch] (unsetXSel): add
1362 * text2.C (clearSelection): use unsetXSel,adjust
1365 * rowpainter.C: adjust
1366 * bufferview_funcs.C (put_selection_at): adjust
1368 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1370 * BufferView_pimpl.C: small coord. correction
1372 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1374 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1375 dragging over the splash screen.
1377 2003-12-11 Angus Leeming <leeming@lyx.org>
1379 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1380 as it is now handled in LyXText::dispatch.
1382 * text3.C (doInsertInset): remove a level of nesting.
1384 2003-12-11 Angus Leeming <leeming@lyx.org>
1386 * factory.C (createInset): changes due to the changed interface to
1387 InsetCommandMailer::string2params.
1389 2003-12-10 Angus Leeming <leeming@lyx.org>
1391 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1392 'dialog-show-new-inset <inset name>'
1394 2003-12-10 Angus Leeming <leeming@lyx.org>
1396 * buffer.C: up the format to 227.
1398 * factory.C: the box inset is now identified simply by 'Box'.
1400 2003-12-10 Angus Leeming <leeming@lyx.org>
1402 * buffer.C: up the format to 226.
1404 * factory.C: the note inset is now identified simply by 'Note'.
1406 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1408 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1409 when a pit is enough. Standarize a couple of loops.
1411 2003-12-05 Angus Leeming <leeming@lyx.org>
1413 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1414 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1415 data to the re-worked "log" dialog.
1417 2003-12-03 André Pönitz <poenitz@gmx.net>
1423 * paragraph_funcs.C:
1425 * text2.C: use Inset::getText instead of Inset::getParagraph
1427 2003-12-03 André Pönitz <poenitz@gmx.net>
1431 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1432 InsetText::read() as LyXText::read()
1434 2003-12-02 Angus Leeming <leeming@lyx.org>
1436 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1437 type. Add a comment in the implementation that the function uses
1438 the stream's bad() function rather than fail() as the std::streams
1441 2003-12-02 André Pönitz <poenitz@gmx.net>
1443 * lyxlex.[Ch]: make interface more similar to std::stream
1445 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1447 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1449 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1451 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1453 * vspace.[Ch]: remove VSpace::NONE
1455 2003-12-01 André Pönitz <poenitz@gmx.net>
1458 * lyxtext.h: move ParagraphList member to LyXText
1459 rename LyXText::ownerParagraphs to LyXText::paragraph
1462 * bufferview_funcs.C:
1472 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1474 * undo.C: fix cursor positioning
1476 2003-12-01 John Levon <levon@movementarian.org>
1478 * BufferView_pimpl.C: fix a crash on exit with
1481 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1483 * BranchList.C: fix setSelected() method.
1485 2003-11-28 André Pönitz <poenitz@gmx.net>
1487 * ParagraphParameters.[Ch]:
1488 * ParameterStruct.h: remove space above/below from Paragraph to
1491 * BufferView_pimpl.C:
1497 * paragraph_funcs.C:
1503 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1505 * factory.C: Syntax change for CharStyles
1507 2003-11-28 André Pönitz <poenitz@gmx.net>
1512 * buffer.[Ch]: move LyXText member
1514 2003-11-28 André Pönitz <poenitz@gmx.net>
1516 * BufferView.[Ch]: make LyXText * text a private member
1518 * BufferView_pimpl.C:
1529 * output_plaintext.C: cleanup
1531 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1534 * lyxtextclass.[Ch]: parametrize SGML document header
1536 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1539 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1542 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1544 * text2.C (setFont): rework using PosIterator (no more recursive)
1545 (setCharFont): no more needed
1546 (setLayout): no more selection cursors fiddling (done by redoCursor)
1547 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1548 destroy remaining ones)
1550 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1552 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1554 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1557 * text3.C: adjust + re-allow multi par depth changes
1558 * textcursor.C: simplify a bit
1560 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1566 * src/output_docbook.C:
1567 * src/output_latex.C:
1572 * src/text2.C: Introducing a number of tags parametrizing various
1573 XML formats that we may want to support
1575 2003-11-25 André Pönitz <poenitz@gmx.net>
1577 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1579 * lyxtext.h (leftMargin/rightMargin): simplify interface
1586 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1588 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1589 master file to any child files. Fixes bug 546.
1591 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1593 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1595 2003-11-24 André Pönitz <poenitz@gmx.net>
1597 * rowpainter.C: simplification
1599 * text2.C (updateCounters): remove call to redoParagraph on
1600 changed labels as this is far too expensive.
1602 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1604 * converter.C (convert): fix a crash: this function gets
1605 called with buffer == 0 from importer code.
1607 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1609 * text3.C (cursorPrevious): make sure that we do not compare
1610 iterators form different containers.
1613 * rowpainter.C (paintSelection): make sure that we do not compare
1614 iterators from different containers.
1616 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1617 iterators from different ParagraphList containers.
1620 * text2.C (LyXText): change order of initialization slightly
1621 (operator=): new function. copy all variables except cache_par_
1622 (moveUp): make sure that we do not compare iterators from
1623 different ParagraphList constainers.
1626 * text.C (firstPar): new function
1627 (lastPar): new function
1628 (endPar): new function
1630 * lyxtext.h: move things around and group public functions, public
1631 variables, private functions, private variables
1633 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1635 * factory.C: change call to InsetERT constructor to avoid
1636 additional invocation of method status
1637 * text2.C (toggleInset): remove redundant update() call
1638 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1639 instead of a Bufferview pointer
1641 2003-11-21 André Pönitz <poenitz@gmx.net>
1643 * rowpainter.C: simplification
1645 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1647 * text3.C (dispatch): make possible to extend a word/row selection
1650 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1652 * lyxtext.h: x0_,y0_ -> xo_,yo_
1653 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1654 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1655 * rowpainter.C (paintRows): paint full paragraphs
1657 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1659 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1662 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1664 * lyxtext.h: add x0_, y0_
1665 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1666 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1668 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1670 * text2.C (setCursorIntern): move the x_target update here *
1671 * text3.C: change some bv() to true/false in calls to
1672 cursorUp/Down/Right/Left
1673 * cursor.C: use helper function.
1675 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1677 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1678 * paragraph_funcs.[Ch]: correct comment
1679 * rowpainter.C: do not paint selections away from bv->cursor()
1680 Fix a long standing selection painting bug.
1681 * text3.C: generalize mouse-selection code to LyXTexts other that
1683 * textcursor.C: do not use y coords if we can use par offsets
1685 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1687 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1688 cursor position after e.g. inset insert)
1690 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1692 * lyxfind.C (replace): adjust to locking removal + some
1695 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1697 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1700 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1703 * output_docbook.C: XML sanitation: new layout
1704 parameters InnerTag and CommandDepth
1706 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1708 * BufferView_pimpl.C:
1710 * text3.C: Fix the insertion and modification of button-style
1713 2003-11-13 André Pönitz <poenitz@gmx.net>
1715 * InsetList.[Ch]: remove deleteLyXText
1717 * paragraph.[Ch]: cache beginOfBody position
1722 * text3.C: remove superfluous update() calls
1726 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1728 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1729 * BufferView.C (fitLockedInsetCursor): remove
1730 * cursor.[Ch] (getDim): add
1731 * text.C (getRowNearY): add faster version
1732 * text3.C: remove some update calls
1734 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1746 * text3.C: The Character Style /XML short element patch.
1748 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1751 * factory.C: Small step to solving 'unable to insert some insets'
1754 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1756 * cursor.[Ch] (updatePos): new function for updating the y
1757 position of the tip inset
1758 * bufferview_funcs.C (put_selection_at):
1759 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1761 2003-11-11 André Pönitz <poenitz@gmx.net>
1763 * text.C: remove big comment on invalid Paragraph pointers as it is
1766 2003-11-11 André Pönitz <poenitz@gmx.net>
1768 * text_funcs.[Ch]: merge with ...
1776 * Makefile.am: remove text_funcs.[Ch]
1778 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1780 * cursor.C (getPos): return absolute cached y coord
1782 * BufferView_pimpl.C (fitCursor): new simplistic code
1783 (workAreaDispatch): add a fitCursor call
1785 2003-11-10 André Pönitz <poenitz@gmx.net>
1788 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1790 2003-11-10 André Pönitz <poenitz@gmx.net>
1792 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1793 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1794 indicate that the cursor needs to leave an inset
1796 * lyxtext.h: remove inset locking
1798 * cursor.[Ch]: re-implement functionality provided by inset locking
1801 * BufferView_pimpl.[Ch]:
1803 * bufferview_funcs.[Ch]:
1815 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1817 * PosIterator.[Ch]: replace the stack with a vector, add inset
1819 * iterators.[C]: adjust
1821 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1823 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1825 * paragraph_funcs.C (readParToken): put the correct id in the
1826 error item, not the id of the top paragraph
1828 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1830 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1831 * bufferview_funcs.C (put_selection_at): use the above
1833 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1835 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1837 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1839 * output_linuxdoc.h:
1840 * output_plaintext.h:
1842 * output_docbook.h: add #include statements
1844 2003-11-05 José Matos <jamatos@lyx.org>
1846 * output_docbook.[Ch]:
1847 * output_latex.[Ch]:
1848 * output_linuxdoc.[Ch]:
1849 * output_plaintext.[Ch]: New files for output formats.
1850 * output.[Ch]: New file for helper functions.
1853 * paragraph_funcs.[Ch]: output functions moved to new files.
1855 * outputparams.h: rename of latexrunparams.h
1863 * paragraph_funcs.[Ch]:
1864 * paragraph_pimpl.[Ch]:
1865 * tabular.[Ch]: rename ascii to plaintext
1866 and LatexRunParams to OutputParams.
1868 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1870 * iterators.[Ch] (text): require bv argument
1871 * undo.C (recordUndo):
1872 * lyxfunc.C (dispatch):
1873 * bufferview_funcs.C (put_selection_at): adjust
1875 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1877 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1879 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1881 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1884 2003-11-04 André Pönitz <poenitz@gmx.net>
1886 * cursor.[Ch]: restructure
1889 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1891 * iterators.[Ch] (asCursor): remove
1893 * lfuns.h: remove LFUN_INSET_EDIT
1899 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1901 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1903 * lyxfind.[Ch]: complete overhaul
1904 * BufferView_pimpl.C:
1906 * paragraph.[Ch] (insert): add
1908 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1912 * text.C: remove dead spellcheck code
1914 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1916 * dispatchresult.h: add a val setter
1918 * cursor.C (dispatch): use a tempvar for data_[i]
1920 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1922 * PosIterator.[Ch]: compile fix
1924 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1926 * text.C (cursorPar): deactivate the cursor cache
1928 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1930 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1932 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1934 * text3.C (dispatch): adjust for new DisptchResult semantics.
1936 * lyxfunc.C (dispatch): handle update when return from
1937 Cursor::dispatch, adjust for new DispatchResult semantics.
1939 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1940 DispatchResult(true) mean to not update. Add class functions for
1941 setting dispatched and update, as well as reading.
1943 * cursor.C (dispatch): don't handle update here
1945 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1947 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1948 * trans_mgr.C: adjust
1950 * paragraph_funcs.C (readParToken): exception safety
1952 * lyxvc.h: store the vcs pointer in a scoped_ptr
1955 * lyxsocket.C (serverCallback): exception safety
1957 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1959 * ispell.C (clone): make it return a auto_ptr
1961 * factory.C (createInset): exception safety
1962 (readInset): exception safety
1964 * bufferlist.C (newBuffer): exception safety
1966 * Thesaurus.C (Thesaurus): use initialization for aik_
1968 * MenuBackend.C (expandToc): exception safety.
1970 2003-11-03 André Pönitz <poenitz@gmx.net>
1974 * bufferview_funcs.C: remove getInsetFromId()
1977 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1983 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1985 * PosIterator.C (distance, advance): new
1986 * bufferview_funcs.[Ch] (put_selection_at): new
1987 * iterators.[Ch] (lockPath): new
1989 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1991 * iterators.[Ch] (asPosIterator): added
1992 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1993 * PosIterator.[Ch]: added
1995 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1999 * cursor.C (dispatch):
2000 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2002 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2003 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2004 contructor, add a class function dispatched. Remove operator>=
2006 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2008 * debug.C: only use the default constructor for debugstream
2011 * main.C (main): include debug.h and setup the lyxerr streambuf
2014 2003-10-31 José Matos <jamatos@lyx.org>
2016 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2018 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2019 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2020 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2021 * paragraph_pimpl.C (simpleTeXSpecialC):
2022 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2023 add LatexRunParams argument.
2025 * exporter.C (Export): change call accordingly.
2027 * latexrunparams.h: add new member to take care of the other backends.
2028 2003-10-30 José Matos <jamatos@lyx.org>
2030 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2031 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2032 factorise code for paragraph output.
2034 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2037 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2039 * text3.C (dispatch):
2040 * lyxfunc.C (dispatch):
2041 * cursor.C (dispatch):
2042 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2044 * dispatchresult.h: make the dispatch_result_t ctor explicit
2046 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2049 * buffer.C: small refactoring of docbook stuff
2051 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2053 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2056 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2058 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2059 operator dispatch_result_t, and operators for == != and >=
2061 * cursor.C (dispatch): adjust for operator dispatch_result_t
2062 removal. comment out call to update
2064 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2066 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2074 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2077 * dispatchresult.h: new file, DispatchResult broken out of
2080 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2082 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2084 * text.C (rowBreakPoint): put a hack inside #if 0
2086 2003-10-28 André Pönitz <poenitz@gmx.net>
2090 * paragraph_funcs.C:
2093 * text2.C: general cleanup (lots of small stuff)
2095 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2097 * text2.C (cursorEnd): simple fix to the "end key goes to one
2098 before the end on last row" bug
2100 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2102 * text.C (backspace): fix the "zombie characters"
2104 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2106 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2108 2003-10-27 André Pönitz <poenitz@gmx.net>
2110 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2112 * factory.C: handle new InsetPagebreak, InsetLine
2114 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2115 and move handling into new InsetPagebreak, InsetLine
2117 * BufferView_pimpl.C:
2119 * ParagraphParameters.C:
2120 * ParameterStruct.h:
2125 * paragraph_funcs.C:
2126 * paragraph_pimpl.C:
2132 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2135 * lyxrow_funcs.[Ch]:
2141 * text3.C: remove lastPos uses in favour of Row::endpos
2143 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2145 * undo.C (performUndoOrRedo): fix two crashes by setting a
2146 cursor by hand and reordering some calls. Use bv->lockInset instead
2147 of inset->edit because the latter loses cursor information
2149 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2151 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2153 (rowBreakPoint): fix width. change point to point + 1.
2154 Add a missing check.
2156 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2159 * lyxfunc.C: fix (at least partly) the problems
2160 with the Nav menu and headers inside branch insets
2163 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2165 * paragraph.C (getChar): add strong asserts
2167 * lyxrow_funcs.C (lastPos): remove hideous hack
2169 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2170 (fill): adjust to that (avoid an infinite loop)
2172 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2174 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2176 2003-10-23 André Pönitz <poenitz@gmx.net>
2178 * RowList_fwd.h: change list<> to vector<> to gain speed
2179 after suggestion from Alfredo
2181 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2183 * lyxtext.h: move the bidi stuff from here...
2186 * Bidi.[Ch]: ... to here
2188 2003-10-23 André Pönitz <poenitz@gmx.net>
2191 * text.C (isLastRow, isFirstRow): new functions
2193 * paragraph.h: new width cache member
2195 * rowpainter.C: replace RowList::iterator with Row & where possible
2197 * lyxfunc.C: replace several view()->text with a single call
2199 * toc.C: fix 'unused' warning
2201 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2203 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2204 when woring with stream::pos_type
2205 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2207 2003-10-22 André Pönitz <poenitz@gmx.net>
2210 * text.C: use Row & instead of RowList::iterator
2212 * lyxrow.h: rename end() to endpos()
2218 2003-10-22 Angus Leeming <leeming@lyx.org>
2220 * buffer.[Ch] (fully_loaded): new member function, returning true
2221 only when the file has been loaded fully.
2222 Used to prevent the premature generation of previews and by the
2223 citation inset to prevent computation of the natbib-style label.
2225 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2226 templates are all set up.
2228 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2230 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2232 * text.C: fixed an "oops" in the "is a bit silly"
2235 2003-10-21 André Pönitz <poenitz@gmx.net>
2237 * FuncStatus.[Ch]: small stuff, whitespace
2239 * lyxfont.[Ch]: operator<<() for debug reasons
2243 * lyxtext.h: whitespace, spelling
2245 * paragraph.C: naming of variables
2248 * text2.C: small stuff
2251 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2253 * text.C: (1) finish off the inset display() work;
2254 (2) fix the "is a bit silly" bug (accessing char
2257 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2259 * text.C: re-introduce display() for insets, fixing the
2260 various bugs (stretch of line above, math inset
2263 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2265 * text.C (rightMargin): remove spurious semicolon
2267 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2270 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2272 * text3.C: fix one crash due to wrong cursor def
2274 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2276 * vc-backend.C (scanMaster): make the regex static
2278 * LaTeX.C (scanAuxFile): make the regexs static
2280 * text3.C (doInsertInset, dispatch, dispatch):
2281 * text2.C (cursorUp, cursorDown):
2282 * text.C (selectNextWordToSpellcheck):
2283 * BufferView_pimpl.C (dispatch):
2284 * lyxfunc.C (dispatch): localDispatch -> dispatch
2286 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2288 * lyxsocket.C: include <cerrno>
2290 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2292 * lyxfunc.C (dispatch): remove textcache stuff
2294 * bufferlist.C (release): remove textcache stuff
2297 * TextCache.C: delete file
2298 * TextCache.h: delete file
2300 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2302 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2303 delete of the bv_->text.
2304 (resizeCurrentBuffer): remove texcache stuff
2305 (workAreaResize): ditto
2307 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2309 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2312 2003-10-16 André Pönitz <poenitz@gmx.net>
2319 * text3.C: speed up by storing y positions per paragraph plus per-row
2320 offset instead of having a 'full' y position in the row.
2322 2003-10-15 André Pönitz <poenitz@gmx.net>
2326 * undo.[Ch]: make undo aware of inner insets
2328 2003-10-14 Angus Leeming <leeming@lyx.org>
2330 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2331 static member functions LyX::ref() and LyX::cref.
2332 (lastfiles): new accessor functions for the new lastfiles_ member var.
2333 (addLyXView, views_): add a new LyXView to the list of views_.
2334 (updateInset): loop over all LyXViews to call their own updateInset
2335 member function, returning a pointer to the Buffer owning the inset.
2337 * BufferView_pimpl.C (loadLyXFile):
2338 * MenuBackend.C (expandLastfiles):
2339 * bufferlist.C (MenuWrite, QuitLyX):
2340 lastfiles is no longer a global variable.
2341 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2343 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2344 static function. Access through LyX::cref().emergencyCleanup().
2346 2003-10-14 André Pönitz <poenitz@gmx.net>
2348 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2350 * undo.[Ch]: restoring part of 'undo in insets'
2353 * undo_funcs.[Ch]: merge with undo.[Ch]
2355 * tabular.C: small cleansing stuff
2357 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2359 * paragraph_funcs.C (readParToken): report unknown insets as error
2360 boxes. Use the outer paragraph as location (also for unknown
2363 * factory.C (readInset): do not abort on reading an unknown inset.
2364 Eat it and return 0.
2366 2003-10-13 Angus Leeming <leeming@lyx.org>
2368 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2370 * lyxrc.C: displayTranslator is now a function,
2371 declared in GraphicsTypes.h.
2373 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2375 * format.C: new placeholder $$a to pass the socket address.
2377 * bufferlist.[Ch]: new function getBufferFromTmp.
2379 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2380 files in the temporary dir.
2382 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2384 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2386 * Makefile.am: add lyxsocket.[Ch].
2388 * lyx_main.C (error_handler): handle SIGPIPE.
2390 2003-10-13 André Pönitz <poenitz@gmx.net>
2392 * BufferView_pimpl.C:
2397 * undo_funcs.[Ch]: use paroffset_type instead of
2398 ParagraphList::iterators to prevent multiple conversion
2399 (and get a more robust interface)
2401 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2403 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2405 * text3.C (dispatch): ditto
2407 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2409 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2410 move the onlyfile, use onlyfile instead of foundfile in a couple
2413 * DepTable.C (update): flush the error stream a bit more
2415 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2417 * lyxserver.C (callback): adjust
2419 * lyxfunc.C (getStatus): add a missing brace in commented code
2420 (ensureBufferClean): reindent
2421 (dispatch): delete version taking a string
2423 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2425 * LaTeX.C (deplog): move found file handlig from here...
2426 (handleFoundFile): .. to new function here.
2427 (deplog): make sure to discover several files mentioned on the
2430 2003-10-10 André Pönitz <poenitz@gmx.net>
2437 * text3.C: fix some of the tabular crashes
2439 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2441 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2443 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2445 2003-10-09 André Pönitz <poenitz@gmx.net>
2447 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2450 * BufferView_pimpl.C:
2451 * bufferview_funcs.C:
2462 * undo_funcs.C: adjust
2464 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2466 * text2.C (incrementItemDepth): new function, use a backtracking
2467 algorithm to discover the correct item depth.
2468 (resetEnumCounterIfNeeded): new function, use a backtracking
2469 algorithm to discover if counter reset is needed.
2470 (setCounter): use them. Simplify a bit. Add different labels for
2471 different item depths for itemize.
2473 * paragraph.C (Paragraph): remove initialization of enumdepth
2476 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2477 enumerate and itemize. Change the type of itemdepth to signed char.
2479 2003-10-08 André Pönitz <poenitz@gmx.net>
2481 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2486 * tabular.[Ch]: fix crash after 'row-insert'
2488 2003-10-08 Angus Leeming <leeming@lyx.org>
2490 Fix doxygen warnings.
2492 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2493 Remove CutAndPaste:: prefix from header file declaration.
2495 * LColor.h (fill): remove LColor:: prefix from declaration.
2497 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2498 use lyx::depth_type rather than Paragraph::depth_type so that
2499 header file and .C file match.
2501 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2503 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2504 * aspell.C: \file aspell_local.C -> \file aspell.C
2505 * gettext.C: \file gettext.C -> \file src/gettext.C
2506 * gettext.h: \file gettext.h -> \file src/gettext.h
2507 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2508 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2509 * text.C: \file text.C -> \file src/text.C
2511 * toc.C: move comment so that doxygen is not confused.
2513 2003-10-07 Angus Leeming <leeming@lyx.org>
2515 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2517 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2520 * aspell_local.h: add forgotten std::string's.
2522 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2529 * text3.C: The Box patch. Fancybox support, minipage, parbox
2531 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2537 * ParagraphParameters.h:
2547 * lyxtextclasslist.h:
2550 * paragraph_pimpl.C:
2551 * textcursor.h: add <string> and other small fixes to make Lars'
2552 std::string patch compile with STLport.
2554 2003-10-06 Angus Leeming <leeming@lyx.org>
2556 * LColor.h: Add missing #include <string>.
2558 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2560 * All most all file in all subdirs: Make <string> be the prefered
2561 way of getting to std::string, add using declarations.
2563 2003-10-06 André Pönitz <poenitz@gmx.net>
2565 * metricsinfo.C: initialize LyXFont before changing attribute.
2566 (fixes the 'math in \emph is upright' bug)
2568 2003-10-06 André Pönitz <poenitz@gmx.net>
2570 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2572 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2575 * paragraph_pimpl.C: Small fixes to build using STLport
2577 2003-10-02 André Pönitz <poenitz@gmx.net>
2580 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2582 2003-10-01 André Pönitz <poenitz@gmx.net>
2584 * factory.C: assert early
2586 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2588 * lyx_main.C: remove the global debug object
2590 * debug.h: adjust for new debugstream
2592 * debug.C: adjust for new debugstream and keep the global debug
2595 2003-09-22 Angus Leeming <leeming@lyx.org>
2597 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2598 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2599 an incomplete class LyXFont.
2601 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2603 * factory.C: bug fix in branches
2605 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2607 * lyxfunc.C (processKeySym): adjust
2609 (dispatch): change arg name from ev to func, adjust
2610 (sendDispatchMessage): ditto
2612 * lyx_main.C (defaultKeyBindings): adjust keybindings
2613 (deadKeyBindings): ditto
2615 * kbsequence.C (addkey): return a FuncRequest
2617 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2619 * kbmap.C (bind): take a FuncRequest as arg, adjust
2622 (defkey): change to take a FuncRequest as arg, adjust
2623 (findbinding): take a FuncRequest as arg, adjust.
2625 * funcrequest.h (operator=): added
2627 * funcrequest.C (FuncRequest): default kb_action changed from
2628 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2630 * buffer.C (dispatch): simplify
2631 (dispatch): adjust to take a FuncRequest as arg, adjust
2633 * boost.C (assertion_failed): change assertion message slightly
2635 * ToolbarBackend.C (read): simplify
2637 * MenuBackend.C (binding): adjust call to findbinding, add a
2638 message if no binding is found.
2640 (expandToc): correct by adding a empty FuncRequest
2642 * LyXAction.C: include <boost/assert.hpp>
2643 (isPseudoAction): delete function
2644 (LookupFunc): change name to...
2645 (lookupFunc): this. change return type to FuncRequest.
2646 (getActionName): take kb_action as arg, simplify
2647 (funcHasFlag): add an assert, simplify.
2649 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2651 * toc.C (action): return a FuncRequest, simplify
2653 * lyxfunc.C (processKeySym): adjust
2654 (getStatus): delete version that takes an int.
2656 (dispatch): delete version that takes action as int
2658 (sendDispatchMessage): simplify and adjust
2660 * funcrequest.C (getArg): take unsigned int as arg
2662 * ToolbarBackend.C (read): adjust
2663 (add): delete version that takes func as a string.
2664 (getIton): take a FuncRequest as arg
2666 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2669 * MenuBackend.C (MenuItem): add a new construct that only takes a
2670 Kind, simplify the constructor use for submenus.
2672 (expandLastfiles): adjust
2673 (expandDocuments): adjust
2674 (expandFormats): adjust
2675 (expandFloatListInsert): adjust
2676 (expandFloatInsert): adjust
2677 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2679 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2680 Remove class variables lyx_pseudo_map and lyx_arg_map
2682 * LyXAction.C (searchActionArg): delete function
2683 (getPseudoAction): delete function
2684 (retrieveActionArg): delete function
2685 (LookupFunc): make it return kb_action, simplify.
2686 (getActionName): simplify
2688 * factory.C (createInset): fix new bug
2690 2003-09-19 Angus Leeming <leeming@lyx.org>
2692 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2693 masterFilename_ parameter in the include inset.
2695 * factory.C (createInset): changes due to the changes to InsetInclude.
2697 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2699 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2701 2003-09-18 Angus Leeming <leeming@lyx.org>
2704 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2705 Inset::fillWithBibKeys.
2706 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2708 2003-09-18 Angus Leeming <leeming@lyx.org>
2710 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2712 (ctor): pass and store a 'Buffer const &'
2713 (buffer): new member function.
2715 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2716 '*this' to the LaTeXFeatures ctor.
2718 2003-09-18 Angus Leeming <leeming@lyx.org>
2724 * text.C: rename EnumLColor as LColor_color.
2726 2003-09-18 Angus Leeming <leeming@lyx.org>
2728 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2729 remove #include "insets/insetbase.h" from cursor.h.
2731 2003-09-18 Angus Leeming <leeming@lyx.org>
2733 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2734 InsetOld_code to remove #include "inset.h".
2736 * iterators.C: add #include "insets/inset.h"
2738 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2740 * BufferView.C: remove more locking stuff that apparently doesn't
2741 do anything sensible.
2743 2003-09-16 André Pönitz <poenitz@gmx.net>
2746 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2749 2003-09-16 Angus Leeming <leeming@lyx.org>
2751 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2753 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2756 * paragraph.h: remove #include "lyxfont.h". Forward declare
2759 2003-09-16 Angus Leeming <leeming@lyx.org>
2761 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2762 of support/textutils.h.
2763 (isWord): move the contents of support/textutils.h's IsWordChar here.
2769 * text2.C: add #include "paragraph.h".
2772 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2774 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2780 * LaTeX.C: use namespace alias for lyx::support::os
2782 2003-09-16 Angus Leeming <leeming@lyx.org>
2785 * bufferview_funcs.C:
2788 * paragraph_pimpl.C:
2790 * text.C: add #include "LColor.h".
2792 2003-09-16 Angus Leeming <leeming@lyx.org>
2794 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2795 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2797 Store the FontBits::color variable as an int rather than as an
2798 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2801 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2802 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2803 string calls together.
2805 * lyxrc.C: add #include "LColor.h".
2807 2003-09-15 Angus Leeming <leeming@lyx.org>
2809 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2812 2003-09-15 Angus Leeming <leeming@lyx.org>
2814 * LColor.h: add an EnumLColor wrapper for LColor::color.
2816 * lyxfont.[Ch] (color, setColor, realColor):
2817 * lyxtext.h, text.C (backgroundColor):
2818 pass EnumLColor args to/from the functions, rather than LColor::color
2822 * lyxtext.h: forward declare EnumLColor.
2824 * lyx_main.C: add #include "LColor.h".
2826 2003-09-15 Angus Leeming <leeming@lyx.org>
2828 * .cvsignore: add lyx-gtk.
2830 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2835 * ParagraphParameters.C
2839 * bufferview_funcs.C
2849 * vc-backend.C: remove usage of STRCONV
2851 2003-09-15 Angus Leeming <leeming@lyx.org>
2853 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2854 explicitly define the color passed to the painter.
2856 2003-09-15 Angus Leeming <leeming@lyx.org>
2858 * bufferparams.C (BufferParams): reorder member initializers to avoid
2861 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2863 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2864 * text.C (updateRowPositions): remove an unusual nop
2866 2003-09-12 André Pönitz <poenitz@gmx.net>
2868 * BufferView_pimpl.C:
2877 * Counters.[Ch]: finish the 'automatic counters' job
2879 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2881 * aspell.C: include <boost/assert.cpp> (compile fix)
2883 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2885 * boost.C (assertion_failed): use lyx::support::abort instead of
2888 2003-09-10 Angus Leeming <leeming@lyx.org>
2890 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2891 with their _fwd progeny.
2893 2003-09-09 Angus Leeming <leeming@lyx.org>
2895 134 files throughtout the source tree: replace 'using namespace abc;'
2896 directives with the appropriate 'using abc::xyz;' declarations.
2898 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2900 * boost.C (emergencyCleanup): moved here from LAssert.c
2901 (assertion_failed): new function, called by BOOST_ASSERT
2903 * several files: change Assert to BOOST_ASSERT
2905 2003-09-09 Angus Leeming <leeming@lyx.org>
2907 * buffer.[Ch]: Add an Impl class and move Buffer's member
2908 variables into it. As a result move several header files out of
2911 Add header files to lots of .C files all over the tree as a result.
2913 2003-09-09 Angus Leeming <leeming@lyx.org>
2915 * buffer.[Ch]: make Buffer's member variables private. Add
2918 Lots of changes all over the tree as a result.
2920 2003-09-08 Angus Leeming <leeming@lyx.org>
2922 * graph.C: #include <config.h>.
2924 2003-09-08 Angus Leeming <leeming@lyx.org>
2928 * BufferView_pimpl.C:
2957 * toc.C: remove redundant using directives.
2959 2003-09-07 Angus Leeming <leeming@lyx.org>
2961 * LaTeXFeatures.h: remove #include "support/types.h".
2962 * ToolbarBackend.h: remove #include <algorithm>.
2963 * changes.h: remove #include <ctime>.
2964 * debug.h: remove #include <iosfwd>.
2965 * graph.h: remove #include "support/std_string.h".
2966 * lyx_main.h: remove #include <csignal>.
2967 * lyxlex_pimpl.h: remove #include <fstream>.
2968 * sgml.h: remove #include <algorithm>, <utility>.
2969 * toc.h: remove #include "support/std_ostream.h".
2970 Add #include <iosfwd>.
2972 2003-09-07 Angus Leeming <leeming@lyx.org>
2974 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2976 * converter.h: forward declare LatexRunParams.
2977 * encoding.h: remove #include "lyxrc.h".
2978 * lyxtext.h: remove #include "LColor.h".
2979 * lyxtextclass.h: remove #include "support/types.h".
2980 * trans.h: remove #include "tex-accent.h".
2981 * trans_mgr.h: remove #include "tex-accent.h".
2982 * insets/inset.h: remove #include "support/types.h", <vector>.
2983 * insets/insetcollapsable.h: remove #include "LColor.h".
2984 * insets/insetinclude.h: remove #include "dimension.h".
2985 * insets/insetlatexaccent.h: remove #include "dimension.h".
2986 * insets/insetoptarg.h:: remove #include "insettext.h".
2987 * insets/insettext.h: remove #include "dimension.h",
2988 <boost/shared_ptr.hpp>
2990 * insets/renderers.h: add #include "dimension.h".
2991 * insets/updatableinset.h: add #include "support/types.h".
2993 * many .C files: Associated changes.
2995 2003-09-06 Angus Leeming <leeming@lyx.org>
2997 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2998 one, inside testInvariant.
3000 * PrinterParams.C: new file.
3001 * PrinterParams.[Ch]: move the function bodies out of line.
3003 2003-09-06 Angus Leeming <leeming@lyx.org>
3005 * ParagraphParameters.h: forward declare ParameterStruct rather than
3006 including its header file.
3007 (depth): moved out-of-line.
3009 2003-09-06 Angus Leeming <leeming@lyx.org>
3011 * BufferView_pimpl.h:
3014 * lyxfunc.h: forward declare LyXKeySym rather than
3015 #include "frontends/LyXKeySym.h".
3017 * BufferView_pimpl.C:
3020 * lyxfunc.C: associated changes.
3022 2003-09-06 Angus Leeming <leeming@lyx.org>
3024 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3025 As a result, can remove the #include "insets/inset.h" from BufferView.h
3027 2003-09-06 Angus Leeming <leeming@lyx.org>
3029 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3030 As a result, can remove the #include "insets/inset.h" from BufferView.h
3032 2003-09-06 Angus Leeming <leeming@lyx.org>
3038 * bufferview_funcs.C:
3039 * BufferView_pimpl.C:
3044 * ParagraphParameters.C:
3049 * frontends/controllers/ControlDocument.C:
3050 * insets/insetcaption.C: rearrange the #includes into some sort of
3053 * buffer.h: remove #includes ErrorList.h, undo.h
3055 2003-09-06 Angus Leeming <leeming@lyx.org>
3057 * support/types.h: add a 'depth_type' typedef, used to store the
3058 nesting depth of a paragraph.
3061 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3062 defining explicitly.
3065 * paragraph_funcs.h:
3066 * ParagraphParameters.h:
3067 * sgml.h: use lyx::depth_type rather than Paragraph or
3068 ParameterStruct's depth_type.
3071 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3074 * BufferView_pimpl.C:
3076 * ParagraphParameters.C:
3079 * bufferview_funcs.C:
3086 * frontends/LyXView.C:
3087 * frontends/controllers/ControlDocument.C:
3088 * frontends/controllers/ControlErrorList.C:
3089 * insets/insetbibitem.C:
3090 * insets/insetbranch.C:
3091 * insets/insetcaption.C:
3092 * insets/insetcollapsable.C:
3093 * insets/insetenv.C:
3094 * insets/insetert.C:
3095 * insets/insetfloat.C:
3096 * insets/insetfoot.C:
3097 * insets/insetfootlike.C:
3098 * insets/insetnewline.C:
3099 * insets/insetquotes.C:
3100 * insets/insettabular.C:
3101 * insets/insettext.C:
3102 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3104 * frontends/controllers/ControlChanges.C: #include "changes.h".
3106 2003-09-06 Angus Leeming <leeming@lyx.org>
3108 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3109 than #including paragraph.h.
3112 * RowList.h: deleted. Superfluous.
3122 * insets/insettext.h: use ParagraphList_fwd.h rather than
3125 * paragraph.h: don't forward declare ParagraphList.
3128 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3129 rather than ParagraphList.h. paragraph.h is still needed for the
3130 Paragraph::depth_type parameters.
3132 * textcursor.h: enable it to compile stand-alone in light of the
3135 * bufferview_funcs.C:
3147 * frontends/controllers/ControlParagraph.C:
3148 * frontends/controllers/ControlTabular.C:
3149 * insets/insetmarginal.C:
3150 * insets/insetminipage.C:
3151 * insets/insetnote.C:
3152 * insets/insetoptarg.C: add header files needed to compile again.
3154 2003-09-06 Angus Leeming <leeming@lyx.org>
3156 * RowList_fwd.h: new file, forward-declaring Row rather than
3157 #including lyxrow.h.
3162 * insets/insettext.h: use it instead of RowList.h
3164 * bufferview_funcs.C:
3171 * text3.C: #include "RowList.h".
3173 2003-09-05 Angus Leeming <leeming@lyx.org>
3175 * factory.C (createInset):
3176 * vspace.C (c-tor): replace sscanf call with an istringstream.
3177 * ispell.C: re-add missing HP/UX headers.
3178 * lyxserver.C: re-add missing os2 headers.
3180 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3189 * text3.C: re-add missing system headers, needed for 2.95.2.
3191 2003-09-05 Angus Leeming <leeming@lyx.org>
3193 Changes most place everywhere due to the removal of using directives
3194 from support/std_sstream.h.
3196 2003-09-05 Angus Leeming <leeming@lyx.org>
3198 Replace LString.h with support/std_string.h,
3199 Lsstream.h with support/std_sstream.h,
3200 support/LIstream.h with support/std_istream.h,
3201 support/LOstream.h with support/std_ostream.h.
3203 Changes resulting throughout the tree.
3205 2003-09-05 Angus Leeming <leeming@lyx.org>
3207 * sgml.h: ensure that the header file can be compiled stand-alone.
3208 * *.C: strip out redundant #includes. (320 in total.)
3210 2003-09-04 Angus Leeming <leeming@lyx.org>
3212 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3213 here (from getPackages).
3215 * debug.[Ch]: add a new EXTERNAL tag.
3217 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3219 * text2.C (cursorEnd): simplify
3221 (getColumnNearX): adjust
3223 * text.C (computeBidiTables): adjust
3226 * rowpainter.C (paintChars): adjust
3227 (paintSelection): adjust
3228 (paintChangeBar): adjust
3231 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3233 (numberOfSeparators): adjust
3235 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3241 * text3.C: Restricts the mouse click functionality
3242 of insets like bibtex, include, toc and floatlist to the visible
3243 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3244 up the dialogs. Cursor has to be in front of the inset (i.e.
3245 start of row) for this to function.
3247 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3249 * bufferview_funcs.C (currentState): output row information
3251 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3253 * bufferview_funcs.C (currentState): output paragraph position
3255 2003-09-04 Angus Leeming <leeming@lyx.org>
3257 * FloatList.h: move out #include "Floating.h".
3258 * LaTeX.h: move out #include "DepTable.h".
3259 * LyXAction.h: move out #include "funcrequest.h".
3260 * buffer.h: move out #include "author.h", "iterators.h".
3261 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3262 * lyx_main.h: move out #include "errorlist.h".
3263 * lyxfunc.h: move out #include "FuncStatus.h".
3264 * lyxtext: move out #include "lyxcursor.h".
3265 * paragraph_pimpl.h: move out #include "counters.h".
3267 2003-09-03 Angus Leeming <leeming@lyx.org>
3269 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3270 preamble_snippets list, enabling us to add snippets to the preamble
3271 only if the snippet was not there already.
3273 2003-09-04 Angus Leeming <leeming@lyx.org>
3275 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3277 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3279 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3282 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3284 * BranchList.C: point fix, earlier forgotten
3286 2003-09-02 Angus Leeming <leeming@lyx.org>
3288 * box.C (contains): renamed from 'contained' after a fantastic
3291 2003-09-02 John Levon <levon@movementarian.org>
3297 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3299 2003-09-02 John Levon <levon@movementarian.org>
3301 * text2.C: simplification of cursorEnd(), including partial
3304 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3306 * buffer.C (readFile): add a space
3308 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3310 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3312 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3314 * buffer.C (readFile): new function, take a filename and a
3315 ParagraphList::iterator
3317 (readFile): adjust, make it private. don't use setStream, make
3318 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3319 always contain the filename.
3321 * BufferView.C (insertLyXFile): simplify and make it work for
3324 2003-08-30 John Levon <levon@movementarian.org>
3326 * Makefile.am: fix dist (from Kayvan)
3328 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3330 * most files: change to use const Buffer refs
3332 2003-08-27 André Pönitz <poenitz@gmx.net>
3334 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3335 on top of ownerPar().
3337 2003-08-27 John Levon <levon@movementarian.org>
3339 * funcrequest.C: properly initialise POD members
3341 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3343 * lyxtext.h (top_y): move top_y from here
3348 * BufferView_pimpl.[Ch]: to here
3349 * frontends/screen.C:
3350 * insets/insettabular.C:
3351 * insets/insettext.C: adjust
3352 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3354 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3357 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3359 2003-08-26 André Pönitz <poenitz@gmx.net>
3361 * paragraph_func.[Ch] (outerPar): new function
3364 * paragraph_funcs.C:
3365 * paragraph_funcs.h:
3366 * paragraph_pimpl.C:
3367 * text2.C: remove Inset::par_owner
3369 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3374 * text2.C: eliminates the needFullRow/display() stuff
3375 altogether, putting the logic in metrics/draw in the insets.
3377 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3379 * text2.C (redoParagraphInternal, redoParagraphs):
3380 * text.C (redoParagraph): add a call to updateRowPositions at the
3381 end of each 'metrics-like' call. Remove all others.
3382 (getRow): remove the 'y-computing' version.
3383 (getRowNearY): do not compute nor return the real y. Solve the
3384 'y < 0' problem and simplify.
3386 2003-08-22 Angus Leeming <leeming@lyx.org>
3388 * *.[Ch]: clean-up of licence and author blurbs.
3389 Also move config.h out of a few .h files and into a few .C files.
3391 2003-08-22 André Pönitz <poenitz@gmx.net>
3393 * lyxrow.[Ch]: add x_ and *fill_ members
3398 * text2.C: adjust/remove prepareToPrint() calls
3400 2003-08-22 André Pönitz <poenitz@gmx.net>
3402 * lyxrow.[Ch]: add end_ member
3404 * lyxrow_funcs.C: use LyXRow::end_
3406 * lyxtext.h (singleWidth): add LyXFont parameter
3409 * text2.C: adjust LyXText::singleWidth() calls
3411 * text.C (redoParagraph): simplify row breaking logic
3414 2003-08-19 André Pönitz <poenitz@gmx.net>
3416 * funcrequest.C: initialize button_ member
3419 * rowpainter.[Ch]: interface consolidation
3421 2003-08-18 André Pönitz <poenitz@gmx.net>
3424 * BufferView_pimpl.C:
3426 * paragraph_funcs.C:
3428 * text3.C: remove LyXScreen::draw() and fitCursor calls
3430 * BranchList.h: remove spurious semicolons
3432 * MenuBackend.C: fix branchlist related crash
3434 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3442 * bufferparams.[Ch]:
3446 * text3.C: implements the 'branch inset'
3447 idea. This allows the output of various versions of a document
3448 from a single source version, selectively outputing or suppressing
3449 output of parts of the text.
3450 This implementation contains a 'branch list editor' in a separate
3451 tab of the document settings dialog. Branches are user definable
3452 and have a "display colour" to distinguish them on-screen.
3454 ColorHandler was somewhat cleaned up.
3455 (1) make possible a dynamically growing LColor list by allowing
3456 the graphic context cache to grow along (vector);
3457 (2) eliminate an IMHO unnecessary step in colour allocation.
3459 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3461 * BufferView_pimpl.C: compile fix
3463 2003-08-15 André Pönitz <poenitz@gmx.net>
3465 * rowpainter.C: remove extra metrics calls
3467 * lyxtext.h: merge the two constructors into a single one,
3468 pass reference to owner's par list
3470 * BufferView_pimpl.C:
3474 2003-08-15 André Pönitz <poenitz@gmx.net>
3476 * lyxrow_funcs.[Ch]:
3479 * paragraph_funcs.C:
3484 * text_funcs.C: split LyXText::rowlist_ into individual
3485 Paragraph::rows_ chunks
3488 * BufferView_pimpl.[Ch]:
3491 * text3.C: remove toggleSelection()
3493 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3495 * bufferlist.C: beautify two alerts (shorter text of buttons)
3496 * buffer.C: Remove redundant ' ' from message
3498 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3499 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3500 rename VALIGN_CENTER to VALIGN_MIDDLE
3502 2003-08-11 André Pönitz <poenitz@gmx.net>
3504 * lyxtext.h (getPar):
3505 * text.C: new function
3507 2003-08-11 André Pönitz <poenitz@gmx.net>
3510 * tracer.[Ch]: remove unneeded files
3512 * InsetList.[Ch]: remove resizeInsetsLyXText()
3517 * text3.C: merge insertParagraphs() and appendParagraph()
3518 remove breakAgain(), update()
3520 * BufferView_pimpl.[Ch]:
3521 * bufferview_funcs.[Ch]:
3525 * tabular.C: adjust after text & InsetList changes.
3527 2003-08-08 André Pönitz <poenitz@gmx.net>
3529 * text.C (insertChar, backspace): replace rowlist fiddling
3530 with rebreak of full par
3533 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3534 checkParagraph, updateInset): removed
3536 2003-08-07 André Pönitz <poenitz@gmx.net>
3539 * text3.C: merge some LFUN handlers, remove dead code
3541 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3543 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3545 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3547 * text2.C (DEPM): fix part of bug 1255 and 1256
3549 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3551 * BufferView_pimpl.C (workAreaDispatch): change to use
3552 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3553 that are no mouse related.
3555 2003-08-05 André Pönitz <poenitz@gmx.net>
3558 * BufferView_pimpl.[Ch]:
3559 * bufferview_funcs.C:
3561 * text3.C: rip out "deep update"
3563 * textcursor.[Ch] (last_sel_cursor): remove unused member
3565 2003-08-04 André Pönitz <poenitz@gmx.net>
3568 * BufferView_pimpl.[Ch]:
3569 * ParagraphParameters.C:
3570 * bufferview_funcs.C:
3576 * text3.C: replace "complicated" BufferView::update(...) calls with
3579 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3581 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3583 * Makefile.am (lyx_SOURCES): add paper.h
3585 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3587 * Makefile.am: move things around so that both lyx-qt and
3588 lyx-xforms can be built (according to --with-frontend). Then lyx
3589 is a symbolic link to lyx-[firstfrontend]
3591 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3593 * Always use std::endl with lyxerr
3595 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3597 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3599 2003-08-01 André Pönitz <poenitz@gmx.net>
3602 * BufferView_pimpl.[Ch]:
3604 * text3.C: merge BufferView::repaint() and BufferView::update()
3606 2003-08-01 José Matos <jamatos@lyx.org>
3608 * buffer.[Ch]: file_format is no longer a buffer data element.
3610 2003-08-01 André Pönitz <poenitz@gmx.net>
3615 * text2.C: make redoParagraph more independent of current cursor
3617 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3619 * text2.C: remove unneeded members
3621 2003-07-30 André Pönitz <poenitz@gmx.net>
3623 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3625 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3626 create a single function...
3628 * paragraph_funcs.C (moveItem): ... here.
3631 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3633 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3635 * LColor.[Ch]: Add comment and greyedout logical colors.
3637 2003-07-30 André Pönitz <poenitz@gmx.net>
3639 * tabular.C: don't use Assert too heavily. This crashes where it
3642 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3644 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3645 is disabled (bug 1232)
3647 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3649 * factory.C: limited 'arg' scope
3651 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3653 * factory.C: fixed Note submenu issues
3655 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3657 * factory.C: submenu for Note/Comment/Greyedout
3659 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3662 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3664 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3667 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3668 greyedout. Patch provided by Jürgen Spitzmüller.
3670 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3672 * kbmap.C (read): fix error message when reading bind files
3674 2003-07-29 Angus Leeming <leeming@lyx.org>
3676 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3677 certainly does not do what it purports to do. I am doing it, and
3678 us, a favour by killing it.
3680 2003-07-28 José Matos <jamatos@lyx.org>
3682 * buffer.C (readBody, do_writeFile):
3683 * paragraph.C(readParagraph): \end_document replaces \the_end.
3685 2003-07-29 André Pönitz <poenitz@gmx.net>
3688 * BufferView_pimpl.[Ch]:
3692 * textcursor.[Ch]: remove toggleToggle & Co
3694 2003-07-28 José Matos <jamatos@fep.up.pt>
3696 * buffer.C (readParagraph):
3697 * params_func (readParToken, readParagraph):
3698 * paragraph.C (write): \layout -> \begin_layout.
3700 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3702 * lyxlex_pimpl.C (setFile): clean up slightly.
3704 * bufferparams.h: add compressed var
3706 * buffer_funcs.C (readFile): adjust for LyXLex change
3707 (newFile): ditto + simplify
3709 * buffer.C (writeFile): handle writing of compressed files
3711 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3712 Check if the file is compressed and set a bufferparm if so.
3714 * Makefile.am (lyx_LDADD): remove explicit -lz
3716 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3718 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3719 makeDocBookFile): put the real LyX version in the first line of
3723 * version.C.in: remove lyx_docversion
3725 * tabular.C (write_attribute): add a template-based version to
3726 write enums properly
3728 2003-07-28 André Pönitz <poenitz@gmx.net>
3733 * text3.C: use doubles again for x-coordinates. They are needed.
3735 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3737 * messages.C (getLocaleDir): use lyx_localedir()
3739 * lyxlex_pimpl.C (setFile): compress stuff
3741 * buffer.C (writeFile): add some compression stuff
3742 (do_writeFile): new func, dont call expliti close... will this
3745 * Makefile.am (lyx_LDADD): add -lz
3747 2003-07-28 José Matos <jamatos@fep.up.pt>
3749 * buffer.C: increment file format.
3750 * paragraph_funcs (readParagraph, readParToken):
3751 * paragraph.C (readParagraph): add \end_layout.
3753 2003-07-27 Angus Leeming <leeming@lyx.org>
3755 * Makefile.am: remove special casing for configure-time setting of
3756 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3758 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3759 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3761 2003-07-26 André Pönitz <poenitz@gmx.net>
3763 * paragraph_func.[Ch]:
3764 * paragraph.C (realizeFont): inline it whereever it is used
3769 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3772 2003-07-26 André Pönitz <poenitz@gmx.net>
3776 * text2.C: get rid of LyXText::need_break_row
3778 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3780 * toc.[Ch]: put namespace toc inside namespace lyx
3782 * MenuBackend.C (expandToc2): adjust for lyx::toc
3785 * lyxfunc.C (dispatch): adjust for lyx::find
3787 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3788 lyx::find instead. Reorganize a bit.
3789 (LyXReplace): rename to replace
3790 (LyXFind): rename to find
3792 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3795 2003-07-26 André Pönitz <poenitz@gmx.net>
3797 * text.C (setHeightOfRow): restrict scope of temporary variable
3799 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3800 code (never has been used?)
3802 2003-07-27 Asger Alstrup <alstrup@local>
3804 * text.C (fill): Optimise algorithm to exploit that we can reuse
3805 the LyXFont for many characters.
3806 (setHeightOfRow): Same thing.
3807 (rowBreakPoint): Same thing.
3809 2003-07-26 Asger Alstrup <alstrup@local>
3811 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3813 * text.C (singleWidth): Spurious font copying in hot-spot
3814 singleWidth avoided. Reorder tests for arabic for efficiency.
3816 * text.C (fill): handle empty paragraphs better.
3818 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3821 * encoding.h: add includes
3823 * lyxrc.C: remove reading of bind files
3825 * lyx_main.C (init): setup bindings and menus only if we have a
3828 * kbmap.C (read): new method. Do the actual reading of bind
3831 * converter.C (dvipdfm_options):
3834 (output): adapt PAPER_* enums.
3836 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3838 * bufferparams.h: remove paper-related enums from there
3840 * paper.h: New file. A trivial header file to hold paper-related
3841 enums. It should later expand to contain many paper-related
3844 * lyxrc.C: declare extern displayTranslator
3846 2003-07-27 José Matos <jamatos@fep.up.pt>
3848 * tabular.[Ch] (linuxdoc): add support for tables and figures
3851 2003-07-27 José Matos <jamatos@fep.up.pt>
3853 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3854 consistency in both functions.
3855 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3857 2003-07-26 Asger Alstrup <alstrup@local>
3859 * rowpainter.C (paintRows): Change algorithm to work directly on
3860 the insets rather than asking every character in the document
3861 whether its an inset.
3863 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3865 * buffer.C (openFileWrite): factorize some code
3867 2003-07-26 Angus Leeming <leeming@lyx.org>
3870 * lyx_main.[Ch]: replace occurances of system_tempdir with
3873 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3875 * rename Inset to InsetOld
3877 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3879 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3880 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3881 which I think is a bit clearer. EDIT is gone, since it was
3882 premature optimisation, and broken for mathed anyway.
3883 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3884 with cursor positioning in insets as well (math insets still do not
3885 work, but that's a different story anyway.) It mysteriously
3886 crashes sometimes with undo in the first paragraph, but I'm fairly
3887 confident that this is a compiler bug.
3889 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3891 * paragraph.C (Paragraph): adjust for new clone return type
3893 (copyIntoMinibuffer): ditto
3895 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3897 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3898 by not having a special case, and always doing a full rebreak of
3899 the document after undo.
3901 2003-07-23 Angus Leeming <leeming@lyx.org>
3903 * factory.C (createInset): InsetExternal::setParams now takes a
3906 2003-07-23 Angus Leeming <leeming@lyx.org>
3908 * factory.C (createInset): changed interface to the external and
3909 graphics mailers' string2params functions.
3911 2003-07-23 Angus Leeming <leeming@lyx.org>
3913 * factory.C (createInset): pass a
3914 Buffer const * parameter to InsetExternalMailer's string2params.
3916 2003-07-22 John Levon <levon@movementarian.org>
3918 * Thesaurus.h: include the right aiksaurus header
3920 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3922 * MenuBackend.C (expand): check menu shortcuts unconditionally
3924 2003-07-21 Angus Leeming <leeming@lyx.org>
3926 * factory.C (createInset): pass a
3927 buffer_path parameter to InsetGraphicsMailer's string2params.
3929 2003-07-21 Angus Leeming <leeming@lyx.org>
3931 * BufferView_pimpl.C (buffer):
3934 * lyxfunc.C (dispatch):
3935 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3936 rather than the grfx shortcut.
3938 2003-07-21 André Pönitz <poenitz@gmx.net>
3940 * rowpainter.C: remove unused variables
3943 * tabular_funcs.h: move to tabular.C
3944 * Makefile.am: adjust
3946 * tabular.[Ch]: basic optical cleaning
3948 * author.h: pass references, not values
3950 2003-07-18 André Pönitz <poenitz@gmx.net>
3958 * text3.C: two-phase drawing for InsetText and InsetTabular
3959 some float -> int changes.
3961 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3963 * lyx_main.C: fix the fix
3965 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3967 * lyx_main.C: fix a crash in batch mode if no files specified
3970 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3972 * format.[Ch] (papersize): moved to BufferParams
3973 * converter.[Ch] (dvips_options): moved to BufferParams
3974 (dvipdfm_options): moved to anon namespace
3975 * bufferparams.[Ch]: added above functions.
3977 2003-07-17 André Pönitz <poenitz@gmx.net>
3981 * text2.C: don't call inset->update() anymore
3983 * metricsinfo.[Ch]: add convenience constructor
3985 2003-07-16 André Pönitz <poenitz@gmx.net>
3990 * text2.C: replace the LyXCursor::irow_ member with
3991 on-demand computation of the value
3993 2003-07-16 John Levon <levon@movementarian.org>
3995 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3997 2003-07-15 André Pönitz <poenitz@gmx.net>
4000 * text2.C: remove no more needed refresh_row
4002 2003-07-15 André Pönitz <poenitz@gmx.net>
4007 * text3.C: refresh_status tristate -> need_update bool
4009 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4011 * lyxtext.h (init): remove reinit argument (act as if always true)
4012 * text2.C: adjust to that
4014 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4016 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4017 * text3.C: use it to delete selections in some cases
4018 (bugs 441, 673, 702, 954).
4020 2003-07-14 André Pönitz <poenitz@gmx.net>
4022 * rowpainter.[Ch]: reduce interface
4024 2003-07-14 André Pönitz <poenitz@gmx.net>
4026 * BufferView_pimpl.C:
4027 * text2.C: adjust after removing unused BufferView * argument
4029 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4031 * text2.C (init): fix a crash fired on resize
4033 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4035 * buffer.[Ch]: added new closing signal
4036 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4037 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4038 BufferView::Pimpl via the closing the signal
4040 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4042 * buffer.[Ch]: take out all bv-related from buffer
4044 * BufferView_pimpl.[Ch]: connect to new signals
4045 * CutAndPaste.C: removed useless asserts
4046 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4049 * lyxfunc.C: moved view-related funciontality from vc here
4050 * paragraph.C: removed outdated comments
4053 2003-07-10 André Pönitz <poenitz@gmx.net>
4055 * BufferView_pimpl.C:
4059 * text2.C: remove InsetText::InnerCache, clean up consequences
4061 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4063 * ispell.C: fix two typos in error messages
4065 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4067 * Extend Note inset to other forms of annotation like Comment
4068 and Greyedout. Right button click gives dialog.
4070 Files modified or added (+):
4074 * ControlNote.[Ch] +
4076 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4077 frontends/controllers
4081 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4083 * aspell.C: add missing namespace lyx::support
4085 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4087 * BufferView.[Ch] (newFile): Add
4088 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4089 * LaTeX.[Ch] (message): added this signal and use it
4090 * buffer.[Ch] (busy, message): added these signals and use them
4091 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4095 * importer.C: use buffer signals instead of direct bv calling
4096 * lyx_cb.[Ch] (ShowMessage): removed
4099 * paragraph_funcs.C:
4100 * text2.C: use buffer signals
4102 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4104 * introduce namespace lyx::graphics
4106 2003-07-02 André Pönitz <poenitz@gmx.net>
4108 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4110 2003-07-01 André Pönitz <poenitz@gmx.net>
4117 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4118 text*.C to text_func.C
4120 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4122 * introduce namespace lyx::support
4124 2003-06-30 André Pönitz <poenitz@gmx.net>
4129 * text.C: re-enable --with-included-string
4131 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4133 * textcursor.C: add <config.h>
4135 * text.C (getWord): remove const from word_location arg
4137 * lyxvc.C (getLogFile): fix const type order
4139 * lyxtext.h: remove const from word_location arg, add arg name
4141 * lyxlayout.h: currect type on labeltype.
4143 * importer.C: correct \file
4145 * converter.C (intToFormat): use std:: on ret val, ws changes
4147 * bufferlist.h: correct \file
4149 * buffer.C (makeLinuxDocFile): fix const type order
4150 (makeDocBookFile): ditto
4151 (fillWithBibKeys): use std:: on stdlib args.
4153 * CutAndPaste.C: fix authors.
4154 (availableSelections): use std:: on return vector
4156 2003-06-27 André Pönitz <poenitz@gmx.net>
4158 * BufferView_pimpl.C:
4159 * bufferview_funcs.C:
4167 * text3.C: remove LyXCursor::row_ member
4170 * text.C: rename fullRebreak() to partialRebreak() and implement
4171 a fullRebreak() that really bereks fully
4173 * textcursor.h: new struct for cursor-related data
4175 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4177 * lyx_main.C (LyX): get full path of document loaded on the
4180 2003-06-26 André Pönitz <poenitz@gmx.net>
4182 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4183 remove unused/broken operator>,<,>=.
4185 * text.C: remove only use of broken operator<= in an Assert().
4187 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4189 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4190 moved errorlist_.clear to showErrorList
4192 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4194 * converter.C (scanLog, runLaTeX):
4195 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4196 move the bv->showErrorList call to the callers
4197 * lyxfunc.C: i.e. here...
4199 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4200 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4201 namespace, the second to...
4202 * buffer_funcs (BufferFormat, parseErrors): added
4203 * errorlist.C (ErrorList(TeXErrors const &)): removed
4205 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4207 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4209 2003-06-24 "Garst R. Reese" <reese@isn.net>
4213 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4215 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4217 * version.C.in: change docversion to 1.4
4219 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4221 * buffer.C: fix a bug just introduced
4223 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4225 * buffer.[Ch]: added the parseError signal and use it, removed
4227 * BufferView.[Ch] (addError): moved to ...
4228 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4229 to the Buffer::parseError signal to catch (guess what) parse errors
4230 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4232 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4234 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4235 ability to create a buffer and to return an existing one from
4236 the list. Moved these functions to...
4237 * buffer_funcs.[Ch]: added
4238 * BufferView.[Ch] (loadLyXFile): added
4239 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4240 job removed from bufferlist::loadLyXFile.
4241 * buffer.C (setReadOnly): make it work without view
4242 (i.e added an if (users))
4244 2003-06-19 Angus Leeming <leeming@lyx.org>
4247 * LyXAction.C (init):
4248 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4249 with LFUN_DIALOG_SHOW <name> <data>.
4251 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4253 * CutAndPaste.C (availableSelections): small compilation fix for
4254 ancient (gcc 2.9x) compilers
4256 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4258 * text3.C (cursorNext): add tmp var
4260 * text2.C (updateCounters): for function calling out of for clause
4261 (replaceSelectionWithString): ditto
4262 (insertStringAsParagraphs): ditto
4263 (getColumnNearX): add tmp var
4264 (setCursorFromCoordinates): add tmp var
4265 (cursorDownParagraph): add tmp var
4266 (deleteEmptyParagraphMechanism): add tmp var
4268 * text.C (insertChar): add tmp var
4270 * rowpainter.C (paintDepthBar): add tmp var
4272 * CutAndPaste.C (availableSelections): potentially check all
4273 paragraphs in a cut to fill the shown strings.
4275 2003-06-18 André Pönitz <poenitz@gmx.net>
4277 * kbmap.[Ch]: use vector<> instead of list<>
4279 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4281 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4282 pasteSelection with index
4284 * text2.C (pasteSelection): modify, call pasteSelection with index
4286 * paragraph.C (asString): reimplement version with no interval to
4287 call the one with interval.
4289 * lyxtext.h: add index arg to pasteSelection
4291 * MenuBackend.C (MenuItem): handle PasteRecent
4292 (Menu::read::Menutags): add md_pasterecent
4294 (expandPasteRecent): new function
4297 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4299 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4301 (availableSelections): new function
4303 2003-06-17 Angus Leeming <leeming@lyx.org>
4305 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4307 2003-06-17 Angus Leeming <leeming@lyx.org>
4310 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4312 * lyxfunc.C (dispatch): invoke it.
4314 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4316 * iterators.C (operator++, ParPosition): reintroduce some
4317 const_cast for the benefit of older compilers.
4319 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4321 * text3.C (dispatch): do not modify clipboard when doing
4322 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4323 LFUN_DELETE_SKIP on a selection selection
4325 2003-06-16 André Pönitz <poenitz@gmx.net>
4331 * tabular.[Ch]: IU of clone() and getLabelList();
4333 2003-06-13 André Pönitz <poenitz@gmx.net>
4335 * tabular.h: compactification
4337 2003-06-12 André Pönitz <poenitz@gmx.net>
4341 * tabular_funcs.h: some renaming plus whitespace
4343 2003-06-12 André Pönitz <poenitz@gmx.net>
4346 * BufferView_pimpl.C:
4352 * toc.C: Return a Paragraph & for ParIterator::operator*()
4354 2003-06-11 John Levon <levon@movementarian.org>
4358 * ToolbarBackend.C: add "Toolbars" section and
4361 2003-06-10 Angus Leeming <leeming@lyx.org>
4364 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4366 * lyxfunc.C (dispatch): invoke it.
4368 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4370 * main.C: protect <ios> with HAVE_IOS
4371 (main): protect sync_with_stdio with HAVE_IOS
4373 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4375 * text2.C (cutSelection): adjust
4376 (pasteSelection): adjust
4378 * messages.C: handle get of empty string
4380 * main.C (main): use sync_with_stdio(false)
4382 * lyxfunc.C (dispatch): adjust
4384 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4385 (WriteAs): remove unneeded BufferView arg.
4387 * bufferparams.h: use correct types on papersize, papersize2 and
4390 * bufferparams.C (readToken): adjust for type
4391 (writeLaTeX): add missing cases to switch.
4393 * bufferlist.C (quitWriteBuffer): adjust
4396 * buffer.C (asciiParagraph): remove some commented code.
4398 * CutAndPaste.C: remove current_view extern variable.
4399 (cutSelection): add BufferParams arg.
4400 (eraseSelection): add BufferParams arg.
4401 (pasteSelection): add Buffer const & arg
4403 2003-06-07 John Levon <levon@movementarian.org>
4406 * paragraph_funcs.C:
4407 * paragraph_pimpl.C:
4411 * paragraph.C: allow InsetERT to freely space lines,
4412 and some consolidation of code
4414 2003-06-06 José Matos <jamatos@fep.up.pt>
4416 * buffer.C (makeDocBookFile): fix bug #821
4418 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4420 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4422 2003-06-04 Angus Leeming <leeming@lyx.org>
4424 * buffer.C: bump format to 224.
4426 2003-06-05 André Pönitz <poenitz@gmx.net>
4428 * text2.C (redoParagraphs): remove two const_cast<>
4430 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4432 * ParagraphList.h: remove last remnants of NO_STD_LIST
4434 2003-06-03 Angus Leeming <leeming@lyx.org>
4436 * factory.C (createInset): small change to the way InsetExternal's params
4439 2003-06-04 André Pönitz <poenitz@gmx.net>
4441 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4443 * paragraph_pimpl.h:
4444 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4446 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4448 * undo_funcs.C: make some simple cases of undo work again
4450 2003-06-03 John Levon <levon@movementarian.org>
4452 * ispell.C: HPUX doesn't have sys/select.h
4455 2003-06-03 John Levon <levon@movementarian.org>
4457 * CutAndPaste.C: update tabular and include inset
4462 * paragraph.C: remove owningBuffer(), don't pass Buffer
4465 * factory.C: insetGraphicsParams changed
4467 2003-06-02 John Levon <levon@movementarian.org>
4473 * text3.C: remove insetparent
4475 2003-06-02 John Levon <levon@movementarian.org>
4478 * buffer.C: fix inset_iterator.end(), move out of line
4481 2003-06-01 John Levon <levon@movementarian.org>
4483 * text3.C: use a proper cut/paste when doing inset
4484 insert (from Jürgen Spitzmüller)
4486 2003-06-01 John Levon <levon@movementarian.org>
4488 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4490 2003-05-30 André Pönitz <poenitz@gmx.net>
4492 * rowpainter.C: unify second drawing phase
4494 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4496 * trans_mgr.C: remove one case of current_view
4498 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4500 * paragraph_funcs.h: remove paragraph.h include
4502 * paragraph.h: delete NO_STD_LIST stuff
4504 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4506 * buffer.h: remove paragraph.h include
4508 * ParagraphList.C: delete file
4510 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4512 * toc.C (getTocList): adjust
4514 * paragraph_pimpl.C (validate): adjust
4516 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4518 * paragraph.C (Paragraph): adjust
4519 (getPositionOfInset): use const_iterator, adjust
4520 (bibitem): use const_iterator, adjust
4521 (setInsetOwner): adjust
4523 * iterators.C (operator++): adjust
4525 * InsetList.[Ch]: Replace selfmade iterator with standard
4526 vector::iterator also introduce const_iterator. Remove getPos,
4527 getInset and setInset from InsetTable. Adjust accordingly.
4529 * BufferView.C (lockInset): adjust
4530 (ChangeInsets): adjust
4532 * tabular.[Ch]: delete commented same_id functions
4534 2003-05-28 John Levon <levon@movementarian.org>
4536 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4538 2003-05-28 André Pönitz <poenitz@gmx.net>
4540 * metricsinfo.[Ch]: remove 'fullredraw' member
4542 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4544 * lyxtextclass.C (operator): remove caching.
4546 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4550 * text2.C (cursorBottom): adjust
4551 (setCounter): use ParagraphList::find, adjust
4553 * text.C (workWidth): use ParagraphList::find, adjust
4555 * lyxcursor.C (LyXCursor): adjust
4557 * buffer.C (inset_iterator): adjust
4559 * ParagraphList.h: make iterator(value_type) private, make
4560 ParagraphList a friend of iterator.
4562 * ParagraphList.C (find): new function
4564 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4566 2003-05-27 André Pönitz <poenitz@gmx.net>
4568 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4570 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4572 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4574 2003-05-26 John Levon <levon@movementarian.org>
4576 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4578 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4580 * remove same_id from function signatures, adjust.
4582 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4584 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4586 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4588 * paragraph.C (Paragraph): get rid of same_ids parameter
4590 * ParagraphList.C (insert): adjust
4593 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4595 * paragraph_funcs.C (breakParagraph): adjust
4596 (breakParagraphConservative): adjust
4598 * buffer.C (readParagraph): adjust
4600 * ParagraphList.C (insert): take a reference instead of a pointer
4603 * paragraph.[Ch] (id): new function
4605 * bufferlist.C (newFile): adjust
4607 * ParagraphList.C (ParagraphList): adjust
4609 (push_back): take a reference instead of a pointer.
4611 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4613 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4616 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4617 set else use old code.
4619 * ParagraphList.C: remove all NO_NEXT code and only compile this
4620 code of NO_STD_LIST is set.
4622 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4624 * BufferView_pimpl.C:
4634 * graphics/GraphicsConverter.C:
4635 * graphics/PreviewLoader.C: header adjustment
4637 2003-05-23 Angus Leeming <leeming@lyx.org>
4639 * LaTeXFeatures.[Ch] (useBabel): new method.
4640 * bufferparams.C (writeLaTeX): use it.
4642 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4644 * ParagraphList.h (set): remove unused function.
4646 2003-05-23 André Pönitz <poenitz@gmx.net>
4649 * BufferView_pimpl.C:
4653 * undo_funcs.C: setUndo reworked
4655 * iterators.[Ch]: add access to topmost ParagraphList
4657 * lyxtext.[Ch] (workWidth): add a const
4659 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4661 * texrow.[Ch] (increasePos): remove function
4662 * exporter.C (export): removed unused var and outdated comment
4664 2003-05-23 Angus Leeming <leeming@lyx.org>
4666 * latexrunparams.h: rename fragile as moving_arg.
4667 * paragraph.C (simpleTeXOnePar): ditto.
4668 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4670 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4672 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4674 (textUndoOrRedo): comment out a currently unused var.
4676 * paragraph.h (NO_NEXT): enable NO_NEXT
4678 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4680 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4682 * exporter.C (Export): adjust for removeAutoInsets removal.
4684 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4686 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4688 * BufferView.[Ch] (removeAutoInsets): delete function
4690 2003-05-22 Angus Leeming <leeming@lyx.org>
4692 * latexrunparams.h: add a free_spacing variable.
4694 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4695 to pass moving_arg, as the data is stored in runparams.fragile.
4697 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4698 to Inset::latexOptional or to simpleTeXOnePar.
4700 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4701 free_spacing arg to Inset::latexOptional.
4703 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4706 2003-05-22 Angus Leeming <leeming@lyx.org>
4708 * latexrunparams.h: add fragile and use_babel variables.
4710 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4711 * buffer.C (makeLaTeXFile): store this returned value in
4712 runparams.use_babel, thus passing it to the inset::latex methods.
4714 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4715 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4717 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4718 longer has a fragile arg, as it is stored in runparams.fragile.
4720 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4721 moving_arg parameter as the data is stored in runparams.fragile.
4723 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4724 a fragile parameter as the data is stored in runparams.fragile.
4726 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4728 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4730 2003-05-22 Angus Leeming <leeming@lyx.org>
4732 * latexrunparams.h: add a 'bool nice' which defaults to false.
4734 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4735 now encapsulated within runparams.
4737 * bufferlist.C (updateIncludedTeXfiles):
4738 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4740 2003-05-22 Angus Leeming <leeming@lyx.org>
4742 * latexrunparams.h: new file containing struct LatexRunParams.
4743 * Makefile.am: add new file.
4745 * LaTeX.[Ch] (c-tor, run):
4746 * buffer.[Ch] (makeLaTeXFile):
4747 * bufferlist.[Ch] (updateIncludedTeXfiles):
4748 * converter.C (convert, scanLog):
4749 * converter.[Ch] (runLaTeX):
4750 * exporter.C (Export):
4751 * paragraph.[Ch] (simpleTeXOnePar):
4752 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4753 * paragraph_funcs.[Ch] (latexParagraphs):
4754 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4755 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4756 pass around a LatexRunParams parameter.
4758 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4760 * paragraph.[Ch]: remove unused constructor
4762 * ParagraphList.C (erase): new function, taking two iterators
4764 2003-05-22 André Pönitz <poenitz@gmx.net>
4766 * undo_funcs.C: remove duplicated code
4768 * iterator.[Ch]: operator=
4770 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4772 * tabular.C (SetMultiColumn): ws changes
4774 * rowpainter.C (paintFirst): get rid of a ->previous
4776 * lyx_cb.C (getPossibleLabel): parlist simplification
4778 * BufferView.C (ChangeInsets): simplify slightly.
4780 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4782 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4783 * lfuns.h: new LFUN_SPACE
4784 * lyxfunc.C: protected space has a new lfun
4785 * paragraph_funcs.C: read new space insets
4787 * factory.C: handle new space insets
4789 2003-05-22 André Pönitz <poenitz@gmx.net>
4792 * BufferView_pimpl.C:
4795 * undo_funcs.C: return a ParIterator from getParFromID.
4797 * iterators.[Ch]: add two const's
4799 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4801 * toc.C (getTocList): adjust
4803 * iterators.[Ch]: rework for parlist
4805 * buffer.C (par_iterator_begin): adjust
4806 (par_iterator_end): adjust
4808 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4810 * BufferView.C (removeAutoInsets): adjust
4811 (ChangeInsets): adjust
4813 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4815 * text.C (top_y): fix bug 1110
4817 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4819 * errorlist.[Ch]: added
4822 * BufferView_pimpl.C:
4823 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4826 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4828 * Makefile.am: ensure that lyx is relinked upon changes to the
4829 various "convenience" libs.
4831 2003-05-20 Angus Leeming <leeming@lyx.org>
4833 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4834 files are compiled in alphabetical order again.
4836 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4838 2003-05-19 Angus Leeming <leeming@lyx.org>
4840 * gettext.[Ch]: remove "char const * _(char const *)".
4842 2003-05-19 André Pönitz <poenitz@gmx.net>
4844 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4853 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4855 2003-05-19 André Pönitz <poenitz@gmx.net>
4859 * lyxtextclass.[Ch]:
4861 * paragraph_funcs.[Ch]:
4863 * text3.C: more insetenv work
4865 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4867 * ParagraphParameters.C (params2string): small bug fixed
4869 2003-05-16 André Pönitz <poenitz@gmx.net>
4872 * bufferview_funcs.C: patch from Kornel Benko to prevent
4873 crash when _(...) is called twice in a statement
4875 2003-05-16 André Pönitz <poenitz@gmx.net>
4882 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4884 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4886 * lyx_main.C (init): remove spurious static_cast
4888 2003-05-14 André Pönitz <poenitz@gmx.net>
4890 * BufferView.C: fix format string
4892 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4894 * BufferView.[Ch] (insertErrors): removed
4895 * BufferView.[Ch] (showErrorList): added
4896 * buffer.C (runChkTeX):
4897 * converter.C (scanLog): call showErrorList instead of inserterrors
4899 2003-05-13 André Pönitz <poenitz@gmx.net>
4901 * BufferView_pimpl.C:
4903 * bufferview_func.C:
4910 * tabular_funcs.h: tostr() from its own header
4912 * ParagraphParameters.C:
4917 * text3.C: STRCONV()
4919 2003-05-12 André Pönitz <poenitz@gmx.net>
4922 * BufferView_pimpl.C:
4926 * ParagraphParameters.C:
4930 * bufferview_funcs.C:
4943 * paragraph_funcs.C:
4947 * text3.C: boost::format -> bformat all over the place
4950 2003-05-09 André Pönitz <poenitz@gmx.net>
4952 * LColor.[Ch]: Pimpl the #include <map> away
4954 2003-05-09 John Levon <levon@movementarian.org>
4956 * bufferlist.C: never remove emergency saves
4958 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4960 * Makefile.am: better lib building
4962 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4964 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4966 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4967 (simpleTeXSpecialChars): adjust
4968 (simpleTeXSpecialChars): adjust
4969 * paragraph.C (simpleTeXOnePar): adjust
4970 * buffer.C (makeLaTeXFile): adjust
4972 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4974 * text2.C (changeDepth): parlist cleanup
4975 (getColumnNearX): ditto
4977 * rowpainter.C (getLabelFont): parlist cleanup
4979 * bufferlist.C (newFile): parlist cleanup
4981 * CutAndPaste.C (eraseSelection): parlist cleanup
4983 * BufferView_pimpl.C (trackChanges): parlist cleanup
4986 * BufferView.C (lockInset): parlist cleanup.
4987 (ChangeInsets): ditto
4989 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4991 * CutAndPaste.h: Update file header.
4993 * CutAndPaste.C: Update file header.
4994 Store the parts cut out of the Document in a limited_stack.
4995 (copySelection): adjust
4996 (pasteSelection): new function, takes the index in the limited stack.
4997 (nrOfParagraphs): adjust
4998 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4999 simplify error inset insertion.
5000 (checkPastePossible): adjust
5002 2003-05-06 John Levon <levon@movementarian.org>
5004 * text2.C: don't cast wrap inset to float
5006 2003-05-05 André Pönitz <poenitz@gmx.net>
5009 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5011 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5012 few naked Paragraph *.
5014 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5016 * bufferparams.C: Output warning if a document with missing
5017 TeX document class is loaded
5018 * exporter.C: Disable TeX exports if the document class is missing
5021 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5022 isTeXClassAvailable()
5024 2003-05-03 John Levon <levon@movementarian.org>
5027 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5028 explicit cursor show/hide
5030 * BufferView_pimpl.h:
5031 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5032 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5034 * lyxfunc.C: hide cursor before dispatching.
5039 * text3.C: remove explicit cursor hides
5041 2003-05-02 André Pönitz <poenitz@gmx.net>
5043 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5046 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5049 * text2.C: tiny whitespace
5051 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5053 * undo_funcs.C: almost only ws changes.
5055 * ParagraphList.C (splice): just return if pl is empty.
5057 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5059 * ParagraphList.C (splice): new function.
5061 * CutAndPaste.C (pasteSelection): use it
5063 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5065 * CutAndPaste.C (pasteSelection): remove the last next and
5066 previous from this file.
5068 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5070 * CutAndPaste.C (pasteSelection): more clean up, user proper
5071 ParagraphList functions for pasteing.
5073 * ParagraphList.C (insert): new function, three arg insert
5075 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5077 * ParagraphList.C (insert): new function, three arg insert
5079 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5082 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5084 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5086 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5088 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5090 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5092 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5093 (copySelection): clean up a bit.
5094 (pasteSelection): use make_pair
5096 * ParagraphList.C (ParagraphList): implement copy constructor
5097 (operator=): implement, base on copy constructor.
5100 * paragraph.C (erase): return a bool
5102 * paragraph_pimpl.C (erasePos): remove function, move contents...
5103 (erase): ... here. Return a bool.
5104 (erase): call erase instead of erasePos.
5106 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5108 * ParagraphList.h: define PitPosPair
5109 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5110 ParagraphList, fix a bug on pasting multiple pars
5111 * text2.C: change interface to C&P
5113 2003-04-30 André Pönitz <poenitz@gmx.net>
5115 * undo_func.C: revert part of yesterday's patch 2
5117 2003-04-30 John Levon <levon@movementarian.org>
5119 * LColor.C: s/tabular/table/
5121 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5123 * text3.C (dispatch): do not convert iterator -> pointer
5124 * undo_funcs.C (setCursorParUndo): ditto
5125 * text_funcs.C (transposeChars): ditto
5127 * text2.C (setLayout): ws changes only
5129 * text.C (breakParagraph): do not convert iterator -> pointer
5131 (acceptChange): ditto
5132 (rejectChange): ditto
5137 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5140 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5142 * text3.C (gotoInset): YABG (yet another bad getChar)
5144 2003-04-29 André Pönitz <poenitz@gmx.net>
5146 * paragraph.h: make operator= private unimplemented as long as
5149 * ParagraphList.C: whitespace
5152 * paragraph_pimpl.[Ch]:
5153 * paragraph_funcs.C:
5155 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5158 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5160 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5162 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5163 * paragraph.[Ch] (erase):
5164 * paragraph_pimpl.[Ch] (erase): change return type and value
5165 * text2.C (cutSelection): some rework
5167 2003-04-28 John Levon <levon@movementarian.org>
5169 * bufferlist.C: changes for unsaved changes dialog
5171 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5173 * bufferlist.C (newFile): set language (messages_) for new
5176 * buffer.C (readFile): ws changes only.
5178 2003-04-28 André Pönitz <poenitz@gmx.net>
5183 * BufferView_pimpl.C:
5184 * BufferView.C: getParFromID related ParagraphList::iterator changes
5186 2003-04-28 André Pönitz <poenitz@gmx.net>
5188 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5191 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5193 * messages.C: remove one more localedir class variable.
5195 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5197 * messages.C (getLocaleDir): singleton generation function
5199 (Messages): add a default constructor.
5201 * main.C (main): do not setup localedir here, do not call
5204 * gettext.C (_): use it.
5205 (gettext_init): delete funciton
5207 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5209 * gettext.C (getLyXMessages): new singleton generating function.
5211 * buffer.C (updateDocLang): adjust
5213 * Makefile.am (messages.o): add target
5214 (main.o): remove target
5216 2003-04-27 John Levon <levon@movementarian.org>
5221 * lyxvc.C: specify cancel button in Alert::prompt
5223 2003-04-26 John Levon <levon@movementarian.org>
5228 * LyXAction.C: add LFUN_INSET_SETTINGS
5230 * lyxfunc.C: don't enable tabular-feature when there's
5231 just any locking inset
5233 2003-04-26 John Levon <levon@movementarian.org>
5235 * bufferlist.C: re-add Cancel to buffer close question
5237 * lyxfunc.C: fix import UI a bit
5239 2003-04-25 John Levon <levon@movementarian.org>
5241 * gettext.C: remove the broken asserts for now
5243 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5245 * messages.C: make case where setlocale cannot comply work better.
5247 * buffer.C (updateDocLang): new function
5248 (changeLanguage): use it
5251 * text2.C (setCounter): use B_ a bit.
5253 * lyxlayout.C (Read): be sure to trim the label strings.
5255 * messages.C (Messages): fix typo in comment
5257 * buffer.C (readFile): set message_ after file is loaded.
5258 (makeDocBookFile): remove double return
5259 (changeLanguage): reset message_ upon language change.
5260 (B_): new func, use this to get translated buffer strings.
5262 * main.C: add myself and Jean Marc as authors.
5264 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5266 * messages.[hC]: pimplify Messages, and three different pimpls to be
5267 used in different circumstances.
5269 * gettext.[Ch]: change for use with new message code.
5271 2003-04-24 André Pönitz <poenitz@gmx.net>
5273 * factory.C: support for eqref
5275 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5277 * messages.[Ch]: add missing char
5279 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5281 * messages.[Ch]: New files
5283 2003-04-18 John Levon <levon@movementarian.org>
5287 * BufferView_pimpl.C:
5291 * text2.C: remove layout-copy/paste (bug 778)
5293 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5295 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5297 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5299 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5300 if they succeed. Act accordingly.
5302 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5304 * text2.C (setCharFont): adjust
5305 (setCounter): adjust
5306 (insertStringAsLines): adjust
5308 * text.C (leftMargin): adjust
5309 (setHeightOfRow): adjust
5311 * rowpainter.C (paintFirst): adjust
5314 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5316 (isFirstInSequence): ditto
5317 (getEndLabel): ditto
5320 * paragraph.C (getParLanguage): comment out some hard stuff.
5322 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5324 (simpleDocBookOnePar): ditto
5325 (makeDocBookFile): use ParagraphList::iterator
5327 * CutAndPaste.C (pasteSelection): adjust
5329 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5331 * text2.C (getFont): adjust
5332 (getLayoutFont): adjust
5333 (getLabelFont): adjust
5335 * paragraph_funcs.C (TeXOnePar): adjust
5337 * buffer.C (simpleLinuxDocOnePar): adjust
5338 (simpleDocBookOnePar): adjust
5340 * CutAndPaste.C (pasteSelection): adjust
5342 * BufferView.C (getEncoding): adjust
5344 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5346 2003-04-16 John Levon <levon@movementarian.org>
5348 * lyxfind.C: use parlist stuff for search/changes
5350 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5352 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5354 * text2.C (deleteEmptyParagraphMechanism): adjust
5356 * text2.[Ch] (ownerParagraph): delete func (both of them
5358 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5360 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5362 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5364 * ParagraphList.C: prepare for NO_NEXT
5366 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5368 * text2.C (getFont): adjust
5369 (getLayoutFont): adjust
5370 (getLabelFont): adjust
5372 * paragraph.C (getFont): adjust
5373 (getLabelFont): adjust
5374 (getLayoutFont): adjust
5376 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5378 2003-04-15 John Levon <levon@movementarian.org>
5382 * lyx_main.C: handle Include in .ui files
5384 2003-04-15 John Levon <levon@movementarian.org>
5386 * MenuBackend.C: make the doc files length shorter
5389 * ToolbarBackend.C: handle toolbar placement flags,
5392 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5394 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5397 * paragraph_funcs.C (TeXOnePar): adjust
5399 * paragraph.C (getLabelFont): add outerfont arg, adjust
5400 (getLayoutFont): ditto
5401 (simpleTeXOnePar): adjust
5403 * paragraph_pimpl.C (realizeFont): delete func
5405 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5407 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5408 row argument, constify cur argument.
5410 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5412 * text2.C (getFont): adjust
5413 (getLayoutFont): adjust
5414 (getLabelFont): adjust
5416 * paragraph_funcs.C (TeXOnePar): adjust
5417 (outerFont): new func...
5418 (realizeFont): ...moved out from here, changed this to facilitate
5421 * paragraph.C (getFont): take outerfont as arg, adjust
5422 (simpleTeXOnePar): add outerfont arg, adjust
5424 * buffer.C (simpleLinuxDocOnePar): adjust
5425 (simpleDocBookOnePar): adjust
5427 * CutAndPaste.C (pasteSelection): adjust
5429 * BufferView.C (getEncoding): adjust
5431 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5433 * text2.C (setCharFont): adjust
5434 (setCounter): adjust
5436 * text.C (leftMargin): adjust
5437 (setHeightOfRow): adjust
5439 * rowpainter.C (paintFirst): adjust
5442 * paragraph_pimpl.C (realizeFont): adjust
5444 * paragraph.C (isFirstInSequence): move from here...
5445 * paragraph_funcs.C (isFirstInSequence): ...to here
5447 * paragraph.C (outerHook): move from here...
5448 * paragraph_funcs.C (outerHook): ...to here
5450 * paragraph.C (depthHook): move from here...
5451 * paragraph_funcs.C (depthHook): ...to here
5453 * paragraph.C (getEndLabel): move from here...
5454 * paragraph_funcs.C (getEndLabel): ...to here
5456 * text2.C (realizeFont): move from here...
5457 * paragraph_funcs.C (realizeFont): ...to here
5459 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5461 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5463 2003-04-14 Angus Leeming <leeming@lyx.org>
5465 * LColor.[Ch]: scrap LColor mathcursor.
5467 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5469 * lyxlex.[Ch] (text): delete function
5470 * trans.C (Load): adjust
5471 * paragraph_funcs.C (readParToken): adjust
5473 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5475 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5476 vector<char> instead of a char[].
5478 * lyxlex_pimpl.C (getString): adjust
5480 (lex): use getString
5484 * lyxlex.C (text): use pimpl_->getString()
5488 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5490 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5491 (makeFontEntriesLayoutSpecific): temp var for par.size()
5492 (setLayout): temp var for ownerParagraphs().end()
5493 (fullRebreak): temp var for rows().end()
5494 (selectionAsString): temp var for boost::next(startpit), realize
5495 that the while really is a regular for loop.
5496 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5497 setCursor in one place.
5498 (setParagraph): temp vr for ownerParagraphs().end()
5499 (updateCounters): make the while loop a for loop
5500 (cutSelection): temp var for ownerParagraphs().end()
5501 (updateInset): make the do {} while() a regular for loop
5502 (getCursorX): use temp vars
5503 (setCurrentFont): use temp vars
5504 (getColumnNearX): use temp vars
5506 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5508 * text.C (transformChar): use temp var for getChar
5509 (computeBidiTables): use temp var for row->par()
5510 (fill): move temp vars for row->par() and pit->layout() earlier in
5512 (labelFill): use temp var for row->par()
5513 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5514 asc and desc, realize that pit never changes and that firstpit is
5515 just a duplicate and not needed. Exchange rit->par() with pit in a
5517 (breakAgain): use a temp var for boost::next(rit)
5518 (breakAgainOneRow): ditto
5519 (breakParagraph): use a temp var for rows().begin()
5520 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5521 (cursorRightOneWord): use temp var for cursor.par() and
5522 cursor.pos(), remove usage of tmpcursor.
5523 (cursorLeftOneWord): use temp var for cursor.par() and
5524 cursor.pos() only set cur at end of function.
5526 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5528 * text.C, text2.C: exchange all usage of Paragraph::next with
5529 boost::next(ParagraphList::iterator)
5531 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5533 * text2.C (cursorTop): simplify implementation
5534 (cursorBottom): ditto
5535 (setParagraph): use ParagraphList::iterator
5536 (setCurrentFont): adjust
5537 (getColumnNearX): adjust
5538 (cursorRight): adjust
5539 (cursorLeft): remove usage of Paragraph::previous
5540 (cursorUpParagraph): ditto
5541 (deleteEmptyParagraphMechanism): slight cleanup
5543 * text.C (isBoundary): take a Paragraph const & instead of a
5545 (addressBreakPoint): ditto
5546 (leftMargin): remove usage of Paragraph::previous.
5547 (setHeightOfRow): ditto
5548 (cursorLeftOneWord): ditto
5549 (selectNextWordToSpellcheck): ditto
5552 (breakParagraph): remove one usage of Paragraph::next
5553 (redoParagraph): ditto
5554 (acceptChange): ditto
5555 (insertChar): adjust
5556 (rowBreakPoint): adjust
5558 * bufferview_funcs.C (toggleAndShow): adjust
5560 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5562 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5563 methods to access it.
5565 * text.C: Added updateRowPositions to compute all row positions.
5566 Make top_y and getRowNearY() to use the cached y position
5568 2003-04-11 John Levon <levon@movementarian.org>
5570 * text.C (rowBreakPoint): reintroduce the labelEnd
5571 checks, code copied from the row fill stuff. Deep voodoo.
5573 * text.C (fill): add a comment and debugging for the
5576 2003-04-11 John Levon <levon@movementarian.org>
5578 * text.C: make sure fullrow insets get wrapped to the next line,
5579 even when they're in a manual label
5581 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5583 * text2.C (insertParagraph): make it take ParagraphList::iterator
5585 (setLayout): make it return ParagraphList::iterator
5586 (redoParagraphs): ditto
5588 (checkParagraph): ditto
5590 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5592 * text2.C: adjust several funcs.
5593 (realizeFont): take a ParagraphList::iterator as arg.
5594 (getLayoutFont): ditto
5595 (getLabelFont): ditto
5596 (setCharFont): ditto
5598 * text.C: adjust several funcs.
5600 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5602 * text.C (selectNextWordToSpellcheck): don't accidentally
5605 2003-04-10 John Levon <levon@movementarian.org>
5607 * ToolbarBackend.C (getIcon): special handling for
5610 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5612 * text2.C (cursorRight): a getChar assert fixed
5614 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5616 * text2.C (getFont): change to take a ParagraphList::iterator
5617 instead of Paragraph*
5618 Adjust several functions.
5620 * text.C (transformChar): change to take a ParagraphList::iterator
5621 instead of Paragraph*
5622 (singleWidth): ditto
5623 Adjust several functions.
5625 * rowpainter.C: adjust several functions
5626 * rowpainter.h:store a ParagraphList::iterator and not a
5630 2003-04-09 John Levon <levon@movementarian.org>
5635 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5636 and the "help" bits as well
5638 2003-04-09 John Levon <levon@movementarian.org>
5641 * ToolbarBackend.C: allow multiple toolbars
5643 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5645 * undo_funcs.C (setCursorParUndo): adjust
5647 * text_funcs.C (transposeChars): adjust
5649 * text3.C (gotoNextInset): adjust
5652 * text2.C (setLayout): adjust
5653 (changeDepth): adjust
5655 (redoParagraphs): adjust
5656 (selectionAsString): adjust
5657 (setParagraph): adjust
5658 (insertInset): adjust
5659 (cutSelection): adjust
5660 (copySelection): adjust
5661 (pasteSelection): adjust
5662 (insertStringAsLines): adjust
5663 (updateInset): adjust
5664 (setCursor): change to take a ParagraphList::iterator parameter
5665 (setCursorIntern): change to take a ParagraphList::iterator parameter
5666 (setCurrentFont): adjust
5667 (cursorLeft): adjust
5668 (cursorRight): adjust
5669 (deleteEmptyParagraphMechanism): adjust
5671 * text.C (breakParagraph): adjust
5672 (insertChar): adjust
5673 (acceptChange): adjust
5674 (rejectChange): adjust
5675 (selectNextWordToSpellcheck): adjust
5676 (changeCase): adjust
5680 * lyxfind.C (SearchForward): adjust
5681 (SearchBackward): adjust
5682 (nextChange): adjust
5684 * lyxcursor.C (par): adjust
5686 * lyxcursor.h: store a ParagraphList::iterator instead of a
5689 * lyx_cb.C (getPossibleLabel): adjust
5691 * bufferview_funcs.C (toggleAndShow): adjust
5693 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5696 * BufferView.C (removeAutoInsets): adjust
5697 (lockedInsetStoreUndo): adjust
5699 2003-04-09 John Levon <levon@movementarian.org>
5701 * ToolbarBackend.C: try icon without argument
5702 if with argument fails
5704 2003-04-08 John Levon <levon@movementarian.org>
5707 * ToolbarBackend.C: add getIcon(), handle tooltip,
5708 and change from "Icon" to "Item".
5710 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5712 * BufferView.C (lockInset): another bad getchar crunched
5714 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5716 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5719 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5721 * lyxfind.C (searchForward, searchBackwards): bug 782
5723 2003-04-07 John Levon <levon@movementarian.org>
5725 * paragraph.C: remove dead comment
5727 * text.C: remove troublesome depth-fiddling code
5728 in leftMargin() and rightMargin() (bug 1017)
5730 * text.C: fix breaking of rows in nested lists
5733 * text2.C (updateCounters): fix up depth values
5736 2003-04-07 John Levon <levon@movementarian.org>
5738 * BufferView_pimpl.C: clear message when doc finishes resizing,
5739 and after a mouse event
5741 * lyxfunc.C: clear message after exiting inset
5743 2003-04-07 John Levon <levon@movementarian.org>
5745 * bufferview_funcs.C: show math status not outside
5746 status in the statusbar
5748 2003-04-07 John Levon <levon@movementarian.org>
5750 * lyxfunc.C: note status changed after a depth change
5752 2003-04-04 Angus Leeming <leeming@lyx.org>
5754 * LaTeX.h: move AuxInfo operator==, != out of line.
5755 Remove LaTeX virtual destructor; nothing derives from it.
5756 Move operator()() out of public area and rename it startscript().
5757 Change protected for private.
5759 2003-04-04 Angus Leeming <leeming@lyx.org>
5762 * text2.C: remove unneeded #includes.
5764 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5766 * text2.C (dEPM): fix the heigth of the next row
5768 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5770 * text.C: squashed an invalid getChar requester + some ws changes
5772 2003-04-03 John Levon <levon@movementarian.org>
5774 * bufferview_funcs.h:
5775 * bufferview_funcs.C:
5778 * text2.C: make getStatus work for the env depth lfuns
5780 2003-04-03 John Levon <levon@movementarian.org>
5782 * bufferview_funcs.h:
5783 * bufferview_funcs.C:
5786 * text2.C: parlistize decDepth(), by merging it with incDepth()
5788 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5790 * lyxrow.h: store a ParagraphList::iterator instead of a
5791 Paragraph* and adjust other class functions to suit.
5793 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5796 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5798 * text2.C (setCursor): do not anchor to cursor row for the time being
5800 2003-04-02 John Levon <levon@movementarian.org>
5807 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5809 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5811 * paragraph.h: make ParagraphList and ParagraphList::iterator
5812 friends of Paragraph.
5814 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5816 * ParagraphList.C: Use the private next_ and previous_ from
5819 2003-04-01 John Levon <levon@movementarian.org>
5823 * Makefile.am: rename, remove defaults gunk
5826 * MenuBackend.C: remove defaults gunk
5829 * Languages.C: remove defaults gunk
5832 * lyx_main.C: error out if files couldn't be found.
5834 2003-04-02 John Levon <levon@movementarian.org>
5836 * text2.C: make incDepth() use parlist
5838 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5840 * undo_funcs.C (firstUndoParagraph): adjust
5842 * text3.C (gotoInset): adjust
5843 (dispatch): adjust, and rewrite loop.
5845 * text2.C (init): adjust, and rewrite loop.
5846 (redoParagraphs): adjust
5847 (updateInset): adjust, and rewrite loop.
5848 (deleteEmptyParagraphMechanism): adjust
5850 * tabular.C (LyXTabular): adjust
5851 (SetMultiColumn): adjust
5854 * lyxtext.[Ch] (ownerParagraph): delete function
5855 (ownerParagraphs): new function returns a ParagraphList.
5857 * BufferView.C (removeAutoInsets): adjust
5858 (insertErrors): adjust
5859 (setCursorFromRow): adjust
5861 2003-04-01 Angus Leeming <leeming@lyx.org>
5863 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5866 2003-04-02 John Levon <levon@movementarian.org>
5872 * text_funcs.C: make transposeChars a free function
5874 * lyxrow_funcs.C: remove wrong comment
5876 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5879 * rowpainter.C: adjust
5884 * lyxrow_funcs. [Ch]: new files
5886 * lyxrow.[Ch]: remove next and previous pointers
5887 (next,previous): remove accessor functions
5888 (isParEnd): move to lyxrow_funcs
5889 (lastPos): move to lyxrow_funcs
5890 (nextRowIsAllInset): move to lyxrow_funcs
5891 (lastPrintablePos): move to lyxrow_funcs
5892 (numberOfSeparators): move to lyxrow_funcs
5893 (numberOfHfills): move to lyxrow_funcs
5894 (numberOfLabelHfills): move to lyxrow_funcs
5895 (hfillExpansion): move to lyxrow_funcs
5899 * bufferview_funcs.C (toggleAndShow): adjust
5901 * RowList.h: Remove class RowList from file leave just a
5904 * RowList.C: delete file
5906 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5909 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5911 * text3.C (cursorPrevious): adjust
5912 (cursorNext): adjust
5915 * text2.C (redoHeightOfParagraph): adjust
5916 (redoDrawingOfParagraph): adjust
5919 * text.C (breakParagraph): adjust
5920 (insertChar): adjust
5923 * rowpainter.C (RowPainter): adjust
5924 (leftMargin): simplify and adjust
5925 (most rowpainter functions): adjust.
5927 * rowpainter.h: store the row as RowList::iterator not as Row*
5929 * lyxcursor.C (row): taka RowList::iterator as arg
5932 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5935 2003-04-01 Angus Leeming <leeming@lyx.org>
5937 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5938 stuff like bool Bool.
5940 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5942 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5945 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5947 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5950 * lyxtext.h (rows): drop one version and leve a const variant that
5951 returns a RowList::iterator.
5953 2003-03-31 Angus Leeming <leeming@lyx.org>
5955 * text.C (fill): ensure that the signature is the same as that in the
5958 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5960 * text2.C (redoParagraphs): adjust
5961 (updateCounters): adjust
5962 (checkParagraph): adjust
5963 (getColumnNearX): adjust and reformat a bit.
5965 * text.C (top_y): adjust
5967 (leftMargin): adjust
5968 (prepareToPrint): adjust
5970 (getRowNearY): adjust
5972 * lyxtext.h: make rowlist_ mutable.
5974 * RowList.h: add const_iterator
5975 * RowList.C: adjust for RowList::const_iterator.
5977 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5980 2003-03-31 John Levon <levon@movementarian.org>
5983 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5985 * lyx_main.C: set default fonts from using lyx_gui funcs
5987 * exporter.C: pdf_mode moved from lyxrc
5990 * lyxfunc.C: changes from above
5992 2003-03-31 John Levon <levon@movementarian.org>
5994 * lyx_main.C: fix to the last fix
5996 2003-03-31 John Levon <levon@movementarian.org>
5998 * bufferlist.C: "Load original" -> "Load Original"
6004 * format.C: more Alert cleanups
6006 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6008 * text2.C (removeParagraph): make it take a RowList::iterator as
6010 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6011 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6013 * text.C (anchor_row): make it take a RowList::iterator as arg,
6015 (computeBidiTables): make it take a const reference to Row instead
6016 of Row pointer, adjust.
6017 (leftMargin): make it take a RowList::iterator as arg, adjust.
6018 (rowBreakPoint): adjust
6019 (breakAgainOneRow): make it take a RowList::iterator as arg,
6021 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6023 * bufferview_funcs.C (toggleAndShow): adjust
6025 2003-03-30 John Levon <levon@movementarian.org>
6029 * boost-inst.C: moved to support
6031 * several files: changes as a result
6033 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6035 * text2.C (LyXText): adjust.
6037 (removeRow): make it take a RowList::iterator as arg, adjust.
6038 (fullRebreak): adjust
6039 (deleteEmptyParagraphMechanism): adjust
6040 (clearPaint): adjust
6043 * text.C (top_y): adjust
6044 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6045 (breakAgain): make it take a RowList::iterator as arg, adjust.
6046 (breakParagraph): adjust
6047 (insertChar): adjust
6050 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6051 need_break_row, and refresh_row.
6053 * text3.C (dispatch): adjust
6055 * text2.C (checkParagraph): adjust
6057 (setCursorFromCoordinates): adjust
6059 * text.C (top_y): adjust
6061 (getRow): make it return a RowList::iterator, adjust
6062 (getRowNearY): make it return a RowList::iterator, adjust
6064 * text2.C (init): adjust
6065 (insertRow): remove function
6066 (insertParagraph): adjust
6067 (redoParagraphs): adjust
6068 (fullRebreak): adjust
6069 (updateCounters): adjust
6071 * text.C (top_y): rewrite to use RowList iterators.
6073 (setHeightOfRow): rewrite to sue RowList iterators.
6074 (appendParagraph): adjust
6075 (breakAgain): adjust
6076 (breakAgainOneRow): adjust
6077 (breakParagraph): adjust
6079 (getRowNearY): adjust, and remove commented code.
6081 * lyxtext.h (firstRow): delete function
6082 (lastRow): delete function
6083 (rows): new function (const and non-const versions.)
6084 (insertRow): delete function
6086 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6088 2003-03-29 John Levon <levon@movementarian.org>
6090 * BufferView_pimpl.C: always update scrollbar top
6091 because pasting text when we're anchored could mean we
6092 miss an update altogether
6094 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6096 * text2.C (init): use rowlist_.end() and not 0.
6097 (insertRow): change to take a RowList::iterator as arg, adjust
6099 (insertParagraph): change to take a RowList::iterator as arg,
6101 (redoParagraphs): remove some debug msgs.
6103 * text.C (appendParagraph): change to take a RowList::iterator
6104 arg, adjust for this.
6105 (breakAgain): add an assert
6106 (breakAgainOneRow): ditto
6108 2003-03-29 John Levon <levon@movementarian.org>
6110 * text2.C: do not clear selection after inc/decDepth
6113 2003-03-29 John Levon <levon@movementarian.org>
6116 * buffer.C: fix broken strerrors according to Lars
6118 2003-03-29 John Levon <levon@movementarian.org>
6120 * converters.C: more Alert cleanups
6122 2003-03-29 John Levon <levon@movementarian.org>
6124 * bufferview_funcs.C: remove pointless Alert
6126 * buffer.C: fix confusing error message when
6127 a template is chmoded 000
6129 2003-03-29 John Levon <levon@movementarian.org>
6133 * BufferView_pimpl.C: Alert fixes
6137 * tabular-old.C: remove unused table compat reading
6139 2003-03-29 John Levon <levon@movementarian.org>
6144 * lyx_cb.C: more Alert cleanups
6146 * lyxfunc.C: don't allow chktex if not latex document
6148 2003-03-29 John Levon <levon@movementarian.org>
6152 * buffer.C: warnings pushed down from support/,
6155 2003-03-29 John Levon <levon@movementarian.org>
6157 * lyxfunc.C: safety check for C-r (revert)
6159 2003-03-29 John Levon <levon@movementarian.org>
6162 * bufferlist.C: several UI fixes using Alert::prompt.
6163 Fix the pointless looping quit code. Fix stupid revert
6168 * lyx_cb.C: use Alert::prompt
6170 * lyx_main.C: remove a silly question
6172 * lyxfunc.C: remove a couple of silly questions,
6175 2003-03-28 John Levon <levon@movementarian.org>
6177 * text2.C: fix bug 974 (End on empty par)
6179 2003-03-28 John Levon <levon@movementarian.org>
6181 * BufferView_pimpl.C:
6183 * lfuns.h: remove do-nothing math greek lfuns
6185 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6187 * lyxgluelength.h (isValidGlueLength): add default arg on
6188 parameter 2. Remove default arg from friend in class.
6190 * lyxlength.h (isValidLength): add default arg on parameter 2.
6191 Remove default arg from friend in class.
6193 * text2.C (LyXText): adjust, initialize refresh_row.
6197 (insertParagraph): adjst
6198 (redoParagraphs): adjust
6199 (fullRebreak): adjust
6200 (updateCounters): adjust
6201 (deleteEmptyParagraphMechanism): first attempt at fixing a
6204 * text.C (top_y): adjust
6205 (setHeightOfRow): adjust
6207 (getRowNearY): adjust
6209 * lyxtext.h: include RowList.h
6210 (~LyXText): not needed anymore, deleted.
6211 (firstRow): modify for RowList
6212 (lastRow): new function
6213 Delete firstrow and lastrow class variables, add a Rowlist
6214 rowlist_ class variable.
6216 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6219 * RowList.C (insert): fix case where it == begin().
6221 2003-03-26 Angus Leeming <leeming@lyx.org>
6223 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6224 the thesaurus dialog.
6226 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6228 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6230 * RowList.[Ch]: new files
6232 * ParagraphList.C (erase): handle the case where it == begin
6235 2003-03-25 John Levon <levon@movementarian.org>
6239 * aspell.C: add new aspell support
6242 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6245 2003-03-25 Angus Leeming <leeming@lyx.org>
6248 * LyXAction.C (init): new LFUN_INSET_INSERT.
6250 * BufferView_pimpl.C (dispatch): split out part of the
6251 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6253 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6256 2003-03-25 Angus Leeming <leeming@lyx.org>
6258 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6260 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6263 * text3.C: remove useless row->height(0)
6265 2003-03-25 John Levon <levon@movementarian.org>
6269 * text3.C: rename the refreshing stuff to better names
6271 2003-03-24 John Levon <levon@movementarian.org>
6273 * BufferView_pimpl.h:
6274 * BufferView_pimpl.C: update layout choice on a mouse
6277 2003-03-23 John Levon <levon@movementarian.org>
6279 * Makefile.am: fix commandtags.h reference
6281 2003-03-22 John Levon <levon@movementarian.org>
6283 * BufferView_pimpl.C:
6288 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6290 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6293 * text.C: take the rtl methods out of line
6295 2003-03-21 André Pönitz <poenitz@gmx.net>
6297 * metricsinfo.[Ch]: new files containing structures to be passed around
6298 during the two-phase-drawing...
6300 2003-03-21 André Pönitz <poenitz@gmx.net>
6302 * lyxtextclass.C: read 'environment' tag.
6304 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6306 * text2.C (removeRow): fix bug 964
6308 2003-03-20 John Levon <levon@movementarian.org>
6312 * text2.C: paint cleanups. Inset::update() dropped font
6315 2003-03-19 John Levon <levon@movementarian.org>
6317 * lyxfunc.C: only fitcursor/markDirty if available()
6319 2003-03-19 John Levon <levon@movementarian.org>
6321 * commandtags.h: rename to ...
6323 * lfuns.h: ... this, and renumber / cleanup
6325 2003-03-19 John Levon <levon@movementarian.org>
6327 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6328 fit the cursor after an lfun
6332 * BufferView_pimpl.h:
6333 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6335 * LyXAction.C: layout-character should have ReadOnly
6337 * ParagraphParameters.C:
6339 * bufferview_funcs.C:
6346 * undo_funcs.C: changes from above
6348 2003-03-18 John Levon <levon@movementarian.org>
6350 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6351 remove it from update()
6353 * lyxfunc.C: update layout choice after an lfun
6355 * text3.C: remove extra updateLayoutChoice()s
6357 2003-03-18 John Levon <levon@movementarian.org>
6359 * text.C: top_y change means full repaint, fix
6360 a drawing bug with cursor movement
6362 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6366 * text2.C: anchor row on setCursor
6368 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6370 * lyxtext.h: remove almost all mutable keywords
6373 * text3.C: remove const keywords accordingly
6375 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6377 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6379 (TeXEnvironment): ditto
6382 2003-03-17 John Levon <levon@movementarian.org>
6384 * text.C (rowBreakPoint): remove attempt to fix displayed
6385 math insets inside a manual label
6387 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6389 * lyxtext.h: remove BufferView* as first arg from almost all class
6391 * other files: adjust.
6393 2003-03-17 John Levon <levon@movementarian.org>
6397 * text2.C: more paint cleanups
6399 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6402 * rowpainter.C: remove "smart" background painting code
6404 2003-03-16 John Levon <levon@movementarian.org>
6409 * text3.C: add helper functions for setting refresh_row/y
6411 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6413 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6414 newline inset which *can* get inserted in the pass_thru layouts.
6415 This is primarily for literate documents.
6417 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6419 * buffer.C: increment LYX_FORMAT to 223
6421 2003-03-14 André Pönitz <poenitz@gmx.net>
6423 * textclass.h: prepare for environment handling, ws changes
6424 * lyxlayout.C: read latexheader and latexfooter tags
6426 2003-03-14 John Levon <levon@movementarian.org>
6428 * text2.C: rewrite ::status() a bit
6430 2003-03-13 John Levon <levon@movementarian.org>
6432 * lyxtext.h: add some docs
6434 2003-03-13 John Levon <levon@movementarian.org>
6439 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6441 2003-03-13 John Levon <levon@movementarian.org>
6443 * text3.C: fix appendix redrawing
6445 2003-03-13 John Levon <levon@movementarian.org>
6447 * text.C (setHeightOfRow):
6449 * rowpainter.C: make appendix mark have the text
6450 "Appendix" so the user knows what it is
6453 * LColor.C: s/appendixline/appendix/ from above
6455 2003-03-13 John Levon <levon@movementarian.org>
6457 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6459 * text.C: fix a getChar(pos) bug properly
6461 2003-03-13 Angus Leeming <leeming@lyx.org>
6464 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6465 Probably only temporary. Let's see how things pan out.
6467 * BufferView.C (unlockInset):
6468 * BufferView_pimpl.C (fitCursor):
6469 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6471 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6472 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6474 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6475 new functions that convert ParagraphParameters to and from a string.
6477 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6478 BufferView::Pimpl's dispatch.
6479 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6481 2003-03-13 André Pönitz <poenitz@gmx.net>
6485 * factory.C: make it aware of InsetEnv
6487 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6489 * text2.C (setCursor): never ask for one past last
6490 (setCursor): add some debugging messages.
6492 * text.C (singleWidth): never ask for one past last
6493 (singleWidth): ditto
6495 (rightMargin): ditto
6496 (rowBreakPoint): ditto
6497 (setHeightOfRow): ditto
6498 (prepareToPrint): ditto
6500 * rowpainter.C (paintBackground): never ask for one past last
6501 (paintText): never ask for one past last
6503 * paragraph_pimpl.C (getChar): make the assert stricter, never
6504 allow the one past last pos to be taken
6506 * paragraph.C (getChar): ws changes only
6508 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6509 (numberOfSeparators): ditto
6510 (numberOfHfills): ditto
6512 2003-03-12 John Levon <levon@movementarian.org>
6518 * paragraph_funcs.C: fix per-buffer authorlists
6520 2003-03-12 John Levon <levon@movementarian.org>
6522 * text.C: fix newline in right address
6524 2003-03-12 Angus Leeming <leeming@lyx.org>
6526 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6527 duplicate those in LyXFunc::dispatch.
6531 * ToolbarDefaults.C:
6532 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6533 Add LFUN_FONTFREE_UPDATE.
6535 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6536 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6538 * bufferview_func.[Ch]: several new functions to facilliate
6539 transfer of data to and from the character dialog.
6541 2003-03-12 John Levon <levon@movementarian.org>
6546 * paragraph_funcs.C:
6547 * paragraph_pimpl.C:
6551 * text3.C: remove META_NEWLINE in favour of an inset
6554 * rowpainter.C: remove paintNewline (done by inset)
6556 2003-03-12 John Levon <levon@movementarian.org>
6558 * paragraph_pimpl.C: complain about bad getChar()s
6559 for a while at least
6561 2003-03-12 John Levon <levon@movementarian.org>
6564 * buffer.C: move paragraph read into a separate function,
6565 a little renaming to reflect that.
6568 * bufferparams.C: remove the author_ids map, not necessary now
6571 * factory.C: moved Buffer::readInset to here
6573 * paragraph_funcs.h:
6574 * paragraph_funcs.C: readParagraph free function moved from
6577 * tabular.C: name change
6579 2003-03-12 John Levon <levon@movementarian.org>
6582 * ParagraphParameters.C: move par params input to
6585 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6586 behave like a normal read from the stream wrt reading
6587 a line vs. a \\token
6589 2003-03-12 John Levon <levon@movementarian.org>
6592 * ParagraphParameters.h:
6593 * ParagraphParameters.C: move output code to a
6596 2003-03-12 John Levon <levon@movementarian.org>
6598 * BufferView.C (insertLyXFile):
6601 * tabular.C: use a parlist iterator for creating the
6604 2003-03-12 John Levon <levon@movementarian.org>
6606 * buffer.C: make current_change static local not
6609 2003-03-12 John Levon <levon@movementarian.org>
6611 * buffer.C: fix insertStringAsLines for change tracking
6613 2003-03-12 John Levon <levon@movementarian.org>
6620 * bufferparams.C: move author list into params. Rename some
6621 functions. Move the header reading into a separate token
6622 loop. Move the header token reading into BufferParams.
6624 2003-03-12 John Levon <levon@movementarian.org>
6626 * changes.C: put debug inside lyxerr.debugging() checks
6628 2003-03-11 André Pönitz <poenitz@gmx.net>
6630 * factory.C: make it aware of InsetHFill
6632 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6634 * buffer.C (latexParagraphs): move function from here...
6635 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6638 2003-03-10 Angus Leeming <leeming@lyx.org>
6640 * LyXAction.C (init): fix bug in poplating array with multiple entries
6641 with the same LFUN (spotted by JMarc).
6643 2003-03-10 John Levon <levon@movementarian.org>
6646 * text2.C: move getColumnNearX() near its
6649 2003-03-10 John Levon <levon@movementarian.org>
6651 * text.C: fix break before a minipage
6653 2003-03-10 John Levon <levon@movementarian.org>
6655 * text.C: fix the last commit
6657 2003-03-09 John Levon <levon@movementarian.org>
6661 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6662 bug 365 (don't break before insets unless needed). Don't
6663 return a value > last under any circumstances.
6665 2003-03-09 Angus Leeming <leeming@lyx.org>
6667 * BufferView_pimpl.C (trackChanges, dispatch): call
6668 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6670 2003-03-09 Angus Leeming <leeming@lyx.org>
6672 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6673 than Dialogs::showAboutlyx().
6675 2003-03-09 Angus Leeming <leeming@lyx.org>
6677 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6678 than Dialogs::showTabularCreate().
6680 2003-03-09 John Levon <levon@movementarian.org>
6684 * text2.C: 3rd arg to nextBreakPoint was always the same.
6687 2003-03-08 John Levon <levon@movementarian.org>
6694 * text2.C: Remove the "main" bit from the "main body"
6697 2003-03-08 John Levon <levon@movementarian.org>
6699 * text.C (leftMargin): The left margin of an empty
6700 manual label paragraph should not include the label width
6703 * text.C (prepareToPrint): don't attempt to measure hfills
6704 for empty manual label paragraphs - the answer should be 0
6706 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6708 * CutAndPaste.C: remove commented code and reindent.
6710 2003-03-08 John Levon <levon@movementarian.org>
6713 * lyxfunc.C: move reloadBuffer()
6716 * BufferView.C: to here
6718 * lyxvc.C: add comment
6721 * vc-backend.C: call bv->reload() to avoid
6722 getStatus() check on MENURELOAD
6724 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6726 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6727 to an old format .dep file.
6729 2003-03-07 Angus Leeming <leeming@lyx.org>
6731 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6732 when the LFUN_MOUSE_RELEASE should have been handled by
6733 inset->localDispatch.
6735 2003-03-07 Angus Leeming <leeming@lyx.org>
6737 * BufferView_pimpl.C (dispatch):
6738 * LyXAction.C (init):
6739 * ToolbarDefaults.C (init):
6741 * lyxfunc.C (getStatus):
6742 remove LFUN_INSET_GRAPHICS.
6744 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6746 2003-03-07 Angus Leeming <leeming@lyx.org>
6749 * LyXAction.C (init):
6750 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6752 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6755 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6757 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6758 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6760 2003-03-07 Angus Leeming <leeming@lyx.org>
6762 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6765 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6767 * ParagraphList.C (front): new function
6770 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6772 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6773 and top_row_offset_. removed var first_y.
6775 * text2.C (LyXText, removeRow):
6777 * BufferView_pimpl.C:
6778 use these methods instead of using first_y
6780 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6782 * text2.C (pasteSelection): adjust for checkPastePossible
6784 * CutAndPaste.C: remove Paragraph * buf and replace with
6785 ParagraphList paragraphs.
6786 (DeleteBuffer): delete
6787 (cutSelection): change the tc type to textclass_type
6788 (copySelection): change the tc type to textclass_type
6789 (copySelection): adjust for ParagraphList
6790 (pasteSelection): change the tc type to textclass_type
6791 (pasteSelection): adjust for Paragraphlist
6792 (nrOfParagraphs): simplify for ParagraphList
6793 (checkPastePossible): simplify for ParagraphList
6794 (checkPastePossible): remove unused arg
6796 * ParagraphList.C (insert): handle the case where there are no
6799 * CutAndPaste.h: make CutAndPaste a namespace.
6801 * text3.C (dispatch): adjust
6803 * text.C (breakParagraph): add a ParagraphList as arg
6805 * paragraph_funcs.C (breakParagraph): change to take a
6806 BufferParams and a ParagraphList as args.
6807 (breakParagraphConservative): ditto
6808 (mergeParagraph): ditto
6809 (TeXDeeper): add a ParagraphList arg
6810 (TeXEnvironment): ditto
6813 * buffer.C (readLyXformat2): adjust
6814 (insertStringAsLines): adjust
6815 (latexParagraphs): adjust
6817 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6818 (cutSelection): adjust
6819 (pasteSelection): adjust
6821 * BufferView_pimpl.C (insertInset): adjust
6823 2003-03-05 Angus Leeming <leeming@lyx.org>
6826 * LyXAction.C (init):
6827 * BufferView_pimpl.C (dispatch):
6828 * lyxfunc.C (getStatus):
6829 remove LFUN_CHILD_INSERT.
6831 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6833 2003-03-05 Angus Leeming <leeming@lyx.org>
6836 * LyXAction.C (init):
6837 * src/factory.C (createInset):
6838 * lyxfunc.C (getStatus):
6839 * text3.C (dispatch):
6840 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6842 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6844 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6846 * ParagraphList.C (insert): handle insert right before end()
6847 (erase): fix cases where it can be first or last paragraph.
6849 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6851 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6852 Paragraph::next and Paragraph::previous
6855 * text.C (breakParagraph): adjust
6857 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6858 BufferParams& as arg.
6859 (breakParagraph): use ParagraphList::insert
6860 (breakParagraphConservative): take a Buffer* instead of a
6861 BufferParams& as arg.
6862 (breakParagraphConservative): use ParagraphList::insert.
6864 * buffer.C (insertStringAsLines): un-const it
6865 (insertStringAsLines): adjust
6867 * ParagraphList.C (insert): new function
6869 * CutAndPaste.C (pasteSelection): adjust
6871 * text.C (backspace): adjust
6873 * tabular.C (SetMultiColumn): adjust
6875 * CutAndPaste.C (cutSelection): adjust
6876 (pasteSelection): adjust
6878 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6879 Buffer const * as arg
6881 * ParagraphList.C (erase): new function
6882 * paragraph_funcs.C (mergeParagraph): use it
6883 (mergeParagraph): make it take a Buffer* instead of a
6884 BufferParams* as arg
6886 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6888 (breakParagraphConservative): ditto
6890 * paragraph.h: remove the breakParagraph friend
6892 * paragraph.C (eraseIntern): new function
6893 (setChange): new function
6895 * paragraph_funcs.C (mergeParagraph): make it take a
6896 ParagraphList::iterator instead of a Paragraph *, adjust
6899 * paragraph.h: move an #endif so that the change tracking stuff
6900 also works in the NO_NEXT case.
6902 2003-03-04 Angus Leeming <leeming@lyx.org>
6905 * LyXAction.C: new LFUN_INSET_MODIFY.
6907 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6908 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6910 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6912 * several files: ws changes only
6914 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6915 (TeXEnvironment): ditto
6918 * buffer.C (makeLaTeXFile): adjust
6919 (latexParagraphs): make it take ParagraphList::iterator as args
6921 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6923 * buffer.C (latexParagraphs): adjust
6925 * paragraph.C (TeXOnePar): move function...
6926 (optArgInset): move function...
6927 (TeXEnvironment): move function...
6928 * paragraph_pimpl.C (TeXDeeper): move function...
6929 * paragraph_funcs.C: ...here
6931 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6933 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6935 * buffer.C (readInset): remove compability code for old Figure and
6938 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6940 * buffer.C: ws changes
6943 * BufferView_pimpl.C: ditto
6946 * bufferlist.h: ditto
6950 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6952 * converter.[Ch]: split into itself +
6955 * Makefile.am: += graph.[Ch] + format.[Ch]
6962 * lyxrc.C: added #include "format.h"
6964 2003-02-27 Angus Leeming <leeming@lyx.org>
6966 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6969 * factory.C (createInset): add "label" to the factory.
6971 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6972 string and do no more.
6974 2003-02-27 Angus Leeming <leeming@lyx.org>
6977 * LyXAction.C (init):
6978 * factory.C (createInset):
6979 * BufferView_pimpl.C (dispatch):
6980 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6982 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6984 * lyxfunc.C (dispatch):
6985 * text3.C (dispatch): pass name to params2string.
6987 2003-02-26 Angus Leeming <leeming@lyx.org>
6989 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6991 Rearrange the ~includes. Strip out the unnecessary ones.
6993 * factory.C (createInset): reformat.
6994 create new insets for the various LFUN_XYZ_APPLY lfuns.
6996 2003-02-26 John Levon <levon@movementarian.org>
6999 * lyxrow.C: add isParStart,isParEnd helpers
7001 * paragraph.h: make isInserted/DeletedText take refs
7003 * paragraph_funcs.h:
7004 * paragraph_funcs.C: remove #if 0'd code
7009 * text.C: use lyxrow helpers above.
7010 Move draw and paint routines to RowPainter.
7011 Make several methods use refs not pointers.
7012 Make backgroundColor() const.
7013 Add markChangeInDraw(), isInInset().
7014 Merge changeRegionCase into changeCase.
7015 Make workWidth() shouldn't-happen code into an Assert.
7018 * rowpainter.C: new class for painting a row.
7021 * vspace.C: make inPixels take a ref
7023 2003-02-26 Angus Leeming <leeming@lyx.org>
7025 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7028 2003-02-25 John Levon <levon@movementarian.org>
7030 * ispell.C: give the forked command a more accurate name
7032 2003-02-22 John Levon <levon@movementarian.org>
7035 * toc.C: make TocItem store an id not a Paragraph *
7038 2003-02-21 Angus Leeming <leeming@lyx.org>
7040 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7041 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7042 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7043 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7044 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7045 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7047 * BufferView_pimpl.C (dispatch):
7048 * LyXAction.C (init):
7049 * factory.C (createInset):
7050 * lyxfunc.C (getStatus, dispatch):
7051 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7053 2003-02-21 Angus Leeming <leeming@lyx.org>
7055 * BufferView_pimpl.C (MenuInsertLyXFile):
7056 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7057 * lyxfunc.C (menuNew, open, doImport):
7058 no longer pass a LyXView & to fileDlg.
7060 2003-02-21 Angus Leeming <leeming@lyx.org>
7062 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7063 * LyXAction.C: change, BIBKEY to BIBITEM.
7064 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7065 Change InsetBibKey to InsetBibitem.
7066 Change BIBKEY_CODE to BIBITEM_CODE.
7067 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7068 * factory.C: replace insetbib.h with insetbibitem.h.
7069 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7070 * paragraph.C: replace insetbib.h with insetbibitem.h.
7071 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7072 Change bibkey() to bibitem().
7073 * text.C: remove insetbib.h.
7074 * text2.C: replace insetbib.h with insetbibitem.h.
7075 change bibkey() to bibitem().
7076 * text3.C: remove insetbib.h.
7077 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7079 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7081 * lyxrc.C (output): enclose user email in quotes (in case there are
7084 2003-02-18 John Levon <levon@movementarian.org>
7086 * buffer.h: add std::
7088 2003-02-17 John Levon <levon@movementarian.org>
7094 * pspell.C: reworking. Especially in ispell, a large
7095 number of clean ups and bug fixes.
7097 * lyxfunc.C: fix revert to behave sensibly
7099 2003-02-17 André Pönitz <poenitz@gmx.net>
7102 * commandtags.h: new LFUN_INSERT_BIBKEY
7112 * paragraph_func.C: remove special bibkey handling
7114 2003-02-17 John Levon <levon@movementarian.org>
7116 * text.C (Delete): fix case where delete at the end of
7117 the very first paragraph would not merge the pars
7119 2003-02-17 John Levon <levon@movementarian.org>
7121 * lyxrow.C: fix lastPrintablePos()
7123 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7125 * bufferparams.C (writeLaTeX): add a std:here
7127 * buffer.C: and remove a using directive there
7129 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7131 * buffer.C (makeLaTeXFile): move the code that generates the
7134 * bufferparams.C (writeLaTeX): ... in this new method
7136 * LaTeXFeatures.C (getEncodingSet): make const
7137 (getLanguages): make const
7139 * MenuBackend.C (binding): returns the binding associated to this
7141 (add): sets the status of each item by calling getStatus. Adds
7143 (read): add support for OptSubMenu
7144 (expand): remove extra separator at the end of expanded menu
7146 2003-02-15 John Levon <levon@movementarian.org>
7149 * BufferView_pimpl.C:
7151 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7152 inset code that had no actual effect. Remove unneeded status
7155 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7157 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7160 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7162 * text.C (drawLengthMarker): also draw an arrow marker for
7163 symbolic lengths (medskip...)
7165 2003-02-14 John Levon <levon@movementarian.org>
7168 * tabular.C: better method names
7170 2003-02-14 John Levon <levon@movementarian.org>
7172 * BufferView_pimpl.C:
7177 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7178 it's a more accurate name. Remove some pointless uses.
7180 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7182 * text2.C (LyXText): change order of initilizers to shut off
7185 2003-02-14 John Levon <levon@movementarian.org>
7187 * buffer.C: use ParIterator for getParFromID()
7191 * paragraph_pimpl.h:
7192 * paragraph_pimpl.C: remove unused getParFromID()
7194 2003-02-14 John Levon <levon@movementarian.org>
7196 * buffer.C: remove some very old #if 0'd parse code
7198 2003-02-13 John Levon <levon@movementarian.org>
7202 * text2.C: move hfillExpansion(), numberOfSeparators(),
7203 rowLast(), rowLastPrintable(), numberofHfills(),
7204 numberOfLabelHfills() ...
7207 * lyxrow.C: ... to member functions here.
7212 * text.C: remove LyXText::beginningOfMainBody(), and call
7213 p->beginningOfMainBody() directly. Move the check for
7214 LABEL_MANUAL into the latter.
7221 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7227 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7228 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7230 2003-02-13 John Levon <levon@movementarian.org>
7232 * CutAndPaste.C: remove debug
7234 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7236 * paragraph.C (asString): remove two unused variables
7238 * lyxtextclass.C (readTitleType):
7240 (LyXTextClass): handle new members titletype_ and titlename_
7242 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7244 2003-02-09 John Levon <levon@movementarian.org>
7247 * buffer.C: replace hand-coded list with a map for the dep clean
7249 2003-02-08 John Levon <levon@movementarian.org>
7251 * LaTeX.C: consolidate code into showRunMessage() helper
7253 2003-02-08 John Levon <levon@movementarian.org>
7258 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7259 and pass the size in explicitly
7261 * BufferView_pimpl.h:
7262 * BufferView_pimpl.C:
7264 * BufferView.C: add getCurrentChange()
7266 * BufferView_pimpl.h:
7267 * BufferView_pimpl.C: handle change lfuns
7269 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7270 for changes. Mark pasted paragraphs as new.
7272 * support/lyxtime.h:
7273 * support/lyxtime.C:
7274 * DepTable.C: abstract time_t as lyx::time_type
7277 * LColor.C: add colours for new text, deleted text, changebars
7279 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7280 package use "usenames" option.
7284 * LyXAction.C: add change lfuns
7288 * author.C: author handling
7291 * buffer.C: add a per-buffer author list, with first entry as
7292 current author. Handle new .lyx tokens for change tracking. Output
7293 author list to .lyx file. Output dvipost stuff to .tex preamble.
7294 Bump lyx format to 222.
7297 * bufferlist.C: add setCurrentAuthor() to reset current author details
7301 * bufferparams.C: add param for tracking
7303 * bufferview_funcs.C: output change info in minibuffer
7307 * changes.C: add change-tracking structure
7310 * debug.C: add CHANGES debug flag
7313 * lyxfind.C: add code for finding the next change piece
7316 * lyxrc.C: add user_name and user_email
7319 * lyxrow.C: add a metric for the top of the text line
7322 * text.C: implement accept/rejectChange()
7325 * text.C: paint changebars. Paint new/deleted text in the chosen
7326 colours. Strike through deleted text.
7330 * paragraph_pimpl.h:
7331 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7332 in the current change to the insert functions. Rework erase to
7333 mark text as deleted, adding an eraseIntern() and a range-based
7334 erase(). Implement per-paragraph change lookup and
7337 * paragraph_funcs.C: Fixup paste for change tracking.
7339 * tabular.C: mark added row/columns as new.
7341 * text.C: fix rowLast() to never return -1. Don't allow
7342 spellchecking of deleted text. Track transpose changes. Don't
7343 allow paragraph break or merge where appropriate.
7345 * text2.C: leave cursor at end of selection after a cut.
7347 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7349 * text.C (getLengthMarkerHeight):
7350 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7351 visible on screen too.
7353 2003-02-07 John Levon <levon@movementarian.org>
7355 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7357 2003-02-05 Angus Leeming <leeming@lyx.org>
7359 * lyxserver.C (read_ready): revert my patch of 11 September last year
7360 as it sends PC cpu through the roof. Presumably this means that
7361 the lyxserver will no longer run on an Alpha...
7363 2003-01-30 Angus Leeming <leeming@lyx.org>
7365 * factory.C (createInset): create an InsetCommandParam of type "index"
7366 and use it to 'do the right thing'.
7368 * text2.C (getStringToIndex): ensure that cursor position is always
7369 reset to the reset_cursor position.
7371 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7373 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7376 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7380 * lyxfunc.C: Output messages with identical spelling, punctuation,
7383 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7385 * MenuBackend.C (expandFormats): List only viewable export formats
7388 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7391 * lyxfunc.C (getStatus): Make sure that formats other than
7392 "fax" can also be disabled
7394 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7396 * text3.C (dispatch): put the lfuns that insert insets in 3
7397 groups, and call doInsertInset with appropriate arguments.
7398 (doInsertInset): new function, that creates an inset and inserts
7399 it according to some boolean parameters.
7401 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7403 * buffer.C (readFile): remember to pass on 'par' when calling
7404 readFile recursively.
7406 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7408 * MenuBackend.C (expandFormats): add "..." to import formats.
7410 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7412 * paragraph.C (asString): Remove XForms RTL hacks.
7414 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7415 * buffer.C: fix typo
7417 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7419 * Makefile.am (LIBS): delete var
7420 (lyx_LDADD): add @LIBS@ here instead.
7422 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7424 * Clarify the meaning of "wheel mouse jump"
7426 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7428 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7431 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7433 * importer.C (Loaders): do not preallocate 3 elements in the
7434 vector, since one ends up with 6 elements otherwise
7436 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7438 * DepTable.C (write): write the file name as last element of the
7439 .dep file (because it may contain spaces)
7440 (read): read info in the right order
7442 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7444 * paragraph_pimpl.C (simpleTeXBlanks):
7445 (simpleTeXSpecialChars):
7446 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7448 * tabular.C (latex): add some missing case statements. Reindent.
7450 * MenuBackend.C (expandToc): remove unused variable.
7452 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7461 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7464 2003-01-05 John Levon <levon@movementarian.org>
7467 * BufferView.C: add getEncoding()
7470 * kbsequence.C: do not store last keypress
7473 * lyxfunc.C: store last keypress here instead. Pass encoding
7476 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7478 * lyx_main.C (init): remove annoying error message when following
7479 symbolic links (bug #780)
7481 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7483 * text.C (insertChar):
7484 * lyxrc.C (getDescription): remove extra spaces
7486 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7488 * lyxrc.C (getDescription): remove extra spaces
7490 2002-12-20 John Levon <levon@movementarian.org>
7492 * text3.C: hack fix for page up/down across tall rows
7494 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7496 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7499 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7501 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7502 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7503 thesaurus is not compiled in
7505 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7507 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7509 2002-12-16 Angus Leeming <leeming@lyx.org>
7512 * lyx_main.C (init): remove override_x_deadkeys stuff.
7514 2002-12-12 John Levon <levon@movementarian.org>
7516 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7517 insert. Only remove shift modifier under strict
7520 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7522 * MenuBackend.C (expandToc): fix crash.
7524 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7526 * MenuBackend.C (expandToc): gettext on float names.
7528 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7530 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7531 implement bool empty() [bug 490]
7533 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7535 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7537 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7539 * several files: ws changes
7541 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7543 * text2.C (setCounter): clean up a bit, use boost.format.
7544 (updateCounters): initialize par upon declaration.
7546 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7547 if the layout exists. We do not just store the layout any more.
7548 (SwitchLayoutsBetweenClasses): use boost.format
7550 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7552 * converter.C (convert): if from and to files are the same, use a
7553 temporary files as intermediary
7555 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7558 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7560 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7562 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7564 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7566 * tabular.C (asciiPrintCell): use string(size, char) instead of
7569 * sgml.C (openTag): fix order of arguments to string constructor
7572 * lyxfunc.C (dispatch): use boost.format
7574 * lots of files: change "c" -> 'c'
7576 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7578 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7580 2002-11-25 Angus Leeming <leeming@lyx.org>
7582 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7584 * lyx_main.C (init): compile fix.
7586 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7588 * lyx_cb.C (start): boost.formatify
7589 do not include <iostream>
7591 * lengthcommon.C: ws only
7593 * boost-inst.C,BoostFormat.h: add more explict instantations
7595 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7597 * lots of files: handle USE_BOOST_FORMAT
7599 2002-11-21 John Levon <levon@movementarian.org>
7601 * pspell.C: fix compile
7603 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7605 * lyxfunc.C (dispatch): use boost::format
7609 * lyxfont.C (stateText): use boost::format
7611 * lyx_main.C (LyX): use boost::format
7613 (queryUserLyXDir): ditto
7616 (typedef boost::function): use the recommened syntax.
7618 * importer.C (Import): use boost::format
7620 * debug.C (showLevel): use boost::format
7622 * converter.C (view): use boost::format
7627 * bufferview_funcs.C (currentState): use boost::format
7629 * bufferlist.C (emergencyWrite): use boost::format
7631 * buffer.C (readLyXformat2): use boost::format
7632 (parseSingleLyXformat2Token): ditto
7634 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7636 * LaTeX.C (run): use boost::format
7638 * Chktex.C (scanLogFile): use boost::format
7640 * BufferView_pimpl.C (savePosition): use boost::format
7641 (restorePosition): ditto
7642 (MenuInsertLyXFile): ditto
7644 * BoostFormat.h: help file for explicit instation.
7646 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7648 * tabular.C (latex): Support for block alignment in fixed width
7651 2002-11-17 John Levon <levon@movementarian.org>
7653 * BufferView_pimpl.C:
7655 * lyxfunc.C: split filedialog into open/save
7657 2002-11-08 Juergen Vigna <jug@sad.it>
7659 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7660 by my last patch (hopefully).
7662 2002-11-08 John Levon <levon@movementarian.org>
7671 * toc.C: ParConstIterator, and use it (from Lars)
7673 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7675 * lyxtextclass.[Ch]: revise and add doxygen comments
7677 2002-11-07 John Levon <levon@movementarian.org>
7679 * text.C: fix progress value for spellchecker
7681 * toc.C: fix navigate menu for insetwrap inside minipage
7683 * paragraph_funcs.C: added FIXME for suspect code
7685 2002-11-07 John Levon <levon@movementarian.org>
7687 * BufferView_pimpl.C: fix redrawing of insets
7690 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7692 * text2.C (updateCounters): fix bug 668
7694 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7696 * text3.C (dispatch): Do not make the buffer dirty when moving the
7699 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7701 * vc-backend.C: STRCONV
7704 * text2.C (setCounter): STRCONV
7706 * paragraph.C (asString): STRCONV
7708 * lyxlength.C (asString): STRCONV
7709 (asLatexString): ditto
7711 * lyxgluelength.C (asString): STRCONV
7712 (asLatexString): ditto
7714 * lyxfunc.C (dispatch): STRCONV
7717 * lyxfont.C (stateText): STRCONV
7719 * importer.C (Import): STRCONV
7721 * counters.C (labelItem): STRCONV
7722 (numberLabel): ditto
7723 (numberLabel): remove unused ostringstream o
7728 * bufferview_funcs.C (currentState): STRCONV
7730 * buffer.C (readFile): STRCONV
7731 (asciiParagraph): ditto
7732 (makeLaTeXFile): ditto
7734 * Spacing.C (writeEnvirBegin): STRCONV
7736 * LaTeXFeatures.C (getLanguages): STRCONV
7737 (getPackages): ditto
7739 (getBabelOptions): ditto
7740 (getTClassPreamble): ditto
7741 (getLyXSGMLEntities): ditto
7742 (getIncludedFiles): ditto
7746 (scanAuxFile): ditto
7749 * LString.h: add the STRCONV macros
7751 * BufferView_pimpl.C (savePosition): STRCONV
7752 (restorePosition): ditto
7753 (MenuInsertLyXFile): ditto
7755 * vc-backend.C (scanMaster): change from submatch[...] to
7758 * funcrequest.C: include config.h
7760 * factory.C: include config.h
7762 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7764 * box.C: include config.h
7766 * LaTeX.C (scanAuxFile): change from submatch[...] to
7770 2002-10-25 Angus Leeming <leeming@lyx.org>
7772 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7774 * ispell.[Ch] (setError): new method.
7775 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7776 Use setError() insetead of goto END.
7778 * lyx_cb.C (AutoSave): move out child process into new class
7781 2002-10-30 John Levon <levon@movementarian.org>
7783 * text3.C: make start appendix undoable
7785 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7787 * lyxlength.C (inPixels): Fix returned value.
7789 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7792 2002-10-24 Angus Leeming <leeming@lyx.org>
7794 * lyxgluelength.h: no need to forward declare BufferParams
7795 or BufferView, so don't.
7797 2002-10-21 John Levon <levon@movementarian.org>
7799 * BufferView.C: menuUndo ->undo, redo
7801 * BufferView.h: document, remove dead, make some methods private
7803 * paragraph_funcs.h:
7804 * paragraph_funcs.C:
7805 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7810 * sgml.C: move sgml open/close tag into sgml.C
7812 * bufferview_funcs.h: unused prototype
7815 * lyxfunc.C: remove unused
7818 * text.C: remove unused
7820 2002-10-21 John Levon <levon@movementarian.org>
7824 * BufferView_pimpl.h:
7825 * BufferView_pimpl.C: fix mouse wheel handling based on
7826 patch from Darren Freeman
7828 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7830 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7832 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7834 * lyxlength.C (inPixels): Fix hanfling of negative length.
7835 Fix LyXLength::MU case.
7837 2002-10-16 John Levon <levon@movementarian.org>
7839 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7841 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7843 * converter.C (view): add support for $$i (file name) and $$p
7844 (file path) for the viewer command. If $$i is not specified, then
7845 it is appended to the command (for compatibility with old syntax)
7847 2002-10-14 Juergen Vigna <jug@sad.it>
7849 * undo_funcs.C (textHandleUndo): alter the order in which the
7850 new undopar is added to the LyXText, as we have to set first
7851 the right prev/next and then add it as otherwise the rebuild of
7852 LyXText is not correct. Also reset the cursor to the right paragraph,
7853 with this IMO we could remove the hack in "redoParagraphs()".
7855 2002-10-09 Angus Leeming <leeming@lyx.org>
7857 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7858 to turn off an optimisation if a new inset is to be inserted.
7860 2002-10-11 André Pönitz <poenitz@gmx.net>
7862 * lyxtext.h: make some functions public to allow access
7863 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7865 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7867 * text3.C (dispatch): when changing layout, avoid an infinite loop
7870 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7872 * lyxrc.C (read): treat a viewer or converter command of "none" as
7875 * MenuBackend.C (expandFormats): for an update, also allow the
7876 formats that are not viewable
7878 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7879 script if it is newer than the lyxrc.defaults in user directory
7881 2002-10-07 André Pönitz <poenitz@gmx.net>
7883 * text.C: Vitaly Lipatov's small i18n fix
7885 2002-09-25 Angus Leeming <leeming@lyx.org>
7887 * ispell.h: doxygen fix.
7889 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7891 * buffer.h (readFile): Add a new argument to the method, to allow
7892 reading of old-format templates.
7894 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7896 * toc.C (getTocList): Get TOC from InsetWrap.
7898 2002-09-16 John Levon <levon@movementarian.org>
7900 * lyxfunc.C: check tabular for cut/copy too
7902 2002-09-12 John Levon <levon@movementarian.org>
7907 * factory.C: add header
7909 * paragraph_funcs.h:
7910 * paragraph_funcs.C: cleanup
7912 2002-09-11 John Levon <levon@movementarian.org>
7914 * PrinterParams.h: odd/even default to true
7916 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7918 * PrinterParams.h: update printer parameters for new xforms dialog
7920 2002-09-11 Angus Leeming <leeming@lyx.org>
7922 * lyxserver.C (read_ready): re-write to make it more transparent
7923 and to make it work in coherent fashion under Tru64 Unix.
7925 2002-09-11 André Pönitz <poenitz@gmx.net>
7929 * text3.C: implement LFUN_WORDSEL
7931 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7933 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7934 make floatlist_ a boost::shared_ptr<FloatList>
7936 * lyxtextclass.C: include FloatList.h
7937 (LyXTextClass): initialize floatlist_
7938 (TextClassTags): add TC_NOFLOAT
7939 (Read): match "nofloat" to TC_NOFLOAT and use it.
7940 (readFloat): modify call to floatlist_
7944 * FloatList.[Ch] (FloatList): remove commented out float
7946 (erase): new function
7948 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7950 * MenuBackend.C (expandToc): fix crash when there is no document
7953 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7955 * many files: Add insetwrap.
7957 2002-09-09 John Levon <levon@movementarian.org>
7959 * text2.C: remove confusing and awkward depth wraparound
7961 2002-09-09 John Levon <levon@movementarian.org>
7963 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7966 * buffer.C: remove getIncludeonlyList()
7969 * lyxfunc.C: remove headers
7971 2002-09-09 Juergen Vigna <jug@sad.it>
7973 * text.C (getColumnNearX): fix form Michael this is most
7974 probably a cut&paste bug.
7976 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7978 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7980 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7981 references, ws changes.
7983 * text2.C (init): update counters after init
7984 (insertParagraph): no need to set counter on idividual paragraphs.
7985 (setCounter): access the counters object in the textclass object
7986 on in the buffer object.
7987 (updateCounters): ditto
7989 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7990 shared_ptr<Counters> to avoid loading counters.h in all
7992 (LyXTextClass): initialize ctrs_
7993 (TextClassTags): add TC_COUNTER, and ...
7994 (Read): use it here.
7995 (CounterTags): new tags
7996 (readCounter): new function
7997 (counters): new funtion
7998 (defaultLayoutName): return a const reference
8000 * counters.C (Counters): remove contructor
8001 (newCounter): remove a couple of unneeded statements.
8002 (newCounter): simplify a bit.
8003 (numberLabel): some small formatting changes.
8005 * buffer.[Ch]: remove all traces of counters, move the Counters
8006 object to the LyXTextClass.
8008 2002-09-06 Alain Castera <castera@in2p3.fr>
8010 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8011 package to set the horizontal alignment on fixed width columns.
8014 * lyx_sty.h: added tabularnewline macro def.
8016 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8018 2002-09-06 John Levon <levon@movementarian.org>
8020 * LyXAction.C: tooltips for sub/superscript
8022 * MenuBackend.C: a bit more verbose
8024 * lyxfunc.C: tiny clean
8026 * undo_funcs.C: document undo_frozen
8028 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8030 * counters.C (Counters): add missing algorithm counter.
8032 * text2.C (setCounter): lookup the counter with layouts latexname
8033 instead of by section number.
8034 (setCounter): use a hackish way to lookup the correct enum
8036 a float name->type change
8037 reset enum couners with counter name directly instead of depth value.
8039 * counters.C (Counters): remove the push_backs, change to use the
8040 float type not the float name.
8041 (labelItem): remove unused string, float name->type change
8043 * counters.h: don't include vector, loose the enums and sects vectors
8045 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8047 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8048 (Read): add float->TC_FLOAT to textclassTags
8049 (Read): and handle it in the switch
8050 (readFloat): new function
8052 * FloatList.C (FloatList): comment out the hardcoded float
8055 * lyxlayout.h: ws change.
8057 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8059 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8061 2002-09-03 Angus Leeming <leeming@lyx.org>
8063 * BufferView_pimpl.h: qualified name is not allowed in member
8064 declaration: WorkArea & Pimpl::workarea() const;
8066 * factory.C: added using std::endl directive.
8068 * text3.C: added using std::find and std::vector directives.
8070 2002-08-29 André Pönitz <poenitz@gmx.net>
8073 * text2.C: remove unused member number_of_rows
8076 * BufferView2.C: remove file, move contents to...
8077 * BufferView.C: ... here
8079 * BufferView_pimpl.C:
8080 * factory.C: move more inset creation to factory
8082 * vspace.C: avoid direct usage of LyXText, ws changes
8085 don't provide direct access to WorkArea, use two simple
8086 acessors haveSelction() and workHeight() instead
8089 2002-08-29 John Levon <levon@movementarian.org>
8091 * BufferView_pimpl.C (dispatch): do not continue when
8094 2002-08-28 André Pönitz <poenitz@gmx.net>
8096 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8099 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8101 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8103 * buffer.C: increment LYX_FORMAT to 221
8105 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8106 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8108 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8110 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8112 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8114 * factory.C (createInset): use LyXTextClass::floats
8116 * MenuBackend.C (expandFloatListInsert):
8117 (expandFloatInsert):
8120 * text2.C (setCounter):
8122 * LaTeXFeatures.C (useFloat):
8123 (getFloatDefinitions):
8125 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8127 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8128 floatlist_, with accessor floats().
8130 * FloatList.h: remove global FloatList
8132 2002-08-26 André Pönitz <poenitz@gmx.net>
8134 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8138 * BufferView_pimpl.C:
8139 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8141 2002-08-25 John Levon <levon@movementarian.org>
8143 * LyXAction.C: fix margin note description
8145 2002-08-24 John Levon <levon@movementarian.org>
8149 * bufferview_funcs.C:
8151 * undo_funcs.C: cleanups
8153 * lyxfunc.C: disable CUT/COPY when no selection
8155 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8157 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8158 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8160 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8161 Add backward compatibility to "mono", "gray" and "no".
8163 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8165 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8166 (and file_format >= 200).
8168 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8170 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8172 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8174 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8176 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8178 * BufferView_pimpl.C:
8185 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8186 inset and code to make it work with the paragraph code. The inset
8187 can be anywhere in the paragraph, but will only do the expected
8188 thing in LaTeX if the layout file contains the parameter line
8190 (or more generally, a nonzero value) for that layout.
8192 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8194 * paragraph.h: remove the declaration of undefined counters class
8197 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8199 * text2.C (setCounter): fixed enumeration mis-count as reported by
8200 Dr. Richard Hawkins.
8202 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8204 * paragraph_funcs.h: remove some unneeded includes
8206 * text.C (backspace): pasteParagraph now in global scipe
8208 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8209 (pasteSelection): ditto
8211 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8212 * paragraph_funcs.C (pasteParagraph): ... here
8214 2002-08-20 André Pönitz <poenitz@gmx.net>
8216 * commandtags.h: new LFUNs for swapping/copying table row/colums
8219 * lyxfunc.C: support for new lfuns
8221 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8224 * buffer.[Ch]: remove NO_COMPABILITY stuff
8226 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8228 * boost.C (throw_exception): new file, with helper function for
8229 boost compiled without exceptions.
8234 * ParameterStruct.h:
8235 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8237 * bufferlist.C (emergencyWriteAll): use boost bind
8239 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8241 * text.C: include paragraph_funcs.h
8242 (breakParagraph): breakParagraph is now in global scope
8244 * paragraph_funcs.[Ch]: new files
8246 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8249 * buffer.C: include paragraph_funcs.h
8250 (insertStringAsLines): breakParagraph is now in global scope
8252 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8255 * CutAndPaste.C: include paragraph_funcs.h
8256 (cutSelection): breakParagraphConservative is now in global scope
8257 (pasteSelection): ditto
8259 * buffer.h: declare oprator== and operator!= for
8260 Buffer::inset_iterator
8262 * bufferlist.C (emergencyWrite): don't use fmt(...)
8264 * text3.C: add using std::endl
8266 * BufferView.C (moveCursorUpdate): remove default arg
8268 2002-08-20 André Pönitz <poenitz@gmx.net>
8270 * buffer.[Ch]: move inline functions to .C
8273 * BufferView_pimpl.C:
8275 * buffer.[Ch]: use improved inset_iterator
8278 * paragraph.[Ch]: write one paragraph at a time
8280 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8282 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8283 style if style is not specified.
8285 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8287 * text2.C (setCounter): when searching for right label for a
8288 caption, make sure to recurse to parent insets (so that a caption
8289 in a minipage in a figure float works) (bug #568)
8291 2002-08-20 André Pönitz <poenitz@gmx.net>
8293 * text3.C: new file for LyXText::dispatch() and helpers
8295 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8297 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8299 2002-08-19 André Pönitz <poenitz@gmx.net>
8302 * text.C: new LyXText::dispatch()
8304 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8306 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8308 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8310 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8313 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8315 * Makefile.am: use $(variables) instead of @substitutions@
8317 2002-08-15 André Pönitz <poenitz@gmx.net>
8320 * BufferView_pimpl.C: streamlining mathed <-> outer world
8324 * LyXAction.C: remove unused LFUN_MATH
8326 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8328 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8330 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8332 * paragraph.C (Paragraph): reformat a bit
8333 (cutIntoMinibuffer): use builtin InsetList function instad of
8337 * buffer.C: include boost/bind.hpp, add using std::for_each
8338 (writeFileAscii): use ParagraphList iterators
8339 (validate): use for_each for validate traversal of paragraphs
8340 (getBibkeyList): use ParagraphList iterators
8341 (resizeInsets): use for_each to resizeInsetsLyXText for all
8343 (getParFromID): use ParagraphList iterators
8345 * BufferView2.C (lockInset): use paragraph list and iterators
8347 2002-08-14 John Levon <levon@movementarian.org>
8349 * lyxserver.C: remove spurious xforms include
8351 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8353 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8355 2002-08-13 André Pönitz <poenitz@gmx.net>
8358 * lyxfunc.C: further cleaning
8360 2002-08-13 André Pönitz <poenitz@gmx.net>
8362 * funcrequest.h: new constructor
8364 * funcrequest.C: move stuff here from .h
8367 * BufferView_pimpl.C:
8370 * lyxfunc.C: subsequent changes
8372 * lyxfunc.h: new view() member function
8374 * lyxfunc.C: subsequent changes
8376 2002-08-13 Angus Leeming <leeming@lyx.org>
8379 * BufferView_pimpl.C:
8387 changes due to the changed LyXView interface that now returns references
8388 to member variables not pointers.
8390 2002-08-13 Angus Leeming <leeming@lyx.org>
8392 * WordLangTuple (word, lang_code): return references to strings,
8397 * lyxtext.h: forward-declare WordLangTuple.
8402 * text.C: #include "WordLangTuple.h".
8405 * text.C: (selectNextWordToSpellcheck): constify return type.
8407 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8413 * paragraph_pimpl.h:
8416 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8418 Made updateCounter always count from start of buffer, and removed
8419 second argument (par).
8420 Reverted floats number display to '#'. Perhaps I'll try again when the
8421 code base is sanitized a bit.
8423 2002-08-12 Angus Leeming <leeming@lyx.org>
8425 * buffer.[Ch] (getLabelList): constify.
8427 2002-08-07 André Pönitz <poenitz@gmx.net>
8429 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8431 * funcrequest.h: extension to keep mouse (x,y) position
8433 2002-08-12 Juergen Vigna <jug@sad.it>
8435 * BufferView2.C (insertErrors): forbid undo when inserting error
8438 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8440 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8442 * ParagraphList.[Ch]: new files
8444 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8446 * BufferView2.C (lockInset): ParagraphList changes
8449 * bufferlist.C: ditto
8453 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8455 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8456 unused class variable counter_,
8458 * paragraph.[Ch] (getFirstCounter): delete unused function
8460 * counters.C: include LAssert.h
8461 (reset): add a new function with no arg, change other version to
8462 not have def. arg and to not allow empty arg.
8464 * text2.C (setCounter): remove empty arg from call to Counters::reset
8466 2002-08-11 John Levon <levon@movementarian.org>
8468 * Makefile.am: add WordLangTuple.h
8470 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8472 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8473 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8475 * insets/insettext.C: InsetList changes
8477 * graphics/GraphicsSupport.C (operator()): InsetList changes
8479 * toc.C (getTocList): InsetList changes
8481 * paragraph_pimpl.[Ch]: InsetList changes
8483 * paragraph.[Ch]: InsetList changes
8485 * buffer.C (inset_iterator): InsetList changes
8486 (setParagraph): ditto
8487 * buffer.h (inset_iterator): ditto
8488 * iterators.C (operator++): ditto
8489 * iterators.h: ditto
8491 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8493 * InsetList.[Ch]: new files, most InsetList handling moved out of
8496 * BufferView2.C (removeAutoInsets): InsetList changes
8498 (ChangeInsets): ditto
8500 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8502 * paragraph_pimpl.h (empty): new function
8504 * paragraph.[Ch] (empty): new function
8506 * other files: use the new Paragraph::empty function
8508 2002-08-09 John Levon <levon@movementarian.org>
8510 * lyxtext.h: remove unused refresh_height
8512 2002-08-09 John Levon <levon@movementarian.org>
8519 * paragraph.C: move sgml char escaping out of paragraph
8522 * paragraph.C: remove id setter
8526 * paragraph_pimpl.C: remove dead tex_code_break_column
8528 * bufferview_funcs.C: small cleanup
8530 * lyxfunc.C: remove dead proto
8532 * lyxtext.h: make some stuff private. Remove some dead stuff.
8534 * lyxgluelength.C: make as[LyX]String() readable
8536 2002-08-08 John Levon <levon@movementarian.org>
8541 * ToolbarDefaults.C:
8544 * toc.C: lyxaction cleanup
8546 2002-08-08 John Levon <levon@movementarian.org>
8548 * BufferView2.C: small cleanup
8551 * lyxfind.C: move unnecessary header into the .C
8553 2002-08-08 John Levon <levon@movementarian.org>
8555 * funcrequest.h: just tedious nonsense
8558 * lyx_main.C: cleanups
8561 * vspace.C: remove dead header lyx_main.h
8563 2002-08-07 Angus Leeming <leeming@lyx.org>
8566 * paragraph_pimpl.h:
8567 Forward declare class Counters in paragraph.h by moving the ctrs member
8568 variable into Paragraph::Pimpl.
8569 (counters): new method, returning a reference to pimpl_->ctrs.
8571 * text2.C: ensuing changes.
8573 2002-08-07 John Levon <levon@movementarian.org>
8575 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8577 * BufferView_pimpl.C: announce X selection on double/triple
8580 * lyx_main.C: use correct bool in batch dispatch
8582 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8584 2002-08-07 André Pönitz <poenitz@gmx.net>
8586 * funcrequest.h: new class to wrap a kb_action and its argument
8589 * BufferView_pimpl[Ch]:
8593 * lyxrc.C: subsequent changes
8596 2002-08-07 John Levon <levon@movementarian.org>
8598 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8599 document options change.
8601 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8606 * makefile.am: move counters functionality over from
8607 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8609 2002-08-06 John Levon <levon@movementarian.org>
8611 * WordLangTuple.h: new file for word + language code tuple
8622 * BufferView2.C: use WordLangTuple
8625 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8627 2002-08-06 John Levon <levon@movementarian.org>
8629 * lyx_main.C: fix cmdline batch handling
8631 2002-08-06 André Pönitz <poenitz@gmx.net>
8633 * lyxrc.C: set default for show_banner to true
8635 2002-08-06 John Levon <levon@movementarian.org>
8637 * pspell.C: fix a crash, and allow new aspell to work
8639 2002-08-06 John Levon <levon@movementarian.org>
8642 * kbmap.C: small cleanup
8645 * vspace.C: add const
8647 2002-08-05 John Levon <levon@movementarian.org>
8649 * LyXAction.C: back to tabular-insert
8651 2002-08-04 John Levon <levon@movementarian.org>
8654 * BufferView.C: cosmetic change
8656 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8666 * BufferView2.C: purge all "Lyx" not "LyX" strings
8669 * lyxcursor.C: attempt to add some documentation
8674 * ToolbarDefaults.C:
8675 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8676 merge with LFUN_TABULAR_INSERT
8683 * pspell.C: split up i/pspell implementations into separate
8684 files, many cleanups
8686 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8688 * text2.C: some cleanup
8690 * lyxfunc.C: don't check for isp_command == "none" any more, it
8691 didn't make any sense
8693 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8698 * makefile.am: move counters functionality over
8699 from text2.C/paragraph.[Ch] to counters.[Ch], and
8701 2002-08-02 John Levon <levon@movementarian.org>
8703 * buffer.C: s/lyxconvert/lyx2lyx/
8705 2002-08-02 Angus Leeming <leeming@lyx.org>
8707 * lyxlex.C: revert John's change as it breaks reading of the user
8710 2002-08-02 Angus Leeming <leeming@lyx.org>
8712 * importer.C (Import):
8713 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8714 changes due to LyXView::view() now returning a boost::shared_ptr.
8716 2002-08-02 John Levon <levon@movementarian.org>
8718 * lyxlex.C: small cleanup
8720 2002-08-02 John Levon <levon@movementarian.org>
8722 * text2.C (status): small cleanup, no logic change
8724 2002-08-01 John Levon <levon@movementarian.org>
8727 * buffer.C (writeFile): don't output alerts, caller
8731 * lyx_cb.C: from above
8733 * lyxfunc.C: allow to open non-existent files
8735 2002-07-31 John Levon <levon@movementarian.org>
8737 * lyxserver.C: don't let incidental errors get
8740 2002-07-30 John Levon <levon@movementarian.org>
8742 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8744 2002-07-30 John Levon <levon@movementarian.org>
8747 * lyxserver.C: remove I/O callback too
8749 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8751 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8754 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8756 * many files: strip,frontStrip -> trim,ltrim,rtrim
8758 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8760 * PrinterParams.h: remove extern containsOnly, and include
8761 support/lstrings.h instead.
8763 * LaTeX.C (scanAuxFile): modify because of strip changes
8765 * buffer.C (makeLaTeXFile): ditto
8766 * bufferparams.C (writeFile): ditt
8767 * lyxfont.C (stateText): ditto
8768 * lyxserver.C (read_ready): ditto
8769 * vc-backend.C (scanMaster): ditto
8771 * BufferView_pimpl.h: ws changes
8773 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8775 2002-07-26 André Pönitz <poenitz@gmx.net>
8777 * kb_sequence.C: remove unnedred usings
8779 2002-07-26 Juergen Vigna <jug@sad.it>
8781 * lyxfind.C (LyXReplace): we have to check better if the returned
8782 text is not of theLockingInset()->getLockingInset().
8784 2002-07-25 Juergen Vigna <jug@sad.it>
8786 * lyxfind.C (LyXReplace): don't replace if we don't get the
8789 * undo_funcs.C (createUndo): remove debugging code.
8791 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8793 * buffer.C (parseSingleLyXformat2Token): Use default placement
8794 when reading old floats.
8796 * FloatList.C (FloatList): Change the default placement of figure
8797 and tables to "tbp".
8799 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8801 * MenuBackend.C: using std::max
8803 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8805 * MenuBackend.C (expandToc):
8806 (expandToc2): code moved from xforms menu frontend. It is now
8807 generic and TOCs are transparent to menu frontends.
8809 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8811 * toc.C (getTocList): protect against buf=0
8813 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8814 Menu as first parameter. Now, this calls itself recursively to
8815 expand a whole tree (this will be useful for TOC handling)
8816 (expandFloatInsert): remove 'wide' version of floats
8818 * MenuBackend.h (submenuname): returns the name of the submenu.
8819 (submenu): returns the submenu itself, provided it has been
8820 created by MenuBackend::expand
8822 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8824 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8825 insets which have noFontChange == true. (bug #172)
8827 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8829 * BufferView_pimpl.C: add connection objects and use them...
8832 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8834 * MenuBackend.C (expandLastfiles):
8837 (expandFloatListInsert):
8838 (expandFloatInsert):
8839 (expand): split expand in parts
8841 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8843 * lyx_gui.C: use lyx_gui::exit()
8845 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8847 * LyXAction.C: show the failing pseudo action
8849 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8851 * buffer.C (readFile): Run the lyxconvert script in order to read
8854 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8858 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8860 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8864 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8866 2002-07-22 Herbert Voss <voss@lyx.org>
8869 * lyxlength.[Ch]: add support for the vertical lengths
8871 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8873 * toc.[Ch]: std:: fixes
8875 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8877 * lyxrc.C: do not include lyx_main.h
8879 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8885 * BufferView2.C: include "lyxlex.h"
8888 * bufferparams.h: do not #include "lyxlex.h"
8890 * lyxtextclasslist.C (Add): remove method
8891 (classlist): renamed to classlist_
8893 * paragraph_pimpl.C:
8897 * bufferview_funcs.C:
8902 * toc.C (getTocList): use BufferParams::getLyXTextClass
8904 * toc.C (getTocList): use InsetFloat::addToToc
8906 * toc.[Ch]: new files, containing helper functions to handle table
8909 * lyxfunc.C (dispatch): no need to remove spaces around command
8911 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8912 first command of the sequence; it is not very clever, but I do not
8913 have a better idea, actually
8915 * LyXAction.C (LookupFunc): make sure to remove space at the
8916 beginning and end of the command
8918 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8920 * MenuBackend.C (getMenubar): new method: return the menubar of
8922 (read): treat differently reading of menu and menubar (in
8923 particular, the menubar has no name now)
8924 (Menu::menubar): remove
8926 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8929 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8931 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8932 a bibitem inset in a RTL paragraph.
8934 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8936 * paragraph_pimpl.C: constify
8938 * BufferView_pimpl.C:
8940 * lyxfunc.C: fix dispatch in a nicer way
8942 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8944 * lyxfunc.C (dispatch):
8945 * BufferView_pimpl.C:
8946 * BufferView_pimpl.h:
8948 * BufferView.h: rename Dispatch() to dispatch()
8950 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8952 * lyxlayout.C (Read): honor DependsOn tag
8954 * lyxlayout.[Ch] (depends_on): new method
8956 * version.C.in: update lyx_docversion
8958 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8960 * paragraph.C (validate): remove from here...
8961 * paragraph_pimpl.C (validate): ... and move here
8962 (isTextAt): make it const
8964 * buffer.C (getLists): ws cleanup
8966 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8968 * language.C (read): Use iso8859-1 encoding in latex_lang
8969 (this prevents LyX from crashing when using iso10646-1 encoding).
8971 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8973 * text2.C (toggleInset): if cursor is inside an inset, close the
8974 inset and leave cursor _after_ it
8976 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8978 * lyxfunc.C: move minibuffer completion handling out of here
8980 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8982 * BufferView_pimpl.C:
8983 * LaTeX.C: fix dispatch calls
8985 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8987 * text.C (drawChars): Fix Arabic text rendering.
8989 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8993 * lyxfunc.C: remove message-push/pop
8997 * lyxfunc.C: rationalise some code by removing verboseDispatch
8998 in favour of a bool argument to dispatch()
9000 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9002 * lyx_main.C (init): make sure to read symlinks as absolute paths
9004 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9007 * lyxfunc.C: no need for commandshortcut to be a member
9009 2002-07-15 André Pönitz <poenitz@gmx.net>
9011 * converter.C: add support for $$s (scripts from lib/scripts dir)
9012 * lyx_main.C: white space
9014 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9018 * lyxrc.C: remove second exit confirmation
9020 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9025 * BufferView_pimpl.h:
9026 * BufferView_pimpl.C:
9027 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9029 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9031 * MenuBackend.C (expand): add numeric shortcuts to document menu
9033 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9035 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9037 * lyxfont.C (setLyXFamily):
9044 * buffer.C (asciiParagraph): use ascii_lowercase
9046 2002-07-15 Mike Fabian <mfabian@suse.de>
9048 * lyxlex_pimpl.C (search_kw):
9049 * lyxlex.C (getLongString):
9050 * converter.h (operator<):
9051 * converter.C (operator<):
9052 * buffer.C (parseSingleLyXformat2Token):
9054 * ToolbarDefaults.C (read):
9055 * MenuBackend.C (checkShortcuts):
9057 * LColor.C (getFromGUIName):
9058 (getFromLyXName): use the compare_ascii_no_case instead of
9059 compare_no_case, because in turkish, 'i' is not the lowercase
9060 version of 'I', and thus turkish locale breaks parsing of tags.
9062 2002-07-16 Angus Leeming <leeming@lyx.org>
9064 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9065 now takes a Buffer const & argument.
9067 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9069 * BufferView.C (resize): check there's a buffer to resize
9071 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9073 * lyxfunc.C: remove dead code
9076 * lyxserver.C: use lyx_guii::set_read_callback
9078 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9080 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9081 an inset in a RTL paragraph.
9083 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9085 * lyxfunc.C: repaint after a font size update
9087 2002-07-15 André Pönitz <poenitz@gmx.net>
9089 * lyxlength.C: inBP should be able to return negative values
9091 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9093 * lyxfunc.C: use lyx_gui::update_fonts()
9095 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9097 * lyxfunc.C: use lyx_gui::update_color()
9099 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9105 * lyxrc.C: remove file->new asks for name option, and let
9106 buffer-new take an argument
9108 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9110 * BufferView_pimpl.C: remove unneeded extra repaint()
9112 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9114 * LyXAction.C: allow command-sequence with NoBuffer
9116 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9118 2002-07-10 Angus Leeming <leeming@lyx.org>
9120 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9122 2002-07-09 Angus Leeming <leeming@lyx.org>
9124 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9126 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9128 * lengthcommon.h: whitespace
9130 * lyxfunc.C: update scrollbar after goto paragraph
9132 * lyxtext.h: factor out page break drawing, and fix it so
9133 page break/added space paints as selected nicely
9135 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9137 * BufferView_pimpl.C: add FIXMEs, clean up a little
9139 2002-07-09 André Pönitz <poenitz@gmx.net>
9141 * lyxfont.[Ch]: support for wasy symbols
9143 2002-07-08 André Pönitz <poenitz@gmx.net>
9145 * BufferView_pimpl.C: apply John's patch for #93.
9147 2002-07-05 Angus Leeming <leeming@lyx.org>
9149 * BufferView_pimpl.C (buffer): generate previews if desired.
9151 * LColor.h: add "preview" to the color enum.
9153 * LColor.C (LColor): add a corresponding entry to the items array.
9155 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9158 2002-07-05 Angus Leeming <leeming@lyx.org>
9160 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9161 The body of the code is now in the method that is passed an ostream &
9162 rather than a file name.
9163 Pass an additional only_preamble parameter, useful for the forthcoming
9166 2002-07-03 André Pönitz <poenitz@gmx.net>
9168 * lyxfunc.C: simplify getStatus() a bit for math stuff
9170 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9172 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9174 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9176 * text.C (changeRegionCase): do not change case of all the
9177 document when region ends at paragraph end (bug #461)
9179 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9181 * paragraph.C (startTeXParParams):
9182 (endTeXParParams): add \protect when necessary
9184 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9186 * BufferView_pimpl.C (workAreaExpose): remove warning
9188 2002-06-27 Angus Leeming <leeming@lyx.org>
9190 * Makefile.am: add lyxlayout_ptr_fwd.h.
9192 2002-06-26 André Pönitz <poenitz@gmx.net>
9194 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9196 2002-06-25 Angus Leeming <leeming@lyx.org>
9198 * lyxfunc.C (dispatch): Comment out the call to
9199 grfx::GCache::changeDisplay. The method no longer exists now that the
9200 pixmap generation part of the graphics loader has been moved into
9203 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9205 * text2.C: layout as layout
9207 * text.C: layout as layout
9209 * tabular.C (OldFormatRead): layout as layout
9211 * paragraph_pimpl.C (TeXDeeper): layout as layout
9212 (realizeFont): layout as layout
9214 * paragraph.C (writeFile): layout as layout
9215 (validate): layout as layout
9216 (getFont): layout as layout
9217 (getLabelFont): layout as layout
9218 (getLayoutFont): layout as layout
9219 (breakParagraph): layout as layout
9220 (stripLeadingSpaces): layout as layout
9221 (getEndLabel): layout as layout
9222 (getMaxDepthAfter): layout as layout
9223 (applyLayout): layout as layout
9224 (TeXOnePar): layout as layout
9225 (simpleTeXOnePar): layout as layout
9226 (TeXEnvironment): layout as layout
9227 (layout): layout as layout
9228 (layout): layout as layout
9230 * lyxtextclass.C (compare_name): new functor to work with
9231 shared_ptr, layout as layout
9232 (Read): layout as layout
9233 (hasLayout): layout as layout
9234 (operator): layout as layout
9235 (delete_layout): layout as layout
9236 (defaultLayout): layout as layout
9238 * lyxlayout_ptr_fwd.h: new file
9240 * lyxlayout.C (Read): layout as layout
9242 * lyx_cb.C (MenuInsertLabel): layout as layout
9244 * bufferlist.C (newFile): layout as layout
9246 * buffer.C (readLyXformat2): layout as layout
9247 (parseSingleLyXformat2Token): layout as layout
9248 (insertStringAsLines): layout as layout
9249 (asciiParagraph): layout as layout
9250 (latexParagraphs): layout as layout
9251 (makeLinuxDocFile): layout as layout
9252 (simpleLinuxDocOnePar): layout as layout
9253 (makeDocBookFile): layout as layout
9254 (simpleDocBookOnePar): layout as layout
9255 (getLists): layout as layout
9257 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9259 * CutAndPaste.C (cutSelection): layout as layout
9260 (pasteSelection): layout as layout
9261 (SwitchLayoutsBetweenClasses): layout as layout
9263 * BufferView_pimpl.C (Dispatch): layout as layout
9264 (smartQuote): layout as layout
9266 * BufferView2.C (unlockInset): layout as layout
9268 2002-06-24 André Pönitz <poenitz@gmx.net>
9270 * lyxfunc.C: fix #487
9272 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9276 * lyxfunc.C: remove display_shortcuts, show_banner
9278 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9280 * Buffer_pimpl.C: oops, update on resize
9282 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9289 * BufferView.C: use repaint()
9291 * BufferView_pimpl.h:
9292 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9293 as it's a clearer description. Remove superfluous
9296 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9298 * text.C: fix bug 488. Not ideal, but getting
9299 getWord() to work properly for the insets that
9300 matter is more difficult ...
9302 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9304 * BufferView_pimpl.C:
9307 * lyxfunc.C: remove the six million index lyxfuncs to just
9308 one, and DTRT (bug 458)
9310 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9314 * BufferView_pimpl.h:
9315 * BufferView_pimpl.C: clean up resize() stuff,
9316 and unnecessary updateScreen()s
9318 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9322 * BufferView_pimpl.h:
9323 * BufferView_pimpl.C:
9326 * minibuffer.C: remove focus management of workarea,
9327 not needed. Use screen's greyOut()
9329 2002-06-17 Herbert Voss <voss@lyx.org>
9331 * converter.C: (convert) do not post a message, when converting
9332 fails, let the calling function decide what to do in this case
9334 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9336 * lyxfunc.C: tidy up a little
9338 2002-06-16 <alstrup@diku.dk>
9340 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9341 Got rid of FORMS_H_LOCATION include. Now we are
9344 2002-06-15 LyX Development team <lyx@rilke>
9346 * buffer.[Ch] (sgmlOpenTag):
9347 (sgmlCloseTag): Added support for avoiding pernicious mixed
9348 content. Return number of lines written.
9351 (makeDocBookFile): Fixed calls to sgml*Tag.
9352 Simple white space clean.
9354 (simpleDocBookOnePar): Simple white space clean.
9356 * tabular.[Ch] (docBook): Renamed to docbook and got another
9357 argument to related with the pernicious mixed content.
9359 (docbookRow): Fixed calls for docbook inset method.
9361 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9363 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9364 so it's X11 independent.
9368 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9370 2002-06-15 Lyx Development team <lyx@electronia>
9372 * intl.h: Renamed getTrans to getTransManager.
9374 2002-06-14 Angus Leeming <leeming@lyx.org>
9376 * Makefile.am: nuke forgotten stl_string_fwd.h.
9378 2002-06-12 Angus Leeming <leeming@lyx.org>
9380 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9382 2002-06-13 Angus Leeming <leeming@lyx.org>
9385 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9387 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9389 * kbmap.C (getiso): add support for cyrillic and greek
9391 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9395 * BufferView_pimpl.h:
9396 * BufferView_pimpl.C: move bogus scrolling logic
9399 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9402 * BufferView_pimpl.C: view->resize() change
9404 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9406 * BufferView_pimpl.C: topCursorVisible
9409 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9413 * lyx_gui.C: move to frontends/
9417 * lyx_main.C: changes from above
9419 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9426 * lyx_main.C: minor tidy
9428 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9430 * BufferView_pimpl.h:
9431 * BufferView_pimpl.C:
9433 * BufferView.C: make painter() const,
9436 * BufferView2.C: use screen() accessor
9439 * lyx_main.C: some minor cleanup
9441 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9443 * BufferView_pimpl.h:
9444 * BufferView_pimpl.C: remove enter/leaveView,
9447 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9452 * BufferView_pimpl.h:
9453 * BufferView_pimpl.C: only construct screen once,
9456 * lyxrc.C: remove pointless comment
9458 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9461 * BufferView.C: remove active() and belowMouse()
9463 * BufferView_pimpl.h:
9464 * BufferView_pimpl.C: use workarea() not workarea_,
9465 and make it use a scoped_ptr instead
9467 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9469 * lyx_gui.C: add debug message on BadWindow
9471 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9473 * sp_spell.C: fdopen is not part of the C++ standard.
9475 * paragraph.C (InsetIterator): use >= instead of ==
9477 2002-06-07 Angus Leeming <leeming@lyx.org>
9479 Fixes needed to compile with Compaq cxx 6.5.
9480 * BufferView_pimpl.C:
9487 * lyxtextclasslist.C:
9492 all c-library variables have been moved into namespace std. Wrap
9493 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9498 Add a using std::abs declaration.
9500 * kbmap.h (modifier_pair):
9501 * paragraph.h (InsetTable, InsetList):
9502 * lyxfont.h (FontBits):
9503 type definition made public.
9505 * bufferlist.C (emergencyWriteAll): the compiler complains that
9506 there is more than one possible lyx::class_fun template to choose from.
9507 I re-named the void specialisation as lyx::void_class_fun.
9509 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9511 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9512 the compiler is is unable to find tostr in write_attribute.
9514 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9516 * buffer.C (sgmlError): hide #warning
9518 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9520 * xtl/*: get rid of xtl, which is not in use anyway
9522 * LyXAction.C (init):
9523 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9524 were unimplemented xtl experimentation
9526 2002-06-04 André Pönitz <poenitz@gmx.net>
9528 * lyxfunc.C: disable array operation on simple formulae
9530 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9532 * converter.C: constify a bit
9534 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9536 * lyx_gui.C: check xforms version correctly
9538 2002-04-30 Herbert Voss <voss@lyx.org>
9540 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9543 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9545 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9546 attempt to register it with a VCS)
9548 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9550 * lyx_main.C (init): honor variables LYX_DIR_13x and
9553 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9557 * lyx_main.C: fix a crash on bad command line,
9558 and give a useful exit status on error
9560 * lyxfunc.C (doImport): allow -i lyx to work
9562 2002-03-30 André Pönitz <poenitz@gmx.net>
9564 * lyxfunc.C: mathed font changes
9566 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9581 * trans_mgr.h: srcdocs, and some minor cleanups
9583 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9585 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9586 call getFont all the time)
9588 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9590 * switch from SigC signals to boost::signals
9592 2002-05-29 André Pönitz <poenitz@gmx.net>
9594 * paragraph_pimpl.C (getChar): don't call size() too often...
9596 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9598 * paragraph_pimpl.C (insertChar): do not try to update tables when
9599 appending (pos == size())
9601 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9602 in order to reduce drastically the number of comparisons needed to
9603 parse a large document
9605 2002-05-29 André Pönitz <poenitz@gmx.net>
9611 * textclasslist.[Ch]:
9612 * sp_ispell.h: whitespace change
9614 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9616 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9617 lyxaction directly now.
9619 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9623 * lyxvc.C: remove unused headers
9625 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9632 * undo_funcs.C: some cleanups. Use shared_ptr
9633 and a template for the undo stacks.
9635 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9637 * BufferView_pimpl.h:
9638 * BufferView_pimpl.C:
9645 * text2.C: use key_state/mouse_state
9647 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9649 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9652 * chset.C: change include order
9653 (loadFile): use boost regex and get rid of LRegex and LSubstring
9655 * Makefile.am (BOOST_LIBS): new variable
9658 * LaTeX.C: change include order.
9659 (scanAuxFile): use boost regex and get rid of LRegex and
9663 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9668 * FontInfo.C: moved to frontends/xforms/
9671 * FontLoader.C: moved into frontends for GUIIzation
9676 * lyxfunc.C: changes from above
9678 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9680 * LColor.C: remove spurious X include
9682 * BufferView_pimpl.C:
9687 * text2.C: move font metrics to frontends/
9689 2002-05-24 Juergen Vigna <jug@sad.it>
9691 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9692 setting the undo_cursor.
9694 * ParagraphParameters.h: include local includes first.
9696 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9698 * BufferView_pimpl.C:
9699 * BufferView_pimpl.h:
9703 * screen.C: move WorkArea into frontends/
9709 * BufferView2.C: move LyXScreen into frontends/
9713 * lyx_gui.C: move lyxlookup into frontends/xforms/
9715 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9718 * BufferView_pimpl.C:
9728 * bufferview_funcs.C:
9741 * vc-backend.C: move LyX/XFormsView into frontends/
9743 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9755 * text2.C: move Painter to frontends/
9757 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9759 * buffer.C: comment out some some code that depend upon lyx_format
9762 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9763 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9765 * buffer.h (NO_COMPABILITY): turn off compability
9767 * ColorHandler.C: include scoped_array.hpp
9769 * font.C: Use more specific smart_ptr header.
9772 * ShareContainer.h: ditto
9776 * BufferView_pimpl.h: ditto
9777 * ColorHandler.h: ditto
9779 * kbmap.C (defkey): change call to shared_ptr::reset
9781 2002-05-21 Juergen Vigna <jug@sad.it>
9783 * buffer.C (insertErtContents): fix to insert ert asis if it is
9784 non empty. Skip it completely if it contains only whitespaces.
9786 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9788 * BufferView_pimpl.C:
9789 * BufferView2.C: clear selection on paste (bug 393)
9791 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9793 * DepTable.C: include ctime
9795 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9797 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9799 2002-05-14 Juergen Vigna <jug@sad.it>
9801 * text.C (breakParagraph): fixed function to honor the keepempty
9802 layout in the right maner and also to permit the right breaking
9803 algorithm on empty or non empyt keepempty paragraphs.
9805 * paragraph.C (breakParagraph): we have to check also if the par
9806 is really empty (!size()) for isempty otherwise we do the wrong
9809 2002-05-10 Juergen Vigna <jug@sad.it>
9811 * buffer.[Ch] : The following are only changes to the ert
9812 compatibility read reading old LaTeX layout and font stuff and
9813 convert it to ERTInsets.
9815 * buffer.h: added isErtInset().
9817 * buffer.C (struct ErtComp): add a fromlayout bool to check
9818 if we're inside a LaTeX layout.
9819 (isErtInset): new helper function.
9820 (insertErtContents): look for other ert insets before this one
9821 and insert the contents there, so that we don't have subsequent
9822 ERT insets with nothing between them. This way we create only one
9823 inset with multiple paragraphs. Also check if we don't insert only
9824 spaces ' ' as they are ignored anyway afterwards in the .tex file
9825 so if we have only spaces we will ignore this latex part in the
9827 (parseSingleLyXformat2Token \\layout): better compatibility when
9828 reading layout-latex stuff.
9829 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9831 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9832 stuff after reading the inset only get the information back from
9835 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9837 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9839 * LaTeXFeatures.C (getBabelOptions): New method.
9841 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9843 * BufferView_pimpl.C (Dispatch): work around missing argument for
9846 2002-05-08 Juergen Vigna <jug@sad.it>
9848 * text.C (leftMargin): handle paragraph leftindent.
9850 * paragraph.C (writeFile): write the new \\leftindent tag.
9851 (validate): handle leftindent code.
9852 (TeXEnvironment): handle paragraphleftindent code again.
9854 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9856 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9857 for paragrap_extra indent code and new token \\leftindent.
9858 (latexParagraphs): handle the leftindent as environment.
9860 * ParameterStruct.h: added leftindent support.
9862 * ParagraphParameters.C (leftIndent): added support functions for
9863 the paragraph left indent.
9865 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9868 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9870 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9873 * text.C (computeBidiTables): No bidi in insetERT.
9875 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9878 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9880 * version.C.in: pre 5
9882 2002-05-02 José Matos <jamatos@fep.up.pt>
9883 * buffer.C (makeDocBookFile): white space changes, add newline to
9885 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9887 * tabular.C (docBook): fix typo.
9889 2002-05-03 Juergen Vigna <jug@sad.it>
9891 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9892 change in LyXText as we can not be sure it was not freed.
9893 (drawOneRow): remove unused code.
9895 * text.C (drawInset): redo the calculation of the need_break_row as
9896 it could have a row which was already freed.
9897 (draw): look at the return value of drawInset and return false if
9898 it also returned false.
9899 (paintRowText): look at the return value of draw and return false if
9900 it also returned false.
9902 * lyxtext.h: added bool return type to drawInset() and draw() so that
9903 if we have a change in the row so that the rowbreak has to be redone
9904 we abort drawing as it will be called again.
9906 2002-05-02 Juergen Vigna <jug@sad.it>
9908 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9909 a change in the maintext also if we're inside an inset.
9910 (Dispatch): set the cursor again after a break line and after the
9911 screen has been updated as it could be we're in a different row.
9913 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9914 to set the cursor behind the pargraph with > size().
9915 (setCursor): check also for the same paragraph when checking where
9916 to put the cursor if we have a NFR inset.
9918 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9919 parts of layout read further up as it still was in the wrong
9922 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9924 * screen.C (drawFromTo): change sine fullRebreak always return
9927 * buffer.C (parseSingleLyXformat2Token): reindent some
9929 * BufferView_pimpl.C (update): change since fullRebreak always
9931 (Dispatch): git rid of the last hardcoded "Standard"s.
9933 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9935 * text2.[Ch] (fullRebreak): make it return void now that we always
9938 2002-04-30 Juergen Vigna <jug@sad.it>
9940 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9941 ert compatibility check for "latex" layout.
9943 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9945 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9946 minipages: use col% instead of p%, and also use the current font.
9947 (makeLaTeXFile): Fix use babel condition.
9948 (parseSingleLyXformat2Token): Correct font when reading old floats.
9950 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9952 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9953 inserting list of floats.
9955 2002-04-25 Herbert Voss <voss@lyx.org>
9957 * MenuBackend.C (expand): don't add the graphics extensions to the
9960 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9962 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9963 non-existing layout, do not complain if it was the default layout
9964 of the original class (bug #342)
9966 2002-04-24 Juergen Vigna <jug@sad.it>
9968 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9969 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9971 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9973 * buffer.C (getBibkeyList): If using \bibliography, return the
9974 option field with the reference itself. Enables us to provide natbib
9975 support when using \bibliography.
9977 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9979 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9981 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9982 natbib is provided by the LaTeX class.
9984 2002-04-23 Juergen Vigna <jug@sad.it>
9986 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9989 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9991 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9993 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9995 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9996 ensuremath around textordmasculine, textordfeminine and
9999 2002-04-19 Juergen Vigna <jug@sad.it>
10001 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10002 reinitializing the buffer otherwise row-dimensions may be wrong.
10003 (update): reset also the selection cursors if they do exits otherwise
10004 their x/y positions may be wrong.
10006 * text2.C (cursorDown): don't enter the inset if we came from a row
10007 above and are one row over the inset.
10009 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10010 really leaving an inset.
10012 2002-04-18 Juergen Vigna <jug@sad.it>
10014 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10015 of the selected paragraph does not have the selected layout also if
10018 * text2.C (setLayout): fixed bug which did not change last selected
10021 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10022 changed the read and substituted \\end_float with \\end_inset!
10024 * BufferView_pimpl.C (cursorPrevious):
10025 (cursorNext): fixed to make it work with rows heigher than the work
10026 area without moving the cursor only the draw of the row.
10027 (workAreaMotionNotify): fix jumping over high rows.
10029 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10031 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10034 2002-04-16 Juergen Vigna <jug@sad.it>
10036 * text2.C (setCursor): set also the irow().
10037 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10039 (cursorDown): support for locking an inset if the x_fix value goes
10040 inside it. That way I can transverse insets too with cursor up/down.
10042 * lyxrow.h: added irow helper function same as other (i) functions.
10044 * BufferView_pimpl.C (cursorPrevious):
10045 (cursorNext): fixed for insets!
10047 2002-04-15 Juergen Vigna <jug@sad.it>
10049 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10050 position otherwise it is wrong in some cases.
10052 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10053 inside the inset before the call.
10055 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10057 * buffer.[Ch] (getBibkeyList): make it const.
10059 2002-04-12 Juergen Vigna <jug@sad.it>
10061 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10063 * text2.C (getCursorX): new helper function
10064 (setCursor): compute also ix_
10065 (setCursorFromCoordinates): set also ix.
10067 * lyxcursor.h: added ix_ and helper functions.
10069 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10071 * buffer.C (insertStringAsLines): dont break paragraph if the this
10072 paragraph is inside an inset which does not permit it!
10074 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10075 also with no chars on this paragraph.
10076 (paintRowText): only paint stuff if it's inside the workarea!
10078 * paragraph.C (breakParagraph): honor keepempty flag and break the
10079 paragraph always below not above.
10081 * BufferView2.C (unlockInset): update the paragraph layout on inset
10082 unlock as we changed paragraph in such a case.
10084 * lyxfind.C (LyXFind): clear the former selection if not found!
10086 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10087 again called in insertChar().
10089 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10090 an inset which uses the whole row!
10091 (rightMargin): ditto.
10092 (insertChar): force a rebreak if we inserted an inset!
10094 2002-03-28 Herbert Voss <voss@lyx.org>
10096 * lyxlength.[Ch]: add inBP() to get the right PS-point
10097 units (BigPoint). With inPixels we have rounding errors
10099 2002-04-11 Juergen Vigna <jug@sad.it>
10101 * text2.C (setCursorFromCoordinates): set iy to the right value.
10102 (setCursor): add check if row->previous exists!
10104 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10105 an old float_type as this was the case in the old code!
10107 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10109 * BufferView2.C (showLockedInsetCursor): use iy
10110 (fitLockedInsetCursor): ditto
10112 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10113 locked insets as there we have the right value now.
10115 * lyxcursor.C: added iy_ variable and iy functions to set to the
10116 baseline of cursor-y of the locked inset.
10118 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10119 (setCursor): fixed for insets which need a full row.
10121 * text.C (rowLastPrintable): don't ignore the last space when before
10122 an inset which needs a full row.
10123 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10124 as last character of a row when before a inset which needs a full row.
10126 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10128 * version.C.in: update date
10130 * text2.C (fullRebreak): try to always return true and see what
10133 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10135 * MenuBackend.C (expand): use Floating::listName
10137 * FloatList.C (FloatList): add listName argument to the built-in
10140 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10141 text associated with the float.
10143 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10145 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10147 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10149 * ShareContainer.h: add a couple of missing typenames.
10151 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10153 * lyxrc.C (getDescription): use _() correctly rather than N_().
10155 2002-03-28 Herbert Voss <voss@lyx.org>
10157 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10158 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10160 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10162 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10163 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10165 2002-03-29 Juergen Vigna <jug@sad.it>
10167 * lyxfunc.C (dispatch): add a missing fitCursor call.
10169 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10170 it was scrolled by a cursor move, so return the bool status.
10172 * BufferView.C (fitCursor): return the bool flag also to the outside
10173 world as this is needed.
10175 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10177 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10178 call the edit() as it is not needed (and wrong) IMO.
10179 (workAreaButtonPress): set the screen_first variable before evt.
10180 unlock the inset as this may change screen_first and then we have
10181 a wrong y position for the click!
10183 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10185 * MenuBackend.C (expand): another translation that I missed
10187 2002-03-28 Juergen Vigna <jug@sad.it>
10189 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10191 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10193 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10195 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10197 * MenuBackend.C (expand): fix export/view/update when there is no
10200 2002-03-27 Herbert Voss <voss@lyx.org>
10202 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10205 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10207 * bufferview_funcs.C (currentState): only show paragraph number
10208 for is DEVEL_VERSION is set.
10210 * lyxfunc.C (dispatch): put warning in INFO channel
10212 * MenuBackend.C (expand): translate the name of floats
10214 * FloatList.C (FloatList): mark the float names for translation
10216 * converter.C (convert): use LibScriptSearch
10218 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10220 * MenuBackend.C (defaults): fix default menu (we might as well get
10223 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10225 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10228 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10230 * lyxvc.C: reorder includes.
10232 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10234 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10237 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10239 * CutAndPaste.C: change layouts earlier on paste
10240 to avoid crashing when calling getFont()
10242 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10244 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10247 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10249 * WorkArea.C: remove 'Pending' debug message.
10251 * most files: ws cleanup
10253 * buffer.[Ch]: ws changes
10255 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10257 2002-03-21 Juergen Vigna <jug@sad.it>
10259 * tabular.C (SetMultiColumn): collapse also the contents of the
10260 cells and set the last border right. Added a Buffer const * param.
10262 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10264 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10267 2002-03-19 Juergen Vigna <jug@sad.it>
10269 * text2.C (clearSelection): reset also xsel_cache.
10271 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10272 where it needs to be called (John tells us to do so too :)
10273 (selectionLost): reset sel_cache.
10275 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10277 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10279 * text2.C (setCursorIntern): put debuging code in INSETS channel
10281 2002-03-19 André Pönitz <poenitz@gmx.net>
10283 * lyxfunc.C: tiny whitespace change
10285 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10287 * ToolbarDefaults.C (init):
10288 * LyXAction.C (init):
10290 * BufferView_pimpl.C (Dispatch):
10291 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10293 2002-03-19 Allan Rae <rae@lyx.org>
10295 * exporter.C (Export): removeAutoInsets before doing anything else.
10296 While I've just introduced a dependency on BufferView this really is
10297 the best place to clean the buffer otherwise you need to cleanup in
10298 a dozen places before calling export or cleanup in a dozen functions
10301 * converter.C (runLaTeX):
10302 (scanLog): Better handling of removeAutoInsets and screen updates.
10304 * lyxfunc.C (dispatch): small whitespace changes
10306 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10308 * WorkArea.C (C_WorkAreaEvent): return a value.
10309 (event_cb): return 1 if we handled the event, 0 otherwise.
10311 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10313 2002-03-18 Juergen Vigna <jug@sad.it>
10315 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10316 (GetAdditionalWidth): ditto.
10317 (RightLine): ditto.
10320 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10321 inset if we're there actually (probably not used right now but this
10322 is the direction to go for unifying code).
10323 (paste): disable code to clear the selection.
10325 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10326 inside an InsetText and move the check further up as it is in the
10329 * text2.C (pasteSelection): set a selection over the pasted text.
10331 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10333 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10334 and libgraphics to build on Cygwin.
10336 2002-03-15 Juergen Vigna <jug@sad.it>
10338 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10339 inserting an Inset into the paragraph. I know this is not the best
10340 fix but we already use current_view in CutAndPaste so we will remove
10341 all of it's using at the same time.
10343 * buffer.C (sgmlError): deactivated function till it is rewritten in
10344 the right mode, now it can create problems.
10346 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10347 before accessing it.
10349 2002-03-14 Juergen Vigna <jug@sad.it>
10351 * undo_funcs.C (textHandleUndo): do the right thing when updating
10352 the inset after the undo/redo.
10354 * text2.C (setCursor): just some testcode for #44 not ready yet.
10356 * undo_funcs.C (textHandleUndo): set the next() and previous()
10357 pointers of the paragraph to 0 before deleting otherwise we have
10358 problems with the Paragraph::[destructor].
10360 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10361 on a paragraph insertion.
10363 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10365 * buffer.C (asciiParagraph): use += operator for char append to
10368 * paragraph.C (getFontSettings): compare >= not just >
10369 (highestFontInRange): ditto
10372 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10374 * paragraph.C: change several algorithm to be more appripriate for
10375 the problem domain. This is lookip in FontList and in the InsetList.
10377 2002-03-13 André Pönitz <poenitz@gmx.net>
10380 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10382 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10387 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10389 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10391 * Painter.C (display): anon helper function, adjust code for this
10393 (pixmap): remove function.
10395 * Painter.h: remove private display variable.
10397 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10399 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10401 * WorkArea.[Ch]: remove figinset_canvas cruft.
10403 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10405 * lyxtextclass.C (operator): add one item cache optimization.
10407 * bufferlist.h: doxy changes
10409 * bufferlist.C: ws changes
10411 * DepTable.[Ch] (ext_exist): place const in the right spot.
10413 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10415 (workAreaExpose): call resizeInsets when the with BufferView changes.
10416 (Dispatch): adjust for protectedBlank removal
10417 (specialChar): call updateInset if the insert went ok.
10419 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10420 specialChar instead.
10422 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10424 * BufferView.h: doxy change
10426 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10428 * lyxtextclass.C (operator[]): remove non-const version
10429 (defaultLayout): remove non-const version
10431 2002-03-12 Juergen Vigna <jug@sad.it>
10433 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10434 did resize the LyXText too.
10436 * buffer.C (readLyXformat2): set layout information on newly allocated
10439 * tabular.C (OldFormatRead): set layout information on the paragraph.
10441 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10443 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10445 2002-03-11 Juergen Vigna <jug@sad.it>
10447 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10449 (resizeCurrentBuffer): force also the insets to resize themselfes.
10450 (moveCursorUpdate): fixed up for InsetText.
10452 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10455 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10456 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10457 value of Dialogs::tooltipsEnabled().
10458 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10460 2002-03-08 Juergen Vigna <jug@sad.it>
10462 * BufferView_pimpl.C (updateInset): update inset inside inset also
10463 if it isn't inside theLockingInset().
10465 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10467 * buffer.C (asciiParagraph): redo some of the word and line length
10469 (getLists): look for Caption instead of caption.
10471 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10473 * buffer.C (Buffer): initialize niceFile to true
10475 (makeLinuxDocFile):
10476 (makeDocBookFile): make sure niceFile is true on exit
10478 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10480 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10482 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10484 * LyXSendto.C: remove.
10485 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10486 * lyx_gui.C: remove now-redundant comment.
10487 * ColorHandler.h: remove forward declaration of class WorkArea.
10488 * lyxfunc.C: remove #include "WorkArea.h".
10490 2002-03-07 Juergen Vigna <jug@sad.it>
10492 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10493 got moved away with the DEPM and also set the inset_owner always
10494 right which before could have been omitted.
10496 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10498 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10499 wanted layout is not found.
10501 2002-03-07 Juergen Vigna <jug@sad.it>
10503 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10505 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10507 * paragraph.C (breakParagraph): use default layout not layout of
10509 (Paragraph): clear ParagraphParameters.
10511 2002-03-06 Juergen Vigna <jug@sad.it>
10513 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10514 otherwise it would not be a valid lenght. Fixed a special case in
10515 the minipage compatibility read where we end the document with a
10518 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10519 was set as it could be 0 for InsetTexts first entry.
10521 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10523 * paragraph.C (writeFile): if layout is empty write out
10524 defaultLayoutName().
10526 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10527 file without named layout we set layout to defaultLayoutName().
10529 2002-03-06 Juergen Vigna <jug@sad.it>
10531 * CutAndPaste.C (copySelection): set layout for new paragraph.
10533 * text.C (prepareToPrint): leave ERT inset left aligned
10534 (leftMargin): don't indent paragraphs inside ERT insets
10536 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10538 * paragraph.C (breakParagraph): dont call clear do the work manually
10540 * paragraph.[Ch] (clear): remove function
10542 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10544 * paragraph.C (Paragraph): dont call clear, the work has already
10547 * lyxtextclass.C (operator): assert if n is empty
10549 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10550 work manually instead.
10552 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10554 * BufferView_pimpl.C: protect selectionLost against text == 0
10556 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10558 * text.C (breakParagraph): fix a setting layout to '0' problem.
10560 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10562 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10563 final location of file, for the included files, and graphics.
10565 2002-03-05 Juergen Vigna <jug@sad.it>
10567 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10569 2002-03-04 Juergen Vigna <jug@sad.it>
10571 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10573 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10574 last column of multicolumn cells.
10575 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10577 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10579 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10580 file if it doesn't go to a temporary file.
10582 * buffer.C (sgmlOpenTag):
10583 (sgmlCloseTag): remove extra newline insertion.
10585 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10587 * text.C (getRowNearY): comment out debug msg
10589 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10591 * text2.C: first -> first_y
10593 * text.C (getRowNearY): add some attemts at a possible
10594 optimization, not working.
10596 * tabular.[Ch]: add BufferParams to several function so that newly
10597 created paragraph can be initialized to he default layotu for the
10600 * tabular-old.C (ReadOld): add buf->params to call of Init
10602 * screen.C: rename text->first to text->first_y
10604 * paragraph.C (breakParagraph): always set layout in the broken
10607 * lyxtextclass.C (Read): remove lowercase
10610 (delete_layout): ditto
10612 * lyxtext.h: rename first -> first_y
10614 * lyxlayout.C (Read): remove lowercase
10617 (obsoleted_by): ditto
10619 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10621 * buffer.C (insertErtContents): add params are to InsetERT
10622 (parseSingleLyXformat2Token): add code to check if a paragraphs
10623 layout really exist.
10624 (parseSingleLyXformat2Token): add params to several inset
10626 (asciiParagraph): remove lowercase, do the layout comparisons with
10629 * BufferView_pimpl.C (cursorNext): first -> first_y
10630 (resizeCurrentBuffer): first -> first_y
10631 (updateScrollbar): first -> first_y
10632 (scrollCB): first -> first_y
10633 (workAreaMotionNotify): first -> first_y
10634 (workAreaButtonPress): first -> first_y
10635 (checkInsetHit): first -> first_y
10636 (cursorPrevious): first -> first_y
10637 (cursorNext): first -> first_y
10638 (Dispatch): add buffer_->params to severl inset contructors
10640 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10642 * lyxlayout.C (Read): remove some debug info that I forgot.
10644 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10645 clean up the code slightly.
10646 (makeLinuxDocFile): ditto
10647 (makeDocBookFile): ditto
10649 * text2.C: layout as string
10651 * text.C: layout as string
10653 * paragraph_pimpl.C: layout as string
10655 * paragraph.[Ch]: layout as string
10657 * lyxtextclasslist.[Ch]: layout as string
10659 * lyxtextclass.[Ch]: layout as string
10661 * lyxtext.h: layout as string
10663 * lyxlayout.[Ch]: layout as string
10665 * lyx_cb.C: layout as string
10667 * bufferview_funcs.C: layout as string
10669 * bufferparams.C: layout as string
10671 * buffer.C: layout as string
10673 * LyXView.[Ch]: layout as string
10675 * LaTeXFeatures.[Ch]: layout as string
10677 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10679 * BufferView_pimpl.C: change current_layout to string, remove
10684 (workAreaButtonRelease): layout as string
10686 * BufferView2.C (unlockInset): adjust
10688 * vspace.C (asLatexCommand): use an explict temp variable.
10690 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10692 * Makefile.am: use FRONTEND_*
10694 2002-03-01 Juergen Vigna <jug@sad.it>
10696 * tabular.C (SetWidthOfMulticolCell): changed to something better
10697 I hope but still work in progress.
10698 (recalculateMulticolumnsOfColumn): renamed function from
10699 recalculateMulticolCells as it is more appropriate now.
10700 (SetWidthOfCell): calculate multicols better.
10702 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10704 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10706 * lyxfunc.C (processKeySym): print sequence also if it is
10707 `deleted' (complete)
10709 * kbsequence.C (print): print sequence even if it is deleted
10710 (complete would be a better word, actually).
10712 * lyxfunc.C (dispatch): print complete options after a prefix key
10714 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10716 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10718 * text2.C (setCharFont): eliminate setCharFont code duplication.
10720 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10722 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10723 LFUN_TABULAR_FEATURE (bug #177)
10725 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10727 * Makefile.am: remove figure.h
10729 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10731 * Bufferview_pimpl.C:
10743 * text2.C: remove #include "lyx_gui_misc.h".
10745 * LaTeX.C: added #include <cstdio>
10747 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10749 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10750 that the paragraph following this one can have.
10752 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10754 * vspace.C (asLatexCommand): fix bogus gcc warning
10756 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10758 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10760 * text2.C (setLayout): get rid of redundant code
10762 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10764 * text2.C (incDepth): make sure depth cannot be increased beyond
10767 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10769 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10770 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10772 * PainterBase.h (image):
10773 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10774 a LyXImage const *.
10776 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10780 * BufferView_pimpl.C:
10781 * BufferView_pimpl.h:
10801 * sp_spell.C: remove fig inset, and the crap house of
10802 cards that follows it
10804 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10809 * os2_errortable.h:
10810 * nt_defines.h: move .h into support/
10812 * vms_defines.h: remove
10814 * WorkArea.C: add space in debug output
10818 * buffer.C: add WITH_WARNINGS
10822 * bufferlist.C: s/retrive/retrieve/, add docs
10831 * chset.C: add docs
10833 * lyxgui.C: add ID to X error handler
10835 * lyxtestclass.c: fix typo
10837 2002-02-26 Juergen Vigna <jug@sad.it>
10839 * tabular_funcs.C (write_attribute): changed so that some default
10840 attributes are not written at all.
10841 (getTokenValue): set default values before trying to read the
10842 value so we have the return value always set as default if we don't
10843 find the token we search for.
10845 * tabular.C (Write): write bools as bools not as strings!
10847 2002-02-22 Juergen Vigna <jug@sad.it>
10849 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10850 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10852 * text.C (leftMargin): don't add an indent for paragraphs inside
10853 tabular cells (fix #208).
10855 2002-02-21 José Matos <jamatos@fep.up.pt>
10857 * tabular.C (docBook): fixed support for long tables.
10859 2002-02-20 Juergen Vigna <jug@sad.it>
10861 * text2.C (getFont): get the drawing font of the Inset if this
10862 paragraph is inside an inset (only important for InsetERT for now).
10864 * buffer.C (insertErtContents): use new lanugage params in ERT
10867 * CutAndPaste.C: commenting out seemingly uneeded code.
10869 2002-02-19 Allan Rae <rae@lyx.org>
10871 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10872 Iterators might be simple to use but they also get invalidated.
10873 (removeAutoInsets): renamed saved cursor tracking variables and added
10874 some comments to clarify what everything does.
10876 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10883 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10884 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10887 * vc-backend.h: remove #include "support/syscall.h"
10891 * converter.C: rearrange #includes in Lars' approved fashion.
10893 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10894 forward declare class Timeout in the header file.
10896 * XFormsView.C: changes due to the above.
10898 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10899 similar to LyXView.
10901 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10902 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10904 2002-02-18 José Matos <jamatos@fep.up.pt>
10906 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10909 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10911 * a lot of small ws changes
10912 * add a lot of using std::XXX
10913 * use std construcs some places where approp.
10914 * use some exisint stuff from lyxfunctional where approp.
10915 * Make file changes to use partial linking (lets test this now...)
10917 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10921 remove #include "support/syscontr.h" as it's redundant. Always has been.
10929 change Systemcalls::System to Systemcalls::Wait and
10930 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10931 No change of functionality, just reflects the stripped down Systemcalls
10934 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10936 * debug.[Ch]: add a GRAPHICS type to the enum.
10938 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10940 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10942 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10945 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10947 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10948 match the changes below.
10950 * text2.C (toggleInset): if there is not editable inset at cursor
10951 position, try to see if cursor is _inside_ a collapsable inset
10954 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10956 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10957 document menu has a nice checkbox
10959 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10961 * lyxlength.C (asLatexString): change PW to output as percent of
10964 * lengthcommon.C: change '%' to 't%'
10966 * lyxfunc.C (dispatch): a few comments from Martin
10968 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10972 * BufferView_pimpl.h:
10973 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10976 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10978 * vspace.C (inPixels): fix compiler warning
10980 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10982 * lyxfunc.C (getStatus): fix status message for disabled commands.
10984 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10986 * BufferView_pimpl.C: fix crash on close buffer
10987 during selection (#227)
10989 2002-01-27 Herbert Voss <voss@lyx.org>
10991 * buffer.C: link old Figure to new graphic inset
10993 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10995 * FontLoader.C (getFontinfo): Change the latex font names in order
10996 to match the names of type1inst.
10998 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11000 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11002 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11003 (extchanged): ditto
11005 (remove_files_with_extension): ditto
11006 (remove_file): ditto
11009 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11010 document is smaller than the work area height. Do not initialize
11011 static variables to 0.
11013 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11015 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11017 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11018 LFUN_LAYOUT_PARAGRAPHS.
11020 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11021 tabular. It is possible to provide a possible cell, which will
11022 typically be the actcell from the corresponding insettabular
11024 * lyxfunc.C (getStatus): small cleanup; disable
11025 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11028 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11030 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11032 * paragraph.C (startTeXParParams):
11033 (endTeXParParams): new methods. The LaTeX code to
11034 start/end paragraph formatting
11035 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11036 empty (fixes bug #200)
11038 * vspace.C (inPixels): adapt to the change below
11039 (inPixels): [later] more cleanups (remove unused variables)
11041 * lyxlength.C (inPixels): change to use a width and a height as
11044 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11046 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11047 Replaced with \paperwidth
11049 * DepTable.C (insert): add std:: qualifier
11051 2002-01-18 Allan Rae <rae@lyx.org>
11053 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11056 * text.C (drawInset): Turned out I didn't know enough about how
11057 rebreaking worked. This fixes most of the redraw problems. I see
11058 an occasional cursor trail when a line is broken now and the cursor
11059 placement can seem out by a few pixels also after a rebreak.
11061 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11063 * buffer.C (parseSingleLyXformat2Token): update because minipage
11064 width is now a LyXLength
11066 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11068 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11071 2002-01-17 Juergen Vigna <jug@sad.it>
11073 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11075 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11076 is set correctly and the inset is updated correctly.
11078 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11080 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11081 the beginning of the loop.
11083 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11085 * lyxrc.C: improve help for use_scalable_fonts
11087 2002-01-17 Allan Rae <rae@lyx.org>
11089 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11091 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11093 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11094 make sure to set their inset_owner to the right value (bug #171)
11096 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11099 * DepTable.C: Implement mtime checking to reduce time spent doing
11102 2002-01-16 Juergen Vigna <jug@sad.it>
11104 * tabular.C (GetAdditionalHeight): one of error fixed.
11106 * lyxrc.C (output): small fix in writing use_pspell.
11108 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11110 * sp_base.h: #include LString.h
11112 2002-01-16 Allan Rae <rae@lyx.org>
11114 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11115 Can someone check this please?
11117 * text.C (drawInset): It was possible that p.row would be removed by
11118 breakAgainOneRow upsetting a few other settings. There may be another
11119 small tweak possible by setting need_break_row = 0 when p.row has been
11120 removed but I don't know enough about the logic here.
11122 2002-01-15 Allan Rae <rae@lyx.org>
11124 * text.C (insertChar): removed conditional truism.
11126 * BufferView2.C (removeAutoInsets): More tweaks.
11127 cur_par_prev could be a stray pointer. Check for trailing empty line
11128 in case last line was cur_par and only had an error inset on it.
11130 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11132 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11135 * vc-backend.C (most methods):
11136 * exporter.C (Export):
11137 * converter.C (convert):
11139 * LyXSendto.C (SendtoApplyCB):
11140 * lyxfunc.C (dispatch):
11144 * lyx_cb.C (AutoSave):
11146 * BufferView_pimpl.C (MenuInsertLyXFile):
11147 * buffer.C (runChktex): use Buffer::filePath().
11149 * buffer.h: rename filename to filename_; rename filepath to
11150 filepath_ and make it private
11151 (filePath): new method
11153 * buffer.C (writeFile): use fileName()
11156 * lyx_main.C (init): fix starting of LyX when the binary is a
11157 link from so,ewhere else.
11159 * minibuffer.C: include <cctype> for isprint
11161 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11163 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11164 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11165 name clash with InsetCollapsable's width function.
11167 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11169 * lastfiles.C: include <iterator>
11171 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11173 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11176 * buffer.C (makeLaTeXFile): ditto.
11177 Also make loop operation more transparent.
11179 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11181 * ToolbarDefaults.C: remove trailing comma closing namespace.
11183 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11185 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11188 * trans.C (Load): comment out unused variable, allowed.
11190 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11192 * minibuffer.[Ch] (append_char): new method to recieve input from the
11193 drop-down completion browser. If a key was pressed, then recieve this
11194 char and append it to the existing string.
11195 (peek_event): modify the positioning data passed to the completion
11196 browser so that it can be placed above the minibuffer rather than below.
11197 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11199 * LyXAction.C (init): alloe error-next for readonly documents.
11201 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11204 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11206 * bufferlist.C (readFile): create the buffer _after_ checking that
11209 * lyxfunc.C (verboseDispatch): fix handling of arguments
11211 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11213 * lyxrc.C: use string::erase() instead of initializing to "".
11216 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11218 * BufferView_pimpl.h:
11219 * BufferView_pimpl.C:
11222 * text2.C: tell X when we have made a selection for copying
11224 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11226 * BufferView_pimpl.C (MenuInsertLyXFile):
11227 * lyxfunc.C (menuNew):
11229 (doImport): add shortcuts to directory buttons
11231 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11234 * lyxfunc.C (setStatusMessage):
11235 (getStatusMessage): new methods
11236 (getStatus):use setStatusMessage instead of setErrorMessage
11237 (dispatch): when function is disabled, set error message here
11238 [instead of in getStatus previously]
11240 * BufferView_pimpl.C (workAreaButtonRelease): update
11241 toolbar/menubar here too.
11243 2002-01-13 Allan Rae <rae@lyx.org>
11245 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11246 Now seems indestructible. Remaining task is to audit all other
11247 code affected by deleteEmptyParagraphMechanism. One small quirk
11248 left is that an empty document with an error in the preamble can
11249 be made to report an error but no error box appears. I don't know
11251 (removeAutoInsets): Improved comments.
11253 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11256 * Thesaurus.C: update for Aiksaurus 0.14
11258 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11260 * text2.C (firstParagraph): removed member function, all uses
11261 replaces with ownerParagraph
11262 (redoParagraphs): here
11263 (updateInset): here
11264 (toggleAppendix): here
11265 * BufferView2.C (insertErrors): here
11266 (setCursorFromRow): here
11268 2002-01-13 Allan Rae <rae@lyx.org>
11270 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11271 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11272 There is still a way to segfault this although you may have to do this
11273 multiple times: Have an InsetERT with an unknown command in it.
11274 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11275 <down-arrow>, <Enter> again, View->DVI, BANG!
11277 * text2.C (setCursor):
11278 (deleteEmptyParagraphMechanism):
11279 * lyxtext.h (setCursor):
11280 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11281 Making use of the return value may help fix other bugs.
11283 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11285 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11287 * LyXView.C (updateMenubar): call MenuBar::update here
11288 (updateToolbar): but not here
11289 (showState): do not update toolbar/menubar
11291 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11292 should need to care about that.
11294 * lyxfunc.C (verboseDispatch): simplify a bit
11295 (getStatus): have a version which takes a pseudoaction, and
11296 another which requires a (kb_action,string).
11298 * LyXAction.C (retrieveActionArg): make it work also when action
11299 is not a pseudo-action.
11300 (getActionName): simplify a bit
11303 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11305 * lyxfunc.C (verboseDispatch): new families of methods with
11306 several ways to specify a command and a bool to indicate whether
11307 the command name and shortcut should be displayed in minibuffer
11308 (eventually, we could extend that to a finer bitmask like
11309 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11310 (dispatch): the pristine dispatch command which just, well,
11311 dispatchs! Note it still sets its result to minibuffer; I'm not
11314 * lyxfunc.h: remove setHintMessage
11316 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11318 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11320 * BufferView_pimpl.C (specialChar): delete new inset if we have
11321 not been able to insert it.
11323 * kbmap.C: revert to using int instead of kb_action, since all we
11324 are dealing with is pseudo-actions.
11326 * LyXAction.C (searchActionArg): change to return int instead of
11327 kb_action, since the result is a pseudoaction.
11329 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11331 * buffer.C (insertErtContents): Fix (partially) the font bug.
11333 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11335 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11336 as the other one is broken on my machine!
11338 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11341 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11343 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11345 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11346 reflect their actual use. Provide compatibility code for older lyxrc
11349 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11351 change names of popup font variables in line with the changes to lyxrc.C
11353 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11355 * buffer.C (asciiParagraph): avoid outputing a word twice after
11358 * lyxrc.C (getDescription): document that document_path and
11359 template_path can be empty.
11361 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11363 * LaTeXFeatures.C (getMacros):
11364 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11366 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11368 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11370 (getPackages): rename feature "floats" to "float". Use an array to
11371 iterate over 'simple' features (i.e. just a \usepackage). Add
11372 handling of "amsmath" (renamed from "amsstyle").
11374 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11376 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11379 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11381 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11382 FuncStaus::FuncStatus & FuncStaus::some_method().
11384 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11386 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11387 of the func_satus stuff. Edited and massaged in various ways by
11390 * lyxfunc.C (getStatus): use FuncStatus
11392 2002-01-08 Juergen Vigna <jug@sad.it>
11394 * text.C (nextBreakPoint): use function Inset::isChar().
11396 * paragraph.C (TeXOnePar): use function
11397 Inset::forceDefaultParagraphs.
11399 * buffer.C (latexParagraphs): use function
11400 Inset::forceDefaultParagraphs.
11402 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11404 * lyx_gui.C (init): set the style of the menu popups to
11405 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11407 2002-01-07 Juergen Vigna <jug@sad.it>
11409 * text.C (setHeightOfRow): small fix
11410 (prepareToPrint): don't look at alignment if we don't have the place
11413 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11415 * box.C: New file. Move the Box methods and functions out of box.h,
11416 following Lars' suggestion.
11418 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11420 * box.h: #include "support/LOstream.h", needed for inlined function.
11423 * lyxtextclasslist.C: added some using std declarations.
11425 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11427 * box.h: make signed dimensions to allow insets wider than
11428 the screen (bug #162)
11430 * BufferView_pimpl.C: add some insetHit debug
11432 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11434 * vc-backend.C: add FIXME
11436 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11438 * lyxfunc.C (getStatus): enable code for showing math font status
11441 2002-01-07 Juergen Vigna <jug@sad.it>
11443 * text.C (nextBreakPoint): removed debug output not needed anymore.
11445 2002-01-06 Juergen Vigna <jug@sad.it>
11447 * text.C (nextBreakPoint): fixed up this function we had this bug
11448 since ever but now hopefully we break row better.
11449 (insertChar): we have to check if an inset is the next char as it
11450 could now happen that a large inset is causing a break.
11452 2002-01-05 Juergen Vigna <jug@sad.it>
11454 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11455 if it doesn't like to be drawed.
11457 2002-01-04 Juergen Vigna <jug@sad.it>
11459 * BufferView2.C (lockInset): forgot to set a cursor.
11461 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11463 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11465 * FormMathsPanel.C:
11468 * form_maths_panel.C:
11469 * form_maths_panel.h:
11470 * form_maths_panel.fd: implemented sub- and super- buttons in math
11473 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11474 (or ^ space) to be used as in TeX (req'd by André).
11476 * lyxfunc.C: Allow ^ and _ again to be used both as
11477 super/subscript (mathed) and as themselves (in text).
11479 2002-01-03 Allan Rae <rae@lyx.org>
11481 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11482 "LyX" or the filename of the current buffer if it has one. This is a
11483 modified form of John Levon's patch.
11485 * XFormsView.C (setWindowTitle): also set icon title.
11487 * LyXView.h (setWindowTitle): signature changed.
11488 * XFormsView.h (setWindowTitle): ditto.
11490 2002-01-02 Juergen Vigna <jug@sad.it>
11492 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11494 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11496 * screen.C (topCursorVisible): introduce a temp var for
11497 text->cursor.row(), handle the case where this row is null. (kindo
11500 * text2.C (setCursor): add a couple of asserts.
11502 * paragraph.h (inset_iterator): add -> operator
11504 * paragraph.[Ch] (autoDeleteInsets): remove member function
11506 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11507 cursor pos correctly and handle inset deletion by itself.
11508 (insertErrors): move iterator declaration out of for expression
11510 * lyxtextclass.C: add <algorithm>
11512 * Makefile.am: added the new files to sources, removed layout.C
11514 * layout.C: removed file
11516 * layout.h: remove LYX_DUMMY_LAYOUT
11518 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11522 * lyxtextclass.[Ch]:
11523 * lyxtextclasslist.[Ch]: new files
11525 * include order changes to a lot of files, also changes because of
11528 2001-12-27 Juergen Vigna <jug@sad.it>
11530 * buffer.C (asciiParagraph): more fixes.
11532 * tabular.C (ascii): make ascii export support export of only the
11533 data separated by a column-delimiter.
11534 (ascii): better support for ascii export.
11536 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11538 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11540 * tabular_funcs.C: use a "using std::getline" instead of the
11541 previous fix from Angus (necessary for cxx + lyxstring)
11543 2001-12-24 Juergen Vigna <jug@sad.it>
11545 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11547 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11548 problems. First check a minipage also if we have some ert-contents
11549 (not only on par->size(), second set the right depth of the paragraph
11550 on the relink to the root-paragraph-list!
11552 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11553 which then did not anymore update the main paragraphs on undo/redo!
11555 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11557 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11558 code. Support all font-changing funcs (even those which are not in
11559 menu currently). Support for reporting font settings in
11560 mathed (disabled until Andre provides a function on mathed's side).
11562 * func_status.h (toggle): small helper function to set toggle
11565 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11567 * tabular_funcs.C: getline -> std::getline
11569 2001-12-21 Juergen Vigna <jug@sad.it>
11571 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11572 accessed and could be 0 (I couldn't generate this but it seems
11575 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11577 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11578 * tabular_funcs.h: here and include iosfwd
11580 2001-12-20 Juergen Vigna <jug@sad.it>
11582 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11583 inside inset but undo_par was.
11585 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11587 * Thesaurus.C: always include <config.h> in sources.
11591 * box.h: do not include <config.h> in header files
11593 * text.C (paintLastRow): remove unused variable
11595 * text.C (transformChar):
11597 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11599 * Painter.C (text):
11600 * font.C (width): rewrite to use uppercase() instead of
11603 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11605 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11607 * lyxfind.C: clean up of find failure position change
11609 2001-12-20 Juergen Vigna <jug@sad.it>
11611 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11613 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11614 (TeXRow): added to LaTeX a single tabular row.
11615 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11616 (Latex): simplified and finally good LT-h/f support.
11617 (various_functions): just small adaptions for LT-h/f support.
11619 * tabular_funcs.[hC]: added and moved here all not classfunctions
11622 2001-12-19 Juergen Vigna <jug@sad.it>
11624 * tabular.[Ch]: better support for longtabular options (not finished
11627 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11629 * text.C (paintLastRow): use the label font instead of the font of
11630 the last character to compute the size of *_BOX. This makes more
11631 sense and avoids a crash with empty paragraphs.
11632 Use Painter::rectangle to draw EMPTY_BOX.
11634 2001-12-19 Juergen Vigna <jug@sad.it>
11636 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11637 the paragraphs if the replaced paragraph is not the first one!
11638 Tried to delete not used paragraphs but does not work yet so for
11639 now it's inside #ifdef's and by default off!
11641 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11643 * MenuBackend.C: include "lyx_main.h" instead of declaring
11644 lastfiles (actually was declared as LastFiles* instead of a
11647 2001-12-17 Juergen Vigna <jug@sad.it>
11649 * tabular.C (AppendColumn): applied John's fix
11651 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11655 * BufferView_pimpl.h:
11656 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11659 * box.h: new start of class for above
11661 * lyxfunc.C: ignore space-only minibuffer dispatches.
11662 Show the command name when it doesn't exist
11664 * minibuffer.C: don't add empty lines to the history
11666 * minibuffer.C: add a space on dropdown completion
11668 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11670 * text.C: fix line above/below drawing in insets
11672 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11674 * lyxlength.C (LyXLength): Initialize private variables.
11676 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11678 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11679 when inserting error insets.
11681 2001-12-13 Juergen Vigna <jug@sad.it>
11683 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11684 actually sometimes the before-paragraph.
11685 (setUndo): don't clear the redostack if we're not actually undoing!
11687 2001-12-06 Juergen Vigna <jug@sad.it>
11689 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11690 and fixed redoing of main paragraph, so we can use it now ;)
11692 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11694 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11696 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11699 2001-12-13 André Pönitz <poenitz@gmx.net>
11702 * undo_func.C: minor cleanup
11704 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11706 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11707 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11708 font in urw-fonts package which is marked as -urw-fontspecific and
11709 does not work (incidentally, changing the encoding in the
11710 fonts.dir of this package to -adobe-fontspecific fixes the
11713 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11714 is a crash when undoing first paragraph (Juergen, please take a
11715 look). THis does not mean the undo fix is wrong, just that it
11718 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11719 the (Paragraph*) version when needed instead of duplicating the
11722 * text.C (workWidth): use Inset::parOwner to find out where the
11723 inset has been inserted. This is a huge performance gain for large
11724 documents with lots of insets. If Inset::parOwner is not set, fall
11725 back on the brute force method
11727 * paragraph_pimpl.C (insertInset):
11728 * paragraph.C (Paragraph):
11729 (cutIntoMinibuffer): set parOwner of insets when
11730 inserting/removing them
11732 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11734 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11740 * mathed/formulabase.C:
11741 * mathed/math_cursor.[Ch]:
11742 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11745 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11747 * lyxlength.[Ch] (operator!=): new function
11749 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11751 * text.C (workWidth): use Inset::parOwner to find out where the
11752 inset has been inserted. This is a huge performance gain for large
11753 documents with lots of insets. If Inset::parOwner is not set, fall
11754 back on the brute force method
11756 * paragraph_pimpl.C (insertInset):
11757 * paragraph.C (Paragraph):
11758 (cutIntoMinibuffer): set parOwner of insets when
11759 inserting/removing them
11761 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11763 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11765 * tabular-old.C (getTokenValue):
11766 * tabular.C (getTokenValue):
11767 (write_attribute): new versions for LyXLength
11768 (everywhere): adjust the use of widths
11770 * tabular.h: change the type of widths from string to LyXLength
11772 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11774 * paragraph.C: fixed missing line number count when exporting
11775 Environments to LaTeX file
11777 * buffer.C: added informational message for checking line numbers.
11779 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11781 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11782 paragraph, do the 'double space' part, but not the 'empty
11785 * text.C (workWidth): small optimization
11786 (getLengthMarkerHeight): use minimal size for negative lengths.
11788 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11790 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11792 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11794 2001-12-11 André Pönitz <poenitz@gmx.net>
11797 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11799 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11801 * text2.C: keep selection on a setFont()
11803 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11805 * lyx_cb.C: another bv->text misuse, from insert label
11807 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11810 * kbsequence.C: re-instate nmodifier mask
11812 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11814 * lyx_main.h: make lyxGUI private.
11816 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11818 * lyxfind.C: place the cursor correctly on failed search
11820 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11822 * text.C (getLengthMarkerHeight): for small heights, the arrows
11823 are not always on top/bottom of the text
11824 (drawLengthMarker): smaller arrows; take the left margin in
11825 account; draw also vfills.
11827 (paintLastRow): remove special code for vfill and standard spaces,
11828 since everything is handled in drawLengthMarker now.
11830 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11832 * buffer.C (insertErtContents): try to handle font and language
11833 interaction a bit better.g
11835 * ColorHandler.C (updateColor): change the hash to cover the whole
11836 LColor enum, ws cleanup
11837 (getGCLinepars): ditto
11838 (getGCLinepars): only lookup in the linecache once.
11840 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11842 * iterators.C (operator++): Make the iterator more robust
11844 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11846 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11848 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11851 * text.C: better added space drawing
11853 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11856 * BufferView2.C: fix layout combo update on inset unlock
11858 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11860 * Makefile.am: don't compile unused files
11862 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11866 * LyXAction.C: remove old LFUN_LAYOUTNO
11868 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11870 * paragraph_pimpl.h:
11871 * paragraph_pimpl.C: isTextAt() doesn't need font param
11873 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11876 * lyxlex.C: little cleanup
11878 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11880 * BufferView_pimpl.C: fix insertAscii for insets
11882 2001-12-05 Juergen Vigna <jug@sad.it>
11884 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11885 set the right font on the "multi" paragraph paste!
11887 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11893 * lyxlength.C: remove out-commented code.
11895 * BufferView_pimpl:
11909 * vc-backend.C: change "while(" to "while ("
11911 * lyxlength.[Ch]: add zero function to check if length is zero or
11913 * lyxgluelength.C: use it
11915 2001-12-05 Allan Rae <rae@lyx.org>
11917 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11918 Works for 2.95.3, from what I understand of Garst's reports this should
11919 work for other g++ versions. We're screwed if the abs(int) definition
11920 changed between bugfix releases of gcc.
11922 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11924 * text.C: fix chapter label offset !
11926 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11929 * text.C: fix hfill at end of line, clean up
11931 2001-12-04 Juergen Vigna <jug@sad.it>
11933 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11934 that we force an update of the inset and it's owners if neccessary.
11936 2001-12-03 Juergen Vigna <jug@sad.it>
11938 * text.C (rowLast): simplified code
11940 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11942 * lyxfunc.C: fix show options on timeout
11944 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11946 * screen.C (topCursorVisible): scroll half a page when the cursor
11947 reached top of bottom of screen
11949 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11951 * minibuffer.C: deactivate on loss of focus
11953 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11955 * vspace.[Ch] (operator!=): add operator.
11957 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11959 * BufferView_pimpl.C: refuse to open an inset when
11960 there's a selection.
11962 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11964 * BufferView_pimpl.C: allow to click on RHS of full row insets
11966 2001-11-30 Juergen Vigna <jug@sad.it>
11968 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11969 insets for undo reasons.
11971 2001-11-28 André Pönitz <poenitz@gmx.net>
11973 * vspace.[Ch]: cosmetical changes
11975 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11985 * kbsequence.C: part re-write of old kb code
11988 * WorkArea.C: remove Lgb_bug_find_hack
11990 2001-11-30 José Matos <jamatos@fep.up.pt>
11992 * buffer.C (makeDocBookFile): add a comment to point a hack.
11993 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11994 Fixed a double write of labels.
11996 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11999 * LaTeX.h Fixed bug in LaTeX class where it would not
12000 re-run latex if no depfiles were changed, but the .dvi was removed.
12002 2001-11-28 André Pönitz <poenitz@gmx.net>
12004 * all the files from the change on 2001/11/26:
12005 use lyx::layout_type instead of LyXTextClass::size_type
12006 use lyx::textclass_type instead of LyXTextClassList::size_type
12008 2001-11-29 Juergen Vigna <jug@sad.it>
12010 * text.C: added support for paragraph::isFreeSpacing()
12012 * buffer.C: same as above
12014 * paragraph.h: inserted isFreeSpacing() function to enable
12015 FreeSpacing inside InsetERT.
12017 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12018 of the paragraph's in the cut/copy buffer to 0!
12020 * text2.C (removeRow): remove the assert as it can!
12022 * lyxtext.h: added helper function firstRow returning firstrow and
12023 made firstrow private again.
12025 * BufferView2.C (lockInset): don't relock if we're already locked!
12027 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12028 the only paragraph.
12029 (removeRow): added Assert::(firstrow)
12031 * debug.C: forgot to add INSETTEXT here.
12033 2001-11-28 Juergen Vigna <jug@sad.it>
12035 * sp_spell.C (initialize): changed error text to more general
12036 spellchecker command use (not only ispell!)
12038 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12040 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12042 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12044 * vspace.C: initialise lyxgluelength on failure
12046 2001-11-28 Allan Rae <rae@lyx.org>
12048 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12049 declaration & definition that looks like a function declaration.
12051 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12053 * BufferView2.C (copy):
12054 (copyEnvironment): do not clear the selection when doing a copy.
12056 * text.C (paintFirstRow): compilation fix
12058 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12060 * tabular.C (Latex): correct line count when writing latex.
12062 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12064 * paragraph_pimpl.h:
12065 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12068 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12072 * LColor.C: change vfillline->added_space
12074 * text.C: add markers and text for added space
12076 * vspace.C: fix comment
12078 2001-11-28 André Pönitz <poenitz@gmx.net>
12080 * paragraph.C: whitespace changes
12081 * all the other files from the change on 2001/11/26:
12082 change *::pos_type into lyx::pos_type
12084 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12086 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12087 language of the document when inserting error insets.
12089 2001-11-26 André Pönitz <poenitz@gmx.net>
12091 * BufferView_pimpl.[Ch]:
12099 * paragraph_pimpl.[Ch]:
12102 * text2.C: reduce header dependencies, introduce type for positions
12104 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12106 * <various>: change to use Alert.h
12108 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12110 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12111 when encountering an unknown token.
12112 (readLyXformat2): Show an error message if there were unknown tokens.
12114 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12117 * BufferView_pimpl.C:
12121 * text2.C: use par->isInset()
12123 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12125 * paragraph_pimpl.h:
12126 * paragraph_pimpl.C: cleanup
12128 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12130 * text2.C (removeRow):
12131 * text.C (setHeightOfRow): remove useless (and costly) call to
12134 2001-11-20 Allan Rae <rae@lyx.org>
12136 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12137 Now need Inset*::checkInsertChar() to return true for appropriate
12138 cases so that the characters in the minibuffer will actually be
12141 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12143 * text.C: change the order of the includes.
12144 (workWidth): initialize it at once.
12145 (workWidth): make maxw unsigned
12146 (setHeightOfRow): remove unused variable (inset)
12147 (selectSelectedWord): remove unused variable (inset)
12148 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12150 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12152 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12153 server is not running.
12155 (closeConnection): add debug info when server is disabled.
12157 * ColorHandler.C (getGCForeground): send debug message to GUI
12160 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12162 * kbmap.C (bind): modify because return conventions of
12163 kb_sequence::parse have changed.
12165 * kbsequence.C (parse): only ignore spaces and not any stupid
12166 control character. This avoids tests like s[i] <= ' ', which are
12167 guaranteed to fail with 8bit characters and signed chars.
12168 Change return code to string::npos when there have been no error
12169 (0 was a bad idea when error is at first character)
12171 2001-11-14 José Matos <jamatos@fep.up.pt>
12174 * buffer.C (simpleDocBookOnePar): removed unused argument.
12176 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12178 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12179 insets which are part of a word. Paragraph::isLetter takes care of
12180 that now. Use Paragraph::isInset to identify insets.
12181 (selectSelectedWord): do not test for hyphenation break.
12183 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12184 that protected spaces are considered as spaces.
12186 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12189 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12192 * lyxserver.C: fix it. and small cleanup.
12194 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12196 * BufferView_pimpl.C: use inline helpers
12199 * LaTeXFeatures.C: fix typos
12202 * Spacing.C: move spacing_string into class
12204 * ToolbarDefaults.C: move stuff into namespace anon
12206 * layout.h: update enum
12208 * lyxfunc.C: use better debug
12210 * minibuffer.h: fix typo
12214 * WorkArea.C: add and use Debug::WORKAREA
12218 * text2.C: code re-organisation, inline helpers
12220 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12222 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12223 std::vector.empty().
12225 2001-11-09 Allan Rae <rae@lyx.org>
12227 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12228 '\n's after tables. Tabular and ERT inset work now makes this no
12231 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12234 * minibuffer.C: fix crash, improve drop-down completion
12236 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12239 * lyxserver.C: invalidate fd's when doing endPipe()
12241 2001-11-08 José Matos <jamatos@fep.up.pt>
12243 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12244 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12247 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12249 2001-11-07 José Matos <jamatos@fep.up.pt>
12252 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12255 * buffer.C (sgmlOpenTag):
12256 * buffer.C (sgmlCloseTag): removed debug info.
12258 * buffer.h (sgmlOpenTag):
12259 * buffer.h (sgmlCloseTag): made public.
12261 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12263 * buffer.C (saveParamsAsDefaults):
12264 * lyx_cb.C (MenuLayoutSave): remove
12266 * LyXAction.C (init):
12268 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12270 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12272 * buffer.C (setPaperStuff): removed from here...
12274 * bufferparams.C (setPaperStuff): ... and moved there.
12276 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12280 * XFormsView.C: add support for drop-down completion
12282 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12284 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12287 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12289 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12292 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12294 * lyx_main.C: change ref to known bugs
12296 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12298 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12299 to work around older babel problems.
12301 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12303 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12305 2001-10-24 Juergen Vigna <jug@sad.it>
12307 * tabular-old.C (ReadOld): below variable changes reflected.
12309 * tabular.[Ch]: added ltType struct for longtable header/footer
12310 defines and changed all instances where they are used. Added
12311 future support for double top/bottom rows.
12313 2001-10-24 José Matos <jamatos@fep.up.pt>
12315 * buffer.h (docbookHandleCaption):
12316 * buffer.C (docbookHandleCaption): removed unused function.
12317 (makeDocBookFile): moved docbook supported version to v4.1.
12319 2001-10-24 José Matos <jamatos@fep.up.pt>
12322 * tabular.C (docbookRow): new function to export docbook code of a row.
12323 (DocBook): now honors the longtable flags.
12325 2001-10-23 José Matos <jamatos@fep.up.pt>
12328 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12329 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12331 * buffer.C (makeLinuxDocFile):
12332 (makeDocBookFile): reworked the preamble, more clean, and with
12333 support for lyx defined entities. Changed the document declaration
12334 to be more XML friendly.
12336 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12337 if we need to output XML that should be done with a filter.
12339 2001-10-22 Juergen Vigna <jug@sad.it>
12341 * sp_pspell.h (class PSpell): add alive function needed in the
12342 controller to see if the spellchecker could be started.
12344 2001-10-22 Juergen Vigna <jug@sad.it>
12346 * buffer.C (insertStringAsLines): modify the font for inserting
12347 chars in certain conditions by calling checkInsertChar(font).
12349 2001-10-19 Juergen Vigna <jug@sad.it>
12351 * text.C (workWidth): use getRow instead of wrong algorithm.
12352 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12354 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12359 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12361 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12363 * text.C (workWidth): do not search for the exact row when
12364 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12365 optimization for big documents.
12367 2001-10-18 Juergen Vigna <jug@sad.it>
12369 * text.C (workWidth): new function with added Inset * parameter.
12371 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12373 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12375 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12376 change return type of getColumnNearX.
12379 * text.C (changeRegionCase): use uppercase/lowercase instead of
12382 (rightMargin): simplify code by factoring out the uses of
12387 (appendParagraph): use Paragraph::size_type
12389 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12391 * vspace.C (asLatexString): add a missing break
12393 2001-10-15 Herbert Voss <voss@perce.de>
12395 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12397 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12399 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12402 2001-10-10 André Pönitz <poenitz@gmx.net>
12404 * lyxfunc.C: removed greek_kb_flag.
12406 2001-10-10 Herbert Voss <voss@perce.de>
12408 * lyx_main.C: delete global string help_lyxdir.
12410 2001-10-09 Herbert Voss <voss@perce.de>
12412 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12414 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12416 * lyx_main.C: added global string help_lyxdir.
12418 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12420 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12422 * lyxrc.C (set_font_norm_type): support iso8859-4
12424 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12426 * LaTeX.C (deplog): add another regex for MikTeX
12428 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12430 * lyxrc.C (set_font_norm_type): support iso8859-3
12432 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12434 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12436 * LaTeXFeatures.C: remove special case of french and index
12438 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12439 before \begin{document}). This solves several incompatibilities.
12441 2001-10-03 Garst Reese <reese@isn.net>
12443 * lyx_cb.C: change CheckTex error msg.
12445 2001-10-03 José Matos <jamatos@fep.up.pt>
12447 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12449 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12451 * .cvsignore: update
12453 * lyx_main.C (commandLineVersionInfo): use new style version info.
12455 * buffer.C (writeFile):
12457 (makeLinuxDocFile):
12458 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12460 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12462 * version.h: update to use stuff in version.C
12464 * version.C.in: new file. Contains version information determined
12465 at compile time. This is a merging of version.h and
12468 2001-10-03 Juergen Vigna <jug@sad.it>
12470 * BufferView_pimpl.C (update): don't change "dirty" status in
12473 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12475 * WorkArea.C (c-tor): re-position version string slightly.
12477 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12479 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12480 revert to previous code.
12482 WorkArea.[Ch]: (show, destroySplash): methods removed.
12484 WorkArea.C: rework code so that it's an amalgam of the codes before and
12485 after the splash screen was moved to WorkArea.
12487 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12490 * vspace.C (inPixels):
12493 * buffer.C (insertStringAsLines):
12494 (asciiParagraph): fix types to be large enough
12496 * lyxlex_pimpl.h: change member status from short to int
12498 * layout.h: fix type of endlabeltype
12501 * kbsequence.C (parse): change return type to string::size_type
12503 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12506 * Bullet.C (bulletSize):
12507 (bulletEntry): do not use short ints as parameters
12509 * BufferView2.C (insertLyXFile): change a char to an int.
12511 * WorkArea.C (WorkArea): remove unneeded floats in computation
12513 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12515 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12517 * paragraph.C (asString): Do not ignore newline/hfill chars when
12518 copying to the clipboard.
12520 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12522 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12523 after a multi-line inset.
12525 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12527 * paragraph.C (validate): Set NeedLyXFootnoteCode
12529 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12531 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12532 and decrease-error to decrease.
12534 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12536 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12537 it more readable (should be equivalent)
12539 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12541 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12543 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12545 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12546 of a cursor (row, etc.) after a character has been deleted
12547 (deleteEmptyParagraphMechanism): call the method above on _all_
12548 cursors held by the LyXText when a double space has been
12551 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12553 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12555 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12557 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12558 background. Use greyOut() and the new show() methods to toggle between
12559 the foreground and background. Add code to remove the splash after
12560 its initial showing.
12562 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12563 (create_forms): no longer call Dialogs::showSplash.
12565 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12567 * .cvsignore: add version_info.h
12569 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12571 * version_info.h.in: new file
12573 * Makefile.am: add version_info.h.in
12575 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12576 version_info.h instead of VERSION_INFO
12578 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12580 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12581 The ERT inset now returns string().
12583 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12585 * lyxtext.h, text.C (selectNextWord): renamed as
12586 selectNextWordToSpellcheck.
12588 * text.C (selectNextWordToSpellcheck): Modified to not select
12589 words inside an ERT inset.
12591 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12593 * lyx_cb.C (MenuLayoutSave): change a bit the question
12595 * sp_base.h: include <sys/types.h>
12597 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12599 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12601 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12603 * several files: fix typos in user-visible strings
12605 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12607 * text2.C (pasteSelection): do not set the selection, since it
12608 will be cleared later. Actually, the intent was to fix the way the
12609 selection was set, but I figured rmoving the code was just as good.
12611 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12613 * FontLoader.C (available): Check if font is available without
12616 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12618 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12620 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12622 * lyxrc.[Ch]: added display_graphics variable and associated code.
12624 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12626 * bufferparams.C (hasClassDefaults): new method. Returns true if
12627 the buffer parameters correspond to known class defaults
12629 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12631 * XFormsView.C (show): set minimum size to the main window.
12633 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12635 * text2.C (copySelection):
12637 * lyxfind.C (LyXReplace):
12638 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12639 LyXText::selectionAsString.
12641 * paragraph.C (asString): add "label" argument to the second form
12643 * text2.C (selectionAsString): add "label" argument and pass it to
12644 Paragraph::asString.
12646 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12648 * lyx_main.C (commandLineHelp): remove version information
12650 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12652 * lyx_main.C: add -version commandline option
12654 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12656 * paragraph.h: make the optional constructor arg required instead.
12657 some modifications to other files because of this.
12659 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12661 * lyxserver.C (C_LyXComm_callback): make it static
12663 * lyx_main.C (error_handler): make it static
12665 * lyx_gui.C (LyX_XErrHandler): make it static
12667 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12669 * WorkArea.C: make the extern "C" methods static.
12671 * Makefile.am (lyx_LDADD): simplify
12673 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12675 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12676 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12678 * LyXAction.C (init):
12679 * lyxfunc.C (dispatch): associated code removal.
12681 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12683 * lyxfont.h (isSymbolFont): shut off warning
12685 * text.C (setHeightOfRow):
12686 (getVisibleRow): fix crash with empty paragraphs which have a
12689 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12691 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12694 2001-09-04 José Matos <jamatos@fep.up.pt>
12697 * tabular.C (docbook): rename docBook method to docbook.
12699 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12701 * Makefile.am: add dependencies to main.o.
12703 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12705 * FontLoader.C (available): Return false if !lyxrc.use_gui
12707 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12709 * FontInfo.C (query):
12710 * converter.C (view):
12711 * importer.C (Import):
12712 * exporter.C (Export): Can not -> cannot.
12714 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12716 * BufferView_pimpl.C: allow to create index inset even if
12719 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12721 * buffer.C (getLists): replace boost::tie code with an explicit pair
12722 as boost::tie can break some compilers.
12724 * iterators.h: Added a std:: declaration to the return type of
12727 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12729 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12732 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12734 * iterators.[Ch]: New files. Provide paragraph iterators.
12736 * buffer.C (changeLanguage): Use paragraph iterators.
12737 (isMultiLingual): ditto
12739 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12741 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12743 * FontLoader.C: Support for cmr font.
12745 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12747 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12748 (available): New method.
12750 * FontInfo.C (getFontname): Use scalable fonts even when
12751 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12754 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12756 * converter.C (Formats::view): reverted! Incorrect fix.
12758 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12760 * converter.C (Formats::view): only output the -paper option
12761 if the dvi viewer is xdvi, thereby fixing bug #233429.
12763 2001-08-23 Herbert Voss <voss@perce>
12765 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12767 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12769 * Spacing.h (Spacing): Set space to Default on in the default
12772 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12774 * vc-backend.h (RCS::versionString): add RCS to version
12775 (CVS::versionString): add CVS to version
12777 * vc-backend.C (scanMaster): do not add CVS to version.
12778 (scanMaster): do not add RCS to version
12780 * lyxvc.C (versionString): new method
12782 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12784 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12786 * Spacing.C (set): initialize fval
12788 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12790 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12793 2001-08-16 Juergen Vigna <jug@sad.it>
12795 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12797 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12799 * BufferView_pimpl.C:
12802 * text2.C: setParagraph takes linespacing now
12804 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12806 * LyxAction.C: add internal LFUN_CITATION_INSERT
12808 * LyXView.C: actually apply fix
12810 * bufferlist.C: fix open non-existent file
12812 * lyxfind.C: fix indentation
12814 * lyxfunc.C: remove unneeded assert, fix typo
12816 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12818 * MenuBackend.C: use "Floatname List"
12820 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12822 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12823 when converting LaTeX layout to insetERT.
12824 Generate a non-collapsed float when reading old float
12826 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12828 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12831 2001-08-13 Juergen Vigna <jug@sad.it>
12833 * text.C (fill): return 0 instead of 20 as this seems to be the more
12836 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12838 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12841 2001-08-13 Juergen Vigna <jug@sad.it>
12843 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12845 (SearchBackward): comment out the unlocking of the inset_owner this
12846 should not be needed!
12848 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12850 * Many files: Remove inherit_language, and add latex_language
12852 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12853 collapsible insets.
12855 2001-08-10 Juergen Vigna <jug@sad.it>
12857 * text.C (prepareToPrint): fixed hfill-width in draw!
12859 * BufferView2.C (selectLastWord): save the selection cursor as this
12860 now is cleared in the function LyXText::clearSelection!
12862 2001-08-08 Juergen Vigna <jug@sad.it>
12864 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12865 BACKSPACE type functions.
12867 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12868 is only cutted from the document but not put in the cut-buffer, where
12869 still the old stuff should be.
12871 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12873 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12875 * tabular.C (SetWidthOfCell): fixed special case where the width
12877 (LeftLine): handle '|' in align_special.
12879 (LeftAlreadyDrawed): ditto
12880 (SetWidthOfCell): ditto
12882 2001-08-07 Juergen Vigna <jug@sad.it>
12884 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12886 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12888 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12889 * lyxlex.[hC]: ditto
12891 2001-08-06 Juergen Vigna <jug@sad.it>
12893 * text.C (getVisibleRow): fix up row clearing a bit.
12895 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12897 * minibuffer.C: make sure the X server sees the changes in the input.
12899 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12901 * paragraph.C (getFont): split into...
12902 (getLabelFont): this
12903 (getLayoutFont): and this
12904 * paragraph_pimpl.C (realizeFont): calling this
12906 * text2.C (getFont): split into...
12907 (getLayoutFont): this
12908 (getLabelFont): and this
12909 (realizeFont): all three calling this
12911 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12914 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12916 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12918 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12920 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12921 layouts from the Quote inset insertion.
12923 2001-08-03 Juergen Vigna <jug@sad.it>
12925 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12927 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12928 only if status not is already CHANGED_IN_DRAW (second level).
12930 * text.C (draw): don't set the need_break_row when inside an
12933 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12935 * buffer.C (parseSingleLyXformat2Token): handle more latex
12938 * bufferview_funcs.[hC]: change function names to
12939 begin with small char, adjust other files.
12941 2001-08-02 André Pönitz <poenitz@gmx.net>
12944 BufferView_pimpl.C: remove broken special code for math-greek
12946 2001-08-02 Juergen Vigna <jug@sad.it>
12948 * BufferView_pimpl.C (update): redone this function so that we
12949 update the text again if there was a CHANGE_IN_DRAW.
12951 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12952 (drawFromTo): added a new internal bool which is used by draw() and
12954 (general): some cursor drawing problems fixed.
12956 2001-08-01 Juergen Vigna <jug@sad.it>
12958 * lyxfind.C (LyXFind): fixed
12959 (SearchForward): ditto
12960 (SearchBackward): ditto
12962 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12963 spurius drawing of the cursor in the main area.
12965 * text2.C (status): small fix which could lead to a segfault!
12966 (clearSelection): remove unneeded BufferView param.
12968 2001-08-01 André Pönitz <poenitz@gmx.net>
12970 * lyxfunc.C: small change due to changed mathed interface
12972 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12974 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12976 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12978 * lyxfunc.c: fail gracefully if file doesn't exist
12983 * BufferView_pimpl.C: IsDirWriteable() proto changed
12985 * LyXView.C: fix updateWindowTitle() to store the last title
12987 2001-07-31 Juergen Vigna <jug@sad.it>
12989 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12990 the font (wrong since using of Paragraph::highestFontInRange).
12992 * paragraph.C (highestFontInRange): added a default_size parameter.
12994 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12995 (setHeightOfRow): reformat
12997 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12999 * converter.[hC] + affected files: move to (inital-char)lowercase
13002 * ParagraphParameters.C (ParagraphParameters): remove commented code
13004 * PainterBase.[Ch]: remove commented code
13006 * LaTeXFeatures.h: add "bool floats" for float.sty
13008 * LaTeXFeatures.C (LaTeXFeatures): init floats
13009 (require): handle float
13010 (getPackages): do it with floats
13012 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13014 * BufferView_pimpl.C (Dispatch): improve handling of
13015 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13017 * commandtags.h: #include lyxfont.h here temporarily to avoid
13020 * bufferlist.h: include LString.h here.
13022 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13024 * text2.C (getStringToIndex): new method.
13026 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13028 * *: Reduced header file dependencies all over.
13030 2001-07-30 Baruch Even <baruch@lyx.org>
13032 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13034 2001-07-29 Baruch Even <baruch@lyx.org>
13036 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13038 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13040 * ParameterStruct.h (endif): add a default constructor to make
13041 sure that all variables is initialized.
13043 * ParagraphParameters.C (ParagraphParameters): adjust
13045 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13047 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13048 index; also, check that there is something to index, and that it
13049 does not span over several paragraphs.
13050 (doubleClick): use WHOLE_WORD_STRICT for double click.
13052 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13054 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13057 2001-07-26 Baruch Even <baruch@lyx.org>
13059 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13060 an InsetFig figure, backwards compatible reading of old figure code.
13062 2001-07-27 Juergen Vigna <jug@sad.it>
13064 * text2.C: font.realize function adaption.
13066 * text.C (draw): add a warnings lyxerr text if needed.
13068 * layout.C: font.realize function adaption.
13070 * language.C: add inherit_language and implement it's handlings
13072 * bufferview_funcs.C (StyleReset): remove language parameter from
13073 font creation (should be language_inherit now).
13075 * bufferparams.C (writeFile): handle ignore_language.
13077 * paragraph.C (getFontSettings): the language has to be resolved
13078 otherwise we have problems in LyXFont!
13080 * lyxfont.C (lyxWriteChanges): added document_language parameter
13081 (update): removed unneeded language parameter
13083 * paragraph.C (validate): fixed wrong output of color-package when
13084 using interface colors for certain fonts in certain environments,
13085 which should not seen as that on the final output.
13087 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13089 * BufferView_pimpl.C:
13094 * LyXAction.C: add thesaurus support
13097 * lyxfind.C: add "once" parameter, for thesaurus, to not
13098 move to the next match
13100 2001-07-26 Juergen Vigna <jug@sad.it>
13102 * lyxfont.C (realize): honor ignore_language too!
13105 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13107 * text.C (draw): one place more for ignore_language to not draw
13110 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13112 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13114 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13116 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13117 the minipage conversion problem.
13119 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13121 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13124 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13126 * BufferView.h: don't forward declare WorkArea
13128 * BufferView.C: don't include WorkArea.h
13130 2001-07-25 André Pönitz <poenitz@gmx.net>
13134 * lyxfunc.C: new LFUN 'math-space'
13136 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13138 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13140 * text2.C (toggleInset): call open/close
13142 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13144 * lyxfunc.C (dispatch): add debug for the disabled case
13146 * font.C (buttonText): make similar to rectText
13148 * buffer.C (readInset): comment out parsing of insetlist and
13151 * PainterBase.C (rectText): small correction
13153 * BufferView_pimpl.C: comment out insettheorem and insetlist
13154 * LyXAction.C: ditto
13155 * commandtags.h: ditto
13157 2001-07-24 Juergen Vigna <jug@sad.it>
13159 * text.C (draw): honor the ignore_language.
13161 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13163 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13165 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13168 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13170 * lyxtext.h: remove unused (and unimplemented) methods
13172 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13174 * text.C (getVisibleRow): honor background color
13177 * Painter.h: remove default color argument for fillRectangle
13179 * text.C (backgroundColor): new method
13181 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13183 * text.C (getVisibleRow): adjust
13185 * font.[Ch] (rectText): new method, metrics
13186 (buttonText): new method, metrics
13188 * PainterBase.[hC]: make rectText and buttonText always draw and take
13191 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13193 * ToolbarDefaults.C (read):
13194 * MenuBackend.C (read): allow escaping in all strings
13196 * BufferView_pimpl.C (insertAndEditInset): new method.
13197 (Dispatch): use insertAndEditInset whenever appropriate.
13199 * BufferView_pimpl.C (insertNote): removed
13201 * BufferView_pimpl.C (smartQuote): new method, moved from
13202 BufferView; if an insetquote cannot be inserted, insert a '"'
13205 * BufferView2.C: remove insertCorrectQuote();
13207 * lyxfunc.C (getStatus): Add support for all remaingin
13208 inset-insert lfuns.
13210 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13212 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13213 command (necessary to pass " as parameter of self-insert.
13215 * text.C (selectWordWhenUnderCursor):
13216 (selectWord): add word_location parameter
13217 (selectWordWhenUnderCursor): same + remove special code for word
13219 (selectNextWord): use kind() to guess type of insetspecialchar,
13222 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13223 (insertErtContents): create ert insets as collapsed.
13224 (readInset): better compatibility code for Info inset.
13226 2001-07-20 Juergen Vigna <jug@sad.it>
13228 * lyxfunc.C (dispatch): use always LyXFind now!
13230 * text2.C (init): add a reinit flag so that the LyXText can be
13231 reinited instead of deleted and reallocated (used in InsetText).
13233 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13239 2001-07-18 Juergen Vigna <jug@sad.it>
13241 * text.C (selectNextWord): handle insets inside inset by calling
13242 always the bv->text functions so that we can go up the_locking_inset!
13244 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13245 in strange locations when inside an inset!
13247 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13248 handling to include insets.
13250 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13252 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13254 * LyXAction.C (init):
13256 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13257 LIGATURE_BREAK, since the name is so stupid.
13259 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13261 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13264 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13266 * sp_form.[Ch]: remove.
13268 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13270 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13273 * src/buffer.C (readInset): ditto.
13275 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13277 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13278 menuSeparator(), endOfSentenceDot(), ldots() and
13279 hyphenationPoint(), which are therefore removed.
13280 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13282 * LyXAction.C (init):
13283 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13285 * paragraph.C (getWord): removed.
13287 * BufferView_pimpl.C (Dispatch): use last word or selection for
13288 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13290 * lyx_main.C (queryUserLyXDir): do not ask before creating
13291 user_dir, except if it has been named explicitely.
13293 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13295 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13296 a document of zero size.
13298 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13300 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13301 approriately in the c-tor and in require().
13302 (getPackages): output the appropriate LaTeX for natbib support.
13304 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13305 variables "use_natbib" and "use_numerical_citations" when reading the
13307 (readInset): read the various natbib cite commands.
13308 (validate): white-space change.
13310 * bufferparams.[Ch]: new variables "bool use_natbib" and
13311 "bool use_numerical_citations".
13312 (writeFile): output them in the LyX file.
13314 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13316 * lyxfunc.C (getStatus): add support for all the inset insertion
13319 * text2.C (insertInset):
13320 * paragraph.C (insetAllowed):
13321 * BufferView_pimpl.C (insertInset): update to take in account the
13322 renaming of insertInsetAllowed
13324 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13326 * text2.C (getInset): new method. returns inset at cursor position.
13328 * BufferView_pimpl.C (Dispatch): changes because of this.
13330 * LyXAction.C (init): rename open-stuff to inset-toggle.
13332 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13334 * text2.C (toggleInset): renamed from openStuff; use
13337 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13339 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13341 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13343 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13345 * buffer.C (readLyXformat2): Add filename to the error dialog
13347 2001-07-18 Juergen Vigna <jug@sad.it>
13349 * tabular.C (GetCellNumber): put an assert here instead of the check!
13351 2001-07-17 Juergen Vigna <jug@sad.it>
13353 * BufferView_pimpl.C (toggleSelection): adapted too.
13355 * text.C (selectNextWord): adapted for use with insets.
13356 (selectSelectedWord): ditto
13358 2001-07-17 Juergen Vigna <jug@sad.it>
13360 * sp_spell.C (PSpell): fix initialitation order.
13362 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13364 * paragraph.C: spacing
13366 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13368 * sp_spell.C: repair language selection for pspell
13370 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13372 * lyxfunc.h: change more methods to begin with lower char.
13374 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13376 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13377 for unknown layouts.
13379 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13381 * buffer.C (readLyXformat2): Generate an error dialog if there are
13384 2001-07-16 Juergen Vigna <jug@sad.it>
13386 * sp_spell.C: always compile ISpell part.
13388 * lyxrc.C: added use_pspell entry and it's handling.
13390 2001-07-13 Juergen Vigna <jug@sad.it>
13392 * sp_spell.C: removed double includes.
13394 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13396 Consistent use of Lsstream.h:
13397 * Lsstream.h: added using std::stringstream for consistencies sake.
13399 * buffer.C: removed using std::stringstream
13401 * lyxfont.C (stateText):
13402 * paragraph.C (asString):
13403 * text.C (selectNextWord, selectSelectedWord):
13404 * text2.C (setCounter):
13405 * vspace.C (asString, asLatexString):
13406 std::ostringstream -> ostringstream.
13408 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13410 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13411 * commandtags.h: add LFUN_HELP_ABOUTLYX
13412 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13414 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13416 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13418 * lyx_gui_misc.C: remove spellchecker
13419 * lyxfunc.C: showSpellchecker
13421 * sp_ispell.h: added
13422 * sp_pspell.h: added
13423 * sp_spell.C: added
13424 * sp_form.[Ch]: removed
13425 * spellchecker.[Ch]: removed
13427 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13429 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13431 (simpleTeXSpecialChars): Simply print the input character without
13432 any special translation if pass_thru is set.
13434 * layout.h: Added bool pass_thru to layout class for being able to
13435 implement pass through of a paragraph for Literate Programming.
13437 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13438 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13439 * layout.C (Read): add "passthru" to list of layout tags and add
13440 code to set the pass_thru boolean when it is read.
13442 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13444 * trans_decl.h: remove allowed from KmodInfo
13446 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13447 remove allowed code
13450 * paragraph_pimpl.C (erase): use boost::prior
13452 * Painter.C (text): use data() instead of c_str() when length is
13454 * WorkArea.C (putClipboard): ditto
13455 * font.h (width): ditto
13457 * BufferView2.C: use it-> instead of (*it). for iterators
13459 * paragraph_pimpl.C: ditto
13460 * paragraph.C: ditto
13461 * minibuffer.C: ditto
13462 * language.C: ditto
13464 * encoding.C: ditto
13465 * counters.C: ditto
13466 * converter.C: ditto
13468 * Variables.C: ditto
13469 * TextCache.C: ditto
13470 * MenuBackend.C: ditto
13471 * LyXAction.C: ditto
13473 * FloatList.C: ditto
13474 * DepTable.C: ditto
13475 * ColorHandler.C (LyXColorHandler): ditto
13477 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13479 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13481 * text2.C (openStuff): reintroduce this method (which had been
13482 nuked in NEW_INSETS frenzy).
13484 * lyxfunc.C (Dispatch): when an action has not been handled, use
13485 its name in the error message, not its number.
13487 * paragraph.C (inInset): change method name to begin with lowercase.
13490 * text2.C: updates because of this.
13492 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13494 * ToolbarDefaults.C (add): add spaces in error message
13496 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13498 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13499 (readLyXformat2): rename return_par to first_par, use lyxlex's
13500 pushToken and remove the manual push handling.
13501 (parseSingleLyXformat2Token): add another ert comp. variable:
13502 in_tabular, rename return_par to first_par. handle newlines better
13504 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13506 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13508 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13510 * text2.C (getParFromID): removed
13512 * buffer.C (getParFromID): new method moved form lyxtext.
13513 * BufferView2.C (insertErrors): adjust
13514 (setCursorFromRow): adjust
13515 * BufferView_pimpl.C (restorePosition): adjust
13516 * lyxfunc.C (Dispatch): adjust
13517 * undo_funcs.C (textUndo): adjust
13519 (textHandleUndo): adjust
13520 (textHandleUndo): adjust
13522 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13524 * buffer.C: up' the LYX_FORMAT
13526 * lyxfont.h: turn NO_LATEX on as default
13528 * buffer.C (insertErtContents): new methods of tex style compability.
13529 (parseSingleLyXformat2Token): use it several places.
13530 * tabular.C (OldFormatRead): and here
13532 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13534 * text2.C: remove some commented code.
13537 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13538 * trans.C: changes because of the above.
13540 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13542 * text2.C (setCounter): Fix counters bug with bibliography layout.
13544 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13546 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13547 own member functions
13548 (simpleTeXSpecialChars): ditto
13550 2001-07-06 Juergen Vigna <jug@sad.it>
13552 * a lot of files: changed the access to LyXText::status and the
13553 call of undo-functions.
13555 * undo.[Ch]: added a inset_id to the undo informations.
13557 * undo_funcs.[Ch]: added and moved here all undo functions.
13559 * lyxtext.h: give the status enum a weight, made status_ a private
13560 variable and made accessor functions for it, removed the whole bunch
13561 of undo-functions as they are now in their own file, make some
13562 functions publically available. Added function ownerParagraph with
13565 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13566 made InInset() a const function, added getParFromID() function.
13568 * buffer.[Ch]: added const version for inset_iterator functions,
13569 added getInsetFromID() function.
13571 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13572 changed undo functions for new version.
13574 2001-07-05 Juergen Vigna <jug@sad.it>
13576 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13577 unknow mechanism does not call the proper constructor but only this
13578 one also if I request the other!?
13580 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13582 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13584 * text2.C (LyXText): use initialization lists.
13586 * lyxtext.h (Selection): initialize set_ and mark_
13587 (init): remove method
13589 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13591 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13593 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13595 * screen.[Ch]: change method names to begin with lowercase
13597 * BufferView_pimpl.C (updateScrollbar): simplify further and
13598 hopefully make it a bit faster.
13600 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13602 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13603 calling directly xforms functions.
13605 * Painter.C (Painter):
13606 * lyx_cb.C (MenuWrite):
13607 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13610 * lyx_gui.C: remove bogus guiruntime extern declaration.
13612 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13614 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13616 (redoDrawingOfParagraph): ditto
13617 (redoParagraphs): ditto
13618 (cutSelection): don't create a object for CutAndPaste use the
13619 static method directly
13620 (pasteSelection): ditto
13622 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13625 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13627 * modifications to some other files because of this.
13629 * Makefile.am (lyx_SOURCES): add XFormsView
13631 * XFormsView.[Ch]: new files
13633 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13634 the main window. Move the gui dependent stuff to XFormsView
13636 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13638 * tabular.C (GetCellInset): update cur_cell also in the row/col
13639 version of this function.
13641 * lyxfunc.C: no need to include figure_form.h here.
13647 * lyxvc.C: no need to include forms.h here.
13649 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13651 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13653 * lyxfunc.C (Dispatch):
13655 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13656 constructor argument.
13658 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13660 * paragraph.C (Paragraph): dont't clear, and just set layout.
13661 (makeSameLayout): use params's copy contructor.
13663 * ParagraphParameters.[Ch] (makeSame): delete method
13665 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13667 * Variables.[Ch]: fix indentation, rename set to isSet
13669 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13671 * lyxfunc.C (Dispatch): fix typo
13673 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13675 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13678 * bufferlist.C: include assert.h for emergencyWrite().
13680 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13682 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13683 give up at last (bug #425202) !
13685 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13691 * spellchecker.C: strip spellchecker options and bring up
13692 preferences tab instead
13694 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13696 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13697 the istringstream constructor
13699 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13701 * paragraph.C (getLayout): fix return value
13703 * paragraph.h: do not declare getLayout as inline.
13705 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13707 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13709 * lyxcursor.h (operator<): new func
13710 (operator>): new func
13711 (operator>=): new func
13712 (operator<=): new func
13714 * text.C (changeCase): use selection.start and selection.end
13715 (changeRegionCase): require from to be <= to. Require par to be a
13718 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13720 2001-06-27 Juergen Vigna <jug@sad.it>
13722 * text.C (cursorLeftOneWord): changed to return the cursor and added
13723 overlay with BufferView * parameter which calls this one.
13725 (selectWord): use new getWord function.
13726 (changeCase): renamed from changeWordCase as and extended to work
13727 also on selections.
13729 * lyxtext.h: added enum word_location
13731 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13732 changeCase as this operates now also on selections.
13734 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13736 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13738 * many files: send debug output to Debug::INFO instead of
13741 * converter.C (View):
13743 (Move): send debug output to Debug::FILES instead of console.
13745 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13747 * lyxfunc.C (getStatus): use func_status
13749 * func_status.h: new header, describing the results of
13750 LyXFunc::getStatus;
13752 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13755 2001-06-25 The LyX Project <jug@sad.it>
13757 * buffer.C (sgmlOpenTag):
13759 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13761 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13763 * text2.C: remove some dead code
13765 * tabular.C (GetCellInset): store the last cell checked (gotten)
13767 * tabular.h: add the helper for the speedup
13769 * lyxtext.h: remove some dead code
13771 2001-06-26 The LyX Project <Asger>
13773 * paragraph.C: Change export to LaTeX of alignment to
13774 \begin{center} and family for better roundtrip work with reLyX.
13776 * Tune the math drawing a bit.
13778 2001-06-25 The LyX Project <Asger>
13780 * LColor.C (LColor): New color for math background. New color
13783 2001-06-25 The LyX Project <jug@sad.it>
13785 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13787 * lyxfunc.C (Open):
13788 * bufferlist.C (newFile): do not restrict to files ending with
13791 * BufferView_pimpl.C (MenuInsertLyXFile):
13793 2001-06-24 The LyX Project <jug@sad.it>
13795 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13798 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13800 * lyxtext.h: rename most methods to begin with a small char.
13801 Lots of changes because of this.
13803 * paragraph.C (Paragraph): do not call fitToSize
13804 (erase): call Pimpl::erase
13805 (insertChar): call Pimpl::insertChar
13806 (insertInset): call Pipl::insertInset
13807 (breakParagraph): do not call fitToSize
13808 (breakParagraphConservative): do not call fitToSize
13809 (fitToSize): remove method
13811 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13813 2001-06-24 The LyX Project <Asger>
13815 * Fix Qt compilation^2
13817 2001-06-24 The LyX Project <jug@sad.it>
13819 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13820 depthHook(getDepth()-1).
13823 * ParagraphParameters.h:
13824 * ParameterStruct.h: change type of depth to unsigned int ==
13825 depth_type. Many adaptations to other files before of that.
13827 2001-06-24 The LyX Project <Asger>
13829 * Fix Qt compilation.
13831 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13833 * paragraph.h: renamed several methods to begin with small letter.
13834 several changes to many parts of the code because of this.
13836 2001-06-23 The LyX Project <jug@sad.it>
13838 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13839 rewritten to discard all double spaces when KeepEmpty is off
13840 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13841 to only handle newlines but not fiddle with spaces and friends.
13843 * lyxfunc.C (MenuNew): when doing 'new from template', use
13844 template_path as default directory
13846 2001-06-23 The LyX Project <Asger>
13848 * Clean-up of header file includes all over
13849 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13851 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13853 * paragraph.h: renamed from lyxparagraph.h
13855 2001-06-23 Asger <lyx@violet.home.sad.it>
13857 * Buffer.h: Removed Buffer::resize
13858 * BufferList.h: Removed BufferList::resize
13859 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13860 the document lazily when we change the width, or the font settings.
13862 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13864 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13866 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13868 * buffer.h: remove out of date comment
13870 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13873 * screen.C: fix "theoretical" GC leak
13875 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13877 * LaTeX.C (scanAuxFile):
13878 (deplog): remove trailing \r when reading stream (useful under
13881 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13883 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13884 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13885 and BufferView::theLockingInset(Inset*), so should use them and not
13886 access bv_->text->the_locking_inset directly.
13888 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13890 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13893 * tex-defs.h: remove old unused file
13895 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13897 * BufferView_pimpl.C: fix typo, remove minibuffer message
13898 when buffer has loaded
13900 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13902 * lyxfunc.C (Dispatch): use stringstream
13903 (MenuNew): use stringstream
13904 (Open): use stringstream
13906 * importer.C (Import): use stringstream
13908 * bufferview_funcs.C (CurrentState): use stringstream
13910 * LaTeX.C (run): use stringstream
13912 * BufferView_pimpl.C (savePosition): use stringstream
13913 (restorePosition): use stringstream
13914 (MenuInsertLyXFile): use stringstream
13916 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13929 * vspace.C: removed // -*- C++ -*- as first line.
13932 * version.h: added // -*- C++ -*- as first line.
13934 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13936 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13938 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13941 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13943 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13946 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13948 * gettext.C: include LString.h even when --disable-nls is on.
13950 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13952 * converter.h (Get): changed argument type from int to
13953 FormatList::size_type to avoid unnecessary conversion.
13955 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13958 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13960 * gettext.h: include LString.h even when --disable-nls is on.
13962 2001-06-07 Juergen Vigna <jug@sad.it>
13964 * text.C (BreakAgain): subst spaces with tabs.
13966 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13967 (resizeInsetsLyXText): set force on resizeLyXText.
13969 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13971 * gettext.h (gettext_init):
13972 (locale_init): use a real definition instead of a macro
13974 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13976 * Bufferview_pimpl.C:
13978 * LColor.C: further lcolor tidies
13980 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13982 * BufferView_pimpl.C (updateScrollbar): simplify.
13984 * BufferView2.C: don't include insets/insetinfo.h, change
13985 prototype for insertInset and call the Pimpl version. let
13986 updateInset call Pimpl version.
13988 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13989 gotoInset to BufferView::Pimpl
13991 2001-06-01 Juergen Vigna <jug@sad.it>
13993 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13994 inside a LockingInset (is the update needed at all?).
13996 2001-05-31 Juergen Vigna <jug@sad.it>
13998 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13999 here not the old one otherwise how should we compare it afterwards
14002 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14007 * FontInfo.C: bring C functions into global namespace when
14010 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14012 * LString.h: make sure config.h has been loaded before LString.h.
14014 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14015 (one for each char read by EatLine!).
14017 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14020 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14022 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14023 to the same as the par we break from
14025 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14027 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14029 * MenuBackend.C (expand): also create menu entries for wide
14030 versions of the floats.
14032 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14034 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14036 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14037 frontends/Makefile.am
14043 * tabular.C (getTokenValue): add std::
14045 * tabular-old.C (getTokenValue): add std::
14046 (getTokenValue): ditto
14047 (getTokenValue): ditto
14049 * screen.C (ToggleSelection): adjust
14051 * lyxtext.h: put selection cursors inside a Selection struct.
14053 * lyxfunc.C (moveCursorUpdate): adjust
14055 * lyxfont.C (latexWriteStartChanges): add std::
14057 * lyxfind.C: adjust
14059 * font.h: delete with(char const *, LyXFont const &)
14061 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14063 * FontInfo.C (getFontname): add std::
14065 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14066 (workAreaButtonPress): adjust
14067 (tripleClick): adjust
14069 (moveCursorUpdate): adjust
14072 * BufferView2.C (gotoInset): adjust
14074 2001-05-30 Juergen Vigna <jug@sad.it>
14076 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14077 to check pspell I add this as default as I now have new pspell
14078 libraries and they seem to use this.
14080 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14082 * text2.C (CutSelection): make the cursor valid before the call to
14085 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14087 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14088 relied on 0 terminated strings and other horrors. Bug found due to
14089 the new assert in lyxstring!
14091 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14094 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14096 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14099 * lyxfunc.C (processKeySym): change method of getting to the
14102 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14103 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14104 * BufferView_pimpl.[Ch]: here as private methods.
14106 2001-05-28 Juergen Vigna <jug@sad.it>
14108 * text.C (SetHeightOfRow): added the update() call again as it is
14109 needed to initialize inset dimensions!
14111 2001-05-16 Juergen Vigna <jug@sad.it>
14113 * text2.C (SetCharFont): Add new function with BufferView * and
14114 bool toggleall parameters for setting insets internal fonts.
14115 (SetFont): Freeze the undo as we may change fonts in Insets and
14116 all this change should be inside only one Undo!
14118 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14119 setting font's in insets as for them we have the SetFont function!
14121 2001-05-15 Juergen Vigna <jug@sad.it>
14123 * text2.C (ClearSelection): to be sure we REALLY don't have any
14126 * tabular.C (TeXCellPreamble): fixed the left border problem for
14129 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14131 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14134 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14136 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14137 LFUN_BREAKPARAGRAPH.
14139 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14140 help test to "internal only", similar for LFUN_INSERT_URL
14142 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14143 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14144 auto_region_delete and deadkeys.
14146 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14149 * LColor.C: remove some dead entries, tidy a little
14151 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14153 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14155 (Dispatch): implement LFUN_ESCAPE
14157 * commandtags.h: add LFUN_ESCAPE
14159 * LyXAction.C (init): add entry for LFUN_ESCAPE
14161 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14162 Remove commented code.
14163 (insertNote): moved here
14164 (open_new_inset): moved here
14166 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14169 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14171 * kbmap.C (findbinding): clean it up and make it work correctly.
14173 * lyx_main.C (init): do not pass argc and argv as parameters
14175 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14177 * buffer.C: fix path for OS/2 & Win32
14181 * lyx_main.C: Added os:: class.
14183 * os2_defines.h: update
14185 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14187 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14188 better by trying again with reduced state.
14190 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14192 * lyxrc.C (read): print error about invalid key sequence only when
14193 debugging (because not all latinX keysyms are known to some X
14196 * kbsequence.C (getiso): add a few std:: qualifiers
14197 (getiso): comment out extra return statement.
14199 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14201 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14203 (Dispatch): enhance the accent inset a bit. (not perfect)
14205 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14207 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14209 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14211 * bufferlist.C (emergencyWrite): fix assert() call
14213 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14215 * text.C (InsertChar): Added trivial patch to only send the "you
14216 can not do multiple spaces this way" message once during a
14219 2001-05-08 Baruch Even <baruch@lyx.org>
14221 * Makefile.am: Changed order of libraries to get LyX to link properly
14222 with the gnome frontend.
14224 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14226 * LaTeXFeatures.h: add a std:: qualifier
14228 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14230 * paragraph.C (String): use stringstream
14232 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14234 * paragraph.C (writeFile): remove footflag arg
14236 * buffer.C (makeLaTeXFile): use stringstream
14237 (latexParagraphs): remove footnot gurba
14239 * LaTeXFeatures.C (getPackages): use stringstream
14240 (getMacros): likewise
14241 (getTClassPreamble): likewise
14242 (getFloatDefinitions): new method
14244 * paragraph.C (writeFile): reindent
14247 * WorkArea.h: revert the xpos + etc changes.
14249 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14251 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14253 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14254 (pasteSelection): likewise
14255 * text2.C (CreateUndo): likewise
14257 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14259 * minibuffer.C (peek_event): temporarily reduce the functionality
14260 of the minibuffer (to allow args on lfuns)
14262 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14263 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14265 * buffer.C (readInset): add compability reading of old float
14266 lists, add reading of new style float list.
14267 (readInset): avoid reevaluation of inscmd.getCmdName()
14268 (getLists): reindent
14270 * MenuBackend.C (MenuItem): implement parsing of
14271 md_floatlistinsert and md_floatinsert.
14272 (expand::LastFiles): move initalizaton of iterators out of loop,
14273 avoid reevaluation.
14274 (expand::Documents): introduce typdedef vector<string> Strings,
14276 (expand::ExportFormats): introduce typedef vector<Format const *>
14277 Formats, and use it.
14278 (expand): implement FloatListInsert and FloatInsert.
14280 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14281 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14282 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14284 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14286 (Dispatch::LFUN_FLOAT_LIST): implement
14288 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14290 * LaTeX.C (run): Fix problem with --export code.
14292 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14294 * BufferView.[Ch] (workarea): removed.
14295 (getClipboard) new method; wrapper for workarea()->getClipboard()
14297 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14300 * WorkArea.h (width, height, xpos, ypos): These methods all
14301 returned the dimensions of the work_area sub-area of WorkArea,
14302 resulting in a position error if the WorkArea were resized. Now
14303 return the dimensions of the entire WorkArea.
14305 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14307 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14309 * LaTeX.C (deplog): correct the syntax of regex reg1
14311 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14313 * undo.C: remove !NEW_INSETS cruft
14315 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14317 * text2.C: remove !NEW_INSETS cruft
14319 * text.C: remove !NEW_INSETS cruft
14321 * tabular.C: remove !NEW_INSETS cruft
14323 * spellchecker.C: remove !NEW_INSETS cruft
14325 * lyxtext.h: remove !NEW_INSETS cruft
14327 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14329 * lyxfunc.C: remove !NEW_INSETS cruft
14331 * lyxfind.C: remove !NEW_INSETS cruft
14333 * lyx_cb.C: remove !NEW_INSETS cruft
14335 * figureForm.C: remove !NEW_INSETS cruft
14337 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14339 * buffer.[Ch]: remove !NEW_INSETS cruft
14341 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14343 * CutAndPaste.C: remove !NEW_INSETS cruft
14345 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14347 * BufferView2.C: remove !NEW_INSETS cruft
14349 * BufferView.h: remove !NEW_INSETS cruft
14351 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14353 * Lsstream.h: include LString.h before the sstream headers to
14354 fix problem with gcc 2.95.3 and lyxstring
14356 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14358 * lyx_main.C: add using directives when needed for C functions
14359 declared in std:: namespace.
14361 2001-04-27 Juergen Vigna <jug@sad.it>
14363 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14364 (SetHeightOfRow): comment out the update call should not be needed!
14366 2001-04-13 Juergen Vigna <jug@sad.it>
14368 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14369 (LyXTabular): tried to minimize operator= operations (and realized
14370 hopfully Lars wish).
14372 2001-04-27 Juergen Vigna <jug@sad.it>
14374 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14376 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14378 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14380 * buffer.C (readInset): hack to make listof algorithm work
14382 * BufferView_pimpl.C: hack to make listof algorithm work
14384 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14386 * LyXAction.C: removed all !NEW_INSETS cruft
14387 (init): moved lfun_item in method
14389 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14391 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14393 * BufferView2.C (theLockingInset): white space.
14395 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14397 * minibuffer.C: include <iostream>
14399 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14401 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14403 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14405 * text.[Ch] (TransposeChars): new method
14407 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14409 * call message directly through LyXView instead of through LyXFunc
14410 * BufferView2.C: adjust
14411 * BufferView_pimpl.C: adjust
14412 * FontLoader.C: adjust
14414 * bufferview_funcs.C: adjust
14415 * converter.C: adjust
14416 * figureForm.C: adjust
14417 * importer.C: adjust
14419 * lyx_gui_misc.C: adjust
14420 * lyxfunc.C: adjust
14423 + more files in subdirs
14425 * lyxparagraph.h (size): move up int file
14428 * adjust all uses of Assert to lyx::Assert.
14430 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14431 lyxfunctional in namespace lyx
14432 * layout.C (hasLayout): ditto
14435 (delete_layout): ditto
14436 (NumberOfClass): ditto
14437 * converter.C (GetFormat): ditto
14442 * bufferlist.C (getFileNames): ditto
14443 (emergencyWriteAll): ditto
14446 * MenuBackend.C (hasSubmenu): ditto
14449 * BufferView_pimpl.C (getInsetByCode): ditto
14451 2001-04-18 Juergen Vigna <jug@sad.it>
14453 * vspace.C (asLatexString): fixed the 100% problem.
14455 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14457 * lyxfunc.C (Dispatch):
14459 * minibuffer.h: add a few std:: qualifiers
14461 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14463 * minibuffer.[Ch]: reimplement so that commands is initiated and
14464 run from lyxfunc, simplified som handling, and made the completion
14465 and history code for complete. wip.
14467 * lyxfunc.C (processKeySym): call message
14468 (miniDispatch): new temporary method
14469 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14470 (LFUN_MESSAGE): implement
14471 (LFUN_MESSAGE_PUSH): implement
14472 (LFUN_MESSAGE_POP): implement
14473 (initMiniBuffer): the initial/defualt minibuffer message.
14475 * lyxfont.[Ch]: inline some more getters
14477 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14479 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14481 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14482 (AutoSave): use LFUN_MESSAGE
14483 (Reconfigure): ditto
14485 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14487 * figureForm.C: use LFUN_MESSAGE
14489 * converter.C (runLaTeX): use LFUN_MESSAGE
14491 * bufferview_funcs.C: use LFUN_MESSAGE
14493 (changeDepth): ditto
14495 * bufferparams.h: use boost::
14497 * bufferlist.h: inherit privately from noncopyable
14499 * bufferlist.C (loadLyXFile): remove some commented code.
14501 * buffer.C (runChktex): use LFUN_MESSAGE
14503 * ShareContainer.h: inherit privately from noncopyable
14505 * ParagraphParameters.[hC] (depth): inline it.
14507 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14509 (message): new method
14510 (messagePush): ditto
14511 (messagePop): ditto
14512 (show): init minibuffer
14513 (showState): direct call
14515 * LaTeX.[Ch]: inherit privately from noncopyable
14516 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14517 instead of WriteStatus.
14519 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14521 * BufferView_pimpl.C (buffer): don't init minibuffer
14522 (workAreaButtonPress): use LFUN_MESSAGE
14523 (workAreaButtonRelease): ditto
14524 (savePosition): ditto
14525 (restorePosition): ditto
14526 (MenuInsertLyXFile): ditto
14527 (workAreaExpose): don't init minibuffer
14528 (update): remove commented code, simplify
14530 * BufferView2.C (openStuff): use LFUN_MESSAGE
14531 (toggleFloat): ditto
14534 (copyEnvironment): ditto
14535 (pasteEnvironment): ditto
14540 (updateInset): remove some commented code
14542 * lastfiles.h: inherit privately from noncopyable
14545 * lyx_main.h: ditto
14547 * lyxlex_pimpl.h: ditto
14549 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14550 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14551 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14553 * LyXAction.h: inherit privately from noncopyable, add methods
14554 func_begin, func_end, returning iterators to the func map.
14556 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14557 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14558 (func_begin): new method
14559 (func_end): new method
14561 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14563 (copySelection): ditto
14564 (pasteSelection): ditto
14566 * BufferView.C: whitespace change
14567 * BufferView.h: inherit privately from noncopyable
14569 2001-04-16 Allan Rae <rae@lyx.org>
14571 * tabular-old.C (l_getline):
14572 * spellchecker.C (sc_check_word):
14573 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14574 an unrecognised preprocessor directive. So ensure they're wrapped.
14576 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14578 * src/exporter.C (Export): Give an error message when path to file
14581 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14583 * LaTeX.C (deplog): Always check that foundfile exists.
14585 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14588 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14590 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14592 * tabular.[Ch] (getLabelList): implement new method
14594 * minibuffer.h: comment ouf setTiimer
14596 * minibuffer.C (ExecutingCB): constify res
14597 (peek_event): constify s
14598 (Set): constify ntext
14599 (Init): constify nicename
14601 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14603 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14604 (savePosition): use two params to Minibuffer::Set
14605 (restorePosition): ditto
14607 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14609 * lyx_main.C: include language.h
14611 * Makefile.am (lyx_main.o): add language.h
14613 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14619 * CutAndPaste.C: include gettext.h
14621 * lyxfont.h: remove old hack with ON and OFF.
14624 * lyxfont.h: do not include language.h...
14629 * bufferview_funcs.C:
14635 * paragraph.C: ... but do it here instead
14637 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14639 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14641 * tabular.C: small reformat
14643 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14646 (BreakParagraph): ditto
14647 (SetOnlyLayout): ditto
14650 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14653 * lastfiles.C: removed most using decl, add std:: where needed
14655 * buffer.C: ws changes
14657 * MenuBackend.C (class compare_format): put into anon namespace
14658 (expand): constify label, names, action, action2
14661 * text.C (SingleWidth): constify font
14662 (IsBoundary): constify rtl2
14663 (GetVisibleRow): constify ww
14665 * LaTeX.C (deplog): constify logfile
14667 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14669 (workAreaExpose): constify widthChange, heightChange
14671 * lyxrow.C (par): moved
14674 * lyxrow.h: as inlines here
14676 * lyxfont.h (shape): moved from lyxfont.C
14677 (emph): moved from lyxfont.C
14679 * lyxfont.C (LyXFont): use initialization list for all
14681 (shape): move to lyxfont.h as inline
14682 (emph): move to lyxfont.h as inline
14685 2001-04-04 Juergen Vigna <jug@sad.it>
14687 * vspace.C: had to include stdio.h for use of sscanf
14689 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14692 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14693 independent of xforms.
14695 2001-04-02 Juergen Vigna <jug@sad.it>
14697 * spellchecker.C: fixed namespace placing!
14699 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14701 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14702 the LyXParagraph * is 0.
14704 2001-03-29 Juergen Vigna <jug@sad.it>
14706 * vspace.C: added support for %, c%, p%, l%.
14707 (stringFromUnit): added helper function.
14708 (asLatexString): changed to give right results for the %-values.
14710 * buffer.C: convert the widthp in a width%.
14712 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14714 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14717 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14718 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14720 * lyx_cb.[Ch]: see above.
14722 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14726 * lyx.[Ch]: replaced by figure_form.[Ch].
14730 * lyxfunc.C: changed headers associated with above changes.
14732 2001-03-27 Juergen Vigna <jug@sad.it>
14734 * BufferView_pimpl.C: set the temporary cursor right!
14736 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14738 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14740 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14742 * LString.h: removed "using std::getline"!
14744 * BufferView_pimpl.C (Dispatch): changes due to changes in
14745 InsetInclude::Params.
14747 * buffer.C (tag_name): removed redundant break statements as they were
14748 producing lots of warnings with my compiler.
14750 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14752 * LString.h: add "using std::getline" when using the real <string>.
14754 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14756 * buffer.C: removed bitset usage.
14757 PAR_TAG moved to an anonymous name space.
14758 (tag_name): new funtion, also in the anonymous namespace.
14759 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14760 (makeDocBookFile): clean code. Completed transition from string arrays
14762 (SimpleDocBookOnePar): code clean.
14764 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14766 * tabular.C: add some comments.
14768 2001-03-22 Juergen Vigna <jug@sad.it>
14770 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14771 compatibility read a bit and fixed bug with minipage in different
14774 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14776 * buffer.C (pop_tag): removed.
14777 (push_tag): removed.
14778 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14779 array replaced with vector. Added support for CDATA sections.
14780 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14782 (makeDocBookFile): XML conformant declaration of CDATA section,
14783 fixed bug related to <emphasis> in the first paragraph char.
14784 (sgmlOpenTag): exclude empty tags.
14785 (sgmlCloseTag): ditto.
14787 * buffer.h (pop_tag): removed.
14788 (push_tag): removed.
14790 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14792 * language.h (Languages): added size_type and size().
14794 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14796 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14797 response on compability reading of minipages. One probliem is that
14798 the old usage of minipages was «flertydig»
14800 * several files here and in subdirs: don't use static at file
14801 scope use anon namespaces instead.
14803 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14805 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14806 LaTeX output. This is necessary for Literate document
14809 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14811 * buffer.C: insert hfill when needed.
14813 * tabular.C (l_getline): use string::erase, small whitespace change.
14815 * BufferView_pimpl.C: try the anon namespace.
14816 * WorkArea.C: ditto
14818 2001-03-16 Juergen Vigna <jug@sad.it>
14820 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14821 otherwise it won't open options-dialogs.
14823 * buffer.C: honor pextraWidth(p) on converting minipages.
14825 * tabular.C (l_getline): changed the functions to strip trailing \r.
14827 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14829 * BufferView_pimpl.C:
14830 * minibuffer..C: added "using SigC::slot" declaration.
14832 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14834 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14840 * paragraph.C: ditto
14842 * lyxtext.h: NO_PEXTRA
14844 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14846 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14847 * ParameterStruct.h: ditto
14848 * ParagraphParameters.h: ditto
14849 * lyxparagraph.h: ditto
14851 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14853 * buffer.C: add compability for minipage alignment.
14854 (latexParagraphs): remove unwanted pextra check.
14856 * several files: remove CXX_WORKING_NAMESPACES
14858 * buffer.C (pop_tag): tie is in namespace boost
14860 * BufferView.h: noncopyable is in namespace boost
14862 * lyx_main.h: ditto
14865 * lastfiles.h: ditto
14866 * bufferlist.h: ditto
14867 * ShareContainer.h: ditto
14869 * LyXAction.h: ditto
14872 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14874 * Merging changes from BRANCH_MVC back into HEAD.
14876 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14878 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14880 * BufferView_pimpl.C: change from intl.C
14884 * Makefile.am: move combox.*
14890 * intl.C: remove dialog (covered by prefs)
14892 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14894 * lyxfunc.C (Dispatch): removed redundant break statement.
14896 2001-03-14 Juergen Vigna <jug@sad.it>
14898 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14900 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14902 * buffer.C: add hack to fix compability reading of minipages.
14904 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14906 * buffer.C (getLists): Cleanup.
14908 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14910 * lyxfont.C (update): don't honor toggleall on font size.
14912 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14916 * Makefile.am: moved to frontends/xforms/
14920 * BufferView_pimpl.C: changes for moved mathpanel
14922 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14924 * gettext.h: fix gettext_init() in --disable-nls
14926 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14928 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14930 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14933 * lyx.h: strip external form
14935 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14937 * BufferView_pimpl.C: add comment, destroySplash()
14939 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14941 * BufferView_pimpl.C:
14945 * lyxfunc.C: use re-worked insetinclude
14947 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14949 * buffer.C: add using std::stringstream.
14951 * lyx_cb.C: readd using std::ios.
14953 * buffer.C: add using std::map.
14955 * BufferView_pimpl.C: add using std::vector.
14957 * ShareContainer.h: add std:: to swap.
14959 * buffer.h: add some typedefs
14960 * buffer.C (getLists): use them
14961 (getLists): renamed from getTocList.
14962 add a counter for the different float types and use it in the
14964 (getLists): use the same counter for the NEW_INSETS and the "non"
14967 * lyx_cb.h: remove unused items, includes, using etc.
14969 * ShareContainer.h: remove some commented code, add more comments
14970 and "documentation".
14972 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14974 * buffer.C (getTocList): make the list also when NEW_INSETS is
14977 * buffer.h: remove TocType
14979 * buffer.C (getTocList): change to return a map<string,
14980 vector<TocItem> >, implement for dynamic number of list.
14982 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14983 * text2.C (PasteSelection): adjust
14984 * CutAndPaste.C (pasteSelection): adjust
14986 * FloatList.C (FloatList): update from the new_insets branch.
14987 * Floating.[Ch]: ditto
14988 * LaTeXFeatures.C: ditto
14990 * lyxlex_pimpl.C: ditto
14992 * paragraph.C (Last): remove when NEW_INSETS is defined.
14994 * other file: changes because of the above.
14996 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14998 * lyxparagraph.h: rename next to next_, previous to previous_,
14999 make them private for NEW_INSETS. Rename Next() to next(),
15000 Previous() to previous().
15002 * other files: changes because of the above.
15004 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15007 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15010 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15012 * main.C (main): pass lyx_localedir to gettext_init().
15014 * gettext.h: remove locale_init and gettext_init macros
15016 * gettext.C (locale_init): new function
15017 (gettext_init): new function
15019 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15022 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15024 * Moved credits to frontends:
15025 * credits.[Ch]: removed
15026 * credits_form.[Ch]: removed
15027 * lyx_gui_misc.C: remove credits stuff
15030 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15032 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15034 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15035 unneeded destructor.
15037 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15038 a standalone pointer again.
15040 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15042 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15048 * ToolbarDefaults.C:
15057 * BufferView_pimpl.C: use new file dialog in GUII
15060 * lyx_cb.C: remove LayoutsCB to Toolbar
15062 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15064 * ShareContainer.h (get): add std:: qualifier
15066 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15068 * ShareContainer.h: define a proper ShareContainer::value_type
15069 type (and use typename to please compaq cxx)
15071 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15073 * lyxparagraph.h: move serveral local vars to
15074 ParameterStruct/ParagraphParameters., use ShareContainer in
15075 FontTable., make vars in FontTable private and add getter and
15078 * paragraph.C: changes because of the above.
15080 * lyxfont.h: remove copy constructor and copy assignment. (the
15081 default ones is ok), move number inside FontBits. move inlines to
15084 * lyxfont.C: add number to initializaton of statics, move several
15085 inlines here. constify several local vars. some whitespace
15086 cleanup. Dont hide outerscope variables.
15088 * Spacing.h: add two new constructors to match the set methods.
15090 * ShareContainer.h: new file, will perhaps be moved to support
15092 * ParameterStruct.h: new file
15094 * ParagraphParameters.h: new file
15096 * ParagraphParameters.C: new file
15098 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15099 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15101 * BufferView_pimpl.C: ParagraphParameter changes.
15102 * buffer.C: Likewise.
15103 * bufferview_funcs.C: Likewise.
15104 * text.C: Likewise.
15105 * text2.C: Likewise.
15107 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15109 * lyxfind.C (LyXReplace): do not redefine default argument in
15111 (IsStringInText): ditto
15112 (SearchForward): ditto
15113 (SearchBackward): ditto
15115 2001-03-06 Juergen Vigna <jug@sad.it>
15117 * lyxfind.C (IsStringInText): put parentes around expressions.
15119 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15121 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15123 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15125 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15127 * stl_string_fwd.h: add comment
15129 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15132 * tabular.C: remove unused DocBook methods
15138 killed DO_USE_DEFAULT_LANGUAGE
15140 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15142 * lyx_gui.C: do not include language.h.
15144 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15145 arguments in function implementation.
15147 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15149 * BufferView_pimpl.C: add <ctime>
15151 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15153 * BufferView_pimpl.C: add using std::find_if
15155 2001-02-27 José Matos <jamatos@fep.up.pt>
15157 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15160 2001-02-11 José Matos <jamatos@fep.up.pt>
15162 * buffer.C (makeDocBookFile): command styles now have a parameter as
15163 "title" by default.
15165 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15167 * layout_forms.[Ch]: removed
15168 * lyx_cb.[Ch]: out character
15169 * lyx_gui.C: out character
15170 * lyx_gui_misc.C: out character
15171 * bufferview_funcs.C: : out character,
15172 added toggleall as parameter in ToggleAndShow
15174 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15176 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15178 * text2.C (SetCurrentFont): Disable number property at boundary.
15180 2001-02-26 Juergen Vigna <jug@sad.it>
15182 * lyxfunc.C (getStatus): added a string argument override function so
15183 that this is correctly called from LyXFunc::Dispatch if it contains a
15184 do_not_use_argument which is used!
15185 (Dispatch): added check for "custom" export and call appropriate func.
15187 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15189 * lyxrc.C: Add language_command_local, language_use_babel and
15190 language_global_options.
15192 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15194 * buffer.C (makeLaTeXFile): Use language_use_babel and
15195 language_global_options.
15197 2001-02-23 Juergen Vigna <jug@sad.it>
15199 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15200 which works with LyXText and putted it inside BufferView. Here now we
15201 only call for that part the BufferView::Dispatch() function.
15203 * BufferView.C (Dispatch): added.
15205 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15206 functions which needs to use a LyXText over from LyXFunc.
15207 (MenuInsertLyXFile): added
15208 (getInsetByCode): added
15209 (moveCursorUpdate): added
15210 (static TEXT): added
15212 2001-02-22 Juergen Vigna <jug@sad.it>
15214 * BufferView_pimpl.C (update): call a status update to see if LyXText
15217 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15219 * vc-backend.C (revert): implement for CVS
15220 (getLog): implement for CVS
15222 2001-02-20 Juergen Vigna <jug@sad.it>
15224 * text2.C (ClearSelection): added BufferView param for inset_owner call
15226 * lyxfunc.C (TEXT): added this function and use it instead of
15227 directly owner->view()-text of getLyXText().
15229 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15231 * src/layout_forms.C: out preamble
15232 * src/layout_forms.h: out preamble
15233 * src/lyx_cb.C: out preamble
15234 * src/lyx_cb.h: out preamble
15235 * src/lyx_gui.C: out preamble
15236 * src/lyx_gui_misc.C: out preamble
15237 * src/lyxfunc.C: connect with guii preamble
15239 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15241 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15243 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15245 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15246 whether to run bibtex.
15248 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15250 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15252 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15254 * Makefile.am (lyx_SOURCES): removed bibforms.h
15256 * vspace.h: doxygen
15258 * text.C (GetVisibleRow): make several local vars const
15260 * tabular.C: small cleanup.
15262 * lyxserver.C (callback): use compare instead of strncmp
15264 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15265 inlines to after class or to paragraph.C
15267 * lyxfont.h: remove friend operator!=
15269 * converter.h: move friend bool operator< to non friend and after
15272 * combox.h: small cleanup
15274 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15275 to inlines after class def.
15277 * buffer.C (pop_tag): use string operations instead of strcmp
15279 * bmtable.c: doxygen, small cleanup
15281 * LaTeX.h: remove friend operator==
15283 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15295 * BufferView_pimpl.C:
15296 * BufferView.[Ch]: remove cruft
15298 2001-02-14 Juergen Vigna <jug@sad.it>
15300 * lyxfunc.C: removed #if 0 unused code
15302 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15304 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15306 * text2.C (SetSelection): added a BufferView * parameter
15308 2001-02-13 Juergen Vigna <jug@sad.it>
15310 * lyxfunc.C (Dispatch): fixed protected blank problem.
15311 * BufferView2.C (protectedBlank): added LyxText * parameter.
15313 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15314 (AppendColumn): same as above for column_info.
15316 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15317 (moveCursorUpdate): use a LyXText param for support of InsetText.
15319 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15320 (tripleClick): ditto
15322 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15324 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15326 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15328 * text2.C (SetSelection): set correct update status if inset_owner
15329 (ToggleFree): ditto
15331 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15333 * tabular.C: remove some commented code.
15335 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15337 * BufferView_pimpl.C: call hideSplash()
15339 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15342 * bibforms.h: remove
15345 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15346 add LFUN_CHILD_CREATE
15348 * counters.h: fix tiny typo
15353 * lyx.C: move splash to frontends/xforms/
15355 * lyx_gui_misc.C: move Include and Bibform to frontends
15357 * lyxvc.h: clarify comment
15359 * vspace.C: tiny housekeeping
15361 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15363 * text.C (PrepareToPrint): RTL Fix.
15365 * paragraph.C (GetUChar): New method.
15366 (String): Use GetUChar.
15368 * buffer.C (asciiParagraph): Use GetUChar.
15370 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15372 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15374 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15377 * buffer.C: rename to getLogName(), handle
15378 build log / latex log nicely
15380 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15383 * MenuBackend.h: remove support for reference menuitem type.
15385 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15387 * BufferView_pimpl.C: housekeeping
15388 * BufferView_pimpl.h:
15393 * minibuffer.h: move Timeout GUI-I
15395 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15397 * lyxrc.C (read): Update converters data-structures.
15399 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15401 * LaTeX.h (operator!=): add operator != for Aux_Info
15403 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15405 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15407 * LaTeXLog.C: deleted, useful code moved to Buffer
15410 * buffer.C: new function getLatexLogName()
15416 * lyxfunc.C: use frontends for LaTeX and VC logs
15418 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15420 * LaTeX.h: yet another std:: that Allan forgot.
15422 * Variables.C (set): renamed from isset(), because this clashes
15423 with some HP-UX macros (grr).
15425 2001-02-06 Allan Rae <rae@lyx.org>
15427 * LaTeX.h: Another bug fix. Missing std:: this time.
15429 2001-02-04 Allan Rae <rae@lyx.org>
15431 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15432 floats problem. I've left it commented out because it's not quite
15433 correct. It should also test that the current object is a table or
15434 figure inset. But I haven't gotten around to figuring out how to do
15435 that. I *think* it'll be something like: "table" == inset.type()
15437 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15440 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15442 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15443 all the citation/databases/styles in the auxilary file.
15444 (run): Rerun latex if there was a babel language error.
15446 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15448 * text.C (Backspace): Preserve the font when changing newline char
15450 (BreakParagraph): If the cursor is before a space, delete the space.
15452 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15454 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15456 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15457 new argument (code).
15458 (ChangeCitationsIfUnique): New method.
15460 * paragraph.C (GetPositionOfInset): Handle bibkey.
15462 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15464 * BufferView_pimpl.h: change type of Position::par_pos to
15465 LyXParagraph::size_type.
15467 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15469 * BufferView_pimpl.C (savePosition, restorePosition): Write
15470 messages to minibuffer.
15472 2001-01-28 José Matos <jamatos@fep.up.pt>
15474 * buffer.C (makeDocBookFile): adds support for document language.
15475 A silly restriction on the name of LatexCommand types where removed.
15476 Added support for CDATA sections, allows to chars unescaped, used
15477 among others in code, to avoid escape < and >.
15479 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15481 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15482 saved positions instrad of a stack. Furthermore, a position is
15483 stored using paragraph id/paragraph position.
15485 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15486 Remove LFUN_REF_BACK.
15488 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15490 * converter.C (dvipdfm_options): New method.
15492 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15494 * vspace.C (isValidLength): Fix for empty input string.
15496 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15498 * LyXAction.C (init): change description of LFUN_FIGURE to
15501 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15503 * LaTeX.C: add using directive
15505 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15507 * MenuBackend.C (expand): Fix the sorting of the formats.
15509 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15511 * lyx_main.C: tiny error message fix
15513 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15515 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15516 calling fl_initialize(). This fixes the problem with ',' as
15517 decimal separator in text files.
15519 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15521 * trans.C (process): Fix the keymap bug.
15523 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15525 * LaTeX.C (scanAuxFiles): New method. Provides support for
15526 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15527 (scanLogFile) Scan for "run BibTeX" messages.
15529 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15530 OT1 font encoding. Also, load the aecompl package if the ae
15533 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15535 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15537 * texrow.C (increasePos): turn two error messages into debug
15540 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15542 * LaTeX.C (scanAux): Handle the \@input macro.
15543 (runBibTeX): Use scanAux().
15545 * language.C (latex_options_): New field.
15547 * LaTeXFeatures.C (getMacros): Add language macros.
15549 * buffer.C (makeLaTeXFile): Small fix.
15551 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15553 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15555 * text2.C: add a using directive.
15557 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15562 * lyxfunc.C: kill LyXBell.
15564 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15566 * text.C (IsBoundary): Remove the error message
15568 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15570 * lyxrc.C (setDefaults): Correct initialization value for
15573 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15575 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15578 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15579 and GotoNextNote().
15581 * src/LyXAction.C: Added reference-next.
15583 * text.C (InsertChar): Use contains instead of strchr.
15585 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15587 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15589 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15590 alignment commands (when needed).
15592 * text.C (InsertChar): Add ':' to number separator chars.