2 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
4 * text3.C (dispatch): supress update when only moving the cursor
5 * cursor.C (selHandle): remove commented code
7 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
9 * paragraph.C (startTeXParParams): correct column count
10 * CutAndPaste.C (pasteSelection): remove const_cast
11 * output_docbook.C (docbookParagraphs): remove const_cast
12 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
13 const_cast and return ParagraphList::const_iterator
14 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
15 * output_plaintext.C (writeFileAscii): remove const_cast
16 * paragraph.[Ch] (simpleTeXOnePar): make const
17 * paragraph_funcs.C (outerPar): use const iterators
18 * paragraph_pimpl.C (validate): use const iterators
19 * text.C (setHeightOfRow): use const iterators
21 2004-05-17 Angus Leeming <leeming@lyx.org>
24 * LyXAction.C (init): new LFUN_INSET_REFRESH.
26 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
27 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
28 if the citation engine has changed.
30 2004-05-14 José Matos <jamatos@lyx.org>
32 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
33 if the textclass does not provide it. Have it different for sgml and
35 support the language of document.
36 * output_docbook.C (docbookParagraphs):
37 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
38 first anchor as the id of the paragraph, remove special case code.
39 * sgml.C (escapeChar): escape only < & >.
41 2004-05-14 Angus Leeming <leeming@lyx.org>
43 * bufferparams.h: move biblio::CiteEngine enum here to minimize
44 dependencies on src/frontends/controllers/biblio.h. Define a
45 CiteEngine_enum wrapper class to enable the enum to be forward
48 2004-05-12 Angus Leeming <leeming@lyx.org>
50 * buffer.C: up LYX_FORMAT to 234.
51 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
52 use_numerical_citations with a single biblio::CiteEngine cite_engine
54 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
56 2004-05-13 José Matos <jamatos@lyx.org>
59 * converter.C (Converter, readFlags): add xml member.
60 * outputparams.h: add XML flavor.
61 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
63 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
65 * lyxfunc.C (dispatch):
66 (getStatus): fix handling of LFUN_SEQUENCE
68 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
70 * debug.C (showLevel): do not forget the end-of-line marker
72 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
74 * kbmap.C (read): do not stop parsing a bind file when an error
77 2004-04-29 Angus Leeming <leeming@lyx.org>
82 * text2.C: wrap a bunch of #warning statements
83 inside #ifdef WITH_WARNINGS blocks.
85 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
87 * buffer.C: increment format to 233.
89 2004-04-28 Angus Leeming <leeming@lyx.org>
94 s/updateToolbar()/updateToolbars()/
95 s/Toolbar.h/Toolbars.h/
97 2004-04-28 Angus Leeming <leeming@lyx.org>
99 * BufferView.[Ch] (c-tor):
100 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
101 No longer passes these data to the WorkArea generator.
103 2004-04-28 Angus Leeming <leeming@lyx.org>
105 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
107 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
109 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
111 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
113 * output_latex.C (TeXEnvironment): make sure that there is a line
114 break before \end{foo} for the last paragraph of a document
115 (TeXOnePar): if the paragraph is at the end of the document (or
116 inset) and the language has to be reset, then make sure that the
117 line break is _before_ the language command, not after (fixes bug
118 1225); also make sure that the language reset command is the first
119 thing after the paragraph (to ensure proper nesting of
120 environments and thus fix bug 1404)
122 2004-04-21 John Levon <levon@movementarian.org>
125 * ToolbarBackend.C: make "name" be a programmatic name
126 and a gui_name field.
128 * lyxfunc.C: display the minibuffer on M-x
130 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
132 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
135 2004-04-19 Angus Leeming <leeming@lyx.org>
137 * BufferView_pimpl.C (setBuffer): changed preview interface.
139 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
142 2004-04-19 John Levon <levon@movementarian.org>
144 * BufferView_pimpl.C:
145 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
147 2004-04-05 Angus Leeming <leeming@lyx.org>
149 * text.C (redoParagraphs): add call to updateCounters(), thereby
150 fixing the missing "Figure #:" label from the caption of a
153 2004-04-13 Angus Leeming <leeming@lyx.org>
155 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
156 cursor is clicked out of an inset.
158 2004-04-13 Angus Leeming <leeming@lyx.org>
160 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
161 than an InsetOld one.
163 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
165 * format.[Ch]: add editor to Format
166 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
167 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
169 2004-04-08 André Pönitz <poenitz@gmx.net>
171 * metricsinfo.h: remove PainterInfo::width member
173 2004-04-08 Angus Leeming <leeming@lyx.org>
175 * lyx_sty.C (boldsymbol_def): modify so that it outputs
176 "\providecommand" rather than "\newcommand", thereby preventing
177 clashes with packages that define "\boldsymbol" themselves.
180 2004-04-08 Angus Leeming <leeming@lyx.org>
182 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
183 thereby squashing an unnecessary warning.
185 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
187 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
190 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
192 * BufferView.C (setCursor): call redoParagraph (some insets could
194 (putSelectionAt): remove the 'double update' trick
196 * BufferView_pimpl.C (fitCursor): call refreshPar
197 (workAreaDispatch): remove an uneeded update call
198 (dispatch): remove some manual update calls
200 * cursor.[Ch]: remove cached_y_, updatePos
201 (selHandle): set noUpdate when appropriate
203 * lyxfunc.C (dispatch): track if we need an update
205 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
207 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
208 (paintSelection): cheap optimization, do not call cursorX when not
210 (paintPars): change signature
213 (paintTextInset): adjust
217 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
219 * lengthcommon.C: compilation fix: remove explicit array size from
220 unit_name[] and friends
222 2004-04-05 Angus Leeming <leeming@lyx.org>
224 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
226 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
227 present only for the preferences dialog.
228 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
230 2004-04-05 Angus Leeming <leeming@lyx.org>
232 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
233 to enable the frontends to export changes to lyxrc correctly.
235 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
237 2004-04-07 André Pönitz <poenitz@gmx.net>
239 * cursor.[Ch] (selClear, adjust): remove math
241 * cursor_slice.C: more agressive assert
244 * BufferView_pimpl.C: rework mouse event dispatch
251 2004-04-05 André Pönitz <poenitz@gmx.net>
253 * cursor.[Ch] (valign, halign...): remove unneeded functions
255 2004-04-05 Angus Leeming <leeming@lyx.org>
257 * lyxlength.[Ch] (unit_name et al.): const-correct.
259 2004-04-05 Angus Leeming <leeming@lyx.org>
261 * BufferView_pimpl.C:
270 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
272 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
274 * text3.C (getStatus): add LFUN_BEGINNINGBUF
276 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
278 * lyxfind.C: add a couple of inTexted() tests + other small fixes
279 * BufferView_pimpl.[Ch] (getStatus)
280 * BufferView.[Ch] (getStatus): add
281 * lyxfunc.C (getStatus): move lfuns handled in
282 BufferView::dispatch to te function above
283 * Cursor.C (setSelection): set selection() = true
285 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
287 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
289 2004-03-31 Angus Leeming <leeming@lyx.org>
291 * lyxfunc.C (dispatch): Fall through to the generic
292 Dialogs::show("preamble").
294 2004-03-31 Angus Leeming <leeming@lyx.org>
296 * lyxfunc.C (dispatch): Fall through to the generic
297 Dialogs::show("spellchecker").
299 2004-03-31 Angus Leeming <leeming@lyx.org>
301 * lyxfunc.C (getStatus, dispatch): changed invocation of the
304 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
309 * insetiterator.[Ch]:
314 * undo.[Ch]: s/DocumentIterator/DocIterator/g
316 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
318 * BufferView.C (setCursor, putSelectionAt): call edit to open the
319 insets where we are putting the cursor.
321 2004-03-31 Angus Leeming <leeming@lyx.org>
324 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
326 * lyxrc.[Ch] (read, write): overloaded member functions taking
327 a std::[io]stream arguments.
329 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
331 2004-03-31 Angus Leeming <leeming@lyx.org>
333 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
334 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
336 * lyxtextclass.C (load): if the text class couldn't be loaded, then
337 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
339 2004-03-31 Angus Leeming <leeming@lyx.org>
341 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
342 the LFUN_ALL_INSETS_TOGGLE code.
344 2004-03-30 Angus Leeming <leeming@lyx.org>
346 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
347 has died. Fall through to the generic Dialogs::show("document").
349 2004-03-30 Angus Leeming <leeming@lyx.org>
352 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
353 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
355 * lyxfunc.C (getStatus, dispatch): define the actions for these
356 lfuns. Little more than a cut and pste job from ControlDocument.C
358 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
360 2004-03-30 Angus Leeming <leeming@lyx.org>
363 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
364 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
366 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
367 open/closed state of ollapsable insets. Usage:
369 all-inset-toggle <state> <name>, where
370 <state> == "open" || "closed" || "toggle" and
371 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
373 * lyxtext.h, text2.C (toggleInset): removed.
375 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
376 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
377 now passes LFUN_INSET_TOGGLE to the found inset.
379 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
380 is now invoked as "all-insets-toggle toggle branch".
382 2004-03-30 Angus Leeming <leeming@lyx.org>
386 * pariterator.[Ch]: added/corrected header blurb.
388 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
390 * dociterator.[Ch]: add an inset_ member
391 (backwardPos): implemented
392 (backwardPos, forwardPos): use inset_ when the stack is empty.
393 (doc_iterator_begin, doc_iterator_end): implemented
394 * pariterator.[Ch]: adjust, add begin, end
395 * insetiterator.[Ch]: adjust, add begin, end
399 * BufferView_pimpl.C:
400 * CutAndPaste.C: adjust
402 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
404 * buffer.C: increment file format to 232.
405 * LaTeXFeatures.C: add bibtopic package.
406 * bufferparams.[Ch]: param \use_bibtopic.
408 * lyxrc.[Ch]: add lyxrc bibtex_command
409 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
411 * buffer.C: increment file format to 231.
413 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
415 * dociterator.C: implement forwardPar
416 * iterators.[Ch]: remove, replaced by
417 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
419 * BufferView_pimpl.C:
422 * bufferview_funcs.C:
428 * Makefile.am: adjust
430 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
432 * CutAndPaste.C (pasteSelection): fix 2 crashes
433 (eraseSelection): fix a crash
434 * paragraph_funcs.C: remove a warning
436 2004-03-28 Angus Leeming <leeming@lyx.org>
439 * LyXAction.C (init): new LFUN_PRINT.
441 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
443 2004-03-27 Angus Leeming <leeming@lyx.org>
446 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
448 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
450 2004-03-27 Angus Leeming <leeming@lyx.org>
452 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
453 insetlist always contains non-null pointers to insets.
455 2004-03-26 Angus Leeming <leeming@lyx.org>
457 * src/BufferView_pimpl.C:
461 * src/output_plaintext.C:
462 * src/outputparams.h:
463 * src/paragraph_funcs.C:
467 * src/frontends/controllers/ControlErrorList.C:
468 * src/frontends/gtk/FileDialogPrivate.C:
469 * src/frontends/gtk/GPainter.C:
470 * src/frontends/gtk/GToolbar.C:
471 * src/frontends/qt2/QRef.C:
472 * src/mathed/math_scriptinset.C: squash compiler warnings.
474 2004-03-26 Angus Leeming <leeming@lyx.org>
476 * ispell.C (LaunchIspell::start):
477 * lyx_cb.C (AutoSaveBuffer::start):
478 invoke run(DontWait) rather than runNonBlocking().
480 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
482 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
484 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
486 * kbsequence.C (print): adjust
488 * kbmap.C (printKeySym): rename and change signature
489 (printKey): use LyXKeySym::print()
491 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
493 * undo.C: add using std::advance to compile for stlport
495 2004-03-24 Angus Leeming <leeming@lyx.org>
497 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
498 it leads to a crash when no buffer is present.
500 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
501 Martin Vermeer <martin.vermeer@hut.fi>
503 * lyxfunc.C (dispatch):
504 * bufferparams.C (readToken): use the new LColor::setColor
506 * LColor.[Ch] (setColor): new version that takes two strings as
507 argument and creates a new color entry if necessary
509 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
511 * buffer.C (makeLaTeXFile): if the main latex file that is
512 processed is usually a subdocument of some master, then pretend
513 for a while that it is actually the master
515 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
517 * buffer.C (getLabelList):
518 (getBibkeyList): use getMasterBuffer()
519 (getMasterBuffer): new method. Returns the main document in the
520 case where one is using included documents.
522 2004-03-25 André Pönitz <poenitz@gmx.net>
526 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
528 * ParagraphList_fwd.h: change ParagraphList to a std::vector
530 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
531 text*.C over here. Rename namespace CutAndPaste to lyx::cap
533 * ParameterStruct.h: merge with ParagraphParameters
535 * lyxtext.h: remove LyXText::parOffset() and getPar()
537 * text3.C: Remove all 'manual' update calls. We do now one per user
538 interaction which is completely sufficient.
542 * BufferView_pimpl.C:
545 * ParagraphParameters.[Ch]:
557 * output_docbook.[Ch]:
559 * output_linuxdoc.[Ch]:
560 * output_plaintext.[Ch]:
562 * paragraph_funcs.[Ch]:
563 * paragraph_pimpl.[Ch]:
571 * frontends/controllers/ControlDocument.C:
572 * frontends/controllers/ControlErrorList.C:
573 * frontends/controllers/ControlSpellchecker.C:
576 * insets/insetbase.h:
577 * insets/insetbibitem.C:
579 * insets/insetbranch.C:
580 * insets/insetcaption.C:
581 * insets/insetcharstyle.C:
582 * insets/insetcharstyle.h:
583 * insets/insetcollapsable.C:
584 * insets/insetcollapsable.h:
586 * insets/insetfloat.C:
587 * insets/insetfoot.C:
588 * insets/insetmarginal.C:
589 * insets/insetnote.C:
590 * insets/insetoptarg.C:
591 * insets/insettabular.C:
592 * insets/insettext.C:
593 * insets/insettext.h:
594 * insets/insetwrap.C:
595 * mathed/math_mboxinset.C:
596 * mathed/math_nestinset.C:
597 * mathed/math_scriptinset.C:
598 * mathed/math_scriptinset.h:
601 2004-03-24 Angus Leeming <leeming@lyx.org>
603 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
604 deal with any child processes that have finished but are waiting to
605 communicate this fact to the rest of LyX.
607 2004-03-24 Angus Leeming <leeming@lyx.org>
609 64-bit compile fixes.
611 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
612 (c-tor): pass lyx::pos_types rather than ints.
614 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
617 * text.C (Delete): compile fix.
618 (getPar): ensure that function declaration is the same as that in
621 2004-03-23 Angus Leeming <leeming@lyx.org>
623 * ispell.C (LaunchIspell):
624 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
625 a boost::shred_ptr rather than a std::auto_ptr.
627 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
629 * lyxfunc.C (getStatus): handle read-only buffers correctly;
630 handle LFUN_FILE_INSERT_*
632 * lyxrc.C (setDefaults, getDescription, output, read):
633 * lyxrc.h: remove ps_command
635 2004-03-22 Angus Leeming <leeming@lyx.org>
637 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
638 Ensure that error_handler is processed once only and that all data
639 is saved before attempting to output any warning messages.
641 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
643 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
645 * tabular.C (TeXRow): crash fix (from Kayvan and André)
647 2004-03-19 André Pönitz <poenitz@gmx.net>
649 * cursor.[Ch] (reset): take main text inset as argument
652 * BufferView_pimpl.C: adjust
654 * paragraph.[Ch]: fix completely broken operator=()
656 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
658 * LColor.C (getFromLyXName): make sure that the color name is used
661 2004-03-17 Angus Leeming <leeming@lyx.org>
664 * LyXAction.C (init): remove LFUN_FORKS_KILL.
666 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
667 dialog and to kill a forked process.
669 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
671 * text2.C (setCursorFromCoordinates): fix font problem
673 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
675 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
676 bogus "rebuild cursor" code
678 2004-03-11 André Pönitz <poenitz@gmx.net>
680 * buffer.[Ch]: use InsetText instead of LyXText as container for
683 * dociterator.[Ch]: drop the BufferView * member which is not needed
684 anymore after the change to buffer.C
690 * BufferView_pimpl.[Ch]:
692 * cursor_slice.[Ch]: adjust
694 * text3.C: fix bug in mathDispatch
696 2004-03-08 André Pönitz <poenitz@gmx.net>
698 * undo.[Ch]: use 'StableDocumentIterator' as base for
701 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
704 * bufferparams.[Ch]: add jurabib support and param.
706 * LaTeX.C: add FIXME/comment.
708 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
710 * buffer.C: increment file format to 230.
712 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
714 * cursor.C (dispatch): avoid infinite loops
716 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
718 * rowpainter.C (paintSelection): fix x coordinates
720 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
722 * text.C (rowBreakPoint): fix breaking before displayed insets
724 2004-03-01 André Pönitz <poenitz@gmx.net>
726 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
728 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
732 * BufferView_pimpl.C:
740 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
746 * BufferView_pimpl.C: rename textwidth -> maxwidth,
747 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
749 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
751 * Bidi.[Ch] (computeTables): const correctness
752 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
753 fill_hfill, fill_label_hfill and x from Row
754 * lyxtext.h: prepareToPrint returns a RowMetrics
755 * rowPainter.C: adjust
756 * text.C (prepareToPrint): use width, not textWidth. adjust
757 (redoParagraphInternal, cursorX): adjust
758 * text2.C (getColumnNearX): adjust
759 (init): put a default value to the top LyXText::width
761 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
763 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
765 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
767 * lyxtext.h: add FontIterator class
769 * text.C (FontIterator, operator*, operator->, operator++): add
770 (rowBreakPoint, setRowWidth): adjust (fixing a
773 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
775 * BufferView_pimpl.C (workAreaDispatch): allow also
776 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
778 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
780 * text.C (rowBreakPoint): fix a bug showing with very large insets
782 2004-02-25 André Pönitz <poenitz@gmx.net>
785 * cursor.[Ch]: move some mathed specific code to mathed
787 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
789 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
790 use_tempdir in preferences
791 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
793 * lyx_main.C: ensure that tempdir is valid
794 * lyxlex.h: correct typo
795 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
796 * paragraph.[Ch] (isMultiLingual): make const
797 * cursor.[Ch] (openable): make const
799 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
801 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
803 2004-02-20 André Pönitz <poenitz@gmx.net>
805 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
807 * cursor.[Ch]: prepare for localized getStatus()
813 * text3.C: streamlines the LyXText cursor movement handlers a bit.
815 2004-02-20 André Pönitz <poenitz@gmx.net>
817 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
819 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
821 * text2.C (setCursorFromCoordinates): switch to absolute coords
824 * text3.C (dispatch): adjust
826 2004-02-16 André Pönitz <poenitz@gmx.net>
828 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
831 * cursor_slice.[Ch]: remove unneeded acessor function
833 * lyxtext.h: rename rtl() to isRTL()
841 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
843 * rowpainter.C (paintSelection): coord fix
845 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
847 * Spacing.C: compile fix
849 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
851 * cursor.C (dispatch): restore current_ before returning
853 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
855 * text2.C (cursorUp, cursorDown): fix coords
858 2004-02-12 André Pönitz <poenitz@gmx.net>
863 * text3.C: add LCursor & parameter to most cursor movement functions
864 remove usage of LyXText::cursorRow() and cursorPar()
866 * cursor.[Ch]: add textRow() needed members
869 * BufferView_pimpl.C:
872 * BufferView_pimpl.C: adjust
874 2004-02-11 André Pönitz <poenitz@gmx.net>
878 * BufferView_pimpl.C: shift undo/redo handling
880 * cursor.[Ch]: fix mathed crash
883 * lyxtext.h: move selectionAsText to LCursor
891 * rowpainter.C: fix excessive drawing
893 2004-02-06 André Pönitz <poenitz@gmx.net>
896 * BufferView_pimpl.[Ch]:
897 * text3.C: move some text specific LFUN handling
899 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
901 * text3.C (checkInsetHit): adjust coords
902 * text2.C (getColumnNearX): adjust coords
903 (edit): adjust coords
904 * text.C (getRowNearY): add two asserts
906 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
909 * format.C: add using std::distance to compile on gcc 2.95/stlport
911 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
913 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
915 2004-02-04 André Pönitz <poenitz@gmx.net>
917 * BufferView.[Ch] (insertInset):
918 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
923 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
925 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
926 on the default clause of the switch
927 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
928 wasn't catched by LCursor::dispatch
930 2004-02-03 André Pönitz <poenitz@gmx.net>
933 * cursor.[Ch]: some additional asserts
935 * undo.[Ch]: remove LyXText dependency in interface
939 * lyxtext.h (firstPar, lastPar): remove dead functions
944 * paragraph.[Ch]: adjust
946 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
948 * lyxfind.C (find): fix argument order in call to ::find
950 2004-02-02 André Pönitz <poenitz@gmx.net>
952 * cursor.[Ch]: remove direct access to anchor
954 * text.C: remove findText() hack
956 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
958 * iterators.[Ch] (lockPath): remove in favour of...
959 * BufferView.[Ch] (setCursor): this addition
960 * BufferView.C (putSelectionAt): adjust
961 * undo.C (performUndoOrRedo): adjust
962 * lyxfunc.C (dispatch): adjust
964 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
966 * iterators.C (lockPath): add a missing slice
967 * undo.C (performUndoOrRedo): remove redundant positioning code
969 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
971 * vc-backend.C (scanMaster): ";" -> ';'
973 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
975 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
978 * lyxtextclass.C (compare_name): rename to...
979 (LayoutNamesEqual): ...this
981 * lyxlex_pimpl.C (compare_tags): inherit from
982 std::binary_function, put back into anon namespace
984 * lyxfind.C (MatchString): inherig from std::binary_function
985 (findChange): use empty() istead of !size()
987 * format.C (FormatNamesEqual): new functor
994 * converter.C (compare_Converter): rename to...
995 (ConverterEqual): ...this, and fixup a bit.
996 (getConverter): use it, and make function const
997 (getNumber): use it, and make function const
1001 * bufferlist.C: add using boost::bind
1003 * MenuBackend.C (MenuNamesEqual): new functor
1004 (hasMenu): use it, and make function const
1005 (hasSubmenu): use nested bind to get rid of compare_memfun.
1007 2004-01-30 André Pönitz <poenitz@gmx.net>
1009 * BufferView_pimpl.C:
1012 * cursor_slice.[Ch]:
1015 * paragraph_funcs.C:
1016 * paragraph_funcs.h:
1020 * text3.C: move some of the edit(x,y) handling to the insets
1021 some coordinate changes.
1023 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1025 * text.C: add using statements for std::advance and std::distance
1027 * paragraph.C: add using statement for std::distance
1029 * lyxfind.C: add using statement for std::advance
1031 * cursor.C (region): remove std:: from swap
1032 (openable): use nucleus in stead of operator->
1034 * BufferView.C: add using statements for std::distance and std::swap
1036 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1038 * iterators.C: Remove the pimple, move the needed structures to
1039 the header file. Create accessor for the positions stack.
1040 (asPosIterator): remove function
1042 * PosIterator.C (PosIterator): move constructors to top of file
1043 (PosIterator): reimplement the constructor taking a ParIterator in
1045 (setFrom): new function
1046 (operator!=): inline it
1048 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1050 * lyxfind.C (replaceAll): use std::advance
1052 * iterators.h: inherit from std::iterator.
1054 * PosIterator.C (advance, distance): remove
1055 * PosIterator.h: interit from std::iterator.
1057 2004-01-26 André Pönitz <poenitz@gmx.net>
1060 * BufferView_pimpl.[Ch]:
1064 * bufferview_funcs.C:
1074 * output_linuxdoc.C:
1075 * output_plaintext.C:
1077 * paragraph_funcs.[Ch]:
1078 * paragraph_pimpl.[Ch]:
1084 * text3.C: more IU: dumps most of the rest of the mathcursor
1085 implementation into cursor.[Ch]; "globalize" a bit of it.
1087 2004-01-25 Angus Leeming <leeming@lyx.org>
1089 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1091 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1093 * LaTeXFeatures.h: add nice_ and nice() const
1094 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1096 2004-01-20 André Pönitz <poenitz@gmx.net>
1099 * BufferView_pimpl.C:
1101 * bufferview_funcs.C:
1103 * cursor_slice.[Ch]:
1114 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1115 LCursor and mathcursor parts to LCursor and InsetBase.
1117 2004-01-15 André Pönitz <poenitz@gmx.net>
1119 * cursor_slice.[Ch]: add a few covienience functions
1121 * funcrequest.[Ch]: remove BufferView * member
1123 * BufferView_pimpl.C:
1130 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1132 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1134 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1135 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1137 2004-01-13 André Pönitz <poenitz@gmx.net>
1140 * lyxtext.h: hide cursor and selection anchor behind accessor function
1143 * BufferView_pimpl.[Ch]:
1145 * bufferview_funcs.C:
1155 * cursor_slice.[Ch]: some integer type changes for inset unification
1157 * lyxcursor.[hC]: remove, it's CursorSlice now.
1160 * BufferView_pimpl.[Ch]:
1161 * bufferview_funcs.C:
1167 * textcursor.[Ch]: adjust
1169 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1171 * text2.C (undoSpan): add and use
1172 * text.C (breakParagraph): use undoSpan (fix bug 578)
1175 2004-01-08 Angus Leeming <leeming@lyx.org>
1177 * BufferView_pimpl.C (MenuInsertLyXFile):
1178 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1179 * lyxfunc.C (menuNew, open, doImport):
1180 FileFilterList change to the FileDialog open and save functions.
1182 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1184 * ShareContainer.h: make isEqual and isUnique adaptable
1186 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1188 2004-01-07 Angus Leeming <leeming@lyx.org>
1191 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1193 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1195 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1196 functions replacing find, replace and replaceAll.
1198 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1199 LFUN_WORDFIND(FORWARD|BACKWARD).
1201 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1203 * text.C (breakParagraph): remove an outdated #warning
1205 2004-01-07 André Pönitz <poenitz@gmx.net>
1207 * lyxfind.C: somewhat clearer logic
1209 * text.C: prevent crash in cursorX on unitialized row cache
1211 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1213 * lyxcursor.[Ch] (operator>): add
1214 * textcursor.C (selStart, selEnd): use std::min and std::max
1216 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1218 * Chktex.C: include boost/format.hpp
1220 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1222 * InsetList.C: replace functor MathcIt with adaptable functor
1224 (insetIterator): modify accordingly
1226 * BranchList.h: move the BranchNamesEqual functor here from...
1227 * BranchList.C: ... to here
1229 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1231 (add): replace a finding loop with std::find_if.
1233 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1235 * output_docbook.C: moving LatexParam functionality into
1238 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1240 * buffer.C: increment format to 229.
1242 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1245 * lyx_sty.[Ch]: remove minipageindent_def
1251 * text3.C: remove LFUN_INSET_MINIPAGE
1253 2003-12-28 Angus Leeming <leeming@lyx.org>
1255 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1257 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1259 * text2.C (setParagraph): fix off-by-one crash
1261 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1263 * output_docbook.C: header stuff for AGU
1265 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1267 * text2.C (redoCursor): remove
1270 * BufferView_pimpl.C: remove calls to redoCursor and
1271 setCursor(cursor.par(), cursor.pos()) all around
1273 2003-12-15 Angus Leeming <leeming@lyx.org>
1275 * buffer.C: up the format to 228.
1277 2003-12-15 André Pönitz <poenitz@gmx.net>
1279 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1284 * BufferView_pimpl.C:
1293 2003-12-15 Angus Leeming <leeming@lyx.org>
1295 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1296 than getFromGUIName to manipulate the color.
1298 2003-12-14 Angus Leeming <leeming@lyx.org>
1300 * BranchList.[Ch]: minimize the API.
1301 (Branch::getBranch, getColor): now return a 'const &'.
1302 (Branch::setSelected) now returns a bool set to true if the
1303 selection status changes.
1304 (BranchList::clear, size, getColor, setColor, setSelected,
1305 allBranches, allSelected, separator): removed.
1306 (BranchList::find): new functions, returning the Branch with
1308 (BranchList::add, remove): return a bool indicating that
1309 the operation was successful.
1311 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1312 new InsetBranch::isBranchSlected member function.
1314 * LColor.[Ch]: mimimize the API.
1315 (fill): renamed as addColor and made private.
1316 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1317 versions of these functions taking a string arg have been removed.
1319 * bufferparams.C (readToken):
1320 * lyxfunc.C (dispatch):
1321 * lyxrc.C (read): changes due to the altered BranchList and
1324 * factory.C (createInset, readInset): changes due to altered
1327 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1330 * lyxfunc.C: remove insetminipage. "minipage-insert"
1331 now produces a frameless minipage box inset.
1333 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1335 * textcursor.[Ch] (selStart,selEnd): add new methods
1336 remove selection::start, end, use LyXCursor::operator<
1337 * lyxcursor.[Ch] (operator<): add
1338 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1339 * BufferView.[Ch] (unsetXSel): add
1340 * text2.C (clearSelection): use unsetXSel,adjust
1343 * rowpainter.C: adjust
1344 * bufferview_funcs.C (put_selection_at): adjust
1346 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1348 * BufferView_pimpl.C: small coord. correction
1350 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1352 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1353 dragging over the splash screen.
1355 2003-12-11 Angus Leeming <leeming@lyx.org>
1357 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1358 as it is now handled in LyXText::dispatch.
1360 * text3.C (doInsertInset): remove a level of nesting.
1362 2003-12-11 Angus Leeming <leeming@lyx.org>
1364 * factory.C (createInset): changes due to the changed interface to
1365 InsetCommandMailer::string2params.
1367 2003-12-10 Angus Leeming <leeming@lyx.org>
1369 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1370 'dialog-show-new-inset <inset name>'
1372 2003-12-10 Angus Leeming <leeming@lyx.org>
1374 * buffer.C: up the format to 227.
1376 * factory.C: the box inset is now identified simply by 'Box'.
1378 2003-12-10 Angus Leeming <leeming@lyx.org>
1380 * buffer.C: up the format to 226.
1382 * factory.C: the note inset is now identified simply by 'Note'.
1384 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1386 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1387 when a pit is enough. Standarize a couple of loops.
1389 2003-12-05 Angus Leeming <leeming@lyx.org>
1391 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1392 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1393 data to the re-worked "log" dialog.
1395 2003-12-03 André Pönitz <poenitz@gmx.net>
1401 * paragraph_funcs.C:
1403 * text2.C: use Inset::getText instead of Inset::getParagraph
1405 2003-12-03 André Pönitz <poenitz@gmx.net>
1409 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1410 InsetText::read() as LyXText::read()
1412 2003-12-02 Angus Leeming <leeming@lyx.org>
1414 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1415 type. Add a comment in the implementation that the function uses
1416 the stream's bad() function rather than fail() as the std::streams
1419 2003-12-02 André Pönitz <poenitz@gmx.net>
1421 * lyxlex.[Ch]: make interface more similar to std::stream
1423 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1425 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1427 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1429 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1431 * vspace.[Ch]: remove VSpace::NONE
1433 2003-12-01 André Pönitz <poenitz@gmx.net>
1436 * lyxtext.h: move ParagraphList member to LyXText
1437 rename LyXText::ownerParagraphs to LyXText::paragraph
1440 * bufferview_funcs.C:
1450 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1452 * undo.C: fix cursor positioning
1454 2003-12-01 John Levon <levon@movementarian.org>
1456 * BufferView_pimpl.C: fix a crash on exit with
1459 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1461 * BranchList.C: fix setSelected() method.
1463 2003-11-28 André Pönitz <poenitz@gmx.net>
1465 * ParagraphParameters.[Ch]:
1466 * ParameterStruct.h: remove space above/below from Paragraph to
1469 * BufferView_pimpl.C:
1475 * paragraph_funcs.C:
1481 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1483 * factory.C: Syntax change for CharStyles
1485 2003-11-28 André Pönitz <poenitz@gmx.net>
1490 * buffer.[Ch]: move LyXText member
1492 2003-11-28 André Pönitz <poenitz@gmx.net>
1494 * BufferView.[Ch]: make LyXText * text a private member
1496 * BufferView_pimpl.C:
1507 * output_plaintext.C: cleanup
1509 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1512 * lyxtextclass.[Ch]: parametrize SGML document header
1514 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1517 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1520 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1522 * text2.C (setFont): rework using PosIterator (no more recursive)
1523 (setCharFont): no more needed
1524 (setLayout): no more selection cursors fiddling (done by redoCursor)
1525 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1526 destroy remaining ones)
1528 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1530 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1532 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1535 * text3.C: adjust + re-allow multi par depth changes
1536 * textcursor.C: simplify a bit
1538 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1544 * src/output_docbook.C:
1545 * src/output_latex.C:
1550 * src/text2.C: Introducing a number of tags parametrizing various
1551 XML formats that we may want to support
1553 2003-11-25 André Pönitz <poenitz@gmx.net>
1555 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1557 * lyxtext.h (leftMargin/rightMargin): simplify interface
1564 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1566 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1567 master file to any child files. Fixes bug 546.
1569 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1571 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1573 2003-11-24 André Pönitz <poenitz@gmx.net>
1575 * rowpainter.C: simplification
1577 * text2.C (updateCounters): remove call to redoParagraph on
1578 changed labels as this is far too expensive.
1580 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1582 * converter.C (convert): fix a crash: this function gets
1583 called with buffer == 0 from importer code.
1585 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1587 * text3.C (cursorPrevious): make sure that we do not compare
1588 iterators form different containers.
1591 * rowpainter.C (paintSelection): make sure that we do not compare
1592 iterators from different containers.
1594 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1595 iterators from different ParagraphList containers.
1598 * text2.C (LyXText): change order of initialization slightly
1599 (operator=): new function. copy all variables except cache_par_
1600 (moveUp): make sure that we do not compare iterators from
1601 different ParagraphList constainers.
1604 * text.C (firstPar): new function
1605 (lastPar): new function
1606 (endPar): new function
1608 * lyxtext.h: move things around and group public functions, public
1609 variables, private functions, private variables
1611 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1613 * factory.C: change call to InsetERT constructor to avoid
1614 additional invocation of method status
1615 * text2.C (toggleInset): remove redundant update() call
1616 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1617 instead of a Bufferview pointer
1619 2003-11-21 André Pönitz <poenitz@gmx.net>
1621 * rowpainter.C: simplification
1623 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1625 * text3.C (dispatch): make possible to extend a word/row selection
1628 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1630 * lyxtext.h: x0_,y0_ -> xo_,yo_
1631 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1632 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1633 * rowpainter.C (paintRows): paint full paragraphs
1635 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1637 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1640 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1642 * lyxtext.h: add x0_, y0_
1643 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1644 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1646 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1648 * text2.C (setCursorIntern): move the x_target update here *
1649 * text3.C: change some bv() to true/false in calls to
1650 cursorUp/Down/Right/Left
1651 * cursor.C: use helper function.
1653 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1655 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1656 * paragraph_funcs.[Ch]: correct comment
1657 * rowpainter.C: do not paint selections away from bv->cursor()
1658 Fix a long standing selection painting bug.
1659 * text3.C: generalize mouse-selection code to LyXTexts other that
1661 * textcursor.C: do not use y coords if we can use par offsets
1663 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1665 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1666 cursor position after e.g. inset insert)
1668 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1670 * lyxfind.C (replace): adjust to locking removal + some
1673 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1675 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1678 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1681 * output_docbook.C: XML sanitation: new layout
1682 parameters InnerTag and CommandDepth
1684 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1686 * BufferView_pimpl.C:
1688 * text3.C: Fix the insertion and modification of button-style
1691 2003-11-13 André Pönitz <poenitz@gmx.net>
1693 * InsetList.[Ch]: remove deleteLyXText
1695 * paragraph.[Ch]: cache beginOfBody position
1700 * text3.C: remove superfluous update() calls
1704 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1706 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1707 * BufferView.C (fitLockedInsetCursor): remove
1708 * cursor.[Ch] (getDim): add
1709 * text.C (getRowNearY): add faster version
1710 * text3.C: remove some update calls
1712 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1724 * text3.C: The Character Style /XML short element patch.
1726 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1729 * factory.C: Small step to solving 'unable to insert some insets'
1732 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1734 * cursor.[Ch] (updatePos): new function for updating the y
1735 position of the tip inset
1736 * bufferview_funcs.C (put_selection_at):
1737 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1739 2003-11-11 André Pönitz <poenitz@gmx.net>
1741 * text.C: remove big comment on invalid Paragraph pointers as it is
1744 2003-11-11 André Pönitz <poenitz@gmx.net>
1746 * text_funcs.[Ch]: merge with ...
1754 * Makefile.am: remove text_funcs.[Ch]
1756 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1758 * cursor.C (getPos): return absolute cached y coord
1760 * BufferView_pimpl.C (fitCursor): new simplistic code
1761 (workAreaDispatch): add a fitCursor call
1763 2003-11-10 André Pönitz <poenitz@gmx.net>
1766 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1768 2003-11-10 André Pönitz <poenitz@gmx.net>
1770 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1771 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1772 indicate that the cursor needs to leave an inset
1774 * lyxtext.h: remove inset locking
1776 * cursor.[Ch]: re-implement functionality provided by inset locking
1779 * BufferView_pimpl.[Ch]:
1781 * bufferview_funcs.[Ch]:
1793 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1795 * PosIterator.[Ch]: replace the stack with a vector, add inset
1797 * iterators.[C]: adjust
1799 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1801 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1803 * paragraph_funcs.C (readParToken): put the correct id in the
1804 error item, not the id of the top paragraph
1806 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1808 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1809 * bufferview_funcs.C (put_selection_at): use the above
1811 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1813 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1815 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1817 * output_linuxdoc.h:
1818 * output_plaintext.h:
1820 * output_docbook.h: add #include statements
1822 2003-11-05 José Matos <jamatos@lyx.org>
1824 * output_docbook.[Ch]:
1825 * output_latex.[Ch]:
1826 * output_linuxdoc.[Ch]:
1827 * output_plaintext.[Ch]: New files for output formats.
1828 * output.[Ch]: New file for helper functions.
1831 * paragraph_funcs.[Ch]: output functions moved to new files.
1833 * outputparams.h: rename of latexrunparams.h
1841 * paragraph_funcs.[Ch]:
1842 * paragraph_pimpl.[Ch]:
1843 * tabular.[Ch]: rename ascii to plaintext
1844 and LatexRunParams to OutputParams.
1846 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1848 * iterators.[Ch] (text): require bv argument
1849 * undo.C (recordUndo):
1850 * lyxfunc.C (dispatch):
1851 * bufferview_funcs.C (put_selection_at): adjust
1853 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1855 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1857 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1859 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1862 2003-11-04 André Pönitz <poenitz@gmx.net>
1864 * cursor.[Ch]: restructure
1867 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1869 * iterators.[Ch] (asCursor): remove
1871 * lfuns.h: remove LFUN_INSET_EDIT
1877 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1879 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1881 * lyxfind.[Ch]: complete overhaul
1882 * BufferView_pimpl.C:
1884 * paragraph.[Ch] (insert): add
1886 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1890 * text.C: remove dead spellcheck code
1892 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1894 * dispatchresult.h: add a val setter
1896 * cursor.C (dispatch): use a tempvar for data_[i]
1898 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1900 * PosIterator.[Ch]: compile fix
1902 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1904 * text.C (cursorPar): deactivate the cursor cache
1906 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1908 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1910 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1912 * text3.C (dispatch): adjust for new DisptchResult semantics.
1914 * lyxfunc.C (dispatch): handle update when return from
1915 Cursor::dispatch, adjust for new DispatchResult semantics.
1917 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1918 DispatchResult(true) mean to not update. Add class functions for
1919 setting dispatched and update, as well as reading.
1921 * cursor.C (dispatch): don't handle update here
1923 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1925 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1926 * trans_mgr.C: adjust
1928 * paragraph_funcs.C (readParToken): exception safety
1930 * lyxvc.h: store the vcs pointer in a scoped_ptr
1933 * lyxsocket.C (serverCallback): exception safety
1935 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1937 * ispell.C (clone): make it return a auto_ptr
1939 * factory.C (createInset): exception safety
1940 (readInset): exception safety
1942 * bufferlist.C (newBuffer): exception safety
1944 * Thesaurus.C (Thesaurus): use initialization for aik_
1946 * MenuBackend.C (expandToc): exception safety.
1948 2003-11-03 André Pönitz <poenitz@gmx.net>
1952 * bufferview_funcs.C: remove getInsetFromId()
1955 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1961 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1963 * PosIterator.C (distance, advance): new
1964 * bufferview_funcs.[Ch] (put_selection_at): new
1965 * iterators.[Ch] (lockPath): new
1967 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1969 * iterators.[Ch] (asPosIterator): added
1970 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1971 * PosIterator.[Ch]: added
1973 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1977 * cursor.C (dispatch):
1978 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1980 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1981 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1982 contructor, add a class function dispatched. Remove operator>=
1984 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1986 * debug.C: only use the default constructor for debugstream
1989 * main.C (main): include debug.h and setup the lyxerr streambuf
1992 2003-10-31 José Matos <jamatos@lyx.org>
1994 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1996 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1997 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1998 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1999 * paragraph_pimpl.C (simpleTeXSpecialC):
2000 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2001 add LatexRunParams argument.
2003 * exporter.C (Export): change call accordingly.
2005 * latexrunparams.h: add new member to take care of the other backends.
2006 2003-10-30 José Matos <jamatos@lyx.org>
2008 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2009 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2010 factorise code for paragraph output.
2012 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2015 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2017 * text3.C (dispatch):
2018 * lyxfunc.C (dispatch):
2019 * cursor.C (dispatch):
2020 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2022 * dispatchresult.h: make the dispatch_result_t ctor explicit
2024 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2027 * buffer.C: small refactoring of docbook stuff
2029 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2031 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2034 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2036 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2037 operator dispatch_result_t, and operators for == != and >=
2039 * cursor.C (dispatch): adjust for operator dispatch_result_t
2040 removal. comment out call to update
2042 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2044 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2052 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2055 * dispatchresult.h: new file, DispatchResult broken out of
2058 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2060 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2062 * text.C (rowBreakPoint): put a hack inside #if 0
2064 2003-10-28 André Pönitz <poenitz@gmx.net>
2068 * paragraph_funcs.C:
2071 * text2.C: general cleanup (lots of small stuff)
2073 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2075 * text2.C (cursorEnd): simple fix to the "end key goes to one
2076 before the end on last row" bug
2078 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2080 * text.C (backspace): fix the "zombie characters"
2082 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2084 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2086 2003-10-27 André Pönitz <poenitz@gmx.net>
2088 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2090 * factory.C: handle new InsetPagebreak, InsetLine
2092 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2093 and move handling into new InsetPagebreak, InsetLine
2095 * BufferView_pimpl.C:
2097 * ParagraphParameters.C:
2098 * ParameterStruct.h:
2103 * paragraph_funcs.C:
2104 * paragraph_pimpl.C:
2110 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2113 * lyxrow_funcs.[Ch]:
2119 * text3.C: remove lastPos uses in favour of Row::endpos
2121 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2123 * undo.C (performUndoOrRedo): fix two crashes by setting a
2124 cursor by hand and reordering some calls. Use bv->lockInset instead
2125 of inset->edit because the latter loses cursor information
2127 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2129 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2131 (rowBreakPoint): fix width. change point to point + 1.
2132 Add a missing check.
2134 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2137 * lyxfunc.C: fix (at least partly) the problems
2138 with the Nav menu and headers inside branch insets
2141 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2143 * paragraph.C (getChar): add strong asserts
2145 * lyxrow_funcs.C (lastPos): remove hideous hack
2147 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2148 (fill): adjust to that (avoid an infinite loop)
2150 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2152 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2154 2003-10-23 André Pönitz <poenitz@gmx.net>
2156 * RowList_fwd.h: change list<> to vector<> to gain speed
2157 after suggestion from Alfredo
2159 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2161 * lyxtext.h: move the bidi stuff from here...
2164 * Bidi.[Ch]: ... to here
2166 2003-10-23 André Pönitz <poenitz@gmx.net>
2169 * text.C (isLastRow, isFirstRow): new functions
2171 * paragraph.h: new width cache member
2173 * rowpainter.C: replace RowList::iterator with Row & where possible
2175 * lyxfunc.C: replace several view()->text with a single call
2177 * toc.C: fix 'unused' warning
2179 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2181 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2182 when woring with stream::pos_type
2183 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2185 2003-10-22 André Pönitz <poenitz@gmx.net>
2188 * text.C: use Row & instead of RowList::iterator
2190 * lyxrow.h: rename end() to endpos()
2196 2003-10-22 Angus Leeming <leeming@lyx.org>
2198 * buffer.[Ch] (fully_loaded): new member function, returning true
2199 only when the file has been loaded fully.
2200 Used to prevent the premature generation of previews and by the
2201 citation inset to prevent computation of the natbib-style label.
2203 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2204 templates are all set up.
2206 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2208 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2210 * text.C: fixed an "oops" in the "is a bit silly"
2213 2003-10-21 André Pönitz <poenitz@gmx.net>
2215 * FuncStatus.[Ch]: small stuff, whitespace
2217 * lyxfont.[Ch]: operator<<() for debug reasons
2221 * lyxtext.h: whitespace, spelling
2223 * paragraph.C: naming of variables
2226 * text2.C: small stuff
2229 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2231 * text.C: (1) finish off the inset display() work;
2232 (2) fix the "is a bit silly" bug (accessing char
2235 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2237 * text.C: re-introduce display() for insets, fixing the
2238 various bugs (stretch of line above, math inset
2241 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2243 * text.C (rightMargin): remove spurious semicolon
2245 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2248 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2250 * text3.C: fix one crash due to wrong cursor def
2252 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2254 * vc-backend.C (scanMaster): make the regex static
2256 * LaTeX.C (scanAuxFile): make the regexs static
2258 * text3.C (doInsertInset, dispatch, dispatch):
2259 * text2.C (cursorUp, cursorDown):
2260 * text.C (selectNextWordToSpellcheck):
2261 * BufferView_pimpl.C (dispatch):
2262 * lyxfunc.C (dispatch): localDispatch -> dispatch
2264 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2266 * lyxsocket.C: include <cerrno>
2268 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2270 * lyxfunc.C (dispatch): remove textcache stuff
2272 * bufferlist.C (release): remove textcache stuff
2275 * TextCache.C: delete file
2276 * TextCache.h: delete file
2278 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2280 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2281 delete of the bv_->text.
2282 (resizeCurrentBuffer): remove texcache stuff
2283 (workAreaResize): ditto
2285 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2287 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2290 2003-10-16 André Pönitz <poenitz@gmx.net>
2297 * text3.C: speed up by storing y positions per paragraph plus per-row
2298 offset instead of having a 'full' y position in the row.
2300 2003-10-15 André Pönitz <poenitz@gmx.net>
2304 * undo.[Ch]: make undo aware of inner insets
2306 2003-10-14 Angus Leeming <leeming@lyx.org>
2308 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2309 static member functions LyX::ref() and LyX::cref.
2310 (lastfiles): new accessor functions for the new lastfiles_ member var.
2311 (addLyXView, views_): add a new LyXView to the list of views_.
2312 (updateInset): loop over all LyXViews to call their own updateInset
2313 member function, returning a pointer to the Buffer owning the inset.
2315 * BufferView_pimpl.C (loadLyXFile):
2316 * MenuBackend.C (expandLastfiles):
2317 * bufferlist.C (MenuWrite, QuitLyX):
2318 lastfiles is no longer a global variable.
2319 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2321 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2322 static function. Access through LyX::cref().emergencyCleanup().
2324 2003-10-14 André Pönitz <poenitz@gmx.net>
2326 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2328 * undo.[Ch]: restoring part of 'undo in insets'
2331 * undo_funcs.[Ch]: merge with undo.[Ch]
2333 * tabular.C: small cleansing stuff
2335 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2337 * paragraph_funcs.C (readParToken): report unknown insets as error
2338 boxes. Use the outer paragraph as location (also for unknown
2341 * factory.C (readInset): do not abort on reading an unknown inset.
2342 Eat it and return 0.
2344 2003-10-13 Angus Leeming <leeming@lyx.org>
2346 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2348 * lyxrc.C: displayTranslator is now a function,
2349 declared in GraphicsTypes.h.
2351 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2353 * format.C: new placeholder $$a to pass the socket address.
2355 * bufferlist.[Ch]: new function getBufferFromTmp.
2357 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2358 files in the temporary dir.
2360 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2362 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2364 * Makefile.am: add lyxsocket.[Ch].
2366 * lyx_main.C (error_handler): handle SIGPIPE.
2368 2003-10-13 André Pönitz <poenitz@gmx.net>
2370 * BufferView_pimpl.C:
2375 * undo_funcs.[Ch]: use paroffset_type instead of
2376 ParagraphList::iterators to prevent multiple conversion
2377 (and get a more robust interface)
2379 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2381 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2383 * text3.C (dispatch): ditto
2385 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2387 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2388 move the onlyfile, use onlyfile instead of foundfile in a couple
2391 * DepTable.C (update): flush the error stream a bit more
2393 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2395 * lyxserver.C (callback): adjust
2397 * lyxfunc.C (getStatus): add a missing brace in commented code
2398 (ensureBufferClean): reindent
2399 (dispatch): delete version taking a string
2401 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2403 * LaTeX.C (deplog): move found file handlig from here...
2404 (handleFoundFile): .. to new function here.
2405 (deplog): make sure to discover several files mentioned on the
2408 2003-10-10 André Pönitz <poenitz@gmx.net>
2415 * text3.C: fix some of the tabular crashes
2417 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2419 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2421 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2423 2003-10-09 André Pönitz <poenitz@gmx.net>
2425 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2428 * BufferView_pimpl.C:
2429 * bufferview_funcs.C:
2440 * undo_funcs.C: adjust
2442 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2444 * text2.C (incrementItemDepth): new function, use a backtracking
2445 algorithm to discover the correct item depth.
2446 (resetEnumCounterIfNeeded): new function, use a backtracking
2447 algorithm to discover if counter reset is needed.
2448 (setCounter): use them. Simplify a bit. Add different labels for
2449 different item depths for itemize.
2451 * paragraph.C (Paragraph): remove initialization of enumdepth
2454 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2455 enumerate and itemize. Change the type of itemdepth to signed char.
2457 2003-10-08 André Pönitz <poenitz@gmx.net>
2459 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2464 * tabular.[Ch]: fix crash after 'row-insert'
2466 2003-10-08 Angus Leeming <leeming@lyx.org>
2468 Fix doxygen warnings.
2470 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2471 Remove CutAndPaste:: prefix from header file declaration.
2473 * LColor.h (fill): remove LColor:: prefix from declaration.
2475 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2476 use lyx::depth_type rather than Paragraph::depth_type so that
2477 header file and .C file match.
2479 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2481 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2482 * aspell.C: \file aspell_local.C -> \file aspell.C
2483 * gettext.C: \file gettext.C -> \file src/gettext.C
2484 * gettext.h: \file gettext.h -> \file src/gettext.h
2485 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2486 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2487 * text.C: \file text.C -> \file src/text.C
2489 * toc.C: move comment so that doxygen is not confused.
2491 2003-10-07 Angus Leeming <leeming@lyx.org>
2493 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2495 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2498 * aspell_local.h: add forgotten std::string's.
2500 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2507 * text3.C: The Box patch. Fancybox support, minipage, parbox
2509 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2515 * ParagraphParameters.h:
2525 * lyxtextclasslist.h:
2528 * paragraph_pimpl.C:
2529 * textcursor.h: add <string> and other small fixes to make Lars'
2530 std::string patch compile with STLport.
2532 2003-10-06 Angus Leeming <leeming@lyx.org>
2534 * LColor.h: Add missing #include <string>.
2536 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2538 * All most all file in all subdirs: Make <string> be the prefered
2539 way of getting to std::string, add using declarations.
2541 2003-10-06 André Pönitz <poenitz@gmx.net>
2543 * metricsinfo.C: initialize LyXFont before changing attribute.
2544 (fixes the 'math in \emph is upright' bug)
2546 2003-10-06 André Pönitz <poenitz@gmx.net>
2548 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2550 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2553 * paragraph_pimpl.C: Small fixes to build using STLport
2555 2003-10-02 André Pönitz <poenitz@gmx.net>
2558 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2560 2003-10-01 André Pönitz <poenitz@gmx.net>
2562 * factory.C: assert early
2564 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2566 * lyx_main.C: remove the global debug object
2568 * debug.h: adjust for new debugstream
2570 * debug.C: adjust for new debugstream and keep the global debug
2573 2003-09-22 Angus Leeming <leeming@lyx.org>
2575 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2576 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2577 an incomplete class LyXFont.
2579 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2581 * factory.C: bug fix in branches
2583 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2585 * lyxfunc.C (processKeySym): adjust
2587 (dispatch): change arg name from ev to func, adjust
2588 (sendDispatchMessage): ditto
2590 * lyx_main.C (defaultKeyBindings): adjust keybindings
2591 (deadKeyBindings): ditto
2593 * kbsequence.C (addkey): return a FuncRequest
2595 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2597 * kbmap.C (bind): take a FuncRequest as arg, adjust
2600 (defkey): change to take a FuncRequest as arg, adjust
2601 (findbinding): take a FuncRequest as arg, adjust.
2603 * funcrequest.h (operator=): added
2605 * funcrequest.C (FuncRequest): default kb_action changed from
2606 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2608 * buffer.C (dispatch): simplify
2609 (dispatch): adjust to take a FuncRequest as arg, adjust
2611 * boost.C (assertion_failed): change assertion message slightly
2613 * ToolbarBackend.C (read): simplify
2615 * MenuBackend.C (binding): adjust call to findbinding, add a
2616 message if no binding is found.
2618 (expandToc): correct by adding a empty FuncRequest
2620 * LyXAction.C: include <boost/assert.hpp>
2621 (isPseudoAction): delete function
2622 (LookupFunc): change name to...
2623 (lookupFunc): this. change return type to FuncRequest.
2624 (getActionName): take kb_action as arg, simplify
2625 (funcHasFlag): add an assert, simplify.
2627 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2629 * toc.C (action): return a FuncRequest, simplify
2631 * lyxfunc.C (processKeySym): adjust
2632 (getStatus): delete version that takes an int.
2634 (dispatch): delete version that takes action as int
2636 (sendDispatchMessage): simplify and adjust
2638 * funcrequest.C (getArg): take unsigned int as arg
2640 * ToolbarBackend.C (read): adjust
2641 (add): delete version that takes func as a string.
2642 (getIton): take a FuncRequest as arg
2644 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2647 * MenuBackend.C (MenuItem): add a new construct that only takes a
2648 Kind, simplify the constructor use for submenus.
2650 (expandLastfiles): adjust
2651 (expandDocuments): adjust
2652 (expandFormats): adjust
2653 (expandFloatListInsert): adjust
2654 (expandFloatInsert): adjust
2655 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2657 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2658 Remove class variables lyx_pseudo_map and lyx_arg_map
2660 * LyXAction.C (searchActionArg): delete function
2661 (getPseudoAction): delete function
2662 (retrieveActionArg): delete function
2663 (LookupFunc): make it return kb_action, simplify.
2664 (getActionName): simplify
2666 * factory.C (createInset): fix new bug
2668 2003-09-19 Angus Leeming <leeming@lyx.org>
2670 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2671 masterFilename_ parameter in the include inset.
2673 * factory.C (createInset): changes due to the changes to InsetInclude.
2675 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2677 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2679 2003-09-18 Angus Leeming <leeming@lyx.org>
2682 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2683 Inset::fillWithBibKeys.
2684 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2686 2003-09-18 Angus Leeming <leeming@lyx.org>
2688 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2690 (ctor): pass and store a 'Buffer const &'
2691 (buffer): new member function.
2693 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2694 '*this' to the LaTeXFeatures ctor.
2696 2003-09-18 Angus Leeming <leeming@lyx.org>
2702 * text.C: rename EnumLColor as LColor_color.
2704 2003-09-18 Angus Leeming <leeming@lyx.org>
2706 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2707 remove #include "insets/insetbase.h" from cursor.h.
2709 2003-09-18 Angus Leeming <leeming@lyx.org>
2711 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2712 InsetOld_code to remove #include "inset.h".
2714 * iterators.C: add #include "insets/inset.h"
2716 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2718 * BufferView.C: remove more locking stuff that apparently doesn't
2719 do anything sensible.
2721 2003-09-16 André Pönitz <poenitz@gmx.net>
2724 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2727 2003-09-16 Angus Leeming <leeming@lyx.org>
2729 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2731 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2734 * paragraph.h: remove #include "lyxfont.h". Forward declare
2737 2003-09-16 Angus Leeming <leeming@lyx.org>
2739 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2740 of support/textutils.h.
2741 (isWord): move the contents of support/textutils.h's IsWordChar here.
2747 * text2.C: add #include "paragraph.h".
2750 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2752 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2758 * LaTeX.C: use namespace alias for lyx::support::os
2760 2003-09-16 Angus Leeming <leeming@lyx.org>
2763 * bufferview_funcs.C:
2766 * paragraph_pimpl.C:
2768 * text.C: add #include "LColor.h".
2770 2003-09-16 Angus Leeming <leeming@lyx.org>
2772 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2773 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2775 Store the FontBits::color variable as an int rather than as an
2776 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2779 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2780 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2781 string calls together.
2783 * lyxrc.C: add #include "LColor.h".
2785 2003-09-15 Angus Leeming <leeming@lyx.org>
2787 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2790 2003-09-15 Angus Leeming <leeming@lyx.org>
2792 * LColor.h: add an EnumLColor wrapper for LColor::color.
2794 * lyxfont.[Ch] (color, setColor, realColor):
2795 * lyxtext.h, text.C (backgroundColor):
2796 pass EnumLColor args to/from the functions, rather than LColor::color
2800 * lyxtext.h: forward declare EnumLColor.
2802 * lyx_main.C: add #include "LColor.h".
2804 2003-09-15 Angus Leeming <leeming@lyx.org>
2806 * .cvsignore: add lyx-gtk.
2808 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2813 * ParagraphParameters.C
2817 * bufferview_funcs.C
2827 * vc-backend.C: remove usage of STRCONV
2829 2003-09-15 Angus Leeming <leeming@lyx.org>
2831 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2832 explicitly define the color passed to the painter.
2834 2003-09-15 Angus Leeming <leeming@lyx.org>
2836 * bufferparams.C (BufferParams): reorder member initializers to avoid
2839 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2841 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2842 * text.C (updateRowPositions): remove an unusual nop
2844 2003-09-12 André Pönitz <poenitz@gmx.net>
2846 * BufferView_pimpl.C:
2855 * Counters.[Ch]: finish the 'automatic counters' job
2857 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2859 * aspell.C: include <boost/assert.cpp> (compile fix)
2861 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2863 * boost.C (assertion_failed): use lyx::support::abort instead of
2866 2003-09-10 Angus Leeming <leeming@lyx.org>
2868 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2869 with their _fwd progeny.
2871 2003-09-09 Angus Leeming <leeming@lyx.org>
2873 134 files throughtout the source tree: replace 'using namespace abc;'
2874 directives with the appropriate 'using abc::xyz;' declarations.
2876 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2878 * boost.C (emergencyCleanup): moved here from LAssert.c
2879 (assertion_failed): new function, called by BOOST_ASSERT
2881 * several files: change Assert to BOOST_ASSERT
2883 2003-09-09 Angus Leeming <leeming@lyx.org>
2885 * buffer.[Ch]: Add an Impl class and move Buffer's member
2886 variables into it. As a result move several header files out of
2889 Add header files to lots of .C files all over the tree as a result.
2891 2003-09-09 Angus Leeming <leeming@lyx.org>
2893 * buffer.[Ch]: make Buffer's member variables private. Add
2896 Lots of changes all over the tree as a result.
2898 2003-09-08 Angus Leeming <leeming@lyx.org>
2900 * graph.C: #include <config.h>.
2902 2003-09-08 Angus Leeming <leeming@lyx.org>
2906 * BufferView_pimpl.C:
2935 * toc.C: remove redundant using directives.
2937 2003-09-07 Angus Leeming <leeming@lyx.org>
2939 * LaTeXFeatures.h: remove #include "support/types.h".
2940 * ToolbarBackend.h: remove #include <algorithm>.
2941 * changes.h: remove #include <ctime>.
2942 * debug.h: remove #include <iosfwd>.
2943 * graph.h: remove #include "support/std_string.h".
2944 * lyx_main.h: remove #include <csignal>.
2945 * lyxlex_pimpl.h: remove #include <fstream>.
2946 * sgml.h: remove #include <algorithm>, <utility>.
2947 * toc.h: remove #include "support/std_ostream.h".
2948 Add #include <iosfwd>.
2950 2003-09-07 Angus Leeming <leeming@lyx.org>
2952 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2954 * converter.h: forward declare LatexRunParams.
2955 * encoding.h: remove #include "lyxrc.h".
2956 * lyxtext.h: remove #include "LColor.h".
2957 * lyxtextclass.h: remove #include "support/types.h".
2958 * trans.h: remove #include "tex-accent.h".
2959 * trans_mgr.h: remove #include "tex-accent.h".
2960 * insets/inset.h: remove #include "support/types.h", <vector>.
2961 * insets/insetcollapsable.h: remove #include "LColor.h".
2962 * insets/insetinclude.h: remove #include "dimension.h".
2963 * insets/insetlatexaccent.h: remove #include "dimension.h".
2964 * insets/insetoptarg.h:: remove #include "insettext.h".
2965 * insets/insettext.h: remove #include "dimension.h",
2966 <boost/shared_ptr.hpp>
2968 * insets/renderers.h: add #include "dimension.h".
2969 * insets/updatableinset.h: add #include "support/types.h".
2971 * many .C files: Associated changes.
2973 2003-09-06 Angus Leeming <leeming@lyx.org>
2975 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2976 one, inside testInvariant.
2978 * PrinterParams.C: new file.
2979 * PrinterParams.[Ch]: move the function bodies out of line.
2981 2003-09-06 Angus Leeming <leeming@lyx.org>
2983 * ParagraphParameters.h: forward declare ParameterStruct rather than
2984 including its header file.
2985 (depth): moved out-of-line.
2987 2003-09-06 Angus Leeming <leeming@lyx.org>
2989 * BufferView_pimpl.h:
2992 * lyxfunc.h: forward declare LyXKeySym rather than
2993 #include "frontends/LyXKeySym.h".
2995 * BufferView_pimpl.C:
2998 * lyxfunc.C: associated changes.
3000 2003-09-06 Angus Leeming <leeming@lyx.org>
3002 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3003 As a result, can remove the #include "insets/inset.h" from BufferView.h
3005 2003-09-06 Angus Leeming <leeming@lyx.org>
3007 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3008 As a result, can remove the #include "insets/inset.h" from BufferView.h
3010 2003-09-06 Angus Leeming <leeming@lyx.org>
3016 * bufferview_funcs.C:
3017 * BufferView_pimpl.C:
3022 * ParagraphParameters.C:
3027 * frontends/controllers/ControlDocument.C:
3028 * insets/insetcaption.C: rearrange the #includes into some sort of
3031 * buffer.h: remove #includes ErrorList.h, undo.h
3033 2003-09-06 Angus Leeming <leeming@lyx.org>
3035 * support/types.h: add a 'depth_type' typedef, used to store the
3036 nesting depth of a paragraph.
3039 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3040 defining explicitly.
3043 * paragraph_funcs.h:
3044 * ParagraphParameters.h:
3045 * sgml.h: use lyx::depth_type rather than Paragraph or
3046 ParameterStruct's depth_type.
3049 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3052 * BufferView_pimpl.C:
3054 * ParagraphParameters.C:
3057 * bufferview_funcs.C:
3064 * frontends/LyXView.C:
3065 * frontends/controllers/ControlDocument.C:
3066 * frontends/controllers/ControlErrorList.C:
3067 * insets/insetbibitem.C:
3068 * insets/insetbranch.C:
3069 * insets/insetcaption.C:
3070 * insets/insetcollapsable.C:
3071 * insets/insetenv.C:
3072 * insets/insetert.C:
3073 * insets/insetfloat.C:
3074 * insets/insetfoot.C:
3075 * insets/insetfootlike.C:
3076 * insets/insetnewline.C:
3077 * insets/insetquotes.C:
3078 * insets/insettabular.C:
3079 * insets/insettext.C:
3080 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3082 * frontends/controllers/ControlChanges.C: #include "changes.h".
3084 2003-09-06 Angus Leeming <leeming@lyx.org>
3086 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3087 than #including paragraph.h.
3090 * RowList.h: deleted. Superfluous.
3100 * insets/insettext.h: use ParagraphList_fwd.h rather than
3103 * paragraph.h: don't forward declare ParagraphList.
3106 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3107 rather than ParagraphList.h. paragraph.h is still needed for the
3108 Paragraph::depth_type parameters.
3110 * textcursor.h: enable it to compile stand-alone in light of the
3113 * bufferview_funcs.C:
3125 * frontends/controllers/ControlParagraph.C:
3126 * frontends/controllers/ControlTabular.C:
3127 * insets/insetmarginal.C:
3128 * insets/insetminipage.C:
3129 * insets/insetnote.C:
3130 * insets/insetoptarg.C: add header files needed to compile again.
3132 2003-09-06 Angus Leeming <leeming@lyx.org>
3134 * RowList_fwd.h: new file, forward-declaring Row rather than
3135 #including lyxrow.h.
3140 * insets/insettext.h: use it instead of RowList.h
3142 * bufferview_funcs.C:
3149 * text3.C: #include "RowList.h".
3151 2003-09-05 Angus Leeming <leeming@lyx.org>
3153 * factory.C (createInset):
3154 * vspace.C (c-tor): replace sscanf call with an istringstream.
3155 * ispell.C: re-add missing HP/UX headers.
3156 * lyxserver.C: re-add missing os2 headers.
3158 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3167 * text3.C: re-add missing system headers, needed for 2.95.2.
3169 2003-09-05 Angus Leeming <leeming@lyx.org>
3171 Changes most place everywhere due to the removal of using directives
3172 from support/std_sstream.h.
3174 2003-09-05 Angus Leeming <leeming@lyx.org>
3176 Replace LString.h with support/std_string.h,
3177 Lsstream.h with support/std_sstream.h,
3178 support/LIstream.h with support/std_istream.h,
3179 support/LOstream.h with support/std_ostream.h.
3181 Changes resulting throughout the tree.
3183 2003-09-05 Angus Leeming <leeming@lyx.org>
3185 * sgml.h: ensure that the header file can be compiled stand-alone.
3186 * *.C: strip out redundant #includes. (320 in total.)
3188 2003-09-04 Angus Leeming <leeming@lyx.org>
3190 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3191 here (from getPackages).
3193 * debug.[Ch]: add a new EXTERNAL tag.
3195 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3197 * text2.C (cursorEnd): simplify
3199 (getColumnNearX): adjust
3201 * text.C (computeBidiTables): adjust
3204 * rowpainter.C (paintChars): adjust
3205 (paintSelection): adjust
3206 (paintChangeBar): adjust
3209 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3211 (numberOfSeparators): adjust
3213 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3219 * text3.C: Restricts the mouse click functionality
3220 of insets like bibtex, include, toc and floatlist to the visible
3221 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3222 up the dialogs. Cursor has to be in front of the inset (i.e.
3223 start of row) for this to function.
3225 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3227 * bufferview_funcs.C (currentState): output row information
3229 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3231 * bufferview_funcs.C (currentState): output paragraph position
3233 2003-09-04 Angus Leeming <leeming@lyx.org>
3235 * FloatList.h: move out #include "Floating.h".
3236 * LaTeX.h: move out #include "DepTable.h".
3237 * LyXAction.h: move out #include "funcrequest.h".
3238 * buffer.h: move out #include "author.h", "iterators.h".
3239 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3240 * lyx_main.h: move out #include "errorlist.h".
3241 * lyxfunc.h: move out #include "FuncStatus.h".
3242 * lyxtext: move out #include "lyxcursor.h".
3243 * paragraph_pimpl.h: move out #include "counters.h".
3245 2003-09-03 Angus Leeming <leeming@lyx.org>
3247 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3248 preamble_snippets list, enabling us to add snippets to the preamble
3249 only if the snippet was not there already.
3251 2003-09-04 Angus Leeming <leeming@lyx.org>
3253 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3255 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3257 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3260 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3262 * BranchList.C: point fix, earlier forgotten
3264 2003-09-02 Angus Leeming <leeming@lyx.org>
3266 * box.C (contains): renamed from 'contained' after a fantastic
3269 2003-09-02 John Levon <levon@movementarian.org>
3275 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3277 2003-09-02 John Levon <levon@movementarian.org>
3279 * text2.C: simplification of cursorEnd(), including partial
3282 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3284 * buffer.C (readFile): add a space
3286 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3288 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3290 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3292 * buffer.C (readFile): new function, take a filename and a
3293 ParagraphList::iterator
3295 (readFile): adjust, make it private. don't use setStream, make
3296 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3297 always contain the filename.
3299 * BufferView.C (insertLyXFile): simplify and make it work for
3302 2003-08-30 John Levon <levon@movementarian.org>
3304 * Makefile.am: fix dist (from Kayvan)
3306 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3308 * most files: change to use const Buffer refs
3310 2003-08-27 André Pönitz <poenitz@gmx.net>
3312 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3313 on top of ownerPar().
3315 2003-08-27 John Levon <levon@movementarian.org>
3317 * funcrequest.C: properly initialise POD members
3319 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3321 * lyxtext.h (top_y): move top_y from here
3326 * BufferView_pimpl.[Ch]: to here
3327 * frontends/screen.C:
3328 * insets/insettabular.C:
3329 * insets/insettext.C: adjust
3330 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3332 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3335 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3337 2003-08-26 André Pönitz <poenitz@gmx.net>
3339 * paragraph_func.[Ch] (outerPar): new function
3342 * paragraph_funcs.C:
3343 * paragraph_funcs.h:
3344 * paragraph_pimpl.C:
3345 * text2.C: remove Inset::par_owner
3347 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3352 * text2.C: eliminates the needFullRow/display() stuff
3353 altogether, putting the logic in metrics/draw in the insets.
3355 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3357 * text2.C (redoParagraphInternal, redoParagraphs):
3358 * text.C (redoParagraph): add a call to updateRowPositions at the
3359 end of each 'metrics-like' call. Remove all others.
3360 (getRow): remove the 'y-computing' version.
3361 (getRowNearY): do not compute nor return the real y. Solve the
3362 'y < 0' problem and simplify.
3364 2003-08-22 Angus Leeming <leeming@lyx.org>
3366 * *.[Ch]: clean-up of licence and author blurbs.
3367 Also move config.h out of a few .h files and into a few .C files.
3369 2003-08-22 André Pönitz <poenitz@gmx.net>
3371 * lyxrow.[Ch]: add x_ and *fill_ members
3376 * text2.C: adjust/remove prepareToPrint() calls
3378 2003-08-22 André Pönitz <poenitz@gmx.net>
3380 * lyxrow.[Ch]: add end_ member
3382 * lyxrow_funcs.C: use LyXRow::end_
3384 * lyxtext.h (singleWidth): add LyXFont parameter
3387 * text2.C: adjust LyXText::singleWidth() calls
3389 * text.C (redoParagraph): simplify row breaking logic
3392 2003-08-19 André Pönitz <poenitz@gmx.net>
3394 * funcrequest.C: initialize button_ member
3397 * rowpainter.[Ch]: interface consolidation
3399 2003-08-18 André Pönitz <poenitz@gmx.net>
3402 * BufferView_pimpl.C:
3404 * paragraph_funcs.C:
3406 * text3.C: remove LyXScreen::draw() and fitCursor calls
3408 * BranchList.h: remove spurious semicolons
3410 * MenuBackend.C: fix branchlist related crash
3412 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3420 * bufferparams.[Ch]:
3424 * text3.C: implements the 'branch inset'
3425 idea. This allows the output of various versions of a document
3426 from a single source version, selectively outputing or suppressing
3427 output of parts of the text.
3428 This implementation contains a 'branch list editor' in a separate
3429 tab of the document settings dialog. Branches are user definable
3430 and have a "display colour" to distinguish them on-screen.
3432 ColorHandler was somewhat cleaned up.
3433 (1) make possible a dynamically growing LColor list by allowing
3434 the graphic context cache to grow along (vector);
3435 (2) eliminate an IMHO unnecessary step in colour allocation.
3437 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3439 * BufferView_pimpl.C: compile fix
3441 2003-08-15 André Pönitz <poenitz@gmx.net>
3443 * rowpainter.C: remove extra metrics calls
3445 * lyxtext.h: merge the two constructors into a single one,
3446 pass reference to owner's par list
3448 * BufferView_pimpl.C:
3452 2003-08-15 André Pönitz <poenitz@gmx.net>
3454 * lyxrow_funcs.[Ch]:
3457 * paragraph_funcs.C:
3462 * text_funcs.C: split LyXText::rowlist_ into individual
3463 Paragraph::rows_ chunks
3466 * BufferView_pimpl.[Ch]:
3469 * text3.C: remove toggleSelection()
3471 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3473 * bufferlist.C: beautify two alerts (shorter text of buttons)
3474 * buffer.C: Remove redundant ' ' from message
3476 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3477 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3478 rename VALIGN_CENTER to VALIGN_MIDDLE
3480 2003-08-11 André Pönitz <poenitz@gmx.net>
3482 * lyxtext.h (getPar):
3483 * text.C: new function
3485 2003-08-11 André Pönitz <poenitz@gmx.net>
3488 * tracer.[Ch]: remove unneeded files
3490 * InsetList.[Ch]: remove resizeInsetsLyXText()
3495 * text3.C: merge insertParagraphs() and appendParagraph()
3496 remove breakAgain(), update()
3498 * BufferView_pimpl.[Ch]:
3499 * bufferview_funcs.[Ch]:
3503 * tabular.C: adjust after text & InsetList changes.
3505 2003-08-08 André Pönitz <poenitz@gmx.net>
3507 * text.C (insertChar, backspace): replace rowlist fiddling
3508 with rebreak of full par
3511 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3512 checkParagraph, updateInset): removed
3514 2003-08-07 André Pönitz <poenitz@gmx.net>
3517 * text3.C: merge some LFUN handlers, remove dead code
3519 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3521 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3523 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3525 * text2.C (DEPM): fix part of bug 1255 and 1256
3527 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3529 * BufferView_pimpl.C (workAreaDispatch): change to use
3530 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3531 that are no mouse related.
3533 2003-08-05 André Pönitz <poenitz@gmx.net>
3536 * BufferView_pimpl.[Ch]:
3537 * bufferview_funcs.C:
3539 * text3.C: rip out "deep update"
3541 * textcursor.[Ch] (last_sel_cursor): remove unused member
3543 2003-08-04 André Pönitz <poenitz@gmx.net>
3546 * BufferView_pimpl.[Ch]:
3547 * ParagraphParameters.C:
3548 * bufferview_funcs.C:
3554 * text3.C: replace "complicated" BufferView::update(...) calls with
3557 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3559 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3561 * Makefile.am (lyx_SOURCES): add paper.h
3563 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3565 * Makefile.am: move things around so that both lyx-qt and
3566 lyx-xforms can be built (according to --with-frontend). Then lyx
3567 is a symbolic link to lyx-[firstfrontend]
3569 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3571 * Always use std::endl with lyxerr
3573 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3575 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3577 2003-08-01 André Pönitz <poenitz@gmx.net>
3580 * BufferView_pimpl.[Ch]:
3582 * text3.C: merge BufferView::repaint() and BufferView::update()
3584 2003-08-01 José Matos <jamatos@lyx.org>
3586 * buffer.[Ch]: file_format is no longer a buffer data element.
3588 2003-08-01 André Pönitz <poenitz@gmx.net>
3593 * text2.C: make redoParagraph more independent of current cursor
3595 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3597 * text2.C: remove unneeded members
3599 2003-07-30 André Pönitz <poenitz@gmx.net>
3601 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3603 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3604 create a single function...
3606 * paragraph_funcs.C (moveItem): ... here.
3609 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3611 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3613 * LColor.[Ch]: Add comment and greyedout logical colors.
3615 2003-07-30 André Pönitz <poenitz@gmx.net>
3617 * tabular.C: don't use Assert too heavily. This crashes where it
3620 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3622 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3623 is disabled (bug 1232)
3625 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3627 * factory.C: limited 'arg' scope
3629 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3631 * factory.C: fixed Note submenu issues
3633 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3635 * factory.C: submenu for Note/Comment/Greyedout
3637 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3640 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3642 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3645 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3646 greyedout. Patch provided by Jürgen Spitzmüller.
3648 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3650 * kbmap.C (read): fix error message when reading bind files
3652 2003-07-29 Angus Leeming <leeming@lyx.org>
3654 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3655 certainly does not do what it purports to do. I am doing it, and
3656 us, a favour by killing it.
3658 2003-07-28 José Matos <jamatos@lyx.org>
3660 * buffer.C (readBody, do_writeFile):
3661 * paragraph.C(readParagraph): \end_document replaces \the_end.
3663 2003-07-29 André Pönitz <poenitz@gmx.net>
3666 * BufferView_pimpl.[Ch]:
3670 * textcursor.[Ch]: remove toggleToggle & Co
3672 2003-07-28 José Matos <jamatos@fep.up.pt>
3674 * buffer.C (readParagraph):
3675 * params_func (readParToken, readParagraph):
3676 * paragraph.C (write): \layout -> \begin_layout.
3678 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3680 * lyxlex_pimpl.C (setFile): clean up slightly.
3682 * bufferparams.h: add compressed var
3684 * buffer_funcs.C (readFile): adjust for LyXLex change
3685 (newFile): ditto + simplify
3687 * buffer.C (writeFile): handle writing of compressed files
3689 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3690 Check if the file is compressed and set a bufferparm if so.
3692 * Makefile.am (lyx_LDADD): remove explicit -lz
3694 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3696 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3697 makeDocBookFile): put the real LyX version in the first line of
3701 * version.C.in: remove lyx_docversion
3703 * tabular.C (write_attribute): add a template-based version to
3704 write enums properly
3706 2003-07-28 André Pönitz <poenitz@gmx.net>
3711 * text3.C: use doubles again for x-coordinates. They are needed.
3713 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3715 * messages.C (getLocaleDir): use lyx_localedir()
3717 * lyxlex_pimpl.C (setFile): compress stuff
3719 * buffer.C (writeFile): add some compression stuff
3720 (do_writeFile): new func, dont call expliti close... will this
3723 * Makefile.am (lyx_LDADD): add -lz
3725 2003-07-28 José Matos <jamatos@fep.up.pt>
3727 * buffer.C: increment file format.
3728 * paragraph_funcs (readParagraph, readParToken):
3729 * paragraph.C (readParagraph): add \end_layout.
3731 2003-07-27 Angus Leeming <leeming@lyx.org>
3733 * Makefile.am: remove special casing for configure-time setting of
3734 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3736 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3737 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3739 2003-07-26 André Pönitz <poenitz@gmx.net>
3741 * paragraph_func.[Ch]:
3742 * paragraph.C (realizeFont): inline it whereever it is used
3747 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3750 2003-07-26 André Pönitz <poenitz@gmx.net>
3754 * text2.C: get rid of LyXText::need_break_row
3756 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3758 * toc.[Ch]: put namespace toc inside namespace lyx
3760 * MenuBackend.C (expandToc2): adjust for lyx::toc
3763 * lyxfunc.C (dispatch): adjust for lyx::find
3765 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3766 lyx::find instead. Reorganize a bit.
3767 (LyXReplace): rename to replace
3768 (LyXFind): rename to find
3770 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3773 2003-07-26 André Pönitz <poenitz@gmx.net>
3775 * text.C (setHeightOfRow): restrict scope of temporary variable
3777 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3778 code (never has been used?)
3780 2003-07-27 Asger Alstrup <alstrup@local>
3782 * text.C (fill): Optimise algorithm to exploit that we can reuse
3783 the LyXFont for many characters.
3784 (setHeightOfRow): Same thing.
3785 (rowBreakPoint): Same thing.
3787 2003-07-26 Asger Alstrup <alstrup@local>
3789 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3791 * text.C (singleWidth): Spurious font copying in hot-spot
3792 singleWidth avoided. Reorder tests for arabic for efficiency.
3794 * text.C (fill): handle empty paragraphs better.
3796 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3799 * encoding.h: add includes
3801 * lyxrc.C: remove reading of bind files
3803 * lyx_main.C (init): setup bindings and menus only if we have a
3806 * kbmap.C (read): new method. Do the actual reading of bind
3809 * converter.C (dvipdfm_options):
3812 (output): adapt PAPER_* enums.
3814 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3816 * bufferparams.h: remove paper-related enums from there
3818 * paper.h: New file. A trivial header file to hold paper-related
3819 enums. It should later expand to contain many paper-related
3822 * lyxrc.C: declare extern displayTranslator
3824 2003-07-27 José Matos <jamatos@fep.up.pt>
3826 * tabular.[Ch] (linuxdoc): add support for tables and figures
3829 2003-07-27 José Matos <jamatos@fep.up.pt>
3831 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3832 consistency in both functions.
3833 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3835 2003-07-26 Asger Alstrup <alstrup@local>
3837 * rowpainter.C (paintRows): Change algorithm to work directly on
3838 the insets rather than asking every character in the document
3839 whether its an inset.
3841 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3843 * buffer.C (openFileWrite): factorize some code
3845 2003-07-26 Angus Leeming <leeming@lyx.org>
3848 * lyx_main.[Ch]: replace occurances of system_tempdir with
3851 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3853 * rename Inset to InsetOld
3855 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3857 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3858 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3859 which I think is a bit clearer. EDIT is gone, since it was
3860 premature optimisation, and broken for mathed anyway.
3861 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3862 with cursor positioning in insets as well (math insets still do not
3863 work, but that's a different story anyway.) It mysteriously
3864 crashes sometimes with undo in the first paragraph, but I'm fairly
3865 confident that this is a compiler bug.
3867 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3869 * paragraph.C (Paragraph): adjust for new clone return type
3871 (copyIntoMinibuffer): ditto
3873 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3875 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3876 by not having a special case, and always doing a full rebreak of
3877 the document after undo.
3879 2003-07-23 Angus Leeming <leeming@lyx.org>
3881 * factory.C (createInset): InsetExternal::setParams now takes a
3884 2003-07-23 Angus Leeming <leeming@lyx.org>
3886 * factory.C (createInset): changed interface to the external and
3887 graphics mailers' string2params functions.
3889 2003-07-23 Angus Leeming <leeming@lyx.org>
3891 * factory.C (createInset): pass a
3892 Buffer const * parameter to InsetExternalMailer's string2params.
3894 2003-07-22 John Levon <levon@movementarian.org>
3896 * Thesaurus.h: include the right aiksaurus header
3898 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3900 * MenuBackend.C (expand): check menu shortcuts unconditionally
3902 2003-07-21 Angus Leeming <leeming@lyx.org>
3904 * factory.C (createInset): pass a
3905 buffer_path parameter to InsetGraphicsMailer's string2params.
3907 2003-07-21 Angus Leeming <leeming@lyx.org>
3909 * BufferView_pimpl.C (buffer):
3912 * lyxfunc.C (dispatch):
3913 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3914 rather than the grfx shortcut.
3916 2003-07-21 André Pönitz <poenitz@gmx.net>
3918 * rowpainter.C: remove unused variables
3921 * tabular_funcs.h: move to tabular.C
3922 * Makefile.am: adjust
3924 * tabular.[Ch]: basic optical cleaning
3926 * author.h: pass references, not values
3928 2003-07-18 André Pönitz <poenitz@gmx.net>
3936 * text3.C: two-phase drawing for InsetText and InsetTabular
3937 some float -> int changes.
3939 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3941 * lyx_main.C: fix the fix
3943 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3945 * lyx_main.C: fix a crash in batch mode if no files specified
3948 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3950 * format.[Ch] (papersize): moved to BufferParams
3951 * converter.[Ch] (dvips_options): moved to BufferParams
3952 (dvipdfm_options): moved to anon namespace
3953 * bufferparams.[Ch]: added above functions.
3955 2003-07-17 André Pönitz <poenitz@gmx.net>
3959 * text2.C: don't call inset->update() anymore
3961 * metricsinfo.[Ch]: add convenience constructor
3963 2003-07-16 André Pönitz <poenitz@gmx.net>
3968 * text2.C: replace the LyXCursor::irow_ member with
3969 on-demand computation of the value
3971 2003-07-16 John Levon <levon@movementarian.org>
3973 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3975 2003-07-15 André Pönitz <poenitz@gmx.net>
3978 * text2.C: remove no more needed refresh_row
3980 2003-07-15 André Pönitz <poenitz@gmx.net>
3985 * text3.C: refresh_status tristate -> need_update bool
3987 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3989 * lyxtext.h (init): remove reinit argument (act as if always true)
3990 * text2.C: adjust to that
3992 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3994 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3995 * text3.C: use it to delete selections in some cases
3996 (bugs 441, 673, 702, 954).
3998 2003-07-14 André Pönitz <poenitz@gmx.net>
4000 * rowpainter.[Ch]: reduce interface
4002 2003-07-14 André Pönitz <poenitz@gmx.net>
4004 * BufferView_pimpl.C:
4005 * text2.C: adjust after removing unused BufferView * argument
4007 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4009 * text2.C (init): fix a crash fired on resize
4011 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4013 * buffer.[Ch]: added new closing signal
4014 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4015 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4016 BufferView::Pimpl via the closing the signal
4018 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4020 * buffer.[Ch]: take out all bv-related from buffer
4022 * BufferView_pimpl.[Ch]: connect to new signals
4023 * CutAndPaste.C: removed useless asserts
4024 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4027 * lyxfunc.C: moved view-related funciontality from vc here
4028 * paragraph.C: removed outdated comments
4031 2003-07-10 André Pönitz <poenitz@gmx.net>
4033 * BufferView_pimpl.C:
4037 * text2.C: remove InsetText::InnerCache, clean up consequences
4039 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4041 * ispell.C: fix two typos in error messages
4043 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4045 * Extend Note inset to other forms of annotation like Comment
4046 and Greyedout. Right button click gives dialog.
4048 Files modified or added (+):
4052 * ControlNote.[Ch] +
4054 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4055 frontends/controllers
4059 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4061 * aspell.C: add missing namespace lyx::support
4063 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4065 * BufferView.[Ch] (newFile): Add
4066 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4067 * LaTeX.[Ch] (message): added this signal and use it
4068 * buffer.[Ch] (busy, message): added these signals and use them
4069 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4073 * importer.C: use buffer signals instead of direct bv calling
4074 * lyx_cb.[Ch] (ShowMessage): removed
4077 * paragraph_funcs.C:
4078 * text2.C: use buffer signals
4080 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4082 * introduce namespace lyx::graphics
4084 2003-07-02 André Pönitz <poenitz@gmx.net>
4086 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4088 2003-07-01 André Pönitz <poenitz@gmx.net>
4095 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4096 text*.C to text_func.C
4098 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4100 * introduce namespace lyx::support
4102 2003-06-30 André Pönitz <poenitz@gmx.net>
4107 * text.C: re-enable --with-included-string
4109 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4111 * textcursor.C: add <config.h>
4113 * text.C (getWord): remove const from word_location arg
4115 * lyxvc.C (getLogFile): fix const type order
4117 * lyxtext.h: remove const from word_location arg, add arg name
4119 * lyxlayout.h: currect type on labeltype.
4121 * importer.C: correct \file
4123 * converter.C (intToFormat): use std:: on ret val, ws changes
4125 * bufferlist.h: correct \file
4127 * buffer.C (makeLinuxDocFile): fix const type order
4128 (makeDocBookFile): ditto
4129 (fillWithBibKeys): use std:: on stdlib args.
4131 * CutAndPaste.C: fix authors.
4132 (availableSelections): use std:: on return vector
4134 2003-06-27 André Pönitz <poenitz@gmx.net>
4136 * BufferView_pimpl.C:
4137 * bufferview_funcs.C:
4145 * text3.C: remove LyXCursor::row_ member
4148 * text.C: rename fullRebreak() to partialRebreak() and implement
4149 a fullRebreak() that really bereks fully
4151 * textcursor.h: new struct for cursor-related data
4153 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4155 * lyx_main.C (LyX): get full path of document loaded on the
4158 2003-06-26 André Pönitz <poenitz@gmx.net>
4160 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4161 remove unused/broken operator>,<,>=.
4163 * text.C: remove only use of broken operator<= in an Assert().
4165 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4167 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4168 moved errorlist_.clear to showErrorList
4170 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4172 * converter.C (scanLog, runLaTeX):
4173 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4174 move the bv->showErrorList call to the callers
4175 * lyxfunc.C: i.e. here...
4177 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4178 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4179 namespace, the second to...
4180 * buffer_funcs (BufferFormat, parseErrors): added
4181 * errorlist.C (ErrorList(TeXErrors const &)): removed
4183 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4185 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4187 2003-06-24 "Garst R. Reese" <reese@isn.net>
4191 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4193 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4195 * version.C.in: change docversion to 1.4
4197 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4199 * buffer.C: fix a bug just introduced
4201 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4203 * buffer.[Ch]: added the parseError signal and use it, removed
4205 * BufferView.[Ch] (addError): moved to ...
4206 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4207 to the Buffer::parseError signal to catch (guess what) parse errors
4208 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4210 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4212 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4213 ability to create a buffer and to return an existing one from
4214 the list. Moved these functions to...
4215 * buffer_funcs.[Ch]: added
4216 * BufferView.[Ch] (loadLyXFile): added
4217 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4218 job removed from bufferlist::loadLyXFile.
4219 * buffer.C (setReadOnly): make it work without view
4220 (i.e added an if (users))
4222 2003-06-19 Angus Leeming <leeming@lyx.org>
4225 * LyXAction.C (init):
4226 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4227 with LFUN_DIALOG_SHOW <name> <data>.
4229 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4231 * CutAndPaste.C (availableSelections): small compilation fix for
4232 ancient (gcc 2.9x) compilers
4234 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4236 * text3.C (cursorNext): add tmp var
4238 * text2.C (updateCounters): for function calling out of for clause
4239 (replaceSelectionWithString): ditto
4240 (insertStringAsParagraphs): ditto
4241 (getColumnNearX): add tmp var
4242 (setCursorFromCoordinates): add tmp var
4243 (cursorDownParagraph): add tmp var
4244 (deleteEmptyParagraphMechanism): add tmp var
4246 * text.C (insertChar): add tmp var
4248 * rowpainter.C (paintDepthBar): add tmp var
4250 * CutAndPaste.C (availableSelections): potentially check all
4251 paragraphs in a cut to fill the shown strings.
4253 2003-06-18 André Pönitz <poenitz@gmx.net>
4255 * kbmap.[Ch]: use vector<> instead of list<>
4257 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4259 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4260 pasteSelection with index
4262 * text2.C (pasteSelection): modify, call pasteSelection with index
4264 * paragraph.C (asString): reimplement version with no interval to
4265 call the one with interval.
4267 * lyxtext.h: add index arg to pasteSelection
4269 * MenuBackend.C (MenuItem): handle PasteRecent
4270 (Menu::read::Menutags): add md_pasterecent
4272 (expandPasteRecent): new function
4275 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4277 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4279 (availableSelections): new function
4281 2003-06-17 Angus Leeming <leeming@lyx.org>
4283 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4285 2003-06-17 Angus Leeming <leeming@lyx.org>
4288 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4290 * lyxfunc.C (dispatch): invoke it.
4292 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4294 * iterators.C (operator++, ParPosition): reintroduce some
4295 const_cast for the benefit of older compilers.
4297 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4299 * text3.C (dispatch): do not modify clipboard when doing
4300 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4301 LFUN_DELETE_SKIP on a selection selection
4303 2003-06-16 André Pönitz <poenitz@gmx.net>
4309 * tabular.[Ch]: IU of clone() and getLabelList();
4311 2003-06-13 André Pönitz <poenitz@gmx.net>
4313 * tabular.h: compactification
4315 2003-06-12 André Pönitz <poenitz@gmx.net>
4319 * tabular_funcs.h: some renaming plus whitespace
4321 2003-06-12 André Pönitz <poenitz@gmx.net>
4324 * BufferView_pimpl.C:
4330 * toc.C: Return a Paragraph & for ParIterator::operator*()
4332 2003-06-11 John Levon <levon@movementarian.org>
4336 * ToolbarBackend.C: add "Toolbars" section and
4339 2003-06-10 Angus Leeming <leeming@lyx.org>
4342 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4344 * lyxfunc.C (dispatch): invoke it.
4346 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4348 * main.C: protect <ios> with HAVE_IOS
4349 (main): protect sync_with_stdio with HAVE_IOS
4351 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4353 * text2.C (cutSelection): adjust
4354 (pasteSelection): adjust
4356 * messages.C: handle get of empty string
4358 * main.C (main): use sync_with_stdio(false)
4360 * lyxfunc.C (dispatch): adjust
4362 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4363 (WriteAs): remove unneeded BufferView arg.
4365 * bufferparams.h: use correct types on papersize, papersize2 and
4368 * bufferparams.C (readToken): adjust for type
4369 (writeLaTeX): add missing cases to switch.
4371 * bufferlist.C (quitWriteBuffer): adjust
4374 * buffer.C (asciiParagraph): remove some commented code.
4376 * CutAndPaste.C: remove current_view extern variable.
4377 (cutSelection): add BufferParams arg.
4378 (eraseSelection): add BufferParams arg.
4379 (pasteSelection): add Buffer const & arg
4381 2003-06-07 John Levon <levon@movementarian.org>
4384 * paragraph_funcs.C:
4385 * paragraph_pimpl.C:
4389 * paragraph.C: allow InsetERT to freely space lines,
4390 and some consolidation of code
4392 2003-06-06 José Matos <jamatos@fep.up.pt>
4394 * buffer.C (makeDocBookFile): fix bug #821
4396 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4398 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4400 2003-06-04 Angus Leeming <leeming@lyx.org>
4402 * buffer.C: bump format to 224.
4404 2003-06-05 André Pönitz <poenitz@gmx.net>
4406 * text2.C (redoParagraphs): remove two const_cast<>
4408 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4410 * ParagraphList.h: remove last remnants of NO_STD_LIST
4412 2003-06-03 Angus Leeming <leeming@lyx.org>
4414 * factory.C (createInset): small change to the way InsetExternal's params
4417 2003-06-04 André Pönitz <poenitz@gmx.net>
4419 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4421 * paragraph_pimpl.h:
4422 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4424 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4426 * undo_funcs.C: make some simple cases of undo work again
4428 2003-06-03 John Levon <levon@movementarian.org>
4430 * ispell.C: HPUX doesn't have sys/select.h
4433 2003-06-03 John Levon <levon@movementarian.org>
4435 * CutAndPaste.C: update tabular and include inset
4440 * paragraph.C: remove owningBuffer(), don't pass Buffer
4443 * factory.C: insetGraphicsParams changed
4445 2003-06-02 John Levon <levon@movementarian.org>
4451 * text3.C: remove insetparent
4453 2003-06-02 John Levon <levon@movementarian.org>
4456 * buffer.C: fix inset_iterator.end(), move out of line
4459 2003-06-01 John Levon <levon@movementarian.org>
4461 * text3.C: use a proper cut/paste when doing inset
4462 insert (from Jürgen Spitzmüller)
4464 2003-06-01 John Levon <levon@movementarian.org>
4466 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4468 2003-05-30 André Pönitz <poenitz@gmx.net>
4470 * rowpainter.C: unify second drawing phase
4472 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4474 * trans_mgr.C: remove one case of current_view
4476 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4478 * paragraph_funcs.h: remove paragraph.h include
4480 * paragraph.h: delete NO_STD_LIST stuff
4482 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4484 * buffer.h: remove paragraph.h include
4486 * ParagraphList.C: delete file
4488 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4490 * toc.C (getTocList): adjust
4492 * paragraph_pimpl.C (validate): adjust
4494 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4496 * paragraph.C (Paragraph): adjust
4497 (getPositionOfInset): use const_iterator, adjust
4498 (bibitem): use const_iterator, adjust
4499 (setInsetOwner): adjust
4501 * iterators.C (operator++): adjust
4503 * InsetList.[Ch]: Replace selfmade iterator with standard
4504 vector::iterator also introduce const_iterator. Remove getPos,
4505 getInset and setInset from InsetTable. Adjust accordingly.
4507 * BufferView.C (lockInset): adjust
4508 (ChangeInsets): adjust
4510 * tabular.[Ch]: delete commented same_id functions
4512 2003-05-28 John Levon <levon@movementarian.org>
4514 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4516 2003-05-28 André Pönitz <poenitz@gmx.net>
4518 * metricsinfo.[Ch]: remove 'fullredraw' member
4520 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4522 * lyxtextclass.C (operator): remove caching.
4524 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4528 * text2.C (cursorBottom): adjust
4529 (setCounter): use ParagraphList::find, adjust
4531 * text.C (workWidth): use ParagraphList::find, adjust
4533 * lyxcursor.C (LyXCursor): adjust
4535 * buffer.C (inset_iterator): adjust
4537 * ParagraphList.h: make iterator(value_type) private, make
4538 ParagraphList a friend of iterator.
4540 * ParagraphList.C (find): new function
4542 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4544 2003-05-27 André Pönitz <poenitz@gmx.net>
4546 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4548 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4550 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4552 2003-05-26 John Levon <levon@movementarian.org>
4554 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4556 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4558 * remove same_id from function signatures, adjust.
4560 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4562 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4564 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4566 * paragraph.C (Paragraph): get rid of same_ids parameter
4568 * ParagraphList.C (insert): adjust
4571 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4573 * paragraph_funcs.C (breakParagraph): adjust
4574 (breakParagraphConservative): adjust
4576 * buffer.C (readParagraph): adjust
4578 * ParagraphList.C (insert): take a reference instead of a pointer
4581 * paragraph.[Ch] (id): new function
4583 * bufferlist.C (newFile): adjust
4585 * ParagraphList.C (ParagraphList): adjust
4587 (push_back): take a reference instead of a pointer.
4589 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4591 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4594 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4595 set else use old code.
4597 * ParagraphList.C: remove all NO_NEXT code and only compile this
4598 code of NO_STD_LIST is set.
4600 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4602 * BufferView_pimpl.C:
4612 * graphics/GraphicsConverter.C:
4613 * graphics/PreviewLoader.C: header adjustment
4615 2003-05-23 Angus Leeming <leeming@lyx.org>
4617 * LaTeXFeatures.[Ch] (useBabel): new method.
4618 * bufferparams.C (writeLaTeX): use it.
4620 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4622 * ParagraphList.h (set): remove unused function.
4624 2003-05-23 André Pönitz <poenitz@gmx.net>
4627 * BufferView_pimpl.C:
4631 * undo_funcs.C: setUndo reworked
4633 * iterators.[Ch]: add access to topmost ParagraphList
4635 * lyxtext.[Ch] (workWidth): add a const
4637 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4639 * texrow.[Ch] (increasePos): remove function
4640 * exporter.C (export): removed unused var and outdated comment
4642 2003-05-23 Angus Leeming <leeming@lyx.org>
4644 * latexrunparams.h: rename fragile as moving_arg.
4645 * paragraph.C (simpleTeXOnePar): ditto.
4646 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4648 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4650 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4652 (textUndoOrRedo): comment out a currently unused var.
4654 * paragraph.h (NO_NEXT): enable NO_NEXT
4656 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4658 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4660 * exporter.C (Export): adjust for removeAutoInsets removal.
4662 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4664 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4666 * BufferView.[Ch] (removeAutoInsets): delete function
4668 2003-05-22 Angus Leeming <leeming@lyx.org>
4670 * latexrunparams.h: add a free_spacing variable.
4672 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4673 to pass moving_arg, as the data is stored in runparams.fragile.
4675 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4676 to Inset::latexOptional or to simpleTeXOnePar.
4678 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4679 free_spacing arg to Inset::latexOptional.
4681 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4684 2003-05-22 Angus Leeming <leeming@lyx.org>
4686 * latexrunparams.h: add fragile and use_babel variables.
4688 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4689 * buffer.C (makeLaTeXFile): store this returned value in
4690 runparams.use_babel, thus passing it to the inset::latex methods.
4692 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4693 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4695 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4696 longer has a fragile arg, as it is stored in runparams.fragile.
4698 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4699 moving_arg parameter as the data is stored in runparams.fragile.
4701 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4702 a fragile parameter as the data is stored in runparams.fragile.
4704 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4706 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4708 2003-05-22 Angus Leeming <leeming@lyx.org>
4710 * latexrunparams.h: add a 'bool nice' which defaults to false.
4712 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4713 now encapsulated within runparams.
4715 * bufferlist.C (updateIncludedTeXfiles):
4716 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4718 2003-05-22 Angus Leeming <leeming@lyx.org>
4720 * latexrunparams.h: new file containing struct LatexRunParams.
4721 * Makefile.am: add new file.
4723 * LaTeX.[Ch] (c-tor, run):
4724 * buffer.[Ch] (makeLaTeXFile):
4725 * bufferlist.[Ch] (updateIncludedTeXfiles):
4726 * converter.C (convert, scanLog):
4727 * converter.[Ch] (runLaTeX):
4728 * exporter.C (Export):
4729 * paragraph.[Ch] (simpleTeXOnePar):
4730 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4731 * paragraph_funcs.[Ch] (latexParagraphs):
4732 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4733 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4734 pass around a LatexRunParams parameter.
4736 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4738 * paragraph.[Ch]: remove unused constructor
4740 * ParagraphList.C (erase): new function, taking two iterators
4742 2003-05-22 André Pönitz <poenitz@gmx.net>
4744 * undo_funcs.C: remove duplicated code
4746 * iterator.[Ch]: operator=
4748 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4750 * tabular.C (SetMultiColumn): ws changes
4752 * rowpainter.C (paintFirst): get rid of a ->previous
4754 * lyx_cb.C (getPossibleLabel): parlist simplification
4756 * BufferView.C (ChangeInsets): simplify slightly.
4758 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4760 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4761 * lfuns.h: new LFUN_SPACE
4762 * lyxfunc.C: protected space has a new lfun
4763 * paragraph_funcs.C: read new space insets
4765 * factory.C: handle new space insets
4767 2003-05-22 André Pönitz <poenitz@gmx.net>
4770 * BufferView_pimpl.C:
4773 * undo_funcs.C: return a ParIterator from getParFromID.
4775 * iterators.[Ch]: add two const's
4777 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4779 * toc.C (getTocList): adjust
4781 * iterators.[Ch]: rework for parlist
4783 * buffer.C (par_iterator_begin): adjust
4784 (par_iterator_end): adjust
4786 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4788 * BufferView.C (removeAutoInsets): adjust
4789 (ChangeInsets): adjust
4791 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4793 * text.C (top_y): fix bug 1110
4795 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4797 * errorlist.[Ch]: added
4800 * BufferView_pimpl.C:
4801 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4804 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4806 * Makefile.am: ensure that lyx is relinked upon changes to the
4807 various "convenience" libs.
4809 2003-05-20 Angus Leeming <leeming@lyx.org>
4811 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4812 files are compiled in alphabetical order again.
4814 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4816 2003-05-19 Angus Leeming <leeming@lyx.org>
4818 * gettext.[Ch]: remove "char const * _(char const *)".
4820 2003-05-19 André Pönitz <poenitz@gmx.net>
4822 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4831 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4833 2003-05-19 André Pönitz <poenitz@gmx.net>
4837 * lyxtextclass.[Ch]:
4839 * paragraph_funcs.[Ch]:
4841 * text3.C: more insetenv work
4843 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4845 * ParagraphParameters.C (params2string): small bug fixed
4847 2003-05-16 André Pönitz <poenitz@gmx.net>
4850 * bufferview_funcs.C: patch from Kornel Benko to prevent
4851 crash when _(...) is called twice in a statement
4853 2003-05-16 André Pönitz <poenitz@gmx.net>
4860 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4862 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4864 * lyx_main.C (init): remove spurious static_cast
4866 2003-05-14 André Pönitz <poenitz@gmx.net>
4868 * BufferView.C: fix format string
4870 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4872 * BufferView.[Ch] (insertErrors): removed
4873 * BufferView.[Ch] (showErrorList): added
4874 * buffer.C (runChkTeX):
4875 * converter.C (scanLog): call showErrorList instead of inserterrors
4877 2003-05-13 André Pönitz <poenitz@gmx.net>
4879 * BufferView_pimpl.C:
4881 * bufferview_func.C:
4888 * tabular_funcs.h: tostr() from its own header
4890 * ParagraphParameters.C:
4895 * text3.C: STRCONV()
4897 2003-05-12 André Pönitz <poenitz@gmx.net>
4900 * BufferView_pimpl.C:
4904 * ParagraphParameters.C:
4908 * bufferview_funcs.C:
4921 * paragraph_funcs.C:
4925 * text3.C: boost::format -> bformat all over the place
4928 2003-05-09 André Pönitz <poenitz@gmx.net>
4930 * LColor.[Ch]: Pimpl the #include <map> away
4932 2003-05-09 John Levon <levon@movementarian.org>
4934 * bufferlist.C: never remove emergency saves
4936 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4938 * Makefile.am: better lib building
4940 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4942 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4944 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4945 (simpleTeXSpecialChars): adjust
4946 (simpleTeXSpecialChars): adjust
4947 * paragraph.C (simpleTeXOnePar): adjust
4948 * buffer.C (makeLaTeXFile): adjust
4950 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4952 * text2.C (changeDepth): parlist cleanup
4953 (getColumnNearX): ditto
4955 * rowpainter.C (getLabelFont): parlist cleanup
4957 * bufferlist.C (newFile): parlist cleanup
4959 * CutAndPaste.C (eraseSelection): parlist cleanup
4961 * BufferView_pimpl.C (trackChanges): parlist cleanup
4964 * BufferView.C (lockInset): parlist cleanup.
4965 (ChangeInsets): ditto
4967 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4969 * CutAndPaste.h: Update file header.
4971 * CutAndPaste.C: Update file header.
4972 Store the parts cut out of the Document in a limited_stack.
4973 (copySelection): adjust
4974 (pasteSelection): new function, takes the index in the limited stack.
4975 (nrOfParagraphs): adjust
4976 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4977 simplify error inset insertion.
4978 (checkPastePossible): adjust
4980 2003-05-06 John Levon <levon@movementarian.org>
4982 * text2.C: don't cast wrap inset to float
4984 2003-05-05 André Pönitz <poenitz@gmx.net>
4987 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4989 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4990 few naked Paragraph *.
4992 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4994 * bufferparams.C: Output warning if a document with missing
4995 TeX document class is loaded
4996 * exporter.C: Disable TeX exports if the document class is missing
4999 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5000 isTeXClassAvailable()
5002 2003-05-03 John Levon <levon@movementarian.org>
5005 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5006 explicit cursor show/hide
5008 * BufferView_pimpl.h:
5009 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5010 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5012 * lyxfunc.C: hide cursor before dispatching.
5017 * text3.C: remove explicit cursor hides
5019 2003-05-02 André Pönitz <poenitz@gmx.net>
5021 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5024 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5027 * text2.C: tiny whitespace
5029 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5031 * undo_funcs.C: almost only ws changes.
5033 * ParagraphList.C (splice): just return if pl is empty.
5035 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5037 * ParagraphList.C (splice): new function.
5039 * CutAndPaste.C (pasteSelection): use it
5041 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5043 * CutAndPaste.C (pasteSelection): remove the last next and
5044 previous from this file.
5046 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5048 * CutAndPaste.C (pasteSelection): more clean up, user proper
5049 ParagraphList functions for pasteing.
5051 * ParagraphList.C (insert): new function, three arg insert
5053 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5055 * ParagraphList.C (insert): new function, three arg insert
5057 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5060 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5062 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5064 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5066 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5068 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5070 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5071 (copySelection): clean up a bit.
5072 (pasteSelection): use make_pair
5074 * ParagraphList.C (ParagraphList): implement copy constructor
5075 (operator=): implement, base on copy constructor.
5078 * paragraph.C (erase): return a bool
5080 * paragraph_pimpl.C (erasePos): remove function, move contents...
5081 (erase): ... here. Return a bool.
5082 (erase): call erase instead of erasePos.
5084 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5086 * ParagraphList.h: define PitPosPair
5087 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5088 ParagraphList, fix a bug on pasting multiple pars
5089 * text2.C: change interface to C&P
5091 2003-04-30 André Pönitz <poenitz@gmx.net>
5093 * undo_func.C: revert part of yesterday's patch 2
5095 2003-04-30 John Levon <levon@movementarian.org>
5097 * LColor.C: s/tabular/table/
5099 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5101 * text3.C (dispatch): do not convert iterator -> pointer
5102 * undo_funcs.C (setCursorParUndo): ditto
5103 * text_funcs.C (transposeChars): ditto
5105 * text2.C (setLayout): ws changes only
5107 * text.C (breakParagraph): do not convert iterator -> pointer
5109 (acceptChange): ditto
5110 (rejectChange): ditto
5115 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5118 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5120 * text3.C (gotoInset): YABG (yet another bad getChar)
5122 2003-04-29 André Pönitz <poenitz@gmx.net>
5124 * paragraph.h: make operator= private unimplemented as long as
5127 * ParagraphList.C: whitespace
5130 * paragraph_pimpl.[Ch]:
5131 * paragraph_funcs.C:
5133 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5136 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5138 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5140 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5141 * paragraph.[Ch] (erase):
5142 * paragraph_pimpl.[Ch] (erase): change return type and value
5143 * text2.C (cutSelection): some rework
5145 2003-04-28 John Levon <levon@movementarian.org>
5147 * bufferlist.C: changes for unsaved changes dialog
5149 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5151 * bufferlist.C (newFile): set language (messages_) for new
5154 * buffer.C (readFile): ws changes only.
5156 2003-04-28 André Pönitz <poenitz@gmx.net>
5161 * BufferView_pimpl.C:
5162 * BufferView.C: getParFromID related ParagraphList::iterator changes
5164 2003-04-28 André Pönitz <poenitz@gmx.net>
5166 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5169 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5171 * messages.C: remove one more localedir class variable.
5173 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5175 * messages.C (getLocaleDir): singleton generation function
5177 (Messages): add a default constructor.
5179 * main.C (main): do not setup localedir here, do not call
5182 * gettext.C (_): use it.
5183 (gettext_init): delete funciton
5185 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5187 * gettext.C (getLyXMessages): new singleton generating function.
5189 * buffer.C (updateDocLang): adjust
5191 * Makefile.am (messages.o): add target
5192 (main.o): remove target
5194 2003-04-27 John Levon <levon@movementarian.org>
5199 * lyxvc.C: specify cancel button in Alert::prompt
5201 2003-04-26 John Levon <levon@movementarian.org>
5206 * LyXAction.C: add LFUN_INSET_SETTINGS
5208 * lyxfunc.C: don't enable tabular-feature when there's
5209 just any locking inset
5211 2003-04-26 John Levon <levon@movementarian.org>
5213 * bufferlist.C: re-add Cancel to buffer close question
5215 * lyxfunc.C: fix import UI a bit
5217 2003-04-25 John Levon <levon@movementarian.org>
5219 * gettext.C: remove the broken asserts for now
5221 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5223 * messages.C: make case where setlocale cannot comply work better.
5225 * buffer.C (updateDocLang): new function
5226 (changeLanguage): use it
5229 * text2.C (setCounter): use B_ a bit.
5231 * lyxlayout.C (Read): be sure to trim the label strings.
5233 * messages.C (Messages): fix typo in comment
5235 * buffer.C (readFile): set message_ after file is loaded.
5236 (makeDocBookFile): remove double return
5237 (changeLanguage): reset message_ upon language change.
5238 (B_): new func, use this to get translated buffer strings.
5240 * main.C: add myself and Jean Marc as authors.
5242 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5244 * messages.[hC]: pimplify Messages, and three different pimpls to be
5245 used in different circumstances.
5247 * gettext.[Ch]: change for use with new message code.
5249 2003-04-24 André Pönitz <poenitz@gmx.net>
5251 * factory.C: support for eqref
5253 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5255 * messages.[Ch]: add missing char
5257 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5259 * messages.[Ch]: New files
5261 2003-04-18 John Levon <levon@movementarian.org>
5265 * BufferView_pimpl.C:
5269 * text2.C: remove layout-copy/paste (bug 778)
5271 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5273 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5275 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5277 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5278 if they succeed. Act accordingly.
5280 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5282 * text2.C (setCharFont): adjust
5283 (setCounter): adjust
5284 (insertStringAsLines): adjust
5286 * text.C (leftMargin): adjust
5287 (setHeightOfRow): adjust
5289 * rowpainter.C (paintFirst): adjust
5292 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5294 (isFirstInSequence): ditto
5295 (getEndLabel): ditto
5298 * paragraph.C (getParLanguage): comment out some hard stuff.
5300 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5302 (simpleDocBookOnePar): ditto
5303 (makeDocBookFile): use ParagraphList::iterator
5305 * CutAndPaste.C (pasteSelection): adjust
5307 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5309 * text2.C (getFont): adjust
5310 (getLayoutFont): adjust
5311 (getLabelFont): adjust
5313 * paragraph_funcs.C (TeXOnePar): adjust
5315 * buffer.C (simpleLinuxDocOnePar): adjust
5316 (simpleDocBookOnePar): adjust
5318 * CutAndPaste.C (pasteSelection): adjust
5320 * BufferView.C (getEncoding): adjust
5322 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5324 2003-04-16 John Levon <levon@movementarian.org>
5326 * lyxfind.C: use parlist stuff for search/changes
5328 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5330 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5332 * text2.C (deleteEmptyParagraphMechanism): adjust
5334 * text2.[Ch] (ownerParagraph): delete func (both of them
5336 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5338 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5340 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5342 * ParagraphList.C: prepare for NO_NEXT
5344 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5346 * text2.C (getFont): adjust
5347 (getLayoutFont): adjust
5348 (getLabelFont): adjust
5350 * paragraph.C (getFont): adjust
5351 (getLabelFont): adjust
5352 (getLayoutFont): adjust
5354 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5356 2003-04-15 John Levon <levon@movementarian.org>
5360 * lyx_main.C: handle Include in .ui files
5362 2003-04-15 John Levon <levon@movementarian.org>
5364 * MenuBackend.C: make the doc files length shorter
5367 * ToolbarBackend.C: handle toolbar placement flags,
5370 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5372 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5375 * paragraph_funcs.C (TeXOnePar): adjust
5377 * paragraph.C (getLabelFont): add outerfont arg, adjust
5378 (getLayoutFont): ditto
5379 (simpleTeXOnePar): adjust
5381 * paragraph_pimpl.C (realizeFont): delete func
5383 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5385 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5386 row argument, constify cur argument.
5388 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5390 * text2.C (getFont): adjust
5391 (getLayoutFont): adjust
5392 (getLabelFont): adjust
5394 * paragraph_funcs.C (TeXOnePar): adjust
5395 (outerFont): new func...
5396 (realizeFont): ...moved out from here, changed this to facilitate
5399 * paragraph.C (getFont): take outerfont as arg, adjust
5400 (simpleTeXOnePar): add outerfont arg, adjust
5402 * buffer.C (simpleLinuxDocOnePar): adjust
5403 (simpleDocBookOnePar): adjust
5405 * CutAndPaste.C (pasteSelection): adjust
5407 * BufferView.C (getEncoding): adjust
5409 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5411 * text2.C (setCharFont): adjust
5412 (setCounter): adjust
5414 * text.C (leftMargin): adjust
5415 (setHeightOfRow): adjust
5417 * rowpainter.C (paintFirst): adjust
5420 * paragraph_pimpl.C (realizeFont): adjust
5422 * paragraph.C (isFirstInSequence): move from here...
5423 * paragraph_funcs.C (isFirstInSequence): ...to here
5425 * paragraph.C (outerHook): move from here...
5426 * paragraph_funcs.C (outerHook): ...to here
5428 * paragraph.C (depthHook): move from here...
5429 * paragraph_funcs.C (depthHook): ...to here
5431 * paragraph.C (getEndLabel): move from here...
5432 * paragraph_funcs.C (getEndLabel): ...to here
5434 * text2.C (realizeFont): move from here...
5435 * paragraph_funcs.C (realizeFont): ...to here
5437 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5439 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5441 2003-04-14 Angus Leeming <leeming@lyx.org>
5443 * LColor.[Ch]: scrap LColor mathcursor.
5445 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5447 * lyxlex.[Ch] (text): delete function
5448 * trans.C (Load): adjust
5449 * paragraph_funcs.C (readParToken): adjust
5451 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5453 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5454 vector<char> instead of a char[].
5456 * lyxlex_pimpl.C (getString): adjust
5458 (lex): use getString
5462 * lyxlex.C (text): use pimpl_->getString()
5466 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5468 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5469 (makeFontEntriesLayoutSpecific): temp var for par.size()
5470 (setLayout): temp var for ownerParagraphs().end()
5471 (fullRebreak): temp var for rows().end()
5472 (selectionAsString): temp var for boost::next(startpit), realize
5473 that the while really is a regular for loop.
5474 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5475 setCursor in one place.
5476 (setParagraph): temp vr for ownerParagraphs().end()
5477 (updateCounters): make the while loop a for loop
5478 (cutSelection): temp var for ownerParagraphs().end()
5479 (updateInset): make the do {} while() a regular for loop
5480 (getCursorX): use temp vars
5481 (setCurrentFont): use temp vars
5482 (getColumnNearX): use temp vars
5484 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5486 * text.C (transformChar): use temp var for getChar
5487 (computeBidiTables): use temp var for row->par()
5488 (fill): move temp vars for row->par() and pit->layout() earlier in
5490 (labelFill): use temp var for row->par()
5491 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5492 asc and desc, realize that pit never changes and that firstpit is
5493 just a duplicate and not needed. Exchange rit->par() with pit in a
5495 (breakAgain): use a temp var for boost::next(rit)
5496 (breakAgainOneRow): ditto
5497 (breakParagraph): use a temp var for rows().begin()
5498 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5499 (cursorRightOneWord): use temp var for cursor.par() and
5500 cursor.pos(), remove usage of tmpcursor.
5501 (cursorLeftOneWord): use temp var for cursor.par() and
5502 cursor.pos() only set cur at end of function.
5504 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5506 * text.C, text2.C: exchange all usage of Paragraph::next with
5507 boost::next(ParagraphList::iterator)
5509 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5511 * text2.C (cursorTop): simplify implementation
5512 (cursorBottom): ditto
5513 (setParagraph): use ParagraphList::iterator
5514 (setCurrentFont): adjust
5515 (getColumnNearX): adjust
5516 (cursorRight): adjust
5517 (cursorLeft): remove usage of Paragraph::previous
5518 (cursorUpParagraph): ditto
5519 (deleteEmptyParagraphMechanism): slight cleanup
5521 * text.C (isBoundary): take a Paragraph const & instead of a
5523 (addressBreakPoint): ditto
5524 (leftMargin): remove usage of Paragraph::previous.
5525 (setHeightOfRow): ditto
5526 (cursorLeftOneWord): ditto
5527 (selectNextWordToSpellcheck): ditto
5530 (breakParagraph): remove one usage of Paragraph::next
5531 (redoParagraph): ditto
5532 (acceptChange): ditto
5533 (insertChar): adjust
5534 (rowBreakPoint): adjust
5536 * bufferview_funcs.C (toggleAndShow): adjust
5538 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5540 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5541 methods to access it.
5543 * text.C: Added updateRowPositions to compute all row positions.
5544 Make top_y and getRowNearY() to use the cached y position
5546 2003-04-11 John Levon <levon@movementarian.org>
5548 * text.C (rowBreakPoint): reintroduce the labelEnd
5549 checks, code copied from the row fill stuff. Deep voodoo.
5551 * text.C (fill): add a comment and debugging for the
5554 2003-04-11 John Levon <levon@movementarian.org>
5556 * text.C: make sure fullrow insets get wrapped to the next line,
5557 even when they're in a manual label
5559 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5561 * text2.C (insertParagraph): make it take ParagraphList::iterator
5563 (setLayout): make it return ParagraphList::iterator
5564 (redoParagraphs): ditto
5566 (checkParagraph): ditto
5568 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5570 * text2.C: adjust several funcs.
5571 (realizeFont): take a ParagraphList::iterator as arg.
5572 (getLayoutFont): ditto
5573 (getLabelFont): ditto
5574 (setCharFont): ditto
5576 * text.C: adjust several funcs.
5578 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5580 * text.C (selectNextWordToSpellcheck): don't accidentally
5583 2003-04-10 John Levon <levon@movementarian.org>
5585 * ToolbarBackend.C (getIcon): special handling for
5588 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5590 * text2.C (cursorRight): a getChar assert fixed
5592 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5594 * text2.C (getFont): change to take a ParagraphList::iterator
5595 instead of Paragraph*
5596 Adjust several functions.
5598 * text.C (transformChar): change to take a ParagraphList::iterator
5599 instead of Paragraph*
5600 (singleWidth): ditto
5601 Adjust several functions.
5603 * rowpainter.C: adjust several functions
5604 * rowpainter.h:store a ParagraphList::iterator and not a
5608 2003-04-09 John Levon <levon@movementarian.org>
5613 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5614 and the "help" bits as well
5616 2003-04-09 John Levon <levon@movementarian.org>
5619 * ToolbarBackend.C: allow multiple toolbars
5621 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5623 * undo_funcs.C (setCursorParUndo): adjust
5625 * text_funcs.C (transposeChars): adjust
5627 * text3.C (gotoNextInset): adjust
5630 * text2.C (setLayout): adjust
5631 (changeDepth): adjust
5633 (redoParagraphs): adjust
5634 (selectionAsString): adjust
5635 (setParagraph): adjust
5636 (insertInset): adjust
5637 (cutSelection): adjust
5638 (copySelection): adjust
5639 (pasteSelection): adjust
5640 (insertStringAsLines): adjust
5641 (updateInset): adjust
5642 (setCursor): change to take a ParagraphList::iterator parameter
5643 (setCursorIntern): change to take a ParagraphList::iterator parameter
5644 (setCurrentFont): adjust
5645 (cursorLeft): adjust
5646 (cursorRight): adjust
5647 (deleteEmptyParagraphMechanism): adjust
5649 * text.C (breakParagraph): adjust
5650 (insertChar): adjust
5651 (acceptChange): adjust
5652 (rejectChange): adjust
5653 (selectNextWordToSpellcheck): adjust
5654 (changeCase): adjust
5658 * lyxfind.C (SearchForward): adjust
5659 (SearchBackward): adjust
5660 (nextChange): adjust
5662 * lyxcursor.C (par): adjust
5664 * lyxcursor.h: store a ParagraphList::iterator instead of a
5667 * lyx_cb.C (getPossibleLabel): adjust
5669 * bufferview_funcs.C (toggleAndShow): adjust
5671 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5674 * BufferView.C (removeAutoInsets): adjust
5675 (lockedInsetStoreUndo): adjust
5677 2003-04-09 John Levon <levon@movementarian.org>
5679 * ToolbarBackend.C: try icon without argument
5680 if with argument fails
5682 2003-04-08 John Levon <levon@movementarian.org>
5685 * ToolbarBackend.C: add getIcon(), handle tooltip,
5686 and change from "Icon" to "Item".
5688 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5690 * BufferView.C (lockInset): another bad getchar crunched
5692 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5694 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5697 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5699 * lyxfind.C (searchForward, searchBackwards): bug 782
5701 2003-04-07 John Levon <levon@movementarian.org>
5703 * paragraph.C: remove dead comment
5705 * text.C: remove troublesome depth-fiddling code
5706 in leftMargin() and rightMargin() (bug 1017)
5708 * text.C: fix breaking of rows in nested lists
5711 * text2.C (updateCounters): fix up depth values
5714 2003-04-07 John Levon <levon@movementarian.org>
5716 * BufferView_pimpl.C: clear message when doc finishes resizing,
5717 and after a mouse event
5719 * lyxfunc.C: clear message after exiting inset
5721 2003-04-07 John Levon <levon@movementarian.org>
5723 * bufferview_funcs.C: show math status not outside
5724 status in the statusbar
5726 2003-04-07 John Levon <levon@movementarian.org>
5728 * lyxfunc.C: note status changed after a depth change
5730 2003-04-04 Angus Leeming <leeming@lyx.org>
5732 * LaTeX.h: move AuxInfo operator==, != out of line.
5733 Remove LaTeX virtual destructor; nothing derives from it.
5734 Move operator()() out of public area and rename it startscript().
5735 Change protected for private.
5737 2003-04-04 Angus Leeming <leeming@lyx.org>
5740 * text2.C: remove unneeded #includes.
5742 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5744 * text2.C (dEPM): fix the heigth of the next row
5746 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5748 * text.C: squashed an invalid getChar requester + some ws changes
5750 2003-04-03 John Levon <levon@movementarian.org>
5752 * bufferview_funcs.h:
5753 * bufferview_funcs.C:
5756 * text2.C: make getStatus work for the env depth lfuns
5758 2003-04-03 John Levon <levon@movementarian.org>
5760 * bufferview_funcs.h:
5761 * bufferview_funcs.C:
5764 * text2.C: parlistize decDepth(), by merging it with incDepth()
5766 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5768 * lyxrow.h: store a ParagraphList::iterator instead of a
5769 Paragraph* and adjust other class functions to suit.
5771 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5774 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5776 * text2.C (setCursor): do not anchor to cursor row for the time being
5778 2003-04-02 John Levon <levon@movementarian.org>
5785 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5787 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5789 * paragraph.h: make ParagraphList and ParagraphList::iterator
5790 friends of Paragraph.
5792 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5794 * ParagraphList.C: Use the private next_ and previous_ from
5797 2003-04-01 John Levon <levon@movementarian.org>
5801 * Makefile.am: rename, remove defaults gunk
5804 * MenuBackend.C: remove defaults gunk
5807 * Languages.C: remove defaults gunk
5810 * lyx_main.C: error out if files couldn't be found.
5812 2003-04-02 John Levon <levon@movementarian.org>
5814 * text2.C: make incDepth() use parlist
5816 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5818 * undo_funcs.C (firstUndoParagraph): adjust
5820 * text3.C (gotoInset): adjust
5821 (dispatch): adjust, and rewrite loop.
5823 * text2.C (init): adjust, and rewrite loop.
5824 (redoParagraphs): adjust
5825 (updateInset): adjust, and rewrite loop.
5826 (deleteEmptyParagraphMechanism): adjust
5828 * tabular.C (LyXTabular): adjust
5829 (SetMultiColumn): adjust
5832 * lyxtext.[Ch] (ownerParagraph): delete function
5833 (ownerParagraphs): new function returns a ParagraphList.
5835 * BufferView.C (removeAutoInsets): adjust
5836 (insertErrors): adjust
5837 (setCursorFromRow): adjust
5839 2003-04-01 Angus Leeming <leeming@lyx.org>
5841 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5844 2003-04-02 John Levon <levon@movementarian.org>
5850 * text_funcs.C: make transposeChars a free function
5852 * lyxrow_funcs.C: remove wrong comment
5854 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5857 * rowpainter.C: adjust
5862 * lyxrow_funcs. [Ch]: new files
5864 * lyxrow.[Ch]: remove next and previous pointers
5865 (next,previous): remove accessor functions
5866 (isParEnd): move to lyxrow_funcs
5867 (lastPos): move to lyxrow_funcs
5868 (nextRowIsAllInset): move to lyxrow_funcs
5869 (lastPrintablePos): move to lyxrow_funcs
5870 (numberOfSeparators): move to lyxrow_funcs
5871 (numberOfHfills): move to lyxrow_funcs
5872 (numberOfLabelHfills): move to lyxrow_funcs
5873 (hfillExpansion): move to lyxrow_funcs
5877 * bufferview_funcs.C (toggleAndShow): adjust
5879 * RowList.h: Remove class RowList from file leave just a
5882 * RowList.C: delete file
5884 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5887 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5889 * text3.C (cursorPrevious): adjust
5890 (cursorNext): adjust
5893 * text2.C (redoHeightOfParagraph): adjust
5894 (redoDrawingOfParagraph): adjust
5897 * text.C (breakParagraph): adjust
5898 (insertChar): adjust
5901 * rowpainter.C (RowPainter): adjust
5902 (leftMargin): simplify and adjust
5903 (most rowpainter functions): adjust.
5905 * rowpainter.h: store the row as RowList::iterator not as Row*
5907 * lyxcursor.C (row): taka RowList::iterator as arg
5910 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5913 2003-04-01 Angus Leeming <leeming@lyx.org>
5915 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5916 stuff like bool Bool.
5918 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5920 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5923 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5925 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5928 * lyxtext.h (rows): drop one version and leve a const variant that
5929 returns a RowList::iterator.
5931 2003-03-31 Angus Leeming <leeming@lyx.org>
5933 * text.C (fill): ensure that the signature is the same as that in the
5936 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5938 * text2.C (redoParagraphs): adjust
5939 (updateCounters): adjust
5940 (checkParagraph): adjust
5941 (getColumnNearX): adjust and reformat a bit.
5943 * text.C (top_y): adjust
5945 (leftMargin): adjust
5946 (prepareToPrint): adjust
5948 (getRowNearY): adjust
5950 * lyxtext.h: make rowlist_ mutable.
5952 * RowList.h: add const_iterator
5953 * RowList.C: adjust for RowList::const_iterator.
5955 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5958 2003-03-31 John Levon <levon@movementarian.org>
5961 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5963 * lyx_main.C: set default fonts from using lyx_gui funcs
5965 * exporter.C: pdf_mode moved from lyxrc
5968 * lyxfunc.C: changes from above
5970 2003-03-31 John Levon <levon@movementarian.org>
5972 * lyx_main.C: fix to the last fix
5974 2003-03-31 John Levon <levon@movementarian.org>
5976 * bufferlist.C: "Load original" -> "Load Original"
5982 * format.C: more Alert cleanups
5984 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5986 * text2.C (removeParagraph): make it take a RowList::iterator as
5988 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5989 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5991 * text.C (anchor_row): make it take a RowList::iterator as arg,
5993 (computeBidiTables): make it take a const reference to Row instead
5994 of Row pointer, adjust.
5995 (leftMargin): make it take a RowList::iterator as arg, adjust.
5996 (rowBreakPoint): adjust
5997 (breakAgainOneRow): make it take a RowList::iterator as arg,
5999 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6001 * bufferview_funcs.C (toggleAndShow): adjust
6003 2003-03-30 John Levon <levon@movementarian.org>
6007 * boost-inst.C: moved to support
6009 * several files: changes as a result
6011 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6013 * text2.C (LyXText): adjust.
6015 (removeRow): make it take a RowList::iterator as arg, adjust.
6016 (fullRebreak): adjust
6017 (deleteEmptyParagraphMechanism): adjust
6018 (clearPaint): adjust
6021 * text.C (top_y): adjust
6022 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6023 (breakAgain): make it take a RowList::iterator as arg, adjust.
6024 (breakParagraph): adjust
6025 (insertChar): adjust
6028 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6029 need_break_row, and refresh_row.
6031 * text3.C (dispatch): adjust
6033 * text2.C (checkParagraph): adjust
6035 (setCursorFromCoordinates): adjust
6037 * text.C (top_y): adjust
6039 (getRow): make it return a RowList::iterator, adjust
6040 (getRowNearY): make it return a RowList::iterator, adjust
6042 * text2.C (init): adjust
6043 (insertRow): remove function
6044 (insertParagraph): adjust
6045 (redoParagraphs): adjust
6046 (fullRebreak): adjust
6047 (updateCounters): adjust
6049 * text.C (top_y): rewrite to use RowList iterators.
6051 (setHeightOfRow): rewrite to sue RowList iterators.
6052 (appendParagraph): adjust
6053 (breakAgain): adjust
6054 (breakAgainOneRow): adjust
6055 (breakParagraph): adjust
6057 (getRowNearY): adjust, and remove commented code.
6059 * lyxtext.h (firstRow): delete function
6060 (lastRow): delete function
6061 (rows): new function (const and non-const versions.)
6062 (insertRow): delete function
6064 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6066 2003-03-29 John Levon <levon@movementarian.org>
6068 * BufferView_pimpl.C: always update scrollbar top
6069 because pasting text when we're anchored could mean we
6070 miss an update altogether
6072 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6074 * text2.C (init): use rowlist_.end() and not 0.
6075 (insertRow): change to take a RowList::iterator as arg, adjust
6077 (insertParagraph): change to take a RowList::iterator as arg,
6079 (redoParagraphs): remove some debug msgs.
6081 * text.C (appendParagraph): change to take a RowList::iterator
6082 arg, adjust for this.
6083 (breakAgain): add an assert
6084 (breakAgainOneRow): ditto
6086 2003-03-29 John Levon <levon@movementarian.org>
6088 * text2.C: do not clear selection after inc/decDepth
6091 2003-03-29 John Levon <levon@movementarian.org>
6094 * buffer.C: fix broken strerrors according to Lars
6096 2003-03-29 John Levon <levon@movementarian.org>
6098 * converters.C: more Alert cleanups
6100 2003-03-29 John Levon <levon@movementarian.org>
6102 * bufferview_funcs.C: remove pointless Alert
6104 * buffer.C: fix confusing error message when
6105 a template is chmoded 000
6107 2003-03-29 John Levon <levon@movementarian.org>
6111 * BufferView_pimpl.C: Alert fixes
6115 * tabular-old.C: remove unused table compat reading
6117 2003-03-29 John Levon <levon@movementarian.org>
6122 * lyx_cb.C: more Alert cleanups
6124 * lyxfunc.C: don't allow chktex if not latex document
6126 2003-03-29 John Levon <levon@movementarian.org>
6130 * buffer.C: warnings pushed down from support/,
6133 2003-03-29 John Levon <levon@movementarian.org>
6135 * lyxfunc.C: safety check for C-r (revert)
6137 2003-03-29 John Levon <levon@movementarian.org>
6140 * bufferlist.C: several UI fixes using Alert::prompt.
6141 Fix the pointless looping quit code. Fix stupid revert
6146 * lyx_cb.C: use Alert::prompt
6148 * lyx_main.C: remove a silly question
6150 * lyxfunc.C: remove a couple of silly questions,
6153 2003-03-28 John Levon <levon@movementarian.org>
6155 * text2.C: fix bug 974 (End on empty par)
6157 2003-03-28 John Levon <levon@movementarian.org>
6159 * BufferView_pimpl.C:
6161 * lfuns.h: remove do-nothing math greek lfuns
6163 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6165 * lyxgluelength.h (isValidGlueLength): add default arg on
6166 parameter 2. Remove default arg from friend in class.
6168 * lyxlength.h (isValidLength): add default arg on parameter 2.
6169 Remove default arg from friend in class.
6171 * text2.C (LyXText): adjust, initialize refresh_row.
6175 (insertParagraph): adjst
6176 (redoParagraphs): adjust
6177 (fullRebreak): adjust
6178 (updateCounters): adjust
6179 (deleteEmptyParagraphMechanism): first attempt at fixing a
6182 * text.C (top_y): adjust
6183 (setHeightOfRow): adjust
6185 (getRowNearY): adjust
6187 * lyxtext.h: include RowList.h
6188 (~LyXText): not needed anymore, deleted.
6189 (firstRow): modify for RowList
6190 (lastRow): new function
6191 Delete firstrow and lastrow class variables, add a Rowlist
6192 rowlist_ class variable.
6194 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6197 * RowList.C (insert): fix case where it == begin().
6199 2003-03-26 Angus Leeming <leeming@lyx.org>
6201 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6202 the thesaurus dialog.
6204 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6206 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6208 * RowList.[Ch]: new files
6210 * ParagraphList.C (erase): handle the case where it == begin
6213 2003-03-25 John Levon <levon@movementarian.org>
6217 * aspell.C: add new aspell support
6220 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6223 2003-03-25 Angus Leeming <leeming@lyx.org>
6226 * LyXAction.C (init): new LFUN_INSET_INSERT.
6228 * BufferView_pimpl.C (dispatch): split out part of the
6229 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6231 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6234 2003-03-25 Angus Leeming <leeming@lyx.org>
6236 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6238 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6241 * text3.C: remove useless row->height(0)
6243 2003-03-25 John Levon <levon@movementarian.org>
6247 * text3.C: rename the refreshing stuff to better names
6249 2003-03-24 John Levon <levon@movementarian.org>
6251 * BufferView_pimpl.h:
6252 * BufferView_pimpl.C: update layout choice on a mouse
6255 2003-03-23 John Levon <levon@movementarian.org>
6257 * Makefile.am: fix commandtags.h reference
6259 2003-03-22 John Levon <levon@movementarian.org>
6261 * BufferView_pimpl.C:
6266 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6268 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6271 * text.C: take the rtl methods out of line
6273 2003-03-21 André Pönitz <poenitz@gmx.net>
6275 * metricsinfo.[Ch]: new files containing structures to be passed around
6276 during the two-phase-drawing...
6278 2003-03-21 André Pönitz <poenitz@gmx.net>
6280 * lyxtextclass.C: read 'environment' tag.
6282 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6284 * text2.C (removeRow): fix bug 964
6286 2003-03-20 John Levon <levon@movementarian.org>
6290 * text2.C: paint cleanups. Inset::update() dropped font
6293 2003-03-19 John Levon <levon@movementarian.org>
6295 * lyxfunc.C: only fitcursor/markDirty if available()
6297 2003-03-19 John Levon <levon@movementarian.org>
6299 * commandtags.h: rename to ...
6301 * lfuns.h: ... this, and renumber / cleanup
6303 2003-03-19 John Levon <levon@movementarian.org>
6305 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6306 fit the cursor after an lfun
6310 * BufferView_pimpl.h:
6311 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6313 * LyXAction.C: layout-character should have ReadOnly
6315 * ParagraphParameters.C:
6317 * bufferview_funcs.C:
6324 * undo_funcs.C: changes from above
6326 2003-03-18 John Levon <levon@movementarian.org>
6328 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6329 remove it from update()
6331 * lyxfunc.C: update layout choice after an lfun
6333 * text3.C: remove extra updateLayoutChoice()s
6335 2003-03-18 John Levon <levon@movementarian.org>
6337 * text.C: top_y change means full repaint, fix
6338 a drawing bug with cursor movement
6340 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6344 * text2.C: anchor row on setCursor
6346 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6348 * lyxtext.h: remove almost all mutable keywords
6351 * text3.C: remove const keywords accordingly
6353 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6355 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6357 (TeXEnvironment): ditto
6360 2003-03-17 John Levon <levon@movementarian.org>
6362 * text.C (rowBreakPoint): remove attempt to fix displayed
6363 math insets inside a manual label
6365 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6367 * lyxtext.h: remove BufferView* as first arg from almost all class
6369 * other files: adjust.
6371 2003-03-17 John Levon <levon@movementarian.org>
6375 * text2.C: more paint cleanups
6377 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6380 * rowpainter.C: remove "smart" background painting code
6382 2003-03-16 John Levon <levon@movementarian.org>
6387 * text3.C: add helper functions for setting refresh_row/y
6389 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6391 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6392 newline inset which *can* get inserted in the pass_thru layouts.
6393 This is primarily for literate documents.
6395 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6397 * buffer.C: increment LYX_FORMAT to 223
6399 2003-03-14 André Pönitz <poenitz@gmx.net>
6401 * textclass.h: prepare for environment handling, ws changes
6402 * lyxlayout.C: read latexheader and latexfooter tags
6404 2003-03-14 John Levon <levon@movementarian.org>
6406 * text2.C: rewrite ::status() a bit
6408 2003-03-13 John Levon <levon@movementarian.org>
6410 * lyxtext.h: add some docs
6412 2003-03-13 John Levon <levon@movementarian.org>
6417 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6419 2003-03-13 John Levon <levon@movementarian.org>
6421 * text3.C: fix appendix redrawing
6423 2003-03-13 John Levon <levon@movementarian.org>
6425 * text.C (setHeightOfRow):
6427 * rowpainter.C: make appendix mark have the text
6428 "Appendix" so the user knows what it is
6431 * LColor.C: s/appendixline/appendix/ from above
6433 2003-03-13 John Levon <levon@movementarian.org>
6435 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6437 * text.C: fix a getChar(pos) bug properly
6439 2003-03-13 Angus Leeming <leeming@lyx.org>
6442 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6443 Probably only temporary. Let's see how things pan out.
6445 * BufferView.C (unlockInset):
6446 * BufferView_pimpl.C (fitCursor):
6447 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6449 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6450 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6452 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6453 new functions that convert ParagraphParameters to and from a string.
6455 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6456 BufferView::Pimpl's dispatch.
6457 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6459 2003-03-13 André Pönitz <poenitz@gmx.net>
6463 * factory.C: make it aware of InsetEnv
6465 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6467 * text2.C (setCursor): never ask for one past last
6468 (setCursor): add some debugging messages.
6470 * text.C (singleWidth): never ask for one past last
6471 (singleWidth): ditto
6473 (rightMargin): ditto
6474 (rowBreakPoint): ditto
6475 (setHeightOfRow): ditto
6476 (prepareToPrint): ditto
6478 * rowpainter.C (paintBackground): never ask for one past last
6479 (paintText): never ask for one past last
6481 * paragraph_pimpl.C (getChar): make the assert stricter, never
6482 allow the one past last pos to be taken
6484 * paragraph.C (getChar): ws changes only
6486 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6487 (numberOfSeparators): ditto
6488 (numberOfHfills): ditto
6490 2003-03-12 John Levon <levon@movementarian.org>
6496 * paragraph_funcs.C: fix per-buffer authorlists
6498 2003-03-12 John Levon <levon@movementarian.org>
6500 * text.C: fix newline in right address
6502 2003-03-12 Angus Leeming <leeming@lyx.org>
6504 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6505 duplicate those in LyXFunc::dispatch.
6509 * ToolbarDefaults.C:
6510 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6511 Add LFUN_FONTFREE_UPDATE.
6513 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6514 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6516 * bufferview_func.[Ch]: several new functions to facilliate
6517 transfer of data to and from the character dialog.
6519 2003-03-12 John Levon <levon@movementarian.org>
6524 * paragraph_funcs.C:
6525 * paragraph_pimpl.C:
6529 * text3.C: remove META_NEWLINE in favour of an inset
6532 * rowpainter.C: remove paintNewline (done by inset)
6534 2003-03-12 John Levon <levon@movementarian.org>
6536 * paragraph_pimpl.C: complain about bad getChar()s
6537 for a while at least
6539 2003-03-12 John Levon <levon@movementarian.org>
6542 * buffer.C: move paragraph read into a separate function,
6543 a little renaming to reflect that.
6546 * bufferparams.C: remove the author_ids map, not necessary now
6549 * factory.C: moved Buffer::readInset to here
6551 * paragraph_funcs.h:
6552 * paragraph_funcs.C: readParagraph free function moved from
6555 * tabular.C: name change
6557 2003-03-12 John Levon <levon@movementarian.org>
6560 * ParagraphParameters.C: move par params input to
6563 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6564 behave like a normal read from the stream wrt reading
6565 a line vs. a \\token
6567 2003-03-12 John Levon <levon@movementarian.org>
6570 * ParagraphParameters.h:
6571 * ParagraphParameters.C: move output code to a
6574 2003-03-12 John Levon <levon@movementarian.org>
6576 * BufferView.C (insertLyXFile):
6579 * tabular.C: use a parlist iterator for creating the
6582 2003-03-12 John Levon <levon@movementarian.org>
6584 * buffer.C: make current_change static local not
6587 2003-03-12 John Levon <levon@movementarian.org>
6589 * buffer.C: fix insertStringAsLines for change tracking
6591 2003-03-12 John Levon <levon@movementarian.org>
6598 * bufferparams.C: move author list into params. Rename some
6599 functions. Move the header reading into a separate token
6600 loop. Move the header token reading into BufferParams.
6602 2003-03-12 John Levon <levon@movementarian.org>
6604 * changes.C: put debug inside lyxerr.debugging() checks
6606 2003-03-11 André Pönitz <poenitz@gmx.net>
6608 * factory.C: make it aware of InsetHFill
6610 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6612 * buffer.C (latexParagraphs): move function from here...
6613 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6616 2003-03-10 Angus Leeming <leeming@lyx.org>
6618 * LyXAction.C (init): fix bug in poplating array with multiple entries
6619 with the same LFUN (spotted by JMarc).
6621 2003-03-10 John Levon <levon@movementarian.org>
6624 * text2.C: move getColumnNearX() near its
6627 2003-03-10 John Levon <levon@movementarian.org>
6629 * text.C: fix break before a minipage
6631 2003-03-10 John Levon <levon@movementarian.org>
6633 * text.C: fix the last commit
6635 2003-03-09 John Levon <levon@movementarian.org>
6639 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6640 bug 365 (don't break before insets unless needed). Don't
6641 return a value > last under any circumstances.
6643 2003-03-09 Angus Leeming <leeming@lyx.org>
6645 * BufferView_pimpl.C (trackChanges, dispatch): call
6646 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6648 2003-03-09 Angus Leeming <leeming@lyx.org>
6650 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6651 than Dialogs::showAboutlyx().
6653 2003-03-09 Angus Leeming <leeming@lyx.org>
6655 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6656 than Dialogs::showTabularCreate().
6658 2003-03-09 John Levon <levon@movementarian.org>
6662 * text2.C: 3rd arg to nextBreakPoint was always the same.
6665 2003-03-08 John Levon <levon@movementarian.org>
6672 * text2.C: Remove the "main" bit from the "main body"
6675 2003-03-08 John Levon <levon@movementarian.org>
6677 * text.C (leftMargin): The left margin of an empty
6678 manual label paragraph should not include the label width
6681 * text.C (prepareToPrint): don't attempt to measure hfills
6682 for empty manual label paragraphs - the answer should be 0
6684 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6686 * CutAndPaste.C: remove commented code and reindent.
6688 2003-03-08 John Levon <levon@movementarian.org>
6691 * lyxfunc.C: move reloadBuffer()
6694 * BufferView.C: to here
6696 * lyxvc.C: add comment
6699 * vc-backend.C: call bv->reload() to avoid
6700 getStatus() check on MENURELOAD
6702 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6704 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6705 to an old format .dep file.
6707 2003-03-07 Angus Leeming <leeming@lyx.org>
6709 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6710 when the LFUN_MOUSE_RELEASE should have been handled by
6711 inset->localDispatch.
6713 2003-03-07 Angus Leeming <leeming@lyx.org>
6715 * BufferView_pimpl.C (dispatch):
6716 * LyXAction.C (init):
6717 * ToolbarDefaults.C (init):
6719 * lyxfunc.C (getStatus):
6720 remove LFUN_INSET_GRAPHICS.
6722 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6724 2003-03-07 Angus Leeming <leeming@lyx.org>
6727 * LyXAction.C (init):
6728 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6730 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6733 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6735 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6736 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6738 2003-03-07 Angus Leeming <leeming@lyx.org>
6740 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6743 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6745 * ParagraphList.C (front): new function
6748 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6750 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6751 and top_row_offset_. removed var first_y.
6753 * text2.C (LyXText, removeRow):
6755 * BufferView_pimpl.C:
6756 use these methods instead of using first_y
6758 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6760 * text2.C (pasteSelection): adjust for checkPastePossible
6762 * CutAndPaste.C: remove Paragraph * buf and replace with
6763 ParagraphList paragraphs.
6764 (DeleteBuffer): delete
6765 (cutSelection): change the tc type to textclass_type
6766 (copySelection): change the tc type to textclass_type
6767 (copySelection): adjust for ParagraphList
6768 (pasteSelection): change the tc type to textclass_type
6769 (pasteSelection): adjust for Paragraphlist
6770 (nrOfParagraphs): simplify for ParagraphList
6771 (checkPastePossible): simplify for ParagraphList
6772 (checkPastePossible): remove unused arg
6774 * ParagraphList.C (insert): handle the case where there are no
6777 * CutAndPaste.h: make CutAndPaste a namespace.
6779 * text3.C (dispatch): adjust
6781 * text.C (breakParagraph): add a ParagraphList as arg
6783 * paragraph_funcs.C (breakParagraph): change to take a
6784 BufferParams and a ParagraphList as args.
6785 (breakParagraphConservative): ditto
6786 (mergeParagraph): ditto
6787 (TeXDeeper): add a ParagraphList arg
6788 (TeXEnvironment): ditto
6791 * buffer.C (readLyXformat2): adjust
6792 (insertStringAsLines): adjust
6793 (latexParagraphs): adjust
6795 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6796 (cutSelection): adjust
6797 (pasteSelection): adjust
6799 * BufferView_pimpl.C (insertInset): adjust
6801 2003-03-05 Angus Leeming <leeming@lyx.org>
6804 * LyXAction.C (init):
6805 * BufferView_pimpl.C (dispatch):
6806 * lyxfunc.C (getStatus):
6807 remove LFUN_CHILD_INSERT.
6809 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6811 2003-03-05 Angus Leeming <leeming@lyx.org>
6814 * LyXAction.C (init):
6815 * src/factory.C (createInset):
6816 * lyxfunc.C (getStatus):
6817 * text3.C (dispatch):
6818 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6820 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6822 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6824 * ParagraphList.C (insert): handle insert right before end()
6825 (erase): fix cases where it can be first or last paragraph.
6827 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6829 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6830 Paragraph::next and Paragraph::previous
6833 * text.C (breakParagraph): adjust
6835 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6836 BufferParams& as arg.
6837 (breakParagraph): use ParagraphList::insert
6838 (breakParagraphConservative): take a Buffer* instead of a
6839 BufferParams& as arg.
6840 (breakParagraphConservative): use ParagraphList::insert.
6842 * buffer.C (insertStringAsLines): un-const it
6843 (insertStringAsLines): adjust
6845 * ParagraphList.C (insert): new function
6847 * CutAndPaste.C (pasteSelection): adjust
6849 * text.C (backspace): adjust
6851 * tabular.C (SetMultiColumn): adjust
6853 * CutAndPaste.C (cutSelection): adjust
6854 (pasteSelection): adjust
6856 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6857 Buffer const * as arg
6859 * ParagraphList.C (erase): new function
6860 * paragraph_funcs.C (mergeParagraph): use it
6861 (mergeParagraph): make it take a Buffer* instead of a
6862 BufferParams* as arg
6864 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6866 (breakParagraphConservative): ditto
6868 * paragraph.h: remove the breakParagraph friend
6870 * paragraph.C (eraseIntern): new function
6871 (setChange): new function
6873 * paragraph_funcs.C (mergeParagraph): make it take a
6874 ParagraphList::iterator instead of a Paragraph *, adjust
6877 * paragraph.h: move an #endif so that the change tracking stuff
6878 also works in the NO_NEXT case.
6880 2003-03-04 Angus Leeming <leeming@lyx.org>
6883 * LyXAction.C: new LFUN_INSET_MODIFY.
6885 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6886 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6888 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6890 * several files: ws changes only
6892 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6893 (TeXEnvironment): ditto
6896 * buffer.C (makeLaTeXFile): adjust
6897 (latexParagraphs): make it take ParagraphList::iterator as args
6899 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6901 * buffer.C (latexParagraphs): adjust
6903 * paragraph.C (TeXOnePar): move function...
6904 (optArgInset): move function...
6905 (TeXEnvironment): move function...
6906 * paragraph_pimpl.C (TeXDeeper): move function...
6907 * paragraph_funcs.C: ...here
6909 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6911 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6913 * buffer.C (readInset): remove compability code for old Figure and
6916 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6918 * buffer.C: ws changes
6921 * BufferView_pimpl.C: ditto
6924 * bufferlist.h: ditto
6928 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6930 * converter.[Ch]: split into itself +
6933 * Makefile.am: += graph.[Ch] + format.[Ch]
6940 * lyxrc.C: added #include "format.h"
6942 2003-02-27 Angus Leeming <leeming@lyx.org>
6944 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6947 * factory.C (createInset): add "label" to the factory.
6949 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6950 string and do no more.
6952 2003-02-27 Angus Leeming <leeming@lyx.org>
6955 * LyXAction.C (init):
6956 * factory.C (createInset):
6957 * BufferView_pimpl.C (dispatch):
6958 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6960 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6962 * lyxfunc.C (dispatch):
6963 * text3.C (dispatch): pass name to params2string.
6965 2003-02-26 Angus Leeming <leeming@lyx.org>
6967 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6969 Rearrange the ~includes. Strip out the unnecessary ones.
6971 * factory.C (createInset): reformat.
6972 create new insets for the various LFUN_XYZ_APPLY lfuns.
6974 2003-02-26 John Levon <levon@movementarian.org>
6977 * lyxrow.C: add isParStart,isParEnd helpers
6979 * paragraph.h: make isInserted/DeletedText take refs
6981 * paragraph_funcs.h:
6982 * paragraph_funcs.C: remove #if 0'd code
6987 * text.C: use lyxrow helpers above.
6988 Move draw and paint routines to RowPainter.
6989 Make several methods use refs not pointers.
6990 Make backgroundColor() const.
6991 Add markChangeInDraw(), isInInset().
6992 Merge changeRegionCase into changeCase.
6993 Make workWidth() shouldn't-happen code into an Assert.
6996 * rowpainter.C: new class for painting a row.
6999 * vspace.C: make inPixels take a ref
7001 2003-02-26 Angus Leeming <leeming@lyx.org>
7003 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7006 2003-02-25 John Levon <levon@movementarian.org>
7008 * ispell.C: give the forked command a more accurate name
7010 2003-02-22 John Levon <levon@movementarian.org>
7013 * toc.C: make TocItem store an id not a Paragraph *
7016 2003-02-21 Angus Leeming <leeming@lyx.org>
7018 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7019 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7020 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7021 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7022 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7023 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7025 * BufferView_pimpl.C (dispatch):
7026 * LyXAction.C (init):
7027 * factory.C (createInset):
7028 * lyxfunc.C (getStatus, dispatch):
7029 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7031 2003-02-21 Angus Leeming <leeming@lyx.org>
7033 * BufferView_pimpl.C (MenuInsertLyXFile):
7034 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7035 * lyxfunc.C (menuNew, open, doImport):
7036 no longer pass a LyXView & to fileDlg.
7038 2003-02-21 Angus Leeming <leeming@lyx.org>
7040 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7041 * LyXAction.C: change, BIBKEY to BIBITEM.
7042 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7043 Change InsetBibKey to InsetBibitem.
7044 Change BIBKEY_CODE to BIBITEM_CODE.
7045 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7046 * factory.C: replace insetbib.h with insetbibitem.h.
7047 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7048 * paragraph.C: replace insetbib.h with insetbibitem.h.
7049 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7050 Change bibkey() to bibitem().
7051 * text.C: remove insetbib.h.
7052 * text2.C: replace insetbib.h with insetbibitem.h.
7053 change bibkey() to bibitem().
7054 * text3.C: remove insetbib.h.
7055 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7057 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7059 * lyxrc.C (output): enclose user email in quotes (in case there are
7062 2003-02-18 John Levon <levon@movementarian.org>
7064 * buffer.h: add std::
7066 2003-02-17 John Levon <levon@movementarian.org>
7072 * pspell.C: reworking. Especially in ispell, a large
7073 number of clean ups and bug fixes.
7075 * lyxfunc.C: fix revert to behave sensibly
7077 2003-02-17 André Pönitz <poenitz@gmx.net>
7080 * commandtags.h: new LFUN_INSERT_BIBKEY
7090 * paragraph_func.C: remove special bibkey handling
7092 2003-02-17 John Levon <levon@movementarian.org>
7094 * text.C (Delete): fix case where delete at the end of
7095 the very first paragraph would not merge the pars
7097 2003-02-17 John Levon <levon@movementarian.org>
7099 * lyxrow.C: fix lastPrintablePos()
7101 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7103 * bufferparams.C (writeLaTeX): add a std:here
7105 * buffer.C: and remove a using directive there
7107 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7109 * buffer.C (makeLaTeXFile): move the code that generates the
7112 * bufferparams.C (writeLaTeX): ... in this new method
7114 * LaTeXFeatures.C (getEncodingSet): make const
7115 (getLanguages): make const
7117 * MenuBackend.C (binding): returns the binding associated to this
7119 (add): sets the status of each item by calling getStatus. Adds
7121 (read): add support for OptSubMenu
7122 (expand): remove extra separator at the end of expanded menu
7124 2003-02-15 John Levon <levon@movementarian.org>
7127 * BufferView_pimpl.C:
7129 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7130 inset code that had no actual effect. Remove unneeded status
7133 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7135 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7138 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7140 * text.C (drawLengthMarker): also draw an arrow marker for
7141 symbolic lengths (medskip...)
7143 2003-02-14 John Levon <levon@movementarian.org>
7146 * tabular.C: better method names
7148 2003-02-14 John Levon <levon@movementarian.org>
7150 * BufferView_pimpl.C:
7155 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7156 it's a more accurate name. Remove some pointless uses.
7158 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7160 * text2.C (LyXText): change order of initilizers to shut off
7163 2003-02-14 John Levon <levon@movementarian.org>
7165 * buffer.C: use ParIterator for getParFromID()
7169 * paragraph_pimpl.h:
7170 * paragraph_pimpl.C: remove unused getParFromID()
7172 2003-02-14 John Levon <levon@movementarian.org>
7174 * buffer.C: remove some very old #if 0'd parse code
7176 2003-02-13 John Levon <levon@movementarian.org>
7180 * text2.C: move hfillExpansion(), numberOfSeparators(),
7181 rowLast(), rowLastPrintable(), numberofHfills(),
7182 numberOfLabelHfills() ...
7185 * lyxrow.C: ... to member functions here.
7190 * text.C: remove LyXText::beginningOfMainBody(), and call
7191 p->beginningOfMainBody() directly. Move the check for
7192 LABEL_MANUAL into the latter.
7199 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7205 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7206 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7208 2003-02-13 John Levon <levon@movementarian.org>
7210 * CutAndPaste.C: remove debug
7212 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7214 * paragraph.C (asString): remove two unused variables
7216 * lyxtextclass.C (readTitleType):
7218 (LyXTextClass): handle new members titletype_ and titlename_
7220 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7222 2003-02-09 John Levon <levon@movementarian.org>
7225 * buffer.C: replace hand-coded list with a map for the dep clean
7227 2003-02-08 John Levon <levon@movementarian.org>
7229 * LaTeX.C: consolidate code into showRunMessage() helper
7231 2003-02-08 John Levon <levon@movementarian.org>
7236 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7237 and pass the size in explicitly
7239 * BufferView_pimpl.h:
7240 * BufferView_pimpl.C:
7242 * BufferView.C: add getCurrentChange()
7244 * BufferView_pimpl.h:
7245 * BufferView_pimpl.C: handle change lfuns
7247 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7248 for changes. Mark pasted paragraphs as new.
7250 * support/lyxtime.h:
7251 * support/lyxtime.C:
7252 * DepTable.C: abstract time_t as lyx::time_type
7255 * LColor.C: add colours for new text, deleted text, changebars
7257 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7258 package use "usenames" option.
7262 * LyXAction.C: add change lfuns
7266 * author.C: author handling
7269 * buffer.C: add a per-buffer author list, with first entry as
7270 current author. Handle new .lyx tokens for change tracking. Output
7271 author list to .lyx file. Output dvipost stuff to .tex preamble.
7272 Bump lyx format to 222.
7275 * bufferlist.C: add setCurrentAuthor() to reset current author details
7279 * bufferparams.C: add param for tracking
7281 * bufferview_funcs.C: output change info in minibuffer
7285 * changes.C: add change-tracking structure
7288 * debug.C: add CHANGES debug flag
7291 * lyxfind.C: add code for finding the next change piece
7294 * lyxrc.C: add user_name and user_email
7297 * lyxrow.C: add a metric for the top of the text line
7300 * text.C: implement accept/rejectChange()
7303 * text.C: paint changebars. Paint new/deleted text in the chosen
7304 colours. Strike through deleted text.
7308 * paragraph_pimpl.h:
7309 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7310 in the current change to the insert functions. Rework erase to
7311 mark text as deleted, adding an eraseIntern() and a range-based
7312 erase(). Implement per-paragraph change lookup and
7315 * paragraph_funcs.C: Fixup paste for change tracking.
7317 * tabular.C: mark added row/columns as new.
7319 * text.C: fix rowLast() to never return -1. Don't allow
7320 spellchecking of deleted text. Track transpose changes. Don't
7321 allow paragraph break or merge where appropriate.
7323 * text2.C: leave cursor at end of selection after a cut.
7325 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7327 * text.C (getLengthMarkerHeight):
7328 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7329 visible on screen too.
7331 2003-02-07 John Levon <levon@movementarian.org>
7333 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7335 2003-02-05 Angus Leeming <leeming@lyx.org>
7337 * lyxserver.C (read_ready): revert my patch of 11 September last year
7338 as it sends PC cpu through the roof. Presumably this means that
7339 the lyxserver will no longer run on an Alpha...
7341 2003-01-30 Angus Leeming <leeming@lyx.org>
7343 * factory.C (createInset): create an InsetCommandParam of type "index"
7344 and use it to 'do the right thing'.
7346 * text2.C (getStringToIndex): ensure that cursor position is always
7347 reset to the reset_cursor position.
7349 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7351 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7354 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7358 * lyxfunc.C: Output messages with identical spelling, punctuation,
7361 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7363 * MenuBackend.C (expandFormats): List only viewable export formats
7366 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7369 * lyxfunc.C (getStatus): Make sure that formats other than
7370 "fax" can also be disabled
7372 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7374 * text3.C (dispatch): put the lfuns that insert insets in 3
7375 groups, and call doInsertInset with appropriate arguments.
7376 (doInsertInset): new function, that creates an inset and inserts
7377 it according to some boolean parameters.
7379 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7381 * buffer.C (readFile): remember to pass on 'par' when calling
7382 readFile recursively.
7384 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7386 * MenuBackend.C (expandFormats): add "..." to import formats.
7388 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7390 * paragraph.C (asString): Remove XForms RTL hacks.
7392 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7393 * buffer.C: fix typo
7395 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7397 * Makefile.am (LIBS): delete var
7398 (lyx_LDADD): add @LIBS@ here instead.
7400 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7402 * Clarify the meaning of "wheel mouse jump"
7404 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7406 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7409 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7411 * importer.C (Loaders): do not preallocate 3 elements in the
7412 vector, since one ends up with 6 elements otherwise
7414 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7416 * DepTable.C (write): write the file name as last element of the
7417 .dep file (because it may contain spaces)
7418 (read): read info in the right order
7420 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7422 * paragraph_pimpl.C (simpleTeXBlanks):
7423 (simpleTeXSpecialChars):
7424 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7426 * tabular.C (latex): add some missing case statements. Reindent.
7428 * MenuBackend.C (expandToc): remove unused variable.
7430 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7439 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7442 2003-01-05 John Levon <levon@movementarian.org>
7445 * BufferView.C: add getEncoding()
7448 * kbsequence.C: do not store last keypress
7451 * lyxfunc.C: store last keypress here instead. Pass encoding
7454 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7456 * lyx_main.C (init): remove annoying error message when following
7457 symbolic links (bug #780)
7459 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7461 * text.C (insertChar):
7462 * lyxrc.C (getDescription): remove extra spaces
7464 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7466 * lyxrc.C (getDescription): remove extra spaces
7468 2002-12-20 John Levon <levon@movementarian.org>
7470 * text3.C: hack fix for page up/down across tall rows
7472 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7474 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7477 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7479 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7480 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7481 thesaurus is not compiled in
7483 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7485 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7487 2002-12-16 Angus Leeming <leeming@lyx.org>
7490 * lyx_main.C (init): remove override_x_deadkeys stuff.
7492 2002-12-12 John Levon <levon@movementarian.org>
7494 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7495 insert. Only remove shift modifier under strict
7498 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7500 * MenuBackend.C (expandToc): fix crash.
7502 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7504 * MenuBackend.C (expandToc): gettext on float names.
7506 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7508 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7509 implement bool empty() [bug 490]
7511 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7513 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7515 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7517 * several files: ws changes
7519 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7521 * text2.C (setCounter): clean up a bit, use boost.format.
7522 (updateCounters): initialize par upon declaration.
7524 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7525 if the layout exists. We do not just store the layout any more.
7526 (SwitchLayoutsBetweenClasses): use boost.format
7528 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7530 * converter.C (convert): if from and to files are the same, use a
7531 temporary files as intermediary
7533 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7536 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7538 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7540 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7542 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7544 * tabular.C (asciiPrintCell): use string(size, char) instead of
7547 * sgml.C (openTag): fix order of arguments to string constructor
7550 * lyxfunc.C (dispatch): use boost.format
7552 * lots of files: change "c" -> 'c'
7554 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7556 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7558 2002-11-25 Angus Leeming <leeming@lyx.org>
7560 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7562 * lyx_main.C (init): compile fix.
7564 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7566 * lyx_cb.C (start): boost.formatify
7567 do not include <iostream>
7569 * lengthcommon.C: ws only
7571 * boost-inst.C,BoostFormat.h: add more explict instantations
7573 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7575 * lots of files: handle USE_BOOST_FORMAT
7577 2002-11-21 John Levon <levon@movementarian.org>
7579 * pspell.C: fix compile
7581 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7583 * lyxfunc.C (dispatch): use boost::format
7587 * lyxfont.C (stateText): use boost::format
7589 * lyx_main.C (LyX): use boost::format
7591 (queryUserLyXDir): ditto
7594 (typedef boost::function): use the recommened syntax.
7596 * importer.C (Import): use boost::format
7598 * debug.C (showLevel): use boost::format
7600 * converter.C (view): use boost::format
7605 * bufferview_funcs.C (currentState): use boost::format
7607 * bufferlist.C (emergencyWrite): use boost::format
7609 * buffer.C (readLyXformat2): use boost::format
7610 (parseSingleLyXformat2Token): ditto
7612 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7614 * LaTeX.C (run): use boost::format
7616 * Chktex.C (scanLogFile): use boost::format
7618 * BufferView_pimpl.C (savePosition): use boost::format
7619 (restorePosition): ditto
7620 (MenuInsertLyXFile): ditto
7622 * BoostFormat.h: help file for explicit instation.
7624 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7626 * tabular.C (latex): Support for block alignment in fixed width
7629 2002-11-17 John Levon <levon@movementarian.org>
7631 * BufferView_pimpl.C:
7633 * lyxfunc.C: split filedialog into open/save
7635 2002-11-08 Juergen Vigna <jug@sad.it>
7637 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7638 by my last patch (hopefully).
7640 2002-11-08 John Levon <levon@movementarian.org>
7649 * toc.C: ParConstIterator, and use it (from Lars)
7651 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7653 * lyxtextclass.[Ch]: revise and add doxygen comments
7655 2002-11-07 John Levon <levon@movementarian.org>
7657 * text.C: fix progress value for spellchecker
7659 * toc.C: fix navigate menu for insetwrap inside minipage
7661 * paragraph_funcs.C: added FIXME for suspect code
7663 2002-11-07 John Levon <levon@movementarian.org>
7665 * BufferView_pimpl.C: fix redrawing of insets
7668 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7670 * text2.C (updateCounters): fix bug 668
7672 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7674 * text3.C (dispatch): Do not make the buffer dirty when moving the
7677 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7679 * vc-backend.C: STRCONV
7682 * text2.C (setCounter): STRCONV
7684 * paragraph.C (asString): STRCONV
7686 * lyxlength.C (asString): STRCONV
7687 (asLatexString): ditto
7689 * lyxgluelength.C (asString): STRCONV
7690 (asLatexString): ditto
7692 * lyxfunc.C (dispatch): STRCONV
7695 * lyxfont.C (stateText): STRCONV
7697 * importer.C (Import): STRCONV
7699 * counters.C (labelItem): STRCONV
7700 (numberLabel): ditto
7701 (numberLabel): remove unused ostringstream o
7706 * bufferview_funcs.C (currentState): STRCONV
7708 * buffer.C (readFile): STRCONV
7709 (asciiParagraph): ditto
7710 (makeLaTeXFile): ditto
7712 * Spacing.C (writeEnvirBegin): STRCONV
7714 * LaTeXFeatures.C (getLanguages): STRCONV
7715 (getPackages): ditto
7717 (getBabelOptions): ditto
7718 (getTClassPreamble): ditto
7719 (getLyXSGMLEntities): ditto
7720 (getIncludedFiles): ditto
7724 (scanAuxFile): ditto
7727 * LString.h: add the STRCONV macros
7729 * BufferView_pimpl.C (savePosition): STRCONV
7730 (restorePosition): ditto
7731 (MenuInsertLyXFile): ditto
7733 * vc-backend.C (scanMaster): change from submatch[...] to
7736 * funcrequest.C: include config.h
7738 * factory.C: include config.h
7740 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7742 * box.C: include config.h
7744 * LaTeX.C (scanAuxFile): change from submatch[...] to
7748 2002-10-25 Angus Leeming <leeming@lyx.org>
7750 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7752 * ispell.[Ch] (setError): new method.
7753 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7754 Use setError() insetead of goto END.
7756 * lyx_cb.C (AutoSave): move out child process into new class
7759 2002-10-30 John Levon <levon@movementarian.org>
7761 * text3.C: make start appendix undoable
7763 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7765 * lyxlength.C (inPixels): Fix returned value.
7767 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7770 2002-10-24 Angus Leeming <leeming@lyx.org>
7772 * lyxgluelength.h: no need to forward declare BufferParams
7773 or BufferView, so don't.
7775 2002-10-21 John Levon <levon@movementarian.org>
7777 * BufferView.C: menuUndo ->undo, redo
7779 * BufferView.h: document, remove dead, make some methods private
7781 * paragraph_funcs.h:
7782 * paragraph_funcs.C:
7783 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7788 * sgml.C: move sgml open/close tag into sgml.C
7790 * bufferview_funcs.h: unused prototype
7793 * lyxfunc.C: remove unused
7796 * text.C: remove unused
7798 2002-10-21 John Levon <levon@movementarian.org>
7802 * BufferView_pimpl.h:
7803 * BufferView_pimpl.C: fix mouse wheel handling based on
7804 patch from Darren Freeman
7806 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7808 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7810 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7812 * lyxlength.C (inPixels): Fix hanfling of negative length.
7813 Fix LyXLength::MU case.
7815 2002-10-16 John Levon <levon@movementarian.org>
7817 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7819 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7821 * converter.C (view): add support for $$i (file name) and $$p
7822 (file path) for the viewer command. If $$i is not specified, then
7823 it is appended to the command (for compatibility with old syntax)
7825 2002-10-14 Juergen Vigna <jug@sad.it>
7827 * undo_funcs.C (textHandleUndo): alter the order in which the
7828 new undopar is added to the LyXText, as we have to set first
7829 the right prev/next and then add it as otherwise the rebuild of
7830 LyXText is not correct. Also reset the cursor to the right paragraph,
7831 with this IMO we could remove the hack in "redoParagraphs()".
7833 2002-10-09 Angus Leeming <leeming@lyx.org>
7835 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7836 to turn off an optimisation if a new inset is to be inserted.
7838 2002-10-11 André Pönitz <poenitz@gmx.net>
7840 * lyxtext.h: make some functions public to allow access
7841 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7843 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7845 * text3.C (dispatch): when changing layout, avoid an infinite loop
7848 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7850 * lyxrc.C (read): treat a viewer or converter command of "none" as
7853 * MenuBackend.C (expandFormats): for an update, also allow the
7854 formats that are not viewable
7856 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7857 script if it is newer than the lyxrc.defaults in user directory
7859 2002-10-07 André Pönitz <poenitz@gmx.net>
7861 * text.C: Vitaly Lipatov's small i18n fix
7863 2002-09-25 Angus Leeming <leeming@lyx.org>
7865 * ispell.h: doxygen fix.
7867 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7869 * buffer.h (readFile): Add a new argument to the method, to allow
7870 reading of old-format templates.
7872 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7874 * toc.C (getTocList): Get TOC from InsetWrap.
7876 2002-09-16 John Levon <levon@movementarian.org>
7878 * lyxfunc.C: check tabular for cut/copy too
7880 2002-09-12 John Levon <levon@movementarian.org>
7885 * factory.C: add header
7887 * paragraph_funcs.h:
7888 * paragraph_funcs.C: cleanup
7890 2002-09-11 John Levon <levon@movementarian.org>
7892 * PrinterParams.h: odd/even default to true
7894 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7896 * PrinterParams.h: update printer parameters for new xforms dialog
7898 2002-09-11 Angus Leeming <leeming@lyx.org>
7900 * lyxserver.C (read_ready): re-write to make it more transparent
7901 and to make it work in coherent fashion under Tru64 Unix.
7903 2002-09-11 André Pönitz <poenitz@gmx.net>
7907 * text3.C: implement LFUN_WORDSEL
7909 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7911 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7912 make floatlist_ a boost::shared_ptr<FloatList>
7914 * lyxtextclass.C: include FloatList.h
7915 (LyXTextClass): initialize floatlist_
7916 (TextClassTags): add TC_NOFLOAT
7917 (Read): match "nofloat" to TC_NOFLOAT and use it.
7918 (readFloat): modify call to floatlist_
7922 * FloatList.[Ch] (FloatList): remove commented out float
7924 (erase): new function
7926 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7928 * MenuBackend.C (expandToc): fix crash when there is no document
7931 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7933 * many files: Add insetwrap.
7935 2002-09-09 John Levon <levon@movementarian.org>
7937 * text2.C: remove confusing and awkward depth wraparound
7939 2002-09-09 John Levon <levon@movementarian.org>
7941 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7944 * buffer.C: remove getIncludeonlyList()
7947 * lyxfunc.C: remove headers
7949 2002-09-09 Juergen Vigna <jug@sad.it>
7951 * text.C (getColumnNearX): fix form Michael this is most
7952 probably a cut&paste bug.
7954 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7956 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7958 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7959 references, ws changes.
7961 * text2.C (init): update counters after init
7962 (insertParagraph): no need to set counter on idividual paragraphs.
7963 (setCounter): access the counters object in the textclass object
7964 on in the buffer object.
7965 (updateCounters): ditto
7967 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7968 shared_ptr<Counters> to avoid loading counters.h in all
7970 (LyXTextClass): initialize ctrs_
7971 (TextClassTags): add TC_COUNTER, and ...
7972 (Read): use it here.
7973 (CounterTags): new tags
7974 (readCounter): new function
7975 (counters): new funtion
7976 (defaultLayoutName): return a const reference
7978 * counters.C (Counters): remove contructor
7979 (newCounter): remove a couple of unneeded statements.
7980 (newCounter): simplify a bit.
7981 (numberLabel): some small formatting changes.
7983 * buffer.[Ch]: remove all traces of counters, move the Counters
7984 object to the LyXTextClass.
7986 2002-09-06 Alain Castera <castera@in2p3.fr>
7988 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7989 package to set the horizontal alignment on fixed width columns.
7992 * lyx_sty.h: added tabularnewline macro def.
7994 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7996 2002-09-06 John Levon <levon@movementarian.org>
7998 * LyXAction.C: tooltips for sub/superscript
8000 * MenuBackend.C: a bit more verbose
8002 * lyxfunc.C: tiny clean
8004 * undo_funcs.C: document undo_frozen
8006 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8008 * counters.C (Counters): add missing algorithm counter.
8010 * text2.C (setCounter): lookup the counter with layouts latexname
8011 instead of by section number.
8012 (setCounter): use a hackish way to lookup the correct enum
8014 a float name->type change
8015 reset enum couners with counter name directly instead of depth value.
8017 * counters.C (Counters): remove the push_backs, change to use the
8018 float type not the float name.
8019 (labelItem): remove unused string, float name->type change
8021 * counters.h: don't include vector, loose the enums and sects vectors
8023 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8025 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8026 (Read): add float->TC_FLOAT to textclassTags
8027 (Read): and handle it in the switch
8028 (readFloat): new function
8030 * FloatList.C (FloatList): comment out the hardcoded float
8033 * lyxlayout.h: ws change.
8035 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8037 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8039 2002-09-03 Angus Leeming <leeming@lyx.org>
8041 * BufferView_pimpl.h: qualified name is not allowed in member
8042 declaration: WorkArea & Pimpl::workarea() const;
8044 * factory.C: added using std::endl directive.
8046 * text3.C: added using std::find and std::vector directives.
8048 2002-08-29 André Pönitz <poenitz@gmx.net>
8051 * text2.C: remove unused member number_of_rows
8054 * BufferView2.C: remove file, move contents to...
8055 * BufferView.C: ... here
8057 * BufferView_pimpl.C:
8058 * factory.C: move more inset creation to factory
8060 * vspace.C: avoid direct usage of LyXText, ws changes
8063 don't provide direct access to WorkArea, use two simple
8064 acessors haveSelction() and workHeight() instead
8067 2002-08-29 John Levon <levon@movementarian.org>
8069 * BufferView_pimpl.C (dispatch): do not continue when
8072 2002-08-28 André Pönitz <poenitz@gmx.net>
8074 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8077 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8079 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8081 * buffer.C: increment LYX_FORMAT to 221
8083 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8084 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8086 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8088 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8090 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8092 * factory.C (createInset): use LyXTextClass::floats
8094 * MenuBackend.C (expandFloatListInsert):
8095 (expandFloatInsert):
8098 * text2.C (setCounter):
8100 * LaTeXFeatures.C (useFloat):
8101 (getFloatDefinitions):
8103 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8105 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8106 floatlist_, with accessor floats().
8108 * FloatList.h: remove global FloatList
8110 2002-08-26 André Pönitz <poenitz@gmx.net>
8112 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8116 * BufferView_pimpl.C:
8117 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8119 2002-08-25 John Levon <levon@movementarian.org>
8121 * LyXAction.C: fix margin note description
8123 2002-08-24 John Levon <levon@movementarian.org>
8127 * bufferview_funcs.C:
8129 * undo_funcs.C: cleanups
8131 * lyxfunc.C: disable CUT/COPY when no selection
8133 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8135 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8136 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8138 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8139 Add backward compatibility to "mono", "gray" and "no".
8141 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8143 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8144 (and file_format >= 200).
8146 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8148 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8150 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8152 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8154 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8156 * BufferView_pimpl.C:
8163 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8164 inset and code to make it work with the paragraph code. The inset
8165 can be anywhere in the paragraph, but will only do the expected
8166 thing in LaTeX if the layout file contains the parameter line
8168 (or more generally, a nonzero value) for that layout.
8170 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8172 * paragraph.h: remove the declaration of undefined counters class
8175 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8177 * text2.C (setCounter): fixed enumeration mis-count as reported by
8178 Dr. Richard Hawkins.
8180 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8182 * paragraph_funcs.h: remove some unneeded includes
8184 * text.C (backspace): pasteParagraph now in global scipe
8186 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8187 (pasteSelection): ditto
8189 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8190 * paragraph_funcs.C (pasteParagraph): ... here
8192 2002-08-20 André Pönitz <poenitz@gmx.net>
8194 * commandtags.h: new LFUNs for swapping/copying table row/colums
8197 * lyxfunc.C: support for new lfuns
8199 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8202 * buffer.[Ch]: remove NO_COMPABILITY stuff
8204 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8206 * boost.C (throw_exception): new file, with helper function for
8207 boost compiled without exceptions.
8212 * ParameterStruct.h:
8213 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8215 * bufferlist.C (emergencyWriteAll): use boost bind
8217 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8219 * text.C: include paragraph_funcs.h
8220 (breakParagraph): breakParagraph is now in global scope
8222 * paragraph_funcs.[Ch]: new files
8224 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8227 * buffer.C: include paragraph_funcs.h
8228 (insertStringAsLines): breakParagraph is now in global scope
8230 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8233 * CutAndPaste.C: include paragraph_funcs.h
8234 (cutSelection): breakParagraphConservative is now in global scope
8235 (pasteSelection): ditto
8237 * buffer.h: declare oprator== and operator!= for
8238 Buffer::inset_iterator
8240 * bufferlist.C (emergencyWrite): don't use fmt(...)
8242 * text3.C: add using std::endl
8244 * BufferView.C (moveCursorUpdate): remove default arg
8246 2002-08-20 André Pönitz <poenitz@gmx.net>
8248 * buffer.[Ch]: move inline functions to .C
8251 * BufferView_pimpl.C:
8253 * buffer.[Ch]: use improved inset_iterator
8256 * paragraph.[Ch]: write one paragraph at a time
8258 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8260 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8261 style if style is not specified.
8263 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8265 * text2.C (setCounter): when searching for right label for a
8266 caption, make sure to recurse to parent insets (so that a caption
8267 in a minipage in a figure float works) (bug #568)
8269 2002-08-20 André Pönitz <poenitz@gmx.net>
8271 * text3.C: new file for LyXText::dispatch() and helpers
8273 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8275 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8277 2002-08-19 André Pönitz <poenitz@gmx.net>
8280 * text.C: new LyXText::dispatch()
8282 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8284 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8286 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8288 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8291 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8293 * Makefile.am: use $(variables) instead of @substitutions@
8295 2002-08-15 André Pönitz <poenitz@gmx.net>
8298 * BufferView_pimpl.C: streamlining mathed <-> outer world
8302 * LyXAction.C: remove unused LFUN_MATH
8304 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8306 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8308 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8310 * paragraph.C (Paragraph): reformat a bit
8311 (cutIntoMinibuffer): use builtin InsetList function instad of
8315 * buffer.C: include boost/bind.hpp, add using std::for_each
8316 (writeFileAscii): use ParagraphList iterators
8317 (validate): use for_each for validate traversal of paragraphs
8318 (getBibkeyList): use ParagraphList iterators
8319 (resizeInsets): use for_each to resizeInsetsLyXText for all
8321 (getParFromID): use ParagraphList iterators
8323 * BufferView2.C (lockInset): use paragraph list and iterators
8325 2002-08-14 John Levon <levon@movementarian.org>
8327 * lyxserver.C: remove spurious xforms include
8329 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8331 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8333 2002-08-13 André Pönitz <poenitz@gmx.net>
8336 * lyxfunc.C: further cleaning
8338 2002-08-13 André Pönitz <poenitz@gmx.net>
8340 * funcrequest.h: new constructor
8342 * funcrequest.C: move stuff here from .h
8345 * BufferView_pimpl.C:
8348 * lyxfunc.C: subsequent changes
8350 * lyxfunc.h: new view() member function
8352 * lyxfunc.C: subsequent changes
8354 2002-08-13 Angus Leeming <leeming@lyx.org>
8357 * BufferView_pimpl.C:
8365 changes due to the changed LyXView interface that now returns references
8366 to member variables not pointers.
8368 2002-08-13 Angus Leeming <leeming@lyx.org>
8370 * WordLangTuple (word, lang_code): return references to strings,
8375 * lyxtext.h: forward-declare WordLangTuple.
8380 * text.C: #include "WordLangTuple.h".
8383 * text.C: (selectNextWordToSpellcheck): constify return type.
8385 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8391 * paragraph_pimpl.h:
8394 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8396 Made updateCounter always count from start of buffer, and removed
8397 second argument (par).
8398 Reverted floats number display to '#'. Perhaps I'll try again when the
8399 code base is sanitized a bit.
8401 2002-08-12 Angus Leeming <leeming@lyx.org>
8403 * buffer.[Ch] (getLabelList): constify.
8405 2002-08-07 André Pönitz <poenitz@gmx.net>
8407 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8409 * funcrequest.h: extension to keep mouse (x,y) position
8411 2002-08-12 Juergen Vigna <jug@sad.it>
8413 * BufferView2.C (insertErrors): forbid undo when inserting error
8416 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8418 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8420 * ParagraphList.[Ch]: new files
8422 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8424 * BufferView2.C (lockInset): ParagraphList changes
8427 * bufferlist.C: ditto
8431 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8433 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8434 unused class variable counter_,
8436 * paragraph.[Ch] (getFirstCounter): delete unused function
8438 * counters.C: include LAssert.h
8439 (reset): add a new function with no arg, change other version to
8440 not have def. arg and to not allow empty arg.
8442 * text2.C (setCounter): remove empty arg from call to Counters::reset
8444 2002-08-11 John Levon <levon@movementarian.org>
8446 * Makefile.am: add WordLangTuple.h
8448 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8450 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8451 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8453 * insets/insettext.C: InsetList changes
8455 * graphics/GraphicsSupport.C (operator()): InsetList changes
8457 * toc.C (getTocList): InsetList changes
8459 * paragraph_pimpl.[Ch]: InsetList changes
8461 * paragraph.[Ch]: InsetList changes
8463 * buffer.C (inset_iterator): InsetList changes
8464 (setParagraph): ditto
8465 * buffer.h (inset_iterator): ditto
8466 * iterators.C (operator++): ditto
8467 * iterators.h: ditto
8469 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8471 * InsetList.[Ch]: new files, most InsetList handling moved out of
8474 * BufferView2.C (removeAutoInsets): InsetList changes
8476 (ChangeInsets): ditto
8478 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8480 * paragraph_pimpl.h (empty): new function
8482 * paragraph.[Ch] (empty): new function
8484 * other files: use the new Paragraph::empty function
8486 2002-08-09 John Levon <levon@movementarian.org>
8488 * lyxtext.h: remove unused refresh_height
8490 2002-08-09 John Levon <levon@movementarian.org>
8497 * paragraph.C: move sgml char escaping out of paragraph
8500 * paragraph.C: remove id setter
8504 * paragraph_pimpl.C: remove dead tex_code_break_column
8506 * bufferview_funcs.C: small cleanup
8508 * lyxfunc.C: remove dead proto
8510 * lyxtext.h: make some stuff private. Remove some dead stuff.
8512 * lyxgluelength.C: make as[LyX]String() readable
8514 2002-08-08 John Levon <levon@movementarian.org>
8519 * ToolbarDefaults.C:
8522 * toc.C: lyxaction cleanup
8524 2002-08-08 John Levon <levon@movementarian.org>
8526 * BufferView2.C: small cleanup
8529 * lyxfind.C: move unnecessary header into the .C
8531 2002-08-08 John Levon <levon@movementarian.org>
8533 * funcrequest.h: just tedious nonsense
8536 * lyx_main.C: cleanups
8539 * vspace.C: remove dead header lyx_main.h
8541 2002-08-07 Angus Leeming <leeming@lyx.org>
8544 * paragraph_pimpl.h:
8545 Forward declare class Counters in paragraph.h by moving the ctrs member
8546 variable into Paragraph::Pimpl.
8547 (counters): new method, returning a reference to pimpl_->ctrs.
8549 * text2.C: ensuing changes.
8551 2002-08-07 John Levon <levon@movementarian.org>
8553 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8555 * BufferView_pimpl.C: announce X selection on double/triple
8558 * lyx_main.C: use correct bool in batch dispatch
8560 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8562 2002-08-07 André Pönitz <poenitz@gmx.net>
8564 * funcrequest.h: new class to wrap a kb_action and its argument
8567 * BufferView_pimpl[Ch]:
8571 * lyxrc.C: subsequent changes
8574 2002-08-07 John Levon <levon@movementarian.org>
8576 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8577 document options change.
8579 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8584 * makefile.am: move counters functionality over from
8585 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8587 2002-08-06 John Levon <levon@movementarian.org>
8589 * WordLangTuple.h: new file for word + language code tuple
8600 * BufferView2.C: use WordLangTuple
8603 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8605 2002-08-06 John Levon <levon@movementarian.org>
8607 * lyx_main.C: fix cmdline batch handling
8609 2002-08-06 André Pönitz <poenitz@gmx.net>
8611 * lyxrc.C: set default for show_banner to true
8613 2002-08-06 John Levon <levon@movementarian.org>
8615 * pspell.C: fix a crash, and allow new aspell to work
8617 2002-08-06 John Levon <levon@movementarian.org>
8620 * kbmap.C: small cleanup
8623 * vspace.C: add const
8625 2002-08-05 John Levon <levon@movementarian.org>
8627 * LyXAction.C: back to tabular-insert
8629 2002-08-04 John Levon <levon@movementarian.org>
8632 * BufferView.C: cosmetic change
8634 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8644 * BufferView2.C: purge all "Lyx" not "LyX" strings
8647 * lyxcursor.C: attempt to add some documentation
8652 * ToolbarDefaults.C:
8653 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8654 merge with LFUN_TABULAR_INSERT
8661 * pspell.C: split up i/pspell implementations into separate
8662 files, many cleanups
8664 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8666 * text2.C: some cleanup
8668 * lyxfunc.C: don't check for isp_command == "none" any more, it
8669 didn't make any sense
8671 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8676 * makefile.am: move counters functionality over
8677 from text2.C/paragraph.[Ch] to counters.[Ch], and
8679 2002-08-02 John Levon <levon@movementarian.org>
8681 * buffer.C: s/lyxconvert/lyx2lyx/
8683 2002-08-02 Angus Leeming <leeming@lyx.org>
8685 * lyxlex.C: revert John's change as it breaks reading of the user
8688 2002-08-02 Angus Leeming <leeming@lyx.org>
8690 * importer.C (Import):
8691 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8692 changes due to LyXView::view() now returning a boost::shared_ptr.
8694 2002-08-02 John Levon <levon@movementarian.org>
8696 * lyxlex.C: small cleanup
8698 2002-08-02 John Levon <levon@movementarian.org>
8700 * text2.C (status): small cleanup, no logic change
8702 2002-08-01 John Levon <levon@movementarian.org>
8705 * buffer.C (writeFile): don't output alerts, caller
8709 * lyx_cb.C: from above
8711 * lyxfunc.C: allow to open non-existent files
8713 2002-07-31 John Levon <levon@movementarian.org>
8715 * lyxserver.C: don't let incidental errors get
8718 2002-07-30 John Levon <levon@movementarian.org>
8720 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8722 2002-07-30 John Levon <levon@movementarian.org>
8725 * lyxserver.C: remove I/O callback too
8727 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8729 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8732 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8734 * many files: strip,frontStrip -> trim,ltrim,rtrim
8736 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8738 * PrinterParams.h: remove extern containsOnly, and include
8739 support/lstrings.h instead.
8741 * LaTeX.C (scanAuxFile): modify because of strip changes
8743 * buffer.C (makeLaTeXFile): ditto
8744 * bufferparams.C (writeFile): ditt
8745 * lyxfont.C (stateText): ditto
8746 * lyxserver.C (read_ready): ditto
8747 * vc-backend.C (scanMaster): ditto
8749 * BufferView_pimpl.h: ws changes
8751 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8753 2002-07-26 André Pönitz <poenitz@gmx.net>
8755 * kb_sequence.C: remove unnedred usings
8757 2002-07-26 Juergen Vigna <jug@sad.it>
8759 * lyxfind.C (LyXReplace): we have to check better if the returned
8760 text is not of theLockingInset()->getLockingInset().
8762 2002-07-25 Juergen Vigna <jug@sad.it>
8764 * lyxfind.C (LyXReplace): don't replace if we don't get the
8767 * undo_funcs.C (createUndo): remove debugging code.
8769 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8771 * buffer.C (parseSingleLyXformat2Token): Use default placement
8772 when reading old floats.
8774 * FloatList.C (FloatList): Change the default placement of figure
8775 and tables to "tbp".
8777 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8779 * MenuBackend.C: using std::max
8781 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8783 * MenuBackend.C (expandToc):
8784 (expandToc2): code moved from xforms menu frontend. It is now
8785 generic and TOCs are transparent to menu frontends.
8787 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8789 * toc.C (getTocList): protect against buf=0
8791 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8792 Menu as first parameter. Now, this calls itself recursively to
8793 expand a whole tree (this will be useful for TOC handling)
8794 (expandFloatInsert): remove 'wide' version of floats
8796 * MenuBackend.h (submenuname): returns the name of the submenu.
8797 (submenu): returns the submenu itself, provided it has been
8798 created by MenuBackend::expand
8800 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8802 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8803 insets which have noFontChange == true. (bug #172)
8805 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8807 * BufferView_pimpl.C: add connection objects and use them...
8810 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8812 * MenuBackend.C (expandLastfiles):
8815 (expandFloatListInsert):
8816 (expandFloatInsert):
8817 (expand): split expand in parts
8819 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8821 * lyx_gui.C: use lyx_gui::exit()
8823 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8825 * LyXAction.C: show the failing pseudo action
8827 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8829 * buffer.C (readFile): Run the lyxconvert script in order to read
8832 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8836 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8838 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8842 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8844 2002-07-22 Herbert Voss <voss@lyx.org>
8847 * lyxlength.[Ch]: add support for the vertical lengths
8849 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8851 * toc.[Ch]: std:: fixes
8853 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8855 * lyxrc.C: do not include lyx_main.h
8857 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8863 * BufferView2.C: include "lyxlex.h"
8866 * bufferparams.h: do not #include "lyxlex.h"
8868 * lyxtextclasslist.C (Add): remove method
8869 (classlist): renamed to classlist_
8871 * paragraph_pimpl.C:
8875 * bufferview_funcs.C:
8880 * toc.C (getTocList): use BufferParams::getLyXTextClass
8882 * toc.C (getTocList): use InsetFloat::addToToc
8884 * toc.[Ch]: new files, containing helper functions to handle table
8887 * lyxfunc.C (dispatch): no need to remove spaces around command
8889 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8890 first command of the sequence; it is not very clever, but I do not
8891 have a better idea, actually
8893 * LyXAction.C (LookupFunc): make sure to remove space at the
8894 beginning and end of the command
8896 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8898 * MenuBackend.C (getMenubar): new method: return the menubar of
8900 (read): treat differently reading of menu and menubar (in
8901 particular, the menubar has no name now)
8902 (Menu::menubar): remove
8904 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8907 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8909 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8910 a bibitem inset in a RTL paragraph.
8912 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8914 * paragraph_pimpl.C: constify
8916 * BufferView_pimpl.C:
8918 * lyxfunc.C: fix dispatch in a nicer way
8920 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8922 * lyxfunc.C (dispatch):
8923 * BufferView_pimpl.C:
8924 * BufferView_pimpl.h:
8926 * BufferView.h: rename Dispatch() to dispatch()
8928 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8930 * lyxlayout.C (Read): honor DependsOn tag
8932 * lyxlayout.[Ch] (depends_on): new method
8934 * version.C.in: update lyx_docversion
8936 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8938 * paragraph.C (validate): remove from here...
8939 * paragraph_pimpl.C (validate): ... and move here
8940 (isTextAt): make it const
8942 * buffer.C (getLists): ws cleanup
8944 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8946 * language.C (read): Use iso8859-1 encoding in latex_lang
8947 (this prevents LyX from crashing when using iso10646-1 encoding).
8949 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8951 * text2.C (toggleInset): if cursor is inside an inset, close the
8952 inset and leave cursor _after_ it
8954 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8956 * lyxfunc.C: move minibuffer completion handling out of here
8958 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8960 * BufferView_pimpl.C:
8961 * LaTeX.C: fix dispatch calls
8963 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8965 * text.C (drawChars): Fix Arabic text rendering.
8967 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8971 * lyxfunc.C: remove message-push/pop
8975 * lyxfunc.C: rationalise some code by removing verboseDispatch
8976 in favour of a bool argument to dispatch()
8978 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8980 * lyx_main.C (init): make sure to read symlinks as absolute paths
8982 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8985 * lyxfunc.C: no need for commandshortcut to be a member
8987 2002-07-15 André Pönitz <poenitz@gmx.net>
8989 * converter.C: add support for $$s (scripts from lib/scripts dir)
8990 * lyx_main.C: white space
8992 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8996 * lyxrc.C: remove second exit confirmation
8998 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9003 * BufferView_pimpl.h:
9004 * BufferView_pimpl.C:
9005 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9007 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9009 * MenuBackend.C (expand): add numeric shortcuts to document menu
9011 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9013 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9015 * lyxfont.C (setLyXFamily):
9022 * buffer.C (asciiParagraph): use ascii_lowercase
9024 2002-07-15 Mike Fabian <mfabian@suse.de>
9026 * lyxlex_pimpl.C (search_kw):
9027 * lyxlex.C (getLongString):
9028 * converter.h (operator<):
9029 * converter.C (operator<):
9030 * buffer.C (parseSingleLyXformat2Token):
9032 * ToolbarDefaults.C (read):
9033 * MenuBackend.C (checkShortcuts):
9035 * LColor.C (getFromGUIName):
9036 (getFromLyXName): use the compare_ascii_no_case instead of
9037 compare_no_case, because in turkish, 'i' is not the lowercase
9038 version of 'I', and thus turkish locale breaks parsing of tags.
9040 2002-07-16 Angus Leeming <leeming@lyx.org>
9042 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9043 now takes a Buffer const & argument.
9045 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9047 * BufferView.C (resize): check there's a buffer to resize
9049 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9051 * lyxfunc.C: remove dead code
9054 * lyxserver.C: use lyx_guii::set_read_callback
9056 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9058 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9059 an inset in a RTL paragraph.
9061 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9063 * lyxfunc.C: repaint after a font size update
9065 2002-07-15 André Pönitz <poenitz@gmx.net>
9067 * lyxlength.C: inBP should be able to return negative values
9069 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9071 * lyxfunc.C: use lyx_gui::update_fonts()
9073 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9075 * lyxfunc.C: use lyx_gui::update_color()
9077 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9083 * lyxrc.C: remove file->new asks for name option, and let
9084 buffer-new take an argument
9086 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9088 * BufferView_pimpl.C: remove unneeded extra repaint()
9090 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9092 * LyXAction.C: allow command-sequence with NoBuffer
9094 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9096 2002-07-10 Angus Leeming <leeming@lyx.org>
9098 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9100 2002-07-09 Angus Leeming <leeming@lyx.org>
9102 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9104 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9106 * lengthcommon.h: whitespace
9108 * lyxfunc.C: update scrollbar after goto paragraph
9110 * lyxtext.h: factor out page break drawing, and fix it so
9111 page break/added space paints as selected nicely
9113 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9115 * BufferView_pimpl.C: add FIXMEs, clean up a little
9117 2002-07-09 André Pönitz <poenitz@gmx.net>
9119 * lyxfont.[Ch]: support for wasy symbols
9121 2002-07-08 André Pönitz <poenitz@gmx.net>
9123 * BufferView_pimpl.C: apply John's patch for #93.
9125 2002-07-05 Angus Leeming <leeming@lyx.org>
9127 * BufferView_pimpl.C (buffer): generate previews if desired.
9129 * LColor.h: add "preview" to the color enum.
9131 * LColor.C (LColor): add a corresponding entry to the items array.
9133 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9136 2002-07-05 Angus Leeming <leeming@lyx.org>
9138 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9139 The body of the code is now in the method that is passed an ostream &
9140 rather than a file name.
9141 Pass an additional only_preamble parameter, useful for the forthcoming
9144 2002-07-03 André Pönitz <poenitz@gmx.net>
9146 * lyxfunc.C: simplify getStatus() a bit for math stuff
9148 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9150 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9152 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9154 * text.C (changeRegionCase): do not change case of all the
9155 document when region ends at paragraph end (bug #461)
9157 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9159 * paragraph.C (startTeXParParams):
9160 (endTeXParParams): add \protect when necessary
9162 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9164 * BufferView_pimpl.C (workAreaExpose): remove warning
9166 2002-06-27 Angus Leeming <leeming@lyx.org>
9168 * Makefile.am: add lyxlayout_ptr_fwd.h.
9170 2002-06-26 André Pönitz <poenitz@gmx.net>
9172 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9174 2002-06-25 Angus Leeming <leeming@lyx.org>
9176 * lyxfunc.C (dispatch): Comment out the call to
9177 grfx::GCache::changeDisplay. The method no longer exists now that the
9178 pixmap generation part of the graphics loader has been moved into
9181 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9183 * text2.C: layout as layout
9185 * text.C: layout as layout
9187 * tabular.C (OldFormatRead): layout as layout
9189 * paragraph_pimpl.C (TeXDeeper): layout as layout
9190 (realizeFont): layout as layout
9192 * paragraph.C (writeFile): layout as layout
9193 (validate): layout as layout
9194 (getFont): layout as layout
9195 (getLabelFont): layout as layout
9196 (getLayoutFont): layout as layout
9197 (breakParagraph): layout as layout
9198 (stripLeadingSpaces): layout as layout
9199 (getEndLabel): layout as layout
9200 (getMaxDepthAfter): layout as layout
9201 (applyLayout): layout as layout
9202 (TeXOnePar): layout as layout
9203 (simpleTeXOnePar): layout as layout
9204 (TeXEnvironment): layout as layout
9205 (layout): layout as layout
9206 (layout): layout as layout
9208 * lyxtextclass.C (compare_name): new functor to work with
9209 shared_ptr, layout as layout
9210 (Read): layout as layout
9211 (hasLayout): layout as layout
9212 (operator): layout as layout
9213 (delete_layout): layout as layout
9214 (defaultLayout): layout as layout
9216 * lyxlayout_ptr_fwd.h: new file
9218 * lyxlayout.C (Read): layout as layout
9220 * lyx_cb.C (MenuInsertLabel): layout as layout
9222 * bufferlist.C (newFile): layout as layout
9224 * buffer.C (readLyXformat2): layout as layout
9225 (parseSingleLyXformat2Token): layout as layout
9226 (insertStringAsLines): layout as layout
9227 (asciiParagraph): layout as layout
9228 (latexParagraphs): layout as layout
9229 (makeLinuxDocFile): layout as layout
9230 (simpleLinuxDocOnePar): layout as layout
9231 (makeDocBookFile): layout as layout
9232 (simpleDocBookOnePar): layout as layout
9233 (getLists): layout as layout
9235 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9237 * CutAndPaste.C (cutSelection): layout as layout
9238 (pasteSelection): layout as layout
9239 (SwitchLayoutsBetweenClasses): layout as layout
9241 * BufferView_pimpl.C (Dispatch): layout as layout
9242 (smartQuote): layout as layout
9244 * BufferView2.C (unlockInset): layout as layout
9246 2002-06-24 André Pönitz <poenitz@gmx.net>
9248 * lyxfunc.C: fix #487
9250 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9254 * lyxfunc.C: remove display_shortcuts, show_banner
9256 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9258 * Buffer_pimpl.C: oops, update on resize
9260 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9267 * BufferView.C: use repaint()
9269 * BufferView_pimpl.h:
9270 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9271 as it's a clearer description. Remove superfluous
9274 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9276 * text.C: fix bug 488. Not ideal, but getting
9277 getWord() to work properly for the insets that
9278 matter is more difficult ...
9280 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9282 * BufferView_pimpl.C:
9285 * lyxfunc.C: remove the six million index lyxfuncs to just
9286 one, and DTRT (bug 458)
9288 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9292 * BufferView_pimpl.h:
9293 * BufferView_pimpl.C: clean up resize() stuff,
9294 and unnecessary updateScreen()s
9296 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9300 * BufferView_pimpl.h:
9301 * BufferView_pimpl.C:
9304 * minibuffer.C: remove focus management of workarea,
9305 not needed. Use screen's greyOut()
9307 2002-06-17 Herbert Voss <voss@lyx.org>
9309 * converter.C: (convert) do not post a message, when converting
9310 fails, let the calling function decide what to do in this case
9312 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9314 * lyxfunc.C: tidy up a little
9316 2002-06-16 <alstrup@diku.dk>
9318 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9319 Got rid of FORMS_H_LOCATION include. Now we are
9322 2002-06-15 LyX Development team <lyx@rilke>
9324 * buffer.[Ch] (sgmlOpenTag):
9325 (sgmlCloseTag): Added support for avoiding pernicious mixed
9326 content. Return number of lines written.
9329 (makeDocBookFile): Fixed calls to sgml*Tag.
9330 Simple white space clean.
9332 (simpleDocBookOnePar): Simple white space clean.
9334 * tabular.[Ch] (docBook): Renamed to docbook and got another
9335 argument to related with the pernicious mixed content.
9337 (docbookRow): Fixed calls for docbook inset method.
9339 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9341 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9342 so it's X11 independent.
9346 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9348 2002-06-15 Lyx Development team <lyx@electronia>
9350 * intl.h: Renamed getTrans to getTransManager.
9352 2002-06-14 Angus Leeming <leeming@lyx.org>
9354 * Makefile.am: nuke forgotten stl_string_fwd.h.
9356 2002-06-12 Angus Leeming <leeming@lyx.org>
9358 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9360 2002-06-13 Angus Leeming <leeming@lyx.org>
9363 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9365 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9367 * kbmap.C (getiso): add support for cyrillic and greek
9369 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9373 * BufferView_pimpl.h:
9374 * BufferView_pimpl.C: move bogus scrolling logic
9377 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9380 * BufferView_pimpl.C: view->resize() change
9382 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9384 * BufferView_pimpl.C: topCursorVisible
9387 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9391 * lyx_gui.C: move to frontends/
9395 * lyx_main.C: changes from above
9397 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9404 * lyx_main.C: minor tidy
9406 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9408 * BufferView_pimpl.h:
9409 * BufferView_pimpl.C:
9411 * BufferView.C: make painter() const,
9414 * BufferView2.C: use screen() accessor
9417 * lyx_main.C: some minor cleanup
9419 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9421 * BufferView_pimpl.h:
9422 * BufferView_pimpl.C: remove enter/leaveView,
9425 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9430 * BufferView_pimpl.h:
9431 * BufferView_pimpl.C: only construct screen once,
9434 * lyxrc.C: remove pointless comment
9436 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9439 * BufferView.C: remove active() and belowMouse()
9441 * BufferView_pimpl.h:
9442 * BufferView_pimpl.C: use workarea() not workarea_,
9443 and make it use a scoped_ptr instead
9445 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9447 * lyx_gui.C: add debug message on BadWindow
9449 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9451 * sp_spell.C: fdopen is not part of the C++ standard.
9453 * paragraph.C (InsetIterator): use >= instead of ==
9455 2002-06-07 Angus Leeming <leeming@lyx.org>
9457 Fixes needed to compile with Compaq cxx 6.5.
9458 * BufferView_pimpl.C:
9465 * lyxtextclasslist.C:
9470 all c-library variables have been moved into namespace std. Wrap
9471 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9476 Add a using std::abs declaration.
9478 * kbmap.h (modifier_pair):
9479 * paragraph.h (InsetTable, InsetList):
9480 * lyxfont.h (FontBits):
9481 type definition made public.
9483 * bufferlist.C (emergencyWriteAll): the compiler complains that
9484 there is more than one possible lyx::class_fun template to choose from.
9485 I re-named the void specialisation as lyx::void_class_fun.
9487 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9489 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9490 the compiler is is unable to find tostr in write_attribute.
9492 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9494 * buffer.C (sgmlError): hide #warning
9496 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9498 * xtl/*: get rid of xtl, which is not in use anyway
9500 * LyXAction.C (init):
9501 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9502 were unimplemented xtl experimentation
9504 2002-06-04 André Pönitz <poenitz@gmx.net>
9506 * lyxfunc.C: disable array operation on simple formulae
9508 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9510 * converter.C: constify a bit
9512 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9514 * lyx_gui.C: check xforms version correctly
9516 2002-04-30 Herbert Voss <voss@lyx.org>
9518 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9521 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9523 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9524 attempt to register it with a VCS)
9526 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9528 * lyx_main.C (init): honor variables LYX_DIR_13x and
9531 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9535 * lyx_main.C: fix a crash on bad command line,
9536 and give a useful exit status on error
9538 * lyxfunc.C (doImport): allow -i lyx to work
9540 2002-03-30 André Pönitz <poenitz@gmx.net>
9542 * lyxfunc.C: mathed font changes
9544 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9559 * trans_mgr.h: srcdocs, and some minor cleanups
9561 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9563 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9564 call getFont all the time)
9566 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9568 * switch from SigC signals to boost::signals
9570 2002-05-29 André Pönitz <poenitz@gmx.net>
9572 * paragraph_pimpl.C (getChar): don't call size() too often...
9574 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9576 * paragraph_pimpl.C (insertChar): do not try to update tables when
9577 appending (pos == size())
9579 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9580 in order to reduce drastically the number of comparisons needed to
9581 parse a large document
9583 2002-05-29 André Pönitz <poenitz@gmx.net>
9589 * textclasslist.[Ch]:
9590 * sp_ispell.h: whitespace change
9592 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9594 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9595 lyxaction directly now.
9597 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9601 * lyxvc.C: remove unused headers
9603 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9610 * undo_funcs.C: some cleanups. Use shared_ptr
9611 and a template for the undo stacks.
9613 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9615 * BufferView_pimpl.h:
9616 * BufferView_pimpl.C:
9623 * text2.C: use key_state/mouse_state
9625 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9627 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9630 * chset.C: change include order
9631 (loadFile): use boost regex and get rid of LRegex and LSubstring
9633 * Makefile.am (BOOST_LIBS): new variable
9636 * LaTeX.C: change include order.
9637 (scanAuxFile): use boost regex and get rid of LRegex and
9641 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9646 * FontInfo.C: moved to frontends/xforms/
9649 * FontLoader.C: moved into frontends for GUIIzation
9654 * lyxfunc.C: changes from above
9656 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9658 * LColor.C: remove spurious X include
9660 * BufferView_pimpl.C:
9665 * text2.C: move font metrics to frontends/
9667 2002-05-24 Juergen Vigna <jug@sad.it>
9669 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9670 setting the undo_cursor.
9672 * ParagraphParameters.h: include local includes first.
9674 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9676 * BufferView_pimpl.C:
9677 * BufferView_pimpl.h:
9681 * screen.C: move WorkArea into frontends/
9687 * BufferView2.C: move LyXScreen into frontends/
9691 * lyx_gui.C: move lyxlookup into frontends/xforms/
9693 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9696 * BufferView_pimpl.C:
9706 * bufferview_funcs.C:
9719 * vc-backend.C: move LyX/XFormsView into frontends/
9721 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9733 * text2.C: move Painter to frontends/
9735 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9737 * buffer.C: comment out some some code that depend upon lyx_format
9740 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9741 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9743 * buffer.h (NO_COMPABILITY): turn off compability
9745 * ColorHandler.C: include scoped_array.hpp
9747 * font.C: Use more specific smart_ptr header.
9750 * ShareContainer.h: ditto
9754 * BufferView_pimpl.h: ditto
9755 * ColorHandler.h: ditto
9757 * kbmap.C (defkey): change call to shared_ptr::reset
9759 2002-05-21 Juergen Vigna <jug@sad.it>
9761 * buffer.C (insertErtContents): fix to insert ert asis if it is
9762 non empty. Skip it completely if it contains only whitespaces.
9764 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9766 * BufferView_pimpl.C:
9767 * BufferView2.C: clear selection on paste (bug 393)
9769 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9771 * DepTable.C: include ctime
9773 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9775 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9777 2002-05-14 Juergen Vigna <jug@sad.it>
9779 * text.C (breakParagraph): fixed function to honor the keepempty
9780 layout in the right maner and also to permit the right breaking
9781 algorithm on empty or non empyt keepempty paragraphs.
9783 * paragraph.C (breakParagraph): we have to check also if the par
9784 is really empty (!size()) for isempty otherwise we do the wrong
9787 2002-05-10 Juergen Vigna <jug@sad.it>
9789 * buffer.[Ch] : The following are only changes to the ert
9790 compatibility read reading old LaTeX layout and font stuff and
9791 convert it to ERTInsets.
9793 * buffer.h: added isErtInset().
9795 * buffer.C (struct ErtComp): add a fromlayout bool to check
9796 if we're inside a LaTeX layout.
9797 (isErtInset): new helper function.
9798 (insertErtContents): look for other ert insets before this one
9799 and insert the contents there, so that we don't have subsequent
9800 ERT insets with nothing between them. This way we create only one
9801 inset with multiple paragraphs. Also check if we don't insert only
9802 spaces ' ' as they are ignored anyway afterwards in the .tex file
9803 so if we have only spaces we will ignore this latex part in the
9805 (parseSingleLyXformat2Token \\layout): better compatibility when
9806 reading layout-latex stuff.
9807 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9809 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9810 stuff after reading the inset only get the information back from
9813 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9815 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9817 * LaTeXFeatures.C (getBabelOptions): New method.
9819 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9821 * BufferView_pimpl.C (Dispatch): work around missing argument for
9824 2002-05-08 Juergen Vigna <jug@sad.it>
9826 * text.C (leftMargin): handle paragraph leftindent.
9828 * paragraph.C (writeFile): write the new \\leftindent tag.
9829 (validate): handle leftindent code.
9830 (TeXEnvironment): handle paragraphleftindent code again.
9832 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9834 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9835 for paragrap_extra indent code and new token \\leftindent.
9836 (latexParagraphs): handle the leftindent as environment.
9838 * ParameterStruct.h: added leftindent support.
9840 * ParagraphParameters.C (leftIndent): added support functions for
9841 the paragraph left indent.
9843 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9846 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9848 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9851 * text.C (computeBidiTables): No bidi in insetERT.
9853 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9856 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9858 * version.C.in: pre 5
9860 2002-05-02 José Matos <jamatos@fep.up.pt>
9861 * buffer.C (makeDocBookFile): white space changes, add newline to
9863 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9865 * tabular.C (docBook): fix typo.
9867 2002-05-03 Juergen Vigna <jug@sad.it>
9869 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9870 change in LyXText as we can not be sure it was not freed.
9871 (drawOneRow): remove unused code.
9873 * text.C (drawInset): redo the calculation of the need_break_row as
9874 it could have a row which was already freed.
9875 (draw): look at the return value of drawInset and return false if
9876 it also returned false.
9877 (paintRowText): look at the return value of draw and return false if
9878 it also returned false.
9880 * lyxtext.h: added bool return type to drawInset() and draw() so that
9881 if we have a change in the row so that the rowbreak has to be redone
9882 we abort drawing as it will be called again.
9884 2002-05-02 Juergen Vigna <jug@sad.it>
9886 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9887 a change in the maintext also if we're inside an inset.
9888 (Dispatch): set the cursor again after a break line and after the
9889 screen has been updated as it could be we're in a different row.
9891 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9892 to set the cursor behind the pargraph with > size().
9893 (setCursor): check also for the same paragraph when checking where
9894 to put the cursor if we have a NFR inset.
9896 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9897 parts of layout read further up as it still was in the wrong
9900 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9902 * screen.C (drawFromTo): change sine fullRebreak always return
9905 * buffer.C (parseSingleLyXformat2Token): reindent some
9907 * BufferView_pimpl.C (update): change since fullRebreak always
9909 (Dispatch): git rid of the last hardcoded "Standard"s.
9911 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9913 * text2.[Ch] (fullRebreak): make it return void now that we always
9916 2002-04-30 Juergen Vigna <jug@sad.it>
9918 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9919 ert compatibility check for "latex" layout.
9921 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9923 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9924 minipages: use col% instead of p%, and also use the current font.
9925 (makeLaTeXFile): Fix use babel condition.
9926 (parseSingleLyXformat2Token): Correct font when reading old floats.
9928 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9930 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9931 inserting list of floats.
9933 2002-04-25 Herbert Voss <voss@lyx.org>
9935 * MenuBackend.C (expand): don't add the graphics extensions to the
9938 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9940 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9941 non-existing layout, do not complain if it was the default layout
9942 of the original class (bug #342)
9944 2002-04-24 Juergen Vigna <jug@sad.it>
9946 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9947 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9949 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9951 * buffer.C (getBibkeyList): If using \bibliography, return the
9952 option field with the reference itself. Enables us to provide natbib
9953 support when using \bibliography.
9955 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9957 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9959 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9960 natbib is provided by the LaTeX class.
9962 2002-04-23 Juergen Vigna <jug@sad.it>
9964 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9967 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9969 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9971 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9973 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9974 ensuremath around textordmasculine, textordfeminine and
9977 2002-04-19 Juergen Vigna <jug@sad.it>
9979 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9980 reinitializing the buffer otherwise row-dimensions may be wrong.
9981 (update): reset also the selection cursors if they do exits otherwise
9982 their x/y positions may be wrong.
9984 * text2.C (cursorDown): don't enter the inset if we came from a row
9985 above and are one row over the inset.
9987 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9988 really leaving an inset.
9990 2002-04-18 Juergen Vigna <jug@sad.it>
9992 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9993 of the selected paragraph does not have the selected layout also if
9996 * text2.C (setLayout): fixed bug which did not change last selected
9999 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10000 changed the read and substituted \\end_float with \\end_inset!
10002 * BufferView_pimpl.C (cursorPrevious):
10003 (cursorNext): fixed to make it work with rows heigher than the work
10004 area without moving the cursor only the draw of the row.
10005 (workAreaMotionNotify): fix jumping over high rows.
10007 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10009 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10012 2002-04-16 Juergen Vigna <jug@sad.it>
10014 * text2.C (setCursor): set also the irow().
10015 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10017 (cursorDown): support for locking an inset if the x_fix value goes
10018 inside it. That way I can transverse insets too with cursor up/down.
10020 * lyxrow.h: added irow helper function same as other (i) functions.
10022 * BufferView_pimpl.C (cursorPrevious):
10023 (cursorNext): fixed for insets!
10025 2002-04-15 Juergen Vigna <jug@sad.it>
10027 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10028 position otherwise it is wrong in some cases.
10030 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10031 inside the inset before the call.
10033 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10035 * buffer.[Ch] (getBibkeyList): make it const.
10037 2002-04-12 Juergen Vigna <jug@sad.it>
10039 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10041 * text2.C (getCursorX): new helper function
10042 (setCursor): compute also ix_
10043 (setCursorFromCoordinates): set also ix.
10045 * lyxcursor.h: added ix_ and helper functions.
10047 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10049 * buffer.C (insertStringAsLines): dont break paragraph if the this
10050 paragraph is inside an inset which does not permit it!
10052 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10053 also with no chars on this paragraph.
10054 (paintRowText): only paint stuff if it's inside the workarea!
10056 * paragraph.C (breakParagraph): honor keepempty flag and break the
10057 paragraph always below not above.
10059 * BufferView2.C (unlockInset): update the paragraph layout on inset
10060 unlock as we changed paragraph in such a case.
10062 * lyxfind.C (LyXFind): clear the former selection if not found!
10064 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10065 again called in insertChar().
10067 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10068 an inset which uses the whole row!
10069 (rightMargin): ditto.
10070 (insertChar): force a rebreak if we inserted an inset!
10072 2002-03-28 Herbert Voss <voss@lyx.org>
10074 * lyxlength.[Ch]: add inBP() to get the right PS-point
10075 units (BigPoint). With inPixels we have rounding errors
10077 2002-04-11 Juergen Vigna <jug@sad.it>
10079 * text2.C (setCursorFromCoordinates): set iy to the right value.
10080 (setCursor): add check if row->previous exists!
10082 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10083 an old float_type as this was the case in the old code!
10085 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10087 * BufferView2.C (showLockedInsetCursor): use iy
10088 (fitLockedInsetCursor): ditto
10090 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10091 locked insets as there we have the right value now.
10093 * lyxcursor.C: added iy_ variable and iy functions to set to the
10094 baseline of cursor-y of the locked inset.
10096 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10097 (setCursor): fixed for insets which need a full row.
10099 * text.C (rowLastPrintable): don't ignore the last space when before
10100 an inset which needs a full row.
10101 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10102 as last character of a row when before a inset which needs a full row.
10104 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10106 * version.C.in: update date
10108 * text2.C (fullRebreak): try to always return true and see what
10111 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10113 * MenuBackend.C (expand): use Floating::listName
10115 * FloatList.C (FloatList): add listName argument to the built-in
10118 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10119 text associated with the float.
10121 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10123 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10125 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10127 * ShareContainer.h: add a couple of missing typenames.
10129 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10131 * lyxrc.C (getDescription): use _() correctly rather than N_().
10133 2002-03-28 Herbert Voss <voss@lyx.org>
10135 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10136 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10138 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10140 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10141 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10143 2002-03-29 Juergen Vigna <jug@sad.it>
10145 * lyxfunc.C (dispatch): add a missing fitCursor call.
10147 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10148 it was scrolled by a cursor move, so return the bool status.
10150 * BufferView.C (fitCursor): return the bool flag also to the outside
10151 world as this is needed.
10153 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10155 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10156 call the edit() as it is not needed (and wrong) IMO.
10157 (workAreaButtonPress): set the screen_first variable before evt.
10158 unlock the inset as this may change screen_first and then we have
10159 a wrong y position for the click!
10161 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10163 * MenuBackend.C (expand): another translation that I missed
10165 2002-03-28 Juergen Vigna <jug@sad.it>
10167 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10169 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10171 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10173 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10175 * MenuBackend.C (expand): fix export/view/update when there is no
10178 2002-03-27 Herbert Voss <voss@lyx.org>
10180 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10183 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10185 * bufferview_funcs.C (currentState): only show paragraph number
10186 for is DEVEL_VERSION is set.
10188 * lyxfunc.C (dispatch): put warning in INFO channel
10190 * MenuBackend.C (expand): translate the name of floats
10192 * FloatList.C (FloatList): mark the float names for translation
10194 * converter.C (convert): use LibScriptSearch
10196 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10198 * MenuBackend.C (defaults): fix default menu (we might as well get
10201 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10203 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10206 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10208 * lyxvc.C: reorder includes.
10210 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10212 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10215 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10217 * CutAndPaste.C: change layouts earlier on paste
10218 to avoid crashing when calling getFont()
10220 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10222 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10225 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10227 * WorkArea.C: remove 'Pending' debug message.
10229 * most files: ws cleanup
10231 * buffer.[Ch]: ws changes
10233 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10235 2002-03-21 Juergen Vigna <jug@sad.it>
10237 * tabular.C (SetMultiColumn): collapse also the contents of the
10238 cells and set the last border right. Added a Buffer const * param.
10240 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10242 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10245 2002-03-19 Juergen Vigna <jug@sad.it>
10247 * text2.C (clearSelection): reset also xsel_cache.
10249 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10250 where it needs to be called (John tells us to do so too :)
10251 (selectionLost): reset sel_cache.
10253 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10255 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10257 * text2.C (setCursorIntern): put debuging code in INSETS channel
10259 2002-03-19 André Pönitz <poenitz@gmx.net>
10261 * lyxfunc.C: tiny whitespace change
10263 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10265 * ToolbarDefaults.C (init):
10266 * LyXAction.C (init):
10268 * BufferView_pimpl.C (Dispatch):
10269 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10271 2002-03-19 Allan Rae <rae@lyx.org>
10273 * exporter.C (Export): removeAutoInsets before doing anything else.
10274 While I've just introduced a dependency on BufferView this really is
10275 the best place to clean the buffer otherwise you need to cleanup in
10276 a dozen places before calling export or cleanup in a dozen functions
10279 * converter.C (runLaTeX):
10280 (scanLog): Better handling of removeAutoInsets and screen updates.
10282 * lyxfunc.C (dispatch): small whitespace changes
10284 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10286 * WorkArea.C (C_WorkAreaEvent): return a value.
10287 (event_cb): return 1 if we handled the event, 0 otherwise.
10289 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10291 2002-03-18 Juergen Vigna <jug@sad.it>
10293 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10294 (GetAdditionalWidth): ditto.
10295 (RightLine): ditto.
10298 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10299 inset if we're there actually (probably not used right now but this
10300 is the direction to go for unifying code).
10301 (paste): disable code to clear the selection.
10303 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10304 inside an InsetText and move the check further up as it is in the
10307 * text2.C (pasteSelection): set a selection over the pasted text.
10309 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10311 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10312 and libgraphics to build on Cygwin.
10314 2002-03-15 Juergen Vigna <jug@sad.it>
10316 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10317 inserting an Inset into the paragraph. I know this is not the best
10318 fix but we already use current_view in CutAndPaste so we will remove
10319 all of it's using at the same time.
10321 * buffer.C (sgmlError): deactivated function till it is rewritten in
10322 the right mode, now it can create problems.
10324 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10325 before accessing it.
10327 2002-03-14 Juergen Vigna <jug@sad.it>
10329 * undo_funcs.C (textHandleUndo): do the right thing when updating
10330 the inset after the undo/redo.
10332 * text2.C (setCursor): just some testcode for #44 not ready yet.
10334 * undo_funcs.C (textHandleUndo): set the next() and previous()
10335 pointers of the paragraph to 0 before deleting otherwise we have
10336 problems with the Paragraph::[destructor].
10338 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10339 on a paragraph insertion.
10341 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10343 * buffer.C (asciiParagraph): use += operator for char append to
10346 * paragraph.C (getFontSettings): compare >= not just >
10347 (highestFontInRange): ditto
10350 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10352 * paragraph.C: change several algorithm to be more appripriate for
10353 the problem domain. This is lookip in FontList and in the InsetList.
10355 2002-03-13 André Pönitz <poenitz@gmx.net>
10358 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10360 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10365 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10367 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10369 * Painter.C (display): anon helper function, adjust code for this
10371 (pixmap): remove function.
10373 * Painter.h: remove private display variable.
10375 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10377 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10379 * WorkArea.[Ch]: remove figinset_canvas cruft.
10381 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10383 * lyxtextclass.C (operator): add one item cache optimization.
10385 * bufferlist.h: doxy changes
10387 * bufferlist.C: ws changes
10389 * DepTable.[Ch] (ext_exist): place const in the right spot.
10391 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10393 (workAreaExpose): call resizeInsets when the with BufferView changes.
10394 (Dispatch): adjust for protectedBlank removal
10395 (specialChar): call updateInset if the insert went ok.
10397 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10398 specialChar instead.
10400 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10402 * BufferView.h: doxy change
10404 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10406 * lyxtextclass.C (operator[]): remove non-const version
10407 (defaultLayout): remove non-const version
10409 2002-03-12 Juergen Vigna <jug@sad.it>
10411 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10412 did resize the LyXText too.
10414 * buffer.C (readLyXformat2): set layout information on newly allocated
10417 * tabular.C (OldFormatRead): set layout information on the paragraph.
10419 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10421 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10423 2002-03-11 Juergen Vigna <jug@sad.it>
10425 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10427 (resizeCurrentBuffer): force also the insets to resize themselfes.
10428 (moveCursorUpdate): fixed up for InsetText.
10430 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10433 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10434 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10435 value of Dialogs::tooltipsEnabled().
10436 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10438 2002-03-08 Juergen Vigna <jug@sad.it>
10440 * BufferView_pimpl.C (updateInset): update inset inside inset also
10441 if it isn't inside theLockingInset().
10443 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10445 * buffer.C (asciiParagraph): redo some of the word and line length
10447 (getLists): look for Caption instead of caption.
10449 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10451 * buffer.C (Buffer): initialize niceFile to true
10453 (makeLinuxDocFile):
10454 (makeDocBookFile): make sure niceFile is true on exit
10456 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10458 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10460 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10462 * LyXSendto.C: remove.
10463 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10464 * lyx_gui.C: remove now-redundant comment.
10465 * ColorHandler.h: remove forward declaration of class WorkArea.
10466 * lyxfunc.C: remove #include "WorkArea.h".
10468 2002-03-07 Juergen Vigna <jug@sad.it>
10470 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10471 got moved away with the DEPM and also set the inset_owner always
10472 right which before could have been omitted.
10474 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10476 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10477 wanted layout is not found.
10479 2002-03-07 Juergen Vigna <jug@sad.it>
10481 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10483 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10485 * paragraph.C (breakParagraph): use default layout not layout of
10487 (Paragraph): clear ParagraphParameters.
10489 2002-03-06 Juergen Vigna <jug@sad.it>
10491 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10492 otherwise it would not be a valid lenght. Fixed a special case in
10493 the minipage compatibility read where we end the document with a
10496 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10497 was set as it could be 0 for InsetTexts first entry.
10499 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10501 * paragraph.C (writeFile): if layout is empty write out
10502 defaultLayoutName().
10504 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10505 file without named layout we set layout to defaultLayoutName().
10507 2002-03-06 Juergen Vigna <jug@sad.it>
10509 * CutAndPaste.C (copySelection): set layout for new paragraph.
10511 * text.C (prepareToPrint): leave ERT inset left aligned
10512 (leftMargin): don't indent paragraphs inside ERT insets
10514 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10516 * paragraph.C (breakParagraph): dont call clear do the work manually
10518 * paragraph.[Ch] (clear): remove function
10520 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10522 * paragraph.C (Paragraph): dont call clear, the work has already
10525 * lyxtextclass.C (operator): assert if n is empty
10527 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10528 work manually instead.
10530 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10532 * BufferView_pimpl.C: protect selectionLost against text == 0
10534 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10536 * text.C (breakParagraph): fix a setting layout to '0' problem.
10538 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10540 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10541 final location of file, for the included files, and graphics.
10543 2002-03-05 Juergen Vigna <jug@sad.it>
10545 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10547 2002-03-04 Juergen Vigna <jug@sad.it>
10549 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10551 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10552 last column of multicolumn cells.
10553 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10555 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10557 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10558 file if it doesn't go to a temporary file.
10560 * buffer.C (sgmlOpenTag):
10561 (sgmlCloseTag): remove extra newline insertion.
10563 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10565 * text.C (getRowNearY): comment out debug msg
10567 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10569 * text2.C: first -> first_y
10571 * text.C (getRowNearY): add some attemts at a possible
10572 optimization, not working.
10574 * tabular.[Ch]: add BufferParams to several function so that newly
10575 created paragraph can be initialized to he default layotu for the
10578 * tabular-old.C (ReadOld): add buf->params to call of Init
10580 * screen.C: rename text->first to text->first_y
10582 * paragraph.C (breakParagraph): always set layout in the broken
10585 * lyxtextclass.C (Read): remove lowercase
10588 (delete_layout): ditto
10590 * lyxtext.h: rename first -> first_y
10592 * lyxlayout.C (Read): remove lowercase
10595 (obsoleted_by): ditto
10597 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10599 * buffer.C (insertErtContents): add params are to InsetERT
10600 (parseSingleLyXformat2Token): add code to check if a paragraphs
10601 layout really exist.
10602 (parseSingleLyXformat2Token): add params to several inset
10604 (asciiParagraph): remove lowercase, do the layout comparisons with
10607 * BufferView_pimpl.C (cursorNext): first -> first_y
10608 (resizeCurrentBuffer): first -> first_y
10609 (updateScrollbar): first -> first_y
10610 (scrollCB): first -> first_y
10611 (workAreaMotionNotify): first -> first_y
10612 (workAreaButtonPress): first -> first_y
10613 (checkInsetHit): first -> first_y
10614 (cursorPrevious): first -> first_y
10615 (cursorNext): first -> first_y
10616 (Dispatch): add buffer_->params to severl inset contructors
10618 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10620 * lyxlayout.C (Read): remove some debug info that I forgot.
10622 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10623 clean up the code slightly.
10624 (makeLinuxDocFile): ditto
10625 (makeDocBookFile): ditto
10627 * text2.C: layout as string
10629 * text.C: layout as string
10631 * paragraph_pimpl.C: layout as string
10633 * paragraph.[Ch]: layout as string
10635 * lyxtextclasslist.[Ch]: layout as string
10637 * lyxtextclass.[Ch]: layout as string
10639 * lyxtext.h: layout as string
10641 * lyxlayout.[Ch]: layout as string
10643 * lyx_cb.C: layout as string
10645 * bufferview_funcs.C: layout as string
10647 * bufferparams.C: layout as string
10649 * buffer.C: layout as string
10651 * LyXView.[Ch]: layout as string
10653 * LaTeXFeatures.[Ch]: layout as string
10655 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10657 * BufferView_pimpl.C: change current_layout to string, remove
10662 (workAreaButtonRelease): layout as string
10664 * BufferView2.C (unlockInset): adjust
10666 * vspace.C (asLatexCommand): use an explict temp variable.
10668 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10670 * Makefile.am: use FRONTEND_*
10672 2002-03-01 Juergen Vigna <jug@sad.it>
10674 * tabular.C (SetWidthOfMulticolCell): changed to something better
10675 I hope but still work in progress.
10676 (recalculateMulticolumnsOfColumn): renamed function from
10677 recalculateMulticolCells as it is more appropriate now.
10678 (SetWidthOfCell): calculate multicols better.
10680 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10682 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10684 * lyxfunc.C (processKeySym): print sequence also if it is
10685 `deleted' (complete)
10687 * kbsequence.C (print): print sequence even if it is deleted
10688 (complete would be a better word, actually).
10690 * lyxfunc.C (dispatch): print complete options after a prefix key
10692 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10694 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10696 * text2.C (setCharFont): eliminate setCharFont code duplication.
10698 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10700 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10701 LFUN_TABULAR_FEATURE (bug #177)
10703 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10705 * Makefile.am: remove figure.h
10707 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10709 * Bufferview_pimpl.C:
10721 * text2.C: remove #include "lyx_gui_misc.h".
10723 * LaTeX.C: added #include <cstdio>
10725 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10727 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10728 that the paragraph following this one can have.
10730 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10732 * vspace.C (asLatexCommand): fix bogus gcc warning
10734 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10736 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10738 * text2.C (setLayout): get rid of redundant code
10740 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10742 * text2.C (incDepth): make sure depth cannot be increased beyond
10745 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10747 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10748 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10750 * PainterBase.h (image):
10751 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10752 a LyXImage const *.
10754 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10758 * BufferView_pimpl.C:
10759 * BufferView_pimpl.h:
10779 * sp_spell.C: remove fig inset, and the crap house of
10780 cards that follows it
10782 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10787 * os2_errortable.h:
10788 * nt_defines.h: move .h into support/
10790 * vms_defines.h: remove
10792 * WorkArea.C: add space in debug output
10796 * buffer.C: add WITH_WARNINGS
10800 * bufferlist.C: s/retrive/retrieve/, add docs
10809 * chset.C: add docs
10811 * lyxgui.C: add ID to X error handler
10813 * lyxtestclass.c: fix typo
10815 2002-02-26 Juergen Vigna <jug@sad.it>
10817 * tabular_funcs.C (write_attribute): changed so that some default
10818 attributes are not written at all.
10819 (getTokenValue): set default values before trying to read the
10820 value so we have the return value always set as default if we don't
10821 find the token we search for.
10823 * tabular.C (Write): write bools as bools not as strings!
10825 2002-02-22 Juergen Vigna <jug@sad.it>
10827 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10828 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10830 * text.C (leftMargin): don't add an indent for paragraphs inside
10831 tabular cells (fix #208).
10833 2002-02-21 José Matos <jamatos@fep.up.pt>
10835 * tabular.C (docBook): fixed support for long tables.
10837 2002-02-20 Juergen Vigna <jug@sad.it>
10839 * text2.C (getFont): get the drawing font of the Inset if this
10840 paragraph is inside an inset (only important for InsetERT for now).
10842 * buffer.C (insertErtContents): use new lanugage params in ERT
10845 * CutAndPaste.C: commenting out seemingly uneeded code.
10847 2002-02-19 Allan Rae <rae@lyx.org>
10849 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10850 Iterators might be simple to use but they also get invalidated.
10851 (removeAutoInsets): renamed saved cursor tracking variables and added
10852 some comments to clarify what everything does.
10854 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10861 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10862 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10865 * vc-backend.h: remove #include "support/syscall.h"
10869 * converter.C: rearrange #includes in Lars' approved fashion.
10871 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10872 forward declare class Timeout in the header file.
10874 * XFormsView.C: changes due to the above.
10876 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10877 similar to LyXView.
10879 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10880 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10882 2002-02-18 José Matos <jamatos@fep.up.pt>
10884 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10887 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10889 * a lot of small ws changes
10890 * add a lot of using std::XXX
10891 * use std construcs some places where approp.
10892 * use some exisint stuff from lyxfunctional where approp.
10893 * Make file changes to use partial linking (lets test this now...)
10895 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10899 remove #include "support/syscontr.h" as it's redundant. Always has been.
10907 change Systemcalls::System to Systemcalls::Wait and
10908 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10909 No change of functionality, just reflects the stripped down Systemcalls
10912 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10914 * debug.[Ch]: add a GRAPHICS type to the enum.
10916 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10918 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10920 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10923 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10925 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10926 match the changes below.
10928 * text2.C (toggleInset): if there is not editable inset at cursor
10929 position, try to see if cursor is _inside_ a collapsable inset
10932 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10934 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10935 document menu has a nice checkbox
10937 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10939 * lyxlength.C (asLatexString): change PW to output as percent of
10942 * lengthcommon.C: change '%' to 't%'
10944 * lyxfunc.C (dispatch): a few comments from Martin
10946 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10950 * BufferView_pimpl.h:
10951 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10954 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10956 * vspace.C (inPixels): fix compiler warning
10958 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10960 * lyxfunc.C (getStatus): fix status message for disabled commands.
10962 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10964 * BufferView_pimpl.C: fix crash on close buffer
10965 during selection (#227)
10967 2002-01-27 Herbert Voss <voss@lyx.org>
10969 * buffer.C: link old Figure to new graphic inset
10971 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10973 * FontLoader.C (getFontinfo): Change the latex font names in order
10974 to match the names of type1inst.
10976 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10978 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10980 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10981 (extchanged): ditto
10983 (remove_files_with_extension): ditto
10984 (remove_file): ditto
10987 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10988 document is smaller than the work area height. Do not initialize
10989 static variables to 0.
10991 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10993 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10995 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10996 LFUN_LAYOUT_PARAGRAPHS.
10998 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10999 tabular. It is possible to provide a possible cell, which will
11000 typically be the actcell from the corresponding insettabular
11002 * lyxfunc.C (getStatus): small cleanup; disable
11003 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11006 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11008 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11010 * paragraph.C (startTeXParParams):
11011 (endTeXParParams): new methods. The LaTeX code to
11012 start/end paragraph formatting
11013 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11014 empty (fixes bug #200)
11016 * vspace.C (inPixels): adapt to the change below
11017 (inPixels): [later] more cleanups (remove unused variables)
11019 * lyxlength.C (inPixels): change to use a width and a height as
11022 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11024 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11025 Replaced with \paperwidth
11027 * DepTable.C (insert): add std:: qualifier
11029 2002-01-18 Allan Rae <rae@lyx.org>
11031 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11034 * text.C (drawInset): Turned out I didn't know enough about how
11035 rebreaking worked. This fixes most of the redraw problems. I see
11036 an occasional cursor trail when a line is broken now and the cursor
11037 placement can seem out by a few pixels also after a rebreak.
11039 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11041 * buffer.C (parseSingleLyXformat2Token): update because minipage
11042 width is now a LyXLength
11044 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11046 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11049 2002-01-17 Juergen Vigna <jug@sad.it>
11051 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11053 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11054 is set correctly and the inset is updated correctly.
11056 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11058 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11059 the beginning of the loop.
11061 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11063 * lyxrc.C: improve help for use_scalable_fonts
11065 2002-01-17 Allan Rae <rae@lyx.org>
11067 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11069 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11071 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11072 make sure to set their inset_owner to the right value (bug #171)
11074 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11077 * DepTable.C: Implement mtime checking to reduce time spent doing
11080 2002-01-16 Juergen Vigna <jug@sad.it>
11082 * tabular.C (GetAdditionalHeight): one of error fixed.
11084 * lyxrc.C (output): small fix in writing use_pspell.
11086 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11088 * sp_base.h: #include LString.h
11090 2002-01-16 Allan Rae <rae@lyx.org>
11092 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11093 Can someone check this please?
11095 * text.C (drawInset): It was possible that p.row would be removed by
11096 breakAgainOneRow upsetting a few other settings. There may be another
11097 small tweak possible by setting need_break_row = 0 when p.row has been
11098 removed but I don't know enough about the logic here.
11100 2002-01-15 Allan Rae <rae@lyx.org>
11102 * text.C (insertChar): removed conditional truism.
11104 * BufferView2.C (removeAutoInsets): More tweaks.
11105 cur_par_prev could be a stray pointer. Check for trailing empty line
11106 in case last line was cur_par and only had an error inset on it.
11108 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11110 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11113 * vc-backend.C (most methods):
11114 * exporter.C (Export):
11115 * converter.C (convert):
11117 * LyXSendto.C (SendtoApplyCB):
11118 * lyxfunc.C (dispatch):
11122 * lyx_cb.C (AutoSave):
11124 * BufferView_pimpl.C (MenuInsertLyXFile):
11125 * buffer.C (runChktex): use Buffer::filePath().
11127 * buffer.h: rename filename to filename_; rename filepath to
11128 filepath_ and make it private
11129 (filePath): new method
11131 * buffer.C (writeFile): use fileName()
11134 * lyx_main.C (init): fix starting of LyX when the binary is a
11135 link from so,ewhere else.
11137 * minibuffer.C: include <cctype> for isprint
11139 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11141 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11142 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11143 name clash with InsetCollapsable's width function.
11145 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11147 * lastfiles.C: include <iterator>
11149 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11151 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11154 * buffer.C (makeLaTeXFile): ditto.
11155 Also make loop operation more transparent.
11157 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11159 * ToolbarDefaults.C: remove trailing comma closing namespace.
11161 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11163 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11166 * trans.C (Load): comment out unused variable, allowed.
11168 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11170 * minibuffer.[Ch] (append_char): new method to recieve input from the
11171 drop-down completion browser. If a key was pressed, then recieve this
11172 char and append it to the existing string.
11173 (peek_event): modify the positioning data passed to the completion
11174 browser so that it can be placed above the minibuffer rather than below.
11175 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11177 * LyXAction.C (init): alloe error-next for readonly documents.
11179 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11182 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11184 * bufferlist.C (readFile): create the buffer _after_ checking that
11187 * lyxfunc.C (verboseDispatch): fix handling of arguments
11189 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11191 * lyxrc.C: use string::erase() instead of initializing to "".
11194 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11196 * BufferView_pimpl.h:
11197 * BufferView_pimpl.C:
11200 * text2.C: tell X when we have made a selection for copying
11202 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11204 * BufferView_pimpl.C (MenuInsertLyXFile):
11205 * lyxfunc.C (menuNew):
11207 (doImport): add shortcuts to directory buttons
11209 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11212 * lyxfunc.C (setStatusMessage):
11213 (getStatusMessage): new methods
11214 (getStatus):use setStatusMessage instead of setErrorMessage
11215 (dispatch): when function is disabled, set error message here
11216 [instead of in getStatus previously]
11218 * BufferView_pimpl.C (workAreaButtonRelease): update
11219 toolbar/menubar here too.
11221 2002-01-13 Allan Rae <rae@lyx.org>
11223 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11224 Now seems indestructible. Remaining task is to audit all other
11225 code affected by deleteEmptyParagraphMechanism. One small quirk
11226 left is that an empty document with an error in the preamble can
11227 be made to report an error but no error box appears. I don't know
11229 (removeAutoInsets): Improved comments.
11231 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11234 * Thesaurus.C: update for Aiksaurus 0.14
11236 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11238 * text2.C (firstParagraph): removed member function, all uses
11239 replaces with ownerParagraph
11240 (redoParagraphs): here
11241 (updateInset): here
11242 (toggleAppendix): here
11243 * BufferView2.C (insertErrors): here
11244 (setCursorFromRow): here
11246 2002-01-13 Allan Rae <rae@lyx.org>
11248 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11249 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11250 There is still a way to segfault this although you may have to do this
11251 multiple times: Have an InsetERT with an unknown command in it.
11252 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11253 <down-arrow>, <Enter> again, View->DVI, BANG!
11255 * text2.C (setCursor):
11256 (deleteEmptyParagraphMechanism):
11257 * lyxtext.h (setCursor):
11258 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11259 Making use of the return value may help fix other bugs.
11261 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11263 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11265 * LyXView.C (updateMenubar): call MenuBar::update here
11266 (updateToolbar): but not here
11267 (showState): do not update toolbar/menubar
11269 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11270 should need to care about that.
11272 * lyxfunc.C (verboseDispatch): simplify a bit
11273 (getStatus): have a version which takes a pseudoaction, and
11274 another which requires a (kb_action,string).
11276 * LyXAction.C (retrieveActionArg): make it work also when action
11277 is not a pseudo-action.
11278 (getActionName): simplify a bit
11281 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11283 * lyxfunc.C (verboseDispatch): new families of methods with
11284 several ways to specify a command and a bool to indicate whether
11285 the command name and shortcut should be displayed in minibuffer
11286 (eventually, we could extend that to a finer bitmask like
11287 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11288 (dispatch): the pristine dispatch command which just, well,
11289 dispatchs! Note it still sets its result to minibuffer; I'm not
11292 * lyxfunc.h: remove setHintMessage
11294 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11296 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11298 * BufferView_pimpl.C (specialChar): delete new inset if we have
11299 not been able to insert it.
11301 * kbmap.C: revert to using int instead of kb_action, since all we
11302 are dealing with is pseudo-actions.
11304 * LyXAction.C (searchActionArg): change to return int instead of
11305 kb_action, since the result is a pseudoaction.
11307 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11309 * buffer.C (insertErtContents): Fix (partially) the font bug.
11311 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11313 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11314 as the other one is broken on my machine!
11316 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11319 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11321 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11323 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11324 reflect their actual use. Provide compatibility code for older lyxrc
11327 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11329 change names of popup font variables in line with the changes to lyxrc.C
11331 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11333 * buffer.C (asciiParagraph): avoid outputing a word twice after
11336 * lyxrc.C (getDescription): document that document_path and
11337 template_path can be empty.
11339 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11341 * LaTeXFeatures.C (getMacros):
11342 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11344 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11346 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11348 (getPackages): rename feature "floats" to "float". Use an array to
11349 iterate over 'simple' features (i.e. just a \usepackage). Add
11350 handling of "amsmath" (renamed from "amsstyle").
11352 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11354 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11357 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11359 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11360 FuncStaus::FuncStatus & FuncStaus::some_method().
11362 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11364 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11365 of the func_satus stuff. Edited and massaged in various ways by
11368 * lyxfunc.C (getStatus): use FuncStatus
11370 2002-01-08 Juergen Vigna <jug@sad.it>
11372 * text.C (nextBreakPoint): use function Inset::isChar().
11374 * paragraph.C (TeXOnePar): use function
11375 Inset::forceDefaultParagraphs.
11377 * buffer.C (latexParagraphs): use function
11378 Inset::forceDefaultParagraphs.
11380 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11382 * lyx_gui.C (init): set the style of the menu popups to
11383 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11385 2002-01-07 Juergen Vigna <jug@sad.it>
11387 * text.C (setHeightOfRow): small fix
11388 (prepareToPrint): don't look at alignment if we don't have the place
11391 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11393 * box.C: New file. Move the Box methods and functions out of box.h,
11394 following Lars' suggestion.
11396 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11398 * box.h: #include "support/LOstream.h", needed for inlined function.
11401 * lyxtextclasslist.C: added some using std declarations.
11403 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11405 * box.h: make signed dimensions to allow insets wider than
11406 the screen (bug #162)
11408 * BufferView_pimpl.C: add some insetHit debug
11410 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11412 * vc-backend.C: add FIXME
11414 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11416 * lyxfunc.C (getStatus): enable code for showing math font status
11419 2002-01-07 Juergen Vigna <jug@sad.it>
11421 * text.C (nextBreakPoint): removed debug output not needed anymore.
11423 2002-01-06 Juergen Vigna <jug@sad.it>
11425 * text.C (nextBreakPoint): fixed up this function we had this bug
11426 since ever but now hopefully we break row better.
11427 (insertChar): we have to check if an inset is the next char as it
11428 could now happen that a large inset is causing a break.
11430 2002-01-05 Juergen Vigna <jug@sad.it>
11432 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11433 if it doesn't like to be drawed.
11435 2002-01-04 Juergen Vigna <jug@sad.it>
11437 * BufferView2.C (lockInset): forgot to set a cursor.
11439 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11441 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11443 * FormMathsPanel.C:
11446 * form_maths_panel.C:
11447 * form_maths_panel.h:
11448 * form_maths_panel.fd: implemented sub- and super- buttons in math
11451 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11452 (or ^ space) to be used as in TeX (req'd by André).
11454 * lyxfunc.C: Allow ^ and _ again to be used both as
11455 super/subscript (mathed) and as themselves (in text).
11457 2002-01-03 Allan Rae <rae@lyx.org>
11459 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11460 "LyX" or the filename of the current buffer if it has one. This is a
11461 modified form of John Levon's patch.
11463 * XFormsView.C (setWindowTitle): also set icon title.
11465 * LyXView.h (setWindowTitle): signature changed.
11466 * XFormsView.h (setWindowTitle): ditto.
11468 2002-01-02 Juergen Vigna <jug@sad.it>
11470 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11472 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11474 * screen.C (topCursorVisible): introduce a temp var for
11475 text->cursor.row(), handle the case where this row is null. (kindo
11478 * text2.C (setCursor): add a couple of asserts.
11480 * paragraph.h (inset_iterator): add -> operator
11482 * paragraph.[Ch] (autoDeleteInsets): remove member function
11484 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11485 cursor pos correctly and handle inset deletion by itself.
11486 (insertErrors): move iterator declaration out of for expression
11488 * lyxtextclass.C: add <algorithm>
11490 * Makefile.am: added the new files to sources, removed layout.C
11492 * layout.C: removed file
11494 * layout.h: remove LYX_DUMMY_LAYOUT
11496 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11500 * lyxtextclass.[Ch]:
11501 * lyxtextclasslist.[Ch]: new files
11503 * include order changes to a lot of files, also changes because of
11506 2001-12-27 Juergen Vigna <jug@sad.it>
11508 * buffer.C (asciiParagraph): more fixes.
11510 * tabular.C (ascii): make ascii export support export of only the
11511 data separated by a column-delimiter.
11512 (ascii): better support for ascii export.
11514 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11516 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11518 * tabular_funcs.C: use a "using std::getline" instead of the
11519 previous fix from Angus (necessary for cxx + lyxstring)
11521 2001-12-24 Juergen Vigna <jug@sad.it>
11523 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11525 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11526 problems. First check a minipage also if we have some ert-contents
11527 (not only on par->size(), second set the right depth of the paragraph
11528 on the relink to the root-paragraph-list!
11530 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11531 which then did not anymore update the main paragraphs on undo/redo!
11533 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11535 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11536 code. Support all font-changing funcs (even those which are not in
11537 menu currently). Support for reporting font settings in
11538 mathed (disabled until Andre provides a function on mathed's side).
11540 * func_status.h (toggle): small helper function to set toggle
11543 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11545 * tabular_funcs.C: getline -> std::getline
11547 2001-12-21 Juergen Vigna <jug@sad.it>
11549 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11550 accessed and could be 0 (I couldn't generate this but it seems
11553 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11555 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11556 * tabular_funcs.h: here and include iosfwd
11558 2001-12-20 Juergen Vigna <jug@sad.it>
11560 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11561 inside inset but undo_par was.
11563 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11565 * Thesaurus.C: always include <config.h> in sources.
11569 * box.h: do not include <config.h> in header files
11571 * text.C (paintLastRow): remove unused variable
11573 * text.C (transformChar):
11575 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11577 * Painter.C (text):
11578 * font.C (width): rewrite to use uppercase() instead of
11581 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11583 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11585 * lyxfind.C: clean up of find failure position change
11587 2001-12-20 Juergen Vigna <jug@sad.it>
11589 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11591 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11592 (TeXRow): added to LaTeX a single tabular row.
11593 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11594 (Latex): simplified and finally good LT-h/f support.
11595 (various_functions): just small adaptions for LT-h/f support.
11597 * tabular_funcs.[hC]: added and moved here all not classfunctions
11600 2001-12-19 Juergen Vigna <jug@sad.it>
11602 * tabular.[Ch]: better support for longtabular options (not finished
11605 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11607 * text.C (paintLastRow): use the label font instead of the font of
11608 the last character to compute the size of *_BOX. This makes more
11609 sense and avoids a crash with empty paragraphs.
11610 Use Painter::rectangle to draw EMPTY_BOX.
11612 2001-12-19 Juergen Vigna <jug@sad.it>
11614 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11615 the paragraphs if the replaced paragraph is not the first one!
11616 Tried to delete not used paragraphs but does not work yet so for
11617 now it's inside #ifdef's and by default off!
11619 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11621 * MenuBackend.C: include "lyx_main.h" instead of declaring
11622 lastfiles (actually was declared as LastFiles* instead of a
11625 2001-12-17 Juergen Vigna <jug@sad.it>
11627 * tabular.C (AppendColumn): applied John's fix
11629 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11633 * BufferView_pimpl.h:
11634 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11637 * box.h: new start of class for above
11639 * lyxfunc.C: ignore space-only minibuffer dispatches.
11640 Show the command name when it doesn't exist
11642 * minibuffer.C: don't add empty lines to the history
11644 * minibuffer.C: add a space on dropdown completion
11646 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11648 * text.C: fix line above/below drawing in insets
11650 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11652 * lyxlength.C (LyXLength): Initialize private variables.
11654 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11656 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11657 when inserting error insets.
11659 2001-12-13 Juergen Vigna <jug@sad.it>
11661 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11662 actually sometimes the before-paragraph.
11663 (setUndo): don't clear the redostack if we're not actually undoing!
11665 2001-12-06 Juergen Vigna <jug@sad.it>
11667 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11668 and fixed redoing of main paragraph, so we can use it now ;)
11670 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11672 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11674 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11677 2001-12-13 André Pönitz <poenitz@gmx.net>
11680 * undo_func.C: minor cleanup
11682 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11684 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11685 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11686 font in urw-fonts package which is marked as -urw-fontspecific and
11687 does not work (incidentally, changing the encoding in the
11688 fonts.dir of this package to -adobe-fontspecific fixes the
11691 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11692 is a crash when undoing first paragraph (Juergen, please take a
11693 look). THis does not mean the undo fix is wrong, just that it
11696 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11697 the (Paragraph*) version when needed instead of duplicating the
11700 * text.C (workWidth): use Inset::parOwner to find out where the
11701 inset has been inserted. This is a huge performance gain for large
11702 documents with lots of insets. If Inset::parOwner is not set, fall
11703 back on the brute force method
11705 * paragraph_pimpl.C (insertInset):
11706 * paragraph.C (Paragraph):
11707 (cutIntoMinibuffer): set parOwner of insets when
11708 inserting/removing them
11710 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11712 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11718 * mathed/formulabase.C:
11719 * mathed/math_cursor.[Ch]:
11720 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11723 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11725 * lyxlength.[Ch] (operator!=): new function
11727 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11729 * text.C (workWidth): use Inset::parOwner to find out where the
11730 inset has been inserted. This is a huge performance gain for large
11731 documents with lots of insets. If Inset::parOwner is not set, fall
11732 back on the brute force method
11734 * paragraph_pimpl.C (insertInset):
11735 * paragraph.C (Paragraph):
11736 (cutIntoMinibuffer): set parOwner of insets when
11737 inserting/removing them
11739 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11741 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11743 * tabular-old.C (getTokenValue):
11744 * tabular.C (getTokenValue):
11745 (write_attribute): new versions for LyXLength
11746 (everywhere): adjust the use of widths
11748 * tabular.h: change the type of widths from string to LyXLength
11750 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11752 * paragraph.C: fixed missing line number count when exporting
11753 Environments to LaTeX file
11755 * buffer.C: added informational message for checking line numbers.
11757 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11759 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11760 paragraph, do the 'double space' part, but not the 'empty
11763 * text.C (workWidth): small optimization
11764 (getLengthMarkerHeight): use minimal size for negative lengths.
11766 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11768 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11770 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11772 2001-12-11 André Pönitz <poenitz@gmx.net>
11775 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11777 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11779 * text2.C: keep selection on a setFont()
11781 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11783 * lyx_cb.C: another bv->text misuse, from insert label
11785 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11788 * kbsequence.C: re-instate nmodifier mask
11790 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11792 * lyx_main.h: make lyxGUI private.
11794 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11796 * lyxfind.C: place the cursor correctly on failed search
11798 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11800 * text.C (getLengthMarkerHeight): for small heights, the arrows
11801 are not always on top/bottom of the text
11802 (drawLengthMarker): smaller arrows; take the left margin in
11803 account; draw also vfills.
11805 (paintLastRow): remove special code for vfill and standard spaces,
11806 since everything is handled in drawLengthMarker now.
11808 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11810 * buffer.C (insertErtContents): try to handle font and language
11811 interaction a bit better.g
11813 * ColorHandler.C (updateColor): change the hash to cover the whole
11814 LColor enum, ws cleanup
11815 (getGCLinepars): ditto
11816 (getGCLinepars): only lookup in the linecache once.
11818 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11820 * iterators.C (operator++): Make the iterator more robust
11822 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11824 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11826 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11829 * text.C: better added space drawing
11831 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11834 * BufferView2.C: fix layout combo update on inset unlock
11836 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11838 * Makefile.am: don't compile unused files
11840 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11844 * LyXAction.C: remove old LFUN_LAYOUTNO
11846 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11848 * paragraph_pimpl.h:
11849 * paragraph_pimpl.C: isTextAt() doesn't need font param
11851 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11854 * lyxlex.C: little cleanup
11856 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11858 * BufferView_pimpl.C: fix insertAscii for insets
11860 2001-12-05 Juergen Vigna <jug@sad.it>
11862 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11863 set the right font on the "multi" paragraph paste!
11865 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11871 * lyxlength.C: remove out-commented code.
11873 * BufferView_pimpl:
11887 * vc-backend.C: change "while(" to "while ("
11889 * lyxlength.[Ch]: add zero function to check if length is zero or
11891 * lyxgluelength.C: use it
11893 2001-12-05 Allan Rae <rae@lyx.org>
11895 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11896 Works for 2.95.3, from what I understand of Garst's reports this should
11897 work for other g++ versions. We're screwed if the abs(int) definition
11898 changed between bugfix releases of gcc.
11900 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11902 * text.C: fix chapter label offset !
11904 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11907 * text.C: fix hfill at end of line, clean up
11909 2001-12-04 Juergen Vigna <jug@sad.it>
11911 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11912 that we force an update of the inset and it's owners if neccessary.
11914 2001-12-03 Juergen Vigna <jug@sad.it>
11916 * text.C (rowLast): simplified code
11918 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11920 * lyxfunc.C: fix show options on timeout
11922 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11924 * screen.C (topCursorVisible): scroll half a page when the cursor
11925 reached top of bottom of screen
11927 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11929 * minibuffer.C: deactivate on loss of focus
11931 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11933 * vspace.[Ch] (operator!=): add operator.
11935 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11937 * BufferView_pimpl.C: refuse to open an inset when
11938 there's a selection.
11940 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11942 * BufferView_pimpl.C: allow to click on RHS of full row insets
11944 2001-11-30 Juergen Vigna <jug@sad.it>
11946 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11947 insets for undo reasons.
11949 2001-11-28 André Pönitz <poenitz@gmx.net>
11951 * vspace.[Ch]: cosmetical changes
11953 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11963 * kbsequence.C: part re-write of old kb code
11966 * WorkArea.C: remove Lgb_bug_find_hack
11968 2001-11-30 José Matos <jamatos@fep.up.pt>
11970 * buffer.C (makeDocBookFile): add a comment to point a hack.
11971 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11972 Fixed a double write of labels.
11974 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11977 * LaTeX.h Fixed bug in LaTeX class where it would not
11978 re-run latex if no depfiles were changed, but the .dvi was removed.
11980 2001-11-28 André Pönitz <poenitz@gmx.net>
11982 * all the files from the change on 2001/11/26:
11983 use lyx::layout_type instead of LyXTextClass::size_type
11984 use lyx::textclass_type instead of LyXTextClassList::size_type
11986 2001-11-29 Juergen Vigna <jug@sad.it>
11988 * text.C: added support for paragraph::isFreeSpacing()
11990 * buffer.C: same as above
11992 * paragraph.h: inserted isFreeSpacing() function to enable
11993 FreeSpacing inside InsetERT.
11995 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11996 of the paragraph's in the cut/copy buffer to 0!
11998 * text2.C (removeRow): remove the assert as it can!
12000 * lyxtext.h: added helper function firstRow returning firstrow and
12001 made firstrow private again.
12003 * BufferView2.C (lockInset): don't relock if we're already locked!
12005 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12006 the only paragraph.
12007 (removeRow): added Assert::(firstrow)
12009 * debug.C: forgot to add INSETTEXT here.
12011 2001-11-28 Juergen Vigna <jug@sad.it>
12013 * sp_spell.C (initialize): changed error text to more general
12014 spellchecker command use (not only ispell!)
12016 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12018 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12020 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12022 * vspace.C: initialise lyxgluelength on failure
12024 2001-11-28 Allan Rae <rae@lyx.org>
12026 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12027 declaration & definition that looks like a function declaration.
12029 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12031 * BufferView2.C (copy):
12032 (copyEnvironment): do not clear the selection when doing a copy.
12034 * text.C (paintFirstRow): compilation fix
12036 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12038 * tabular.C (Latex): correct line count when writing latex.
12040 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12042 * paragraph_pimpl.h:
12043 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12046 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12050 * LColor.C: change vfillline->added_space
12052 * text.C: add markers and text for added space
12054 * vspace.C: fix comment
12056 2001-11-28 André Pönitz <poenitz@gmx.net>
12058 * paragraph.C: whitespace changes
12059 * all the other files from the change on 2001/11/26:
12060 change *::pos_type into lyx::pos_type
12062 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12064 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12065 language of the document when inserting error insets.
12067 2001-11-26 André Pönitz <poenitz@gmx.net>
12069 * BufferView_pimpl.[Ch]:
12077 * paragraph_pimpl.[Ch]:
12080 * text2.C: reduce header dependencies, introduce type for positions
12082 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12084 * <various>: change to use Alert.h
12086 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12088 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12089 when encountering an unknown token.
12090 (readLyXformat2): Show an error message if there were unknown tokens.
12092 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12095 * BufferView_pimpl.C:
12099 * text2.C: use par->isInset()
12101 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12103 * paragraph_pimpl.h:
12104 * paragraph_pimpl.C: cleanup
12106 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12108 * text2.C (removeRow):
12109 * text.C (setHeightOfRow): remove useless (and costly) call to
12112 2001-11-20 Allan Rae <rae@lyx.org>
12114 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12115 Now need Inset*::checkInsertChar() to return true for appropriate
12116 cases so that the characters in the minibuffer will actually be
12119 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12121 * text.C: change the order of the includes.
12122 (workWidth): initialize it at once.
12123 (workWidth): make maxw unsigned
12124 (setHeightOfRow): remove unused variable (inset)
12125 (selectSelectedWord): remove unused variable (inset)
12126 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12128 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12130 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12131 server is not running.
12133 (closeConnection): add debug info when server is disabled.
12135 * ColorHandler.C (getGCForeground): send debug message to GUI
12138 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12140 * kbmap.C (bind): modify because return conventions of
12141 kb_sequence::parse have changed.
12143 * kbsequence.C (parse): only ignore spaces and not any stupid
12144 control character. This avoids tests like s[i] <= ' ', which are
12145 guaranteed to fail with 8bit characters and signed chars.
12146 Change return code to string::npos when there have been no error
12147 (0 was a bad idea when error is at first character)
12149 2001-11-14 José Matos <jamatos@fep.up.pt>
12152 * buffer.C (simpleDocBookOnePar): removed unused argument.
12154 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12156 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12157 insets which are part of a word. Paragraph::isLetter takes care of
12158 that now. Use Paragraph::isInset to identify insets.
12159 (selectSelectedWord): do not test for hyphenation break.
12161 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12162 that protected spaces are considered as spaces.
12164 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12167 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12170 * lyxserver.C: fix it. and small cleanup.
12172 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12174 * BufferView_pimpl.C: use inline helpers
12177 * LaTeXFeatures.C: fix typos
12180 * Spacing.C: move spacing_string into class
12182 * ToolbarDefaults.C: move stuff into namespace anon
12184 * layout.h: update enum
12186 * lyxfunc.C: use better debug
12188 * minibuffer.h: fix typo
12192 * WorkArea.C: add and use Debug::WORKAREA
12196 * text2.C: code re-organisation, inline helpers
12198 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12200 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12201 std::vector.empty().
12203 2001-11-09 Allan Rae <rae@lyx.org>
12205 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12206 '\n's after tables. Tabular and ERT inset work now makes this no
12209 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12212 * minibuffer.C: fix crash, improve drop-down completion
12214 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12217 * lyxserver.C: invalidate fd's when doing endPipe()
12219 2001-11-08 José Matos <jamatos@fep.up.pt>
12221 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12222 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12225 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12227 2001-11-07 José Matos <jamatos@fep.up.pt>
12230 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12233 * buffer.C (sgmlOpenTag):
12234 * buffer.C (sgmlCloseTag): removed debug info.
12236 * buffer.h (sgmlOpenTag):
12237 * buffer.h (sgmlCloseTag): made public.
12239 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12241 * buffer.C (saveParamsAsDefaults):
12242 * lyx_cb.C (MenuLayoutSave): remove
12244 * LyXAction.C (init):
12246 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12248 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12250 * buffer.C (setPaperStuff): removed from here...
12252 * bufferparams.C (setPaperStuff): ... and moved there.
12254 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12258 * XFormsView.C: add support for drop-down completion
12260 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12262 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12265 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12267 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12270 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12272 * lyx_main.C: change ref to known bugs
12274 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12276 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12277 to work around older babel problems.
12279 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12281 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12283 2001-10-24 Juergen Vigna <jug@sad.it>
12285 * tabular-old.C (ReadOld): below variable changes reflected.
12287 * tabular.[Ch]: added ltType struct for longtable header/footer
12288 defines and changed all instances where they are used. Added
12289 future support for double top/bottom rows.
12291 2001-10-24 José Matos <jamatos@fep.up.pt>
12293 * buffer.h (docbookHandleCaption):
12294 * buffer.C (docbookHandleCaption): removed unused function.
12295 (makeDocBookFile): moved docbook supported version to v4.1.
12297 2001-10-24 José Matos <jamatos@fep.up.pt>
12300 * tabular.C (docbookRow): new function to export docbook code of a row.
12301 (DocBook): now honors the longtable flags.
12303 2001-10-23 José Matos <jamatos@fep.up.pt>
12306 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12307 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12309 * buffer.C (makeLinuxDocFile):
12310 (makeDocBookFile): reworked the preamble, more clean, and with
12311 support for lyx defined entities. Changed the document declaration
12312 to be more XML friendly.
12314 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12315 if we need to output XML that should be done with a filter.
12317 2001-10-22 Juergen Vigna <jug@sad.it>
12319 * sp_pspell.h (class PSpell): add alive function needed in the
12320 controller to see if the spellchecker could be started.
12322 2001-10-22 Juergen Vigna <jug@sad.it>
12324 * buffer.C (insertStringAsLines): modify the font for inserting
12325 chars in certain conditions by calling checkInsertChar(font).
12327 2001-10-19 Juergen Vigna <jug@sad.it>
12329 * text.C (workWidth): use getRow instead of wrong algorithm.
12330 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12332 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12337 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12339 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12341 * text.C (workWidth): do not search for the exact row when
12342 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12343 optimization for big documents.
12345 2001-10-18 Juergen Vigna <jug@sad.it>
12347 * text.C (workWidth): new function with added Inset * parameter.
12349 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12351 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12353 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12354 change return type of getColumnNearX.
12357 * text.C (changeRegionCase): use uppercase/lowercase instead of
12360 (rightMargin): simplify code by factoring out the uses of
12365 (appendParagraph): use Paragraph::size_type
12367 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12369 * vspace.C (asLatexString): add a missing break
12371 2001-10-15 Herbert Voss <voss@perce.de>
12373 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12375 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12377 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12380 2001-10-10 André Pönitz <poenitz@gmx.net>
12382 * lyxfunc.C: removed greek_kb_flag.
12384 2001-10-10 Herbert Voss <voss@perce.de>
12386 * lyx_main.C: delete global string help_lyxdir.
12388 2001-10-09 Herbert Voss <voss@perce.de>
12390 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12392 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12394 * lyx_main.C: added global string help_lyxdir.
12396 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12398 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12400 * lyxrc.C (set_font_norm_type): support iso8859-4
12402 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12404 * LaTeX.C (deplog): add another regex for MikTeX
12406 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12408 * lyxrc.C (set_font_norm_type): support iso8859-3
12410 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12412 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12414 * LaTeXFeatures.C: remove special case of french and index
12416 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12417 before \begin{document}). This solves several incompatibilities.
12419 2001-10-03 Garst Reese <reese@isn.net>
12421 * lyx_cb.C: change CheckTex error msg.
12423 2001-10-03 José Matos <jamatos@fep.up.pt>
12425 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12427 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12429 * .cvsignore: update
12431 * lyx_main.C (commandLineVersionInfo): use new style version info.
12433 * buffer.C (writeFile):
12435 (makeLinuxDocFile):
12436 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12438 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12440 * version.h: update to use stuff in version.C
12442 * version.C.in: new file. Contains version information determined
12443 at compile time. This is a merging of version.h and
12446 2001-10-03 Juergen Vigna <jug@sad.it>
12448 * BufferView_pimpl.C (update): don't change "dirty" status in
12451 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12453 * WorkArea.C (c-tor): re-position version string slightly.
12455 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12457 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12458 revert to previous code.
12460 WorkArea.[Ch]: (show, destroySplash): methods removed.
12462 WorkArea.C: rework code so that it's an amalgam of the codes before and
12463 after the splash screen was moved to WorkArea.
12465 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12468 * vspace.C (inPixels):
12471 * buffer.C (insertStringAsLines):
12472 (asciiParagraph): fix types to be large enough
12474 * lyxlex_pimpl.h: change member status from short to int
12476 * layout.h: fix type of endlabeltype
12479 * kbsequence.C (parse): change return type to string::size_type
12481 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12484 * Bullet.C (bulletSize):
12485 (bulletEntry): do not use short ints as parameters
12487 * BufferView2.C (insertLyXFile): change a char to an int.
12489 * WorkArea.C (WorkArea): remove unneeded floats in computation
12491 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12493 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12495 * paragraph.C (asString): Do not ignore newline/hfill chars when
12496 copying to the clipboard.
12498 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12500 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12501 after a multi-line inset.
12503 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12505 * paragraph.C (validate): Set NeedLyXFootnoteCode
12507 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12509 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12510 and decrease-error to decrease.
12512 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12514 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12515 it more readable (should be equivalent)
12517 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12519 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12521 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12523 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12524 of a cursor (row, etc.) after a character has been deleted
12525 (deleteEmptyParagraphMechanism): call the method above on _all_
12526 cursors held by the LyXText when a double space has been
12529 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12531 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12533 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12535 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12536 background. Use greyOut() and the new show() methods to toggle between
12537 the foreground and background. Add code to remove the splash after
12538 its initial showing.
12540 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12541 (create_forms): no longer call Dialogs::showSplash.
12543 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12545 * .cvsignore: add version_info.h
12547 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12549 * version_info.h.in: new file
12551 * Makefile.am: add version_info.h.in
12553 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12554 version_info.h instead of VERSION_INFO
12556 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12558 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12559 The ERT inset now returns string().
12561 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12563 * lyxtext.h, text.C (selectNextWord): renamed as
12564 selectNextWordToSpellcheck.
12566 * text.C (selectNextWordToSpellcheck): Modified to not select
12567 words inside an ERT inset.
12569 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12571 * lyx_cb.C (MenuLayoutSave): change a bit the question
12573 * sp_base.h: include <sys/types.h>
12575 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12577 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12579 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12581 * several files: fix typos in user-visible strings
12583 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12585 * text2.C (pasteSelection): do not set the selection, since it
12586 will be cleared later. Actually, the intent was to fix the way the
12587 selection was set, but I figured rmoving the code was just as good.
12589 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12591 * FontLoader.C (available): Check if font is available without
12594 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12596 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12598 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12600 * lyxrc.[Ch]: added display_graphics variable and associated code.
12602 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12604 * bufferparams.C (hasClassDefaults): new method. Returns true if
12605 the buffer parameters correspond to known class defaults
12607 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12609 * XFormsView.C (show): set minimum size to the main window.
12611 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12613 * text2.C (copySelection):
12615 * lyxfind.C (LyXReplace):
12616 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12617 LyXText::selectionAsString.
12619 * paragraph.C (asString): add "label" argument to the second form
12621 * text2.C (selectionAsString): add "label" argument and pass it to
12622 Paragraph::asString.
12624 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12626 * lyx_main.C (commandLineHelp): remove version information
12628 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12630 * lyx_main.C: add -version commandline option
12632 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12634 * paragraph.h: make the optional constructor arg required instead.
12635 some modifications to other files because of this.
12637 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12639 * lyxserver.C (C_LyXComm_callback): make it static
12641 * lyx_main.C (error_handler): make it static
12643 * lyx_gui.C (LyX_XErrHandler): make it static
12645 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12647 * WorkArea.C: make the extern "C" methods static.
12649 * Makefile.am (lyx_LDADD): simplify
12651 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12653 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12654 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12656 * LyXAction.C (init):
12657 * lyxfunc.C (dispatch): associated code removal.
12659 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12661 * lyxfont.h (isSymbolFont): shut off warning
12663 * text.C (setHeightOfRow):
12664 (getVisibleRow): fix crash with empty paragraphs which have a
12667 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12669 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12672 2001-09-04 José Matos <jamatos@fep.up.pt>
12675 * tabular.C (docbook): rename docBook method to docbook.
12677 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12679 * Makefile.am: add dependencies to main.o.
12681 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12683 * FontLoader.C (available): Return false if !lyxrc.use_gui
12685 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12687 * FontInfo.C (query):
12688 * converter.C (view):
12689 * importer.C (Import):
12690 * exporter.C (Export): Can not -> cannot.
12692 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12694 * BufferView_pimpl.C: allow to create index inset even if
12697 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12699 * buffer.C (getLists): replace boost::tie code with an explicit pair
12700 as boost::tie can break some compilers.
12702 * iterators.h: Added a std:: declaration to the return type of
12705 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12707 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12710 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12712 * iterators.[Ch]: New files. Provide paragraph iterators.
12714 * buffer.C (changeLanguage): Use paragraph iterators.
12715 (isMultiLingual): ditto
12717 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12719 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12721 * FontLoader.C: Support for cmr font.
12723 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12725 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12726 (available): New method.
12728 * FontInfo.C (getFontname): Use scalable fonts even when
12729 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12732 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12734 * converter.C (Formats::view): reverted! Incorrect fix.
12736 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12738 * converter.C (Formats::view): only output the -paper option
12739 if the dvi viewer is xdvi, thereby fixing bug #233429.
12741 2001-08-23 Herbert Voss <voss@perce>
12743 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12745 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12747 * Spacing.h (Spacing): Set space to Default on in the default
12750 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12752 * vc-backend.h (RCS::versionString): add RCS to version
12753 (CVS::versionString): add CVS to version
12755 * vc-backend.C (scanMaster): do not add CVS to version.
12756 (scanMaster): do not add RCS to version
12758 * lyxvc.C (versionString): new method
12760 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12762 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12764 * Spacing.C (set): initialize fval
12766 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12768 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12771 2001-08-16 Juergen Vigna <jug@sad.it>
12773 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12775 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12777 * BufferView_pimpl.C:
12780 * text2.C: setParagraph takes linespacing now
12782 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12784 * LyxAction.C: add internal LFUN_CITATION_INSERT
12786 * LyXView.C: actually apply fix
12788 * bufferlist.C: fix open non-existent file
12790 * lyxfind.C: fix indentation
12792 * lyxfunc.C: remove unneeded assert, fix typo
12794 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12796 * MenuBackend.C: use "Floatname List"
12798 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12800 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12801 when converting LaTeX layout to insetERT.
12802 Generate a non-collapsed float when reading old float
12804 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12806 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12809 2001-08-13 Juergen Vigna <jug@sad.it>
12811 * text.C (fill): return 0 instead of 20 as this seems to be the more
12814 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12816 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12819 2001-08-13 Juergen Vigna <jug@sad.it>
12821 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12823 (SearchBackward): comment out the unlocking of the inset_owner this
12824 should not be needed!
12826 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12828 * Many files: Remove inherit_language, and add latex_language
12830 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12831 collapsible insets.
12833 2001-08-10 Juergen Vigna <jug@sad.it>
12835 * text.C (prepareToPrint): fixed hfill-width in draw!
12837 * BufferView2.C (selectLastWord): save the selection cursor as this
12838 now is cleared in the function LyXText::clearSelection!
12840 2001-08-08 Juergen Vigna <jug@sad.it>
12842 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12843 BACKSPACE type functions.
12845 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12846 is only cutted from the document but not put in the cut-buffer, where
12847 still the old stuff should be.
12849 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12851 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12853 * tabular.C (SetWidthOfCell): fixed special case where the width
12855 (LeftLine): handle '|' in align_special.
12857 (LeftAlreadyDrawed): ditto
12858 (SetWidthOfCell): ditto
12860 2001-08-07 Juergen Vigna <jug@sad.it>
12862 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12864 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12866 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12867 * lyxlex.[hC]: ditto
12869 2001-08-06 Juergen Vigna <jug@sad.it>
12871 * text.C (getVisibleRow): fix up row clearing a bit.
12873 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12875 * minibuffer.C: make sure the X server sees the changes in the input.
12877 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12879 * paragraph.C (getFont): split into...
12880 (getLabelFont): this
12881 (getLayoutFont): and this
12882 * paragraph_pimpl.C (realizeFont): calling this
12884 * text2.C (getFont): split into...
12885 (getLayoutFont): this
12886 (getLabelFont): and this
12887 (realizeFont): all three calling this
12889 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12892 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12894 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12896 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12898 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12899 layouts from the Quote inset insertion.
12901 2001-08-03 Juergen Vigna <jug@sad.it>
12903 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12905 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12906 only if status not is already CHANGED_IN_DRAW (second level).
12908 * text.C (draw): don't set the need_break_row when inside an
12911 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12913 * buffer.C (parseSingleLyXformat2Token): handle more latex
12916 * bufferview_funcs.[hC]: change function names to
12917 begin with small char, adjust other files.
12919 2001-08-02 André Pönitz <poenitz@gmx.net>
12922 BufferView_pimpl.C: remove broken special code for math-greek
12924 2001-08-02 Juergen Vigna <jug@sad.it>
12926 * BufferView_pimpl.C (update): redone this function so that we
12927 update the text again if there was a CHANGE_IN_DRAW.
12929 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12930 (drawFromTo): added a new internal bool which is used by draw() and
12932 (general): some cursor drawing problems fixed.
12934 2001-08-01 Juergen Vigna <jug@sad.it>
12936 * lyxfind.C (LyXFind): fixed
12937 (SearchForward): ditto
12938 (SearchBackward): ditto
12940 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12941 spurius drawing of the cursor in the main area.
12943 * text2.C (status): small fix which could lead to a segfault!
12944 (clearSelection): remove unneeded BufferView param.
12946 2001-08-01 André Pönitz <poenitz@gmx.net>
12948 * lyxfunc.C: small change due to changed mathed interface
12950 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12952 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12954 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12956 * lyxfunc.c: fail gracefully if file doesn't exist
12961 * BufferView_pimpl.C: IsDirWriteable() proto changed
12963 * LyXView.C: fix updateWindowTitle() to store the last title
12965 2001-07-31 Juergen Vigna <jug@sad.it>
12967 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12968 the font (wrong since using of Paragraph::highestFontInRange).
12970 * paragraph.C (highestFontInRange): added a default_size parameter.
12972 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12973 (setHeightOfRow): reformat
12975 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12977 * converter.[hC] + affected files: move to (inital-char)lowercase
12980 * ParagraphParameters.C (ParagraphParameters): remove commented code
12982 * PainterBase.[Ch]: remove commented code
12984 * LaTeXFeatures.h: add "bool floats" for float.sty
12986 * LaTeXFeatures.C (LaTeXFeatures): init floats
12987 (require): handle float
12988 (getPackages): do it with floats
12990 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12992 * BufferView_pimpl.C (Dispatch): improve handling of
12993 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12995 * commandtags.h: #include lyxfont.h here temporarily to avoid
12998 * bufferlist.h: include LString.h here.
13000 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13002 * text2.C (getStringToIndex): new method.
13004 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13006 * *: Reduced header file dependencies all over.
13008 2001-07-30 Baruch Even <baruch@lyx.org>
13010 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13012 2001-07-29 Baruch Even <baruch@lyx.org>
13014 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13016 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13018 * ParameterStruct.h (endif): add a default constructor to make
13019 sure that all variables is initialized.
13021 * ParagraphParameters.C (ParagraphParameters): adjust
13023 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13025 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13026 index; also, check that there is something to index, and that it
13027 does not span over several paragraphs.
13028 (doubleClick): use WHOLE_WORD_STRICT for double click.
13030 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13032 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13035 2001-07-26 Baruch Even <baruch@lyx.org>
13037 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13038 an InsetFig figure, backwards compatible reading of old figure code.
13040 2001-07-27 Juergen Vigna <jug@sad.it>
13042 * text2.C: font.realize function adaption.
13044 * text.C (draw): add a warnings lyxerr text if needed.
13046 * layout.C: font.realize function adaption.
13048 * language.C: add inherit_language and implement it's handlings
13050 * bufferview_funcs.C (StyleReset): remove language parameter from
13051 font creation (should be language_inherit now).
13053 * bufferparams.C (writeFile): handle ignore_language.
13055 * paragraph.C (getFontSettings): the language has to be resolved
13056 otherwise we have problems in LyXFont!
13058 * lyxfont.C (lyxWriteChanges): added document_language parameter
13059 (update): removed unneeded language parameter
13061 * paragraph.C (validate): fixed wrong output of color-package when
13062 using interface colors for certain fonts in certain environments,
13063 which should not seen as that on the final output.
13065 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13067 * BufferView_pimpl.C:
13072 * LyXAction.C: add thesaurus support
13075 * lyxfind.C: add "once" parameter, for thesaurus, to not
13076 move to the next match
13078 2001-07-26 Juergen Vigna <jug@sad.it>
13080 * lyxfont.C (realize): honor ignore_language too!
13083 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13085 * text.C (draw): one place more for ignore_language to not draw
13088 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13090 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13092 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13094 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13095 the minipage conversion problem.
13097 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13099 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13102 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13104 * BufferView.h: don't forward declare WorkArea
13106 * BufferView.C: don't include WorkArea.h
13108 2001-07-25 André Pönitz <poenitz@gmx.net>
13112 * lyxfunc.C: new LFUN 'math-space'
13114 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13116 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13118 * text2.C (toggleInset): call open/close
13120 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13122 * lyxfunc.C (dispatch): add debug for the disabled case
13124 * font.C (buttonText): make similar to rectText
13126 * buffer.C (readInset): comment out parsing of insetlist and
13129 * PainterBase.C (rectText): small correction
13131 * BufferView_pimpl.C: comment out insettheorem and insetlist
13132 * LyXAction.C: ditto
13133 * commandtags.h: ditto
13135 2001-07-24 Juergen Vigna <jug@sad.it>
13137 * text.C (draw): honor the ignore_language.
13139 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13141 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13143 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13146 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13148 * lyxtext.h: remove unused (and unimplemented) methods
13150 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13152 * text.C (getVisibleRow): honor background color
13155 * Painter.h: remove default color argument for fillRectangle
13157 * text.C (backgroundColor): new method
13159 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13161 * text.C (getVisibleRow): adjust
13163 * font.[Ch] (rectText): new method, metrics
13164 (buttonText): new method, metrics
13166 * PainterBase.[hC]: make rectText and buttonText always draw and take
13169 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13171 * ToolbarDefaults.C (read):
13172 * MenuBackend.C (read): allow escaping in all strings
13174 * BufferView_pimpl.C (insertAndEditInset): new method.
13175 (Dispatch): use insertAndEditInset whenever appropriate.
13177 * BufferView_pimpl.C (insertNote): removed
13179 * BufferView_pimpl.C (smartQuote): new method, moved from
13180 BufferView; if an insetquote cannot be inserted, insert a '"'
13183 * BufferView2.C: remove insertCorrectQuote();
13185 * lyxfunc.C (getStatus): Add support for all remaingin
13186 inset-insert lfuns.
13188 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13190 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13191 command (necessary to pass " as parameter of self-insert.
13193 * text.C (selectWordWhenUnderCursor):
13194 (selectWord): add word_location parameter
13195 (selectWordWhenUnderCursor): same + remove special code for word
13197 (selectNextWord): use kind() to guess type of insetspecialchar,
13200 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13201 (insertErtContents): create ert insets as collapsed.
13202 (readInset): better compatibility code for Info inset.
13204 2001-07-20 Juergen Vigna <jug@sad.it>
13206 * lyxfunc.C (dispatch): use always LyXFind now!
13208 * text2.C (init): add a reinit flag so that the LyXText can be
13209 reinited instead of deleted and reallocated (used in InsetText).
13211 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13217 2001-07-18 Juergen Vigna <jug@sad.it>
13219 * text.C (selectNextWord): handle insets inside inset by calling
13220 always the bv->text functions so that we can go up the_locking_inset!
13222 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13223 in strange locations when inside an inset!
13225 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13226 handling to include insets.
13228 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13230 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13232 * LyXAction.C (init):
13234 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13235 LIGATURE_BREAK, since the name is so stupid.
13237 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13239 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13242 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13244 * sp_form.[Ch]: remove.
13246 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13248 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13251 * src/buffer.C (readInset): ditto.
13253 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13255 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13256 menuSeparator(), endOfSentenceDot(), ldots() and
13257 hyphenationPoint(), which are therefore removed.
13258 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13260 * LyXAction.C (init):
13261 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13263 * paragraph.C (getWord): removed.
13265 * BufferView_pimpl.C (Dispatch): use last word or selection for
13266 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13268 * lyx_main.C (queryUserLyXDir): do not ask before creating
13269 user_dir, except if it has been named explicitely.
13271 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13273 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13274 a document of zero size.
13276 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13278 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13279 approriately in the c-tor and in require().
13280 (getPackages): output the appropriate LaTeX for natbib support.
13282 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13283 variables "use_natbib" and "use_numerical_citations" when reading the
13285 (readInset): read the various natbib cite commands.
13286 (validate): white-space change.
13288 * bufferparams.[Ch]: new variables "bool use_natbib" and
13289 "bool use_numerical_citations".
13290 (writeFile): output them in the LyX file.
13292 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13294 * lyxfunc.C (getStatus): add support for all the inset insertion
13297 * text2.C (insertInset):
13298 * paragraph.C (insetAllowed):
13299 * BufferView_pimpl.C (insertInset): update to take in account the
13300 renaming of insertInsetAllowed
13302 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13304 * text2.C (getInset): new method. returns inset at cursor position.
13306 * BufferView_pimpl.C (Dispatch): changes because of this.
13308 * LyXAction.C (init): rename open-stuff to inset-toggle.
13310 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13312 * text2.C (toggleInset): renamed from openStuff; use
13315 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13317 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13319 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13321 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13323 * buffer.C (readLyXformat2): Add filename to the error dialog
13325 2001-07-18 Juergen Vigna <jug@sad.it>
13327 * tabular.C (GetCellNumber): put an assert here instead of the check!
13329 2001-07-17 Juergen Vigna <jug@sad.it>
13331 * BufferView_pimpl.C (toggleSelection): adapted too.
13333 * text.C (selectNextWord): adapted for use with insets.
13334 (selectSelectedWord): ditto
13336 2001-07-17 Juergen Vigna <jug@sad.it>
13338 * sp_spell.C (PSpell): fix initialitation order.
13340 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13342 * paragraph.C: spacing
13344 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13346 * sp_spell.C: repair language selection for pspell
13348 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13350 * lyxfunc.h: change more methods to begin with lower char.
13352 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13354 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13355 for unknown layouts.
13357 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13359 * buffer.C (readLyXformat2): Generate an error dialog if there are
13362 2001-07-16 Juergen Vigna <jug@sad.it>
13364 * sp_spell.C: always compile ISpell part.
13366 * lyxrc.C: added use_pspell entry and it's handling.
13368 2001-07-13 Juergen Vigna <jug@sad.it>
13370 * sp_spell.C: removed double includes.
13372 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13374 Consistent use of Lsstream.h:
13375 * Lsstream.h: added using std::stringstream for consistencies sake.
13377 * buffer.C: removed using std::stringstream
13379 * lyxfont.C (stateText):
13380 * paragraph.C (asString):
13381 * text.C (selectNextWord, selectSelectedWord):
13382 * text2.C (setCounter):
13383 * vspace.C (asString, asLatexString):
13384 std::ostringstream -> ostringstream.
13386 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13388 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13389 * commandtags.h: add LFUN_HELP_ABOUTLYX
13390 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13392 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13394 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13396 * lyx_gui_misc.C: remove spellchecker
13397 * lyxfunc.C: showSpellchecker
13399 * sp_ispell.h: added
13400 * sp_pspell.h: added
13401 * sp_spell.C: added
13402 * sp_form.[Ch]: removed
13403 * spellchecker.[Ch]: removed
13405 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13407 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13409 (simpleTeXSpecialChars): Simply print the input character without
13410 any special translation if pass_thru is set.
13412 * layout.h: Added bool pass_thru to layout class for being able to
13413 implement pass through of a paragraph for Literate Programming.
13415 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13416 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13417 * layout.C (Read): add "passthru" to list of layout tags and add
13418 code to set the pass_thru boolean when it is read.
13420 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13422 * trans_decl.h: remove allowed from KmodInfo
13424 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13425 remove allowed code
13428 * paragraph_pimpl.C (erase): use boost::prior
13430 * Painter.C (text): use data() instead of c_str() when length is
13432 * WorkArea.C (putClipboard): ditto
13433 * font.h (width): ditto
13435 * BufferView2.C: use it-> instead of (*it). for iterators
13437 * paragraph_pimpl.C: ditto
13438 * paragraph.C: ditto
13439 * minibuffer.C: ditto
13440 * language.C: ditto
13442 * encoding.C: ditto
13443 * counters.C: ditto
13444 * converter.C: ditto
13446 * Variables.C: ditto
13447 * TextCache.C: ditto
13448 * MenuBackend.C: ditto
13449 * LyXAction.C: ditto
13451 * FloatList.C: ditto
13452 * DepTable.C: ditto
13453 * ColorHandler.C (LyXColorHandler): ditto
13455 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13457 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13459 * text2.C (openStuff): reintroduce this method (which had been
13460 nuked in NEW_INSETS frenzy).
13462 * lyxfunc.C (Dispatch): when an action has not been handled, use
13463 its name in the error message, not its number.
13465 * paragraph.C (inInset): change method name to begin with lowercase.
13468 * text2.C: updates because of this.
13470 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13472 * ToolbarDefaults.C (add): add spaces in error message
13474 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13476 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13477 (readLyXformat2): rename return_par to first_par, use lyxlex's
13478 pushToken and remove the manual push handling.
13479 (parseSingleLyXformat2Token): add another ert comp. variable:
13480 in_tabular, rename return_par to first_par. handle newlines better
13482 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13484 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13486 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13488 * text2.C (getParFromID): removed
13490 * buffer.C (getParFromID): new method moved form lyxtext.
13491 * BufferView2.C (insertErrors): adjust
13492 (setCursorFromRow): adjust
13493 * BufferView_pimpl.C (restorePosition): adjust
13494 * lyxfunc.C (Dispatch): adjust
13495 * undo_funcs.C (textUndo): adjust
13497 (textHandleUndo): adjust
13498 (textHandleUndo): adjust
13500 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13502 * buffer.C: up' the LYX_FORMAT
13504 * lyxfont.h: turn NO_LATEX on as default
13506 * buffer.C (insertErtContents): new methods of tex style compability.
13507 (parseSingleLyXformat2Token): use it several places.
13508 * tabular.C (OldFormatRead): and here
13510 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13512 * text2.C: remove some commented code.
13515 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13516 * trans.C: changes because of the above.
13518 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13520 * text2.C (setCounter): Fix counters bug with bibliography layout.
13522 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13524 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13525 own member functions
13526 (simpleTeXSpecialChars): ditto
13528 2001-07-06 Juergen Vigna <jug@sad.it>
13530 * a lot of files: changed the access to LyXText::status and the
13531 call of undo-functions.
13533 * undo.[Ch]: added a inset_id to the undo informations.
13535 * undo_funcs.[Ch]: added and moved here all undo functions.
13537 * lyxtext.h: give the status enum a weight, made status_ a private
13538 variable and made accessor functions for it, removed the whole bunch
13539 of undo-functions as they are now in their own file, make some
13540 functions publically available. Added function ownerParagraph with
13543 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13544 made InInset() a const function, added getParFromID() function.
13546 * buffer.[Ch]: added const version for inset_iterator functions,
13547 added getInsetFromID() function.
13549 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13550 changed undo functions for new version.
13552 2001-07-05 Juergen Vigna <jug@sad.it>
13554 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13555 unknow mechanism does not call the proper constructor but only this
13556 one also if I request the other!?
13558 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13560 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13562 * text2.C (LyXText): use initialization lists.
13564 * lyxtext.h (Selection): initialize set_ and mark_
13565 (init): remove method
13567 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13569 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13571 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13573 * screen.[Ch]: change method names to begin with lowercase
13575 * BufferView_pimpl.C (updateScrollbar): simplify further and
13576 hopefully make it a bit faster.
13578 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13580 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13581 calling directly xforms functions.
13583 * Painter.C (Painter):
13584 * lyx_cb.C (MenuWrite):
13585 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13588 * lyx_gui.C: remove bogus guiruntime extern declaration.
13590 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13592 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13594 (redoDrawingOfParagraph): ditto
13595 (redoParagraphs): ditto
13596 (cutSelection): don't create a object for CutAndPaste use the
13597 static method directly
13598 (pasteSelection): ditto
13600 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13603 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13605 * modifications to some other files because of this.
13607 * Makefile.am (lyx_SOURCES): add XFormsView
13609 * XFormsView.[Ch]: new files
13611 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13612 the main window. Move the gui dependent stuff to XFormsView
13614 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13616 * tabular.C (GetCellInset): update cur_cell also in the row/col
13617 version of this function.
13619 * lyxfunc.C: no need to include figure_form.h here.
13625 * lyxvc.C: no need to include forms.h here.
13627 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13629 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13631 * lyxfunc.C (Dispatch):
13633 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13634 constructor argument.
13636 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13638 * paragraph.C (Paragraph): dont't clear, and just set layout.
13639 (makeSameLayout): use params's copy contructor.
13641 * ParagraphParameters.[Ch] (makeSame): delete method
13643 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13645 * Variables.[Ch]: fix indentation, rename set to isSet
13647 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13649 * lyxfunc.C (Dispatch): fix typo
13651 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13653 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13656 * bufferlist.C: include assert.h for emergencyWrite().
13658 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13660 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13661 give up at last (bug #425202) !
13663 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13669 * spellchecker.C: strip spellchecker options and bring up
13670 preferences tab instead
13672 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13674 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13675 the istringstream constructor
13677 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13679 * paragraph.C (getLayout): fix return value
13681 * paragraph.h: do not declare getLayout as inline.
13683 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13685 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13687 * lyxcursor.h (operator<): new func
13688 (operator>): new func
13689 (operator>=): new func
13690 (operator<=): new func
13692 * text.C (changeCase): use selection.start and selection.end
13693 (changeRegionCase): require from to be <= to. Require par to be a
13696 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13698 2001-06-27 Juergen Vigna <jug@sad.it>
13700 * text.C (cursorLeftOneWord): changed to return the cursor and added
13701 overlay with BufferView * parameter which calls this one.
13703 (selectWord): use new getWord function.
13704 (changeCase): renamed from changeWordCase as and extended to work
13705 also on selections.
13707 * lyxtext.h: added enum word_location
13709 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13710 changeCase as this operates now also on selections.
13712 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13714 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13716 * many files: send debug output to Debug::INFO instead of
13719 * converter.C (View):
13721 (Move): send debug output to Debug::FILES instead of console.
13723 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13725 * lyxfunc.C (getStatus): use func_status
13727 * func_status.h: new header, describing the results of
13728 LyXFunc::getStatus;
13730 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13733 2001-06-25 The LyX Project <jug@sad.it>
13735 * buffer.C (sgmlOpenTag):
13737 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13739 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13741 * text2.C: remove some dead code
13743 * tabular.C (GetCellInset): store the last cell checked (gotten)
13745 * tabular.h: add the helper for the speedup
13747 * lyxtext.h: remove some dead code
13749 2001-06-26 The LyX Project <Asger>
13751 * paragraph.C: Change export to LaTeX of alignment to
13752 \begin{center} and family for better roundtrip work with reLyX.
13754 * Tune the math drawing a bit.
13756 2001-06-25 The LyX Project <Asger>
13758 * LColor.C (LColor): New color for math background. New color
13761 2001-06-25 The LyX Project <jug@sad.it>
13763 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13765 * lyxfunc.C (Open):
13766 * bufferlist.C (newFile): do not restrict to files ending with
13769 * BufferView_pimpl.C (MenuInsertLyXFile):
13771 2001-06-24 The LyX Project <jug@sad.it>
13773 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13776 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13778 * lyxtext.h: rename most methods to begin with a small char.
13779 Lots of changes because of this.
13781 * paragraph.C (Paragraph): do not call fitToSize
13782 (erase): call Pimpl::erase
13783 (insertChar): call Pimpl::insertChar
13784 (insertInset): call Pipl::insertInset
13785 (breakParagraph): do not call fitToSize
13786 (breakParagraphConservative): do not call fitToSize
13787 (fitToSize): remove method
13789 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13791 2001-06-24 The LyX Project <Asger>
13793 * Fix Qt compilation^2
13795 2001-06-24 The LyX Project <jug@sad.it>
13797 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13798 depthHook(getDepth()-1).
13801 * ParagraphParameters.h:
13802 * ParameterStruct.h: change type of depth to unsigned int ==
13803 depth_type. Many adaptations to other files before of that.
13805 2001-06-24 The LyX Project <Asger>
13807 * Fix Qt compilation.
13809 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13811 * paragraph.h: renamed several methods to begin with small letter.
13812 several changes to many parts of the code because of this.
13814 2001-06-23 The LyX Project <jug@sad.it>
13816 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13817 rewritten to discard all double spaces when KeepEmpty is off
13818 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13819 to only handle newlines but not fiddle with spaces and friends.
13821 * lyxfunc.C (MenuNew): when doing 'new from template', use
13822 template_path as default directory
13824 2001-06-23 The LyX Project <Asger>
13826 * Clean-up of header file includes all over
13827 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13829 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13831 * paragraph.h: renamed from lyxparagraph.h
13833 2001-06-23 Asger <lyx@violet.home.sad.it>
13835 * Buffer.h: Removed Buffer::resize
13836 * BufferList.h: Removed BufferList::resize
13837 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13838 the document lazily when we change the width, or the font settings.
13840 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13842 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13844 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13846 * buffer.h: remove out of date comment
13848 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13851 * screen.C: fix "theoretical" GC leak
13853 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13855 * LaTeX.C (scanAuxFile):
13856 (deplog): remove trailing \r when reading stream (useful under
13859 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13861 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13862 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13863 and BufferView::theLockingInset(Inset*), so should use them and not
13864 access bv_->text->the_locking_inset directly.
13866 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13868 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13871 * tex-defs.h: remove old unused file
13873 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13875 * BufferView_pimpl.C: fix typo, remove minibuffer message
13876 when buffer has loaded
13878 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13880 * lyxfunc.C (Dispatch): use stringstream
13881 (MenuNew): use stringstream
13882 (Open): use stringstream
13884 * importer.C (Import): use stringstream
13886 * bufferview_funcs.C (CurrentState): use stringstream
13888 * LaTeX.C (run): use stringstream
13890 * BufferView_pimpl.C (savePosition): use stringstream
13891 (restorePosition): use stringstream
13892 (MenuInsertLyXFile): use stringstream
13894 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13907 * vspace.C: removed // -*- C++ -*- as first line.
13910 * version.h: added // -*- C++ -*- as first line.
13912 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13914 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13916 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13919 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13921 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13924 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13926 * gettext.C: include LString.h even when --disable-nls is on.
13928 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13930 * converter.h (Get): changed argument type from int to
13931 FormatList::size_type to avoid unnecessary conversion.
13933 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13936 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13938 * gettext.h: include LString.h even when --disable-nls is on.
13940 2001-06-07 Juergen Vigna <jug@sad.it>
13942 * text.C (BreakAgain): subst spaces with tabs.
13944 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13945 (resizeInsetsLyXText): set force on resizeLyXText.
13947 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13949 * gettext.h (gettext_init):
13950 (locale_init): use a real definition instead of a macro
13952 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13954 * Bufferview_pimpl.C:
13956 * LColor.C: further lcolor tidies
13958 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13960 * BufferView_pimpl.C (updateScrollbar): simplify.
13962 * BufferView2.C: don't include insets/insetinfo.h, change
13963 prototype for insertInset and call the Pimpl version. let
13964 updateInset call Pimpl version.
13966 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13967 gotoInset to BufferView::Pimpl
13969 2001-06-01 Juergen Vigna <jug@sad.it>
13971 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13972 inside a LockingInset (is the update needed at all?).
13974 2001-05-31 Juergen Vigna <jug@sad.it>
13976 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13977 here not the old one otherwise how should we compare it afterwards
13980 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13985 * FontInfo.C: bring C functions into global namespace when
13988 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13990 * LString.h: make sure config.h has been loaded before LString.h.
13992 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13993 (one for each char read by EatLine!).
13995 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13998 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14000 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14001 to the same as the par we break from
14003 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14005 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14007 * MenuBackend.C (expand): also create menu entries for wide
14008 versions of the floats.
14010 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14012 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14014 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14015 frontends/Makefile.am
14021 * tabular.C (getTokenValue): add std::
14023 * tabular-old.C (getTokenValue): add std::
14024 (getTokenValue): ditto
14025 (getTokenValue): ditto
14027 * screen.C (ToggleSelection): adjust
14029 * lyxtext.h: put selection cursors inside a Selection struct.
14031 * lyxfunc.C (moveCursorUpdate): adjust
14033 * lyxfont.C (latexWriteStartChanges): add std::
14035 * lyxfind.C: adjust
14037 * font.h: delete with(char const *, LyXFont const &)
14039 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14041 * FontInfo.C (getFontname): add std::
14043 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14044 (workAreaButtonPress): adjust
14045 (tripleClick): adjust
14047 (moveCursorUpdate): adjust
14050 * BufferView2.C (gotoInset): adjust
14052 2001-05-30 Juergen Vigna <jug@sad.it>
14054 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14055 to check pspell I add this as default as I now have new pspell
14056 libraries and they seem to use this.
14058 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14060 * text2.C (CutSelection): make the cursor valid before the call to
14063 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14065 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14066 relied on 0 terminated strings and other horrors. Bug found due to
14067 the new assert in lyxstring!
14069 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14072 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14074 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14077 * lyxfunc.C (processKeySym): change method of getting to the
14080 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14081 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14082 * BufferView_pimpl.[Ch]: here as private methods.
14084 2001-05-28 Juergen Vigna <jug@sad.it>
14086 * text.C (SetHeightOfRow): added the update() call again as it is
14087 needed to initialize inset dimensions!
14089 2001-05-16 Juergen Vigna <jug@sad.it>
14091 * text2.C (SetCharFont): Add new function with BufferView * and
14092 bool toggleall parameters for setting insets internal fonts.
14093 (SetFont): Freeze the undo as we may change fonts in Insets and
14094 all this change should be inside only one Undo!
14096 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14097 setting font's in insets as for them we have the SetFont function!
14099 2001-05-15 Juergen Vigna <jug@sad.it>
14101 * text2.C (ClearSelection): to be sure we REALLY don't have any
14104 * tabular.C (TeXCellPreamble): fixed the left border problem for
14107 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14109 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14112 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14114 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14115 LFUN_BREAKPARAGRAPH.
14117 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14118 help test to "internal only", similar for LFUN_INSERT_URL
14120 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14121 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14122 auto_region_delete and deadkeys.
14124 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14127 * LColor.C: remove some dead entries, tidy a little
14129 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14131 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14133 (Dispatch): implement LFUN_ESCAPE
14135 * commandtags.h: add LFUN_ESCAPE
14137 * LyXAction.C (init): add entry for LFUN_ESCAPE
14139 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14140 Remove commented code.
14141 (insertNote): moved here
14142 (open_new_inset): moved here
14144 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14147 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14149 * kbmap.C (findbinding): clean it up and make it work correctly.
14151 * lyx_main.C (init): do not pass argc and argv as parameters
14153 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14155 * buffer.C: fix path for OS/2 & Win32
14159 * lyx_main.C: Added os:: class.
14161 * os2_defines.h: update
14163 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14165 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14166 better by trying again with reduced state.
14168 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14170 * lyxrc.C (read): print error about invalid key sequence only when
14171 debugging (because not all latinX keysyms are known to some X
14174 * kbsequence.C (getiso): add a few std:: qualifiers
14175 (getiso): comment out extra return statement.
14177 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14179 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14181 (Dispatch): enhance the accent inset a bit. (not perfect)
14183 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14185 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14187 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14189 * bufferlist.C (emergencyWrite): fix assert() call
14191 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14193 * text.C (InsertChar): Added trivial patch to only send the "you
14194 can not do multiple spaces this way" message once during a
14197 2001-05-08 Baruch Even <baruch@lyx.org>
14199 * Makefile.am: Changed order of libraries to get LyX to link properly
14200 with the gnome frontend.
14202 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14204 * LaTeXFeatures.h: add a std:: qualifier
14206 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14208 * paragraph.C (String): use stringstream
14210 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14212 * paragraph.C (writeFile): remove footflag arg
14214 * buffer.C (makeLaTeXFile): use stringstream
14215 (latexParagraphs): remove footnot gurba
14217 * LaTeXFeatures.C (getPackages): use stringstream
14218 (getMacros): likewise
14219 (getTClassPreamble): likewise
14220 (getFloatDefinitions): new method
14222 * paragraph.C (writeFile): reindent
14225 * WorkArea.h: revert the xpos + etc changes.
14227 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14229 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14231 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14232 (pasteSelection): likewise
14233 * text2.C (CreateUndo): likewise
14235 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14237 * minibuffer.C (peek_event): temporarily reduce the functionality
14238 of the minibuffer (to allow args on lfuns)
14240 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14241 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14243 * buffer.C (readInset): add compability reading of old float
14244 lists, add reading of new style float list.
14245 (readInset): avoid reevaluation of inscmd.getCmdName()
14246 (getLists): reindent
14248 * MenuBackend.C (MenuItem): implement parsing of
14249 md_floatlistinsert and md_floatinsert.
14250 (expand::LastFiles): move initalizaton of iterators out of loop,
14251 avoid reevaluation.
14252 (expand::Documents): introduce typdedef vector<string> Strings,
14254 (expand::ExportFormats): introduce typedef vector<Format const *>
14255 Formats, and use it.
14256 (expand): implement FloatListInsert and FloatInsert.
14258 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14259 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14260 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14262 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14264 (Dispatch::LFUN_FLOAT_LIST): implement
14266 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14268 * LaTeX.C (run): Fix problem with --export code.
14270 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14272 * BufferView.[Ch] (workarea): removed.
14273 (getClipboard) new method; wrapper for workarea()->getClipboard()
14275 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14278 * WorkArea.h (width, height, xpos, ypos): These methods all
14279 returned the dimensions of the work_area sub-area of WorkArea,
14280 resulting in a position error if the WorkArea were resized. Now
14281 return the dimensions of the entire WorkArea.
14283 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14285 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14287 * LaTeX.C (deplog): correct the syntax of regex reg1
14289 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14291 * undo.C: remove !NEW_INSETS cruft
14293 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14295 * text2.C: remove !NEW_INSETS cruft
14297 * text.C: remove !NEW_INSETS cruft
14299 * tabular.C: remove !NEW_INSETS cruft
14301 * spellchecker.C: remove !NEW_INSETS cruft
14303 * lyxtext.h: remove !NEW_INSETS cruft
14305 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14307 * lyxfunc.C: remove !NEW_INSETS cruft
14309 * lyxfind.C: remove !NEW_INSETS cruft
14311 * lyx_cb.C: remove !NEW_INSETS cruft
14313 * figureForm.C: remove !NEW_INSETS cruft
14315 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14317 * buffer.[Ch]: remove !NEW_INSETS cruft
14319 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14321 * CutAndPaste.C: remove !NEW_INSETS cruft
14323 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14325 * BufferView2.C: remove !NEW_INSETS cruft
14327 * BufferView.h: remove !NEW_INSETS cruft
14329 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14331 * Lsstream.h: include LString.h before the sstream headers to
14332 fix problem with gcc 2.95.3 and lyxstring
14334 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14336 * lyx_main.C: add using directives when needed for C functions
14337 declared in std:: namespace.
14339 2001-04-27 Juergen Vigna <jug@sad.it>
14341 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14342 (SetHeightOfRow): comment out the update call should not be needed!
14344 2001-04-13 Juergen Vigna <jug@sad.it>
14346 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14347 (LyXTabular): tried to minimize operator= operations (and realized
14348 hopfully Lars wish).
14350 2001-04-27 Juergen Vigna <jug@sad.it>
14352 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14354 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14356 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14358 * buffer.C (readInset): hack to make listof algorithm work
14360 * BufferView_pimpl.C: hack to make listof algorithm work
14362 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14364 * LyXAction.C: removed all !NEW_INSETS cruft
14365 (init): moved lfun_item in method
14367 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14369 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14371 * BufferView2.C (theLockingInset): white space.
14373 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14375 * minibuffer.C: include <iostream>
14377 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14379 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14381 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14383 * text.[Ch] (TransposeChars): new method
14385 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14387 * call message directly through LyXView instead of through LyXFunc
14388 * BufferView2.C: adjust
14389 * BufferView_pimpl.C: adjust
14390 * FontLoader.C: adjust
14392 * bufferview_funcs.C: adjust
14393 * converter.C: adjust
14394 * figureForm.C: adjust
14395 * importer.C: adjust
14397 * lyx_gui_misc.C: adjust
14398 * lyxfunc.C: adjust
14401 + more files in subdirs
14403 * lyxparagraph.h (size): move up int file
14406 * adjust all uses of Assert to lyx::Assert.
14408 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14409 lyxfunctional in namespace lyx
14410 * layout.C (hasLayout): ditto
14413 (delete_layout): ditto
14414 (NumberOfClass): ditto
14415 * converter.C (GetFormat): ditto
14420 * bufferlist.C (getFileNames): ditto
14421 (emergencyWriteAll): ditto
14424 * MenuBackend.C (hasSubmenu): ditto
14427 * BufferView_pimpl.C (getInsetByCode): ditto
14429 2001-04-18 Juergen Vigna <jug@sad.it>
14431 * vspace.C (asLatexString): fixed the 100% problem.
14433 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14435 * lyxfunc.C (Dispatch):
14437 * minibuffer.h: add a few std:: qualifiers
14439 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14441 * minibuffer.[Ch]: reimplement so that commands is initiated and
14442 run from lyxfunc, simplified som handling, and made the completion
14443 and history code for complete. wip.
14445 * lyxfunc.C (processKeySym): call message
14446 (miniDispatch): new temporary method
14447 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14448 (LFUN_MESSAGE): implement
14449 (LFUN_MESSAGE_PUSH): implement
14450 (LFUN_MESSAGE_POP): implement
14451 (initMiniBuffer): the initial/defualt minibuffer message.
14453 * lyxfont.[Ch]: inline some more getters
14455 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14457 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14459 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14460 (AutoSave): use LFUN_MESSAGE
14461 (Reconfigure): ditto
14463 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14465 * figureForm.C: use LFUN_MESSAGE
14467 * converter.C (runLaTeX): use LFUN_MESSAGE
14469 * bufferview_funcs.C: use LFUN_MESSAGE
14471 (changeDepth): ditto
14473 * bufferparams.h: use boost::
14475 * bufferlist.h: inherit privately from noncopyable
14477 * bufferlist.C (loadLyXFile): remove some commented code.
14479 * buffer.C (runChktex): use LFUN_MESSAGE
14481 * ShareContainer.h: inherit privately from noncopyable
14483 * ParagraphParameters.[hC] (depth): inline it.
14485 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14487 (message): new method
14488 (messagePush): ditto
14489 (messagePop): ditto
14490 (show): init minibuffer
14491 (showState): direct call
14493 * LaTeX.[Ch]: inherit privately from noncopyable
14494 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14495 instead of WriteStatus.
14497 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14499 * BufferView_pimpl.C (buffer): don't init minibuffer
14500 (workAreaButtonPress): use LFUN_MESSAGE
14501 (workAreaButtonRelease): ditto
14502 (savePosition): ditto
14503 (restorePosition): ditto
14504 (MenuInsertLyXFile): ditto
14505 (workAreaExpose): don't init minibuffer
14506 (update): remove commented code, simplify
14508 * BufferView2.C (openStuff): use LFUN_MESSAGE
14509 (toggleFloat): ditto
14512 (copyEnvironment): ditto
14513 (pasteEnvironment): ditto
14518 (updateInset): remove some commented code
14520 * lastfiles.h: inherit privately from noncopyable
14523 * lyx_main.h: ditto
14525 * lyxlex_pimpl.h: ditto
14527 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14528 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14529 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14531 * LyXAction.h: inherit privately from noncopyable, add methods
14532 func_begin, func_end, returning iterators to the func map.
14534 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14535 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14536 (func_begin): new method
14537 (func_end): new method
14539 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14541 (copySelection): ditto
14542 (pasteSelection): ditto
14544 * BufferView.C: whitespace change
14545 * BufferView.h: inherit privately from noncopyable
14547 2001-04-16 Allan Rae <rae@lyx.org>
14549 * tabular-old.C (l_getline):
14550 * spellchecker.C (sc_check_word):
14551 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14552 an unrecognised preprocessor directive. So ensure they're wrapped.
14554 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14556 * src/exporter.C (Export): Give an error message when path to file
14559 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14561 * LaTeX.C (deplog): Always check that foundfile exists.
14563 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14566 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14568 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14570 * tabular.[Ch] (getLabelList): implement new method
14572 * minibuffer.h: comment ouf setTiimer
14574 * minibuffer.C (ExecutingCB): constify res
14575 (peek_event): constify s
14576 (Set): constify ntext
14577 (Init): constify nicename
14579 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14581 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14582 (savePosition): use two params to Minibuffer::Set
14583 (restorePosition): ditto
14585 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14587 * lyx_main.C: include language.h
14589 * Makefile.am (lyx_main.o): add language.h
14591 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14597 * CutAndPaste.C: include gettext.h
14599 * lyxfont.h: remove old hack with ON and OFF.
14602 * lyxfont.h: do not include language.h...
14607 * bufferview_funcs.C:
14613 * paragraph.C: ... but do it here instead
14615 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14617 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14619 * tabular.C: small reformat
14621 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14624 (BreakParagraph): ditto
14625 (SetOnlyLayout): ditto
14628 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14631 * lastfiles.C: removed most using decl, add std:: where needed
14633 * buffer.C: ws changes
14635 * MenuBackend.C (class compare_format): put into anon namespace
14636 (expand): constify label, names, action, action2
14639 * text.C (SingleWidth): constify font
14640 (IsBoundary): constify rtl2
14641 (GetVisibleRow): constify ww
14643 * LaTeX.C (deplog): constify logfile
14645 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14647 (workAreaExpose): constify widthChange, heightChange
14649 * lyxrow.C (par): moved
14652 * lyxrow.h: as inlines here
14654 * lyxfont.h (shape): moved from lyxfont.C
14655 (emph): moved from lyxfont.C
14657 * lyxfont.C (LyXFont): use initialization list for all
14659 (shape): move to lyxfont.h as inline
14660 (emph): move to lyxfont.h as inline
14663 2001-04-04 Juergen Vigna <jug@sad.it>
14665 * vspace.C: had to include stdio.h for use of sscanf
14667 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14670 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14671 independent of xforms.
14673 2001-04-02 Juergen Vigna <jug@sad.it>
14675 * spellchecker.C: fixed namespace placing!
14677 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14679 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14680 the LyXParagraph * is 0.
14682 2001-03-29 Juergen Vigna <jug@sad.it>
14684 * vspace.C: added support for %, c%, p%, l%.
14685 (stringFromUnit): added helper function.
14686 (asLatexString): changed to give right results for the %-values.
14688 * buffer.C: convert the widthp in a width%.
14690 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14692 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14695 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14696 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14698 * lyx_cb.[Ch]: see above.
14700 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14704 * lyx.[Ch]: replaced by figure_form.[Ch].
14708 * lyxfunc.C: changed headers associated with above changes.
14710 2001-03-27 Juergen Vigna <jug@sad.it>
14712 * BufferView_pimpl.C: set the temporary cursor right!
14714 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14716 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14718 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14720 * LString.h: removed "using std::getline"!
14722 * BufferView_pimpl.C (Dispatch): changes due to changes in
14723 InsetInclude::Params.
14725 * buffer.C (tag_name): removed redundant break statements as they were
14726 producing lots of warnings with my compiler.
14728 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14730 * LString.h: add "using std::getline" when using the real <string>.
14732 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14734 * buffer.C: removed bitset usage.
14735 PAR_TAG moved to an anonymous name space.
14736 (tag_name): new funtion, also in the anonymous namespace.
14737 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14738 (makeDocBookFile): clean code. Completed transition from string arrays
14740 (SimpleDocBookOnePar): code clean.
14742 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14744 * tabular.C: add some comments.
14746 2001-03-22 Juergen Vigna <jug@sad.it>
14748 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14749 compatibility read a bit and fixed bug with minipage in different
14752 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14754 * buffer.C (pop_tag): removed.
14755 (push_tag): removed.
14756 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14757 array replaced with vector. Added support for CDATA sections.
14758 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14760 (makeDocBookFile): XML conformant declaration of CDATA section,
14761 fixed bug related to <emphasis> in the first paragraph char.
14762 (sgmlOpenTag): exclude empty tags.
14763 (sgmlCloseTag): ditto.
14765 * buffer.h (pop_tag): removed.
14766 (push_tag): removed.
14768 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14770 * language.h (Languages): added size_type and size().
14772 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14774 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14775 response on compability reading of minipages. One probliem is that
14776 the old usage of minipages was «flertydig»
14778 * several files here and in subdirs: don't use static at file
14779 scope use anon namespaces instead.
14781 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14783 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14784 LaTeX output. This is necessary for Literate document
14787 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14789 * buffer.C: insert hfill when needed.
14791 * tabular.C (l_getline): use string::erase, small whitespace change.
14793 * BufferView_pimpl.C: try the anon namespace.
14794 * WorkArea.C: ditto
14796 2001-03-16 Juergen Vigna <jug@sad.it>
14798 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14799 otherwise it won't open options-dialogs.
14801 * buffer.C: honor pextraWidth(p) on converting minipages.
14803 * tabular.C (l_getline): changed the functions to strip trailing \r.
14805 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14807 * BufferView_pimpl.C:
14808 * minibuffer..C: added "using SigC::slot" declaration.
14810 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14812 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14818 * paragraph.C: ditto
14820 * lyxtext.h: NO_PEXTRA
14822 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14824 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14825 * ParameterStruct.h: ditto
14826 * ParagraphParameters.h: ditto
14827 * lyxparagraph.h: ditto
14829 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14831 * buffer.C: add compability for minipage alignment.
14832 (latexParagraphs): remove unwanted pextra check.
14834 * several files: remove CXX_WORKING_NAMESPACES
14836 * buffer.C (pop_tag): tie is in namespace boost
14838 * BufferView.h: noncopyable is in namespace boost
14840 * lyx_main.h: ditto
14843 * lastfiles.h: ditto
14844 * bufferlist.h: ditto
14845 * ShareContainer.h: ditto
14847 * LyXAction.h: ditto
14850 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14852 * Merging changes from BRANCH_MVC back into HEAD.
14854 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14856 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14858 * BufferView_pimpl.C: change from intl.C
14862 * Makefile.am: move combox.*
14868 * intl.C: remove dialog (covered by prefs)
14870 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14872 * lyxfunc.C (Dispatch): removed redundant break statement.
14874 2001-03-14 Juergen Vigna <jug@sad.it>
14876 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14878 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14880 * buffer.C: add hack to fix compability reading of minipages.
14882 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14884 * buffer.C (getLists): Cleanup.
14886 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14888 * lyxfont.C (update): don't honor toggleall on font size.
14890 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14894 * Makefile.am: moved to frontends/xforms/
14898 * BufferView_pimpl.C: changes for moved mathpanel
14900 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14902 * gettext.h: fix gettext_init() in --disable-nls
14904 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14906 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14908 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14911 * lyx.h: strip external form
14913 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14915 * BufferView_pimpl.C: add comment, destroySplash()
14917 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14919 * BufferView_pimpl.C:
14923 * lyxfunc.C: use re-worked insetinclude
14925 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14927 * buffer.C: add using std::stringstream.
14929 * lyx_cb.C: readd using std::ios.
14931 * buffer.C: add using std::map.
14933 * BufferView_pimpl.C: add using std::vector.
14935 * ShareContainer.h: add std:: to swap.
14937 * buffer.h: add some typedefs
14938 * buffer.C (getLists): use them
14939 (getLists): renamed from getTocList.
14940 add a counter for the different float types and use it in the
14942 (getLists): use the same counter for the NEW_INSETS and the "non"
14945 * lyx_cb.h: remove unused items, includes, using etc.
14947 * ShareContainer.h: remove some commented code, add more comments
14948 and "documentation".
14950 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14952 * buffer.C (getTocList): make the list also when NEW_INSETS is
14955 * buffer.h: remove TocType
14957 * buffer.C (getTocList): change to return a map<string,
14958 vector<TocItem> >, implement for dynamic number of list.
14960 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14961 * text2.C (PasteSelection): adjust
14962 * CutAndPaste.C (pasteSelection): adjust
14964 * FloatList.C (FloatList): update from the new_insets branch.
14965 * Floating.[Ch]: ditto
14966 * LaTeXFeatures.C: ditto
14968 * lyxlex_pimpl.C: ditto
14970 * paragraph.C (Last): remove when NEW_INSETS is defined.
14972 * other file: changes because of the above.
14974 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14976 * lyxparagraph.h: rename next to next_, previous to previous_,
14977 make them private for NEW_INSETS. Rename Next() to next(),
14978 Previous() to previous().
14980 * other files: changes because of the above.
14982 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14985 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14988 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14990 * main.C (main): pass lyx_localedir to gettext_init().
14992 * gettext.h: remove locale_init and gettext_init macros
14994 * gettext.C (locale_init): new function
14995 (gettext_init): new function
14997 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15000 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15002 * Moved credits to frontends:
15003 * credits.[Ch]: removed
15004 * credits_form.[Ch]: removed
15005 * lyx_gui_misc.C: remove credits stuff
15008 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15010 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15012 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15013 unneeded destructor.
15015 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15016 a standalone pointer again.
15018 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15020 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15026 * ToolbarDefaults.C:
15035 * BufferView_pimpl.C: use new file dialog in GUII
15038 * lyx_cb.C: remove LayoutsCB to Toolbar
15040 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15042 * ShareContainer.h (get): add std:: qualifier
15044 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15046 * ShareContainer.h: define a proper ShareContainer::value_type
15047 type (and use typename to please compaq cxx)
15049 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15051 * lyxparagraph.h: move serveral local vars to
15052 ParameterStruct/ParagraphParameters., use ShareContainer in
15053 FontTable., make vars in FontTable private and add getter and
15056 * paragraph.C: changes because of the above.
15058 * lyxfont.h: remove copy constructor and copy assignment. (the
15059 default ones is ok), move number inside FontBits. move inlines to
15062 * lyxfont.C: add number to initializaton of statics, move several
15063 inlines here. constify several local vars. some whitespace
15064 cleanup. Dont hide outerscope variables.
15066 * Spacing.h: add two new constructors to match the set methods.
15068 * ShareContainer.h: new file, will perhaps be moved to support
15070 * ParameterStruct.h: new file
15072 * ParagraphParameters.h: new file
15074 * ParagraphParameters.C: new file
15076 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15077 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15079 * BufferView_pimpl.C: ParagraphParameter changes.
15080 * buffer.C: Likewise.
15081 * bufferview_funcs.C: Likewise.
15082 * text.C: Likewise.
15083 * text2.C: Likewise.
15085 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15087 * lyxfind.C (LyXReplace): do not redefine default argument in
15089 (IsStringInText): ditto
15090 (SearchForward): ditto
15091 (SearchBackward): ditto
15093 2001-03-06 Juergen Vigna <jug@sad.it>
15095 * lyxfind.C (IsStringInText): put parentes around expressions.
15097 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15099 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15101 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15103 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15105 * stl_string_fwd.h: add comment
15107 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15110 * tabular.C: remove unused DocBook methods
15116 killed DO_USE_DEFAULT_LANGUAGE
15118 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15120 * lyx_gui.C: do not include language.h.
15122 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15123 arguments in function implementation.
15125 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15127 * BufferView_pimpl.C: add <ctime>
15129 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15131 * BufferView_pimpl.C: add using std::find_if
15133 2001-02-27 José Matos <jamatos@fep.up.pt>
15135 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15138 2001-02-11 José Matos <jamatos@fep.up.pt>
15140 * buffer.C (makeDocBookFile): command styles now have a parameter as
15141 "title" by default.
15143 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15145 * layout_forms.[Ch]: removed
15146 * lyx_cb.[Ch]: out character
15147 * lyx_gui.C: out character
15148 * lyx_gui_misc.C: out character
15149 * bufferview_funcs.C: : out character,
15150 added toggleall as parameter in ToggleAndShow
15152 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15154 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15156 * text2.C (SetCurrentFont): Disable number property at boundary.
15158 2001-02-26 Juergen Vigna <jug@sad.it>
15160 * lyxfunc.C (getStatus): added a string argument override function so
15161 that this is correctly called from LyXFunc::Dispatch if it contains a
15162 do_not_use_argument which is used!
15163 (Dispatch): added check for "custom" export and call appropriate func.
15165 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15167 * lyxrc.C: Add language_command_local, language_use_babel and
15168 language_global_options.
15170 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15172 * buffer.C (makeLaTeXFile): Use language_use_babel and
15173 language_global_options.
15175 2001-02-23 Juergen Vigna <jug@sad.it>
15177 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15178 which works with LyXText and putted it inside BufferView. Here now we
15179 only call for that part the BufferView::Dispatch() function.
15181 * BufferView.C (Dispatch): added.
15183 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15184 functions which needs to use a LyXText over from LyXFunc.
15185 (MenuInsertLyXFile): added
15186 (getInsetByCode): added
15187 (moveCursorUpdate): added
15188 (static TEXT): added
15190 2001-02-22 Juergen Vigna <jug@sad.it>
15192 * BufferView_pimpl.C (update): call a status update to see if LyXText
15195 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15197 * vc-backend.C (revert): implement for CVS
15198 (getLog): implement for CVS
15200 2001-02-20 Juergen Vigna <jug@sad.it>
15202 * text2.C (ClearSelection): added BufferView param for inset_owner call
15204 * lyxfunc.C (TEXT): added this function and use it instead of
15205 directly owner->view()-text of getLyXText().
15207 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15209 * src/layout_forms.C: out preamble
15210 * src/layout_forms.h: out preamble
15211 * src/lyx_cb.C: out preamble
15212 * src/lyx_cb.h: out preamble
15213 * src/lyx_gui.C: out preamble
15214 * src/lyx_gui_misc.C: out preamble
15215 * src/lyxfunc.C: connect with guii preamble
15217 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15219 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15221 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15223 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15224 whether to run bibtex.
15226 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15228 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15230 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15232 * Makefile.am (lyx_SOURCES): removed bibforms.h
15234 * vspace.h: doxygen
15236 * text.C (GetVisibleRow): make several local vars const
15238 * tabular.C: small cleanup.
15240 * lyxserver.C (callback): use compare instead of strncmp
15242 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15243 inlines to after class or to paragraph.C
15245 * lyxfont.h: remove friend operator!=
15247 * converter.h: move friend bool operator< to non friend and after
15250 * combox.h: small cleanup
15252 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15253 to inlines after class def.
15255 * buffer.C (pop_tag): use string operations instead of strcmp
15257 * bmtable.c: doxygen, small cleanup
15259 * LaTeX.h: remove friend operator==
15261 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15273 * BufferView_pimpl.C:
15274 * BufferView.[Ch]: remove cruft
15276 2001-02-14 Juergen Vigna <jug@sad.it>
15278 * lyxfunc.C: removed #if 0 unused code
15280 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15282 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15284 * text2.C (SetSelection): added a BufferView * parameter
15286 2001-02-13 Juergen Vigna <jug@sad.it>
15288 * lyxfunc.C (Dispatch): fixed protected blank problem.
15289 * BufferView2.C (protectedBlank): added LyxText * parameter.
15291 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15292 (AppendColumn): same as above for column_info.
15294 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15295 (moveCursorUpdate): use a LyXText param for support of InsetText.
15297 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15298 (tripleClick): ditto
15300 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15302 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15304 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15306 * text2.C (SetSelection): set correct update status if inset_owner
15307 (ToggleFree): ditto
15309 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15311 * tabular.C: remove some commented code.
15313 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15315 * BufferView_pimpl.C: call hideSplash()
15317 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15320 * bibforms.h: remove
15323 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15324 add LFUN_CHILD_CREATE
15326 * counters.h: fix tiny typo
15331 * lyx.C: move splash to frontends/xforms/
15333 * lyx_gui_misc.C: move Include and Bibform to frontends
15335 * lyxvc.h: clarify comment
15337 * vspace.C: tiny housekeeping
15339 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15341 * text.C (PrepareToPrint): RTL Fix.
15343 * paragraph.C (GetUChar): New method.
15344 (String): Use GetUChar.
15346 * buffer.C (asciiParagraph): Use GetUChar.
15348 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15350 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15352 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15355 * buffer.C: rename to getLogName(), handle
15356 build log / latex log nicely
15358 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15361 * MenuBackend.h: remove support for reference menuitem type.
15363 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15365 * BufferView_pimpl.C: housekeeping
15366 * BufferView_pimpl.h:
15371 * minibuffer.h: move Timeout GUI-I
15373 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15375 * lyxrc.C (read): Update converters data-structures.
15377 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15379 * LaTeX.h (operator!=): add operator != for Aux_Info
15381 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15383 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15385 * LaTeXLog.C: deleted, useful code moved to Buffer
15388 * buffer.C: new function getLatexLogName()
15394 * lyxfunc.C: use frontends for LaTeX and VC logs
15396 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15398 * LaTeX.h: yet another std:: that Allan forgot.
15400 * Variables.C (set): renamed from isset(), because this clashes
15401 with some HP-UX macros (grr).
15403 2001-02-06 Allan Rae <rae@lyx.org>
15405 * LaTeX.h: Another bug fix. Missing std:: this time.
15407 2001-02-04 Allan Rae <rae@lyx.org>
15409 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15410 floats problem. I've left it commented out because it's not quite
15411 correct. It should also test that the current object is a table or
15412 figure inset. But I haven't gotten around to figuring out how to do
15413 that. I *think* it'll be something like: "table" == inset.type()
15415 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15418 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15420 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15421 all the citation/databases/styles in the auxilary file.
15422 (run): Rerun latex if there was a babel language error.
15424 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15426 * text.C (Backspace): Preserve the font when changing newline char
15428 (BreakParagraph): If the cursor is before a space, delete the space.
15430 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15432 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15434 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15435 new argument (code).
15436 (ChangeCitationsIfUnique): New method.
15438 * paragraph.C (GetPositionOfInset): Handle bibkey.
15440 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15442 * BufferView_pimpl.h: change type of Position::par_pos to
15443 LyXParagraph::size_type.
15445 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15447 * BufferView_pimpl.C (savePosition, restorePosition): Write
15448 messages to minibuffer.
15450 2001-01-28 José Matos <jamatos@fep.up.pt>
15452 * buffer.C (makeDocBookFile): adds support for document language.
15453 A silly restriction on the name of LatexCommand types where removed.
15454 Added support for CDATA sections, allows to chars unescaped, used
15455 among others in code, to avoid escape < and >.
15457 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15459 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15460 saved positions instrad of a stack. Furthermore, a position is
15461 stored using paragraph id/paragraph position.
15463 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15464 Remove LFUN_REF_BACK.
15466 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15468 * converter.C (dvipdfm_options): New method.
15470 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15472 * vspace.C (isValidLength): Fix for empty input string.
15474 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15476 * LyXAction.C (init): change description of LFUN_FIGURE to
15479 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15481 * LaTeX.C: add using directive
15483 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15485 * MenuBackend.C (expand): Fix the sorting of the formats.
15487 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15489 * lyx_main.C: tiny error message fix
15491 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15493 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15494 calling fl_initialize(). This fixes the problem with ',' as
15495 decimal separator in text files.
15497 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15499 * trans.C (process): Fix the keymap bug.
15501 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15503 * LaTeX.C (scanAuxFiles): New method. Provides support for
15504 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15505 (scanLogFile) Scan for "run BibTeX" messages.
15507 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15508 OT1 font encoding. Also, load the aecompl package if the ae
15511 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15513 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15515 * texrow.C (increasePos): turn two error messages into debug
15518 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15520 * LaTeX.C (scanAux): Handle the \@input macro.
15521 (runBibTeX): Use scanAux().
15523 * language.C (latex_options_): New field.
15525 * LaTeXFeatures.C (getMacros): Add language macros.
15527 * buffer.C (makeLaTeXFile): Small fix.
15529 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15531 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15533 * text2.C: add a using directive.
15535 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15540 * lyxfunc.C: kill LyXBell.
15542 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15544 * text.C (IsBoundary): Remove the error message
15546 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15548 * lyxrc.C (setDefaults): Correct initialization value for
15551 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15553 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15556 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15557 and GotoNextNote().
15559 * src/LyXAction.C: Added reference-next.
15561 * text.C (InsertChar): Use contains instead of strchr.
15563 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15565 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15567 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15568 alignment commands (when needed).
15570 * text.C (InsertChar): Add ':' to number separator chars.