1 2004-06-02 Angus Leeming <leeming@lyx.org>
3 Fix crash caused by dereferencing null pointer 'exportdata' in
4 OutputParams by creating a new ExportData variable on the heap,
5 storing it in a boost::shared_ptr.
6 The crash was triggered when generating an Instant Preview
9 * Makefile.am: add outputparams.C
11 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
12 (c-tor): allocate memory to it.
14 * exporter.C (c-tor): associated changes.
16 2004-06-01 Angus Leeming <leeming@lyx.org>
18 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
19 contains data before calling isInset(0). (Bug 1513.)
21 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
23 * exporter.C (checkOverwrite): new method
24 * exporter.C (copyFile): new method
25 * exporter.C (Export): copy referenced files to the document dir
26 * exporter.[Ch]: new class ExportedFile
27 * exporter.[Ch]: new class ExportData. Contains currently the
28 names of referenced external files
29 * outputparams.h: add exportdata member.
31 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
33 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
36 2004-05-19 Angus Leeming <leeming@lyx.org>
41 * lyxfunc.C: small changes due to the introduction of namespace
42 lyx::frontend and the moving of namespace biblio to lyx::biblio.
44 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
46 * text3.C (dispatch): supress update when only moving the cursor
47 * cursor.C (selHandle): remove commented code
49 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
51 * paragraph.C (startTeXParParams): correct column count
52 * CutAndPaste.C (pasteSelection): remove const_cast
53 * output_docbook.C (docbookParagraphs): remove const_cast
54 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
55 const_cast and return ParagraphList::const_iterator
56 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
57 * output_plaintext.C (writeFileAscii): remove const_cast
58 * paragraph.[Ch] (simpleTeXOnePar): make const
59 * paragraph_funcs.C (outerPar): use const iterators
60 * paragraph_pimpl.C (validate): use const iterators
61 * text.C (setHeightOfRow): use const iterators
63 2004-05-17 Angus Leeming <leeming@lyx.org>
66 * LyXAction.C (init): new LFUN_INSET_REFRESH.
68 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
69 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
70 if the citation engine has changed.
72 2004-05-14 José Matos <jamatos@lyx.org>
74 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
75 if the textclass does not provide it. Have it different for sgml and
77 support the language of document.
78 * output_docbook.C (docbookParagraphs):
79 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
80 first anchor as the id of the paragraph, remove special case code.
81 * sgml.C (escapeChar): escape only < & >.
83 2004-05-14 Angus Leeming <leeming@lyx.org>
85 * bufferparams.h: move biblio::CiteEngine enum here to minimize
86 dependencies on src/frontends/controllers/biblio.h. Define a
87 CiteEngine_enum wrapper class to enable the enum to be forward
90 2004-05-12 Angus Leeming <leeming@lyx.org>
92 * buffer.C: up LYX_FORMAT to 234.
93 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
94 use_numerical_citations with a single biblio::CiteEngine cite_engine
96 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
98 2004-05-13 José Matos <jamatos@lyx.org>
101 * converter.C (Converter, readFlags): add xml member.
102 * outputparams.h: add XML flavor.
103 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
105 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
107 * lyxfunc.C (dispatch):
108 (getStatus): fix handling of LFUN_SEQUENCE
110 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
112 * debug.C (showLevel): do not forget the end-of-line marker
114 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
116 * kbmap.C (read): do not stop parsing a bind file when an error
119 2004-04-29 Angus Leeming <leeming@lyx.org>
124 * text2.C: wrap a bunch of #warning statements
125 inside #ifdef WITH_WARNINGS blocks.
127 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
129 * buffer.C: increment format to 233.
131 2004-04-28 Angus Leeming <leeming@lyx.org>
133 * BufferView_pimpl.C:
136 s/updateToolbar()/updateToolbars()/
137 s/Toolbar.h/Toolbars.h/
139 2004-04-28 Angus Leeming <leeming@lyx.org>
141 * BufferView.[Ch] (c-tor):
142 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
143 No longer passes these data to the WorkArea generator.
145 2004-04-28 Angus Leeming <leeming@lyx.org>
147 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
149 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
151 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
153 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
155 * output_latex.C (TeXEnvironment): make sure that there is a line
156 break before \end{foo} for the last paragraph of a document
157 (TeXOnePar): if the paragraph is at the end of the document (or
158 inset) and the language has to be reset, then make sure that the
159 line break is _before_ the language command, not after (fixes bug
160 1225); also make sure that the language reset command is the first
161 thing after the paragraph (to ensure proper nesting of
162 environments and thus fix bug 1404)
164 2004-04-21 John Levon <levon@movementarian.org>
167 * ToolbarBackend.C: make "name" be a programmatic name
168 and a gui_name field.
170 * lyxfunc.C: display the minibuffer on M-x
172 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
174 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
177 2004-04-19 Angus Leeming <leeming@lyx.org>
179 * BufferView_pimpl.C (setBuffer): changed preview interface.
181 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
184 2004-04-19 John Levon <levon@movementarian.org>
186 * BufferView_pimpl.C:
187 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
189 2004-04-05 Angus Leeming <leeming@lyx.org>
191 * text.C (redoParagraphs): add call to updateCounters(), thereby
192 fixing the missing "Figure #:" label from the caption of a
195 2004-04-13 Angus Leeming <leeming@lyx.org>
197 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
198 cursor is clicked out of an inset.
200 2004-04-13 Angus Leeming <leeming@lyx.org>
202 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
203 than an InsetOld one.
205 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
207 * format.[Ch]: add editor to Format
208 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
209 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
211 2004-04-08 André Pönitz <poenitz@gmx.net>
213 * metricsinfo.h: remove PainterInfo::width member
215 2004-04-08 Angus Leeming <leeming@lyx.org>
217 * lyx_sty.C (boldsymbol_def): modify so that it outputs
218 "\providecommand" rather than "\newcommand", thereby preventing
219 clashes with packages that define "\boldsymbol" themselves.
222 2004-04-08 Angus Leeming <leeming@lyx.org>
224 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
225 thereby squashing an unnecessary warning.
227 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
229 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
232 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
234 * BufferView.C (setCursor): call redoParagraph (some insets could
236 (putSelectionAt): remove the 'double update' trick
238 * BufferView_pimpl.C (fitCursor): call refreshPar
239 (workAreaDispatch): remove an uneeded update call
240 (dispatch): remove some manual update calls
242 * cursor.[Ch]: remove cached_y_, updatePos
243 (selHandle): set noUpdate when appropriate
245 * lyxfunc.C (dispatch): track if we need an update
247 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
249 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
250 (paintSelection): cheap optimization, do not call cursorX when not
252 (paintPars): change signature
255 (paintTextInset): adjust
259 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
261 * lengthcommon.C: compilation fix: remove explicit array size from
262 unit_name[] and friends
264 2004-04-05 Angus Leeming <leeming@lyx.org>
266 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
268 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
269 present only for the preferences dialog.
270 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
272 2004-04-05 Angus Leeming <leeming@lyx.org>
274 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
275 to enable the frontends to export changes to lyxrc correctly.
277 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
279 2004-04-07 André Pönitz <poenitz@gmx.net>
281 * cursor.[Ch] (selClear, adjust): remove math
283 * cursor_slice.C: more agressive assert
286 * BufferView_pimpl.C: rework mouse event dispatch
293 2004-04-05 André Pönitz <poenitz@gmx.net>
295 * cursor.[Ch] (valign, halign...): remove unneeded functions
297 2004-04-05 Angus Leeming <leeming@lyx.org>
299 * lyxlength.[Ch] (unit_name et al.): const-correct.
301 2004-04-05 Angus Leeming <leeming@lyx.org>
303 * BufferView_pimpl.C:
312 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
314 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
316 * text3.C (getStatus): add LFUN_BEGINNINGBUF
318 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
320 * lyxfind.C: add a couple of inTexted() tests + other small fixes
321 * BufferView_pimpl.[Ch] (getStatus)
322 * BufferView.[Ch] (getStatus): add
323 * lyxfunc.C (getStatus): move lfuns handled in
324 BufferView::dispatch to te function above
325 * Cursor.C (setSelection): set selection() = true
327 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
329 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
331 2004-03-31 Angus Leeming <leeming@lyx.org>
333 * lyxfunc.C (dispatch): Fall through to the generic
334 Dialogs::show("preamble").
336 2004-03-31 Angus Leeming <leeming@lyx.org>
338 * lyxfunc.C (dispatch): Fall through to the generic
339 Dialogs::show("spellchecker").
341 2004-03-31 Angus Leeming <leeming@lyx.org>
343 * lyxfunc.C (getStatus, dispatch): changed invocation of the
346 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
351 * insetiterator.[Ch]:
356 * undo.[Ch]: s/DocumentIterator/DocIterator/g
358 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
360 * BufferView.C (setCursor, putSelectionAt): call edit to open the
361 insets where we are putting the cursor.
363 2004-03-31 Angus Leeming <leeming@lyx.org>
366 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
368 * lyxrc.[Ch] (read, write): overloaded member functions taking
369 a std::[io]stream arguments.
371 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
373 2004-03-31 Angus Leeming <leeming@lyx.org>
375 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
376 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
378 * lyxtextclass.C (load): if the text class couldn't be loaded, then
379 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
381 2004-03-31 Angus Leeming <leeming@lyx.org>
383 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
384 the LFUN_ALL_INSETS_TOGGLE code.
386 2004-03-30 Angus Leeming <leeming@lyx.org>
388 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
389 has died. Fall through to the generic Dialogs::show("document").
391 2004-03-30 Angus Leeming <leeming@lyx.org>
394 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
395 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
397 * lyxfunc.C (getStatus, dispatch): define the actions for these
398 lfuns. Little more than a cut and pste job from ControlDocument.C
400 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
402 2004-03-30 Angus Leeming <leeming@lyx.org>
405 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
406 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
408 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
409 open/closed state of ollapsable insets. Usage:
411 all-inset-toggle <state> <name>, where
412 <state> == "open" || "closed" || "toggle" and
413 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
415 * lyxtext.h, text2.C (toggleInset): removed.
417 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
418 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
419 now passes LFUN_INSET_TOGGLE to the found inset.
421 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
422 is now invoked as "all-insets-toggle toggle branch".
424 2004-03-30 Angus Leeming <leeming@lyx.org>
428 * pariterator.[Ch]: added/corrected header blurb.
430 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
432 * dociterator.[Ch]: add an inset_ member
433 (backwardPos): implemented
434 (backwardPos, forwardPos): use inset_ when the stack is empty.
435 (doc_iterator_begin, doc_iterator_end): implemented
436 * pariterator.[Ch]: adjust, add begin, end
437 * insetiterator.[Ch]: adjust, add begin, end
441 * BufferView_pimpl.C:
442 * CutAndPaste.C: adjust
444 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
446 * buffer.C: increment file format to 232.
447 * LaTeXFeatures.C: add bibtopic package.
448 * bufferparams.[Ch]: param \use_bibtopic.
450 * lyxrc.[Ch]: add lyxrc bibtex_command
451 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
453 * buffer.C: increment file format to 231.
455 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
457 * dociterator.C: implement forwardPar
458 * iterators.[Ch]: remove, replaced by
459 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
461 * BufferView_pimpl.C:
464 * bufferview_funcs.C:
470 * Makefile.am: adjust
472 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
474 * CutAndPaste.C (pasteSelection): fix 2 crashes
475 (eraseSelection): fix a crash
476 * paragraph_funcs.C: remove a warning
478 2004-03-28 Angus Leeming <leeming@lyx.org>
481 * LyXAction.C (init): new LFUN_PRINT.
483 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
485 2004-03-27 Angus Leeming <leeming@lyx.org>
488 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
490 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
492 2004-03-27 Angus Leeming <leeming@lyx.org>
494 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
495 insetlist always contains non-null pointers to insets.
497 2004-03-26 Angus Leeming <leeming@lyx.org>
499 * src/BufferView_pimpl.C:
503 * src/output_plaintext.C:
504 * src/outputparams.h:
505 * src/paragraph_funcs.C:
509 * src/frontends/controllers/ControlErrorList.C:
510 * src/frontends/gtk/FileDialogPrivate.C:
511 * src/frontends/gtk/GPainter.C:
512 * src/frontends/gtk/GToolbar.C:
513 * src/frontends/qt2/QRef.C:
514 * src/mathed/math_scriptinset.C: squash compiler warnings.
516 2004-03-26 Angus Leeming <leeming@lyx.org>
518 * ispell.C (LaunchIspell::start):
519 * lyx_cb.C (AutoSaveBuffer::start):
520 invoke run(DontWait) rather than runNonBlocking().
522 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
524 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
526 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
528 * kbsequence.C (print): adjust
530 * kbmap.C (printKeySym): rename and change signature
531 (printKey): use LyXKeySym::print()
533 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
535 * undo.C: add using std::advance to compile for stlport
537 2004-03-24 Angus Leeming <leeming@lyx.org>
539 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
540 it leads to a crash when no buffer is present.
542 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
543 Martin Vermeer <martin.vermeer@hut.fi>
545 * lyxfunc.C (dispatch):
546 * bufferparams.C (readToken): use the new LColor::setColor
548 * LColor.[Ch] (setColor): new version that takes two strings as
549 argument and creates a new color entry if necessary
551 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
553 * buffer.C (makeLaTeXFile): if the main latex file that is
554 processed is usually a subdocument of some master, then pretend
555 for a while that it is actually the master
557 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
559 * buffer.C (getLabelList):
560 (getBibkeyList): use getMasterBuffer()
561 (getMasterBuffer): new method. Returns the main document in the
562 case where one is using included documents.
564 2004-03-25 André Pönitz <poenitz@gmx.net>
568 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
570 * ParagraphList_fwd.h: change ParagraphList to a std::vector
572 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
573 text*.C over here. Rename namespace CutAndPaste to lyx::cap
575 * ParameterStruct.h: merge with ParagraphParameters
577 * lyxtext.h: remove LyXText::parOffset() and getPar()
579 * text3.C: Remove all 'manual' update calls. We do now one per user
580 interaction which is completely sufficient.
584 * BufferView_pimpl.C:
587 * ParagraphParameters.[Ch]:
599 * output_docbook.[Ch]:
601 * output_linuxdoc.[Ch]:
602 * output_plaintext.[Ch]:
604 * paragraph_funcs.[Ch]:
605 * paragraph_pimpl.[Ch]:
613 * frontends/controllers/ControlDocument.C:
614 * frontends/controllers/ControlErrorList.C:
615 * frontends/controllers/ControlSpellchecker.C:
618 * insets/insetbase.h:
619 * insets/insetbibitem.C:
621 * insets/insetbranch.C:
622 * insets/insetcaption.C:
623 * insets/insetcharstyle.C:
624 * insets/insetcharstyle.h:
625 * insets/insetcollapsable.C:
626 * insets/insetcollapsable.h:
628 * insets/insetfloat.C:
629 * insets/insetfoot.C:
630 * insets/insetmarginal.C:
631 * insets/insetnote.C:
632 * insets/insetoptarg.C:
633 * insets/insettabular.C:
634 * insets/insettext.C:
635 * insets/insettext.h:
636 * insets/insetwrap.C:
637 * mathed/math_mboxinset.C:
638 * mathed/math_nestinset.C:
639 * mathed/math_scriptinset.C:
640 * mathed/math_scriptinset.h:
643 2004-03-24 Angus Leeming <leeming@lyx.org>
645 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
646 deal with any child processes that have finished but are waiting to
647 communicate this fact to the rest of LyX.
649 2004-03-24 Angus Leeming <leeming@lyx.org>
651 64-bit compile fixes.
653 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
654 (c-tor): pass lyx::pos_types rather than ints.
656 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
659 * text.C (Delete): compile fix.
660 (getPar): ensure that function declaration is the same as that in
663 2004-03-23 Angus Leeming <leeming@lyx.org>
665 * ispell.C (LaunchIspell):
666 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
667 a boost::shred_ptr rather than a std::auto_ptr.
669 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
671 * lyxfunc.C (getStatus): handle read-only buffers correctly;
672 handle LFUN_FILE_INSERT_*
674 * lyxrc.C (setDefaults, getDescription, output, read):
675 * lyxrc.h: remove ps_command
677 2004-03-22 Angus Leeming <leeming@lyx.org>
679 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
680 Ensure that error_handler is processed once only and that all data
681 is saved before attempting to output any warning messages.
683 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
685 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
687 * tabular.C (TeXRow): crash fix (from Kayvan and André)
689 2004-03-19 André Pönitz <poenitz@gmx.net>
691 * cursor.[Ch] (reset): take main text inset as argument
694 * BufferView_pimpl.C: adjust
696 * paragraph.[Ch]: fix completely broken operator=()
698 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
700 * LColor.C (getFromLyXName): make sure that the color name is used
703 2004-03-17 Angus Leeming <leeming@lyx.org>
706 * LyXAction.C (init): remove LFUN_FORKS_KILL.
708 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
709 dialog and to kill a forked process.
711 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
713 * text2.C (setCursorFromCoordinates): fix font problem
715 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
717 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
718 bogus "rebuild cursor" code
720 2004-03-11 André Pönitz <poenitz@gmx.net>
722 * buffer.[Ch]: use InsetText instead of LyXText as container for
725 * dociterator.[Ch]: drop the BufferView * member which is not needed
726 anymore after the change to buffer.C
732 * BufferView_pimpl.[Ch]:
734 * cursor_slice.[Ch]: adjust
736 * text3.C: fix bug in mathDispatch
738 2004-03-08 André Pönitz <poenitz@gmx.net>
740 * undo.[Ch]: use 'StableDocumentIterator' as base for
743 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
746 * bufferparams.[Ch]: add jurabib support and param.
748 * LaTeX.C: add FIXME/comment.
750 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
752 * buffer.C: increment file format to 230.
754 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
756 * cursor.C (dispatch): avoid infinite loops
758 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
760 * rowpainter.C (paintSelection): fix x coordinates
762 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
764 * text.C (rowBreakPoint): fix breaking before displayed insets
766 2004-03-01 André Pönitz <poenitz@gmx.net>
768 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
770 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
774 * BufferView_pimpl.C:
782 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
788 * BufferView_pimpl.C: rename textwidth -> maxwidth,
789 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
791 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
793 * Bidi.[Ch] (computeTables): const correctness
794 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
795 fill_hfill, fill_label_hfill and x from Row
796 * lyxtext.h: prepareToPrint returns a RowMetrics
797 * rowPainter.C: adjust
798 * text.C (prepareToPrint): use width, not textWidth. adjust
799 (redoParagraphInternal, cursorX): adjust
800 * text2.C (getColumnNearX): adjust
801 (init): put a default value to the top LyXText::width
803 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
805 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
807 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
809 * lyxtext.h: add FontIterator class
811 * text.C (FontIterator, operator*, operator->, operator++): add
812 (rowBreakPoint, setRowWidth): adjust (fixing a
815 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
817 * BufferView_pimpl.C (workAreaDispatch): allow also
818 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
820 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
822 * text.C (rowBreakPoint): fix a bug showing with very large insets
824 2004-02-25 André Pönitz <poenitz@gmx.net>
827 * cursor.[Ch]: move some mathed specific code to mathed
829 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
831 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
832 use_tempdir in preferences
833 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
835 * lyx_main.C: ensure that tempdir is valid
836 * lyxlex.h: correct typo
837 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
838 * paragraph.[Ch] (isMultiLingual): make const
839 * cursor.[Ch] (openable): make const
841 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
843 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
845 2004-02-20 André Pönitz <poenitz@gmx.net>
847 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
849 * cursor.[Ch]: prepare for localized getStatus()
855 * text3.C: streamlines the LyXText cursor movement handlers a bit.
857 2004-02-20 André Pönitz <poenitz@gmx.net>
859 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
861 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
863 * text2.C (setCursorFromCoordinates): switch to absolute coords
866 * text3.C (dispatch): adjust
868 2004-02-16 André Pönitz <poenitz@gmx.net>
870 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
873 * cursor_slice.[Ch]: remove unneeded acessor function
875 * lyxtext.h: rename rtl() to isRTL()
883 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
885 * rowpainter.C (paintSelection): coord fix
887 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
889 * Spacing.C: compile fix
891 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
893 * cursor.C (dispatch): restore current_ before returning
895 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
897 * text2.C (cursorUp, cursorDown): fix coords
900 2004-02-12 André Pönitz <poenitz@gmx.net>
905 * text3.C: add LCursor & parameter to most cursor movement functions
906 remove usage of LyXText::cursorRow() and cursorPar()
908 * cursor.[Ch]: add textRow() needed members
911 * BufferView_pimpl.C:
914 * BufferView_pimpl.C: adjust
916 2004-02-11 André Pönitz <poenitz@gmx.net>
920 * BufferView_pimpl.C: shift undo/redo handling
922 * cursor.[Ch]: fix mathed crash
925 * lyxtext.h: move selectionAsText to LCursor
933 * rowpainter.C: fix excessive drawing
935 2004-02-06 André Pönitz <poenitz@gmx.net>
938 * BufferView_pimpl.[Ch]:
939 * text3.C: move some text specific LFUN handling
941 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
943 * text3.C (checkInsetHit): adjust coords
944 * text2.C (getColumnNearX): adjust coords
945 (edit): adjust coords
946 * text.C (getRowNearY): add two asserts
948 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
951 * format.C: add using std::distance to compile on gcc 2.95/stlport
953 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
955 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
957 2004-02-04 André Pönitz <poenitz@gmx.net>
959 * BufferView.[Ch] (insertInset):
960 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
965 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
967 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
968 on the default clause of the switch
969 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
970 wasn't catched by LCursor::dispatch
972 2004-02-03 André Pönitz <poenitz@gmx.net>
975 * cursor.[Ch]: some additional asserts
977 * undo.[Ch]: remove LyXText dependency in interface
981 * lyxtext.h (firstPar, lastPar): remove dead functions
986 * paragraph.[Ch]: adjust
988 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
990 * lyxfind.C (find): fix argument order in call to ::find
992 2004-02-02 André Pönitz <poenitz@gmx.net>
994 * cursor.[Ch]: remove direct access to anchor
996 * text.C: remove findText() hack
998 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1000 * iterators.[Ch] (lockPath): remove in favour of...
1001 * BufferView.[Ch] (setCursor): this addition
1002 * BufferView.C (putSelectionAt): adjust
1003 * undo.C (performUndoOrRedo): adjust
1004 * lyxfunc.C (dispatch): adjust
1006 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1008 * iterators.C (lockPath): add a missing slice
1009 * undo.C (performUndoOrRedo): remove redundant positioning code
1011 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1013 * vc-backend.C (scanMaster): ";" -> ';'
1015 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1017 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1018 std::binary_function
1020 * lyxtextclass.C (compare_name): rename to...
1021 (LayoutNamesEqual): ...this
1023 * lyxlex_pimpl.C (compare_tags): inherit from
1024 std::binary_function, put back into anon namespace
1026 * lyxfind.C (MatchString): inherig from std::binary_function
1027 (findChange): use empty() istead of !size()
1029 * format.C (FormatNamesEqual): new functor
1036 * converter.C (compare_Converter): rename to...
1037 (ConverterEqual): ...this, and fixup a bit.
1038 (getConverter): use it, and make function const
1039 (getNumber): use it, and make function const
1043 * bufferlist.C: add using boost::bind
1045 * MenuBackend.C (MenuNamesEqual): new functor
1046 (hasMenu): use it, and make function const
1047 (hasSubmenu): use nested bind to get rid of compare_memfun.
1049 2004-01-30 André Pönitz <poenitz@gmx.net>
1051 * BufferView_pimpl.C:
1054 * cursor_slice.[Ch]:
1057 * paragraph_funcs.C:
1058 * paragraph_funcs.h:
1062 * text3.C: move some of the edit(x,y) handling to the insets
1063 some coordinate changes.
1065 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1067 * text.C: add using statements for std::advance and std::distance
1069 * paragraph.C: add using statement for std::distance
1071 * lyxfind.C: add using statement for std::advance
1073 * cursor.C (region): remove std:: from swap
1074 (openable): use nucleus in stead of operator->
1076 * BufferView.C: add using statements for std::distance and std::swap
1078 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1080 * iterators.C: Remove the pimple, move the needed structures to
1081 the header file. Create accessor for the positions stack.
1082 (asPosIterator): remove function
1084 * PosIterator.C (PosIterator): move constructors to top of file
1085 (PosIterator): reimplement the constructor taking a ParIterator in
1087 (setFrom): new function
1088 (operator!=): inline it
1090 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1092 * lyxfind.C (replaceAll): use std::advance
1094 * iterators.h: inherit from std::iterator.
1096 * PosIterator.C (advance, distance): remove
1097 * PosIterator.h: interit from std::iterator.
1099 2004-01-26 André Pönitz <poenitz@gmx.net>
1102 * BufferView_pimpl.[Ch]:
1106 * bufferview_funcs.C:
1116 * output_linuxdoc.C:
1117 * output_plaintext.C:
1119 * paragraph_funcs.[Ch]:
1120 * paragraph_pimpl.[Ch]:
1126 * text3.C: more IU: dumps most of the rest of the mathcursor
1127 implementation into cursor.[Ch]; "globalize" a bit of it.
1129 2004-01-25 Angus Leeming <leeming@lyx.org>
1131 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1133 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1135 * LaTeXFeatures.h: add nice_ and nice() const
1136 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1138 2004-01-20 André Pönitz <poenitz@gmx.net>
1141 * BufferView_pimpl.C:
1143 * bufferview_funcs.C:
1145 * cursor_slice.[Ch]:
1156 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1157 LCursor and mathcursor parts to LCursor and InsetBase.
1159 2004-01-15 André Pönitz <poenitz@gmx.net>
1161 * cursor_slice.[Ch]: add a few covienience functions
1163 * funcrequest.[Ch]: remove BufferView * member
1165 * BufferView_pimpl.C:
1172 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1174 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1176 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1177 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1179 2004-01-13 André Pönitz <poenitz@gmx.net>
1182 * lyxtext.h: hide cursor and selection anchor behind accessor function
1185 * BufferView_pimpl.[Ch]:
1187 * bufferview_funcs.C:
1197 * cursor_slice.[Ch]: some integer type changes for inset unification
1199 * lyxcursor.[hC]: remove, it's CursorSlice now.
1202 * BufferView_pimpl.[Ch]:
1203 * bufferview_funcs.C:
1209 * textcursor.[Ch]: adjust
1211 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1213 * text2.C (undoSpan): add and use
1214 * text.C (breakParagraph): use undoSpan (fix bug 578)
1217 2004-01-08 Angus Leeming <leeming@lyx.org>
1219 * BufferView_pimpl.C (MenuInsertLyXFile):
1220 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1221 * lyxfunc.C (menuNew, open, doImport):
1222 FileFilterList change to the FileDialog open and save functions.
1224 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1226 * ShareContainer.h: make isEqual and isUnique adaptable
1228 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1230 2004-01-07 Angus Leeming <leeming@lyx.org>
1233 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1235 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1237 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1238 functions replacing find, replace and replaceAll.
1240 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1241 LFUN_WORDFIND(FORWARD|BACKWARD).
1243 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1245 * text.C (breakParagraph): remove an outdated #warning
1247 2004-01-07 André Pönitz <poenitz@gmx.net>
1249 * lyxfind.C: somewhat clearer logic
1251 * text.C: prevent crash in cursorX on unitialized row cache
1253 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1255 * lyxcursor.[Ch] (operator>): add
1256 * textcursor.C (selStart, selEnd): use std::min and std::max
1258 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1260 * Chktex.C: include boost/format.hpp
1262 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1264 * InsetList.C: replace functor MathcIt with adaptable functor
1266 (insetIterator): modify accordingly
1268 * BranchList.h: move the BranchNamesEqual functor here from...
1269 * BranchList.C: ... to here
1271 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1273 (add): replace a finding loop with std::find_if.
1275 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1277 * output_docbook.C: moving LatexParam functionality into
1280 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1282 * buffer.C: increment format to 229.
1284 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1287 * lyx_sty.[Ch]: remove minipageindent_def
1293 * text3.C: remove LFUN_INSET_MINIPAGE
1295 2003-12-28 Angus Leeming <leeming@lyx.org>
1297 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1299 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1301 * text2.C (setParagraph): fix off-by-one crash
1303 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1305 * output_docbook.C: header stuff for AGU
1307 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1309 * text2.C (redoCursor): remove
1312 * BufferView_pimpl.C: remove calls to redoCursor and
1313 setCursor(cursor.par(), cursor.pos()) all around
1315 2003-12-15 Angus Leeming <leeming@lyx.org>
1317 * buffer.C: up the format to 228.
1319 2003-12-15 André Pönitz <poenitz@gmx.net>
1321 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1326 * BufferView_pimpl.C:
1335 2003-12-15 Angus Leeming <leeming@lyx.org>
1337 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1338 than getFromGUIName to manipulate the color.
1340 2003-12-14 Angus Leeming <leeming@lyx.org>
1342 * BranchList.[Ch]: minimize the API.
1343 (Branch::getBranch, getColor): now return a 'const &'.
1344 (Branch::setSelected) now returns a bool set to true if the
1345 selection status changes.
1346 (BranchList::clear, size, getColor, setColor, setSelected,
1347 allBranches, allSelected, separator): removed.
1348 (BranchList::find): new functions, returning the Branch with
1350 (BranchList::add, remove): return a bool indicating that
1351 the operation was successful.
1353 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1354 new InsetBranch::isBranchSlected member function.
1356 * LColor.[Ch]: mimimize the API.
1357 (fill): renamed as addColor and made private.
1358 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1359 versions of these functions taking a string arg have been removed.
1361 * bufferparams.C (readToken):
1362 * lyxfunc.C (dispatch):
1363 * lyxrc.C (read): changes due to the altered BranchList and
1366 * factory.C (createInset, readInset): changes due to altered
1369 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1372 * lyxfunc.C: remove insetminipage. "minipage-insert"
1373 now produces a frameless minipage box inset.
1375 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1377 * textcursor.[Ch] (selStart,selEnd): add new methods
1378 remove selection::start, end, use LyXCursor::operator<
1379 * lyxcursor.[Ch] (operator<): add
1380 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1381 * BufferView.[Ch] (unsetXSel): add
1382 * text2.C (clearSelection): use unsetXSel,adjust
1385 * rowpainter.C: adjust
1386 * bufferview_funcs.C (put_selection_at): adjust
1388 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1390 * BufferView_pimpl.C: small coord. correction
1392 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1394 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1395 dragging over the splash screen.
1397 2003-12-11 Angus Leeming <leeming@lyx.org>
1399 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1400 as it is now handled in LyXText::dispatch.
1402 * text3.C (doInsertInset): remove a level of nesting.
1404 2003-12-11 Angus Leeming <leeming@lyx.org>
1406 * factory.C (createInset): changes due to the changed interface to
1407 InsetCommandMailer::string2params.
1409 2003-12-10 Angus Leeming <leeming@lyx.org>
1411 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1412 'dialog-show-new-inset <inset name>'
1414 2003-12-10 Angus Leeming <leeming@lyx.org>
1416 * buffer.C: up the format to 227.
1418 * factory.C: the box inset is now identified simply by 'Box'.
1420 2003-12-10 Angus Leeming <leeming@lyx.org>
1422 * buffer.C: up the format to 226.
1424 * factory.C: the note inset is now identified simply by 'Note'.
1426 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1428 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1429 when a pit is enough. Standarize a couple of loops.
1431 2003-12-05 Angus Leeming <leeming@lyx.org>
1433 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1434 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1435 data to the re-worked "log" dialog.
1437 2003-12-03 André Pönitz <poenitz@gmx.net>
1443 * paragraph_funcs.C:
1445 * text2.C: use Inset::getText instead of Inset::getParagraph
1447 2003-12-03 André Pönitz <poenitz@gmx.net>
1451 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1452 InsetText::read() as LyXText::read()
1454 2003-12-02 Angus Leeming <leeming@lyx.org>
1456 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1457 type. Add a comment in the implementation that the function uses
1458 the stream's bad() function rather than fail() as the std::streams
1461 2003-12-02 André Pönitz <poenitz@gmx.net>
1463 * lyxlex.[Ch]: make interface more similar to std::stream
1465 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1467 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1469 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1471 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1473 * vspace.[Ch]: remove VSpace::NONE
1475 2003-12-01 André Pönitz <poenitz@gmx.net>
1478 * lyxtext.h: move ParagraphList member to LyXText
1479 rename LyXText::ownerParagraphs to LyXText::paragraph
1482 * bufferview_funcs.C:
1492 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1494 * undo.C: fix cursor positioning
1496 2003-12-01 John Levon <levon@movementarian.org>
1498 * BufferView_pimpl.C: fix a crash on exit with
1501 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1503 * BranchList.C: fix setSelected() method.
1505 2003-11-28 André Pönitz <poenitz@gmx.net>
1507 * ParagraphParameters.[Ch]:
1508 * ParameterStruct.h: remove space above/below from Paragraph to
1511 * BufferView_pimpl.C:
1517 * paragraph_funcs.C:
1523 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1525 * factory.C: Syntax change for CharStyles
1527 2003-11-28 André Pönitz <poenitz@gmx.net>
1532 * buffer.[Ch]: move LyXText member
1534 2003-11-28 André Pönitz <poenitz@gmx.net>
1536 * BufferView.[Ch]: make LyXText * text a private member
1538 * BufferView_pimpl.C:
1549 * output_plaintext.C: cleanup
1551 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1554 * lyxtextclass.[Ch]: parametrize SGML document header
1556 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1559 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1562 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1564 * text2.C (setFont): rework using PosIterator (no more recursive)
1565 (setCharFont): no more needed
1566 (setLayout): no more selection cursors fiddling (done by redoCursor)
1567 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1568 destroy remaining ones)
1570 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1572 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1574 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1577 * text3.C: adjust + re-allow multi par depth changes
1578 * textcursor.C: simplify a bit
1580 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1586 * src/output_docbook.C:
1587 * src/output_latex.C:
1592 * src/text2.C: Introducing a number of tags parametrizing various
1593 XML formats that we may want to support
1595 2003-11-25 André Pönitz <poenitz@gmx.net>
1597 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1599 * lyxtext.h (leftMargin/rightMargin): simplify interface
1606 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1608 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1609 master file to any child files. Fixes bug 546.
1611 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1613 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1615 2003-11-24 André Pönitz <poenitz@gmx.net>
1617 * rowpainter.C: simplification
1619 * text2.C (updateCounters): remove call to redoParagraph on
1620 changed labels as this is far too expensive.
1622 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1624 * converter.C (convert): fix a crash: this function gets
1625 called with buffer == 0 from importer code.
1627 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1629 * text3.C (cursorPrevious): make sure that we do not compare
1630 iterators form different containers.
1633 * rowpainter.C (paintSelection): make sure that we do not compare
1634 iterators from different containers.
1636 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1637 iterators from different ParagraphList containers.
1640 * text2.C (LyXText): change order of initialization slightly
1641 (operator=): new function. copy all variables except cache_par_
1642 (moveUp): make sure that we do not compare iterators from
1643 different ParagraphList constainers.
1646 * text.C (firstPar): new function
1647 (lastPar): new function
1648 (endPar): new function
1650 * lyxtext.h: move things around and group public functions, public
1651 variables, private functions, private variables
1653 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1655 * factory.C: change call to InsetERT constructor to avoid
1656 additional invocation of method status
1657 * text2.C (toggleInset): remove redundant update() call
1658 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1659 instead of a Bufferview pointer
1661 2003-11-21 André Pönitz <poenitz@gmx.net>
1663 * rowpainter.C: simplification
1665 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1667 * text3.C (dispatch): make possible to extend a word/row selection
1670 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1672 * lyxtext.h: x0_,y0_ -> xo_,yo_
1673 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1674 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1675 * rowpainter.C (paintRows): paint full paragraphs
1677 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1679 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1682 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1684 * lyxtext.h: add x0_, y0_
1685 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1686 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1688 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1690 * text2.C (setCursorIntern): move the x_target update here *
1691 * text3.C: change some bv() to true/false in calls to
1692 cursorUp/Down/Right/Left
1693 * cursor.C: use helper function.
1695 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1697 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1698 * paragraph_funcs.[Ch]: correct comment
1699 * rowpainter.C: do not paint selections away from bv->cursor()
1700 Fix a long standing selection painting bug.
1701 * text3.C: generalize mouse-selection code to LyXTexts other that
1703 * textcursor.C: do not use y coords if we can use par offsets
1705 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1707 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1708 cursor position after e.g. inset insert)
1710 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1712 * lyxfind.C (replace): adjust to locking removal + some
1715 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1717 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1720 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1723 * output_docbook.C: XML sanitation: new layout
1724 parameters InnerTag and CommandDepth
1726 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1728 * BufferView_pimpl.C:
1730 * text3.C: Fix the insertion and modification of button-style
1733 2003-11-13 André Pönitz <poenitz@gmx.net>
1735 * InsetList.[Ch]: remove deleteLyXText
1737 * paragraph.[Ch]: cache beginOfBody position
1742 * text3.C: remove superfluous update() calls
1746 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1748 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1749 * BufferView.C (fitLockedInsetCursor): remove
1750 * cursor.[Ch] (getDim): add
1751 * text.C (getRowNearY): add faster version
1752 * text3.C: remove some update calls
1754 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1766 * text3.C: The Character Style /XML short element patch.
1768 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1771 * factory.C: Small step to solving 'unable to insert some insets'
1774 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1776 * cursor.[Ch] (updatePos): new function for updating the y
1777 position of the tip inset
1778 * bufferview_funcs.C (put_selection_at):
1779 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1781 2003-11-11 André Pönitz <poenitz@gmx.net>
1783 * text.C: remove big comment on invalid Paragraph pointers as it is
1786 2003-11-11 André Pönitz <poenitz@gmx.net>
1788 * text_funcs.[Ch]: merge with ...
1796 * Makefile.am: remove text_funcs.[Ch]
1798 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1800 * cursor.C (getPos): return absolute cached y coord
1802 * BufferView_pimpl.C (fitCursor): new simplistic code
1803 (workAreaDispatch): add a fitCursor call
1805 2003-11-10 André Pönitz <poenitz@gmx.net>
1808 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1810 2003-11-10 André Pönitz <poenitz@gmx.net>
1812 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1813 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1814 indicate that the cursor needs to leave an inset
1816 * lyxtext.h: remove inset locking
1818 * cursor.[Ch]: re-implement functionality provided by inset locking
1821 * BufferView_pimpl.[Ch]:
1823 * bufferview_funcs.[Ch]:
1835 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1837 * PosIterator.[Ch]: replace the stack with a vector, add inset
1839 * iterators.[C]: adjust
1841 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1843 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1845 * paragraph_funcs.C (readParToken): put the correct id in the
1846 error item, not the id of the top paragraph
1848 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1850 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1851 * bufferview_funcs.C (put_selection_at): use the above
1853 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1855 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1857 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1859 * output_linuxdoc.h:
1860 * output_plaintext.h:
1862 * output_docbook.h: add #include statements
1864 2003-11-05 José Matos <jamatos@lyx.org>
1866 * output_docbook.[Ch]:
1867 * output_latex.[Ch]:
1868 * output_linuxdoc.[Ch]:
1869 * output_plaintext.[Ch]: New files for output formats.
1870 * output.[Ch]: New file for helper functions.
1873 * paragraph_funcs.[Ch]: output functions moved to new files.
1875 * outputparams.h: rename of latexrunparams.h
1883 * paragraph_funcs.[Ch]:
1884 * paragraph_pimpl.[Ch]:
1885 * tabular.[Ch]: rename ascii to plaintext
1886 and LatexRunParams to OutputParams.
1888 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1890 * iterators.[Ch] (text): require bv argument
1891 * undo.C (recordUndo):
1892 * lyxfunc.C (dispatch):
1893 * bufferview_funcs.C (put_selection_at): adjust
1895 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1897 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1899 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1901 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1904 2003-11-04 André Pönitz <poenitz@gmx.net>
1906 * cursor.[Ch]: restructure
1909 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1911 * iterators.[Ch] (asCursor): remove
1913 * lfuns.h: remove LFUN_INSET_EDIT
1919 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1921 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1923 * lyxfind.[Ch]: complete overhaul
1924 * BufferView_pimpl.C:
1926 * paragraph.[Ch] (insert): add
1928 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1932 * text.C: remove dead spellcheck code
1934 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1936 * dispatchresult.h: add a val setter
1938 * cursor.C (dispatch): use a tempvar for data_[i]
1940 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1942 * PosIterator.[Ch]: compile fix
1944 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1946 * text.C (cursorPar): deactivate the cursor cache
1948 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1950 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1952 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1954 * text3.C (dispatch): adjust for new DisptchResult semantics.
1956 * lyxfunc.C (dispatch): handle update when return from
1957 Cursor::dispatch, adjust for new DispatchResult semantics.
1959 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1960 DispatchResult(true) mean to not update. Add class functions for
1961 setting dispatched and update, as well as reading.
1963 * cursor.C (dispatch): don't handle update here
1965 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1967 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1968 * trans_mgr.C: adjust
1970 * paragraph_funcs.C (readParToken): exception safety
1972 * lyxvc.h: store the vcs pointer in a scoped_ptr
1975 * lyxsocket.C (serverCallback): exception safety
1977 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1979 * ispell.C (clone): make it return a auto_ptr
1981 * factory.C (createInset): exception safety
1982 (readInset): exception safety
1984 * bufferlist.C (newBuffer): exception safety
1986 * Thesaurus.C (Thesaurus): use initialization for aik_
1988 * MenuBackend.C (expandToc): exception safety.
1990 2003-11-03 André Pönitz <poenitz@gmx.net>
1994 * bufferview_funcs.C: remove getInsetFromId()
1997 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2003 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2005 * PosIterator.C (distance, advance): new
2006 * bufferview_funcs.[Ch] (put_selection_at): new
2007 * iterators.[Ch] (lockPath): new
2009 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2011 * iterators.[Ch] (asPosIterator): added
2012 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2013 * PosIterator.[Ch]: added
2015 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2019 * cursor.C (dispatch):
2020 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2022 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2023 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2024 contructor, add a class function dispatched. Remove operator>=
2026 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2028 * debug.C: only use the default constructor for debugstream
2031 * main.C (main): include debug.h and setup the lyxerr streambuf
2034 2003-10-31 José Matos <jamatos@lyx.org>
2036 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2038 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2039 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2040 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2041 * paragraph_pimpl.C (simpleTeXSpecialC):
2042 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2043 add LatexRunParams argument.
2045 * exporter.C (Export): change call accordingly.
2047 * latexrunparams.h: add new member to take care of the other backends.
2048 2003-10-30 José Matos <jamatos@lyx.org>
2050 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2051 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2052 factorise code for paragraph output.
2054 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2057 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2059 * text3.C (dispatch):
2060 * lyxfunc.C (dispatch):
2061 * cursor.C (dispatch):
2062 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2064 * dispatchresult.h: make the dispatch_result_t ctor explicit
2066 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2069 * buffer.C: small refactoring of docbook stuff
2071 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2073 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2076 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2078 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2079 operator dispatch_result_t, and operators for == != and >=
2081 * cursor.C (dispatch): adjust for operator dispatch_result_t
2082 removal. comment out call to update
2084 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2086 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2094 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2097 * dispatchresult.h: new file, DispatchResult broken out of
2100 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2102 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2104 * text.C (rowBreakPoint): put a hack inside #if 0
2106 2003-10-28 André Pönitz <poenitz@gmx.net>
2110 * paragraph_funcs.C:
2113 * text2.C: general cleanup (lots of small stuff)
2115 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2117 * text2.C (cursorEnd): simple fix to the "end key goes to one
2118 before the end on last row" bug
2120 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2122 * text.C (backspace): fix the "zombie characters"
2124 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2126 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2128 2003-10-27 André Pönitz <poenitz@gmx.net>
2130 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2132 * factory.C: handle new InsetPagebreak, InsetLine
2134 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2135 and move handling into new InsetPagebreak, InsetLine
2137 * BufferView_pimpl.C:
2139 * ParagraphParameters.C:
2140 * ParameterStruct.h:
2145 * paragraph_funcs.C:
2146 * paragraph_pimpl.C:
2152 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2155 * lyxrow_funcs.[Ch]:
2161 * text3.C: remove lastPos uses in favour of Row::endpos
2163 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2165 * undo.C (performUndoOrRedo): fix two crashes by setting a
2166 cursor by hand and reordering some calls. Use bv->lockInset instead
2167 of inset->edit because the latter loses cursor information
2169 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2171 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2173 (rowBreakPoint): fix width. change point to point + 1.
2174 Add a missing check.
2176 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2179 * lyxfunc.C: fix (at least partly) the problems
2180 with the Nav menu and headers inside branch insets
2183 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2185 * paragraph.C (getChar): add strong asserts
2187 * lyxrow_funcs.C (lastPos): remove hideous hack
2189 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2190 (fill): adjust to that (avoid an infinite loop)
2192 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2194 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2196 2003-10-23 André Pönitz <poenitz@gmx.net>
2198 * RowList_fwd.h: change list<> to vector<> to gain speed
2199 after suggestion from Alfredo
2201 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2203 * lyxtext.h: move the bidi stuff from here...
2206 * Bidi.[Ch]: ... to here
2208 2003-10-23 André Pönitz <poenitz@gmx.net>
2211 * text.C (isLastRow, isFirstRow): new functions
2213 * paragraph.h: new width cache member
2215 * rowpainter.C: replace RowList::iterator with Row & where possible
2217 * lyxfunc.C: replace several view()->text with a single call
2219 * toc.C: fix 'unused' warning
2221 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2223 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2224 when woring with stream::pos_type
2225 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2227 2003-10-22 André Pönitz <poenitz@gmx.net>
2230 * text.C: use Row & instead of RowList::iterator
2232 * lyxrow.h: rename end() to endpos()
2238 2003-10-22 Angus Leeming <leeming@lyx.org>
2240 * buffer.[Ch] (fully_loaded): new member function, returning true
2241 only when the file has been loaded fully.
2242 Used to prevent the premature generation of previews and by the
2243 citation inset to prevent computation of the natbib-style label.
2245 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2246 templates are all set up.
2248 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2250 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2252 * text.C: fixed an "oops" in the "is a bit silly"
2255 2003-10-21 André Pönitz <poenitz@gmx.net>
2257 * FuncStatus.[Ch]: small stuff, whitespace
2259 * lyxfont.[Ch]: operator<<() for debug reasons
2263 * lyxtext.h: whitespace, spelling
2265 * paragraph.C: naming of variables
2268 * text2.C: small stuff
2271 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2273 * text.C: (1) finish off the inset display() work;
2274 (2) fix the "is a bit silly" bug (accessing char
2277 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2279 * text.C: re-introduce display() for insets, fixing the
2280 various bugs (stretch of line above, math inset
2283 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2285 * text.C (rightMargin): remove spurious semicolon
2287 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2290 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2292 * text3.C: fix one crash due to wrong cursor def
2294 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2296 * vc-backend.C (scanMaster): make the regex static
2298 * LaTeX.C (scanAuxFile): make the regexs static
2300 * text3.C (doInsertInset, dispatch, dispatch):
2301 * text2.C (cursorUp, cursorDown):
2302 * text.C (selectNextWordToSpellcheck):
2303 * BufferView_pimpl.C (dispatch):
2304 * lyxfunc.C (dispatch): localDispatch -> dispatch
2306 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2308 * lyxsocket.C: include <cerrno>
2310 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2312 * lyxfunc.C (dispatch): remove textcache stuff
2314 * bufferlist.C (release): remove textcache stuff
2317 * TextCache.C: delete file
2318 * TextCache.h: delete file
2320 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2322 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2323 delete of the bv_->text.
2324 (resizeCurrentBuffer): remove texcache stuff
2325 (workAreaResize): ditto
2327 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2329 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2332 2003-10-16 André Pönitz <poenitz@gmx.net>
2339 * text3.C: speed up by storing y positions per paragraph plus per-row
2340 offset instead of having a 'full' y position in the row.
2342 2003-10-15 André Pönitz <poenitz@gmx.net>
2346 * undo.[Ch]: make undo aware of inner insets
2348 2003-10-14 Angus Leeming <leeming@lyx.org>
2350 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2351 static member functions LyX::ref() and LyX::cref.
2352 (lastfiles): new accessor functions for the new lastfiles_ member var.
2353 (addLyXView, views_): add a new LyXView to the list of views_.
2354 (updateInset): loop over all LyXViews to call their own updateInset
2355 member function, returning a pointer to the Buffer owning the inset.
2357 * BufferView_pimpl.C (loadLyXFile):
2358 * MenuBackend.C (expandLastfiles):
2359 * bufferlist.C (MenuWrite, QuitLyX):
2360 lastfiles is no longer a global variable.
2361 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2363 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2364 static function. Access through LyX::cref().emergencyCleanup().
2366 2003-10-14 André Pönitz <poenitz@gmx.net>
2368 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2370 * undo.[Ch]: restoring part of 'undo in insets'
2373 * undo_funcs.[Ch]: merge with undo.[Ch]
2375 * tabular.C: small cleansing stuff
2377 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2379 * paragraph_funcs.C (readParToken): report unknown insets as error
2380 boxes. Use the outer paragraph as location (also for unknown
2383 * factory.C (readInset): do not abort on reading an unknown inset.
2384 Eat it and return 0.
2386 2003-10-13 Angus Leeming <leeming@lyx.org>
2388 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2390 * lyxrc.C: displayTranslator is now a function,
2391 declared in GraphicsTypes.h.
2393 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2395 * format.C: new placeholder $$a to pass the socket address.
2397 * bufferlist.[Ch]: new function getBufferFromTmp.
2399 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2400 files in the temporary dir.
2402 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2404 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2406 * Makefile.am: add lyxsocket.[Ch].
2408 * lyx_main.C (error_handler): handle SIGPIPE.
2410 2003-10-13 André Pönitz <poenitz@gmx.net>
2412 * BufferView_pimpl.C:
2417 * undo_funcs.[Ch]: use paroffset_type instead of
2418 ParagraphList::iterators to prevent multiple conversion
2419 (and get a more robust interface)
2421 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2423 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2425 * text3.C (dispatch): ditto
2427 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2429 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2430 move the onlyfile, use onlyfile instead of foundfile in a couple
2433 * DepTable.C (update): flush the error stream a bit more
2435 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2437 * lyxserver.C (callback): adjust
2439 * lyxfunc.C (getStatus): add a missing brace in commented code
2440 (ensureBufferClean): reindent
2441 (dispatch): delete version taking a string
2443 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2445 * LaTeX.C (deplog): move found file handlig from here...
2446 (handleFoundFile): .. to new function here.
2447 (deplog): make sure to discover several files mentioned on the
2450 2003-10-10 André Pönitz <poenitz@gmx.net>
2457 * text3.C: fix some of the tabular crashes
2459 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2461 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2463 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2465 2003-10-09 André Pönitz <poenitz@gmx.net>
2467 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2470 * BufferView_pimpl.C:
2471 * bufferview_funcs.C:
2482 * undo_funcs.C: adjust
2484 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2486 * text2.C (incrementItemDepth): new function, use a backtracking
2487 algorithm to discover the correct item depth.
2488 (resetEnumCounterIfNeeded): new function, use a backtracking
2489 algorithm to discover if counter reset is needed.
2490 (setCounter): use them. Simplify a bit. Add different labels for
2491 different item depths for itemize.
2493 * paragraph.C (Paragraph): remove initialization of enumdepth
2496 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2497 enumerate and itemize. Change the type of itemdepth to signed char.
2499 2003-10-08 André Pönitz <poenitz@gmx.net>
2501 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2506 * tabular.[Ch]: fix crash after 'row-insert'
2508 2003-10-08 Angus Leeming <leeming@lyx.org>
2510 Fix doxygen warnings.
2512 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2513 Remove CutAndPaste:: prefix from header file declaration.
2515 * LColor.h (fill): remove LColor:: prefix from declaration.
2517 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2518 use lyx::depth_type rather than Paragraph::depth_type so that
2519 header file and .C file match.
2521 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2523 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2524 * aspell.C: \file aspell_local.C -> \file aspell.C
2525 * gettext.C: \file gettext.C -> \file src/gettext.C
2526 * gettext.h: \file gettext.h -> \file src/gettext.h
2527 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2528 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2529 * text.C: \file text.C -> \file src/text.C
2531 * toc.C: move comment so that doxygen is not confused.
2533 2003-10-07 Angus Leeming <leeming@lyx.org>
2535 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2537 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2540 * aspell_local.h: add forgotten std::string's.
2542 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2549 * text3.C: The Box patch. Fancybox support, minipage, parbox
2551 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2557 * ParagraphParameters.h:
2567 * lyxtextclasslist.h:
2570 * paragraph_pimpl.C:
2571 * textcursor.h: add <string> and other small fixes to make Lars'
2572 std::string patch compile with STLport.
2574 2003-10-06 Angus Leeming <leeming@lyx.org>
2576 * LColor.h: Add missing #include <string>.
2578 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2580 * All most all file in all subdirs: Make <string> be the prefered
2581 way of getting to std::string, add using declarations.
2583 2003-10-06 André Pönitz <poenitz@gmx.net>
2585 * metricsinfo.C: initialize LyXFont before changing attribute.
2586 (fixes the 'math in \emph is upright' bug)
2588 2003-10-06 André Pönitz <poenitz@gmx.net>
2590 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2592 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2595 * paragraph_pimpl.C: Small fixes to build using STLport
2597 2003-10-02 André Pönitz <poenitz@gmx.net>
2600 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2602 2003-10-01 André Pönitz <poenitz@gmx.net>
2604 * factory.C: assert early
2606 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2608 * lyx_main.C: remove the global debug object
2610 * debug.h: adjust for new debugstream
2612 * debug.C: adjust for new debugstream and keep the global debug
2615 2003-09-22 Angus Leeming <leeming@lyx.org>
2617 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2618 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2619 an incomplete class LyXFont.
2621 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2623 * factory.C: bug fix in branches
2625 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2627 * lyxfunc.C (processKeySym): adjust
2629 (dispatch): change arg name from ev to func, adjust
2630 (sendDispatchMessage): ditto
2632 * lyx_main.C (defaultKeyBindings): adjust keybindings
2633 (deadKeyBindings): ditto
2635 * kbsequence.C (addkey): return a FuncRequest
2637 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2639 * kbmap.C (bind): take a FuncRequest as arg, adjust
2642 (defkey): change to take a FuncRequest as arg, adjust
2643 (findbinding): take a FuncRequest as arg, adjust.
2645 * funcrequest.h (operator=): added
2647 * funcrequest.C (FuncRequest): default kb_action changed from
2648 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2650 * buffer.C (dispatch): simplify
2651 (dispatch): adjust to take a FuncRequest as arg, adjust
2653 * boost.C (assertion_failed): change assertion message slightly
2655 * ToolbarBackend.C (read): simplify
2657 * MenuBackend.C (binding): adjust call to findbinding, add a
2658 message if no binding is found.
2660 (expandToc): correct by adding a empty FuncRequest
2662 * LyXAction.C: include <boost/assert.hpp>
2663 (isPseudoAction): delete function
2664 (LookupFunc): change name to...
2665 (lookupFunc): this. change return type to FuncRequest.
2666 (getActionName): take kb_action as arg, simplify
2667 (funcHasFlag): add an assert, simplify.
2669 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2671 * toc.C (action): return a FuncRequest, simplify
2673 * lyxfunc.C (processKeySym): adjust
2674 (getStatus): delete version that takes an int.
2676 (dispatch): delete version that takes action as int
2678 (sendDispatchMessage): simplify and adjust
2680 * funcrequest.C (getArg): take unsigned int as arg
2682 * ToolbarBackend.C (read): adjust
2683 (add): delete version that takes func as a string.
2684 (getIton): take a FuncRequest as arg
2686 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2689 * MenuBackend.C (MenuItem): add a new construct that only takes a
2690 Kind, simplify the constructor use for submenus.
2692 (expandLastfiles): adjust
2693 (expandDocuments): adjust
2694 (expandFormats): adjust
2695 (expandFloatListInsert): adjust
2696 (expandFloatInsert): adjust
2697 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2699 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2700 Remove class variables lyx_pseudo_map and lyx_arg_map
2702 * LyXAction.C (searchActionArg): delete function
2703 (getPseudoAction): delete function
2704 (retrieveActionArg): delete function
2705 (LookupFunc): make it return kb_action, simplify.
2706 (getActionName): simplify
2708 * factory.C (createInset): fix new bug
2710 2003-09-19 Angus Leeming <leeming@lyx.org>
2712 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2713 masterFilename_ parameter in the include inset.
2715 * factory.C (createInset): changes due to the changes to InsetInclude.
2717 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2719 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2721 2003-09-18 Angus Leeming <leeming@lyx.org>
2724 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2725 Inset::fillWithBibKeys.
2726 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2728 2003-09-18 Angus Leeming <leeming@lyx.org>
2730 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2732 (ctor): pass and store a 'Buffer const &'
2733 (buffer): new member function.
2735 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2736 '*this' to the LaTeXFeatures ctor.
2738 2003-09-18 Angus Leeming <leeming@lyx.org>
2744 * text.C: rename EnumLColor as LColor_color.
2746 2003-09-18 Angus Leeming <leeming@lyx.org>
2748 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2749 remove #include "insets/insetbase.h" from cursor.h.
2751 2003-09-18 Angus Leeming <leeming@lyx.org>
2753 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2754 InsetOld_code to remove #include "inset.h".
2756 * iterators.C: add #include "insets/inset.h"
2758 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2760 * BufferView.C: remove more locking stuff that apparently doesn't
2761 do anything sensible.
2763 2003-09-16 André Pönitz <poenitz@gmx.net>
2766 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2769 2003-09-16 Angus Leeming <leeming@lyx.org>
2771 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2773 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2776 * paragraph.h: remove #include "lyxfont.h". Forward declare
2779 2003-09-16 Angus Leeming <leeming@lyx.org>
2781 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2782 of support/textutils.h.
2783 (isWord): move the contents of support/textutils.h's IsWordChar here.
2789 * text2.C: add #include "paragraph.h".
2792 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2794 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2800 * LaTeX.C: use namespace alias for lyx::support::os
2802 2003-09-16 Angus Leeming <leeming@lyx.org>
2805 * bufferview_funcs.C:
2808 * paragraph_pimpl.C:
2810 * text.C: add #include "LColor.h".
2812 2003-09-16 Angus Leeming <leeming@lyx.org>
2814 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2815 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2817 Store the FontBits::color variable as an int rather than as an
2818 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2821 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2822 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2823 string calls together.
2825 * lyxrc.C: add #include "LColor.h".
2827 2003-09-15 Angus Leeming <leeming@lyx.org>
2829 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2832 2003-09-15 Angus Leeming <leeming@lyx.org>
2834 * LColor.h: add an EnumLColor wrapper for LColor::color.
2836 * lyxfont.[Ch] (color, setColor, realColor):
2837 * lyxtext.h, text.C (backgroundColor):
2838 pass EnumLColor args to/from the functions, rather than LColor::color
2842 * lyxtext.h: forward declare EnumLColor.
2844 * lyx_main.C: add #include "LColor.h".
2846 2003-09-15 Angus Leeming <leeming@lyx.org>
2848 * .cvsignore: add lyx-gtk.
2850 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2855 * ParagraphParameters.C
2859 * bufferview_funcs.C
2869 * vc-backend.C: remove usage of STRCONV
2871 2003-09-15 Angus Leeming <leeming@lyx.org>
2873 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2874 explicitly define the color passed to the painter.
2876 2003-09-15 Angus Leeming <leeming@lyx.org>
2878 * bufferparams.C (BufferParams): reorder member initializers to avoid
2881 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2883 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2884 * text.C (updateRowPositions): remove an unusual nop
2886 2003-09-12 André Pönitz <poenitz@gmx.net>
2888 * BufferView_pimpl.C:
2897 * Counters.[Ch]: finish the 'automatic counters' job
2899 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2901 * aspell.C: include <boost/assert.cpp> (compile fix)
2903 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2905 * boost.C (assertion_failed): use lyx::support::abort instead of
2908 2003-09-10 Angus Leeming <leeming@lyx.org>
2910 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2911 with their _fwd progeny.
2913 2003-09-09 Angus Leeming <leeming@lyx.org>
2915 134 files throughtout the source tree: replace 'using namespace abc;'
2916 directives with the appropriate 'using abc::xyz;' declarations.
2918 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2920 * boost.C (emergencyCleanup): moved here from LAssert.c
2921 (assertion_failed): new function, called by BOOST_ASSERT
2923 * several files: change Assert to BOOST_ASSERT
2925 2003-09-09 Angus Leeming <leeming@lyx.org>
2927 * buffer.[Ch]: Add an Impl class and move Buffer's member
2928 variables into it. As a result move several header files out of
2931 Add header files to lots of .C files all over the tree as a result.
2933 2003-09-09 Angus Leeming <leeming@lyx.org>
2935 * buffer.[Ch]: make Buffer's member variables private. Add
2938 Lots of changes all over the tree as a result.
2940 2003-09-08 Angus Leeming <leeming@lyx.org>
2942 * graph.C: #include <config.h>.
2944 2003-09-08 Angus Leeming <leeming@lyx.org>
2948 * BufferView_pimpl.C:
2977 * toc.C: remove redundant using directives.
2979 2003-09-07 Angus Leeming <leeming@lyx.org>
2981 * LaTeXFeatures.h: remove #include "support/types.h".
2982 * ToolbarBackend.h: remove #include <algorithm>.
2983 * changes.h: remove #include <ctime>.
2984 * debug.h: remove #include <iosfwd>.
2985 * graph.h: remove #include "support/std_string.h".
2986 * lyx_main.h: remove #include <csignal>.
2987 * lyxlex_pimpl.h: remove #include <fstream>.
2988 * sgml.h: remove #include <algorithm>, <utility>.
2989 * toc.h: remove #include "support/std_ostream.h".
2990 Add #include <iosfwd>.
2992 2003-09-07 Angus Leeming <leeming@lyx.org>
2994 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2996 * converter.h: forward declare LatexRunParams.
2997 * encoding.h: remove #include "lyxrc.h".
2998 * lyxtext.h: remove #include "LColor.h".
2999 * lyxtextclass.h: remove #include "support/types.h".
3000 * trans.h: remove #include "tex-accent.h".
3001 * trans_mgr.h: remove #include "tex-accent.h".
3002 * insets/inset.h: remove #include "support/types.h", <vector>.
3003 * insets/insetcollapsable.h: remove #include "LColor.h".
3004 * insets/insetinclude.h: remove #include "dimension.h".
3005 * insets/insetlatexaccent.h: remove #include "dimension.h".
3006 * insets/insetoptarg.h:: remove #include "insettext.h".
3007 * insets/insettext.h: remove #include "dimension.h",
3008 <boost/shared_ptr.hpp>
3010 * insets/renderers.h: add #include "dimension.h".
3011 * insets/updatableinset.h: add #include "support/types.h".
3013 * many .C files: Associated changes.
3015 2003-09-06 Angus Leeming <leeming@lyx.org>
3017 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3018 one, inside testInvariant.
3020 * PrinterParams.C: new file.
3021 * PrinterParams.[Ch]: move the function bodies out of line.
3023 2003-09-06 Angus Leeming <leeming@lyx.org>
3025 * ParagraphParameters.h: forward declare ParameterStruct rather than
3026 including its header file.
3027 (depth): moved out-of-line.
3029 2003-09-06 Angus Leeming <leeming@lyx.org>
3031 * BufferView_pimpl.h:
3034 * lyxfunc.h: forward declare LyXKeySym rather than
3035 #include "frontends/LyXKeySym.h".
3037 * BufferView_pimpl.C:
3040 * lyxfunc.C: associated changes.
3042 2003-09-06 Angus Leeming <leeming@lyx.org>
3044 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3045 As a result, can remove the #include "insets/inset.h" from BufferView.h
3047 2003-09-06 Angus Leeming <leeming@lyx.org>
3049 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3050 As a result, can remove the #include "insets/inset.h" from BufferView.h
3052 2003-09-06 Angus Leeming <leeming@lyx.org>
3058 * bufferview_funcs.C:
3059 * BufferView_pimpl.C:
3064 * ParagraphParameters.C:
3069 * frontends/controllers/ControlDocument.C:
3070 * insets/insetcaption.C: rearrange the #includes into some sort of
3073 * buffer.h: remove #includes ErrorList.h, undo.h
3075 2003-09-06 Angus Leeming <leeming@lyx.org>
3077 * support/types.h: add a 'depth_type' typedef, used to store the
3078 nesting depth of a paragraph.
3081 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3082 defining explicitly.
3085 * paragraph_funcs.h:
3086 * ParagraphParameters.h:
3087 * sgml.h: use lyx::depth_type rather than Paragraph or
3088 ParameterStruct's depth_type.
3091 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3094 * BufferView_pimpl.C:
3096 * ParagraphParameters.C:
3099 * bufferview_funcs.C:
3106 * frontends/LyXView.C:
3107 * frontends/controllers/ControlDocument.C:
3108 * frontends/controllers/ControlErrorList.C:
3109 * insets/insetbibitem.C:
3110 * insets/insetbranch.C:
3111 * insets/insetcaption.C:
3112 * insets/insetcollapsable.C:
3113 * insets/insetenv.C:
3114 * insets/insetert.C:
3115 * insets/insetfloat.C:
3116 * insets/insetfoot.C:
3117 * insets/insetfootlike.C:
3118 * insets/insetnewline.C:
3119 * insets/insetquotes.C:
3120 * insets/insettabular.C:
3121 * insets/insettext.C:
3122 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3124 * frontends/controllers/ControlChanges.C: #include "changes.h".
3126 2003-09-06 Angus Leeming <leeming@lyx.org>
3128 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3129 than #including paragraph.h.
3132 * RowList.h: deleted. Superfluous.
3142 * insets/insettext.h: use ParagraphList_fwd.h rather than
3145 * paragraph.h: don't forward declare ParagraphList.
3148 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3149 rather than ParagraphList.h. paragraph.h is still needed for the
3150 Paragraph::depth_type parameters.
3152 * textcursor.h: enable it to compile stand-alone in light of the
3155 * bufferview_funcs.C:
3167 * frontends/controllers/ControlParagraph.C:
3168 * frontends/controllers/ControlTabular.C:
3169 * insets/insetmarginal.C:
3170 * insets/insetminipage.C:
3171 * insets/insetnote.C:
3172 * insets/insetoptarg.C: add header files needed to compile again.
3174 2003-09-06 Angus Leeming <leeming@lyx.org>
3176 * RowList_fwd.h: new file, forward-declaring Row rather than
3177 #including lyxrow.h.
3182 * insets/insettext.h: use it instead of RowList.h
3184 * bufferview_funcs.C:
3191 * text3.C: #include "RowList.h".
3193 2003-09-05 Angus Leeming <leeming@lyx.org>
3195 * factory.C (createInset):
3196 * vspace.C (c-tor): replace sscanf call with an istringstream.
3197 * ispell.C: re-add missing HP/UX headers.
3198 * lyxserver.C: re-add missing os2 headers.
3200 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3209 * text3.C: re-add missing system headers, needed for 2.95.2.
3211 2003-09-05 Angus Leeming <leeming@lyx.org>
3213 Changes most place everywhere due to the removal of using directives
3214 from support/std_sstream.h.
3216 2003-09-05 Angus Leeming <leeming@lyx.org>
3218 Replace LString.h with support/std_string.h,
3219 Lsstream.h with support/std_sstream.h,
3220 support/LIstream.h with support/std_istream.h,
3221 support/LOstream.h with support/std_ostream.h.
3223 Changes resulting throughout the tree.
3225 2003-09-05 Angus Leeming <leeming@lyx.org>
3227 * sgml.h: ensure that the header file can be compiled stand-alone.
3228 * *.C: strip out redundant #includes. (320 in total.)
3230 2003-09-04 Angus Leeming <leeming@lyx.org>
3232 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3233 here (from getPackages).
3235 * debug.[Ch]: add a new EXTERNAL tag.
3237 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3239 * text2.C (cursorEnd): simplify
3241 (getColumnNearX): adjust
3243 * text.C (computeBidiTables): adjust
3246 * rowpainter.C (paintChars): adjust
3247 (paintSelection): adjust
3248 (paintChangeBar): adjust
3251 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3253 (numberOfSeparators): adjust
3255 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3261 * text3.C: Restricts the mouse click functionality
3262 of insets like bibtex, include, toc and floatlist to the visible
3263 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3264 up the dialogs. Cursor has to be in front of the inset (i.e.
3265 start of row) for this to function.
3267 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3269 * bufferview_funcs.C (currentState): output row information
3271 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3273 * bufferview_funcs.C (currentState): output paragraph position
3275 2003-09-04 Angus Leeming <leeming@lyx.org>
3277 * FloatList.h: move out #include "Floating.h".
3278 * LaTeX.h: move out #include "DepTable.h".
3279 * LyXAction.h: move out #include "funcrequest.h".
3280 * buffer.h: move out #include "author.h", "iterators.h".
3281 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3282 * lyx_main.h: move out #include "errorlist.h".
3283 * lyxfunc.h: move out #include "FuncStatus.h".
3284 * lyxtext: move out #include "lyxcursor.h".
3285 * paragraph_pimpl.h: move out #include "counters.h".
3287 2003-09-03 Angus Leeming <leeming@lyx.org>
3289 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3290 preamble_snippets list, enabling us to add snippets to the preamble
3291 only if the snippet was not there already.
3293 2003-09-04 Angus Leeming <leeming@lyx.org>
3295 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3297 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3299 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3302 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3304 * BranchList.C: point fix, earlier forgotten
3306 2003-09-02 Angus Leeming <leeming@lyx.org>
3308 * box.C (contains): renamed from 'contained' after a fantastic
3311 2003-09-02 John Levon <levon@movementarian.org>
3317 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3319 2003-09-02 John Levon <levon@movementarian.org>
3321 * text2.C: simplification of cursorEnd(), including partial
3324 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3326 * buffer.C (readFile): add a space
3328 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3330 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3332 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3334 * buffer.C (readFile): new function, take a filename and a
3335 ParagraphList::iterator
3337 (readFile): adjust, make it private. don't use setStream, make
3338 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3339 always contain the filename.
3341 * BufferView.C (insertLyXFile): simplify and make it work for
3344 2003-08-30 John Levon <levon@movementarian.org>
3346 * Makefile.am: fix dist (from Kayvan)
3348 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3350 * most files: change to use const Buffer refs
3352 2003-08-27 André Pönitz <poenitz@gmx.net>
3354 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3355 on top of ownerPar().
3357 2003-08-27 John Levon <levon@movementarian.org>
3359 * funcrequest.C: properly initialise POD members
3361 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3363 * lyxtext.h (top_y): move top_y from here
3368 * BufferView_pimpl.[Ch]: to here
3369 * frontends/screen.C:
3370 * insets/insettabular.C:
3371 * insets/insettext.C: adjust
3372 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3374 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3377 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3379 2003-08-26 André Pönitz <poenitz@gmx.net>
3381 * paragraph_func.[Ch] (outerPar): new function
3384 * paragraph_funcs.C:
3385 * paragraph_funcs.h:
3386 * paragraph_pimpl.C:
3387 * text2.C: remove Inset::par_owner
3389 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3394 * text2.C: eliminates the needFullRow/display() stuff
3395 altogether, putting the logic in metrics/draw in the insets.
3397 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3399 * text2.C (redoParagraphInternal, redoParagraphs):
3400 * text.C (redoParagraph): add a call to updateRowPositions at the
3401 end of each 'metrics-like' call. Remove all others.
3402 (getRow): remove the 'y-computing' version.
3403 (getRowNearY): do not compute nor return the real y. Solve the
3404 'y < 0' problem and simplify.
3406 2003-08-22 Angus Leeming <leeming@lyx.org>
3408 * *.[Ch]: clean-up of licence and author blurbs.
3409 Also move config.h out of a few .h files and into a few .C files.
3411 2003-08-22 André Pönitz <poenitz@gmx.net>
3413 * lyxrow.[Ch]: add x_ and *fill_ members
3418 * text2.C: adjust/remove prepareToPrint() calls
3420 2003-08-22 André Pönitz <poenitz@gmx.net>
3422 * lyxrow.[Ch]: add end_ member
3424 * lyxrow_funcs.C: use LyXRow::end_
3426 * lyxtext.h (singleWidth): add LyXFont parameter
3429 * text2.C: adjust LyXText::singleWidth() calls
3431 * text.C (redoParagraph): simplify row breaking logic
3434 2003-08-19 André Pönitz <poenitz@gmx.net>
3436 * funcrequest.C: initialize button_ member
3439 * rowpainter.[Ch]: interface consolidation
3441 2003-08-18 André Pönitz <poenitz@gmx.net>
3444 * BufferView_pimpl.C:
3446 * paragraph_funcs.C:
3448 * text3.C: remove LyXScreen::draw() and fitCursor calls
3450 * BranchList.h: remove spurious semicolons
3452 * MenuBackend.C: fix branchlist related crash
3454 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3462 * bufferparams.[Ch]:
3466 * text3.C: implements the 'branch inset'
3467 idea. This allows the output of various versions of a document
3468 from a single source version, selectively outputing or suppressing
3469 output of parts of the text.
3470 This implementation contains a 'branch list editor' in a separate
3471 tab of the document settings dialog. Branches are user definable
3472 and have a "display colour" to distinguish them on-screen.
3474 ColorHandler was somewhat cleaned up.
3475 (1) make possible a dynamically growing LColor list by allowing
3476 the graphic context cache to grow along (vector);
3477 (2) eliminate an IMHO unnecessary step in colour allocation.
3479 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3481 * BufferView_pimpl.C: compile fix
3483 2003-08-15 André Pönitz <poenitz@gmx.net>
3485 * rowpainter.C: remove extra metrics calls
3487 * lyxtext.h: merge the two constructors into a single one,
3488 pass reference to owner's par list
3490 * BufferView_pimpl.C:
3494 2003-08-15 André Pönitz <poenitz@gmx.net>
3496 * lyxrow_funcs.[Ch]:
3499 * paragraph_funcs.C:
3504 * text_funcs.C: split LyXText::rowlist_ into individual
3505 Paragraph::rows_ chunks
3508 * BufferView_pimpl.[Ch]:
3511 * text3.C: remove toggleSelection()
3513 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3515 * bufferlist.C: beautify two alerts (shorter text of buttons)
3516 * buffer.C: Remove redundant ' ' from message
3518 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3519 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3520 rename VALIGN_CENTER to VALIGN_MIDDLE
3522 2003-08-11 André Pönitz <poenitz@gmx.net>
3524 * lyxtext.h (getPar):
3525 * text.C: new function
3527 2003-08-11 André Pönitz <poenitz@gmx.net>
3530 * tracer.[Ch]: remove unneeded files
3532 * InsetList.[Ch]: remove resizeInsetsLyXText()
3537 * text3.C: merge insertParagraphs() and appendParagraph()
3538 remove breakAgain(), update()
3540 * BufferView_pimpl.[Ch]:
3541 * bufferview_funcs.[Ch]:
3545 * tabular.C: adjust after text & InsetList changes.
3547 2003-08-08 André Pönitz <poenitz@gmx.net>
3549 * text.C (insertChar, backspace): replace rowlist fiddling
3550 with rebreak of full par
3553 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3554 checkParagraph, updateInset): removed
3556 2003-08-07 André Pönitz <poenitz@gmx.net>
3559 * text3.C: merge some LFUN handlers, remove dead code
3561 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3563 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3565 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3567 * text2.C (DEPM): fix part of bug 1255 and 1256
3569 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3571 * BufferView_pimpl.C (workAreaDispatch): change to use
3572 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3573 that are no mouse related.
3575 2003-08-05 André Pönitz <poenitz@gmx.net>
3578 * BufferView_pimpl.[Ch]:
3579 * bufferview_funcs.C:
3581 * text3.C: rip out "deep update"
3583 * textcursor.[Ch] (last_sel_cursor): remove unused member
3585 2003-08-04 André Pönitz <poenitz@gmx.net>
3588 * BufferView_pimpl.[Ch]:
3589 * ParagraphParameters.C:
3590 * bufferview_funcs.C:
3596 * text3.C: replace "complicated" BufferView::update(...) calls with
3599 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3601 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3603 * Makefile.am (lyx_SOURCES): add paper.h
3605 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3607 * Makefile.am: move things around so that both lyx-qt and
3608 lyx-xforms can be built (according to --with-frontend). Then lyx
3609 is a symbolic link to lyx-[firstfrontend]
3611 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3613 * Always use std::endl with lyxerr
3615 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3617 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3619 2003-08-01 André Pönitz <poenitz@gmx.net>
3622 * BufferView_pimpl.[Ch]:
3624 * text3.C: merge BufferView::repaint() and BufferView::update()
3626 2003-08-01 José Matos <jamatos@lyx.org>
3628 * buffer.[Ch]: file_format is no longer a buffer data element.
3630 2003-08-01 André Pönitz <poenitz@gmx.net>
3635 * text2.C: make redoParagraph more independent of current cursor
3637 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3639 * text2.C: remove unneeded members
3641 2003-07-30 André Pönitz <poenitz@gmx.net>
3643 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3645 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3646 create a single function...
3648 * paragraph_funcs.C (moveItem): ... here.
3651 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3653 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3655 * LColor.[Ch]: Add comment and greyedout logical colors.
3657 2003-07-30 André Pönitz <poenitz@gmx.net>
3659 * tabular.C: don't use Assert too heavily. This crashes where it
3662 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3664 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3665 is disabled (bug 1232)
3667 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3669 * factory.C: limited 'arg' scope
3671 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3673 * factory.C: fixed Note submenu issues
3675 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3677 * factory.C: submenu for Note/Comment/Greyedout
3679 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3682 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3684 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3687 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3688 greyedout. Patch provided by Jürgen Spitzmüller.
3690 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3692 * kbmap.C (read): fix error message when reading bind files
3694 2003-07-29 Angus Leeming <leeming@lyx.org>
3696 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3697 certainly does not do what it purports to do. I am doing it, and
3698 us, a favour by killing it.
3700 2003-07-28 José Matos <jamatos@lyx.org>
3702 * buffer.C (readBody, do_writeFile):
3703 * paragraph.C(readParagraph): \end_document replaces \the_end.
3705 2003-07-29 André Pönitz <poenitz@gmx.net>
3708 * BufferView_pimpl.[Ch]:
3712 * textcursor.[Ch]: remove toggleToggle & Co
3714 2003-07-28 José Matos <jamatos@fep.up.pt>
3716 * buffer.C (readParagraph):
3717 * params_func (readParToken, readParagraph):
3718 * paragraph.C (write): \layout -> \begin_layout.
3720 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3722 * lyxlex_pimpl.C (setFile): clean up slightly.
3724 * bufferparams.h: add compressed var
3726 * buffer_funcs.C (readFile): adjust for LyXLex change
3727 (newFile): ditto + simplify
3729 * buffer.C (writeFile): handle writing of compressed files
3731 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3732 Check if the file is compressed and set a bufferparm if so.
3734 * Makefile.am (lyx_LDADD): remove explicit -lz
3736 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3738 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3739 makeDocBookFile): put the real LyX version in the first line of
3743 * version.C.in: remove lyx_docversion
3745 * tabular.C (write_attribute): add a template-based version to
3746 write enums properly
3748 2003-07-28 André Pönitz <poenitz@gmx.net>
3753 * text3.C: use doubles again for x-coordinates. They are needed.
3755 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3757 * messages.C (getLocaleDir): use lyx_localedir()
3759 * lyxlex_pimpl.C (setFile): compress stuff
3761 * buffer.C (writeFile): add some compression stuff
3762 (do_writeFile): new func, dont call expliti close... will this
3765 * Makefile.am (lyx_LDADD): add -lz
3767 2003-07-28 José Matos <jamatos@fep.up.pt>
3769 * buffer.C: increment file format.
3770 * paragraph_funcs (readParagraph, readParToken):
3771 * paragraph.C (readParagraph): add \end_layout.
3773 2003-07-27 Angus Leeming <leeming@lyx.org>
3775 * Makefile.am: remove special casing for configure-time setting of
3776 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3778 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3779 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3781 2003-07-26 André Pönitz <poenitz@gmx.net>
3783 * paragraph_func.[Ch]:
3784 * paragraph.C (realizeFont): inline it whereever it is used
3789 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3792 2003-07-26 André Pönitz <poenitz@gmx.net>
3796 * text2.C: get rid of LyXText::need_break_row
3798 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3800 * toc.[Ch]: put namespace toc inside namespace lyx
3802 * MenuBackend.C (expandToc2): adjust for lyx::toc
3805 * lyxfunc.C (dispatch): adjust for lyx::find
3807 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3808 lyx::find instead. Reorganize a bit.
3809 (LyXReplace): rename to replace
3810 (LyXFind): rename to find
3812 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3815 2003-07-26 André Pönitz <poenitz@gmx.net>
3817 * text.C (setHeightOfRow): restrict scope of temporary variable
3819 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3820 code (never has been used?)
3822 2003-07-27 Asger Alstrup <alstrup@local>
3824 * text.C (fill): Optimise algorithm to exploit that we can reuse
3825 the LyXFont for many characters.
3826 (setHeightOfRow): Same thing.
3827 (rowBreakPoint): Same thing.
3829 2003-07-26 Asger Alstrup <alstrup@local>
3831 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3833 * text.C (singleWidth): Spurious font copying in hot-spot
3834 singleWidth avoided. Reorder tests for arabic for efficiency.
3836 * text.C (fill): handle empty paragraphs better.
3838 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3841 * encoding.h: add includes
3843 * lyxrc.C: remove reading of bind files
3845 * lyx_main.C (init): setup bindings and menus only if we have a
3848 * kbmap.C (read): new method. Do the actual reading of bind
3851 * converter.C (dvipdfm_options):
3854 (output): adapt PAPER_* enums.
3856 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3858 * bufferparams.h: remove paper-related enums from there
3860 * paper.h: New file. A trivial header file to hold paper-related
3861 enums. It should later expand to contain many paper-related
3864 * lyxrc.C: declare extern displayTranslator
3866 2003-07-27 José Matos <jamatos@fep.up.pt>
3868 * tabular.[Ch] (linuxdoc): add support for tables and figures
3871 2003-07-27 José Matos <jamatos@fep.up.pt>
3873 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3874 consistency in both functions.
3875 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3877 2003-07-26 Asger Alstrup <alstrup@local>
3879 * rowpainter.C (paintRows): Change algorithm to work directly on
3880 the insets rather than asking every character in the document
3881 whether its an inset.
3883 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3885 * buffer.C (openFileWrite): factorize some code
3887 2003-07-26 Angus Leeming <leeming@lyx.org>
3890 * lyx_main.[Ch]: replace occurances of system_tempdir with
3893 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3895 * rename Inset to InsetOld
3897 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3899 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3900 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3901 which I think is a bit clearer. EDIT is gone, since it was
3902 premature optimisation, and broken for mathed anyway.
3903 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3904 with cursor positioning in insets as well (math insets still do not
3905 work, but that's a different story anyway.) It mysteriously
3906 crashes sometimes with undo in the first paragraph, but I'm fairly
3907 confident that this is a compiler bug.
3909 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3911 * paragraph.C (Paragraph): adjust for new clone return type
3913 (copyIntoMinibuffer): ditto
3915 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3917 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3918 by not having a special case, and always doing a full rebreak of
3919 the document after undo.
3921 2003-07-23 Angus Leeming <leeming@lyx.org>
3923 * factory.C (createInset): InsetExternal::setParams now takes a
3926 2003-07-23 Angus Leeming <leeming@lyx.org>
3928 * factory.C (createInset): changed interface to the external and
3929 graphics mailers' string2params functions.
3931 2003-07-23 Angus Leeming <leeming@lyx.org>
3933 * factory.C (createInset): pass a
3934 Buffer const * parameter to InsetExternalMailer's string2params.
3936 2003-07-22 John Levon <levon@movementarian.org>
3938 * Thesaurus.h: include the right aiksaurus header
3940 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3942 * MenuBackend.C (expand): check menu shortcuts unconditionally
3944 2003-07-21 Angus Leeming <leeming@lyx.org>
3946 * factory.C (createInset): pass a
3947 buffer_path parameter to InsetGraphicsMailer's string2params.
3949 2003-07-21 Angus Leeming <leeming@lyx.org>
3951 * BufferView_pimpl.C (buffer):
3954 * lyxfunc.C (dispatch):
3955 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3956 rather than the grfx shortcut.
3958 2003-07-21 André Pönitz <poenitz@gmx.net>
3960 * rowpainter.C: remove unused variables
3963 * tabular_funcs.h: move to tabular.C
3964 * Makefile.am: adjust
3966 * tabular.[Ch]: basic optical cleaning
3968 * author.h: pass references, not values
3970 2003-07-18 André Pönitz <poenitz@gmx.net>
3978 * text3.C: two-phase drawing for InsetText and InsetTabular
3979 some float -> int changes.
3981 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3983 * lyx_main.C: fix the fix
3985 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3987 * lyx_main.C: fix a crash in batch mode if no files specified
3990 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3992 * format.[Ch] (papersize): moved to BufferParams
3993 * converter.[Ch] (dvips_options): moved to BufferParams
3994 (dvipdfm_options): moved to anon namespace
3995 * bufferparams.[Ch]: added above functions.
3997 2003-07-17 André Pönitz <poenitz@gmx.net>
4001 * text2.C: don't call inset->update() anymore
4003 * metricsinfo.[Ch]: add convenience constructor
4005 2003-07-16 André Pönitz <poenitz@gmx.net>
4010 * text2.C: replace the LyXCursor::irow_ member with
4011 on-demand computation of the value
4013 2003-07-16 John Levon <levon@movementarian.org>
4015 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4017 2003-07-15 André Pönitz <poenitz@gmx.net>
4020 * text2.C: remove no more needed refresh_row
4022 2003-07-15 André Pönitz <poenitz@gmx.net>
4027 * text3.C: refresh_status tristate -> need_update bool
4029 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4031 * lyxtext.h (init): remove reinit argument (act as if always true)
4032 * text2.C: adjust to that
4034 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4036 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4037 * text3.C: use it to delete selections in some cases
4038 (bugs 441, 673, 702, 954).
4040 2003-07-14 André Pönitz <poenitz@gmx.net>
4042 * rowpainter.[Ch]: reduce interface
4044 2003-07-14 André Pönitz <poenitz@gmx.net>
4046 * BufferView_pimpl.C:
4047 * text2.C: adjust after removing unused BufferView * argument
4049 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4051 * text2.C (init): fix a crash fired on resize
4053 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4055 * buffer.[Ch]: added new closing signal
4056 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4057 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4058 BufferView::Pimpl via the closing the signal
4060 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4062 * buffer.[Ch]: take out all bv-related from buffer
4064 * BufferView_pimpl.[Ch]: connect to new signals
4065 * CutAndPaste.C: removed useless asserts
4066 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4069 * lyxfunc.C: moved view-related funciontality from vc here
4070 * paragraph.C: removed outdated comments
4073 2003-07-10 André Pönitz <poenitz@gmx.net>
4075 * BufferView_pimpl.C:
4079 * text2.C: remove InsetText::InnerCache, clean up consequences
4081 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4083 * ispell.C: fix two typos in error messages
4085 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4087 * Extend Note inset to other forms of annotation like Comment
4088 and Greyedout. Right button click gives dialog.
4090 Files modified or added (+):
4094 * ControlNote.[Ch] +
4096 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4097 frontends/controllers
4101 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4103 * aspell.C: add missing namespace lyx::support
4105 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4107 * BufferView.[Ch] (newFile): Add
4108 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4109 * LaTeX.[Ch] (message): added this signal and use it
4110 * buffer.[Ch] (busy, message): added these signals and use them
4111 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4115 * importer.C: use buffer signals instead of direct bv calling
4116 * lyx_cb.[Ch] (ShowMessage): removed
4119 * paragraph_funcs.C:
4120 * text2.C: use buffer signals
4122 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4124 * introduce namespace lyx::graphics
4126 2003-07-02 André Pönitz <poenitz@gmx.net>
4128 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4130 2003-07-01 André Pönitz <poenitz@gmx.net>
4137 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4138 text*.C to text_func.C
4140 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4142 * introduce namespace lyx::support
4144 2003-06-30 André Pönitz <poenitz@gmx.net>
4149 * text.C: re-enable --with-included-string
4151 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4153 * textcursor.C: add <config.h>
4155 * text.C (getWord): remove const from word_location arg
4157 * lyxvc.C (getLogFile): fix const type order
4159 * lyxtext.h: remove const from word_location arg, add arg name
4161 * lyxlayout.h: currect type on labeltype.
4163 * importer.C: correct \file
4165 * converter.C (intToFormat): use std:: on ret val, ws changes
4167 * bufferlist.h: correct \file
4169 * buffer.C (makeLinuxDocFile): fix const type order
4170 (makeDocBookFile): ditto
4171 (fillWithBibKeys): use std:: on stdlib args.
4173 * CutAndPaste.C: fix authors.
4174 (availableSelections): use std:: on return vector
4176 2003-06-27 André Pönitz <poenitz@gmx.net>
4178 * BufferView_pimpl.C:
4179 * bufferview_funcs.C:
4187 * text3.C: remove LyXCursor::row_ member
4190 * text.C: rename fullRebreak() to partialRebreak() and implement
4191 a fullRebreak() that really bereks fully
4193 * textcursor.h: new struct for cursor-related data
4195 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4197 * lyx_main.C (LyX): get full path of document loaded on the
4200 2003-06-26 André Pönitz <poenitz@gmx.net>
4202 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4203 remove unused/broken operator>,<,>=.
4205 * text.C: remove only use of broken operator<= in an Assert().
4207 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4209 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4210 moved errorlist_.clear to showErrorList
4212 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4214 * converter.C (scanLog, runLaTeX):
4215 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4216 move the bv->showErrorList call to the callers
4217 * lyxfunc.C: i.e. here...
4219 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4220 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4221 namespace, the second to...
4222 * buffer_funcs (BufferFormat, parseErrors): added
4223 * errorlist.C (ErrorList(TeXErrors const &)): removed
4225 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4227 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4229 2003-06-24 "Garst R. Reese" <reese@isn.net>
4233 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4235 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4237 * version.C.in: change docversion to 1.4
4239 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4241 * buffer.C: fix a bug just introduced
4243 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4245 * buffer.[Ch]: added the parseError signal and use it, removed
4247 * BufferView.[Ch] (addError): moved to ...
4248 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4249 to the Buffer::parseError signal to catch (guess what) parse errors
4250 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4252 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4254 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4255 ability to create a buffer and to return an existing one from
4256 the list. Moved these functions to...
4257 * buffer_funcs.[Ch]: added
4258 * BufferView.[Ch] (loadLyXFile): added
4259 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4260 job removed from bufferlist::loadLyXFile.
4261 * buffer.C (setReadOnly): make it work without view
4262 (i.e added an if (users))
4264 2003-06-19 Angus Leeming <leeming@lyx.org>
4267 * LyXAction.C (init):
4268 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4269 with LFUN_DIALOG_SHOW <name> <data>.
4271 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4273 * CutAndPaste.C (availableSelections): small compilation fix for
4274 ancient (gcc 2.9x) compilers
4276 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4278 * text3.C (cursorNext): add tmp var
4280 * text2.C (updateCounters): for function calling out of for clause
4281 (replaceSelectionWithString): ditto
4282 (insertStringAsParagraphs): ditto
4283 (getColumnNearX): add tmp var
4284 (setCursorFromCoordinates): add tmp var
4285 (cursorDownParagraph): add tmp var
4286 (deleteEmptyParagraphMechanism): add tmp var
4288 * text.C (insertChar): add tmp var
4290 * rowpainter.C (paintDepthBar): add tmp var
4292 * CutAndPaste.C (availableSelections): potentially check all
4293 paragraphs in a cut to fill the shown strings.
4295 2003-06-18 André Pönitz <poenitz@gmx.net>
4297 * kbmap.[Ch]: use vector<> instead of list<>
4299 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4301 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4302 pasteSelection with index
4304 * text2.C (pasteSelection): modify, call pasteSelection with index
4306 * paragraph.C (asString): reimplement version with no interval to
4307 call the one with interval.
4309 * lyxtext.h: add index arg to pasteSelection
4311 * MenuBackend.C (MenuItem): handle PasteRecent
4312 (Menu::read::Menutags): add md_pasterecent
4314 (expandPasteRecent): new function
4317 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4319 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4321 (availableSelections): new function
4323 2003-06-17 Angus Leeming <leeming@lyx.org>
4325 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4327 2003-06-17 Angus Leeming <leeming@lyx.org>
4330 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4332 * lyxfunc.C (dispatch): invoke it.
4334 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4336 * iterators.C (operator++, ParPosition): reintroduce some
4337 const_cast for the benefit of older compilers.
4339 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4341 * text3.C (dispatch): do not modify clipboard when doing
4342 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4343 LFUN_DELETE_SKIP on a selection selection
4345 2003-06-16 André Pönitz <poenitz@gmx.net>
4351 * tabular.[Ch]: IU of clone() and getLabelList();
4353 2003-06-13 André Pönitz <poenitz@gmx.net>
4355 * tabular.h: compactification
4357 2003-06-12 André Pönitz <poenitz@gmx.net>
4361 * tabular_funcs.h: some renaming plus whitespace
4363 2003-06-12 André Pönitz <poenitz@gmx.net>
4366 * BufferView_pimpl.C:
4372 * toc.C: Return a Paragraph & for ParIterator::operator*()
4374 2003-06-11 John Levon <levon@movementarian.org>
4378 * ToolbarBackend.C: add "Toolbars" section and
4381 2003-06-10 Angus Leeming <leeming@lyx.org>
4384 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4386 * lyxfunc.C (dispatch): invoke it.
4388 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4390 * main.C: protect <ios> with HAVE_IOS
4391 (main): protect sync_with_stdio with HAVE_IOS
4393 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4395 * text2.C (cutSelection): adjust
4396 (pasteSelection): adjust
4398 * messages.C: handle get of empty string
4400 * main.C (main): use sync_with_stdio(false)
4402 * lyxfunc.C (dispatch): adjust
4404 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4405 (WriteAs): remove unneeded BufferView arg.
4407 * bufferparams.h: use correct types on papersize, papersize2 and
4410 * bufferparams.C (readToken): adjust for type
4411 (writeLaTeX): add missing cases to switch.
4413 * bufferlist.C (quitWriteBuffer): adjust
4416 * buffer.C (asciiParagraph): remove some commented code.
4418 * CutAndPaste.C: remove current_view extern variable.
4419 (cutSelection): add BufferParams arg.
4420 (eraseSelection): add BufferParams arg.
4421 (pasteSelection): add Buffer const & arg
4423 2003-06-07 John Levon <levon@movementarian.org>
4426 * paragraph_funcs.C:
4427 * paragraph_pimpl.C:
4431 * paragraph.C: allow InsetERT to freely space lines,
4432 and some consolidation of code
4434 2003-06-06 José Matos <jamatos@fep.up.pt>
4436 * buffer.C (makeDocBookFile): fix bug #821
4438 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4440 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4442 2003-06-04 Angus Leeming <leeming@lyx.org>
4444 * buffer.C: bump format to 224.
4446 2003-06-05 André Pönitz <poenitz@gmx.net>
4448 * text2.C (redoParagraphs): remove two const_cast<>
4450 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4452 * ParagraphList.h: remove last remnants of NO_STD_LIST
4454 2003-06-03 Angus Leeming <leeming@lyx.org>
4456 * factory.C (createInset): small change to the way InsetExternal's params
4459 2003-06-04 André Pönitz <poenitz@gmx.net>
4461 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4463 * paragraph_pimpl.h:
4464 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4466 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4468 * undo_funcs.C: make some simple cases of undo work again
4470 2003-06-03 John Levon <levon@movementarian.org>
4472 * ispell.C: HPUX doesn't have sys/select.h
4475 2003-06-03 John Levon <levon@movementarian.org>
4477 * CutAndPaste.C: update tabular and include inset
4482 * paragraph.C: remove owningBuffer(), don't pass Buffer
4485 * factory.C: insetGraphicsParams changed
4487 2003-06-02 John Levon <levon@movementarian.org>
4493 * text3.C: remove insetparent
4495 2003-06-02 John Levon <levon@movementarian.org>
4498 * buffer.C: fix inset_iterator.end(), move out of line
4501 2003-06-01 John Levon <levon@movementarian.org>
4503 * text3.C: use a proper cut/paste when doing inset
4504 insert (from Jürgen Spitzmüller)
4506 2003-06-01 John Levon <levon@movementarian.org>
4508 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4510 2003-05-30 André Pönitz <poenitz@gmx.net>
4512 * rowpainter.C: unify second drawing phase
4514 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4516 * trans_mgr.C: remove one case of current_view
4518 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4520 * paragraph_funcs.h: remove paragraph.h include
4522 * paragraph.h: delete NO_STD_LIST stuff
4524 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4526 * buffer.h: remove paragraph.h include
4528 * ParagraphList.C: delete file
4530 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4532 * toc.C (getTocList): adjust
4534 * paragraph_pimpl.C (validate): adjust
4536 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4538 * paragraph.C (Paragraph): adjust
4539 (getPositionOfInset): use const_iterator, adjust
4540 (bibitem): use const_iterator, adjust
4541 (setInsetOwner): adjust
4543 * iterators.C (operator++): adjust
4545 * InsetList.[Ch]: Replace selfmade iterator with standard
4546 vector::iterator also introduce const_iterator. Remove getPos,
4547 getInset and setInset from InsetTable. Adjust accordingly.
4549 * BufferView.C (lockInset): adjust
4550 (ChangeInsets): adjust
4552 * tabular.[Ch]: delete commented same_id functions
4554 2003-05-28 John Levon <levon@movementarian.org>
4556 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4558 2003-05-28 André Pönitz <poenitz@gmx.net>
4560 * metricsinfo.[Ch]: remove 'fullredraw' member
4562 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4564 * lyxtextclass.C (operator): remove caching.
4566 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4570 * text2.C (cursorBottom): adjust
4571 (setCounter): use ParagraphList::find, adjust
4573 * text.C (workWidth): use ParagraphList::find, adjust
4575 * lyxcursor.C (LyXCursor): adjust
4577 * buffer.C (inset_iterator): adjust
4579 * ParagraphList.h: make iterator(value_type) private, make
4580 ParagraphList a friend of iterator.
4582 * ParagraphList.C (find): new function
4584 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4586 2003-05-27 André Pönitz <poenitz@gmx.net>
4588 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4590 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4592 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4594 2003-05-26 John Levon <levon@movementarian.org>
4596 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4598 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4600 * remove same_id from function signatures, adjust.
4602 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4604 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4606 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4608 * paragraph.C (Paragraph): get rid of same_ids parameter
4610 * ParagraphList.C (insert): adjust
4613 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4615 * paragraph_funcs.C (breakParagraph): adjust
4616 (breakParagraphConservative): adjust
4618 * buffer.C (readParagraph): adjust
4620 * ParagraphList.C (insert): take a reference instead of a pointer
4623 * paragraph.[Ch] (id): new function
4625 * bufferlist.C (newFile): adjust
4627 * ParagraphList.C (ParagraphList): adjust
4629 (push_back): take a reference instead of a pointer.
4631 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4633 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4636 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4637 set else use old code.
4639 * ParagraphList.C: remove all NO_NEXT code and only compile this
4640 code of NO_STD_LIST is set.
4642 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4644 * BufferView_pimpl.C:
4654 * graphics/GraphicsConverter.C:
4655 * graphics/PreviewLoader.C: header adjustment
4657 2003-05-23 Angus Leeming <leeming@lyx.org>
4659 * LaTeXFeatures.[Ch] (useBabel): new method.
4660 * bufferparams.C (writeLaTeX): use it.
4662 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4664 * ParagraphList.h (set): remove unused function.
4666 2003-05-23 André Pönitz <poenitz@gmx.net>
4669 * BufferView_pimpl.C:
4673 * undo_funcs.C: setUndo reworked
4675 * iterators.[Ch]: add access to topmost ParagraphList
4677 * lyxtext.[Ch] (workWidth): add a const
4679 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4681 * texrow.[Ch] (increasePos): remove function
4682 * exporter.C (export): removed unused var and outdated comment
4684 2003-05-23 Angus Leeming <leeming@lyx.org>
4686 * latexrunparams.h: rename fragile as moving_arg.
4687 * paragraph.C (simpleTeXOnePar): ditto.
4688 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4690 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4692 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4694 (textUndoOrRedo): comment out a currently unused var.
4696 * paragraph.h (NO_NEXT): enable NO_NEXT
4698 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4700 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4702 * exporter.C (Export): adjust for removeAutoInsets removal.
4704 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4706 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4708 * BufferView.[Ch] (removeAutoInsets): delete function
4710 2003-05-22 Angus Leeming <leeming@lyx.org>
4712 * latexrunparams.h: add a free_spacing variable.
4714 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4715 to pass moving_arg, as the data is stored in runparams.fragile.
4717 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4718 to Inset::latexOptional or to simpleTeXOnePar.
4720 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4721 free_spacing arg to Inset::latexOptional.
4723 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4726 2003-05-22 Angus Leeming <leeming@lyx.org>
4728 * latexrunparams.h: add fragile and use_babel variables.
4730 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4731 * buffer.C (makeLaTeXFile): store this returned value in
4732 runparams.use_babel, thus passing it to the inset::latex methods.
4734 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4735 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4737 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4738 longer has a fragile arg, as it is stored in runparams.fragile.
4740 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4741 moving_arg parameter as the data is stored in runparams.fragile.
4743 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4744 a fragile parameter as the data is stored in runparams.fragile.
4746 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4748 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4750 2003-05-22 Angus Leeming <leeming@lyx.org>
4752 * latexrunparams.h: add a 'bool nice' which defaults to false.
4754 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4755 now encapsulated within runparams.
4757 * bufferlist.C (updateIncludedTeXfiles):
4758 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4760 2003-05-22 Angus Leeming <leeming@lyx.org>
4762 * latexrunparams.h: new file containing struct LatexRunParams.
4763 * Makefile.am: add new file.
4765 * LaTeX.[Ch] (c-tor, run):
4766 * buffer.[Ch] (makeLaTeXFile):
4767 * bufferlist.[Ch] (updateIncludedTeXfiles):
4768 * converter.C (convert, scanLog):
4769 * converter.[Ch] (runLaTeX):
4770 * exporter.C (Export):
4771 * paragraph.[Ch] (simpleTeXOnePar):
4772 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4773 * paragraph_funcs.[Ch] (latexParagraphs):
4774 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4775 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4776 pass around a LatexRunParams parameter.
4778 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4780 * paragraph.[Ch]: remove unused constructor
4782 * ParagraphList.C (erase): new function, taking two iterators
4784 2003-05-22 André Pönitz <poenitz@gmx.net>
4786 * undo_funcs.C: remove duplicated code
4788 * iterator.[Ch]: operator=
4790 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4792 * tabular.C (SetMultiColumn): ws changes
4794 * rowpainter.C (paintFirst): get rid of a ->previous
4796 * lyx_cb.C (getPossibleLabel): parlist simplification
4798 * BufferView.C (ChangeInsets): simplify slightly.
4800 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4802 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4803 * lfuns.h: new LFUN_SPACE
4804 * lyxfunc.C: protected space has a new lfun
4805 * paragraph_funcs.C: read new space insets
4807 * factory.C: handle new space insets
4809 2003-05-22 André Pönitz <poenitz@gmx.net>
4812 * BufferView_pimpl.C:
4815 * undo_funcs.C: return a ParIterator from getParFromID.
4817 * iterators.[Ch]: add two const's
4819 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4821 * toc.C (getTocList): adjust
4823 * iterators.[Ch]: rework for parlist
4825 * buffer.C (par_iterator_begin): adjust
4826 (par_iterator_end): adjust
4828 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4830 * BufferView.C (removeAutoInsets): adjust
4831 (ChangeInsets): adjust
4833 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4835 * text.C (top_y): fix bug 1110
4837 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4839 * errorlist.[Ch]: added
4842 * BufferView_pimpl.C:
4843 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4846 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4848 * Makefile.am: ensure that lyx is relinked upon changes to the
4849 various "convenience" libs.
4851 2003-05-20 Angus Leeming <leeming@lyx.org>
4853 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4854 files are compiled in alphabetical order again.
4856 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4858 2003-05-19 Angus Leeming <leeming@lyx.org>
4860 * gettext.[Ch]: remove "char const * _(char const *)".
4862 2003-05-19 André Pönitz <poenitz@gmx.net>
4864 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4873 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4875 2003-05-19 André Pönitz <poenitz@gmx.net>
4879 * lyxtextclass.[Ch]:
4881 * paragraph_funcs.[Ch]:
4883 * text3.C: more insetenv work
4885 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4887 * ParagraphParameters.C (params2string): small bug fixed
4889 2003-05-16 André Pönitz <poenitz@gmx.net>
4892 * bufferview_funcs.C: patch from Kornel Benko to prevent
4893 crash when _(...) is called twice in a statement
4895 2003-05-16 André Pönitz <poenitz@gmx.net>
4902 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4904 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4906 * lyx_main.C (init): remove spurious static_cast
4908 2003-05-14 André Pönitz <poenitz@gmx.net>
4910 * BufferView.C: fix format string
4912 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4914 * BufferView.[Ch] (insertErrors): removed
4915 * BufferView.[Ch] (showErrorList): added
4916 * buffer.C (runChkTeX):
4917 * converter.C (scanLog): call showErrorList instead of inserterrors
4919 2003-05-13 André Pönitz <poenitz@gmx.net>
4921 * BufferView_pimpl.C:
4923 * bufferview_func.C:
4930 * tabular_funcs.h: tostr() from its own header
4932 * ParagraphParameters.C:
4937 * text3.C: STRCONV()
4939 2003-05-12 André Pönitz <poenitz@gmx.net>
4942 * BufferView_pimpl.C:
4946 * ParagraphParameters.C:
4950 * bufferview_funcs.C:
4963 * paragraph_funcs.C:
4967 * text3.C: boost::format -> bformat all over the place
4970 2003-05-09 André Pönitz <poenitz@gmx.net>
4972 * LColor.[Ch]: Pimpl the #include <map> away
4974 2003-05-09 John Levon <levon@movementarian.org>
4976 * bufferlist.C: never remove emergency saves
4978 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4980 * Makefile.am: better lib building
4982 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4984 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4986 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4987 (simpleTeXSpecialChars): adjust
4988 (simpleTeXSpecialChars): adjust
4989 * paragraph.C (simpleTeXOnePar): adjust
4990 * buffer.C (makeLaTeXFile): adjust
4992 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4994 * text2.C (changeDepth): parlist cleanup
4995 (getColumnNearX): ditto
4997 * rowpainter.C (getLabelFont): parlist cleanup
4999 * bufferlist.C (newFile): parlist cleanup
5001 * CutAndPaste.C (eraseSelection): parlist cleanup
5003 * BufferView_pimpl.C (trackChanges): parlist cleanup
5006 * BufferView.C (lockInset): parlist cleanup.
5007 (ChangeInsets): ditto
5009 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5011 * CutAndPaste.h: Update file header.
5013 * CutAndPaste.C: Update file header.
5014 Store the parts cut out of the Document in a limited_stack.
5015 (copySelection): adjust
5016 (pasteSelection): new function, takes the index in the limited stack.
5017 (nrOfParagraphs): adjust
5018 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5019 simplify error inset insertion.
5020 (checkPastePossible): adjust
5022 2003-05-06 John Levon <levon@movementarian.org>
5024 * text2.C: don't cast wrap inset to float
5026 2003-05-05 André Pönitz <poenitz@gmx.net>
5029 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5031 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5032 few naked Paragraph *.
5034 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5036 * bufferparams.C: Output warning if a document with missing
5037 TeX document class is loaded
5038 * exporter.C: Disable TeX exports if the document class is missing
5041 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5042 isTeXClassAvailable()
5044 2003-05-03 John Levon <levon@movementarian.org>
5047 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5048 explicit cursor show/hide
5050 * BufferView_pimpl.h:
5051 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5052 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5054 * lyxfunc.C: hide cursor before dispatching.
5059 * text3.C: remove explicit cursor hides
5061 2003-05-02 André Pönitz <poenitz@gmx.net>
5063 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5066 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5069 * text2.C: tiny whitespace
5071 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5073 * undo_funcs.C: almost only ws changes.
5075 * ParagraphList.C (splice): just return if pl is empty.
5077 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5079 * ParagraphList.C (splice): new function.
5081 * CutAndPaste.C (pasteSelection): use it
5083 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5085 * CutAndPaste.C (pasteSelection): remove the last next and
5086 previous from this file.
5088 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5090 * CutAndPaste.C (pasteSelection): more clean up, user proper
5091 ParagraphList functions for pasteing.
5093 * ParagraphList.C (insert): new function, three arg insert
5095 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5097 * ParagraphList.C (insert): new function, three arg insert
5099 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5102 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5104 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5106 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5108 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5110 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5112 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5113 (copySelection): clean up a bit.
5114 (pasteSelection): use make_pair
5116 * ParagraphList.C (ParagraphList): implement copy constructor
5117 (operator=): implement, base on copy constructor.
5120 * paragraph.C (erase): return a bool
5122 * paragraph_pimpl.C (erasePos): remove function, move contents...
5123 (erase): ... here. Return a bool.
5124 (erase): call erase instead of erasePos.
5126 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5128 * ParagraphList.h: define PitPosPair
5129 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5130 ParagraphList, fix a bug on pasting multiple pars
5131 * text2.C: change interface to C&P
5133 2003-04-30 André Pönitz <poenitz@gmx.net>
5135 * undo_func.C: revert part of yesterday's patch 2
5137 2003-04-30 John Levon <levon@movementarian.org>
5139 * LColor.C: s/tabular/table/
5141 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5143 * text3.C (dispatch): do not convert iterator -> pointer
5144 * undo_funcs.C (setCursorParUndo): ditto
5145 * text_funcs.C (transposeChars): ditto
5147 * text2.C (setLayout): ws changes only
5149 * text.C (breakParagraph): do not convert iterator -> pointer
5151 (acceptChange): ditto
5152 (rejectChange): ditto
5157 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5160 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5162 * text3.C (gotoInset): YABG (yet another bad getChar)
5164 2003-04-29 André Pönitz <poenitz@gmx.net>
5166 * paragraph.h: make operator= private unimplemented as long as
5169 * ParagraphList.C: whitespace
5172 * paragraph_pimpl.[Ch]:
5173 * paragraph_funcs.C:
5175 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5178 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5180 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5182 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5183 * paragraph.[Ch] (erase):
5184 * paragraph_pimpl.[Ch] (erase): change return type and value
5185 * text2.C (cutSelection): some rework
5187 2003-04-28 John Levon <levon@movementarian.org>
5189 * bufferlist.C: changes for unsaved changes dialog
5191 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5193 * bufferlist.C (newFile): set language (messages_) for new
5196 * buffer.C (readFile): ws changes only.
5198 2003-04-28 André Pönitz <poenitz@gmx.net>
5203 * BufferView_pimpl.C:
5204 * BufferView.C: getParFromID related ParagraphList::iterator changes
5206 2003-04-28 André Pönitz <poenitz@gmx.net>
5208 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5211 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5213 * messages.C: remove one more localedir class variable.
5215 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5217 * messages.C (getLocaleDir): singleton generation function
5219 (Messages): add a default constructor.
5221 * main.C (main): do not setup localedir here, do not call
5224 * gettext.C (_): use it.
5225 (gettext_init): delete funciton
5227 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5229 * gettext.C (getLyXMessages): new singleton generating function.
5231 * buffer.C (updateDocLang): adjust
5233 * Makefile.am (messages.o): add target
5234 (main.o): remove target
5236 2003-04-27 John Levon <levon@movementarian.org>
5241 * lyxvc.C: specify cancel button in Alert::prompt
5243 2003-04-26 John Levon <levon@movementarian.org>
5248 * LyXAction.C: add LFUN_INSET_SETTINGS
5250 * lyxfunc.C: don't enable tabular-feature when there's
5251 just any locking inset
5253 2003-04-26 John Levon <levon@movementarian.org>
5255 * bufferlist.C: re-add Cancel to buffer close question
5257 * lyxfunc.C: fix import UI a bit
5259 2003-04-25 John Levon <levon@movementarian.org>
5261 * gettext.C: remove the broken asserts for now
5263 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5265 * messages.C: make case where setlocale cannot comply work better.
5267 * buffer.C (updateDocLang): new function
5268 (changeLanguage): use it
5271 * text2.C (setCounter): use B_ a bit.
5273 * lyxlayout.C (Read): be sure to trim the label strings.
5275 * messages.C (Messages): fix typo in comment
5277 * buffer.C (readFile): set message_ after file is loaded.
5278 (makeDocBookFile): remove double return
5279 (changeLanguage): reset message_ upon language change.
5280 (B_): new func, use this to get translated buffer strings.
5282 * main.C: add myself and Jean Marc as authors.
5284 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5286 * messages.[hC]: pimplify Messages, and three different pimpls to be
5287 used in different circumstances.
5289 * gettext.[Ch]: change for use with new message code.
5291 2003-04-24 André Pönitz <poenitz@gmx.net>
5293 * factory.C: support for eqref
5295 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5297 * messages.[Ch]: add missing char
5299 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5301 * messages.[Ch]: New files
5303 2003-04-18 John Levon <levon@movementarian.org>
5307 * BufferView_pimpl.C:
5311 * text2.C: remove layout-copy/paste (bug 778)
5313 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5315 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5317 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5319 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5320 if they succeed. Act accordingly.
5322 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5324 * text2.C (setCharFont): adjust
5325 (setCounter): adjust
5326 (insertStringAsLines): adjust
5328 * text.C (leftMargin): adjust
5329 (setHeightOfRow): adjust
5331 * rowpainter.C (paintFirst): adjust
5334 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5336 (isFirstInSequence): ditto
5337 (getEndLabel): ditto
5340 * paragraph.C (getParLanguage): comment out some hard stuff.
5342 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5344 (simpleDocBookOnePar): ditto
5345 (makeDocBookFile): use ParagraphList::iterator
5347 * CutAndPaste.C (pasteSelection): adjust
5349 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5351 * text2.C (getFont): adjust
5352 (getLayoutFont): adjust
5353 (getLabelFont): adjust
5355 * paragraph_funcs.C (TeXOnePar): adjust
5357 * buffer.C (simpleLinuxDocOnePar): adjust
5358 (simpleDocBookOnePar): adjust
5360 * CutAndPaste.C (pasteSelection): adjust
5362 * BufferView.C (getEncoding): adjust
5364 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5366 2003-04-16 John Levon <levon@movementarian.org>
5368 * lyxfind.C: use parlist stuff for search/changes
5370 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5372 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5374 * text2.C (deleteEmptyParagraphMechanism): adjust
5376 * text2.[Ch] (ownerParagraph): delete func (both of them
5378 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5380 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5382 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5384 * ParagraphList.C: prepare for NO_NEXT
5386 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5388 * text2.C (getFont): adjust
5389 (getLayoutFont): adjust
5390 (getLabelFont): adjust
5392 * paragraph.C (getFont): adjust
5393 (getLabelFont): adjust
5394 (getLayoutFont): adjust
5396 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5398 2003-04-15 John Levon <levon@movementarian.org>
5402 * lyx_main.C: handle Include in .ui files
5404 2003-04-15 John Levon <levon@movementarian.org>
5406 * MenuBackend.C: make the doc files length shorter
5409 * ToolbarBackend.C: handle toolbar placement flags,
5412 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5414 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5417 * paragraph_funcs.C (TeXOnePar): adjust
5419 * paragraph.C (getLabelFont): add outerfont arg, adjust
5420 (getLayoutFont): ditto
5421 (simpleTeXOnePar): adjust
5423 * paragraph_pimpl.C (realizeFont): delete func
5425 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5427 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5428 row argument, constify cur argument.
5430 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5432 * text2.C (getFont): adjust
5433 (getLayoutFont): adjust
5434 (getLabelFont): adjust
5436 * paragraph_funcs.C (TeXOnePar): adjust
5437 (outerFont): new func...
5438 (realizeFont): ...moved out from here, changed this to facilitate
5441 * paragraph.C (getFont): take outerfont as arg, adjust
5442 (simpleTeXOnePar): add outerfont arg, adjust
5444 * buffer.C (simpleLinuxDocOnePar): adjust
5445 (simpleDocBookOnePar): adjust
5447 * CutAndPaste.C (pasteSelection): adjust
5449 * BufferView.C (getEncoding): adjust
5451 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5453 * text2.C (setCharFont): adjust
5454 (setCounter): adjust
5456 * text.C (leftMargin): adjust
5457 (setHeightOfRow): adjust
5459 * rowpainter.C (paintFirst): adjust
5462 * paragraph_pimpl.C (realizeFont): adjust
5464 * paragraph.C (isFirstInSequence): move from here...
5465 * paragraph_funcs.C (isFirstInSequence): ...to here
5467 * paragraph.C (outerHook): move from here...
5468 * paragraph_funcs.C (outerHook): ...to here
5470 * paragraph.C (depthHook): move from here...
5471 * paragraph_funcs.C (depthHook): ...to here
5473 * paragraph.C (getEndLabel): move from here...
5474 * paragraph_funcs.C (getEndLabel): ...to here
5476 * text2.C (realizeFont): move from here...
5477 * paragraph_funcs.C (realizeFont): ...to here
5479 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5481 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5483 2003-04-14 Angus Leeming <leeming@lyx.org>
5485 * LColor.[Ch]: scrap LColor mathcursor.
5487 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5489 * lyxlex.[Ch] (text): delete function
5490 * trans.C (Load): adjust
5491 * paragraph_funcs.C (readParToken): adjust
5493 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5495 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5496 vector<char> instead of a char[].
5498 * lyxlex_pimpl.C (getString): adjust
5500 (lex): use getString
5504 * lyxlex.C (text): use pimpl_->getString()
5508 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5510 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5511 (makeFontEntriesLayoutSpecific): temp var for par.size()
5512 (setLayout): temp var for ownerParagraphs().end()
5513 (fullRebreak): temp var for rows().end()
5514 (selectionAsString): temp var for boost::next(startpit), realize
5515 that the while really is a regular for loop.
5516 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5517 setCursor in one place.
5518 (setParagraph): temp vr for ownerParagraphs().end()
5519 (updateCounters): make the while loop a for loop
5520 (cutSelection): temp var for ownerParagraphs().end()
5521 (updateInset): make the do {} while() a regular for loop
5522 (getCursorX): use temp vars
5523 (setCurrentFont): use temp vars
5524 (getColumnNearX): use temp vars
5526 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5528 * text.C (transformChar): use temp var for getChar
5529 (computeBidiTables): use temp var for row->par()
5530 (fill): move temp vars for row->par() and pit->layout() earlier in
5532 (labelFill): use temp var for row->par()
5533 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5534 asc and desc, realize that pit never changes and that firstpit is
5535 just a duplicate and not needed. Exchange rit->par() with pit in a
5537 (breakAgain): use a temp var for boost::next(rit)
5538 (breakAgainOneRow): ditto
5539 (breakParagraph): use a temp var for rows().begin()
5540 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5541 (cursorRightOneWord): use temp var for cursor.par() and
5542 cursor.pos(), remove usage of tmpcursor.
5543 (cursorLeftOneWord): use temp var for cursor.par() and
5544 cursor.pos() only set cur at end of function.
5546 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5548 * text.C, text2.C: exchange all usage of Paragraph::next with
5549 boost::next(ParagraphList::iterator)
5551 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5553 * text2.C (cursorTop): simplify implementation
5554 (cursorBottom): ditto
5555 (setParagraph): use ParagraphList::iterator
5556 (setCurrentFont): adjust
5557 (getColumnNearX): adjust
5558 (cursorRight): adjust
5559 (cursorLeft): remove usage of Paragraph::previous
5560 (cursorUpParagraph): ditto
5561 (deleteEmptyParagraphMechanism): slight cleanup
5563 * text.C (isBoundary): take a Paragraph const & instead of a
5565 (addressBreakPoint): ditto
5566 (leftMargin): remove usage of Paragraph::previous.
5567 (setHeightOfRow): ditto
5568 (cursorLeftOneWord): ditto
5569 (selectNextWordToSpellcheck): ditto
5572 (breakParagraph): remove one usage of Paragraph::next
5573 (redoParagraph): ditto
5574 (acceptChange): ditto
5575 (insertChar): adjust
5576 (rowBreakPoint): adjust
5578 * bufferview_funcs.C (toggleAndShow): adjust
5580 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5582 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5583 methods to access it.
5585 * text.C: Added updateRowPositions to compute all row positions.
5586 Make top_y and getRowNearY() to use the cached y position
5588 2003-04-11 John Levon <levon@movementarian.org>
5590 * text.C (rowBreakPoint): reintroduce the labelEnd
5591 checks, code copied from the row fill stuff. Deep voodoo.
5593 * text.C (fill): add a comment and debugging for the
5596 2003-04-11 John Levon <levon@movementarian.org>
5598 * text.C: make sure fullrow insets get wrapped to the next line,
5599 even when they're in a manual label
5601 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5603 * text2.C (insertParagraph): make it take ParagraphList::iterator
5605 (setLayout): make it return ParagraphList::iterator
5606 (redoParagraphs): ditto
5608 (checkParagraph): ditto
5610 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5612 * text2.C: adjust several funcs.
5613 (realizeFont): take a ParagraphList::iterator as arg.
5614 (getLayoutFont): ditto
5615 (getLabelFont): ditto
5616 (setCharFont): ditto
5618 * text.C: adjust several funcs.
5620 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5622 * text.C (selectNextWordToSpellcheck): don't accidentally
5625 2003-04-10 John Levon <levon@movementarian.org>
5627 * ToolbarBackend.C (getIcon): special handling for
5630 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5632 * text2.C (cursorRight): a getChar assert fixed
5634 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5636 * text2.C (getFont): change to take a ParagraphList::iterator
5637 instead of Paragraph*
5638 Adjust several functions.
5640 * text.C (transformChar): change to take a ParagraphList::iterator
5641 instead of Paragraph*
5642 (singleWidth): ditto
5643 Adjust several functions.
5645 * rowpainter.C: adjust several functions
5646 * rowpainter.h:store a ParagraphList::iterator and not a
5650 2003-04-09 John Levon <levon@movementarian.org>
5655 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5656 and the "help" bits as well
5658 2003-04-09 John Levon <levon@movementarian.org>
5661 * ToolbarBackend.C: allow multiple toolbars
5663 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5665 * undo_funcs.C (setCursorParUndo): adjust
5667 * text_funcs.C (transposeChars): adjust
5669 * text3.C (gotoNextInset): adjust
5672 * text2.C (setLayout): adjust
5673 (changeDepth): adjust
5675 (redoParagraphs): adjust
5676 (selectionAsString): adjust
5677 (setParagraph): adjust
5678 (insertInset): adjust
5679 (cutSelection): adjust
5680 (copySelection): adjust
5681 (pasteSelection): adjust
5682 (insertStringAsLines): adjust
5683 (updateInset): adjust
5684 (setCursor): change to take a ParagraphList::iterator parameter
5685 (setCursorIntern): change to take a ParagraphList::iterator parameter
5686 (setCurrentFont): adjust
5687 (cursorLeft): adjust
5688 (cursorRight): adjust
5689 (deleteEmptyParagraphMechanism): adjust
5691 * text.C (breakParagraph): adjust
5692 (insertChar): adjust
5693 (acceptChange): adjust
5694 (rejectChange): adjust
5695 (selectNextWordToSpellcheck): adjust
5696 (changeCase): adjust
5700 * lyxfind.C (SearchForward): adjust
5701 (SearchBackward): adjust
5702 (nextChange): adjust
5704 * lyxcursor.C (par): adjust
5706 * lyxcursor.h: store a ParagraphList::iterator instead of a
5709 * lyx_cb.C (getPossibleLabel): adjust
5711 * bufferview_funcs.C (toggleAndShow): adjust
5713 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5716 * BufferView.C (removeAutoInsets): adjust
5717 (lockedInsetStoreUndo): adjust
5719 2003-04-09 John Levon <levon@movementarian.org>
5721 * ToolbarBackend.C: try icon without argument
5722 if with argument fails
5724 2003-04-08 John Levon <levon@movementarian.org>
5727 * ToolbarBackend.C: add getIcon(), handle tooltip,
5728 and change from "Icon" to "Item".
5730 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5732 * BufferView.C (lockInset): another bad getchar crunched
5734 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5736 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5739 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5741 * lyxfind.C (searchForward, searchBackwards): bug 782
5743 2003-04-07 John Levon <levon@movementarian.org>
5745 * paragraph.C: remove dead comment
5747 * text.C: remove troublesome depth-fiddling code
5748 in leftMargin() and rightMargin() (bug 1017)
5750 * text.C: fix breaking of rows in nested lists
5753 * text2.C (updateCounters): fix up depth values
5756 2003-04-07 John Levon <levon@movementarian.org>
5758 * BufferView_pimpl.C: clear message when doc finishes resizing,
5759 and after a mouse event
5761 * lyxfunc.C: clear message after exiting inset
5763 2003-04-07 John Levon <levon@movementarian.org>
5765 * bufferview_funcs.C: show math status not outside
5766 status in the statusbar
5768 2003-04-07 John Levon <levon@movementarian.org>
5770 * lyxfunc.C: note status changed after a depth change
5772 2003-04-04 Angus Leeming <leeming@lyx.org>
5774 * LaTeX.h: move AuxInfo operator==, != out of line.
5775 Remove LaTeX virtual destructor; nothing derives from it.
5776 Move operator()() out of public area and rename it startscript().
5777 Change protected for private.
5779 2003-04-04 Angus Leeming <leeming@lyx.org>
5782 * text2.C: remove unneeded #includes.
5784 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5786 * text2.C (dEPM): fix the heigth of the next row
5788 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5790 * text.C: squashed an invalid getChar requester + some ws changes
5792 2003-04-03 John Levon <levon@movementarian.org>
5794 * bufferview_funcs.h:
5795 * bufferview_funcs.C:
5798 * text2.C: make getStatus work for the env depth lfuns
5800 2003-04-03 John Levon <levon@movementarian.org>
5802 * bufferview_funcs.h:
5803 * bufferview_funcs.C:
5806 * text2.C: parlistize decDepth(), by merging it with incDepth()
5808 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5810 * lyxrow.h: store a ParagraphList::iterator instead of a
5811 Paragraph* and adjust other class functions to suit.
5813 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5816 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5818 * text2.C (setCursor): do not anchor to cursor row for the time being
5820 2003-04-02 John Levon <levon@movementarian.org>
5827 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5829 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5831 * paragraph.h: make ParagraphList and ParagraphList::iterator
5832 friends of Paragraph.
5834 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5836 * ParagraphList.C: Use the private next_ and previous_ from
5839 2003-04-01 John Levon <levon@movementarian.org>
5843 * Makefile.am: rename, remove defaults gunk
5846 * MenuBackend.C: remove defaults gunk
5849 * Languages.C: remove defaults gunk
5852 * lyx_main.C: error out if files couldn't be found.
5854 2003-04-02 John Levon <levon@movementarian.org>
5856 * text2.C: make incDepth() use parlist
5858 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5860 * undo_funcs.C (firstUndoParagraph): adjust
5862 * text3.C (gotoInset): adjust
5863 (dispatch): adjust, and rewrite loop.
5865 * text2.C (init): adjust, and rewrite loop.
5866 (redoParagraphs): adjust
5867 (updateInset): adjust, and rewrite loop.
5868 (deleteEmptyParagraphMechanism): adjust
5870 * tabular.C (LyXTabular): adjust
5871 (SetMultiColumn): adjust
5874 * lyxtext.[Ch] (ownerParagraph): delete function
5875 (ownerParagraphs): new function returns a ParagraphList.
5877 * BufferView.C (removeAutoInsets): adjust
5878 (insertErrors): adjust
5879 (setCursorFromRow): adjust
5881 2003-04-01 Angus Leeming <leeming@lyx.org>
5883 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5886 2003-04-02 John Levon <levon@movementarian.org>
5892 * text_funcs.C: make transposeChars a free function
5894 * lyxrow_funcs.C: remove wrong comment
5896 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5899 * rowpainter.C: adjust
5904 * lyxrow_funcs. [Ch]: new files
5906 * lyxrow.[Ch]: remove next and previous pointers
5907 (next,previous): remove accessor functions
5908 (isParEnd): move to lyxrow_funcs
5909 (lastPos): move to lyxrow_funcs
5910 (nextRowIsAllInset): move to lyxrow_funcs
5911 (lastPrintablePos): move to lyxrow_funcs
5912 (numberOfSeparators): move to lyxrow_funcs
5913 (numberOfHfills): move to lyxrow_funcs
5914 (numberOfLabelHfills): move to lyxrow_funcs
5915 (hfillExpansion): move to lyxrow_funcs
5919 * bufferview_funcs.C (toggleAndShow): adjust
5921 * RowList.h: Remove class RowList from file leave just a
5924 * RowList.C: delete file
5926 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5929 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5931 * text3.C (cursorPrevious): adjust
5932 (cursorNext): adjust
5935 * text2.C (redoHeightOfParagraph): adjust
5936 (redoDrawingOfParagraph): adjust
5939 * text.C (breakParagraph): adjust
5940 (insertChar): adjust
5943 * rowpainter.C (RowPainter): adjust
5944 (leftMargin): simplify and adjust
5945 (most rowpainter functions): adjust.
5947 * rowpainter.h: store the row as RowList::iterator not as Row*
5949 * lyxcursor.C (row): taka RowList::iterator as arg
5952 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5955 2003-04-01 Angus Leeming <leeming@lyx.org>
5957 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5958 stuff like bool Bool.
5960 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5962 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5965 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5967 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5970 * lyxtext.h (rows): drop one version and leve a const variant that
5971 returns a RowList::iterator.
5973 2003-03-31 Angus Leeming <leeming@lyx.org>
5975 * text.C (fill): ensure that the signature is the same as that in the
5978 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5980 * text2.C (redoParagraphs): adjust
5981 (updateCounters): adjust
5982 (checkParagraph): adjust
5983 (getColumnNearX): adjust and reformat a bit.
5985 * text.C (top_y): adjust
5987 (leftMargin): adjust
5988 (prepareToPrint): adjust
5990 (getRowNearY): adjust
5992 * lyxtext.h: make rowlist_ mutable.
5994 * RowList.h: add const_iterator
5995 * RowList.C: adjust for RowList::const_iterator.
5997 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6000 2003-03-31 John Levon <levon@movementarian.org>
6003 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6005 * lyx_main.C: set default fonts from using lyx_gui funcs
6007 * exporter.C: pdf_mode moved from lyxrc
6010 * lyxfunc.C: changes from above
6012 2003-03-31 John Levon <levon@movementarian.org>
6014 * lyx_main.C: fix to the last fix
6016 2003-03-31 John Levon <levon@movementarian.org>
6018 * bufferlist.C: "Load original" -> "Load Original"
6024 * format.C: more Alert cleanups
6026 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6028 * text2.C (removeParagraph): make it take a RowList::iterator as
6030 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6031 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6033 * text.C (anchor_row): make it take a RowList::iterator as arg,
6035 (computeBidiTables): make it take a const reference to Row instead
6036 of Row pointer, adjust.
6037 (leftMargin): make it take a RowList::iterator as arg, adjust.
6038 (rowBreakPoint): adjust
6039 (breakAgainOneRow): make it take a RowList::iterator as arg,
6041 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6043 * bufferview_funcs.C (toggleAndShow): adjust
6045 2003-03-30 John Levon <levon@movementarian.org>
6049 * boost-inst.C: moved to support
6051 * several files: changes as a result
6053 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6055 * text2.C (LyXText): adjust.
6057 (removeRow): make it take a RowList::iterator as arg, adjust.
6058 (fullRebreak): adjust
6059 (deleteEmptyParagraphMechanism): adjust
6060 (clearPaint): adjust
6063 * text.C (top_y): adjust
6064 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6065 (breakAgain): make it take a RowList::iterator as arg, adjust.
6066 (breakParagraph): adjust
6067 (insertChar): adjust
6070 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6071 need_break_row, and refresh_row.
6073 * text3.C (dispatch): adjust
6075 * text2.C (checkParagraph): adjust
6077 (setCursorFromCoordinates): adjust
6079 * text.C (top_y): adjust
6081 (getRow): make it return a RowList::iterator, adjust
6082 (getRowNearY): make it return a RowList::iterator, adjust
6084 * text2.C (init): adjust
6085 (insertRow): remove function
6086 (insertParagraph): adjust
6087 (redoParagraphs): adjust
6088 (fullRebreak): adjust
6089 (updateCounters): adjust
6091 * text.C (top_y): rewrite to use RowList iterators.
6093 (setHeightOfRow): rewrite to sue RowList iterators.
6094 (appendParagraph): adjust
6095 (breakAgain): adjust
6096 (breakAgainOneRow): adjust
6097 (breakParagraph): adjust
6099 (getRowNearY): adjust, and remove commented code.
6101 * lyxtext.h (firstRow): delete function
6102 (lastRow): delete function
6103 (rows): new function (const and non-const versions.)
6104 (insertRow): delete function
6106 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6108 2003-03-29 John Levon <levon@movementarian.org>
6110 * BufferView_pimpl.C: always update scrollbar top
6111 because pasting text when we're anchored could mean we
6112 miss an update altogether
6114 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6116 * text2.C (init): use rowlist_.end() and not 0.
6117 (insertRow): change to take a RowList::iterator as arg, adjust
6119 (insertParagraph): change to take a RowList::iterator as arg,
6121 (redoParagraphs): remove some debug msgs.
6123 * text.C (appendParagraph): change to take a RowList::iterator
6124 arg, adjust for this.
6125 (breakAgain): add an assert
6126 (breakAgainOneRow): ditto
6128 2003-03-29 John Levon <levon@movementarian.org>
6130 * text2.C: do not clear selection after inc/decDepth
6133 2003-03-29 John Levon <levon@movementarian.org>
6136 * buffer.C: fix broken strerrors according to Lars
6138 2003-03-29 John Levon <levon@movementarian.org>
6140 * converters.C: more Alert cleanups
6142 2003-03-29 John Levon <levon@movementarian.org>
6144 * bufferview_funcs.C: remove pointless Alert
6146 * buffer.C: fix confusing error message when
6147 a template is chmoded 000
6149 2003-03-29 John Levon <levon@movementarian.org>
6153 * BufferView_pimpl.C: Alert fixes
6157 * tabular-old.C: remove unused table compat reading
6159 2003-03-29 John Levon <levon@movementarian.org>
6164 * lyx_cb.C: more Alert cleanups
6166 * lyxfunc.C: don't allow chktex if not latex document
6168 2003-03-29 John Levon <levon@movementarian.org>
6172 * buffer.C: warnings pushed down from support/,
6175 2003-03-29 John Levon <levon@movementarian.org>
6177 * lyxfunc.C: safety check for C-r (revert)
6179 2003-03-29 John Levon <levon@movementarian.org>
6182 * bufferlist.C: several UI fixes using Alert::prompt.
6183 Fix the pointless looping quit code. Fix stupid revert
6188 * lyx_cb.C: use Alert::prompt
6190 * lyx_main.C: remove a silly question
6192 * lyxfunc.C: remove a couple of silly questions,
6195 2003-03-28 John Levon <levon@movementarian.org>
6197 * text2.C: fix bug 974 (End on empty par)
6199 2003-03-28 John Levon <levon@movementarian.org>
6201 * BufferView_pimpl.C:
6203 * lfuns.h: remove do-nothing math greek lfuns
6205 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6207 * lyxgluelength.h (isValidGlueLength): add default arg on
6208 parameter 2. Remove default arg from friend in class.
6210 * lyxlength.h (isValidLength): add default arg on parameter 2.
6211 Remove default arg from friend in class.
6213 * text2.C (LyXText): adjust, initialize refresh_row.
6217 (insertParagraph): adjst
6218 (redoParagraphs): adjust
6219 (fullRebreak): adjust
6220 (updateCounters): adjust
6221 (deleteEmptyParagraphMechanism): first attempt at fixing a
6224 * text.C (top_y): adjust
6225 (setHeightOfRow): adjust
6227 (getRowNearY): adjust
6229 * lyxtext.h: include RowList.h
6230 (~LyXText): not needed anymore, deleted.
6231 (firstRow): modify for RowList
6232 (lastRow): new function
6233 Delete firstrow and lastrow class variables, add a Rowlist
6234 rowlist_ class variable.
6236 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6239 * RowList.C (insert): fix case where it == begin().
6241 2003-03-26 Angus Leeming <leeming@lyx.org>
6243 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6244 the thesaurus dialog.
6246 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6248 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6250 * RowList.[Ch]: new files
6252 * ParagraphList.C (erase): handle the case where it == begin
6255 2003-03-25 John Levon <levon@movementarian.org>
6259 * aspell.C: add new aspell support
6262 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6265 2003-03-25 Angus Leeming <leeming@lyx.org>
6268 * LyXAction.C (init): new LFUN_INSET_INSERT.
6270 * BufferView_pimpl.C (dispatch): split out part of the
6271 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6273 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6276 2003-03-25 Angus Leeming <leeming@lyx.org>
6278 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6280 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6283 * text3.C: remove useless row->height(0)
6285 2003-03-25 John Levon <levon@movementarian.org>
6289 * text3.C: rename the refreshing stuff to better names
6291 2003-03-24 John Levon <levon@movementarian.org>
6293 * BufferView_pimpl.h:
6294 * BufferView_pimpl.C: update layout choice on a mouse
6297 2003-03-23 John Levon <levon@movementarian.org>
6299 * Makefile.am: fix commandtags.h reference
6301 2003-03-22 John Levon <levon@movementarian.org>
6303 * BufferView_pimpl.C:
6308 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6310 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6313 * text.C: take the rtl methods out of line
6315 2003-03-21 André Pönitz <poenitz@gmx.net>
6317 * metricsinfo.[Ch]: new files containing structures to be passed around
6318 during the two-phase-drawing...
6320 2003-03-21 André Pönitz <poenitz@gmx.net>
6322 * lyxtextclass.C: read 'environment' tag.
6324 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6326 * text2.C (removeRow): fix bug 964
6328 2003-03-20 John Levon <levon@movementarian.org>
6332 * text2.C: paint cleanups. Inset::update() dropped font
6335 2003-03-19 John Levon <levon@movementarian.org>
6337 * lyxfunc.C: only fitcursor/markDirty if available()
6339 2003-03-19 John Levon <levon@movementarian.org>
6341 * commandtags.h: rename to ...
6343 * lfuns.h: ... this, and renumber / cleanup
6345 2003-03-19 John Levon <levon@movementarian.org>
6347 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6348 fit the cursor after an lfun
6352 * BufferView_pimpl.h:
6353 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6355 * LyXAction.C: layout-character should have ReadOnly
6357 * ParagraphParameters.C:
6359 * bufferview_funcs.C:
6366 * undo_funcs.C: changes from above
6368 2003-03-18 John Levon <levon@movementarian.org>
6370 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6371 remove it from update()
6373 * lyxfunc.C: update layout choice after an lfun
6375 * text3.C: remove extra updateLayoutChoice()s
6377 2003-03-18 John Levon <levon@movementarian.org>
6379 * text.C: top_y change means full repaint, fix
6380 a drawing bug with cursor movement
6382 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6386 * text2.C: anchor row on setCursor
6388 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6390 * lyxtext.h: remove almost all mutable keywords
6393 * text3.C: remove const keywords accordingly
6395 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6397 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6399 (TeXEnvironment): ditto
6402 2003-03-17 John Levon <levon@movementarian.org>
6404 * text.C (rowBreakPoint): remove attempt to fix displayed
6405 math insets inside a manual label
6407 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6409 * lyxtext.h: remove BufferView* as first arg from almost all class
6411 * other files: adjust.
6413 2003-03-17 John Levon <levon@movementarian.org>
6417 * text2.C: more paint cleanups
6419 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6422 * rowpainter.C: remove "smart" background painting code
6424 2003-03-16 John Levon <levon@movementarian.org>
6429 * text3.C: add helper functions for setting refresh_row/y
6431 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6433 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6434 newline inset which *can* get inserted in the pass_thru layouts.
6435 This is primarily for literate documents.
6437 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6439 * buffer.C: increment LYX_FORMAT to 223
6441 2003-03-14 André Pönitz <poenitz@gmx.net>
6443 * textclass.h: prepare for environment handling, ws changes
6444 * lyxlayout.C: read latexheader and latexfooter tags
6446 2003-03-14 John Levon <levon@movementarian.org>
6448 * text2.C: rewrite ::status() a bit
6450 2003-03-13 John Levon <levon@movementarian.org>
6452 * lyxtext.h: add some docs
6454 2003-03-13 John Levon <levon@movementarian.org>
6459 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6461 2003-03-13 John Levon <levon@movementarian.org>
6463 * text3.C: fix appendix redrawing
6465 2003-03-13 John Levon <levon@movementarian.org>
6467 * text.C (setHeightOfRow):
6469 * rowpainter.C: make appendix mark have the text
6470 "Appendix" so the user knows what it is
6473 * LColor.C: s/appendixline/appendix/ from above
6475 2003-03-13 John Levon <levon@movementarian.org>
6477 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6479 * text.C: fix a getChar(pos) bug properly
6481 2003-03-13 Angus Leeming <leeming@lyx.org>
6484 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6485 Probably only temporary. Let's see how things pan out.
6487 * BufferView.C (unlockInset):
6488 * BufferView_pimpl.C (fitCursor):
6489 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6491 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6492 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6494 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6495 new functions that convert ParagraphParameters to and from a string.
6497 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6498 BufferView::Pimpl's dispatch.
6499 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6501 2003-03-13 André Pönitz <poenitz@gmx.net>
6505 * factory.C: make it aware of InsetEnv
6507 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6509 * text2.C (setCursor): never ask for one past last
6510 (setCursor): add some debugging messages.
6512 * text.C (singleWidth): never ask for one past last
6513 (singleWidth): ditto
6515 (rightMargin): ditto
6516 (rowBreakPoint): ditto
6517 (setHeightOfRow): ditto
6518 (prepareToPrint): ditto
6520 * rowpainter.C (paintBackground): never ask for one past last
6521 (paintText): never ask for one past last
6523 * paragraph_pimpl.C (getChar): make the assert stricter, never
6524 allow the one past last pos to be taken
6526 * paragraph.C (getChar): ws changes only
6528 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6529 (numberOfSeparators): ditto
6530 (numberOfHfills): ditto
6532 2003-03-12 John Levon <levon@movementarian.org>
6538 * paragraph_funcs.C: fix per-buffer authorlists
6540 2003-03-12 John Levon <levon@movementarian.org>
6542 * text.C: fix newline in right address
6544 2003-03-12 Angus Leeming <leeming@lyx.org>
6546 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6547 duplicate those in LyXFunc::dispatch.
6551 * ToolbarDefaults.C:
6552 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6553 Add LFUN_FONTFREE_UPDATE.
6555 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6556 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6558 * bufferview_func.[Ch]: several new functions to facilliate
6559 transfer of data to and from the character dialog.
6561 2003-03-12 John Levon <levon@movementarian.org>
6566 * paragraph_funcs.C:
6567 * paragraph_pimpl.C:
6571 * text3.C: remove META_NEWLINE in favour of an inset
6574 * rowpainter.C: remove paintNewline (done by inset)
6576 2003-03-12 John Levon <levon@movementarian.org>
6578 * paragraph_pimpl.C: complain about bad getChar()s
6579 for a while at least
6581 2003-03-12 John Levon <levon@movementarian.org>
6584 * buffer.C: move paragraph read into a separate function,
6585 a little renaming to reflect that.
6588 * bufferparams.C: remove the author_ids map, not necessary now
6591 * factory.C: moved Buffer::readInset to here
6593 * paragraph_funcs.h:
6594 * paragraph_funcs.C: readParagraph free function moved from
6597 * tabular.C: name change
6599 2003-03-12 John Levon <levon@movementarian.org>
6602 * ParagraphParameters.C: move par params input to
6605 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6606 behave like a normal read from the stream wrt reading
6607 a line vs. a \\token
6609 2003-03-12 John Levon <levon@movementarian.org>
6612 * ParagraphParameters.h:
6613 * ParagraphParameters.C: move output code to a
6616 2003-03-12 John Levon <levon@movementarian.org>
6618 * BufferView.C (insertLyXFile):
6621 * tabular.C: use a parlist iterator for creating the
6624 2003-03-12 John Levon <levon@movementarian.org>
6626 * buffer.C: make current_change static local not
6629 2003-03-12 John Levon <levon@movementarian.org>
6631 * buffer.C: fix insertStringAsLines for change tracking
6633 2003-03-12 John Levon <levon@movementarian.org>
6640 * bufferparams.C: move author list into params. Rename some
6641 functions. Move the header reading into a separate token
6642 loop. Move the header token reading into BufferParams.
6644 2003-03-12 John Levon <levon@movementarian.org>
6646 * changes.C: put debug inside lyxerr.debugging() checks
6648 2003-03-11 André Pönitz <poenitz@gmx.net>
6650 * factory.C: make it aware of InsetHFill
6652 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6654 * buffer.C (latexParagraphs): move function from here...
6655 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6658 2003-03-10 Angus Leeming <leeming@lyx.org>
6660 * LyXAction.C (init): fix bug in poplating array with multiple entries
6661 with the same LFUN (spotted by JMarc).
6663 2003-03-10 John Levon <levon@movementarian.org>
6666 * text2.C: move getColumnNearX() near its
6669 2003-03-10 John Levon <levon@movementarian.org>
6671 * text.C: fix break before a minipage
6673 2003-03-10 John Levon <levon@movementarian.org>
6675 * text.C: fix the last commit
6677 2003-03-09 John Levon <levon@movementarian.org>
6681 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6682 bug 365 (don't break before insets unless needed). Don't
6683 return a value > last under any circumstances.
6685 2003-03-09 Angus Leeming <leeming@lyx.org>
6687 * BufferView_pimpl.C (trackChanges, dispatch): call
6688 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6690 2003-03-09 Angus Leeming <leeming@lyx.org>
6692 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6693 than Dialogs::showAboutlyx().
6695 2003-03-09 Angus Leeming <leeming@lyx.org>
6697 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6698 than Dialogs::showTabularCreate().
6700 2003-03-09 John Levon <levon@movementarian.org>
6704 * text2.C: 3rd arg to nextBreakPoint was always the same.
6707 2003-03-08 John Levon <levon@movementarian.org>
6714 * text2.C: Remove the "main" bit from the "main body"
6717 2003-03-08 John Levon <levon@movementarian.org>
6719 * text.C (leftMargin): The left margin of an empty
6720 manual label paragraph should not include the label width
6723 * text.C (prepareToPrint): don't attempt to measure hfills
6724 for empty manual label paragraphs - the answer should be 0
6726 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6728 * CutAndPaste.C: remove commented code and reindent.
6730 2003-03-08 John Levon <levon@movementarian.org>
6733 * lyxfunc.C: move reloadBuffer()
6736 * BufferView.C: to here
6738 * lyxvc.C: add comment
6741 * vc-backend.C: call bv->reload() to avoid
6742 getStatus() check on MENURELOAD
6744 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6746 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6747 to an old format .dep file.
6749 2003-03-07 Angus Leeming <leeming@lyx.org>
6751 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6752 when the LFUN_MOUSE_RELEASE should have been handled by
6753 inset->localDispatch.
6755 2003-03-07 Angus Leeming <leeming@lyx.org>
6757 * BufferView_pimpl.C (dispatch):
6758 * LyXAction.C (init):
6759 * ToolbarDefaults.C (init):
6761 * lyxfunc.C (getStatus):
6762 remove LFUN_INSET_GRAPHICS.
6764 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6766 2003-03-07 Angus Leeming <leeming@lyx.org>
6769 * LyXAction.C (init):
6770 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6772 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6775 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6777 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6778 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6780 2003-03-07 Angus Leeming <leeming@lyx.org>
6782 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6785 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6787 * ParagraphList.C (front): new function
6790 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6792 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6793 and top_row_offset_. removed var first_y.
6795 * text2.C (LyXText, removeRow):
6797 * BufferView_pimpl.C:
6798 use these methods instead of using first_y
6800 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6802 * text2.C (pasteSelection): adjust for checkPastePossible
6804 * CutAndPaste.C: remove Paragraph * buf and replace with
6805 ParagraphList paragraphs.
6806 (DeleteBuffer): delete
6807 (cutSelection): change the tc type to textclass_type
6808 (copySelection): change the tc type to textclass_type
6809 (copySelection): adjust for ParagraphList
6810 (pasteSelection): change the tc type to textclass_type
6811 (pasteSelection): adjust for Paragraphlist
6812 (nrOfParagraphs): simplify for ParagraphList
6813 (checkPastePossible): simplify for ParagraphList
6814 (checkPastePossible): remove unused arg
6816 * ParagraphList.C (insert): handle the case where there are no
6819 * CutAndPaste.h: make CutAndPaste a namespace.
6821 * text3.C (dispatch): adjust
6823 * text.C (breakParagraph): add a ParagraphList as arg
6825 * paragraph_funcs.C (breakParagraph): change to take a
6826 BufferParams and a ParagraphList as args.
6827 (breakParagraphConservative): ditto
6828 (mergeParagraph): ditto
6829 (TeXDeeper): add a ParagraphList arg
6830 (TeXEnvironment): ditto
6833 * buffer.C (readLyXformat2): adjust
6834 (insertStringAsLines): adjust
6835 (latexParagraphs): adjust
6837 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6838 (cutSelection): adjust
6839 (pasteSelection): adjust
6841 * BufferView_pimpl.C (insertInset): adjust
6843 2003-03-05 Angus Leeming <leeming@lyx.org>
6846 * LyXAction.C (init):
6847 * BufferView_pimpl.C (dispatch):
6848 * lyxfunc.C (getStatus):
6849 remove LFUN_CHILD_INSERT.
6851 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6853 2003-03-05 Angus Leeming <leeming@lyx.org>
6856 * LyXAction.C (init):
6857 * src/factory.C (createInset):
6858 * lyxfunc.C (getStatus):
6859 * text3.C (dispatch):
6860 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6862 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6864 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6866 * ParagraphList.C (insert): handle insert right before end()
6867 (erase): fix cases where it can be first or last paragraph.
6869 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6871 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6872 Paragraph::next and Paragraph::previous
6875 * text.C (breakParagraph): adjust
6877 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6878 BufferParams& as arg.
6879 (breakParagraph): use ParagraphList::insert
6880 (breakParagraphConservative): take a Buffer* instead of a
6881 BufferParams& as arg.
6882 (breakParagraphConservative): use ParagraphList::insert.
6884 * buffer.C (insertStringAsLines): un-const it
6885 (insertStringAsLines): adjust
6887 * ParagraphList.C (insert): new function
6889 * CutAndPaste.C (pasteSelection): adjust
6891 * text.C (backspace): adjust
6893 * tabular.C (SetMultiColumn): adjust
6895 * CutAndPaste.C (cutSelection): adjust
6896 (pasteSelection): adjust
6898 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6899 Buffer const * as arg
6901 * ParagraphList.C (erase): new function
6902 * paragraph_funcs.C (mergeParagraph): use it
6903 (mergeParagraph): make it take a Buffer* instead of a
6904 BufferParams* as arg
6906 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6908 (breakParagraphConservative): ditto
6910 * paragraph.h: remove the breakParagraph friend
6912 * paragraph.C (eraseIntern): new function
6913 (setChange): new function
6915 * paragraph_funcs.C (mergeParagraph): make it take a
6916 ParagraphList::iterator instead of a Paragraph *, adjust
6919 * paragraph.h: move an #endif so that the change tracking stuff
6920 also works in the NO_NEXT case.
6922 2003-03-04 Angus Leeming <leeming@lyx.org>
6925 * LyXAction.C: new LFUN_INSET_MODIFY.
6927 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6928 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6930 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6932 * several files: ws changes only
6934 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6935 (TeXEnvironment): ditto
6938 * buffer.C (makeLaTeXFile): adjust
6939 (latexParagraphs): make it take ParagraphList::iterator as args
6941 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6943 * buffer.C (latexParagraphs): adjust
6945 * paragraph.C (TeXOnePar): move function...
6946 (optArgInset): move function...
6947 (TeXEnvironment): move function...
6948 * paragraph_pimpl.C (TeXDeeper): move function...
6949 * paragraph_funcs.C: ...here
6951 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6953 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6955 * buffer.C (readInset): remove compability code for old Figure and
6958 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6960 * buffer.C: ws changes
6963 * BufferView_pimpl.C: ditto
6966 * bufferlist.h: ditto
6970 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6972 * converter.[Ch]: split into itself +
6975 * Makefile.am: += graph.[Ch] + format.[Ch]
6982 * lyxrc.C: added #include "format.h"
6984 2003-02-27 Angus Leeming <leeming@lyx.org>
6986 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6989 * factory.C (createInset): add "label" to the factory.
6991 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6992 string and do no more.
6994 2003-02-27 Angus Leeming <leeming@lyx.org>
6997 * LyXAction.C (init):
6998 * factory.C (createInset):
6999 * BufferView_pimpl.C (dispatch):
7000 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7002 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7004 * lyxfunc.C (dispatch):
7005 * text3.C (dispatch): pass name to params2string.
7007 2003-02-26 Angus Leeming <leeming@lyx.org>
7009 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7011 Rearrange the ~includes. Strip out the unnecessary ones.
7013 * factory.C (createInset): reformat.
7014 create new insets for the various LFUN_XYZ_APPLY lfuns.
7016 2003-02-26 John Levon <levon@movementarian.org>
7019 * lyxrow.C: add isParStart,isParEnd helpers
7021 * paragraph.h: make isInserted/DeletedText take refs
7023 * paragraph_funcs.h:
7024 * paragraph_funcs.C: remove #if 0'd code
7029 * text.C: use lyxrow helpers above.
7030 Move draw and paint routines to RowPainter.
7031 Make several methods use refs not pointers.
7032 Make backgroundColor() const.
7033 Add markChangeInDraw(), isInInset().
7034 Merge changeRegionCase into changeCase.
7035 Make workWidth() shouldn't-happen code into an Assert.
7038 * rowpainter.C: new class for painting a row.
7041 * vspace.C: make inPixels take a ref
7043 2003-02-26 Angus Leeming <leeming@lyx.org>
7045 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7048 2003-02-25 John Levon <levon@movementarian.org>
7050 * ispell.C: give the forked command a more accurate name
7052 2003-02-22 John Levon <levon@movementarian.org>
7055 * toc.C: make TocItem store an id not a Paragraph *
7058 2003-02-21 Angus Leeming <leeming@lyx.org>
7060 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7061 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7062 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7063 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7064 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7065 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7067 * BufferView_pimpl.C (dispatch):
7068 * LyXAction.C (init):
7069 * factory.C (createInset):
7070 * lyxfunc.C (getStatus, dispatch):
7071 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7073 2003-02-21 Angus Leeming <leeming@lyx.org>
7075 * BufferView_pimpl.C (MenuInsertLyXFile):
7076 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7077 * lyxfunc.C (menuNew, open, doImport):
7078 no longer pass a LyXView & to fileDlg.
7080 2003-02-21 Angus Leeming <leeming@lyx.org>
7082 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7083 * LyXAction.C: change, BIBKEY to BIBITEM.
7084 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7085 Change InsetBibKey to InsetBibitem.
7086 Change BIBKEY_CODE to BIBITEM_CODE.
7087 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7088 * factory.C: replace insetbib.h with insetbibitem.h.
7089 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7090 * paragraph.C: replace insetbib.h with insetbibitem.h.
7091 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7092 Change bibkey() to bibitem().
7093 * text.C: remove insetbib.h.
7094 * text2.C: replace insetbib.h with insetbibitem.h.
7095 change bibkey() to bibitem().
7096 * text3.C: remove insetbib.h.
7097 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7099 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7101 * lyxrc.C (output): enclose user email in quotes (in case there are
7104 2003-02-18 John Levon <levon@movementarian.org>
7106 * buffer.h: add std::
7108 2003-02-17 John Levon <levon@movementarian.org>
7114 * pspell.C: reworking. Especially in ispell, a large
7115 number of clean ups and bug fixes.
7117 * lyxfunc.C: fix revert to behave sensibly
7119 2003-02-17 André Pönitz <poenitz@gmx.net>
7122 * commandtags.h: new LFUN_INSERT_BIBKEY
7132 * paragraph_func.C: remove special bibkey handling
7134 2003-02-17 John Levon <levon@movementarian.org>
7136 * text.C (Delete): fix case where delete at the end of
7137 the very first paragraph would not merge the pars
7139 2003-02-17 John Levon <levon@movementarian.org>
7141 * lyxrow.C: fix lastPrintablePos()
7143 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7145 * bufferparams.C (writeLaTeX): add a std:here
7147 * buffer.C: and remove a using directive there
7149 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7151 * buffer.C (makeLaTeXFile): move the code that generates the
7154 * bufferparams.C (writeLaTeX): ... in this new method
7156 * LaTeXFeatures.C (getEncodingSet): make const
7157 (getLanguages): make const
7159 * MenuBackend.C (binding): returns the binding associated to this
7161 (add): sets the status of each item by calling getStatus. Adds
7163 (read): add support for OptSubMenu
7164 (expand): remove extra separator at the end of expanded menu
7166 2003-02-15 John Levon <levon@movementarian.org>
7169 * BufferView_pimpl.C:
7171 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7172 inset code that had no actual effect. Remove unneeded status
7175 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7177 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7180 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7182 * text.C (drawLengthMarker): also draw an arrow marker for
7183 symbolic lengths (medskip...)
7185 2003-02-14 John Levon <levon@movementarian.org>
7188 * tabular.C: better method names
7190 2003-02-14 John Levon <levon@movementarian.org>
7192 * BufferView_pimpl.C:
7197 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7198 it's a more accurate name. Remove some pointless uses.
7200 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7202 * text2.C (LyXText): change order of initilizers to shut off
7205 2003-02-14 John Levon <levon@movementarian.org>
7207 * buffer.C: use ParIterator for getParFromID()
7211 * paragraph_pimpl.h:
7212 * paragraph_pimpl.C: remove unused getParFromID()
7214 2003-02-14 John Levon <levon@movementarian.org>
7216 * buffer.C: remove some very old #if 0'd parse code
7218 2003-02-13 John Levon <levon@movementarian.org>
7222 * text2.C: move hfillExpansion(), numberOfSeparators(),
7223 rowLast(), rowLastPrintable(), numberofHfills(),
7224 numberOfLabelHfills() ...
7227 * lyxrow.C: ... to member functions here.
7232 * text.C: remove LyXText::beginningOfMainBody(), and call
7233 p->beginningOfMainBody() directly. Move the check for
7234 LABEL_MANUAL into the latter.
7241 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7247 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7248 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7250 2003-02-13 John Levon <levon@movementarian.org>
7252 * CutAndPaste.C: remove debug
7254 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7256 * paragraph.C (asString): remove two unused variables
7258 * lyxtextclass.C (readTitleType):
7260 (LyXTextClass): handle new members titletype_ and titlename_
7262 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7264 2003-02-09 John Levon <levon@movementarian.org>
7267 * buffer.C: replace hand-coded list with a map for the dep clean
7269 2003-02-08 John Levon <levon@movementarian.org>
7271 * LaTeX.C: consolidate code into showRunMessage() helper
7273 2003-02-08 John Levon <levon@movementarian.org>
7278 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7279 and pass the size in explicitly
7281 * BufferView_pimpl.h:
7282 * BufferView_pimpl.C:
7284 * BufferView.C: add getCurrentChange()
7286 * BufferView_pimpl.h:
7287 * BufferView_pimpl.C: handle change lfuns
7289 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7290 for changes. Mark pasted paragraphs as new.
7292 * support/lyxtime.h:
7293 * support/lyxtime.C:
7294 * DepTable.C: abstract time_t as lyx::time_type
7297 * LColor.C: add colours for new text, deleted text, changebars
7299 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7300 package use "usenames" option.
7304 * LyXAction.C: add change lfuns
7308 * author.C: author handling
7311 * buffer.C: add a per-buffer author list, with first entry as
7312 current author. Handle new .lyx tokens for change tracking. Output
7313 author list to .lyx file. Output dvipost stuff to .tex preamble.
7314 Bump lyx format to 222.
7317 * bufferlist.C: add setCurrentAuthor() to reset current author details
7321 * bufferparams.C: add param for tracking
7323 * bufferview_funcs.C: output change info in minibuffer
7327 * changes.C: add change-tracking structure
7330 * debug.C: add CHANGES debug flag
7333 * lyxfind.C: add code for finding the next change piece
7336 * lyxrc.C: add user_name and user_email
7339 * lyxrow.C: add a metric for the top of the text line
7342 * text.C: implement accept/rejectChange()
7345 * text.C: paint changebars. Paint new/deleted text in the chosen
7346 colours. Strike through deleted text.
7350 * paragraph_pimpl.h:
7351 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7352 in the current change to the insert functions. Rework erase to
7353 mark text as deleted, adding an eraseIntern() and a range-based
7354 erase(). Implement per-paragraph change lookup and
7357 * paragraph_funcs.C: Fixup paste for change tracking.
7359 * tabular.C: mark added row/columns as new.
7361 * text.C: fix rowLast() to never return -1. Don't allow
7362 spellchecking of deleted text. Track transpose changes. Don't
7363 allow paragraph break or merge where appropriate.
7365 * text2.C: leave cursor at end of selection after a cut.
7367 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7369 * text.C (getLengthMarkerHeight):
7370 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7371 visible on screen too.
7373 2003-02-07 John Levon <levon@movementarian.org>
7375 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7377 2003-02-05 Angus Leeming <leeming@lyx.org>
7379 * lyxserver.C (read_ready): revert my patch of 11 September last year
7380 as it sends PC cpu through the roof. Presumably this means that
7381 the lyxserver will no longer run on an Alpha...
7383 2003-01-30 Angus Leeming <leeming@lyx.org>
7385 * factory.C (createInset): create an InsetCommandParam of type "index"
7386 and use it to 'do the right thing'.
7388 * text2.C (getStringToIndex): ensure that cursor position is always
7389 reset to the reset_cursor position.
7391 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7393 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7396 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7400 * lyxfunc.C: Output messages with identical spelling, punctuation,
7403 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7405 * MenuBackend.C (expandFormats): List only viewable export formats
7408 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7411 * lyxfunc.C (getStatus): Make sure that formats other than
7412 "fax" can also be disabled
7414 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7416 * text3.C (dispatch): put the lfuns that insert insets in 3
7417 groups, and call doInsertInset with appropriate arguments.
7418 (doInsertInset): new function, that creates an inset and inserts
7419 it according to some boolean parameters.
7421 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7423 * buffer.C (readFile): remember to pass on 'par' when calling
7424 readFile recursively.
7426 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7428 * MenuBackend.C (expandFormats): add "..." to import formats.
7430 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7432 * paragraph.C (asString): Remove XForms RTL hacks.
7434 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7435 * buffer.C: fix typo
7437 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7439 * Makefile.am (LIBS): delete var
7440 (lyx_LDADD): add @LIBS@ here instead.
7442 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7444 * Clarify the meaning of "wheel mouse jump"
7446 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7448 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7451 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7453 * importer.C (Loaders): do not preallocate 3 elements in the
7454 vector, since one ends up with 6 elements otherwise
7456 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7458 * DepTable.C (write): write the file name as last element of the
7459 .dep file (because it may contain spaces)
7460 (read): read info in the right order
7462 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7464 * paragraph_pimpl.C (simpleTeXBlanks):
7465 (simpleTeXSpecialChars):
7466 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7468 * tabular.C (latex): add some missing case statements. Reindent.
7470 * MenuBackend.C (expandToc): remove unused variable.
7472 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7481 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7484 2003-01-05 John Levon <levon@movementarian.org>
7487 * BufferView.C: add getEncoding()
7490 * kbsequence.C: do not store last keypress
7493 * lyxfunc.C: store last keypress here instead. Pass encoding
7496 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7498 * lyx_main.C (init): remove annoying error message when following
7499 symbolic links (bug #780)
7501 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7503 * text.C (insertChar):
7504 * lyxrc.C (getDescription): remove extra spaces
7506 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7508 * lyxrc.C (getDescription): remove extra spaces
7510 2002-12-20 John Levon <levon@movementarian.org>
7512 * text3.C: hack fix for page up/down across tall rows
7514 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7516 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7519 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7521 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7522 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7523 thesaurus is not compiled in
7525 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7527 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7529 2002-12-16 Angus Leeming <leeming@lyx.org>
7532 * lyx_main.C (init): remove override_x_deadkeys stuff.
7534 2002-12-12 John Levon <levon@movementarian.org>
7536 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7537 insert. Only remove shift modifier under strict
7540 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7542 * MenuBackend.C (expandToc): fix crash.
7544 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7546 * MenuBackend.C (expandToc): gettext on float names.
7548 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7550 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7551 implement bool empty() [bug 490]
7553 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7555 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7557 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7559 * several files: ws changes
7561 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7563 * text2.C (setCounter): clean up a bit, use boost.format.
7564 (updateCounters): initialize par upon declaration.
7566 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7567 if the layout exists. We do not just store the layout any more.
7568 (SwitchLayoutsBetweenClasses): use boost.format
7570 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7572 * converter.C (convert): if from and to files are the same, use a
7573 temporary files as intermediary
7575 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7578 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7580 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7582 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7584 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7586 * tabular.C (asciiPrintCell): use string(size, char) instead of
7589 * sgml.C (openTag): fix order of arguments to string constructor
7592 * lyxfunc.C (dispatch): use boost.format
7594 * lots of files: change "c" -> 'c'
7596 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7598 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7600 2002-11-25 Angus Leeming <leeming@lyx.org>
7602 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7604 * lyx_main.C (init): compile fix.
7606 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7608 * lyx_cb.C (start): boost.formatify
7609 do not include <iostream>
7611 * lengthcommon.C: ws only
7613 * boost-inst.C,BoostFormat.h: add more explict instantations
7615 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7617 * lots of files: handle USE_BOOST_FORMAT
7619 2002-11-21 John Levon <levon@movementarian.org>
7621 * pspell.C: fix compile
7623 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7625 * lyxfunc.C (dispatch): use boost::format
7629 * lyxfont.C (stateText): use boost::format
7631 * lyx_main.C (LyX): use boost::format
7633 (queryUserLyXDir): ditto
7636 (typedef boost::function): use the recommened syntax.
7638 * importer.C (Import): use boost::format
7640 * debug.C (showLevel): use boost::format
7642 * converter.C (view): use boost::format
7647 * bufferview_funcs.C (currentState): use boost::format
7649 * bufferlist.C (emergencyWrite): use boost::format
7651 * buffer.C (readLyXformat2): use boost::format
7652 (parseSingleLyXformat2Token): ditto
7654 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7656 * LaTeX.C (run): use boost::format
7658 * Chktex.C (scanLogFile): use boost::format
7660 * BufferView_pimpl.C (savePosition): use boost::format
7661 (restorePosition): ditto
7662 (MenuInsertLyXFile): ditto
7664 * BoostFormat.h: help file for explicit instation.
7666 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7668 * tabular.C (latex): Support for block alignment in fixed width
7671 2002-11-17 John Levon <levon@movementarian.org>
7673 * BufferView_pimpl.C:
7675 * lyxfunc.C: split filedialog into open/save
7677 2002-11-08 Juergen Vigna <jug@sad.it>
7679 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7680 by my last patch (hopefully).
7682 2002-11-08 John Levon <levon@movementarian.org>
7691 * toc.C: ParConstIterator, and use it (from Lars)
7693 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7695 * lyxtextclass.[Ch]: revise and add doxygen comments
7697 2002-11-07 John Levon <levon@movementarian.org>
7699 * text.C: fix progress value for spellchecker
7701 * toc.C: fix navigate menu for insetwrap inside minipage
7703 * paragraph_funcs.C: added FIXME for suspect code
7705 2002-11-07 John Levon <levon@movementarian.org>
7707 * BufferView_pimpl.C: fix redrawing of insets
7710 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7712 * text2.C (updateCounters): fix bug 668
7714 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7716 * text3.C (dispatch): Do not make the buffer dirty when moving the
7719 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7721 * vc-backend.C: STRCONV
7724 * text2.C (setCounter): STRCONV
7726 * paragraph.C (asString): STRCONV
7728 * lyxlength.C (asString): STRCONV
7729 (asLatexString): ditto
7731 * lyxgluelength.C (asString): STRCONV
7732 (asLatexString): ditto
7734 * lyxfunc.C (dispatch): STRCONV
7737 * lyxfont.C (stateText): STRCONV
7739 * importer.C (Import): STRCONV
7741 * counters.C (labelItem): STRCONV
7742 (numberLabel): ditto
7743 (numberLabel): remove unused ostringstream o
7748 * bufferview_funcs.C (currentState): STRCONV
7750 * buffer.C (readFile): STRCONV
7751 (asciiParagraph): ditto
7752 (makeLaTeXFile): ditto
7754 * Spacing.C (writeEnvirBegin): STRCONV
7756 * LaTeXFeatures.C (getLanguages): STRCONV
7757 (getPackages): ditto
7759 (getBabelOptions): ditto
7760 (getTClassPreamble): ditto
7761 (getLyXSGMLEntities): ditto
7762 (getIncludedFiles): ditto
7766 (scanAuxFile): ditto
7769 * LString.h: add the STRCONV macros
7771 * BufferView_pimpl.C (savePosition): STRCONV
7772 (restorePosition): ditto
7773 (MenuInsertLyXFile): ditto
7775 * vc-backend.C (scanMaster): change from submatch[...] to
7778 * funcrequest.C: include config.h
7780 * factory.C: include config.h
7782 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7784 * box.C: include config.h
7786 * LaTeX.C (scanAuxFile): change from submatch[...] to
7790 2002-10-25 Angus Leeming <leeming@lyx.org>
7792 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7794 * ispell.[Ch] (setError): new method.
7795 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7796 Use setError() insetead of goto END.
7798 * lyx_cb.C (AutoSave): move out child process into new class
7801 2002-10-30 John Levon <levon@movementarian.org>
7803 * text3.C: make start appendix undoable
7805 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7807 * lyxlength.C (inPixels): Fix returned value.
7809 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7812 2002-10-24 Angus Leeming <leeming@lyx.org>
7814 * lyxgluelength.h: no need to forward declare BufferParams
7815 or BufferView, so don't.
7817 2002-10-21 John Levon <levon@movementarian.org>
7819 * BufferView.C: menuUndo ->undo, redo
7821 * BufferView.h: document, remove dead, make some methods private
7823 * paragraph_funcs.h:
7824 * paragraph_funcs.C:
7825 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7830 * sgml.C: move sgml open/close tag into sgml.C
7832 * bufferview_funcs.h: unused prototype
7835 * lyxfunc.C: remove unused
7838 * text.C: remove unused
7840 2002-10-21 John Levon <levon@movementarian.org>
7844 * BufferView_pimpl.h:
7845 * BufferView_pimpl.C: fix mouse wheel handling based on
7846 patch from Darren Freeman
7848 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7850 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7852 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7854 * lyxlength.C (inPixels): Fix hanfling of negative length.
7855 Fix LyXLength::MU case.
7857 2002-10-16 John Levon <levon@movementarian.org>
7859 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7861 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7863 * converter.C (view): add support for $$i (file name) and $$p
7864 (file path) for the viewer command. If $$i is not specified, then
7865 it is appended to the command (for compatibility with old syntax)
7867 2002-10-14 Juergen Vigna <jug@sad.it>
7869 * undo_funcs.C (textHandleUndo): alter the order in which the
7870 new undopar is added to the LyXText, as we have to set first
7871 the right prev/next and then add it as otherwise the rebuild of
7872 LyXText is not correct. Also reset the cursor to the right paragraph,
7873 with this IMO we could remove the hack in "redoParagraphs()".
7875 2002-10-09 Angus Leeming <leeming@lyx.org>
7877 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7878 to turn off an optimisation if a new inset is to be inserted.
7880 2002-10-11 André Pönitz <poenitz@gmx.net>
7882 * lyxtext.h: make some functions public to allow access
7883 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7885 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7887 * text3.C (dispatch): when changing layout, avoid an infinite loop
7890 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7892 * lyxrc.C (read): treat a viewer or converter command of "none" as
7895 * MenuBackend.C (expandFormats): for an update, also allow the
7896 formats that are not viewable
7898 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7899 script if it is newer than the lyxrc.defaults in user directory
7901 2002-10-07 André Pönitz <poenitz@gmx.net>
7903 * text.C: Vitaly Lipatov's small i18n fix
7905 2002-09-25 Angus Leeming <leeming@lyx.org>
7907 * ispell.h: doxygen fix.
7909 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7911 * buffer.h (readFile): Add a new argument to the method, to allow
7912 reading of old-format templates.
7914 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7916 * toc.C (getTocList): Get TOC from InsetWrap.
7918 2002-09-16 John Levon <levon@movementarian.org>
7920 * lyxfunc.C: check tabular for cut/copy too
7922 2002-09-12 John Levon <levon@movementarian.org>
7927 * factory.C: add header
7929 * paragraph_funcs.h:
7930 * paragraph_funcs.C: cleanup
7932 2002-09-11 John Levon <levon@movementarian.org>
7934 * PrinterParams.h: odd/even default to true
7936 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7938 * PrinterParams.h: update printer parameters for new xforms dialog
7940 2002-09-11 Angus Leeming <leeming@lyx.org>
7942 * lyxserver.C (read_ready): re-write to make it more transparent
7943 and to make it work in coherent fashion under Tru64 Unix.
7945 2002-09-11 André Pönitz <poenitz@gmx.net>
7949 * text3.C: implement LFUN_WORDSEL
7951 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7953 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7954 make floatlist_ a boost::shared_ptr<FloatList>
7956 * lyxtextclass.C: include FloatList.h
7957 (LyXTextClass): initialize floatlist_
7958 (TextClassTags): add TC_NOFLOAT
7959 (Read): match "nofloat" to TC_NOFLOAT and use it.
7960 (readFloat): modify call to floatlist_
7964 * FloatList.[Ch] (FloatList): remove commented out float
7966 (erase): new function
7968 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7970 * MenuBackend.C (expandToc): fix crash when there is no document
7973 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7975 * many files: Add insetwrap.
7977 2002-09-09 John Levon <levon@movementarian.org>
7979 * text2.C: remove confusing and awkward depth wraparound
7981 2002-09-09 John Levon <levon@movementarian.org>
7983 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7986 * buffer.C: remove getIncludeonlyList()
7989 * lyxfunc.C: remove headers
7991 2002-09-09 Juergen Vigna <jug@sad.it>
7993 * text.C (getColumnNearX): fix form Michael this is most
7994 probably a cut&paste bug.
7996 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7998 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8000 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8001 references, ws changes.
8003 * text2.C (init): update counters after init
8004 (insertParagraph): no need to set counter on idividual paragraphs.
8005 (setCounter): access the counters object in the textclass object
8006 on in the buffer object.
8007 (updateCounters): ditto
8009 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8010 shared_ptr<Counters> to avoid loading counters.h in all
8012 (LyXTextClass): initialize ctrs_
8013 (TextClassTags): add TC_COUNTER, and ...
8014 (Read): use it here.
8015 (CounterTags): new tags
8016 (readCounter): new function
8017 (counters): new funtion
8018 (defaultLayoutName): return a const reference
8020 * counters.C (Counters): remove contructor
8021 (newCounter): remove a couple of unneeded statements.
8022 (newCounter): simplify a bit.
8023 (numberLabel): some small formatting changes.
8025 * buffer.[Ch]: remove all traces of counters, move the Counters
8026 object to the LyXTextClass.
8028 2002-09-06 Alain Castera <castera@in2p3.fr>
8030 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8031 package to set the horizontal alignment on fixed width columns.
8034 * lyx_sty.h: added tabularnewline macro def.
8036 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8038 2002-09-06 John Levon <levon@movementarian.org>
8040 * LyXAction.C: tooltips for sub/superscript
8042 * MenuBackend.C: a bit more verbose
8044 * lyxfunc.C: tiny clean
8046 * undo_funcs.C: document undo_frozen
8048 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8050 * counters.C (Counters): add missing algorithm counter.
8052 * text2.C (setCounter): lookup the counter with layouts latexname
8053 instead of by section number.
8054 (setCounter): use a hackish way to lookup the correct enum
8056 a float name->type change
8057 reset enum couners with counter name directly instead of depth value.
8059 * counters.C (Counters): remove the push_backs, change to use the
8060 float type not the float name.
8061 (labelItem): remove unused string, float name->type change
8063 * counters.h: don't include vector, loose the enums and sects vectors
8065 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8067 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8068 (Read): add float->TC_FLOAT to textclassTags
8069 (Read): and handle it in the switch
8070 (readFloat): new function
8072 * FloatList.C (FloatList): comment out the hardcoded float
8075 * lyxlayout.h: ws change.
8077 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8079 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8081 2002-09-03 Angus Leeming <leeming@lyx.org>
8083 * BufferView_pimpl.h: qualified name is not allowed in member
8084 declaration: WorkArea & Pimpl::workarea() const;
8086 * factory.C: added using std::endl directive.
8088 * text3.C: added using std::find and std::vector directives.
8090 2002-08-29 André Pönitz <poenitz@gmx.net>
8093 * text2.C: remove unused member number_of_rows
8096 * BufferView2.C: remove file, move contents to...
8097 * BufferView.C: ... here
8099 * BufferView_pimpl.C:
8100 * factory.C: move more inset creation to factory
8102 * vspace.C: avoid direct usage of LyXText, ws changes
8105 don't provide direct access to WorkArea, use two simple
8106 acessors haveSelction() and workHeight() instead
8109 2002-08-29 John Levon <levon@movementarian.org>
8111 * BufferView_pimpl.C (dispatch): do not continue when
8114 2002-08-28 André Pönitz <poenitz@gmx.net>
8116 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8119 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8121 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8123 * buffer.C: increment LYX_FORMAT to 221
8125 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8126 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8128 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8130 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8132 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8134 * factory.C (createInset): use LyXTextClass::floats
8136 * MenuBackend.C (expandFloatListInsert):
8137 (expandFloatInsert):
8140 * text2.C (setCounter):
8142 * LaTeXFeatures.C (useFloat):
8143 (getFloatDefinitions):
8145 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8147 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8148 floatlist_, with accessor floats().
8150 * FloatList.h: remove global FloatList
8152 2002-08-26 André Pönitz <poenitz@gmx.net>
8154 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8158 * BufferView_pimpl.C:
8159 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8161 2002-08-25 John Levon <levon@movementarian.org>
8163 * LyXAction.C: fix margin note description
8165 2002-08-24 John Levon <levon@movementarian.org>
8169 * bufferview_funcs.C:
8171 * undo_funcs.C: cleanups
8173 * lyxfunc.C: disable CUT/COPY when no selection
8175 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8177 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8178 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8180 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8181 Add backward compatibility to "mono", "gray" and "no".
8183 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8185 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8186 (and file_format >= 200).
8188 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8190 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8192 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8194 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8196 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8198 * BufferView_pimpl.C:
8205 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8206 inset and code to make it work with the paragraph code. The inset
8207 can be anywhere in the paragraph, but will only do the expected
8208 thing in LaTeX if the layout file contains the parameter line
8210 (or more generally, a nonzero value) for that layout.
8212 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8214 * paragraph.h: remove the declaration of undefined counters class
8217 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8219 * text2.C (setCounter): fixed enumeration mis-count as reported by
8220 Dr. Richard Hawkins.
8222 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8224 * paragraph_funcs.h: remove some unneeded includes
8226 * text.C (backspace): pasteParagraph now in global scipe
8228 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8229 (pasteSelection): ditto
8231 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8232 * paragraph_funcs.C (pasteParagraph): ... here
8234 2002-08-20 André Pönitz <poenitz@gmx.net>
8236 * commandtags.h: new LFUNs for swapping/copying table row/colums
8239 * lyxfunc.C: support for new lfuns
8241 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8244 * buffer.[Ch]: remove NO_COMPABILITY stuff
8246 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8248 * boost.C (throw_exception): new file, with helper function for
8249 boost compiled without exceptions.
8254 * ParameterStruct.h:
8255 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8257 * bufferlist.C (emergencyWriteAll): use boost bind
8259 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8261 * text.C: include paragraph_funcs.h
8262 (breakParagraph): breakParagraph is now in global scope
8264 * paragraph_funcs.[Ch]: new files
8266 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8269 * buffer.C: include paragraph_funcs.h
8270 (insertStringAsLines): breakParagraph is now in global scope
8272 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8275 * CutAndPaste.C: include paragraph_funcs.h
8276 (cutSelection): breakParagraphConservative is now in global scope
8277 (pasteSelection): ditto
8279 * buffer.h: declare oprator== and operator!= for
8280 Buffer::inset_iterator
8282 * bufferlist.C (emergencyWrite): don't use fmt(...)
8284 * text3.C: add using std::endl
8286 * BufferView.C (moveCursorUpdate): remove default arg
8288 2002-08-20 André Pönitz <poenitz@gmx.net>
8290 * buffer.[Ch]: move inline functions to .C
8293 * BufferView_pimpl.C:
8295 * buffer.[Ch]: use improved inset_iterator
8298 * paragraph.[Ch]: write one paragraph at a time
8300 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8302 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8303 style if style is not specified.
8305 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8307 * text2.C (setCounter): when searching for right label for a
8308 caption, make sure to recurse to parent insets (so that a caption
8309 in a minipage in a figure float works) (bug #568)
8311 2002-08-20 André Pönitz <poenitz@gmx.net>
8313 * text3.C: new file for LyXText::dispatch() and helpers
8315 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8317 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8319 2002-08-19 André Pönitz <poenitz@gmx.net>
8322 * text.C: new LyXText::dispatch()
8324 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8326 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8328 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8330 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8333 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8335 * Makefile.am: use $(variables) instead of @substitutions@
8337 2002-08-15 André Pönitz <poenitz@gmx.net>
8340 * BufferView_pimpl.C: streamlining mathed <-> outer world
8344 * LyXAction.C: remove unused LFUN_MATH
8346 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8348 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8350 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8352 * paragraph.C (Paragraph): reformat a bit
8353 (cutIntoMinibuffer): use builtin InsetList function instad of
8357 * buffer.C: include boost/bind.hpp, add using std::for_each
8358 (writeFileAscii): use ParagraphList iterators
8359 (validate): use for_each for validate traversal of paragraphs
8360 (getBibkeyList): use ParagraphList iterators
8361 (resizeInsets): use for_each to resizeInsetsLyXText for all
8363 (getParFromID): use ParagraphList iterators
8365 * BufferView2.C (lockInset): use paragraph list and iterators
8367 2002-08-14 John Levon <levon@movementarian.org>
8369 * lyxserver.C: remove spurious xforms include
8371 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8373 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8375 2002-08-13 André Pönitz <poenitz@gmx.net>
8378 * lyxfunc.C: further cleaning
8380 2002-08-13 André Pönitz <poenitz@gmx.net>
8382 * funcrequest.h: new constructor
8384 * funcrequest.C: move stuff here from .h
8387 * BufferView_pimpl.C:
8390 * lyxfunc.C: subsequent changes
8392 * lyxfunc.h: new view() member function
8394 * lyxfunc.C: subsequent changes
8396 2002-08-13 Angus Leeming <leeming@lyx.org>
8399 * BufferView_pimpl.C:
8407 changes due to the changed LyXView interface that now returns references
8408 to member variables not pointers.
8410 2002-08-13 Angus Leeming <leeming@lyx.org>
8412 * WordLangTuple (word, lang_code): return references to strings,
8417 * lyxtext.h: forward-declare WordLangTuple.
8422 * text.C: #include "WordLangTuple.h".
8425 * text.C: (selectNextWordToSpellcheck): constify return type.
8427 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8433 * paragraph_pimpl.h:
8436 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8438 Made updateCounter always count from start of buffer, and removed
8439 second argument (par).
8440 Reverted floats number display to '#'. Perhaps I'll try again when the
8441 code base is sanitized a bit.
8443 2002-08-12 Angus Leeming <leeming@lyx.org>
8445 * buffer.[Ch] (getLabelList): constify.
8447 2002-08-07 André Pönitz <poenitz@gmx.net>
8449 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8451 * funcrequest.h: extension to keep mouse (x,y) position
8453 2002-08-12 Juergen Vigna <jug@sad.it>
8455 * BufferView2.C (insertErrors): forbid undo when inserting error
8458 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8460 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8462 * ParagraphList.[Ch]: new files
8464 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8466 * BufferView2.C (lockInset): ParagraphList changes
8469 * bufferlist.C: ditto
8473 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8475 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8476 unused class variable counter_,
8478 * paragraph.[Ch] (getFirstCounter): delete unused function
8480 * counters.C: include LAssert.h
8481 (reset): add a new function with no arg, change other version to
8482 not have def. arg and to not allow empty arg.
8484 * text2.C (setCounter): remove empty arg from call to Counters::reset
8486 2002-08-11 John Levon <levon@movementarian.org>
8488 * Makefile.am: add WordLangTuple.h
8490 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8492 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8493 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8495 * insets/insettext.C: InsetList changes
8497 * graphics/GraphicsSupport.C (operator()): InsetList changes
8499 * toc.C (getTocList): InsetList changes
8501 * paragraph_pimpl.[Ch]: InsetList changes
8503 * paragraph.[Ch]: InsetList changes
8505 * buffer.C (inset_iterator): InsetList changes
8506 (setParagraph): ditto
8507 * buffer.h (inset_iterator): ditto
8508 * iterators.C (operator++): ditto
8509 * iterators.h: ditto
8511 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8513 * InsetList.[Ch]: new files, most InsetList handling moved out of
8516 * BufferView2.C (removeAutoInsets): InsetList changes
8518 (ChangeInsets): ditto
8520 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8522 * paragraph_pimpl.h (empty): new function
8524 * paragraph.[Ch] (empty): new function
8526 * other files: use the new Paragraph::empty function
8528 2002-08-09 John Levon <levon@movementarian.org>
8530 * lyxtext.h: remove unused refresh_height
8532 2002-08-09 John Levon <levon@movementarian.org>
8539 * paragraph.C: move sgml char escaping out of paragraph
8542 * paragraph.C: remove id setter
8546 * paragraph_pimpl.C: remove dead tex_code_break_column
8548 * bufferview_funcs.C: small cleanup
8550 * lyxfunc.C: remove dead proto
8552 * lyxtext.h: make some stuff private. Remove some dead stuff.
8554 * lyxgluelength.C: make as[LyX]String() readable
8556 2002-08-08 John Levon <levon@movementarian.org>
8561 * ToolbarDefaults.C:
8564 * toc.C: lyxaction cleanup
8566 2002-08-08 John Levon <levon@movementarian.org>
8568 * BufferView2.C: small cleanup
8571 * lyxfind.C: move unnecessary header into the .C
8573 2002-08-08 John Levon <levon@movementarian.org>
8575 * funcrequest.h: just tedious nonsense
8578 * lyx_main.C: cleanups
8581 * vspace.C: remove dead header lyx_main.h
8583 2002-08-07 Angus Leeming <leeming@lyx.org>
8586 * paragraph_pimpl.h:
8587 Forward declare class Counters in paragraph.h by moving the ctrs member
8588 variable into Paragraph::Pimpl.
8589 (counters): new method, returning a reference to pimpl_->ctrs.
8591 * text2.C: ensuing changes.
8593 2002-08-07 John Levon <levon@movementarian.org>
8595 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8597 * BufferView_pimpl.C: announce X selection on double/triple
8600 * lyx_main.C: use correct bool in batch dispatch
8602 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8604 2002-08-07 André Pönitz <poenitz@gmx.net>
8606 * funcrequest.h: new class to wrap a kb_action and its argument
8609 * BufferView_pimpl[Ch]:
8613 * lyxrc.C: subsequent changes
8616 2002-08-07 John Levon <levon@movementarian.org>
8618 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8619 document options change.
8621 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8626 * makefile.am: move counters functionality over from
8627 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8629 2002-08-06 John Levon <levon@movementarian.org>
8631 * WordLangTuple.h: new file for word + language code tuple
8642 * BufferView2.C: use WordLangTuple
8645 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8647 2002-08-06 John Levon <levon@movementarian.org>
8649 * lyx_main.C: fix cmdline batch handling
8651 2002-08-06 André Pönitz <poenitz@gmx.net>
8653 * lyxrc.C: set default for show_banner to true
8655 2002-08-06 John Levon <levon@movementarian.org>
8657 * pspell.C: fix a crash, and allow new aspell to work
8659 2002-08-06 John Levon <levon@movementarian.org>
8662 * kbmap.C: small cleanup
8665 * vspace.C: add const
8667 2002-08-05 John Levon <levon@movementarian.org>
8669 * LyXAction.C: back to tabular-insert
8671 2002-08-04 John Levon <levon@movementarian.org>
8674 * BufferView.C: cosmetic change
8676 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8686 * BufferView2.C: purge all "Lyx" not "LyX" strings
8689 * lyxcursor.C: attempt to add some documentation
8694 * ToolbarDefaults.C:
8695 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8696 merge with LFUN_TABULAR_INSERT
8703 * pspell.C: split up i/pspell implementations into separate
8704 files, many cleanups
8706 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8708 * text2.C: some cleanup
8710 * lyxfunc.C: don't check for isp_command == "none" any more, it
8711 didn't make any sense
8713 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8718 * makefile.am: move counters functionality over
8719 from text2.C/paragraph.[Ch] to counters.[Ch], and
8721 2002-08-02 John Levon <levon@movementarian.org>
8723 * buffer.C: s/lyxconvert/lyx2lyx/
8725 2002-08-02 Angus Leeming <leeming@lyx.org>
8727 * lyxlex.C: revert John's change as it breaks reading of the user
8730 2002-08-02 Angus Leeming <leeming@lyx.org>
8732 * importer.C (Import):
8733 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8734 changes due to LyXView::view() now returning a boost::shared_ptr.
8736 2002-08-02 John Levon <levon@movementarian.org>
8738 * lyxlex.C: small cleanup
8740 2002-08-02 John Levon <levon@movementarian.org>
8742 * text2.C (status): small cleanup, no logic change
8744 2002-08-01 John Levon <levon@movementarian.org>
8747 * buffer.C (writeFile): don't output alerts, caller
8751 * lyx_cb.C: from above
8753 * lyxfunc.C: allow to open non-existent files
8755 2002-07-31 John Levon <levon@movementarian.org>
8757 * lyxserver.C: don't let incidental errors get
8760 2002-07-30 John Levon <levon@movementarian.org>
8762 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8764 2002-07-30 John Levon <levon@movementarian.org>
8767 * lyxserver.C: remove I/O callback too
8769 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8771 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8774 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8776 * many files: strip,frontStrip -> trim,ltrim,rtrim
8778 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8780 * PrinterParams.h: remove extern containsOnly, and include
8781 support/lstrings.h instead.
8783 * LaTeX.C (scanAuxFile): modify because of strip changes
8785 * buffer.C (makeLaTeXFile): ditto
8786 * bufferparams.C (writeFile): ditt
8787 * lyxfont.C (stateText): ditto
8788 * lyxserver.C (read_ready): ditto
8789 * vc-backend.C (scanMaster): ditto
8791 * BufferView_pimpl.h: ws changes
8793 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8795 2002-07-26 André Pönitz <poenitz@gmx.net>
8797 * kb_sequence.C: remove unnedred usings
8799 2002-07-26 Juergen Vigna <jug@sad.it>
8801 * lyxfind.C (LyXReplace): we have to check better if the returned
8802 text is not of theLockingInset()->getLockingInset().
8804 2002-07-25 Juergen Vigna <jug@sad.it>
8806 * lyxfind.C (LyXReplace): don't replace if we don't get the
8809 * undo_funcs.C (createUndo): remove debugging code.
8811 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8813 * buffer.C (parseSingleLyXformat2Token): Use default placement
8814 when reading old floats.
8816 * FloatList.C (FloatList): Change the default placement of figure
8817 and tables to "tbp".
8819 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8821 * MenuBackend.C: using std::max
8823 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8825 * MenuBackend.C (expandToc):
8826 (expandToc2): code moved from xforms menu frontend. It is now
8827 generic and TOCs are transparent to menu frontends.
8829 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8831 * toc.C (getTocList): protect against buf=0
8833 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8834 Menu as first parameter. Now, this calls itself recursively to
8835 expand a whole tree (this will be useful for TOC handling)
8836 (expandFloatInsert): remove 'wide' version of floats
8838 * MenuBackend.h (submenuname): returns the name of the submenu.
8839 (submenu): returns the submenu itself, provided it has been
8840 created by MenuBackend::expand
8842 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8844 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8845 insets which have noFontChange == true. (bug #172)
8847 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8849 * BufferView_pimpl.C: add connection objects and use them...
8852 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8854 * MenuBackend.C (expandLastfiles):
8857 (expandFloatListInsert):
8858 (expandFloatInsert):
8859 (expand): split expand in parts
8861 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8863 * lyx_gui.C: use lyx_gui::exit()
8865 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8867 * LyXAction.C: show the failing pseudo action
8869 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8871 * buffer.C (readFile): Run the lyxconvert script in order to read
8874 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8878 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8880 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8884 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8886 2002-07-22 Herbert Voss <voss@lyx.org>
8889 * lyxlength.[Ch]: add support for the vertical lengths
8891 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8893 * toc.[Ch]: std:: fixes
8895 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8897 * lyxrc.C: do not include lyx_main.h
8899 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8905 * BufferView2.C: include "lyxlex.h"
8908 * bufferparams.h: do not #include "lyxlex.h"
8910 * lyxtextclasslist.C (Add): remove method
8911 (classlist): renamed to classlist_
8913 * paragraph_pimpl.C:
8917 * bufferview_funcs.C:
8922 * toc.C (getTocList): use BufferParams::getLyXTextClass
8924 * toc.C (getTocList): use InsetFloat::addToToc
8926 * toc.[Ch]: new files, containing helper functions to handle table
8929 * lyxfunc.C (dispatch): no need to remove spaces around command
8931 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8932 first command of the sequence; it is not very clever, but I do not
8933 have a better idea, actually
8935 * LyXAction.C (LookupFunc): make sure to remove space at the
8936 beginning and end of the command
8938 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8940 * MenuBackend.C (getMenubar): new method: return the menubar of
8942 (read): treat differently reading of menu and menubar (in
8943 particular, the menubar has no name now)
8944 (Menu::menubar): remove
8946 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8949 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8951 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8952 a bibitem inset in a RTL paragraph.
8954 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8956 * paragraph_pimpl.C: constify
8958 * BufferView_pimpl.C:
8960 * lyxfunc.C: fix dispatch in a nicer way
8962 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8964 * lyxfunc.C (dispatch):
8965 * BufferView_pimpl.C:
8966 * BufferView_pimpl.h:
8968 * BufferView.h: rename Dispatch() to dispatch()
8970 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8972 * lyxlayout.C (Read): honor DependsOn tag
8974 * lyxlayout.[Ch] (depends_on): new method
8976 * version.C.in: update lyx_docversion
8978 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8980 * paragraph.C (validate): remove from here...
8981 * paragraph_pimpl.C (validate): ... and move here
8982 (isTextAt): make it const
8984 * buffer.C (getLists): ws cleanup
8986 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8988 * language.C (read): Use iso8859-1 encoding in latex_lang
8989 (this prevents LyX from crashing when using iso10646-1 encoding).
8991 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8993 * text2.C (toggleInset): if cursor is inside an inset, close the
8994 inset and leave cursor _after_ it
8996 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8998 * lyxfunc.C: move minibuffer completion handling out of here
9000 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9002 * BufferView_pimpl.C:
9003 * LaTeX.C: fix dispatch calls
9005 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9007 * text.C (drawChars): Fix Arabic text rendering.
9009 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9013 * lyxfunc.C: remove message-push/pop
9017 * lyxfunc.C: rationalise some code by removing verboseDispatch
9018 in favour of a bool argument to dispatch()
9020 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9022 * lyx_main.C (init): make sure to read symlinks as absolute paths
9024 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9027 * lyxfunc.C: no need for commandshortcut to be a member
9029 2002-07-15 André Pönitz <poenitz@gmx.net>
9031 * converter.C: add support for $$s (scripts from lib/scripts dir)
9032 * lyx_main.C: white space
9034 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9038 * lyxrc.C: remove second exit confirmation
9040 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9045 * BufferView_pimpl.h:
9046 * BufferView_pimpl.C:
9047 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9049 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9051 * MenuBackend.C (expand): add numeric shortcuts to document menu
9053 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9055 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9057 * lyxfont.C (setLyXFamily):
9064 * buffer.C (asciiParagraph): use ascii_lowercase
9066 2002-07-15 Mike Fabian <mfabian@suse.de>
9068 * lyxlex_pimpl.C (search_kw):
9069 * lyxlex.C (getLongString):
9070 * converter.h (operator<):
9071 * converter.C (operator<):
9072 * buffer.C (parseSingleLyXformat2Token):
9074 * ToolbarDefaults.C (read):
9075 * MenuBackend.C (checkShortcuts):
9077 * LColor.C (getFromGUIName):
9078 (getFromLyXName): use the compare_ascii_no_case instead of
9079 compare_no_case, because in turkish, 'i' is not the lowercase
9080 version of 'I', and thus turkish locale breaks parsing of tags.
9082 2002-07-16 Angus Leeming <leeming@lyx.org>
9084 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9085 now takes a Buffer const & argument.
9087 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9089 * BufferView.C (resize): check there's a buffer to resize
9091 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9093 * lyxfunc.C: remove dead code
9096 * lyxserver.C: use lyx_guii::set_read_callback
9098 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9100 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9101 an inset in a RTL paragraph.
9103 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9105 * lyxfunc.C: repaint after a font size update
9107 2002-07-15 André Pönitz <poenitz@gmx.net>
9109 * lyxlength.C: inBP should be able to return negative values
9111 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9113 * lyxfunc.C: use lyx_gui::update_fonts()
9115 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9117 * lyxfunc.C: use lyx_gui::update_color()
9119 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9125 * lyxrc.C: remove file->new asks for name option, and let
9126 buffer-new take an argument
9128 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9130 * BufferView_pimpl.C: remove unneeded extra repaint()
9132 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9134 * LyXAction.C: allow command-sequence with NoBuffer
9136 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9138 2002-07-10 Angus Leeming <leeming@lyx.org>
9140 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9142 2002-07-09 Angus Leeming <leeming@lyx.org>
9144 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9146 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9148 * lengthcommon.h: whitespace
9150 * lyxfunc.C: update scrollbar after goto paragraph
9152 * lyxtext.h: factor out page break drawing, and fix it so
9153 page break/added space paints as selected nicely
9155 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9157 * BufferView_pimpl.C: add FIXMEs, clean up a little
9159 2002-07-09 André Pönitz <poenitz@gmx.net>
9161 * lyxfont.[Ch]: support for wasy symbols
9163 2002-07-08 André Pönitz <poenitz@gmx.net>
9165 * BufferView_pimpl.C: apply John's patch for #93.
9167 2002-07-05 Angus Leeming <leeming@lyx.org>
9169 * BufferView_pimpl.C (buffer): generate previews if desired.
9171 * LColor.h: add "preview" to the color enum.
9173 * LColor.C (LColor): add a corresponding entry to the items array.
9175 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9178 2002-07-05 Angus Leeming <leeming@lyx.org>
9180 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9181 The body of the code is now in the method that is passed an ostream &
9182 rather than a file name.
9183 Pass an additional only_preamble parameter, useful for the forthcoming
9186 2002-07-03 André Pönitz <poenitz@gmx.net>
9188 * lyxfunc.C: simplify getStatus() a bit for math stuff
9190 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9192 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9194 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9196 * text.C (changeRegionCase): do not change case of all the
9197 document when region ends at paragraph end (bug #461)
9199 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9201 * paragraph.C (startTeXParParams):
9202 (endTeXParParams): add \protect when necessary
9204 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9206 * BufferView_pimpl.C (workAreaExpose): remove warning
9208 2002-06-27 Angus Leeming <leeming@lyx.org>
9210 * Makefile.am: add lyxlayout_ptr_fwd.h.
9212 2002-06-26 André Pönitz <poenitz@gmx.net>
9214 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9216 2002-06-25 Angus Leeming <leeming@lyx.org>
9218 * lyxfunc.C (dispatch): Comment out the call to
9219 grfx::GCache::changeDisplay. The method no longer exists now that the
9220 pixmap generation part of the graphics loader has been moved into
9223 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9225 * text2.C: layout as layout
9227 * text.C: layout as layout
9229 * tabular.C (OldFormatRead): layout as layout
9231 * paragraph_pimpl.C (TeXDeeper): layout as layout
9232 (realizeFont): layout as layout
9234 * paragraph.C (writeFile): layout as layout
9235 (validate): layout as layout
9236 (getFont): layout as layout
9237 (getLabelFont): layout as layout
9238 (getLayoutFont): layout as layout
9239 (breakParagraph): layout as layout
9240 (stripLeadingSpaces): layout as layout
9241 (getEndLabel): layout as layout
9242 (getMaxDepthAfter): layout as layout
9243 (applyLayout): layout as layout
9244 (TeXOnePar): layout as layout
9245 (simpleTeXOnePar): layout as layout
9246 (TeXEnvironment): layout as layout
9247 (layout): layout as layout
9248 (layout): layout as layout
9250 * lyxtextclass.C (compare_name): new functor to work with
9251 shared_ptr, layout as layout
9252 (Read): layout as layout
9253 (hasLayout): layout as layout
9254 (operator): layout as layout
9255 (delete_layout): layout as layout
9256 (defaultLayout): layout as layout
9258 * lyxlayout_ptr_fwd.h: new file
9260 * lyxlayout.C (Read): layout as layout
9262 * lyx_cb.C (MenuInsertLabel): layout as layout
9264 * bufferlist.C (newFile): layout as layout
9266 * buffer.C (readLyXformat2): layout as layout
9267 (parseSingleLyXformat2Token): layout as layout
9268 (insertStringAsLines): layout as layout
9269 (asciiParagraph): layout as layout
9270 (latexParagraphs): layout as layout
9271 (makeLinuxDocFile): layout as layout
9272 (simpleLinuxDocOnePar): layout as layout
9273 (makeDocBookFile): layout as layout
9274 (simpleDocBookOnePar): layout as layout
9275 (getLists): layout as layout
9277 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9279 * CutAndPaste.C (cutSelection): layout as layout
9280 (pasteSelection): layout as layout
9281 (SwitchLayoutsBetweenClasses): layout as layout
9283 * BufferView_pimpl.C (Dispatch): layout as layout
9284 (smartQuote): layout as layout
9286 * BufferView2.C (unlockInset): layout as layout
9288 2002-06-24 André Pönitz <poenitz@gmx.net>
9290 * lyxfunc.C: fix #487
9292 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9296 * lyxfunc.C: remove display_shortcuts, show_banner
9298 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9300 * Buffer_pimpl.C: oops, update on resize
9302 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9309 * BufferView.C: use repaint()
9311 * BufferView_pimpl.h:
9312 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9313 as it's a clearer description. Remove superfluous
9316 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9318 * text.C: fix bug 488. Not ideal, but getting
9319 getWord() to work properly for the insets that
9320 matter is more difficult ...
9322 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9324 * BufferView_pimpl.C:
9327 * lyxfunc.C: remove the six million index lyxfuncs to just
9328 one, and DTRT (bug 458)
9330 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9334 * BufferView_pimpl.h:
9335 * BufferView_pimpl.C: clean up resize() stuff,
9336 and unnecessary updateScreen()s
9338 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9342 * BufferView_pimpl.h:
9343 * BufferView_pimpl.C:
9346 * minibuffer.C: remove focus management of workarea,
9347 not needed. Use screen's greyOut()
9349 2002-06-17 Herbert Voss <voss@lyx.org>
9351 * converter.C: (convert) do not post a message, when converting
9352 fails, let the calling function decide what to do in this case
9354 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9356 * lyxfunc.C: tidy up a little
9358 2002-06-16 <alstrup@diku.dk>
9360 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9361 Got rid of FORMS_H_LOCATION include. Now we are
9364 2002-06-15 LyX Development team <lyx@rilke>
9366 * buffer.[Ch] (sgmlOpenTag):
9367 (sgmlCloseTag): Added support for avoiding pernicious mixed
9368 content. Return number of lines written.
9371 (makeDocBookFile): Fixed calls to sgml*Tag.
9372 Simple white space clean.
9374 (simpleDocBookOnePar): Simple white space clean.
9376 * tabular.[Ch] (docBook): Renamed to docbook and got another
9377 argument to related with the pernicious mixed content.
9379 (docbookRow): Fixed calls for docbook inset method.
9381 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9383 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9384 so it's X11 independent.
9388 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9390 2002-06-15 Lyx Development team <lyx@electronia>
9392 * intl.h: Renamed getTrans to getTransManager.
9394 2002-06-14 Angus Leeming <leeming@lyx.org>
9396 * Makefile.am: nuke forgotten stl_string_fwd.h.
9398 2002-06-12 Angus Leeming <leeming@lyx.org>
9400 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9402 2002-06-13 Angus Leeming <leeming@lyx.org>
9405 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9407 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9409 * kbmap.C (getiso): add support for cyrillic and greek
9411 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9415 * BufferView_pimpl.h:
9416 * BufferView_pimpl.C: move bogus scrolling logic
9419 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9422 * BufferView_pimpl.C: view->resize() change
9424 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9426 * BufferView_pimpl.C: topCursorVisible
9429 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9433 * lyx_gui.C: move to frontends/
9437 * lyx_main.C: changes from above
9439 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9446 * lyx_main.C: minor tidy
9448 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9450 * BufferView_pimpl.h:
9451 * BufferView_pimpl.C:
9453 * BufferView.C: make painter() const,
9456 * BufferView2.C: use screen() accessor
9459 * lyx_main.C: some minor cleanup
9461 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9463 * BufferView_pimpl.h:
9464 * BufferView_pimpl.C: remove enter/leaveView,
9467 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9472 * BufferView_pimpl.h:
9473 * BufferView_pimpl.C: only construct screen once,
9476 * lyxrc.C: remove pointless comment
9478 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9481 * BufferView.C: remove active() and belowMouse()
9483 * BufferView_pimpl.h:
9484 * BufferView_pimpl.C: use workarea() not workarea_,
9485 and make it use a scoped_ptr instead
9487 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9489 * lyx_gui.C: add debug message on BadWindow
9491 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9493 * sp_spell.C: fdopen is not part of the C++ standard.
9495 * paragraph.C (InsetIterator): use >= instead of ==
9497 2002-06-07 Angus Leeming <leeming@lyx.org>
9499 Fixes needed to compile with Compaq cxx 6.5.
9500 * BufferView_pimpl.C:
9507 * lyxtextclasslist.C:
9512 all c-library variables have been moved into namespace std. Wrap
9513 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9518 Add a using std::abs declaration.
9520 * kbmap.h (modifier_pair):
9521 * paragraph.h (InsetTable, InsetList):
9522 * lyxfont.h (FontBits):
9523 type definition made public.
9525 * bufferlist.C (emergencyWriteAll): the compiler complains that
9526 there is more than one possible lyx::class_fun template to choose from.
9527 I re-named the void specialisation as lyx::void_class_fun.
9529 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9531 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9532 the compiler is is unable to find tostr in write_attribute.
9534 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9536 * buffer.C (sgmlError): hide #warning
9538 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9540 * xtl/*: get rid of xtl, which is not in use anyway
9542 * LyXAction.C (init):
9543 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9544 were unimplemented xtl experimentation
9546 2002-06-04 André Pönitz <poenitz@gmx.net>
9548 * lyxfunc.C: disable array operation on simple formulae
9550 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9552 * converter.C: constify a bit
9554 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9556 * lyx_gui.C: check xforms version correctly
9558 2002-04-30 Herbert Voss <voss@lyx.org>
9560 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9563 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9565 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9566 attempt to register it with a VCS)
9568 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9570 * lyx_main.C (init): honor variables LYX_DIR_13x and
9573 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9577 * lyx_main.C: fix a crash on bad command line,
9578 and give a useful exit status on error
9580 * lyxfunc.C (doImport): allow -i lyx to work
9582 2002-03-30 André Pönitz <poenitz@gmx.net>
9584 * lyxfunc.C: mathed font changes
9586 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9601 * trans_mgr.h: srcdocs, and some minor cleanups
9603 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9605 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9606 call getFont all the time)
9608 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9610 * switch from SigC signals to boost::signals
9612 2002-05-29 André Pönitz <poenitz@gmx.net>
9614 * paragraph_pimpl.C (getChar): don't call size() too often...
9616 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9618 * paragraph_pimpl.C (insertChar): do not try to update tables when
9619 appending (pos == size())
9621 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9622 in order to reduce drastically the number of comparisons needed to
9623 parse a large document
9625 2002-05-29 André Pönitz <poenitz@gmx.net>
9631 * textclasslist.[Ch]:
9632 * sp_ispell.h: whitespace change
9634 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9636 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9637 lyxaction directly now.
9639 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9643 * lyxvc.C: remove unused headers
9645 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9652 * undo_funcs.C: some cleanups. Use shared_ptr
9653 and a template for the undo stacks.
9655 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9657 * BufferView_pimpl.h:
9658 * BufferView_pimpl.C:
9665 * text2.C: use key_state/mouse_state
9667 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9669 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9672 * chset.C: change include order
9673 (loadFile): use boost regex and get rid of LRegex and LSubstring
9675 * Makefile.am (BOOST_LIBS): new variable
9678 * LaTeX.C: change include order.
9679 (scanAuxFile): use boost regex and get rid of LRegex and
9683 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9688 * FontInfo.C: moved to frontends/xforms/
9691 * FontLoader.C: moved into frontends for GUIIzation
9696 * lyxfunc.C: changes from above
9698 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9700 * LColor.C: remove spurious X include
9702 * BufferView_pimpl.C:
9707 * text2.C: move font metrics to frontends/
9709 2002-05-24 Juergen Vigna <jug@sad.it>
9711 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9712 setting the undo_cursor.
9714 * ParagraphParameters.h: include local includes first.
9716 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9718 * BufferView_pimpl.C:
9719 * BufferView_pimpl.h:
9723 * screen.C: move WorkArea into frontends/
9729 * BufferView2.C: move LyXScreen into frontends/
9733 * lyx_gui.C: move lyxlookup into frontends/xforms/
9735 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9738 * BufferView_pimpl.C:
9748 * bufferview_funcs.C:
9761 * vc-backend.C: move LyX/XFormsView into frontends/
9763 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9775 * text2.C: move Painter to frontends/
9777 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9779 * buffer.C: comment out some some code that depend upon lyx_format
9782 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9783 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9785 * buffer.h (NO_COMPABILITY): turn off compability
9787 * ColorHandler.C: include scoped_array.hpp
9789 * font.C: Use more specific smart_ptr header.
9792 * ShareContainer.h: ditto
9796 * BufferView_pimpl.h: ditto
9797 * ColorHandler.h: ditto
9799 * kbmap.C (defkey): change call to shared_ptr::reset
9801 2002-05-21 Juergen Vigna <jug@sad.it>
9803 * buffer.C (insertErtContents): fix to insert ert asis if it is
9804 non empty. Skip it completely if it contains only whitespaces.
9806 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9808 * BufferView_pimpl.C:
9809 * BufferView2.C: clear selection on paste (bug 393)
9811 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9813 * DepTable.C: include ctime
9815 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9817 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9819 2002-05-14 Juergen Vigna <jug@sad.it>
9821 * text.C (breakParagraph): fixed function to honor the keepempty
9822 layout in the right maner and also to permit the right breaking
9823 algorithm on empty or non empyt keepempty paragraphs.
9825 * paragraph.C (breakParagraph): we have to check also if the par
9826 is really empty (!size()) for isempty otherwise we do the wrong
9829 2002-05-10 Juergen Vigna <jug@sad.it>
9831 * buffer.[Ch] : The following are only changes to the ert
9832 compatibility read reading old LaTeX layout and font stuff and
9833 convert it to ERTInsets.
9835 * buffer.h: added isErtInset().
9837 * buffer.C (struct ErtComp): add a fromlayout bool to check
9838 if we're inside a LaTeX layout.
9839 (isErtInset): new helper function.
9840 (insertErtContents): look for other ert insets before this one
9841 and insert the contents there, so that we don't have subsequent
9842 ERT insets with nothing between them. This way we create only one
9843 inset with multiple paragraphs. Also check if we don't insert only
9844 spaces ' ' as they are ignored anyway afterwards in the .tex file
9845 so if we have only spaces we will ignore this latex part in the
9847 (parseSingleLyXformat2Token \\layout): better compatibility when
9848 reading layout-latex stuff.
9849 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9851 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9852 stuff after reading the inset only get the information back from
9855 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9857 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9859 * LaTeXFeatures.C (getBabelOptions): New method.
9861 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9863 * BufferView_pimpl.C (Dispatch): work around missing argument for
9866 2002-05-08 Juergen Vigna <jug@sad.it>
9868 * text.C (leftMargin): handle paragraph leftindent.
9870 * paragraph.C (writeFile): write the new \\leftindent tag.
9871 (validate): handle leftindent code.
9872 (TeXEnvironment): handle paragraphleftindent code again.
9874 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9876 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9877 for paragrap_extra indent code and new token \\leftindent.
9878 (latexParagraphs): handle the leftindent as environment.
9880 * ParameterStruct.h: added leftindent support.
9882 * ParagraphParameters.C (leftIndent): added support functions for
9883 the paragraph left indent.
9885 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9888 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9890 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9893 * text.C (computeBidiTables): No bidi in insetERT.
9895 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9898 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9900 * version.C.in: pre 5
9902 2002-05-02 José Matos <jamatos@fep.up.pt>
9903 * buffer.C (makeDocBookFile): white space changes, add newline to
9905 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9907 * tabular.C (docBook): fix typo.
9909 2002-05-03 Juergen Vigna <jug@sad.it>
9911 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9912 change in LyXText as we can not be sure it was not freed.
9913 (drawOneRow): remove unused code.
9915 * text.C (drawInset): redo the calculation of the need_break_row as
9916 it could have a row which was already freed.
9917 (draw): look at the return value of drawInset and return false if
9918 it also returned false.
9919 (paintRowText): look at the return value of draw and return false if
9920 it also returned false.
9922 * lyxtext.h: added bool return type to drawInset() and draw() so that
9923 if we have a change in the row so that the rowbreak has to be redone
9924 we abort drawing as it will be called again.
9926 2002-05-02 Juergen Vigna <jug@sad.it>
9928 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9929 a change in the maintext also if we're inside an inset.
9930 (Dispatch): set the cursor again after a break line and after the
9931 screen has been updated as it could be we're in a different row.
9933 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9934 to set the cursor behind the pargraph with > size().
9935 (setCursor): check also for the same paragraph when checking where
9936 to put the cursor if we have a NFR inset.
9938 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9939 parts of layout read further up as it still was in the wrong
9942 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9944 * screen.C (drawFromTo): change sine fullRebreak always return
9947 * buffer.C (parseSingleLyXformat2Token): reindent some
9949 * BufferView_pimpl.C (update): change since fullRebreak always
9951 (Dispatch): git rid of the last hardcoded "Standard"s.
9953 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9955 * text2.[Ch] (fullRebreak): make it return void now that we always
9958 2002-04-30 Juergen Vigna <jug@sad.it>
9960 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9961 ert compatibility check for "latex" layout.
9963 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9965 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9966 minipages: use col% instead of p%, and also use the current font.
9967 (makeLaTeXFile): Fix use babel condition.
9968 (parseSingleLyXformat2Token): Correct font when reading old floats.
9970 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9972 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9973 inserting list of floats.
9975 2002-04-25 Herbert Voss <voss@lyx.org>
9977 * MenuBackend.C (expand): don't add the graphics extensions to the
9980 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9982 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9983 non-existing layout, do not complain if it was the default layout
9984 of the original class (bug #342)
9986 2002-04-24 Juergen Vigna <jug@sad.it>
9988 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9989 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9991 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9993 * buffer.C (getBibkeyList): If using \bibliography, return the
9994 option field with the reference itself. Enables us to provide natbib
9995 support when using \bibliography.
9997 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9999 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10001 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10002 natbib is provided by the LaTeX class.
10004 2002-04-23 Juergen Vigna <jug@sad.it>
10006 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10009 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10011 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10013 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10015 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10016 ensuremath around textordmasculine, textordfeminine and
10019 2002-04-19 Juergen Vigna <jug@sad.it>
10021 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10022 reinitializing the buffer otherwise row-dimensions may be wrong.
10023 (update): reset also the selection cursors if they do exits otherwise
10024 their x/y positions may be wrong.
10026 * text2.C (cursorDown): don't enter the inset if we came from a row
10027 above and are one row over the inset.
10029 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10030 really leaving an inset.
10032 2002-04-18 Juergen Vigna <jug@sad.it>
10034 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10035 of the selected paragraph does not have the selected layout also if
10038 * text2.C (setLayout): fixed bug which did not change last selected
10041 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10042 changed the read and substituted \\end_float with \\end_inset!
10044 * BufferView_pimpl.C (cursorPrevious):
10045 (cursorNext): fixed to make it work with rows heigher than the work
10046 area without moving the cursor only the draw of the row.
10047 (workAreaMotionNotify): fix jumping over high rows.
10049 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10051 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10054 2002-04-16 Juergen Vigna <jug@sad.it>
10056 * text2.C (setCursor): set also the irow().
10057 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10059 (cursorDown): support for locking an inset if the x_fix value goes
10060 inside it. That way I can transverse insets too with cursor up/down.
10062 * lyxrow.h: added irow helper function same as other (i) functions.
10064 * BufferView_pimpl.C (cursorPrevious):
10065 (cursorNext): fixed for insets!
10067 2002-04-15 Juergen Vigna <jug@sad.it>
10069 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10070 position otherwise it is wrong in some cases.
10072 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10073 inside the inset before the call.
10075 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10077 * buffer.[Ch] (getBibkeyList): make it const.
10079 2002-04-12 Juergen Vigna <jug@sad.it>
10081 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10083 * text2.C (getCursorX): new helper function
10084 (setCursor): compute also ix_
10085 (setCursorFromCoordinates): set also ix.
10087 * lyxcursor.h: added ix_ and helper functions.
10089 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10091 * buffer.C (insertStringAsLines): dont break paragraph if the this
10092 paragraph is inside an inset which does not permit it!
10094 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10095 also with no chars on this paragraph.
10096 (paintRowText): only paint stuff if it's inside the workarea!
10098 * paragraph.C (breakParagraph): honor keepempty flag and break the
10099 paragraph always below not above.
10101 * BufferView2.C (unlockInset): update the paragraph layout on inset
10102 unlock as we changed paragraph in such a case.
10104 * lyxfind.C (LyXFind): clear the former selection if not found!
10106 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10107 again called in insertChar().
10109 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10110 an inset which uses the whole row!
10111 (rightMargin): ditto.
10112 (insertChar): force a rebreak if we inserted an inset!
10114 2002-03-28 Herbert Voss <voss@lyx.org>
10116 * lyxlength.[Ch]: add inBP() to get the right PS-point
10117 units (BigPoint). With inPixels we have rounding errors
10119 2002-04-11 Juergen Vigna <jug@sad.it>
10121 * text2.C (setCursorFromCoordinates): set iy to the right value.
10122 (setCursor): add check if row->previous exists!
10124 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10125 an old float_type as this was the case in the old code!
10127 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10129 * BufferView2.C (showLockedInsetCursor): use iy
10130 (fitLockedInsetCursor): ditto
10132 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10133 locked insets as there we have the right value now.
10135 * lyxcursor.C: added iy_ variable and iy functions to set to the
10136 baseline of cursor-y of the locked inset.
10138 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10139 (setCursor): fixed for insets which need a full row.
10141 * text.C (rowLastPrintable): don't ignore the last space when before
10142 an inset which needs a full row.
10143 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10144 as last character of a row when before a inset which needs a full row.
10146 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10148 * version.C.in: update date
10150 * text2.C (fullRebreak): try to always return true and see what
10153 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10155 * MenuBackend.C (expand): use Floating::listName
10157 * FloatList.C (FloatList): add listName argument to the built-in
10160 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10161 text associated with the float.
10163 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10165 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10167 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10169 * ShareContainer.h: add a couple of missing typenames.
10171 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10173 * lyxrc.C (getDescription): use _() correctly rather than N_().
10175 2002-03-28 Herbert Voss <voss@lyx.org>
10177 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10178 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10180 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10182 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10183 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10185 2002-03-29 Juergen Vigna <jug@sad.it>
10187 * lyxfunc.C (dispatch): add a missing fitCursor call.
10189 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10190 it was scrolled by a cursor move, so return the bool status.
10192 * BufferView.C (fitCursor): return the bool flag also to the outside
10193 world as this is needed.
10195 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10197 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10198 call the edit() as it is not needed (and wrong) IMO.
10199 (workAreaButtonPress): set the screen_first variable before evt.
10200 unlock the inset as this may change screen_first and then we have
10201 a wrong y position for the click!
10203 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10205 * MenuBackend.C (expand): another translation that I missed
10207 2002-03-28 Juergen Vigna <jug@sad.it>
10209 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10211 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10213 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10215 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10217 * MenuBackend.C (expand): fix export/view/update when there is no
10220 2002-03-27 Herbert Voss <voss@lyx.org>
10222 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10225 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10227 * bufferview_funcs.C (currentState): only show paragraph number
10228 for is DEVEL_VERSION is set.
10230 * lyxfunc.C (dispatch): put warning in INFO channel
10232 * MenuBackend.C (expand): translate the name of floats
10234 * FloatList.C (FloatList): mark the float names for translation
10236 * converter.C (convert): use LibScriptSearch
10238 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10240 * MenuBackend.C (defaults): fix default menu (we might as well get
10243 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10245 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10248 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10250 * lyxvc.C: reorder includes.
10252 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10254 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10257 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10259 * CutAndPaste.C: change layouts earlier on paste
10260 to avoid crashing when calling getFont()
10262 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10264 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10267 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10269 * WorkArea.C: remove 'Pending' debug message.
10271 * most files: ws cleanup
10273 * buffer.[Ch]: ws changes
10275 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10277 2002-03-21 Juergen Vigna <jug@sad.it>
10279 * tabular.C (SetMultiColumn): collapse also the contents of the
10280 cells and set the last border right. Added a Buffer const * param.
10282 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10284 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10287 2002-03-19 Juergen Vigna <jug@sad.it>
10289 * text2.C (clearSelection): reset also xsel_cache.
10291 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10292 where it needs to be called (John tells us to do so too :)
10293 (selectionLost): reset sel_cache.
10295 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10297 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10299 * text2.C (setCursorIntern): put debuging code in INSETS channel
10301 2002-03-19 André Pönitz <poenitz@gmx.net>
10303 * lyxfunc.C: tiny whitespace change
10305 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10307 * ToolbarDefaults.C (init):
10308 * LyXAction.C (init):
10310 * BufferView_pimpl.C (Dispatch):
10311 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10313 2002-03-19 Allan Rae <rae@lyx.org>
10315 * exporter.C (Export): removeAutoInsets before doing anything else.
10316 While I've just introduced a dependency on BufferView this really is
10317 the best place to clean the buffer otherwise you need to cleanup in
10318 a dozen places before calling export or cleanup in a dozen functions
10321 * converter.C (runLaTeX):
10322 (scanLog): Better handling of removeAutoInsets and screen updates.
10324 * lyxfunc.C (dispatch): small whitespace changes
10326 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10328 * WorkArea.C (C_WorkAreaEvent): return a value.
10329 (event_cb): return 1 if we handled the event, 0 otherwise.
10331 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10333 2002-03-18 Juergen Vigna <jug@sad.it>
10335 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10336 (GetAdditionalWidth): ditto.
10337 (RightLine): ditto.
10340 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10341 inset if we're there actually (probably not used right now but this
10342 is the direction to go for unifying code).
10343 (paste): disable code to clear the selection.
10345 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10346 inside an InsetText and move the check further up as it is in the
10349 * text2.C (pasteSelection): set a selection over the pasted text.
10351 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10353 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10354 and libgraphics to build on Cygwin.
10356 2002-03-15 Juergen Vigna <jug@sad.it>
10358 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10359 inserting an Inset into the paragraph. I know this is not the best
10360 fix but we already use current_view in CutAndPaste so we will remove
10361 all of it's using at the same time.
10363 * buffer.C (sgmlError): deactivated function till it is rewritten in
10364 the right mode, now it can create problems.
10366 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10367 before accessing it.
10369 2002-03-14 Juergen Vigna <jug@sad.it>
10371 * undo_funcs.C (textHandleUndo): do the right thing when updating
10372 the inset after the undo/redo.
10374 * text2.C (setCursor): just some testcode for #44 not ready yet.
10376 * undo_funcs.C (textHandleUndo): set the next() and previous()
10377 pointers of the paragraph to 0 before deleting otherwise we have
10378 problems with the Paragraph::[destructor].
10380 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10381 on a paragraph insertion.
10383 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10385 * buffer.C (asciiParagraph): use += operator for char append to
10388 * paragraph.C (getFontSettings): compare >= not just >
10389 (highestFontInRange): ditto
10392 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10394 * paragraph.C: change several algorithm to be more appripriate for
10395 the problem domain. This is lookip in FontList and in the InsetList.
10397 2002-03-13 André Pönitz <poenitz@gmx.net>
10400 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10402 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10407 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10409 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10411 * Painter.C (display): anon helper function, adjust code for this
10413 (pixmap): remove function.
10415 * Painter.h: remove private display variable.
10417 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10419 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10421 * WorkArea.[Ch]: remove figinset_canvas cruft.
10423 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10425 * lyxtextclass.C (operator): add one item cache optimization.
10427 * bufferlist.h: doxy changes
10429 * bufferlist.C: ws changes
10431 * DepTable.[Ch] (ext_exist): place const in the right spot.
10433 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10435 (workAreaExpose): call resizeInsets when the with BufferView changes.
10436 (Dispatch): adjust for protectedBlank removal
10437 (specialChar): call updateInset if the insert went ok.
10439 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10440 specialChar instead.
10442 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10444 * BufferView.h: doxy change
10446 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10448 * lyxtextclass.C (operator[]): remove non-const version
10449 (defaultLayout): remove non-const version
10451 2002-03-12 Juergen Vigna <jug@sad.it>
10453 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10454 did resize the LyXText too.
10456 * buffer.C (readLyXformat2): set layout information on newly allocated
10459 * tabular.C (OldFormatRead): set layout information on the paragraph.
10461 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10463 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10465 2002-03-11 Juergen Vigna <jug@sad.it>
10467 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10469 (resizeCurrentBuffer): force also the insets to resize themselfes.
10470 (moveCursorUpdate): fixed up for InsetText.
10472 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10475 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10476 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10477 value of Dialogs::tooltipsEnabled().
10478 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10480 2002-03-08 Juergen Vigna <jug@sad.it>
10482 * BufferView_pimpl.C (updateInset): update inset inside inset also
10483 if it isn't inside theLockingInset().
10485 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10487 * buffer.C (asciiParagraph): redo some of the word and line length
10489 (getLists): look for Caption instead of caption.
10491 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10493 * buffer.C (Buffer): initialize niceFile to true
10495 (makeLinuxDocFile):
10496 (makeDocBookFile): make sure niceFile is true on exit
10498 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10500 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10502 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10504 * LyXSendto.C: remove.
10505 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10506 * lyx_gui.C: remove now-redundant comment.
10507 * ColorHandler.h: remove forward declaration of class WorkArea.
10508 * lyxfunc.C: remove #include "WorkArea.h".
10510 2002-03-07 Juergen Vigna <jug@sad.it>
10512 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10513 got moved away with the DEPM and also set the inset_owner always
10514 right which before could have been omitted.
10516 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10518 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10519 wanted layout is not found.
10521 2002-03-07 Juergen Vigna <jug@sad.it>
10523 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10525 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10527 * paragraph.C (breakParagraph): use default layout not layout of
10529 (Paragraph): clear ParagraphParameters.
10531 2002-03-06 Juergen Vigna <jug@sad.it>
10533 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10534 otherwise it would not be a valid lenght. Fixed a special case in
10535 the minipage compatibility read where we end the document with a
10538 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10539 was set as it could be 0 for InsetTexts first entry.
10541 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10543 * paragraph.C (writeFile): if layout is empty write out
10544 defaultLayoutName().
10546 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10547 file without named layout we set layout to defaultLayoutName().
10549 2002-03-06 Juergen Vigna <jug@sad.it>
10551 * CutAndPaste.C (copySelection): set layout for new paragraph.
10553 * text.C (prepareToPrint): leave ERT inset left aligned
10554 (leftMargin): don't indent paragraphs inside ERT insets
10556 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10558 * paragraph.C (breakParagraph): dont call clear do the work manually
10560 * paragraph.[Ch] (clear): remove function
10562 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10564 * paragraph.C (Paragraph): dont call clear, the work has already
10567 * lyxtextclass.C (operator): assert if n is empty
10569 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10570 work manually instead.
10572 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10574 * BufferView_pimpl.C: protect selectionLost against text == 0
10576 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10578 * text.C (breakParagraph): fix a setting layout to '0' problem.
10580 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10582 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10583 final location of file, for the included files, and graphics.
10585 2002-03-05 Juergen Vigna <jug@sad.it>
10587 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10589 2002-03-04 Juergen Vigna <jug@sad.it>
10591 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10593 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10594 last column of multicolumn cells.
10595 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10597 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10599 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10600 file if it doesn't go to a temporary file.
10602 * buffer.C (sgmlOpenTag):
10603 (sgmlCloseTag): remove extra newline insertion.
10605 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10607 * text.C (getRowNearY): comment out debug msg
10609 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10611 * text2.C: first -> first_y
10613 * text.C (getRowNearY): add some attemts at a possible
10614 optimization, not working.
10616 * tabular.[Ch]: add BufferParams to several function so that newly
10617 created paragraph can be initialized to he default layotu for the
10620 * tabular-old.C (ReadOld): add buf->params to call of Init
10622 * screen.C: rename text->first to text->first_y
10624 * paragraph.C (breakParagraph): always set layout in the broken
10627 * lyxtextclass.C (Read): remove lowercase
10630 (delete_layout): ditto
10632 * lyxtext.h: rename first -> first_y
10634 * lyxlayout.C (Read): remove lowercase
10637 (obsoleted_by): ditto
10639 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10641 * buffer.C (insertErtContents): add params are to InsetERT
10642 (parseSingleLyXformat2Token): add code to check if a paragraphs
10643 layout really exist.
10644 (parseSingleLyXformat2Token): add params to several inset
10646 (asciiParagraph): remove lowercase, do the layout comparisons with
10649 * BufferView_pimpl.C (cursorNext): first -> first_y
10650 (resizeCurrentBuffer): first -> first_y
10651 (updateScrollbar): first -> first_y
10652 (scrollCB): first -> first_y
10653 (workAreaMotionNotify): first -> first_y
10654 (workAreaButtonPress): first -> first_y
10655 (checkInsetHit): first -> first_y
10656 (cursorPrevious): first -> first_y
10657 (cursorNext): first -> first_y
10658 (Dispatch): add buffer_->params to severl inset contructors
10660 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10662 * lyxlayout.C (Read): remove some debug info that I forgot.
10664 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10665 clean up the code slightly.
10666 (makeLinuxDocFile): ditto
10667 (makeDocBookFile): ditto
10669 * text2.C: layout as string
10671 * text.C: layout as string
10673 * paragraph_pimpl.C: layout as string
10675 * paragraph.[Ch]: layout as string
10677 * lyxtextclasslist.[Ch]: layout as string
10679 * lyxtextclass.[Ch]: layout as string
10681 * lyxtext.h: layout as string
10683 * lyxlayout.[Ch]: layout as string
10685 * lyx_cb.C: layout as string
10687 * bufferview_funcs.C: layout as string
10689 * bufferparams.C: layout as string
10691 * buffer.C: layout as string
10693 * LyXView.[Ch]: layout as string
10695 * LaTeXFeatures.[Ch]: layout as string
10697 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10699 * BufferView_pimpl.C: change current_layout to string, remove
10704 (workAreaButtonRelease): layout as string
10706 * BufferView2.C (unlockInset): adjust
10708 * vspace.C (asLatexCommand): use an explict temp variable.
10710 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10712 * Makefile.am: use FRONTEND_*
10714 2002-03-01 Juergen Vigna <jug@sad.it>
10716 * tabular.C (SetWidthOfMulticolCell): changed to something better
10717 I hope but still work in progress.
10718 (recalculateMulticolumnsOfColumn): renamed function from
10719 recalculateMulticolCells as it is more appropriate now.
10720 (SetWidthOfCell): calculate multicols better.
10722 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10724 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10726 * lyxfunc.C (processKeySym): print sequence also if it is
10727 `deleted' (complete)
10729 * kbsequence.C (print): print sequence even if it is deleted
10730 (complete would be a better word, actually).
10732 * lyxfunc.C (dispatch): print complete options after a prefix key
10734 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10736 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10738 * text2.C (setCharFont): eliminate setCharFont code duplication.
10740 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10742 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10743 LFUN_TABULAR_FEATURE (bug #177)
10745 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10747 * Makefile.am: remove figure.h
10749 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10751 * Bufferview_pimpl.C:
10763 * text2.C: remove #include "lyx_gui_misc.h".
10765 * LaTeX.C: added #include <cstdio>
10767 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10769 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10770 that the paragraph following this one can have.
10772 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10774 * vspace.C (asLatexCommand): fix bogus gcc warning
10776 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10778 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10780 * text2.C (setLayout): get rid of redundant code
10782 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10784 * text2.C (incDepth): make sure depth cannot be increased beyond
10787 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10789 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10790 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10792 * PainterBase.h (image):
10793 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10794 a LyXImage const *.
10796 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10800 * BufferView_pimpl.C:
10801 * BufferView_pimpl.h:
10821 * sp_spell.C: remove fig inset, and the crap house of
10822 cards that follows it
10824 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10829 * os2_errortable.h:
10830 * nt_defines.h: move .h into support/
10832 * vms_defines.h: remove
10834 * WorkArea.C: add space in debug output
10838 * buffer.C: add WITH_WARNINGS
10842 * bufferlist.C: s/retrive/retrieve/, add docs
10851 * chset.C: add docs
10853 * lyxgui.C: add ID to X error handler
10855 * lyxtestclass.c: fix typo
10857 2002-02-26 Juergen Vigna <jug@sad.it>
10859 * tabular_funcs.C (write_attribute): changed so that some default
10860 attributes are not written at all.
10861 (getTokenValue): set default values before trying to read the
10862 value so we have the return value always set as default if we don't
10863 find the token we search for.
10865 * tabular.C (Write): write bools as bools not as strings!
10867 2002-02-22 Juergen Vigna <jug@sad.it>
10869 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10870 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10872 * text.C (leftMargin): don't add an indent for paragraphs inside
10873 tabular cells (fix #208).
10875 2002-02-21 José Matos <jamatos@fep.up.pt>
10877 * tabular.C (docBook): fixed support for long tables.
10879 2002-02-20 Juergen Vigna <jug@sad.it>
10881 * text2.C (getFont): get the drawing font of the Inset if this
10882 paragraph is inside an inset (only important for InsetERT for now).
10884 * buffer.C (insertErtContents): use new lanugage params in ERT
10887 * CutAndPaste.C: commenting out seemingly uneeded code.
10889 2002-02-19 Allan Rae <rae@lyx.org>
10891 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10892 Iterators might be simple to use but they also get invalidated.
10893 (removeAutoInsets): renamed saved cursor tracking variables and added
10894 some comments to clarify what everything does.
10896 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10903 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10904 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10907 * vc-backend.h: remove #include "support/syscall.h"
10911 * converter.C: rearrange #includes in Lars' approved fashion.
10913 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10914 forward declare class Timeout in the header file.
10916 * XFormsView.C: changes due to the above.
10918 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10919 similar to LyXView.
10921 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10922 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10924 2002-02-18 José Matos <jamatos@fep.up.pt>
10926 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10929 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10931 * a lot of small ws changes
10932 * add a lot of using std::XXX
10933 * use std construcs some places where approp.
10934 * use some exisint stuff from lyxfunctional where approp.
10935 * Make file changes to use partial linking (lets test this now...)
10937 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10941 remove #include "support/syscontr.h" as it's redundant. Always has been.
10949 change Systemcalls::System to Systemcalls::Wait and
10950 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10951 No change of functionality, just reflects the stripped down Systemcalls
10954 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10956 * debug.[Ch]: add a GRAPHICS type to the enum.
10958 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10960 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10962 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10965 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10967 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10968 match the changes below.
10970 * text2.C (toggleInset): if there is not editable inset at cursor
10971 position, try to see if cursor is _inside_ a collapsable inset
10974 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10976 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10977 document menu has a nice checkbox
10979 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10981 * lyxlength.C (asLatexString): change PW to output as percent of
10984 * lengthcommon.C: change '%' to 't%'
10986 * lyxfunc.C (dispatch): a few comments from Martin
10988 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10992 * BufferView_pimpl.h:
10993 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10996 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10998 * vspace.C (inPixels): fix compiler warning
11000 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11002 * lyxfunc.C (getStatus): fix status message for disabled commands.
11004 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11006 * BufferView_pimpl.C: fix crash on close buffer
11007 during selection (#227)
11009 2002-01-27 Herbert Voss <voss@lyx.org>
11011 * buffer.C: link old Figure to new graphic inset
11013 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11015 * FontLoader.C (getFontinfo): Change the latex font names in order
11016 to match the names of type1inst.
11018 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11020 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11022 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11023 (extchanged): ditto
11025 (remove_files_with_extension): ditto
11026 (remove_file): ditto
11029 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11030 document is smaller than the work area height. Do not initialize
11031 static variables to 0.
11033 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11035 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11037 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11038 LFUN_LAYOUT_PARAGRAPHS.
11040 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11041 tabular. It is possible to provide a possible cell, which will
11042 typically be the actcell from the corresponding insettabular
11044 * lyxfunc.C (getStatus): small cleanup; disable
11045 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11048 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11050 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11052 * paragraph.C (startTeXParParams):
11053 (endTeXParParams): new methods. The LaTeX code to
11054 start/end paragraph formatting
11055 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11056 empty (fixes bug #200)
11058 * vspace.C (inPixels): adapt to the change below
11059 (inPixels): [later] more cleanups (remove unused variables)
11061 * lyxlength.C (inPixels): change to use a width and a height as
11064 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11066 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11067 Replaced with \paperwidth
11069 * DepTable.C (insert): add std:: qualifier
11071 2002-01-18 Allan Rae <rae@lyx.org>
11073 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11076 * text.C (drawInset): Turned out I didn't know enough about how
11077 rebreaking worked. This fixes most of the redraw problems. I see
11078 an occasional cursor trail when a line is broken now and the cursor
11079 placement can seem out by a few pixels also after a rebreak.
11081 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11083 * buffer.C (parseSingleLyXformat2Token): update because minipage
11084 width is now a LyXLength
11086 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11088 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11091 2002-01-17 Juergen Vigna <jug@sad.it>
11093 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11095 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11096 is set correctly and the inset is updated correctly.
11098 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11100 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11101 the beginning of the loop.
11103 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11105 * lyxrc.C: improve help for use_scalable_fonts
11107 2002-01-17 Allan Rae <rae@lyx.org>
11109 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11111 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11113 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11114 make sure to set their inset_owner to the right value (bug #171)
11116 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11119 * DepTable.C: Implement mtime checking to reduce time spent doing
11122 2002-01-16 Juergen Vigna <jug@sad.it>
11124 * tabular.C (GetAdditionalHeight): one of error fixed.
11126 * lyxrc.C (output): small fix in writing use_pspell.
11128 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11130 * sp_base.h: #include LString.h
11132 2002-01-16 Allan Rae <rae@lyx.org>
11134 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11135 Can someone check this please?
11137 * text.C (drawInset): It was possible that p.row would be removed by
11138 breakAgainOneRow upsetting a few other settings. There may be another
11139 small tweak possible by setting need_break_row = 0 when p.row has been
11140 removed but I don't know enough about the logic here.
11142 2002-01-15 Allan Rae <rae@lyx.org>
11144 * text.C (insertChar): removed conditional truism.
11146 * BufferView2.C (removeAutoInsets): More tweaks.
11147 cur_par_prev could be a stray pointer. Check for trailing empty line
11148 in case last line was cur_par and only had an error inset on it.
11150 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11152 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11155 * vc-backend.C (most methods):
11156 * exporter.C (Export):
11157 * converter.C (convert):
11159 * LyXSendto.C (SendtoApplyCB):
11160 * lyxfunc.C (dispatch):
11164 * lyx_cb.C (AutoSave):
11166 * BufferView_pimpl.C (MenuInsertLyXFile):
11167 * buffer.C (runChktex): use Buffer::filePath().
11169 * buffer.h: rename filename to filename_; rename filepath to
11170 filepath_ and make it private
11171 (filePath): new method
11173 * buffer.C (writeFile): use fileName()
11176 * lyx_main.C (init): fix starting of LyX when the binary is a
11177 link from so,ewhere else.
11179 * minibuffer.C: include <cctype> for isprint
11181 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11183 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11184 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11185 name clash with InsetCollapsable's width function.
11187 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11189 * lastfiles.C: include <iterator>
11191 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11193 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11196 * buffer.C (makeLaTeXFile): ditto.
11197 Also make loop operation more transparent.
11199 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11201 * ToolbarDefaults.C: remove trailing comma closing namespace.
11203 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11205 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11208 * trans.C (Load): comment out unused variable, allowed.
11210 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11212 * minibuffer.[Ch] (append_char): new method to recieve input from the
11213 drop-down completion browser. If a key was pressed, then recieve this
11214 char and append it to the existing string.
11215 (peek_event): modify the positioning data passed to the completion
11216 browser so that it can be placed above the minibuffer rather than below.
11217 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11219 * LyXAction.C (init): alloe error-next for readonly documents.
11221 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11224 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11226 * bufferlist.C (readFile): create the buffer _after_ checking that
11229 * lyxfunc.C (verboseDispatch): fix handling of arguments
11231 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11233 * lyxrc.C: use string::erase() instead of initializing to "".
11236 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11238 * BufferView_pimpl.h:
11239 * BufferView_pimpl.C:
11242 * text2.C: tell X when we have made a selection for copying
11244 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11246 * BufferView_pimpl.C (MenuInsertLyXFile):
11247 * lyxfunc.C (menuNew):
11249 (doImport): add shortcuts to directory buttons
11251 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11254 * lyxfunc.C (setStatusMessage):
11255 (getStatusMessage): new methods
11256 (getStatus):use setStatusMessage instead of setErrorMessage
11257 (dispatch): when function is disabled, set error message here
11258 [instead of in getStatus previously]
11260 * BufferView_pimpl.C (workAreaButtonRelease): update
11261 toolbar/menubar here too.
11263 2002-01-13 Allan Rae <rae@lyx.org>
11265 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11266 Now seems indestructible. Remaining task is to audit all other
11267 code affected by deleteEmptyParagraphMechanism. One small quirk
11268 left is that an empty document with an error in the preamble can
11269 be made to report an error but no error box appears. I don't know
11271 (removeAutoInsets): Improved comments.
11273 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11276 * Thesaurus.C: update for Aiksaurus 0.14
11278 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11280 * text2.C (firstParagraph): removed member function, all uses
11281 replaces with ownerParagraph
11282 (redoParagraphs): here
11283 (updateInset): here
11284 (toggleAppendix): here
11285 * BufferView2.C (insertErrors): here
11286 (setCursorFromRow): here
11288 2002-01-13 Allan Rae <rae@lyx.org>
11290 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11291 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11292 There is still a way to segfault this although you may have to do this
11293 multiple times: Have an InsetERT with an unknown command in it.
11294 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11295 <down-arrow>, <Enter> again, View->DVI, BANG!
11297 * text2.C (setCursor):
11298 (deleteEmptyParagraphMechanism):
11299 * lyxtext.h (setCursor):
11300 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11301 Making use of the return value may help fix other bugs.
11303 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11305 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11307 * LyXView.C (updateMenubar): call MenuBar::update here
11308 (updateToolbar): but not here
11309 (showState): do not update toolbar/menubar
11311 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11312 should need to care about that.
11314 * lyxfunc.C (verboseDispatch): simplify a bit
11315 (getStatus): have a version which takes a pseudoaction, and
11316 another which requires a (kb_action,string).
11318 * LyXAction.C (retrieveActionArg): make it work also when action
11319 is not a pseudo-action.
11320 (getActionName): simplify a bit
11323 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11325 * lyxfunc.C (verboseDispatch): new families of methods with
11326 several ways to specify a command and a bool to indicate whether
11327 the command name and shortcut should be displayed in minibuffer
11328 (eventually, we could extend that to a finer bitmask like
11329 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11330 (dispatch): the pristine dispatch command which just, well,
11331 dispatchs! Note it still sets its result to minibuffer; I'm not
11334 * lyxfunc.h: remove setHintMessage
11336 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11338 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11340 * BufferView_pimpl.C (specialChar): delete new inset if we have
11341 not been able to insert it.
11343 * kbmap.C: revert to using int instead of kb_action, since all we
11344 are dealing with is pseudo-actions.
11346 * LyXAction.C (searchActionArg): change to return int instead of
11347 kb_action, since the result is a pseudoaction.
11349 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11351 * buffer.C (insertErtContents): Fix (partially) the font bug.
11353 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11355 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11356 as the other one is broken on my machine!
11358 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11361 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11363 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11365 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11366 reflect their actual use. Provide compatibility code for older lyxrc
11369 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11371 change names of popup font variables in line with the changes to lyxrc.C
11373 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11375 * buffer.C (asciiParagraph): avoid outputing a word twice after
11378 * lyxrc.C (getDescription): document that document_path and
11379 template_path can be empty.
11381 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11383 * LaTeXFeatures.C (getMacros):
11384 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11386 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11388 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11390 (getPackages): rename feature "floats" to "float". Use an array to
11391 iterate over 'simple' features (i.e. just a \usepackage). Add
11392 handling of "amsmath" (renamed from "amsstyle").
11394 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11396 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11399 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11401 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11402 FuncStaus::FuncStatus & FuncStaus::some_method().
11404 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11406 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11407 of the func_satus stuff. Edited and massaged in various ways by
11410 * lyxfunc.C (getStatus): use FuncStatus
11412 2002-01-08 Juergen Vigna <jug@sad.it>
11414 * text.C (nextBreakPoint): use function Inset::isChar().
11416 * paragraph.C (TeXOnePar): use function
11417 Inset::forceDefaultParagraphs.
11419 * buffer.C (latexParagraphs): use function
11420 Inset::forceDefaultParagraphs.
11422 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11424 * lyx_gui.C (init): set the style of the menu popups to
11425 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11427 2002-01-07 Juergen Vigna <jug@sad.it>
11429 * text.C (setHeightOfRow): small fix
11430 (prepareToPrint): don't look at alignment if we don't have the place
11433 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11435 * box.C: New file. Move the Box methods and functions out of box.h,
11436 following Lars' suggestion.
11438 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11440 * box.h: #include "support/LOstream.h", needed for inlined function.
11443 * lyxtextclasslist.C: added some using std declarations.
11445 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11447 * box.h: make signed dimensions to allow insets wider than
11448 the screen (bug #162)
11450 * BufferView_pimpl.C: add some insetHit debug
11452 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11454 * vc-backend.C: add FIXME
11456 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11458 * lyxfunc.C (getStatus): enable code for showing math font status
11461 2002-01-07 Juergen Vigna <jug@sad.it>
11463 * text.C (nextBreakPoint): removed debug output not needed anymore.
11465 2002-01-06 Juergen Vigna <jug@sad.it>
11467 * text.C (nextBreakPoint): fixed up this function we had this bug
11468 since ever but now hopefully we break row better.
11469 (insertChar): we have to check if an inset is the next char as it
11470 could now happen that a large inset is causing a break.
11472 2002-01-05 Juergen Vigna <jug@sad.it>
11474 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11475 if it doesn't like to be drawed.
11477 2002-01-04 Juergen Vigna <jug@sad.it>
11479 * BufferView2.C (lockInset): forgot to set a cursor.
11481 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11483 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11485 * FormMathsPanel.C:
11488 * form_maths_panel.C:
11489 * form_maths_panel.h:
11490 * form_maths_panel.fd: implemented sub- and super- buttons in math
11493 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11494 (or ^ space) to be used as in TeX (req'd by André).
11496 * lyxfunc.C: Allow ^ and _ again to be used both as
11497 super/subscript (mathed) and as themselves (in text).
11499 2002-01-03 Allan Rae <rae@lyx.org>
11501 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11502 "LyX" or the filename of the current buffer if it has one. This is a
11503 modified form of John Levon's patch.
11505 * XFormsView.C (setWindowTitle): also set icon title.
11507 * LyXView.h (setWindowTitle): signature changed.
11508 * XFormsView.h (setWindowTitle): ditto.
11510 2002-01-02 Juergen Vigna <jug@sad.it>
11512 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11514 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11516 * screen.C (topCursorVisible): introduce a temp var for
11517 text->cursor.row(), handle the case where this row is null. (kindo
11520 * text2.C (setCursor): add a couple of asserts.
11522 * paragraph.h (inset_iterator): add -> operator
11524 * paragraph.[Ch] (autoDeleteInsets): remove member function
11526 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11527 cursor pos correctly and handle inset deletion by itself.
11528 (insertErrors): move iterator declaration out of for expression
11530 * lyxtextclass.C: add <algorithm>
11532 * Makefile.am: added the new files to sources, removed layout.C
11534 * layout.C: removed file
11536 * layout.h: remove LYX_DUMMY_LAYOUT
11538 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11542 * lyxtextclass.[Ch]:
11543 * lyxtextclasslist.[Ch]: new files
11545 * include order changes to a lot of files, also changes because of
11548 2001-12-27 Juergen Vigna <jug@sad.it>
11550 * buffer.C (asciiParagraph): more fixes.
11552 * tabular.C (ascii): make ascii export support export of only the
11553 data separated by a column-delimiter.
11554 (ascii): better support for ascii export.
11556 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11558 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11560 * tabular_funcs.C: use a "using std::getline" instead of the
11561 previous fix from Angus (necessary for cxx + lyxstring)
11563 2001-12-24 Juergen Vigna <jug@sad.it>
11565 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11567 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11568 problems. First check a minipage also if we have some ert-contents
11569 (not only on par->size(), second set the right depth of the paragraph
11570 on the relink to the root-paragraph-list!
11572 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11573 which then did not anymore update the main paragraphs on undo/redo!
11575 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11577 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11578 code. Support all font-changing funcs (even those which are not in
11579 menu currently). Support for reporting font settings in
11580 mathed (disabled until Andre provides a function on mathed's side).
11582 * func_status.h (toggle): small helper function to set toggle
11585 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11587 * tabular_funcs.C: getline -> std::getline
11589 2001-12-21 Juergen Vigna <jug@sad.it>
11591 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11592 accessed and could be 0 (I couldn't generate this but it seems
11595 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11597 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11598 * tabular_funcs.h: here and include iosfwd
11600 2001-12-20 Juergen Vigna <jug@sad.it>
11602 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11603 inside inset but undo_par was.
11605 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11607 * Thesaurus.C: always include <config.h> in sources.
11611 * box.h: do not include <config.h> in header files
11613 * text.C (paintLastRow): remove unused variable
11615 * text.C (transformChar):
11617 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11619 * Painter.C (text):
11620 * font.C (width): rewrite to use uppercase() instead of
11623 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11625 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11627 * lyxfind.C: clean up of find failure position change
11629 2001-12-20 Juergen Vigna <jug@sad.it>
11631 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11633 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11634 (TeXRow): added to LaTeX a single tabular row.
11635 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11636 (Latex): simplified and finally good LT-h/f support.
11637 (various_functions): just small adaptions for LT-h/f support.
11639 * tabular_funcs.[hC]: added and moved here all not classfunctions
11642 2001-12-19 Juergen Vigna <jug@sad.it>
11644 * tabular.[Ch]: better support for longtabular options (not finished
11647 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11649 * text.C (paintLastRow): use the label font instead of the font of
11650 the last character to compute the size of *_BOX. This makes more
11651 sense and avoids a crash with empty paragraphs.
11652 Use Painter::rectangle to draw EMPTY_BOX.
11654 2001-12-19 Juergen Vigna <jug@sad.it>
11656 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11657 the paragraphs if the replaced paragraph is not the first one!
11658 Tried to delete not used paragraphs but does not work yet so for
11659 now it's inside #ifdef's and by default off!
11661 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11663 * MenuBackend.C: include "lyx_main.h" instead of declaring
11664 lastfiles (actually was declared as LastFiles* instead of a
11667 2001-12-17 Juergen Vigna <jug@sad.it>
11669 * tabular.C (AppendColumn): applied John's fix
11671 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11675 * BufferView_pimpl.h:
11676 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11679 * box.h: new start of class for above
11681 * lyxfunc.C: ignore space-only minibuffer dispatches.
11682 Show the command name when it doesn't exist
11684 * minibuffer.C: don't add empty lines to the history
11686 * minibuffer.C: add a space on dropdown completion
11688 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11690 * text.C: fix line above/below drawing in insets
11692 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11694 * lyxlength.C (LyXLength): Initialize private variables.
11696 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11698 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11699 when inserting error insets.
11701 2001-12-13 Juergen Vigna <jug@sad.it>
11703 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11704 actually sometimes the before-paragraph.
11705 (setUndo): don't clear the redostack if we're not actually undoing!
11707 2001-12-06 Juergen Vigna <jug@sad.it>
11709 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11710 and fixed redoing of main paragraph, so we can use it now ;)
11712 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11714 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11716 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11719 2001-12-13 André Pönitz <poenitz@gmx.net>
11722 * undo_func.C: minor cleanup
11724 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11726 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11727 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11728 font in urw-fonts package which is marked as -urw-fontspecific and
11729 does not work (incidentally, changing the encoding in the
11730 fonts.dir of this package to -adobe-fontspecific fixes the
11733 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11734 is a crash when undoing first paragraph (Juergen, please take a
11735 look). THis does not mean the undo fix is wrong, just that it
11738 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11739 the (Paragraph*) version when needed instead of duplicating the
11742 * text.C (workWidth): use Inset::parOwner to find out where the
11743 inset has been inserted. This is a huge performance gain for large
11744 documents with lots of insets. If Inset::parOwner is not set, fall
11745 back on the brute force method
11747 * paragraph_pimpl.C (insertInset):
11748 * paragraph.C (Paragraph):
11749 (cutIntoMinibuffer): set parOwner of insets when
11750 inserting/removing them
11752 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11754 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11760 * mathed/formulabase.C:
11761 * mathed/math_cursor.[Ch]:
11762 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11765 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11767 * lyxlength.[Ch] (operator!=): new function
11769 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11771 * text.C (workWidth): use Inset::parOwner to find out where the
11772 inset has been inserted. This is a huge performance gain for large
11773 documents with lots of insets. If Inset::parOwner is not set, fall
11774 back on the brute force method
11776 * paragraph_pimpl.C (insertInset):
11777 * paragraph.C (Paragraph):
11778 (cutIntoMinibuffer): set parOwner of insets when
11779 inserting/removing them
11781 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11783 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11785 * tabular-old.C (getTokenValue):
11786 * tabular.C (getTokenValue):
11787 (write_attribute): new versions for LyXLength
11788 (everywhere): adjust the use of widths
11790 * tabular.h: change the type of widths from string to LyXLength
11792 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11794 * paragraph.C: fixed missing line number count when exporting
11795 Environments to LaTeX file
11797 * buffer.C: added informational message for checking line numbers.
11799 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11801 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11802 paragraph, do the 'double space' part, but not the 'empty
11805 * text.C (workWidth): small optimization
11806 (getLengthMarkerHeight): use minimal size for negative lengths.
11808 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11810 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11812 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11814 2001-12-11 André Pönitz <poenitz@gmx.net>
11817 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11819 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11821 * text2.C: keep selection on a setFont()
11823 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11825 * lyx_cb.C: another bv->text misuse, from insert label
11827 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11830 * kbsequence.C: re-instate nmodifier mask
11832 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11834 * lyx_main.h: make lyxGUI private.
11836 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11838 * lyxfind.C: place the cursor correctly on failed search
11840 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11842 * text.C (getLengthMarkerHeight): for small heights, the arrows
11843 are not always on top/bottom of the text
11844 (drawLengthMarker): smaller arrows; take the left margin in
11845 account; draw also vfills.
11847 (paintLastRow): remove special code for vfill and standard spaces,
11848 since everything is handled in drawLengthMarker now.
11850 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11852 * buffer.C (insertErtContents): try to handle font and language
11853 interaction a bit better.g
11855 * ColorHandler.C (updateColor): change the hash to cover the whole
11856 LColor enum, ws cleanup
11857 (getGCLinepars): ditto
11858 (getGCLinepars): only lookup in the linecache once.
11860 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11862 * iterators.C (operator++): Make the iterator more robust
11864 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11866 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11868 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11871 * text.C: better added space drawing
11873 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11876 * BufferView2.C: fix layout combo update on inset unlock
11878 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11880 * Makefile.am: don't compile unused files
11882 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11886 * LyXAction.C: remove old LFUN_LAYOUTNO
11888 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11890 * paragraph_pimpl.h:
11891 * paragraph_pimpl.C: isTextAt() doesn't need font param
11893 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11896 * lyxlex.C: little cleanup
11898 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11900 * BufferView_pimpl.C: fix insertAscii for insets
11902 2001-12-05 Juergen Vigna <jug@sad.it>
11904 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11905 set the right font on the "multi" paragraph paste!
11907 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11913 * lyxlength.C: remove out-commented code.
11915 * BufferView_pimpl:
11929 * vc-backend.C: change "while(" to "while ("
11931 * lyxlength.[Ch]: add zero function to check if length is zero or
11933 * lyxgluelength.C: use it
11935 2001-12-05 Allan Rae <rae@lyx.org>
11937 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11938 Works for 2.95.3, from what I understand of Garst's reports this should
11939 work for other g++ versions. We're screwed if the abs(int) definition
11940 changed between bugfix releases of gcc.
11942 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11944 * text.C: fix chapter label offset !
11946 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11949 * text.C: fix hfill at end of line, clean up
11951 2001-12-04 Juergen Vigna <jug@sad.it>
11953 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11954 that we force an update of the inset and it's owners if neccessary.
11956 2001-12-03 Juergen Vigna <jug@sad.it>
11958 * text.C (rowLast): simplified code
11960 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11962 * lyxfunc.C: fix show options on timeout
11964 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11966 * screen.C (topCursorVisible): scroll half a page when the cursor
11967 reached top of bottom of screen
11969 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11971 * minibuffer.C: deactivate on loss of focus
11973 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11975 * vspace.[Ch] (operator!=): add operator.
11977 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11979 * BufferView_pimpl.C: refuse to open an inset when
11980 there's a selection.
11982 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11984 * BufferView_pimpl.C: allow to click on RHS of full row insets
11986 2001-11-30 Juergen Vigna <jug@sad.it>
11988 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11989 insets for undo reasons.
11991 2001-11-28 André Pönitz <poenitz@gmx.net>
11993 * vspace.[Ch]: cosmetical changes
11995 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12005 * kbsequence.C: part re-write of old kb code
12008 * WorkArea.C: remove Lgb_bug_find_hack
12010 2001-11-30 José Matos <jamatos@fep.up.pt>
12012 * buffer.C (makeDocBookFile): add a comment to point a hack.
12013 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12014 Fixed a double write of labels.
12016 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12019 * LaTeX.h Fixed bug in LaTeX class where it would not
12020 re-run latex if no depfiles were changed, but the .dvi was removed.
12022 2001-11-28 André Pönitz <poenitz@gmx.net>
12024 * all the files from the change on 2001/11/26:
12025 use lyx::layout_type instead of LyXTextClass::size_type
12026 use lyx::textclass_type instead of LyXTextClassList::size_type
12028 2001-11-29 Juergen Vigna <jug@sad.it>
12030 * text.C: added support for paragraph::isFreeSpacing()
12032 * buffer.C: same as above
12034 * paragraph.h: inserted isFreeSpacing() function to enable
12035 FreeSpacing inside InsetERT.
12037 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12038 of the paragraph's in the cut/copy buffer to 0!
12040 * text2.C (removeRow): remove the assert as it can!
12042 * lyxtext.h: added helper function firstRow returning firstrow and
12043 made firstrow private again.
12045 * BufferView2.C (lockInset): don't relock if we're already locked!
12047 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12048 the only paragraph.
12049 (removeRow): added Assert::(firstrow)
12051 * debug.C: forgot to add INSETTEXT here.
12053 2001-11-28 Juergen Vigna <jug@sad.it>
12055 * sp_spell.C (initialize): changed error text to more general
12056 spellchecker command use (not only ispell!)
12058 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12060 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12062 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12064 * vspace.C: initialise lyxgluelength on failure
12066 2001-11-28 Allan Rae <rae@lyx.org>
12068 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12069 declaration & definition that looks like a function declaration.
12071 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12073 * BufferView2.C (copy):
12074 (copyEnvironment): do not clear the selection when doing a copy.
12076 * text.C (paintFirstRow): compilation fix
12078 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12080 * tabular.C (Latex): correct line count when writing latex.
12082 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12084 * paragraph_pimpl.h:
12085 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12088 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12092 * LColor.C: change vfillline->added_space
12094 * text.C: add markers and text for added space
12096 * vspace.C: fix comment
12098 2001-11-28 André Pönitz <poenitz@gmx.net>
12100 * paragraph.C: whitespace changes
12101 * all the other files from the change on 2001/11/26:
12102 change *::pos_type into lyx::pos_type
12104 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12106 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12107 language of the document when inserting error insets.
12109 2001-11-26 André Pönitz <poenitz@gmx.net>
12111 * BufferView_pimpl.[Ch]:
12119 * paragraph_pimpl.[Ch]:
12122 * text2.C: reduce header dependencies, introduce type for positions
12124 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12126 * <various>: change to use Alert.h
12128 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12130 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12131 when encountering an unknown token.
12132 (readLyXformat2): Show an error message if there were unknown tokens.
12134 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12137 * BufferView_pimpl.C:
12141 * text2.C: use par->isInset()
12143 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12145 * paragraph_pimpl.h:
12146 * paragraph_pimpl.C: cleanup
12148 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12150 * text2.C (removeRow):
12151 * text.C (setHeightOfRow): remove useless (and costly) call to
12154 2001-11-20 Allan Rae <rae@lyx.org>
12156 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12157 Now need Inset*::checkInsertChar() to return true for appropriate
12158 cases so that the characters in the minibuffer will actually be
12161 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12163 * text.C: change the order of the includes.
12164 (workWidth): initialize it at once.
12165 (workWidth): make maxw unsigned
12166 (setHeightOfRow): remove unused variable (inset)
12167 (selectSelectedWord): remove unused variable (inset)
12168 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12170 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12172 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12173 server is not running.
12175 (closeConnection): add debug info when server is disabled.
12177 * ColorHandler.C (getGCForeground): send debug message to GUI
12180 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12182 * kbmap.C (bind): modify because return conventions of
12183 kb_sequence::parse have changed.
12185 * kbsequence.C (parse): only ignore spaces and not any stupid
12186 control character. This avoids tests like s[i] <= ' ', which are
12187 guaranteed to fail with 8bit characters and signed chars.
12188 Change return code to string::npos when there have been no error
12189 (0 was a bad idea when error is at first character)
12191 2001-11-14 José Matos <jamatos@fep.up.pt>
12194 * buffer.C (simpleDocBookOnePar): removed unused argument.
12196 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12198 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12199 insets which are part of a word. Paragraph::isLetter takes care of
12200 that now. Use Paragraph::isInset to identify insets.
12201 (selectSelectedWord): do not test for hyphenation break.
12203 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12204 that protected spaces are considered as spaces.
12206 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12209 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12212 * lyxserver.C: fix it. and small cleanup.
12214 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12216 * BufferView_pimpl.C: use inline helpers
12219 * LaTeXFeatures.C: fix typos
12222 * Spacing.C: move spacing_string into class
12224 * ToolbarDefaults.C: move stuff into namespace anon
12226 * layout.h: update enum
12228 * lyxfunc.C: use better debug
12230 * minibuffer.h: fix typo
12234 * WorkArea.C: add and use Debug::WORKAREA
12238 * text2.C: code re-organisation, inline helpers
12240 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12242 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12243 std::vector.empty().
12245 2001-11-09 Allan Rae <rae@lyx.org>
12247 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12248 '\n's after tables. Tabular and ERT inset work now makes this no
12251 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12254 * minibuffer.C: fix crash, improve drop-down completion
12256 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12259 * lyxserver.C: invalidate fd's when doing endPipe()
12261 2001-11-08 José Matos <jamatos@fep.up.pt>
12263 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12264 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12267 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12269 2001-11-07 José Matos <jamatos@fep.up.pt>
12272 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12275 * buffer.C (sgmlOpenTag):
12276 * buffer.C (sgmlCloseTag): removed debug info.
12278 * buffer.h (sgmlOpenTag):
12279 * buffer.h (sgmlCloseTag): made public.
12281 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12283 * buffer.C (saveParamsAsDefaults):
12284 * lyx_cb.C (MenuLayoutSave): remove
12286 * LyXAction.C (init):
12288 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12290 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12292 * buffer.C (setPaperStuff): removed from here...
12294 * bufferparams.C (setPaperStuff): ... and moved there.
12296 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12300 * XFormsView.C: add support for drop-down completion
12302 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12304 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12307 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12309 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12312 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12314 * lyx_main.C: change ref to known bugs
12316 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12318 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12319 to work around older babel problems.
12321 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12323 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12325 2001-10-24 Juergen Vigna <jug@sad.it>
12327 * tabular-old.C (ReadOld): below variable changes reflected.
12329 * tabular.[Ch]: added ltType struct for longtable header/footer
12330 defines and changed all instances where they are used. Added
12331 future support for double top/bottom rows.
12333 2001-10-24 José Matos <jamatos@fep.up.pt>
12335 * buffer.h (docbookHandleCaption):
12336 * buffer.C (docbookHandleCaption): removed unused function.
12337 (makeDocBookFile): moved docbook supported version to v4.1.
12339 2001-10-24 José Matos <jamatos@fep.up.pt>
12342 * tabular.C (docbookRow): new function to export docbook code of a row.
12343 (DocBook): now honors the longtable flags.
12345 2001-10-23 José Matos <jamatos@fep.up.pt>
12348 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12349 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12351 * buffer.C (makeLinuxDocFile):
12352 (makeDocBookFile): reworked the preamble, more clean, and with
12353 support for lyx defined entities. Changed the document declaration
12354 to be more XML friendly.
12356 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12357 if we need to output XML that should be done with a filter.
12359 2001-10-22 Juergen Vigna <jug@sad.it>
12361 * sp_pspell.h (class PSpell): add alive function needed in the
12362 controller to see if the spellchecker could be started.
12364 2001-10-22 Juergen Vigna <jug@sad.it>
12366 * buffer.C (insertStringAsLines): modify the font for inserting
12367 chars in certain conditions by calling checkInsertChar(font).
12369 2001-10-19 Juergen Vigna <jug@sad.it>
12371 * text.C (workWidth): use getRow instead of wrong algorithm.
12372 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12374 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12379 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12381 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12383 * text.C (workWidth): do not search for the exact row when
12384 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12385 optimization for big documents.
12387 2001-10-18 Juergen Vigna <jug@sad.it>
12389 * text.C (workWidth): new function with added Inset * parameter.
12391 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12393 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12395 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12396 change return type of getColumnNearX.
12399 * text.C (changeRegionCase): use uppercase/lowercase instead of
12402 (rightMargin): simplify code by factoring out the uses of
12407 (appendParagraph): use Paragraph::size_type
12409 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12411 * vspace.C (asLatexString): add a missing break
12413 2001-10-15 Herbert Voss <voss@perce.de>
12415 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12417 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12419 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12422 2001-10-10 André Pönitz <poenitz@gmx.net>
12424 * lyxfunc.C: removed greek_kb_flag.
12426 2001-10-10 Herbert Voss <voss@perce.de>
12428 * lyx_main.C: delete global string help_lyxdir.
12430 2001-10-09 Herbert Voss <voss@perce.de>
12432 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12434 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12436 * lyx_main.C: added global string help_lyxdir.
12438 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12440 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12442 * lyxrc.C (set_font_norm_type): support iso8859-4
12444 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12446 * LaTeX.C (deplog): add another regex for MikTeX
12448 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12450 * lyxrc.C (set_font_norm_type): support iso8859-3
12452 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12454 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12456 * LaTeXFeatures.C: remove special case of french and index
12458 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12459 before \begin{document}). This solves several incompatibilities.
12461 2001-10-03 Garst Reese <reese@isn.net>
12463 * lyx_cb.C: change CheckTex error msg.
12465 2001-10-03 José Matos <jamatos@fep.up.pt>
12467 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12469 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12471 * .cvsignore: update
12473 * lyx_main.C (commandLineVersionInfo): use new style version info.
12475 * buffer.C (writeFile):
12477 (makeLinuxDocFile):
12478 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12480 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12482 * version.h: update to use stuff in version.C
12484 * version.C.in: new file. Contains version information determined
12485 at compile time. This is a merging of version.h and
12488 2001-10-03 Juergen Vigna <jug@sad.it>
12490 * BufferView_pimpl.C (update): don't change "dirty" status in
12493 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12495 * WorkArea.C (c-tor): re-position version string slightly.
12497 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12499 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12500 revert to previous code.
12502 WorkArea.[Ch]: (show, destroySplash): methods removed.
12504 WorkArea.C: rework code so that it's an amalgam of the codes before and
12505 after the splash screen was moved to WorkArea.
12507 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12510 * vspace.C (inPixels):
12513 * buffer.C (insertStringAsLines):
12514 (asciiParagraph): fix types to be large enough
12516 * lyxlex_pimpl.h: change member status from short to int
12518 * layout.h: fix type of endlabeltype
12521 * kbsequence.C (parse): change return type to string::size_type
12523 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12526 * Bullet.C (bulletSize):
12527 (bulletEntry): do not use short ints as parameters
12529 * BufferView2.C (insertLyXFile): change a char to an int.
12531 * WorkArea.C (WorkArea): remove unneeded floats in computation
12533 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12535 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12537 * paragraph.C (asString): Do not ignore newline/hfill chars when
12538 copying to the clipboard.
12540 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12542 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12543 after a multi-line inset.
12545 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12547 * paragraph.C (validate): Set NeedLyXFootnoteCode
12549 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12551 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12552 and decrease-error to decrease.
12554 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12556 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12557 it more readable (should be equivalent)
12559 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12561 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12563 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12565 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12566 of a cursor (row, etc.) after a character has been deleted
12567 (deleteEmptyParagraphMechanism): call the method above on _all_
12568 cursors held by the LyXText when a double space has been
12571 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12573 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12575 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12577 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12578 background. Use greyOut() and the new show() methods to toggle between
12579 the foreground and background. Add code to remove the splash after
12580 its initial showing.
12582 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12583 (create_forms): no longer call Dialogs::showSplash.
12585 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12587 * .cvsignore: add version_info.h
12589 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12591 * version_info.h.in: new file
12593 * Makefile.am: add version_info.h.in
12595 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12596 version_info.h instead of VERSION_INFO
12598 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12600 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12601 The ERT inset now returns string().
12603 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12605 * lyxtext.h, text.C (selectNextWord): renamed as
12606 selectNextWordToSpellcheck.
12608 * text.C (selectNextWordToSpellcheck): Modified to not select
12609 words inside an ERT inset.
12611 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12613 * lyx_cb.C (MenuLayoutSave): change a bit the question
12615 * sp_base.h: include <sys/types.h>
12617 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12619 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12621 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12623 * several files: fix typos in user-visible strings
12625 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12627 * text2.C (pasteSelection): do not set the selection, since it
12628 will be cleared later. Actually, the intent was to fix the way the
12629 selection was set, but I figured rmoving the code was just as good.
12631 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12633 * FontLoader.C (available): Check if font is available without
12636 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12638 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12640 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12642 * lyxrc.[Ch]: added display_graphics variable and associated code.
12644 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12646 * bufferparams.C (hasClassDefaults): new method. Returns true if
12647 the buffer parameters correspond to known class defaults
12649 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12651 * XFormsView.C (show): set minimum size to the main window.
12653 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12655 * text2.C (copySelection):
12657 * lyxfind.C (LyXReplace):
12658 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12659 LyXText::selectionAsString.
12661 * paragraph.C (asString): add "label" argument to the second form
12663 * text2.C (selectionAsString): add "label" argument and pass it to
12664 Paragraph::asString.
12666 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12668 * lyx_main.C (commandLineHelp): remove version information
12670 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12672 * lyx_main.C: add -version commandline option
12674 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12676 * paragraph.h: make the optional constructor arg required instead.
12677 some modifications to other files because of this.
12679 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12681 * lyxserver.C (C_LyXComm_callback): make it static
12683 * lyx_main.C (error_handler): make it static
12685 * lyx_gui.C (LyX_XErrHandler): make it static
12687 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12689 * WorkArea.C: make the extern "C" methods static.
12691 * Makefile.am (lyx_LDADD): simplify
12693 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12695 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12696 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12698 * LyXAction.C (init):
12699 * lyxfunc.C (dispatch): associated code removal.
12701 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12703 * lyxfont.h (isSymbolFont): shut off warning
12705 * text.C (setHeightOfRow):
12706 (getVisibleRow): fix crash with empty paragraphs which have a
12709 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12711 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12714 2001-09-04 José Matos <jamatos@fep.up.pt>
12717 * tabular.C (docbook): rename docBook method to docbook.
12719 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12721 * Makefile.am: add dependencies to main.o.
12723 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12725 * FontLoader.C (available): Return false if !lyxrc.use_gui
12727 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12729 * FontInfo.C (query):
12730 * converter.C (view):
12731 * importer.C (Import):
12732 * exporter.C (Export): Can not -> cannot.
12734 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12736 * BufferView_pimpl.C: allow to create index inset even if
12739 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12741 * buffer.C (getLists): replace boost::tie code with an explicit pair
12742 as boost::tie can break some compilers.
12744 * iterators.h: Added a std:: declaration to the return type of
12747 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12749 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12752 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12754 * iterators.[Ch]: New files. Provide paragraph iterators.
12756 * buffer.C (changeLanguage): Use paragraph iterators.
12757 (isMultiLingual): ditto
12759 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12761 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12763 * FontLoader.C: Support for cmr font.
12765 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12767 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12768 (available): New method.
12770 * FontInfo.C (getFontname): Use scalable fonts even when
12771 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12774 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12776 * converter.C (Formats::view): reverted! Incorrect fix.
12778 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12780 * converter.C (Formats::view): only output the -paper option
12781 if the dvi viewer is xdvi, thereby fixing bug #233429.
12783 2001-08-23 Herbert Voss <voss@perce>
12785 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12787 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12789 * Spacing.h (Spacing): Set space to Default on in the default
12792 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12794 * vc-backend.h (RCS::versionString): add RCS to version
12795 (CVS::versionString): add CVS to version
12797 * vc-backend.C (scanMaster): do not add CVS to version.
12798 (scanMaster): do not add RCS to version
12800 * lyxvc.C (versionString): new method
12802 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12804 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12806 * Spacing.C (set): initialize fval
12808 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12810 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12813 2001-08-16 Juergen Vigna <jug@sad.it>
12815 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12817 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12819 * BufferView_pimpl.C:
12822 * text2.C: setParagraph takes linespacing now
12824 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12826 * LyxAction.C: add internal LFUN_CITATION_INSERT
12828 * LyXView.C: actually apply fix
12830 * bufferlist.C: fix open non-existent file
12832 * lyxfind.C: fix indentation
12834 * lyxfunc.C: remove unneeded assert, fix typo
12836 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12838 * MenuBackend.C: use "Floatname List"
12840 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12842 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12843 when converting LaTeX layout to insetERT.
12844 Generate a non-collapsed float when reading old float
12846 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12848 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12851 2001-08-13 Juergen Vigna <jug@sad.it>
12853 * text.C (fill): return 0 instead of 20 as this seems to be the more
12856 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12858 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12861 2001-08-13 Juergen Vigna <jug@sad.it>
12863 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12865 (SearchBackward): comment out the unlocking of the inset_owner this
12866 should not be needed!
12868 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12870 * Many files: Remove inherit_language, and add latex_language
12872 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12873 collapsible insets.
12875 2001-08-10 Juergen Vigna <jug@sad.it>
12877 * text.C (prepareToPrint): fixed hfill-width in draw!
12879 * BufferView2.C (selectLastWord): save the selection cursor as this
12880 now is cleared in the function LyXText::clearSelection!
12882 2001-08-08 Juergen Vigna <jug@sad.it>
12884 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12885 BACKSPACE type functions.
12887 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12888 is only cutted from the document but not put in the cut-buffer, where
12889 still the old stuff should be.
12891 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12893 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12895 * tabular.C (SetWidthOfCell): fixed special case where the width
12897 (LeftLine): handle '|' in align_special.
12899 (LeftAlreadyDrawed): ditto
12900 (SetWidthOfCell): ditto
12902 2001-08-07 Juergen Vigna <jug@sad.it>
12904 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12906 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12908 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12909 * lyxlex.[hC]: ditto
12911 2001-08-06 Juergen Vigna <jug@sad.it>
12913 * text.C (getVisibleRow): fix up row clearing a bit.
12915 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12917 * minibuffer.C: make sure the X server sees the changes in the input.
12919 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12921 * paragraph.C (getFont): split into...
12922 (getLabelFont): this
12923 (getLayoutFont): and this
12924 * paragraph_pimpl.C (realizeFont): calling this
12926 * text2.C (getFont): split into...
12927 (getLayoutFont): this
12928 (getLabelFont): and this
12929 (realizeFont): all three calling this
12931 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12934 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12936 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12938 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12940 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12941 layouts from the Quote inset insertion.
12943 2001-08-03 Juergen Vigna <jug@sad.it>
12945 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12947 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12948 only if status not is already CHANGED_IN_DRAW (second level).
12950 * text.C (draw): don't set the need_break_row when inside an
12953 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12955 * buffer.C (parseSingleLyXformat2Token): handle more latex
12958 * bufferview_funcs.[hC]: change function names to
12959 begin with small char, adjust other files.
12961 2001-08-02 André Pönitz <poenitz@gmx.net>
12964 BufferView_pimpl.C: remove broken special code for math-greek
12966 2001-08-02 Juergen Vigna <jug@sad.it>
12968 * BufferView_pimpl.C (update): redone this function so that we
12969 update the text again if there was a CHANGE_IN_DRAW.
12971 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12972 (drawFromTo): added a new internal bool which is used by draw() and
12974 (general): some cursor drawing problems fixed.
12976 2001-08-01 Juergen Vigna <jug@sad.it>
12978 * lyxfind.C (LyXFind): fixed
12979 (SearchForward): ditto
12980 (SearchBackward): ditto
12982 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12983 spurius drawing of the cursor in the main area.
12985 * text2.C (status): small fix which could lead to a segfault!
12986 (clearSelection): remove unneeded BufferView param.
12988 2001-08-01 André Pönitz <poenitz@gmx.net>
12990 * lyxfunc.C: small change due to changed mathed interface
12992 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12994 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12996 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12998 * lyxfunc.c: fail gracefully if file doesn't exist
13003 * BufferView_pimpl.C: IsDirWriteable() proto changed
13005 * LyXView.C: fix updateWindowTitle() to store the last title
13007 2001-07-31 Juergen Vigna <jug@sad.it>
13009 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13010 the font (wrong since using of Paragraph::highestFontInRange).
13012 * paragraph.C (highestFontInRange): added a default_size parameter.
13014 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13015 (setHeightOfRow): reformat
13017 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13019 * converter.[hC] + affected files: move to (inital-char)lowercase
13022 * ParagraphParameters.C (ParagraphParameters): remove commented code
13024 * PainterBase.[Ch]: remove commented code
13026 * LaTeXFeatures.h: add "bool floats" for float.sty
13028 * LaTeXFeatures.C (LaTeXFeatures): init floats
13029 (require): handle float
13030 (getPackages): do it with floats
13032 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13034 * BufferView_pimpl.C (Dispatch): improve handling of
13035 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13037 * commandtags.h: #include lyxfont.h here temporarily to avoid
13040 * bufferlist.h: include LString.h here.
13042 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13044 * text2.C (getStringToIndex): new method.
13046 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13048 * *: Reduced header file dependencies all over.
13050 2001-07-30 Baruch Even <baruch@lyx.org>
13052 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13054 2001-07-29 Baruch Even <baruch@lyx.org>
13056 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13058 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13060 * ParameterStruct.h (endif): add a default constructor to make
13061 sure that all variables is initialized.
13063 * ParagraphParameters.C (ParagraphParameters): adjust
13065 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13067 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13068 index; also, check that there is something to index, and that it
13069 does not span over several paragraphs.
13070 (doubleClick): use WHOLE_WORD_STRICT for double click.
13072 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13074 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13077 2001-07-26 Baruch Even <baruch@lyx.org>
13079 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13080 an InsetFig figure, backwards compatible reading of old figure code.
13082 2001-07-27 Juergen Vigna <jug@sad.it>
13084 * text2.C: font.realize function adaption.
13086 * text.C (draw): add a warnings lyxerr text if needed.
13088 * layout.C: font.realize function adaption.
13090 * language.C: add inherit_language and implement it's handlings
13092 * bufferview_funcs.C (StyleReset): remove language parameter from
13093 font creation (should be language_inherit now).
13095 * bufferparams.C (writeFile): handle ignore_language.
13097 * paragraph.C (getFontSettings): the language has to be resolved
13098 otherwise we have problems in LyXFont!
13100 * lyxfont.C (lyxWriteChanges): added document_language parameter
13101 (update): removed unneeded language parameter
13103 * paragraph.C (validate): fixed wrong output of color-package when
13104 using interface colors for certain fonts in certain environments,
13105 which should not seen as that on the final output.
13107 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13109 * BufferView_pimpl.C:
13114 * LyXAction.C: add thesaurus support
13117 * lyxfind.C: add "once" parameter, for thesaurus, to not
13118 move to the next match
13120 2001-07-26 Juergen Vigna <jug@sad.it>
13122 * lyxfont.C (realize): honor ignore_language too!
13125 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13127 * text.C (draw): one place more for ignore_language to not draw
13130 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13132 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13134 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13136 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13137 the minipage conversion problem.
13139 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13141 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13144 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13146 * BufferView.h: don't forward declare WorkArea
13148 * BufferView.C: don't include WorkArea.h
13150 2001-07-25 André Pönitz <poenitz@gmx.net>
13154 * lyxfunc.C: new LFUN 'math-space'
13156 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13158 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13160 * text2.C (toggleInset): call open/close
13162 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13164 * lyxfunc.C (dispatch): add debug for the disabled case
13166 * font.C (buttonText): make similar to rectText
13168 * buffer.C (readInset): comment out parsing of insetlist and
13171 * PainterBase.C (rectText): small correction
13173 * BufferView_pimpl.C: comment out insettheorem and insetlist
13174 * LyXAction.C: ditto
13175 * commandtags.h: ditto
13177 2001-07-24 Juergen Vigna <jug@sad.it>
13179 * text.C (draw): honor the ignore_language.
13181 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13183 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13185 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13188 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13190 * lyxtext.h: remove unused (and unimplemented) methods
13192 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13194 * text.C (getVisibleRow): honor background color
13197 * Painter.h: remove default color argument for fillRectangle
13199 * text.C (backgroundColor): new method
13201 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13203 * text.C (getVisibleRow): adjust
13205 * font.[Ch] (rectText): new method, metrics
13206 (buttonText): new method, metrics
13208 * PainterBase.[hC]: make rectText and buttonText always draw and take
13211 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13213 * ToolbarDefaults.C (read):
13214 * MenuBackend.C (read): allow escaping in all strings
13216 * BufferView_pimpl.C (insertAndEditInset): new method.
13217 (Dispatch): use insertAndEditInset whenever appropriate.
13219 * BufferView_pimpl.C (insertNote): removed
13221 * BufferView_pimpl.C (smartQuote): new method, moved from
13222 BufferView; if an insetquote cannot be inserted, insert a '"'
13225 * BufferView2.C: remove insertCorrectQuote();
13227 * lyxfunc.C (getStatus): Add support for all remaingin
13228 inset-insert lfuns.
13230 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13232 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13233 command (necessary to pass " as parameter of self-insert.
13235 * text.C (selectWordWhenUnderCursor):
13236 (selectWord): add word_location parameter
13237 (selectWordWhenUnderCursor): same + remove special code for word
13239 (selectNextWord): use kind() to guess type of insetspecialchar,
13242 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13243 (insertErtContents): create ert insets as collapsed.
13244 (readInset): better compatibility code for Info inset.
13246 2001-07-20 Juergen Vigna <jug@sad.it>
13248 * lyxfunc.C (dispatch): use always LyXFind now!
13250 * text2.C (init): add a reinit flag so that the LyXText can be
13251 reinited instead of deleted and reallocated (used in InsetText).
13253 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13259 2001-07-18 Juergen Vigna <jug@sad.it>
13261 * text.C (selectNextWord): handle insets inside inset by calling
13262 always the bv->text functions so that we can go up the_locking_inset!
13264 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13265 in strange locations when inside an inset!
13267 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13268 handling to include insets.
13270 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13272 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13274 * LyXAction.C (init):
13276 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13277 LIGATURE_BREAK, since the name is so stupid.
13279 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13281 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13284 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13286 * sp_form.[Ch]: remove.
13288 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13290 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13293 * src/buffer.C (readInset): ditto.
13295 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13297 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13298 menuSeparator(), endOfSentenceDot(), ldots() and
13299 hyphenationPoint(), which are therefore removed.
13300 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13302 * LyXAction.C (init):
13303 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13305 * paragraph.C (getWord): removed.
13307 * BufferView_pimpl.C (Dispatch): use last word or selection for
13308 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13310 * lyx_main.C (queryUserLyXDir): do not ask before creating
13311 user_dir, except if it has been named explicitely.
13313 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13315 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13316 a document of zero size.
13318 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13320 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13321 approriately in the c-tor and in require().
13322 (getPackages): output the appropriate LaTeX for natbib support.
13324 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13325 variables "use_natbib" and "use_numerical_citations" when reading the
13327 (readInset): read the various natbib cite commands.
13328 (validate): white-space change.
13330 * bufferparams.[Ch]: new variables "bool use_natbib" and
13331 "bool use_numerical_citations".
13332 (writeFile): output them in the LyX file.
13334 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13336 * lyxfunc.C (getStatus): add support for all the inset insertion
13339 * text2.C (insertInset):
13340 * paragraph.C (insetAllowed):
13341 * BufferView_pimpl.C (insertInset): update to take in account the
13342 renaming of insertInsetAllowed
13344 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13346 * text2.C (getInset): new method. returns inset at cursor position.
13348 * BufferView_pimpl.C (Dispatch): changes because of this.
13350 * LyXAction.C (init): rename open-stuff to inset-toggle.
13352 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13354 * text2.C (toggleInset): renamed from openStuff; use
13357 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13359 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13361 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13363 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13365 * buffer.C (readLyXformat2): Add filename to the error dialog
13367 2001-07-18 Juergen Vigna <jug@sad.it>
13369 * tabular.C (GetCellNumber): put an assert here instead of the check!
13371 2001-07-17 Juergen Vigna <jug@sad.it>
13373 * BufferView_pimpl.C (toggleSelection): adapted too.
13375 * text.C (selectNextWord): adapted for use with insets.
13376 (selectSelectedWord): ditto
13378 2001-07-17 Juergen Vigna <jug@sad.it>
13380 * sp_spell.C (PSpell): fix initialitation order.
13382 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13384 * paragraph.C: spacing
13386 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13388 * sp_spell.C: repair language selection for pspell
13390 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13392 * lyxfunc.h: change more methods to begin with lower char.
13394 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13396 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13397 for unknown layouts.
13399 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13401 * buffer.C (readLyXformat2): Generate an error dialog if there are
13404 2001-07-16 Juergen Vigna <jug@sad.it>
13406 * sp_spell.C: always compile ISpell part.
13408 * lyxrc.C: added use_pspell entry and it's handling.
13410 2001-07-13 Juergen Vigna <jug@sad.it>
13412 * sp_spell.C: removed double includes.
13414 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13416 Consistent use of Lsstream.h:
13417 * Lsstream.h: added using std::stringstream for consistencies sake.
13419 * buffer.C: removed using std::stringstream
13421 * lyxfont.C (stateText):
13422 * paragraph.C (asString):
13423 * text.C (selectNextWord, selectSelectedWord):
13424 * text2.C (setCounter):
13425 * vspace.C (asString, asLatexString):
13426 std::ostringstream -> ostringstream.
13428 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13430 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13431 * commandtags.h: add LFUN_HELP_ABOUTLYX
13432 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13434 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13436 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13438 * lyx_gui_misc.C: remove spellchecker
13439 * lyxfunc.C: showSpellchecker
13441 * sp_ispell.h: added
13442 * sp_pspell.h: added
13443 * sp_spell.C: added
13444 * sp_form.[Ch]: removed
13445 * spellchecker.[Ch]: removed
13447 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13449 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13451 (simpleTeXSpecialChars): Simply print the input character without
13452 any special translation if pass_thru is set.
13454 * layout.h: Added bool pass_thru to layout class for being able to
13455 implement pass through of a paragraph for Literate Programming.
13457 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13458 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13459 * layout.C (Read): add "passthru" to list of layout tags and add
13460 code to set the pass_thru boolean when it is read.
13462 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13464 * trans_decl.h: remove allowed from KmodInfo
13466 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13467 remove allowed code
13470 * paragraph_pimpl.C (erase): use boost::prior
13472 * Painter.C (text): use data() instead of c_str() when length is
13474 * WorkArea.C (putClipboard): ditto
13475 * font.h (width): ditto
13477 * BufferView2.C: use it-> instead of (*it). for iterators
13479 * paragraph_pimpl.C: ditto
13480 * paragraph.C: ditto
13481 * minibuffer.C: ditto
13482 * language.C: ditto
13484 * encoding.C: ditto
13485 * counters.C: ditto
13486 * converter.C: ditto
13488 * Variables.C: ditto
13489 * TextCache.C: ditto
13490 * MenuBackend.C: ditto
13491 * LyXAction.C: ditto
13493 * FloatList.C: ditto
13494 * DepTable.C: ditto
13495 * ColorHandler.C (LyXColorHandler): ditto
13497 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13499 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13501 * text2.C (openStuff): reintroduce this method (which had been
13502 nuked in NEW_INSETS frenzy).
13504 * lyxfunc.C (Dispatch): when an action has not been handled, use
13505 its name in the error message, not its number.
13507 * paragraph.C (inInset): change method name to begin with lowercase.
13510 * text2.C: updates because of this.
13512 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13514 * ToolbarDefaults.C (add): add spaces in error message
13516 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13518 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13519 (readLyXformat2): rename return_par to first_par, use lyxlex's
13520 pushToken and remove the manual push handling.
13521 (parseSingleLyXformat2Token): add another ert comp. variable:
13522 in_tabular, rename return_par to first_par. handle newlines better
13524 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13526 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13528 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13530 * text2.C (getParFromID): removed
13532 * buffer.C (getParFromID): new method moved form lyxtext.
13533 * BufferView2.C (insertErrors): adjust
13534 (setCursorFromRow): adjust
13535 * BufferView_pimpl.C (restorePosition): adjust
13536 * lyxfunc.C (Dispatch): adjust
13537 * undo_funcs.C (textUndo): adjust
13539 (textHandleUndo): adjust
13540 (textHandleUndo): adjust
13542 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13544 * buffer.C: up' the LYX_FORMAT
13546 * lyxfont.h: turn NO_LATEX on as default
13548 * buffer.C (insertErtContents): new methods of tex style compability.
13549 (parseSingleLyXformat2Token): use it several places.
13550 * tabular.C (OldFormatRead): and here
13552 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13554 * text2.C: remove some commented code.
13557 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13558 * trans.C: changes because of the above.
13560 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13562 * text2.C (setCounter): Fix counters bug with bibliography layout.
13564 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13566 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13567 own member functions
13568 (simpleTeXSpecialChars): ditto
13570 2001-07-06 Juergen Vigna <jug@sad.it>
13572 * a lot of files: changed the access to LyXText::status and the
13573 call of undo-functions.
13575 * undo.[Ch]: added a inset_id to the undo informations.
13577 * undo_funcs.[Ch]: added and moved here all undo functions.
13579 * lyxtext.h: give the status enum a weight, made status_ a private
13580 variable and made accessor functions for it, removed the whole bunch
13581 of undo-functions as they are now in their own file, make some
13582 functions publically available. Added function ownerParagraph with
13585 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13586 made InInset() a const function, added getParFromID() function.
13588 * buffer.[Ch]: added const version for inset_iterator functions,
13589 added getInsetFromID() function.
13591 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13592 changed undo functions for new version.
13594 2001-07-05 Juergen Vigna <jug@sad.it>
13596 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13597 unknow mechanism does not call the proper constructor but only this
13598 one also if I request the other!?
13600 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13602 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13604 * text2.C (LyXText): use initialization lists.
13606 * lyxtext.h (Selection): initialize set_ and mark_
13607 (init): remove method
13609 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13611 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13613 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13615 * screen.[Ch]: change method names to begin with lowercase
13617 * BufferView_pimpl.C (updateScrollbar): simplify further and
13618 hopefully make it a bit faster.
13620 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13622 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13623 calling directly xforms functions.
13625 * Painter.C (Painter):
13626 * lyx_cb.C (MenuWrite):
13627 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13630 * lyx_gui.C: remove bogus guiruntime extern declaration.
13632 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13634 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13636 (redoDrawingOfParagraph): ditto
13637 (redoParagraphs): ditto
13638 (cutSelection): don't create a object for CutAndPaste use the
13639 static method directly
13640 (pasteSelection): ditto
13642 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13645 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13647 * modifications to some other files because of this.
13649 * Makefile.am (lyx_SOURCES): add XFormsView
13651 * XFormsView.[Ch]: new files
13653 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13654 the main window. Move the gui dependent stuff to XFormsView
13656 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13658 * tabular.C (GetCellInset): update cur_cell also in the row/col
13659 version of this function.
13661 * lyxfunc.C: no need to include figure_form.h here.
13667 * lyxvc.C: no need to include forms.h here.
13669 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13671 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13673 * lyxfunc.C (Dispatch):
13675 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13676 constructor argument.
13678 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13680 * paragraph.C (Paragraph): dont't clear, and just set layout.
13681 (makeSameLayout): use params's copy contructor.
13683 * ParagraphParameters.[Ch] (makeSame): delete method
13685 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13687 * Variables.[Ch]: fix indentation, rename set to isSet
13689 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13691 * lyxfunc.C (Dispatch): fix typo
13693 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13695 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13698 * bufferlist.C: include assert.h for emergencyWrite().
13700 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13702 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13703 give up at last (bug #425202) !
13705 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13711 * spellchecker.C: strip spellchecker options and bring up
13712 preferences tab instead
13714 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13716 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13717 the istringstream constructor
13719 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13721 * paragraph.C (getLayout): fix return value
13723 * paragraph.h: do not declare getLayout as inline.
13725 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13727 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13729 * lyxcursor.h (operator<): new func
13730 (operator>): new func
13731 (operator>=): new func
13732 (operator<=): new func
13734 * text.C (changeCase): use selection.start and selection.end
13735 (changeRegionCase): require from to be <= to. Require par to be a
13738 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13740 2001-06-27 Juergen Vigna <jug@sad.it>
13742 * text.C (cursorLeftOneWord): changed to return the cursor and added
13743 overlay with BufferView * parameter which calls this one.
13745 (selectWord): use new getWord function.
13746 (changeCase): renamed from changeWordCase as and extended to work
13747 also on selections.
13749 * lyxtext.h: added enum word_location
13751 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13752 changeCase as this operates now also on selections.
13754 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13756 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13758 * many files: send debug output to Debug::INFO instead of
13761 * converter.C (View):
13763 (Move): send debug output to Debug::FILES instead of console.
13765 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13767 * lyxfunc.C (getStatus): use func_status
13769 * func_status.h: new header, describing the results of
13770 LyXFunc::getStatus;
13772 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13775 2001-06-25 The LyX Project <jug@sad.it>
13777 * buffer.C (sgmlOpenTag):
13779 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13781 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13783 * text2.C: remove some dead code
13785 * tabular.C (GetCellInset): store the last cell checked (gotten)
13787 * tabular.h: add the helper for the speedup
13789 * lyxtext.h: remove some dead code
13791 2001-06-26 The LyX Project <Asger>
13793 * paragraph.C: Change export to LaTeX of alignment to
13794 \begin{center} and family for better roundtrip work with reLyX.
13796 * Tune the math drawing a bit.
13798 2001-06-25 The LyX Project <Asger>
13800 * LColor.C (LColor): New color for math background. New color
13803 2001-06-25 The LyX Project <jug@sad.it>
13805 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13807 * lyxfunc.C (Open):
13808 * bufferlist.C (newFile): do not restrict to files ending with
13811 * BufferView_pimpl.C (MenuInsertLyXFile):
13813 2001-06-24 The LyX Project <jug@sad.it>
13815 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13818 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13820 * lyxtext.h: rename most methods to begin with a small char.
13821 Lots of changes because of this.
13823 * paragraph.C (Paragraph): do not call fitToSize
13824 (erase): call Pimpl::erase
13825 (insertChar): call Pimpl::insertChar
13826 (insertInset): call Pipl::insertInset
13827 (breakParagraph): do not call fitToSize
13828 (breakParagraphConservative): do not call fitToSize
13829 (fitToSize): remove method
13831 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13833 2001-06-24 The LyX Project <Asger>
13835 * Fix Qt compilation^2
13837 2001-06-24 The LyX Project <jug@sad.it>
13839 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13840 depthHook(getDepth()-1).
13843 * ParagraphParameters.h:
13844 * ParameterStruct.h: change type of depth to unsigned int ==
13845 depth_type. Many adaptations to other files before of that.
13847 2001-06-24 The LyX Project <Asger>
13849 * Fix Qt compilation.
13851 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13853 * paragraph.h: renamed several methods to begin with small letter.
13854 several changes to many parts of the code because of this.
13856 2001-06-23 The LyX Project <jug@sad.it>
13858 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13859 rewritten to discard all double spaces when KeepEmpty is off
13860 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13861 to only handle newlines but not fiddle with spaces and friends.
13863 * lyxfunc.C (MenuNew): when doing 'new from template', use
13864 template_path as default directory
13866 2001-06-23 The LyX Project <Asger>
13868 * Clean-up of header file includes all over
13869 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13871 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13873 * paragraph.h: renamed from lyxparagraph.h
13875 2001-06-23 Asger <lyx@violet.home.sad.it>
13877 * Buffer.h: Removed Buffer::resize
13878 * BufferList.h: Removed BufferList::resize
13879 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13880 the document lazily when we change the width, or the font settings.
13882 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13884 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13886 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13888 * buffer.h: remove out of date comment
13890 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13893 * screen.C: fix "theoretical" GC leak
13895 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13897 * LaTeX.C (scanAuxFile):
13898 (deplog): remove trailing \r when reading stream (useful under
13901 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13903 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13904 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13905 and BufferView::theLockingInset(Inset*), so should use them and not
13906 access bv_->text->the_locking_inset directly.
13908 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13910 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13913 * tex-defs.h: remove old unused file
13915 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13917 * BufferView_pimpl.C: fix typo, remove minibuffer message
13918 when buffer has loaded
13920 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13922 * lyxfunc.C (Dispatch): use stringstream
13923 (MenuNew): use stringstream
13924 (Open): use stringstream
13926 * importer.C (Import): use stringstream
13928 * bufferview_funcs.C (CurrentState): use stringstream
13930 * LaTeX.C (run): use stringstream
13932 * BufferView_pimpl.C (savePosition): use stringstream
13933 (restorePosition): use stringstream
13934 (MenuInsertLyXFile): use stringstream
13936 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13949 * vspace.C: removed // -*- C++ -*- as first line.
13952 * version.h: added // -*- C++ -*- as first line.
13954 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13956 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13958 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13961 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13963 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13966 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13968 * gettext.C: include LString.h even when --disable-nls is on.
13970 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13972 * converter.h (Get): changed argument type from int to
13973 FormatList::size_type to avoid unnecessary conversion.
13975 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13978 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13980 * gettext.h: include LString.h even when --disable-nls is on.
13982 2001-06-07 Juergen Vigna <jug@sad.it>
13984 * text.C (BreakAgain): subst spaces with tabs.
13986 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13987 (resizeInsetsLyXText): set force on resizeLyXText.
13989 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13991 * gettext.h (gettext_init):
13992 (locale_init): use a real definition instead of a macro
13994 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13996 * Bufferview_pimpl.C:
13998 * LColor.C: further lcolor tidies
14000 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14002 * BufferView_pimpl.C (updateScrollbar): simplify.
14004 * BufferView2.C: don't include insets/insetinfo.h, change
14005 prototype for insertInset and call the Pimpl version. let
14006 updateInset call Pimpl version.
14008 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14009 gotoInset to BufferView::Pimpl
14011 2001-06-01 Juergen Vigna <jug@sad.it>
14013 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14014 inside a LockingInset (is the update needed at all?).
14016 2001-05-31 Juergen Vigna <jug@sad.it>
14018 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14019 here not the old one otherwise how should we compare it afterwards
14022 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14027 * FontInfo.C: bring C functions into global namespace when
14030 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14032 * LString.h: make sure config.h has been loaded before LString.h.
14034 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14035 (one for each char read by EatLine!).
14037 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14040 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14042 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14043 to the same as the par we break from
14045 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14047 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14049 * MenuBackend.C (expand): also create menu entries for wide
14050 versions of the floats.
14052 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14054 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14056 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14057 frontends/Makefile.am
14063 * tabular.C (getTokenValue): add std::
14065 * tabular-old.C (getTokenValue): add std::
14066 (getTokenValue): ditto
14067 (getTokenValue): ditto
14069 * screen.C (ToggleSelection): adjust
14071 * lyxtext.h: put selection cursors inside a Selection struct.
14073 * lyxfunc.C (moveCursorUpdate): adjust
14075 * lyxfont.C (latexWriteStartChanges): add std::
14077 * lyxfind.C: adjust
14079 * font.h: delete with(char const *, LyXFont const &)
14081 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14083 * FontInfo.C (getFontname): add std::
14085 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14086 (workAreaButtonPress): adjust
14087 (tripleClick): adjust
14089 (moveCursorUpdate): adjust
14092 * BufferView2.C (gotoInset): adjust
14094 2001-05-30 Juergen Vigna <jug@sad.it>
14096 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14097 to check pspell I add this as default as I now have new pspell
14098 libraries and they seem to use this.
14100 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14102 * text2.C (CutSelection): make the cursor valid before the call to
14105 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14107 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14108 relied on 0 terminated strings and other horrors. Bug found due to
14109 the new assert in lyxstring!
14111 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14114 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14116 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14119 * lyxfunc.C (processKeySym): change method of getting to the
14122 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14123 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14124 * BufferView_pimpl.[Ch]: here as private methods.
14126 2001-05-28 Juergen Vigna <jug@sad.it>
14128 * text.C (SetHeightOfRow): added the update() call again as it is
14129 needed to initialize inset dimensions!
14131 2001-05-16 Juergen Vigna <jug@sad.it>
14133 * text2.C (SetCharFont): Add new function with BufferView * and
14134 bool toggleall parameters for setting insets internal fonts.
14135 (SetFont): Freeze the undo as we may change fonts in Insets and
14136 all this change should be inside only one Undo!
14138 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14139 setting font's in insets as for them we have the SetFont function!
14141 2001-05-15 Juergen Vigna <jug@sad.it>
14143 * text2.C (ClearSelection): to be sure we REALLY don't have any
14146 * tabular.C (TeXCellPreamble): fixed the left border problem for
14149 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14151 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14154 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14156 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14157 LFUN_BREAKPARAGRAPH.
14159 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14160 help test to "internal only", similar for LFUN_INSERT_URL
14162 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14163 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14164 auto_region_delete and deadkeys.
14166 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14169 * LColor.C: remove some dead entries, tidy a little
14171 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14173 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14175 (Dispatch): implement LFUN_ESCAPE
14177 * commandtags.h: add LFUN_ESCAPE
14179 * LyXAction.C (init): add entry for LFUN_ESCAPE
14181 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14182 Remove commented code.
14183 (insertNote): moved here
14184 (open_new_inset): moved here
14186 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14189 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14191 * kbmap.C (findbinding): clean it up and make it work correctly.
14193 * lyx_main.C (init): do not pass argc and argv as parameters
14195 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14197 * buffer.C: fix path for OS/2 & Win32
14201 * lyx_main.C: Added os:: class.
14203 * os2_defines.h: update
14205 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14207 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14208 better by trying again with reduced state.
14210 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14212 * lyxrc.C (read): print error about invalid key sequence only when
14213 debugging (because not all latinX keysyms are known to some X
14216 * kbsequence.C (getiso): add a few std:: qualifiers
14217 (getiso): comment out extra return statement.
14219 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14221 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14223 (Dispatch): enhance the accent inset a bit. (not perfect)
14225 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14227 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14229 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14231 * bufferlist.C (emergencyWrite): fix assert() call
14233 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14235 * text.C (InsertChar): Added trivial patch to only send the "you
14236 can not do multiple spaces this way" message once during a
14239 2001-05-08 Baruch Even <baruch@lyx.org>
14241 * Makefile.am: Changed order of libraries to get LyX to link properly
14242 with the gnome frontend.
14244 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14246 * LaTeXFeatures.h: add a std:: qualifier
14248 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14250 * paragraph.C (String): use stringstream
14252 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14254 * paragraph.C (writeFile): remove footflag arg
14256 * buffer.C (makeLaTeXFile): use stringstream
14257 (latexParagraphs): remove footnot gurba
14259 * LaTeXFeatures.C (getPackages): use stringstream
14260 (getMacros): likewise
14261 (getTClassPreamble): likewise
14262 (getFloatDefinitions): new method
14264 * paragraph.C (writeFile): reindent
14267 * WorkArea.h: revert the xpos + etc changes.
14269 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14271 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14273 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14274 (pasteSelection): likewise
14275 * text2.C (CreateUndo): likewise
14277 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14279 * minibuffer.C (peek_event): temporarily reduce the functionality
14280 of the minibuffer (to allow args on lfuns)
14282 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14283 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14285 * buffer.C (readInset): add compability reading of old float
14286 lists, add reading of new style float list.
14287 (readInset): avoid reevaluation of inscmd.getCmdName()
14288 (getLists): reindent
14290 * MenuBackend.C (MenuItem): implement parsing of
14291 md_floatlistinsert and md_floatinsert.
14292 (expand::LastFiles): move initalizaton of iterators out of loop,
14293 avoid reevaluation.
14294 (expand::Documents): introduce typdedef vector<string> Strings,
14296 (expand::ExportFormats): introduce typedef vector<Format const *>
14297 Formats, and use it.
14298 (expand): implement FloatListInsert and FloatInsert.
14300 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14301 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14302 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14304 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14306 (Dispatch::LFUN_FLOAT_LIST): implement
14308 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14310 * LaTeX.C (run): Fix problem with --export code.
14312 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14314 * BufferView.[Ch] (workarea): removed.
14315 (getClipboard) new method; wrapper for workarea()->getClipboard()
14317 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14320 * WorkArea.h (width, height, xpos, ypos): These methods all
14321 returned the dimensions of the work_area sub-area of WorkArea,
14322 resulting in a position error if the WorkArea were resized. Now
14323 return the dimensions of the entire WorkArea.
14325 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14327 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14329 * LaTeX.C (deplog): correct the syntax of regex reg1
14331 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14333 * undo.C: remove !NEW_INSETS cruft
14335 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14337 * text2.C: remove !NEW_INSETS cruft
14339 * text.C: remove !NEW_INSETS cruft
14341 * tabular.C: remove !NEW_INSETS cruft
14343 * spellchecker.C: remove !NEW_INSETS cruft
14345 * lyxtext.h: remove !NEW_INSETS cruft
14347 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14349 * lyxfunc.C: remove !NEW_INSETS cruft
14351 * lyxfind.C: remove !NEW_INSETS cruft
14353 * lyx_cb.C: remove !NEW_INSETS cruft
14355 * figureForm.C: remove !NEW_INSETS cruft
14357 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14359 * buffer.[Ch]: remove !NEW_INSETS cruft
14361 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14363 * CutAndPaste.C: remove !NEW_INSETS cruft
14365 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14367 * BufferView2.C: remove !NEW_INSETS cruft
14369 * BufferView.h: remove !NEW_INSETS cruft
14371 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14373 * Lsstream.h: include LString.h before the sstream headers to
14374 fix problem with gcc 2.95.3 and lyxstring
14376 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14378 * lyx_main.C: add using directives when needed for C functions
14379 declared in std:: namespace.
14381 2001-04-27 Juergen Vigna <jug@sad.it>
14383 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14384 (SetHeightOfRow): comment out the update call should not be needed!
14386 2001-04-13 Juergen Vigna <jug@sad.it>
14388 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14389 (LyXTabular): tried to minimize operator= operations (and realized
14390 hopfully Lars wish).
14392 2001-04-27 Juergen Vigna <jug@sad.it>
14394 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14396 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14398 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14400 * buffer.C (readInset): hack to make listof algorithm work
14402 * BufferView_pimpl.C: hack to make listof algorithm work
14404 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14406 * LyXAction.C: removed all !NEW_INSETS cruft
14407 (init): moved lfun_item in method
14409 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14411 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14413 * BufferView2.C (theLockingInset): white space.
14415 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14417 * minibuffer.C: include <iostream>
14419 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14421 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14423 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14425 * text.[Ch] (TransposeChars): new method
14427 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14429 * call message directly through LyXView instead of through LyXFunc
14430 * BufferView2.C: adjust
14431 * BufferView_pimpl.C: adjust
14432 * FontLoader.C: adjust
14434 * bufferview_funcs.C: adjust
14435 * converter.C: adjust
14436 * figureForm.C: adjust
14437 * importer.C: adjust
14439 * lyx_gui_misc.C: adjust
14440 * lyxfunc.C: adjust
14443 + more files in subdirs
14445 * lyxparagraph.h (size): move up int file
14448 * adjust all uses of Assert to lyx::Assert.
14450 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14451 lyxfunctional in namespace lyx
14452 * layout.C (hasLayout): ditto
14455 (delete_layout): ditto
14456 (NumberOfClass): ditto
14457 * converter.C (GetFormat): ditto
14462 * bufferlist.C (getFileNames): ditto
14463 (emergencyWriteAll): ditto
14466 * MenuBackend.C (hasSubmenu): ditto
14469 * BufferView_pimpl.C (getInsetByCode): ditto
14471 2001-04-18 Juergen Vigna <jug@sad.it>
14473 * vspace.C (asLatexString): fixed the 100% problem.
14475 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14477 * lyxfunc.C (Dispatch):
14479 * minibuffer.h: add a few std:: qualifiers
14481 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14483 * minibuffer.[Ch]: reimplement so that commands is initiated and
14484 run from lyxfunc, simplified som handling, and made the completion
14485 and history code for complete. wip.
14487 * lyxfunc.C (processKeySym): call message
14488 (miniDispatch): new temporary method
14489 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14490 (LFUN_MESSAGE): implement
14491 (LFUN_MESSAGE_PUSH): implement
14492 (LFUN_MESSAGE_POP): implement
14493 (initMiniBuffer): the initial/defualt minibuffer message.
14495 * lyxfont.[Ch]: inline some more getters
14497 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14499 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14501 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14502 (AutoSave): use LFUN_MESSAGE
14503 (Reconfigure): ditto
14505 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14507 * figureForm.C: use LFUN_MESSAGE
14509 * converter.C (runLaTeX): use LFUN_MESSAGE
14511 * bufferview_funcs.C: use LFUN_MESSAGE
14513 (changeDepth): ditto
14515 * bufferparams.h: use boost::
14517 * bufferlist.h: inherit privately from noncopyable
14519 * bufferlist.C (loadLyXFile): remove some commented code.
14521 * buffer.C (runChktex): use LFUN_MESSAGE
14523 * ShareContainer.h: inherit privately from noncopyable
14525 * ParagraphParameters.[hC] (depth): inline it.
14527 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14529 (message): new method
14530 (messagePush): ditto
14531 (messagePop): ditto
14532 (show): init minibuffer
14533 (showState): direct call
14535 * LaTeX.[Ch]: inherit privately from noncopyable
14536 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14537 instead of WriteStatus.
14539 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14541 * BufferView_pimpl.C (buffer): don't init minibuffer
14542 (workAreaButtonPress): use LFUN_MESSAGE
14543 (workAreaButtonRelease): ditto
14544 (savePosition): ditto
14545 (restorePosition): ditto
14546 (MenuInsertLyXFile): ditto
14547 (workAreaExpose): don't init minibuffer
14548 (update): remove commented code, simplify
14550 * BufferView2.C (openStuff): use LFUN_MESSAGE
14551 (toggleFloat): ditto
14554 (copyEnvironment): ditto
14555 (pasteEnvironment): ditto
14560 (updateInset): remove some commented code
14562 * lastfiles.h: inherit privately from noncopyable
14565 * lyx_main.h: ditto
14567 * lyxlex_pimpl.h: ditto
14569 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14570 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14571 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14573 * LyXAction.h: inherit privately from noncopyable, add methods
14574 func_begin, func_end, returning iterators to the func map.
14576 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14577 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14578 (func_begin): new method
14579 (func_end): new method
14581 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14583 (copySelection): ditto
14584 (pasteSelection): ditto
14586 * BufferView.C: whitespace change
14587 * BufferView.h: inherit privately from noncopyable
14589 2001-04-16 Allan Rae <rae@lyx.org>
14591 * tabular-old.C (l_getline):
14592 * spellchecker.C (sc_check_word):
14593 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14594 an unrecognised preprocessor directive. So ensure they're wrapped.
14596 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14598 * src/exporter.C (Export): Give an error message when path to file
14601 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14603 * LaTeX.C (deplog): Always check that foundfile exists.
14605 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14608 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14610 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14612 * tabular.[Ch] (getLabelList): implement new method
14614 * minibuffer.h: comment ouf setTiimer
14616 * minibuffer.C (ExecutingCB): constify res
14617 (peek_event): constify s
14618 (Set): constify ntext
14619 (Init): constify nicename
14621 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14623 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14624 (savePosition): use two params to Minibuffer::Set
14625 (restorePosition): ditto
14627 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14629 * lyx_main.C: include language.h
14631 * Makefile.am (lyx_main.o): add language.h
14633 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14639 * CutAndPaste.C: include gettext.h
14641 * lyxfont.h: remove old hack with ON and OFF.
14644 * lyxfont.h: do not include language.h...
14649 * bufferview_funcs.C:
14655 * paragraph.C: ... but do it here instead
14657 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14659 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14661 * tabular.C: small reformat
14663 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14666 (BreakParagraph): ditto
14667 (SetOnlyLayout): ditto
14670 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14673 * lastfiles.C: removed most using decl, add std:: where needed
14675 * buffer.C: ws changes
14677 * MenuBackend.C (class compare_format): put into anon namespace
14678 (expand): constify label, names, action, action2
14681 * text.C (SingleWidth): constify font
14682 (IsBoundary): constify rtl2
14683 (GetVisibleRow): constify ww
14685 * LaTeX.C (deplog): constify logfile
14687 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14689 (workAreaExpose): constify widthChange, heightChange
14691 * lyxrow.C (par): moved
14694 * lyxrow.h: as inlines here
14696 * lyxfont.h (shape): moved from lyxfont.C
14697 (emph): moved from lyxfont.C
14699 * lyxfont.C (LyXFont): use initialization list for all
14701 (shape): move to lyxfont.h as inline
14702 (emph): move to lyxfont.h as inline
14705 2001-04-04 Juergen Vigna <jug@sad.it>
14707 * vspace.C: had to include stdio.h for use of sscanf
14709 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14712 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14713 independent of xforms.
14715 2001-04-02 Juergen Vigna <jug@sad.it>
14717 * spellchecker.C: fixed namespace placing!
14719 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14721 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14722 the LyXParagraph * is 0.
14724 2001-03-29 Juergen Vigna <jug@sad.it>
14726 * vspace.C: added support for %, c%, p%, l%.
14727 (stringFromUnit): added helper function.
14728 (asLatexString): changed to give right results for the %-values.
14730 * buffer.C: convert the widthp in a width%.
14732 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14734 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14737 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14738 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14740 * lyx_cb.[Ch]: see above.
14742 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14746 * lyx.[Ch]: replaced by figure_form.[Ch].
14750 * lyxfunc.C: changed headers associated with above changes.
14752 2001-03-27 Juergen Vigna <jug@sad.it>
14754 * BufferView_pimpl.C: set the temporary cursor right!
14756 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14758 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14760 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14762 * LString.h: removed "using std::getline"!
14764 * BufferView_pimpl.C (Dispatch): changes due to changes in
14765 InsetInclude::Params.
14767 * buffer.C (tag_name): removed redundant break statements as they were
14768 producing lots of warnings with my compiler.
14770 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14772 * LString.h: add "using std::getline" when using the real <string>.
14774 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14776 * buffer.C: removed bitset usage.
14777 PAR_TAG moved to an anonymous name space.
14778 (tag_name): new funtion, also in the anonymous namespace.
14779 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14780 (makeDocBookFile): clean code. Completed transition from string arrays
14782 (SimpleDocBookOnePar): code clean.
14784 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14786 * tabular.C: add some comments.
14788 2001-03-22 Juergen Vigna <jug@sad.it>
14790 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14791 compatibility read a bit and fixed bug with minipage in different
14794 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14796 * buffer.C (pop_tag): removed.
14797 (push_tag): removed.
14798 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14799 array replaced with vector. Added support for CDATA sections.
14800 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14802 (makeDocBookFile): XML conformant declaration of CDATA section,
14803 fixed bug related to <emphasis> in the first paragraph char.
14804 (sgmlOpenTag): exclude empty tags.
14805 (sgmlCloseTag): ditto.
14807 * buffer.h (pop_tag): removed.
14808 (push_tag): removed.
14810 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14812 * language.h (Languages): added size_type and size().
14814 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14816 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14817 response on compability reading of minipages. One probliem is that
14818 the old usage of minipages was «flertydig»
14820 * several files here and in subdirs: don't use static at file
14821 scope use anon namespaces instead.
14823 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14825 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14826 LaTeX output. This is necessary for Literate document
14829 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14831 * buffer.C: insert hfill when needed.
14833 * tabular.C (l_getline): use string::erase, small whitespace change.
14835 * BufferView_pimpl.C: try the anon namespace.
14836 * WorkArea.C: ditto
14838 2001-03-16 Juergen Vigna <jug@sad.it>
14840 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14841 otherwise it won't open options-dialogs.
14843 * buffer.C: honor pextraWidth(p) on converting minipages.
14845 * tabular.C (l_getline): changed the functions to strip trailing \r.
14847 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14849 * BufferView_pimpl.C:
14850 * minibuffer..C: added "using SigC::slot" declaration.
14852 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14854 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14860 * paragraph.C: ditto
14862 * lyxtext.h: NO_PEXTRA
14864 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14866 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14867 * ParameterStruct.h: ditto
14868 * ParagraphParameters.h: ditto
14869 * lyxparagraph.h: ditto
14871 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14873 * buffer.C: add compability for minipage alignment.
14874 (latexParagraphs): remove unwanted pextra check.
14876 * several files: remove CXX_WORKING_NAMESPACES
14878 * buffer.C (pop_tag): tie is in namespace boost
14880 * BufferView.h: noncopyable is in namespace boost
14882 * lyx_main.h: ditto
14885 * lastfiles.h: ditto
14886 * bufferlist.h: ditto
14887 * ShareContainer.h: ditto
14889 * LyXAction.h: ditto
14892 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14894 * Merging changes from BRANCH_MVC back into HEAD.
14896 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14898 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14900 * BufferView_pimpl.C: change from intl.C
14904 * Makefile.am: move combox.*
14910 * intl.C: remove dialog (covered by prefs)
14912 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14914 * lyxfunc.C (Dispatch): removed redundant break statement.
14916 2001-03-14 Juergen Vigna <jug@sad.it>
14918 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14920 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14922 * buffer.C: add hack to fix compability reading of minipages.
14924 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14926 * buffer.C (getLists): Cleanup.
14928 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14930 * lyxfont.C (update): don't honor toggleall on font size.
14932 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14936 * Makefile.am: moved to frontends/xforms/
14940 * BufferView_pimpl.C: changes for moved mathpanel
14942 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14944 * gettext.h: fix gettext_init() in --disable-nls
14946 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14948 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14950 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14953 * lyx.h: strip external form
14955 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14957 * BufferView_pimpl.C: add comment, destroySplash()
14959 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14961 * BufferView_pimpl.C:
14965 * lyxfunc.C: use re-worked insetinclude
14967 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14969 * buffer.C: add using std::stringstream.
14971 * lyx_cb.C: readd using std::ios.
14973 * buffer.C: add using std::map.
14975 * BufferView_pimpl.C: add using std::vector.
14977 * ShareContainer.h: add std:: to swap.
14979 * buffer.h: add some typedefs
14980 * buffer.C (getLists): use them
14981 (getLists): renamed from getTocList.
14982 add a counter for the different float types and use it in the
14984 (getLists): use the same counter for the NEW_INSETS and the "non"
14987 * lyx_cb.h: remove unused items, includes, using etc.
14989 * ShareContainer.h: remove some commented code, add more comments
14990 and "documentation".
14992 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14994 * buffer.C (getTocList): make the list also when NEW_INSETS is
14997 * buffer.h: remove TocType
14999 * buffer.C (getTocList): change to return a map<string,
15000 vector<TocItem> >, implement for dynamic number of list.
15002 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15003 * text2.C (PasteSelection): adjust
15004 * CutAndPaste.C (pasteSelection): adjust
15006 * FloatList.C (FloatList): update from the new_insets branch.
15007 * Floating.[Ch]: ditto
15008 * LaTeXFeatures.C: ditto
15010 * lyxlex_pimpl.C: ditto
15012 * paragraph.C (Last): remove when NEW_INSETS is defined.
15014 * other file: changes because of the above.
15016 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15018 * lyxparagraph.h: rename next to next_, previous to previous_,
15019 make them private for NEW_INSETS. Rename Next() to next(),
15020 Previous() to previous().
15022 * other files: changes because of the above.
15024 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15027 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15030 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15032 * main.C (main): pass lyx_localedir to gettext_init().
15034 * gettext.h: remove locale_init and gettext_init macros
15036 * gettext.C (locale_init): new function
15037 (gettext_init): new function
15039 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15042 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15044 * Moved credits to frontends:
15045 * credits.[Ch]: removed
15046 * credits_form.[Ch]: removed
15047 * lyx_gui_misc.C: remove credits stuff
15050 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15052 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15054 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15055 unneeded destructor.
15057 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15058 a standalone pointer again.
15060 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15062 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15068 * ToolbarDefaults.C:
15077 * BufferView_pimpl.C: use new file dialog in GUII
15080 * lyx_cb.C: remove LayoutsCB to Toolbar
15082 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15084 * ShareContainer.h (get): add std:: qualifier
15086 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15088 * ShareContainer.h: define a proper ShareContainer::value_type
15089 type (and use typename to please compaq cxx)
15091 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15093 * lyxparagraph.h: move serveral local vars to
15094 ParameterStruct/ParagraphParameters., use ShareContainer in
15095 FontTable., make vars in FontTable private and add getter and
15098 * paragraph.C: changes because of the above.
15100 * lyxfont.h: remove copy constructor and copy assignment. (the
15101 default ones is ok), move number inside FontBits. move inlines to
15104 * lyxfont.C: add number to initializaton of statics, move several
15105 inlines here. constify several local vars. some whitespace
15106 cleanup. Dont hide outerscope variables.
15108 * Spacing.h: add two new constructors to match the set methods.
15110 * ShareContainer.h: new file, will perhaps be moved to support
15112 * ParameterStruct.h: new file
15114 * ParagraphParameters.h: new file
15116 * ParagraphParameters.C: new file
15118 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15119 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15121 * BufferView_pimpl.C: ParagraphParameter changes.
15122 * buffer.C: Likewise.
15123 * bufferview_funcs.C: Likewise.
15124 * text.C: Likewise.
15125 * text2.C: Likewise.
15127 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15129 * lyxfind.C (LyXReplace): do not redefine default argument in
15131 (IsStringInText): ditto
15132 (SearchForward): ditto
15133 (SearchBackward): ditto
15135 2001-03-06 Juergen Vigna <jug@sad.it>
15137 * lyxfind.C (IsStringInText): put parentes around expressions.
15139 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15141 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15143 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15145 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15147 * stl_string_fwd.h: add comment
15149 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15152 * tabular.C: remove unused DocBook methods
15158 killed DO_USE_DEFAULT_LANGUAGE
15160 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15162 * lyx_gui.C: do not include language.h.
15164 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15165 arguments in function implementation.
15167 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15169 * BufferView_pimpl.C: add <ctime>
15171 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15173 * BufferView_pimpl.C: add using std::find_if
15175 2001-02-27 José Matos <jamatos@fep.up.pt>
15177 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15180 2001-02-11 José Matos <jamatos@fep.up.pt>
15182 * buffer.C (makeDocBookFile): command styles now have a parameter as
15183 "title" by default.
15185 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15187 * layout_forms.[Ch]: removed
15188 * lyx_cb.[Ch]: out character
15189 * lyx_gui.C: out character
15190 * lyx_gui_misc.C: out character
15191 * bufferview_funcs.C: : out character,
15192 added toggleall as parameter in ToggleAndShow
15194 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15196 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15198 * text2.C (SetCurrentFont): Disable number property at boundary.
15200 2001-02-26 Juergen Vigna <jug@sad.it>
15202 * lyxfunc.C (getStatus): added a string argument override function so
15203 that this is correctly called from LyXFunc::Dispatch if it contains a
15204 do_not_use_argument which is used!
15205 (Dispatch): added check for "custom" export and call appropriate func.
15207 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15209 * lyxrc.C: Add language_command_local, language_use_babel and
15210 language_global_options.
15212 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15214 * buffer.C (makeLaTeXFile): Use language_use_babel and
15215 language_global_options.
15217 2001-02-23 Juergen Vigna <jug@sad.it>
15219 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15220 which works with LyXText and putted it inside BufferView. Here now we
15221 only call for that part the BufferView::Dispatch() function.
15223 * BufferView.C (Dispatch): added.
15225 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15226 functions which needs to use a LyXText over from LyXFunc.
15227 (MenuInsertLyXFile): added
15228 (getInsetByCode): added
15229 (moveCursorUpdate): added
15230 (static TEXT): added
15232 2001-02-22 Juergen Vigna <jug@sad.it>
15234 * BufferView_pimpl.C (update): call a status update to see if LyXText
15237 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15239 * vc-backend.C (revert): implement for CVS
15240 (getLog): implement for CVS
15242 2001-02-20 Juergen Vigna <jug@sad.it>
15244 * text2.C (ClearSelection): added BufferView param for inset_owner call
15246 * lyxfunc.C (TEXT): added this function and use it instead of
15247 directly owner->view()-text of getLyXText().
15249 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15251 * src/layout_forms.C: out preamble
15252 * src/layout_forms.h: out preamble
15253 * src/lyx_cb.C: out preamble
15254 * src/lyx_cb.h: out preamble
15255 * src/lyx_gui.C: out preamble
15256 * src/lyx_gui_misc.C: out preamble
15257 * src/lyxfunc.C: connect with guii preamble
15259 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15261 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15263 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15265 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15266 whether to run bibtex.
15268 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15270 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15272 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15274 * Makefile.am (lyx_SOURCES): removed bibforms.h
15276 * vspace.h: doxygen
15278 * text.C (GetVisibleRow): make several local vars const
15280 * tabular.C: small cleanup.
15282 * lyxserver.C (callback): use compare instead of strncmp
15284 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15285 inlines to after class or to paragraph.C
15287 * lyxfont.h: remove friend operator!=
15289 * converter.h: move friend bool operator< to non friend and after
15292 * combox.h: small cleanup
15294 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15295 to inlines after class def.
15297 * buffer.C (pop_tag): use string operations instead of strcmp
15299 * bmtable.c: doxygen, small cleanup
15301 * LaTeX.h: remove friend operator==
15303 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15315 * BufferView_pimpl.C:
15316 * BufferView.[Ch]: remove cruft
15318 2001-02-14 Juergen Vigna <jug@sad.it>
15320 * lyxfunc.C: removed #if 0 unused code
15322 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15324 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15326 * text2.C (SetSelection): added a BufferView * parameter
15328 2001-02-13 Juergen Vigna <jug@sad.it>
15330 * lyxfunc.C (Dispatch): fixed protected blank problem.
15331 * BufferView2.C (protectedBlank): added LyxText * parameter.
15333 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15334 (AppendColumn): same as above for column_info.
15336 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15337 (moveCursorUpdate): use a LyXText param for support of InsetText.
15339 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15340 (tripleClick): ditto
15342 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15344 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15346 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15348 * text2.C (SetSelection): set correct update status if inset_owner
15349 (ToggleFree): ditto
15351 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15353 * tabular.C: remove some commented code.
15355 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15357 * BufferView_pimpl.C: call hideSplash()
15359 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15362 * bibforms.h: remove
15365 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15366 add LFUN_CHILD_CREATE
15368 * counters.h: fix tiny typo
15373 * lyx.C: move splash to frontends/xforms/
15375 * lyx_gui_misc.C: move Include and Bibform to frontends
15377 * lyxvc.h: clarify comment
15379 * vspace.C: tiny housekeeping
15381 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15383 * text.C (PrepareToPrint): RTL Fix.
15385 * paragraph.C (GetUChar): New method.
15386 (String): Use GetUChar.
15388 * buffer.C (asciiParagraph): Use GetUChar.
15390 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15392 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15394 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15397 * buffer.C: rename to getLogName(), handle
15398 build log / latex log nicely
15400 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15403 * MenuBackend.h: remove support for reference menuitem type.
15405 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15407 * BufferView_pimpl.C: housekeeping
15408 * BufferView_pimpl.h:
15413 * minibuffer.h: move Timeout GUI-I
15415 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15417 * lyxrc.C (read): Update converters data-structures.
15419 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15421 * LaTeX.h (operator!=): add operator != for Aux_Info
15423 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15425 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15427 * LaTeXLog.C: deleted, useful code moved to Buffer
15430 * buffer.C: new function getLatexLogName()
15436 * lyxfunc.C: use frontends for LaTeX and VC logs
15438 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15440 * LaTeX.h: yet another std:: that Allan forgot.
15442 * Variables.C (set): renamed from isset(), because this clashes
15443 with some HP-UX macros (grr).
15445 2001-02-06 Allan Rae <rae@lyx.org>
15447 * LaTeX.h: Another bug fix. Missing std:: this time.
15449 2001-02-04 Allan Rae <rae@lyx.org>
15451 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15452 floats problem. I've left it commented out because it's not quite
15453 correct. It should also test that the current object is a table or
15454 figure inset. But I haven't gotten around to figuring out how to do
15455 that. I *think* it'll be something like: "table" == inset.type()
15457 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15460 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15462 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15463 all the citation/databases/styles in the auxilary file.
15464 (run): Rerun latex if there was a babel language error.
15466 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15468 * text.C (Backspace): Preserve the font when changing newline char
15470 (BreakParagraph): If the cursor is before a space, delete the space.
15472 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15474 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15476 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15477 new argument (code).
15478 (ChangeCitationsIfUnique): New method.
15480 * paragraph.C (GetPositionOfInset): Handle bibkey.
15482 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15484 * BufferView_pimpl.h: change type of Position::par_pos to
15485 LyXParagraph::size_type.
15487 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15489 * BufferView_pimpl.C (savePosition, restorePosition): Write
15490 messages to minibuffer.
15492 2001-01-28 José Matos <jamatos@fep.up.pt>
15494 * buffer.C (makeDocBookFile): adds support for document language.
15495 A silly restriction on the name of LatexCommand types where removed.
15496 Added support for CDATA sections, allows to chars unescaped, used
15497 among others in code, to avoid escape < and >.
15499 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15501 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15502 saved positions instrad of a stack. Furthermore, a position is
15503 stored using paragraph id/paragraph position.
15505 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15506 Remove LFUN_REF_BACK.
15508 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15510 * converter.C (dvipdfm_options): New method.
15512 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15514 * vspace.C (isValidLength): Fix for empty input string.
15516 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15518 * LyXAction.C (init): change description of LFUN_FIGURE to
15521 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15523 * LaTeX.C: add using directive
15525 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15527 * MenuBackend.C (expand): Fix the sorting of the formats.
15529 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15531 * lyx_main.C: tiny error message fix
15533 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15535 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15536 calling fl_initialize(). This fixes the problem with ',' as
15537 decimal separator in text files.
15539 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15541 * trans.C (process): Fix the keymap bug.
15543 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15545 * LaTeX.C (scanAuxFiles): New method. Provides support for
15546 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15547 (scanLogFile) Scan for "run BibTeX" messages.
15549 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15550 OT1 font encoding. Also, load the aecompl package if the ae
15553 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15555 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15557 * texrow.C (increasePos): turn two error messages into debug
15560 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15562 * LaTeX.C (scanAux): Handle the \@input macro.
15563 (runBibTeX): Use scanAux().
15565 * language.C (latex_options_): New field.
15567 * LaTeXFeatures.C (getMacros): Add language macros.
15569 * buffer.C (makeLaTeXFile): Small fix.
15571 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15573 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15575 * text2.C: add a using directive.
15577 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15582 * lyxfunc.C: kill LyXBell.
15584 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15586 * text.C (IsBoundary): Remove the error message
15588 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15590 * lyxrc.C (setDefaults): Correct initialization value for
15593 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15595 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15598 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15599 and GotoNextNote().
15601 * src/LyXAction.C: Added reference-next.
15603 * text.C (InsertChar): Use contains instead of strchr.
15605 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15607 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15609 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15610 alignment commands (when needed).
15612 * text.C (InsertChar): Add ':' to number separator chars.