1 2004-05-19 Angus Leeming <leeming@lyx.org>
6 * lyxfunc.C: small changes due to the introduction of namespace
7 lyx::frontend and the moving of namespace biblio to lyx::biblio.
9 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
11 * text3.C (dispatch): supress update when only moving the cursor
12 * cursor.C (selHandle): remove commented code
14 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
16 * paragraph.C (startTeXParParams): correct column count
17 * CutAndPaste.C (pasteSelection): remove const_cast
18 * output_docbook.C (docbookParagraphs): remove const_cast
19 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
20 const_cast and return ParagraphList::const_iterator
21 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
22 * output_plaintext.C (writeFileAscii): remove const_cast
23 * paragraph.[Ch] (simpleTeXOnePar): make const
24 * paragraph_funcs.C (outerPar): use const iterators
25 * paragraph_pimpl.C (validate): use const iterators
26 * text.C (setHeightOfRow): use const iterators
28 2004-05-17 Angus Leeming <leeming@lyx.org>
31 * LyXAction.C (init): new LFUN_INSET_REFRESH.
33 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
34 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
35 if the citation engine has changed.
37 2004-05-14 José Matos <jamatos@lyx.org>
39 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
40 if the textclass does not provide it. Have it different for sgml and
42 support the language of document.
43 * output_docbook.C (docbookParagraphs):
44 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
45 first anchor as the id of the paragraph, remove special case code.
46 * sgml.C (escapeChar): escape only < & >.
48 2004-05-14 Angus Leeming <leeming@lyx.org>
50 * bufferparams.h: move biblio::CiteEngine enum here to minimize
51 dependencies on src/frontends/controllers/biblio.h. Define a
52 CiteEngine_enum wrapper class to enable the enum to be forward
55 2004-05-12 Angus Leeming <leeming@lyx.org>
57 * buffer.C: up LYX_FORMAT to 234.
58 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
59 use_numerical_citations with a single biblio::CiteEngine cite_engine
61 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
63 2004-05-13 José Matos <jamatos@lyx.org>
66 * converter.C (Converter, readFlags): add xml member.
67 * outputparams.h: add XML flavor.
68 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
70 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
72 * lyxfunc.C (dispatch):
73 (getStatus): fix handling of LFUN_SEQUENCE
75 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
77 * debug.C (showLevel): do not forget the end-of-line marker
79 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
81 * kbmap.C (read): do not stop parsing a bind file when an error
84 2004-04-29 Angus Leeming <leeming@lyx.org>
89 * text2.C: wrap a bunch of #warning statements
90 inside #ifdef WITH_WARNINGS blocks.
92 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
94 * buffer.C: increment format to 233.
96 2004-04-28 Angus Leeming <leeming@lyx.org>
101 s/updateToolbar()/updateToolbars()/
102 s/Toolbar.h/Toolbars.h/
104 2004-04-28 Angus Leeming <leeming@lyx.org>
106 * BufferView.[Ch] (c-tor):
107 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
108 No longer passes these data to the WorkArea generator.
110 2004-04-28 Angus Leeming <leeming@lyx.org>
112 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
114 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
116 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
118 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
120 * output_latex.C (TeXEnvironment): make sure that there is a line
121 break before \end{foo} for the last paragraph of a document
122 (TeXOnePar): if the paragraph is at the end of the document (or
123 inset) and the language has to be reset, then make sure that the
124 line break is _before_ the language command, not after (fixes bug
125 1225); also make sure that the language reset command is the first
126 thing after the paragraph (to ensure proper nesting of
127 environments and thus fix bug 1404)
129 2004-04-21 John Levon <levon@movementarian.org>
132 * ToolbarBackend.C: make "name" be a programmatic name
133 and a gui_name field.
135 * lyxfunc.C: display the minibuffer on M-x
137 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
139 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
142 2004-04-19 Angus Leeming <leeming@lyx.org>
144 * BufferView_pimpl.C (setBuffer): changed preview interface.
146 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
149 2004-04-19 John Levon <levon@movementarian.org>
151 * BufferView_pimpl.C:
152 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
154 2004-04-05 Angus Leeming <leeming@lyx.org>
156 * text.C (redoParagraphs): add call to updateCounters(), thereby
157 fixing the missing "Figure #:" label from the caption of a
160 2004-04-13 Angus Leeming <leeming@lyx.org>
162 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
163 cursor is clicked out of an inset.
165 2004-04-13 Angus Leeming <leeming@lyx.org>
167 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
168 than an InsetOld one.
170 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
172 * format.[Ch]: add editor to Format
173 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
174 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
176 2004-04-08 André Pönitz <poenitz@gmx.net>
178 * metricsinfo.h: remove PainterInfo::width member
180 2004-04-08 Angus Leeming <leeming@lyx.org>
182 * lyx_sty.C (boldsymbol_def): modify so that it outputs
183 "\providecommand" rather than "\newcommand", thereby preventing
184 clashes with packages that define "\boldsymbol" themselves.
187 2004-04-08 Angus Leeming <leeming@lyx.org>
189 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
190 thereby squashing an unnecessary warning.
192 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
194 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
197 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
199 * BufferView.C (setCursor): call redoParagraph (some insets could
201 (putSelectionAt): remove the 'double update' trick
203 * BufferView_pimpl.C (fitCursor): call refreshPar
204 (workAreaDispatch): remove an uneeded update call
205 (dispatch): remove some manual update calls
207 * cursor.[Ch]: remove cached_y_, updatePos
208 (selHandle): set noUpdate when appropriate
210 * lyxfunc.C (dispatch): track if we need an update
212 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
214 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
215 (paintSelection): cheap optimization, do not call cursorX when not
217 (paintPars): change signature
220 (paintTextInset): adjust
224 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
226 * lengthcommon.C: compilation fix: remove explicit array size from
227 unit_name[] and friends
229 2004-04-05 Angus Leeming <leeming@lyx.org>
231 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
233 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
234 present only for the preferences dialog.
235 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
237 2004-04-05 Angus Leeming <leeming@lyx.org>
239 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
240 to enable the frontends to export changes to lyxrc correctly.
242 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
244 2004-04-07 André Pönitz <poenitz@gmx.net>
246 * cursor.[Ch] (selClear, adjust): remove math
248 * cursor_slice.C: more agressive assert
251 * BufferView_pimpl.C: rework mouse event dispatch
258 2004-04-05 André Pönitz <poenitz@gmx.net>
260 * cursor.[Ch] (valign, halign...): remove unneeded functions
262 2004-04-05 Angus Leeming <leeming@lyx.org>
264 * lyxlength.[Ch] (unit_name et al.): const-correct.
266 2004-04-05 Angus Leeming <leeming@lyx.org>
268 * BufferView_pimpl.C:
277 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
279 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
281 * text3.C (getStatus): add LFUN_BEGINNINGBUF
283 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
285 * lyxfind.C: add a couple of inTexted() tests + other small fixes
286 * BufferView_pimpl.[Ch] (getStatus)
287 * BufferView.[Ch] (getStatus): add
288 * lyxfunc.C (getStatus): move lfuns handled in
289 BufferView::dispatch to te function above
290 * Cursor.C (setSelection): set selection() = true
292 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
294 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
296 2004-03-31 Angus Leeming <leeming@lyx.org>
298 * lyxfunc.C (dispatch): Fall through to the generic
299 Dialogs::show("preamble").
301 2004-03-31 Angus Leeming <leeming@lyx.org>
303 * lyxfunc.C (dispatch): Fall through to the generic
304 Dialogs::show("spellchecker").
306 2004-03-31 Angus Leeming <leeming@lyx.org>
308 * lyxfunc.C (getStatus, dispatch): changed invocation of the
311 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
316 * insetiterator.[Ch]:
321 * undo.[Ch]: s/DocumentIterator/DocIterator/g
323 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
325 * BufferView.C (setCursor, putSelectionAt): call edit to open the
326 insets where we are putting the cursor.
328 2004-03-31 Angus Leeming <leeming@lyx.org>
331 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
333 * lyxrc.[Ch] (read, write): overloaded member functions taking
334 a std::[io]stream arguments.
336 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
338 2004-03-31 Angus Leeming <leeming@lyx.org>
340 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
341 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
343 * lyxtextclass.C (load): if the text class couldn't be loaded, then
344 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
346 2004-03-31 Angus Leeming <leeming@lyx.org>
348 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
349 the LFUN_ALL_INSETS_TOGGLE code.
351 2004-03-30 Angus Leeming <leeming@lyx.org>
353 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
354 has died. Fall through to the generic Dialogs::show("document").
356 2004-03-30 Angus Leeming <leeming@lyx.org>
359 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
360 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
362 * lyxfunc.C (getStatus, dispatch): define the actions for these
363 lfuns. Little more than a cut and pste job from ControlDocument.C
365 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
367 2004-03-30 Angus Leeming <leeming@lyx.org>
370 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
371 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
373 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
374 open/closed state of ollapsable insets. Usage:
376 all-inset-toggle <state> <name>, where
377 <state> == "open" || "closed" || "toggle" and
378 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
380 * lyxtext.h, text2.C (toggleInset): removed.
382 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
383 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
384 now passes LFUN_INSET_TOGGLE to the found inset.
386 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
387 is now invoked as "all-insets-toggle toggle branch".
389 2004-03-30 Angus Leeming <leeming@lyx.org>
393 * pariterator.[Ch]: added/corrected header blurb.
395 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
397 * dociterator.[Ch]: add an inset_ member
398 (backwardPos): implemented
399 (backwardPos, forwardPos): use inset_ when the stack is empty.
400 (doc_iterator_begin, doc_iterator_end): implemented
401 * pariterator.[Ch]: adjust, add begin, end
402 * insetiterator.[Ch]: adjust, add begin, end
406 * BufferView_pimpl.C:
407 * CutAndPaste.C: adjust
409 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
411 * buffer.C: increment file format to 232.
412 * LaTeXFeatures.C: add bibtopic package.
413 * bufferparams.[Ch]: param \use_bibtopic.
415 * lyxrc.[Ch]: add lyxrc bibtex_command
416 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
418 * buffer.C: increment file format to 231.
420 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
422 * dociterator.C: implement forwardPar
423 * iterators.[Ch]: remove, replaced by
424 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
426 * BufferView_pimpl.C:
429 * bufferview_funcs.C:
435 * Makefile.am: adjust
437 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
439 * CutAndPaste.C (pasteSelection): fix 2 crashes
440 (eraseSelection): fix a crash
441 * paragraph_funcs.C: remove a warning
443 2004-03-28 Angus Leeming <leeming@lyx.org>
446 * LyXAction.C (init): new LFUN_PRINT.
448 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
450 2004-03-27 Angus Leeming <leeming@lyx.org>
453 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
455 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
457 2004-03-27 Angus Leeming <leeming@lyx.org>
459 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
460 insetlist always contains non-null pointers to insets.
462 2004-03-26 Angus Leeming <leeming@lyx.org>
464 * src/BufferView_pimpl.C:
468 * src/output_plaintext.C:
469 * src/outputparams.h:
470 * src/paragraph_funcs.C:
474 * src/frontends/controllers/ControlErrorList.C:
475 * src/frontends/gtk/FileDialogPrivate.C:
476 * src/frontends/gtk/GPainter.C:
477 * src/frontends/gtk/GToolbar.C:
478 * src/frontends/qt2/QRef.C:
479 * src/mathed/math_scriptinset.C: squash compiler warnings.
481 2004-03-26 Angus Leeming <leeming@lyx.org>
483 * ispell.C (LaunchIspell::start):
484 * lyx_cb.C (AutoSaveBuffer::start):
485 invoke run(DontWait) rather than runNonBlocking().
487 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
489 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
491 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
493 * kbsequence.C (print): adjust
495 * kbmap.C (printKeySym): rename and change signature
496 (printKey): use LyXKeySym::print()
498 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
500 * undo.C: add using std::advance to compile for stlport
502 2004-03-24 Angus Leeming <leeming@lyx.org>
504 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
505 it leads to a crash when no buffer is present.
507 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
508 Martin Vermeer <martin.vermeer@hut.fi>
510 * lyxfunc.C (dispatch):
511 * bufferparams.C (readToken): use the new LColor::setColor
513 * LColor.[Ch] (setColor): new version that takes two strings as
514 argument and creates a new color entry if necessary
516 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
518 * buffer.C (makeLaTeXFile): if the main latex file that is
519 processed is usually a subdocument of some master, then pretend
520 for a while that it is actually the master
522 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
524 * buffer.C (getLabelList):
525 (getBibkeyList): use getMasterBuffer()
526 (getMasterBuffer): new method. Returns the main document in the
527 case where one is using included documents.
529 2004-03-25 André Pönitz <poenitz@gmx.net>
533 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
535 * ParagraphList_fwd.h: change ParagraphList to a std::vector
537 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
538 text*.C over here. Rename namespace CutAndPaste to lyx::cap
540 * ParameterStruct.h: merge with ParagraphParameters
542 * lyxtext.h: remove LyXText::parOffset() and getPar()
544 * text3.C: Remove all 'manual' update calls. We do now one per user
545 interaction which is completely sufficient.
549 * BufferView_pimpl.C:
552 * ParagraphParameters.[Ch]:
564 * output_docbook.[Ch]:
566 * output_linuxdoc.[Ch]:
567 * output_plaintext.[Ch]:
569 * paragraph_funcs.[Ch]:
570 * paragraph_pimpl.[Ch]:
578 * frontends/controllers/ControlDocument.C:
579 * frontends/controllers/ControlErrorList.C:
580 * frontends/controllers/ControlSpellchecker.C:
583 * insets/insetbase.h:
584 * insets/insetbibitem.C:
586 * insets/insetbranch.C:
587 * insets/insetcaption.C:
588 * insets/insetcharstyle.C:
589 * insets/insetcharstyle.h:
590 * insets/insetcollapsable.C:
591 * insets/insetcollapsable.h:
593 * insets/insetfloat.C:
594 * insets/insetfoot.C:
595 * insets/insetmarginal.C:
596 * insets/insetnote.C:
597 * insets/insetoptarg.C:
598 * insets/insettabular.C:
599 * insets/insettext.C:
600 * insets/insettext.h:
601 * insets/insetwrap.C:
602 * mathed/math_mboxinset.C:
603 * mathed/math_nestinset.C:
604 * mathed/math_scriptinset.C:
605 * mathed/math_scriptinset.h:
608 2004-03-24 Angus Leeming <leeming@lyx.org>
610 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
611 deal with any child processes that have finished but are waiting to
612 communicate this fact to the rest of LyX.
614 2004-03-24 Angus Leeming <leeming@lyx.org>
616 64-bit compile fixes.
618 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
619 (c-tor): pass lyx::pos_types rather than ints.
621 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
624 * text.C (Delete): compile fix.
625 (getPar): ensure that function declaration is the same as that in
628 2004-03-23 Angus Leeming <leeming@lyx.org>
630 * ispell.C (LaunchIspell):
631 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
632 a boost::shred_ptr rather than a std::auto_ptr.
634 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
636 * lyxfunc.C (getStatus): handle read-only buffers correctly;
637 handle LFUN_FILE_INSERT_*
639 * lyxrc.C (setDefaults, getDescription, output, read):
640 * lyxrc.h: remove ps_command
642 2004-03-22 Angus Leeming <leeming@lyx.org>
644 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
645 Ensure that error_handler is processed once only and that all data
646 is saved before attempting to output any warning messages.
648 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
650 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
652 * tabular.C (TeXRow): crash fix (from Kayvan and André)
654 2004-03-19 André Pönitz <poenitz@gmx.net>
656 * cursor.[Ch] (reset): take main text inset as argument
659 * BufferView_pimpl.C: adjust
661 * paragraph.[Ch]: fix completely broken operator=()
663 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
665 * LColor.C (getFromLyXName): make sure that the color name is used
668 2004-03-17 Angus Leeming <leeming@lyx.org>
671 * LyXAction.C (init): remove LFUN_FORKS_KILL.
673 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
674 dialog and to kill a forked process.
676 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
678 * text2.C (setCursorFromCoordinates): fix font problem
680 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
682 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
683 bogus "rebuild cursor" code
685 2004-03-11 André Pönitz <poenitz@gmx.net>
687 * buffer.[Ch]: use InsetText instead of LyXText as container for
690 * dociterator.[Ch]: drop the BufferView * member which is not needed
691 anymore after the change to buffer.C
697 * BufferView_pimpl.[Ch]:
699 * cursor_slice.[Ch]: adjust
701 * text3.C: fix bug in mathDispatch
703 2004-03-08 André Pönitz <poenitz@gmx.net>
705 * undo.[Ch]: use 'StableDocumentIterator' as base for
708 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
711 * bufferparams.[Ch]: add jurabib support and param.
713 * LaTeX.C: add FIXME/comment.
715 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
717 * buffer.C: increment file format to 230.
719 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
721 * cursor.C (dispatch): avoid infinite loops
723 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
725 * rowpainter.C (paintSelection): fix x coordinates
727 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
729 * text.C (rowBreakPoint): fix breaking before displayed insets
731 2004-03-01 André Pönitz <poenitz@gmx.net>
733 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
735 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
739 * BufferView_pimpl.C:
747 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
753 * BufferView_pimpl.C: rename textwidth -> maxwidth,
754 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
756 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
758 * Bidi.[Ch] (computeTables): const correctness
759 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
760 fill_hfill, fill_label_hfill and x from Row
761 * lyxtext.h: prepareToPrint returns a RowMetrics
762 * rowPainter.C: adjust
763 * text.C (prepareToPrint): use width, not textWidth. adjust
764 (redoParagraphInternal, cursorX): adjust
765 * text2.C (getColumnNearX): adjust
766 (init): put a default value to the top LyXText::width
768 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
770 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
772 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
774 * lyxtext.h: add FontIterator class
776 * text.C (FontIterator, operator*, operator->, operator++): add
777 (rowBreakPoint, setRowWidth): adjust (fixing a
780 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
782 * BufferView_pimpl.C (workAreaDispatch): allow also
783 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
785 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
787 * text.C (rowBreakPoint): fix a bug showing with very large insets
789 2004-02-25 André Pönitz <poenitz@gmx.net>
792 * cursor.[Ch]: move some mathed specific code to mathed
794 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
796 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
797 use_tempdir in preferences
798 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
800 * lyx_main.C: ensure that tempdir is valid
801 * lyxlex.h: correct typo
802 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
803 * paragraph.[Ch] (isMultiLingual): make const
804 * cursor.[Ch] (openable): make const
806 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
808 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
810 2004-02-20 André Pönitz <poenitz@gmx.net>
812 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
814 * cursor.[Ch]: prepare for localized getStatus()
820 * text3.C: streamlines the LyXText cursor movement handlers a bit.
822 2004-02-20 André Pönitz <poenitz@gmx.net>
824 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
826 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
828 * text2.C (setCursorFromCoordinates): switch to absolute coords
831 * text3.C (dispatch): adjust
833 2004-02-16 André Pönitz <poenitz@gmx.net>
835 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
838 * cursor_slice.[Ch]: remove unneeded acessor function
840 * lyxtext.h: rename rtl() to isRTL()
848 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
850 * rowpainter.C (paintSelection): coord fix
852 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
854 * Spacing.C: compile fix
856 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
858 * cursor.C (dispatch): restore current_ before returning
860 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
862 * text2.C (cursorUp, cursorDown): fix coords
865 2004-02-12 André Pönitz <poenitz@gmx.net>
870 * text3.C: add LCursor & parameter to most cursor movement functions
871 remove usage of LyXText::cursorRow() and cursorPar()
873 * cursor.[Ch]: add textRow() needed members
876 * BufferView_pimpl.C:
879 * BufferView_pimpl.C: adjust
881 2004-02-11 André Pönitz <poenitz@gmx.net>
885 * BufferView_pimpl.C: shift undo/redo handling
887 * cursor.[Ch]: fix mathed crash
890 * lyxtext.h: move selectionAsText to LCursor
898 * rowpainter.C: fix excessive drawing
900 2004-02-06 André Pönitz <poenitz@gmx.net>
903 * BufferView_pimpl.[Ch]:
904 * text3.C: move some text specific LFUN handling
906 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
908 * text3.C (checkInsetHit): adjust coords
909 * text2.C (getColumnNearX): adjust coords
910 (edit): adjust coords
911 * text.C (getRowNearY): add two asserts
913 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
916 * format.C: add using std::distance to compile on gcc 2.95/stlport
918 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
920 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
922 2004-02-04 André Pönitz <poenitz@gmx.net>
924 * BufferView.[Ch] (insertInset):
925 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
930 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
932 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
933 on the default clause of the switch
934 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
935 wasn't catched by LCursor::dispatch
937 2004-02-03 André Pönitz <poenitz@gmx.net>
940 * cursor.[Ch]: some additional asserts
942 * undo.[Ch]: remove LyXText dependency in interface
946 * lyxtext.h (firstPar, lastPar): remove dead functions
951 * paragraph.[Ch]: adjust
953 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
955 * lyxfind.C (find): fix argument order in call to ::find
957 2004-02-02 André Pönitz <poenitz@gmx.net>
959 * cursor.[Ch]: remove direct access to anchor
961 * text.C: remove findText() hack
963 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
965 * iterators.[Ch] (lockPath): remove in favour of...
966 * BufferView.[Ch] (setCursor): this addition
967 * BufferView.C (putSelectionAt): adjust
968 * undo.C (performUndoOrRedo): adjust
969 * lyxfunc.C (dispatch): adjust
971 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
973 * iterators.C (lockPath): add a missing slice
974 * undo.C (performUndoOrRedo): remove redundant positioning code
976 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
978 * vc-backend.C (scanMaster): ";" -> ';'
980 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
982 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
985 * lyxtextclass.C (compare_name): rename to...
986 (LayoutNamesEqual): ...this
988 * lyxlex_pimpl.C (compare_tags): inherit from
989 std::binary_function, put back into anon namespace
991 * lyxfind.C (MatchString): inherig from std::binary_function
992 (findChange): use empty() istead of !size()
994 * format.C (FormatNamesEqual): new functor
1001 * converter.C (compare_Converter): rename to...
1002 (ConverterEqual): ...this, and fixup a bit.
1003 (getConverter): use it, and make function const
1004 (getNumber): use it, and make function const
1008 * bufferlist.C: add using boost::bind
1010 * MenuBackend.C (MenuNamesEqual): new functor
1011 (hasMenu): use it, and make function const
1012 (hasSubmenu): use nested bind to get rid of compare_memfun.
1014 2004-01-30 André Pönitz <poenitz@gmx.net>
1016 * BufferView_pimpl.C:
1019 * cursor_slice.[Ch]:
1022 * paragraph_funcs.C:
1023 * paragraph_funcs.h:
1027 * text3.C: move some of the edit(x,y) handling to the insets
1028 some coordinate changes.
1030 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1032 * text.C: add using statements for std::advance and std::distance
1034 * paragraph.C: add using statement for std::distance
1036 * lyxfind.C: add using statement for std::advance
1038 * cursor.C (region): remove std:: from swap
1039 (openable): use nucleus in stead of operator->
1041 * BufferView.C: add using statements for std::distance and std::swap
1043 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1045 * iterators.C: Remove the pimple, move the needed structures to
1046 the header file. Create accessor for the positions stack.
1047 (asPosIterator): remove function
1049 * PosIterator.C (PosIterator): move constructors to top of file
1050 (PosIterator): reimplement the constructor taking a ParIterator in
1052 (setFrom): new function
1053 (operator!=): inline it
1055 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1057 * lyxfind.C (replaceAll): use std::advance
1059 * iterators.h: inherit from std::iterator.
1061 * PosIterator.C (advance, distance): remove
1062 * PosIterator.h: interit from std::iterator.
1064 2004-01-26 André Pönitz <poenitz@gmx.net>
1067 * BufferView_pimpl.[Ch]:
1071 * bufferview_funcs.C:
1081 * output_linuxdoc.C:
1082 * output_plaintext.C:
1084 * paragraph_funcs.[Ch]:
1085 * paragraph_pimpl.[Ch]:
1091 * text3.C: more IU: dumps most of the rest of the mathcursor
1092 implementation into cursor.[Ch]; "globalize" a bit of it.
1094 2004-01-25 Angus Leeming <leeming@lyx.org>
1096 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1098 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1100 * LaTeXFeatures.h: add nice_ and nice() const
1101 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1103 2004-01-20 André Pönitz <poenitz@gmx.net>
1106 * BufferView_pimpl.C:
1108 * bufferview_funcs.C:
1110 * cursor_slice.[Ch]:
1121 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1122 LCursor and mathcursor parts to LCursor and InsetBase.
1124 2004-01-15 André Pönitz <poenitz@gmx.net>
1126 * cursor_slice.[Ch]: add a few covienience functions
1128 * funcrequest.[Ch]: remove BufferView * member
1130 * BufferView_pimpl.C:
1137 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1139 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1141 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1142 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1144 2004-01-13 André Pönitz <poenitz@gmx.net>
1147 * lyxtext.h: hide cursor and selection anchor behind accessor function
1150 * BufferView_pimpl.[Ch]:
1152 * bufferview_funcs.C:
1162 * cursor_slice.[Ch]: some integer type changes for inset unification
1164 * lyxcursor.[hC]: remove, it's CursorSlice now.
1167 * BufferView_pimpl.[Ch]:
1168 * bufferview_funcs.C:
1174 * textcursor.[Ch]: adjust
1176 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1178 * text2.C (undoSpan): add and use
1179 * text.C (breakParagraph): use undoSpan (fix bug 578)
1182 2004-01-08 Angus Leeming <leeming@lyx.org>
1184 * BufferView_pimpl.C (MenuInsertLyXFile):
1185 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1186 * lyxfunc.C (menuNew, open, doImport):
1187 FileFilterList change to the FileDialog open and save functions.
1189 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1191 * ShareContainer.h: make isEqual and isUnique adaptable
1193 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1195 2004-01-07 Angus Leeming <leeming@lyx.org>
1198 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1200 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1202 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1203 functions replacing find, replace and replaceAll.
1205 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1206 LFUN_WORDFIND(FORWARD|BACKWARD).
1208 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1210 * text.C (breakParagraph): remove an outdated #warning
1212 2004-01-07 André Pönitz <poenitz@gmx.net>
1214 * lyxfind.C: somewhat clearer logic
1216 * text.C: prevent crash in cursorX on unitialized row cache
1218 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1220 * lyxcursor.[Ch] (operator>): add
1221 * textcursor.C (selStart, selEnd): use std::min and std::max
1223 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1225 * Chktex.C: include boost/format.hpp
1227 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1229 * InsetList.C: replace functor MathcIt with adaptable functor
1231 (insetIterator): modify accordingly
1233 * BranchList.h: move the BranchNamesEqual functor here from...
1234 * BranchList.C: ... to here
1236 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1238 (add): replace a finding loop with std::find_if.
1240 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1242 * output_docbook.C: moving LatexParam functionality into
1245 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1247 * buffer.C: increment format to 229.
1249 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1252 * lyx_sty.[Ch]: remove minipageindent_def
1258 * text3.C: remove LFUN_INSET_MINIPAGE
1260 2003-12-28 Angus Leeming <leeming@lyx.org>
1262 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1264 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1266 * text2.C (setParagraph): fix off-by-one crash
1268 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1270 * output_docbook.C: header stuff for AGU
1272 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1274 * text2.C (redoCursor): remove
1277 * BufferView_pimpl.C: remove calls to redoCursor and
1278 setCursor(cursor.par(), cursor.pos()) all around
1280 2003-12-15 Angus Leeming <leeming@lyx.org>
1282 * buffer.C: up the format to 228.
1284 2003-12-15 André Pönitz <poenitz@gmx.net>
1286 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1291 * BufferView_pimpl.C:
1300 2003-12-15 Angus Leeming <leeming@lyx.org>
1302 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1303 than getFromGUIName to manipulate the color.
1305 2003-12-14 Angus Leeming <leeming@lyx.org>
1307 * BranchList.[Ch]: minimize the API.
1308 (Branch::getBranch, getColor): now return a 'const &'.
1309 (Branch::setSelected) now returns a bool set to true if the
1310 selection status changes.
1311 (BranchList::clear, size, getColor, setColor, setSelected,
1312 allBranches, allSelected, separator): removed.
1313 (BranchList::find): new functions, returning the Branch with
1315 (BranchList::add, remove): return a bool indicating that
1316 the operation was successful.
1318 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1319 new InsetBranch::isBranchSlected member function.
1321 * LColor.[Ch]: mimimize the API.
1322 (fill): renamed as addColor and made private.
1323 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1324 versions of these functions taking a string arg have been removed.
1326 * bufferparams.C (readToken):
1327 * lyxfunc.C (dispatch):
1328 * lyxrc.C (read): changes due to the altered BranchList and
1331 * factory.C (createInset, readInset): changes due to altered
1334 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1337 * lyxfunc.C: remove insetminipage. "minipage-insert"
1338 now produces a frameless minipage box inset.
1340 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1342 * textcursor.[Ch] (selStart,selEnd): add new methods
1343 remove selection::start, end, use LyXCursor::operator<
1344 * lyxcursor.[Ch] (operator<): add
1345 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1346 * BufferView.[Ch] (unsetXSel): add
1347 * text2.C (clearSelection): use unsetXSel,adjust
1350 * rowpainter.C: adjust
1351 * bufferview_funcs.C (put_selection_at): adjust
1353 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1355 * BufferView_pimpl.C: small coord. correction
1357 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1359 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1360 dragging over the splash screen.
1362 2003-12-11 Angus Leeming <leeming@lyx.org>
1364 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1365 as it is now handled in LyXText::dispatch.
1367 * text3.C (doInsertInset): remove a level of nesting.
1369 2003-12-11 Angus Leeming <leeming@lyx.org>
1371 * factory.C (createInset): changes due to the changed interface to
1372 InsetCommandMailer::string2params.
1374 2003-12-10 Angus Leeming <leeming@lyx.org>
1376 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1377 'dialog-show-new-inset <inset name>'
1379 2003-12-10 Angus Leeming <leeming@lyx.org>
1381 * buffer.C: up the format to 227.
1383 * factory.C: the box inset is now identified simply by 'Box'.
1385 2003-12-10 Angus Leeming <leeming@lyx.org>
1387 * buffer.C: up the format to 226.
1389 * factory.C: the note inset is now identified simply by 'Note'.
1391 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1393 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1394 when a pit is enough. Standarize a couple of loops.
1396 2003-12-05 Angus Leeming <leeming@lyx.org>
1398 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1399 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1400 data to the re-worked "log" dialog.
1402 2003-12-03 André Pönitz <poenitz@gmx.net>
1408 * paragraph_funcs.C:
1410 * text2.C: use Inset::getText instead of Inset::getParagraph
1412 2003-12-03 André Pönitz <poenitz@gmx.net>
1416 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1417 InsetText::read() as LyXText::read()
1419 2003-12-02 Angus Leeming <leeming@lyx.org>
1421 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1422 type. Add a comment in the implementation that the function uses
1423 the stream's bad() function rather than fail() as the std::streams
1426 2003-12-02 André Pönitz <poenitz@gmx.net>
1428 * lyxlex.[Ch]: make interface more similar to std::stream
1430 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1432 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1434 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1436 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1438 * vspace.[Ch]: remove VSpace::NONE
1440 2003-12-01 André Pönitz <poenitz@gmx.net>
1443 * lyxtext.h: move ParagraphList member to LyXText
1444 rename LyXText::ownerParagraphs to LyXText::paragraph
1447 * bufferview_funcs.C:
1457 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1459 * undo.C: fix cursor positioning
1461 2003-12-01 John Levon <levon@movementarian.org>
1463 * BufferView_pimpl.C: fix a crash on exit with
1466 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1468 * BranchList.C: fix setSelected() method.
1470 2003-11-28 André Pönitz <poenitz@gmx.net>
1472 * ParagraphParameters.[Ch]:
1473 * ParameterStruct.h: remove space above/below from Paragraph to
1476 * BufferView_pimpl.C:
1482 * paragraph_funcs.C:
1488 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1490 * factory.C: Syntax change for CharStyles
1492 2003-11-28 André Pönitz <poenitz@gmx.net>
1497 * buffer.[Ch]: move LyXText member
1499 2003-11-28 André Pönitz <poenitz@gmx.net>
1501 * BufferView.[Ch]: make LyXText * text a private member
1503 * BufferView_pimpl.C:
1514 * output_plaintext.C: cleanup
1516 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1519 * lyxtextclass.[Ch]: parametrize SGML document header
1521 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1524 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1527 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1529 * text2.C (setFont): rework using PosIterator (no more recursive)
1530 (setCharFont): no more needed
1531 (setLayout): no more selection cursors fiddling (done by redoCursor)
1532 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1533 destroy remaining ones)
1535 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1537 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1539 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1542 * text3.C: adjust + re-allow multi par depth changes
1543 * textcursor.C: simplify a bit
1545 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1551 * src/output_docbook.C:
1552 * src/output_latex.C:
1557 * src/text2.C: Introducing a number of tags parametrizing various
1558 XML formats that we may want to support
1560 2003-11-25 André Pönitz <poenitz@gmx.net>
1562 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1564 * lyxtext.h (leftMargin/rightMargin): simplify interface
1571 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1573 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1574 master file to any child files. Fixes bug 546.
1576 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1578 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1580 2003-11-24 André Pönitz <poenitz@gmx.net>
1582 * rowpainter.C: simplification
1584 * text2.C (updateCounters): remove call to redoParagraph on
1585 changed labels as this is far too expensive.
1587 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1589 * converter.C (convert): fix a crash: this function gets
1590 called with buffer == 0 from importer code.
1592 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1594 * text3.C (cursorPrevious): make sure that we do not compare
1595 iterators form different containers.
1598 * rowpainter.C (paintSelection): make sure that we do not compare
1599 iterators from different containers.
1601 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1602 iterators from different ParagraphList containers.
1605 * text2.C (LyXText): change order of initialization slightly
1606 (operator=): new function. copy all variables except cache_par_
1607 (moveUp): make sure that we do not compare iterators from
1608 different ParagraphList constainers.
1611 * text.C (firstPar): new function
1612 (lastPar): new function
1613 (endPar): new function
1615 * lyxtext.h: move things around and group public functions, public
1616 variables, private functions, private variables
1618 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1620 * factory.C: change call to InsetERT constructor to avoid
1621 additional invocation of method status
1622 * text2.C (toggleInset): remove redundant update() call
1623 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1624 instead of a Bufferview pointer
1626 2003-11-21 André Pönitz <poenitz@gmx.net>
1628 * rowpainter.C: simplification
1630 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1632 * text3.C (dispatch): make possible to extend a word/row selection
1635 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1637 * lyxtext.h: x0_,y0_ -> xo_,yo_
1638 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1639 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1640 * rowpainter.C (paintRows): paint full paragraphs
1642 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1644 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1647 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1649 * lyxtext.h: add x0_, y0_
1650 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1651 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1653 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1655 * text2.C (setCursorIntern): move the x_target update here *
1656 * text3.C: change some bv() to true/false in calls to
1657 cursorUp/Down/Right/Left
1658 * cursor.C: use helper function.
1660 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1662 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1663 * paragraph_funcs.[Ch]: correct comment
1664 * rowpainter.C: do not paint selections away from bv->cursor()
1665 Fix a long standing selection painting bug.
1666 * text3.C: generalize mouse-selection code to LyXTexts other that
1668 * textcursor.C: do not use y coords if we can use par offsets
1670 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1672 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1673 cursor position after e.g. inset insert)
1675 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1677 * lyxfind.C (replace): adjust to locking removal + some
1680 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1682 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1685 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1688 * output_docbook.C: XML sanitation: new layout
1689 parameters InnerTag and CommandDepth
1691 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1693 * BufferView_pimpl.C:
1695 * text3.C: Fix the insertion and modification of button-style
1698 2003-11-13 André Pönitz <poenitz@gmx.net>
1700 * InsetList.[Ch]: remove deleteLyXText
1702 * paragraph.[Ch]: cache beginOfBody position
1707 * text3.C: remove superfluous update() calls
1711 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1713 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1714 * BufferView.C (fitLockedInsetCursor): remove
1715 * cursor.[Ch] (getDim): add
1716 * text.C (getRowNearY): add faster version
1717 * text3.C: remove some update calls
1719 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1731 * text3.C: The Character Style /XML short element patch.
1733 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1736 * factory.C: Small step to solving 'unable to insert some insets'
1739 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1741 * cursor.[Ch] (updatePos): new function for updating the y
1742 position of the tip inset
1743 * bufferview_funcs.C (put_selection_at):
1744 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1746 2003-11-11 André Pönitz <poenitz@gmx.net>
1748 * text.C: remove big comment on invalid Paragraph pointers as it is
1751 2003-11-11 André Pönitz <poenitz@gmx.net>
1753 * text_funcs.[Ch]: merge with ...
1761 * Makefile.am: remove text_funcs.[Ch]
1763 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1765 * cursor.C (getPos): return absolute cached y coord
1767 * BufferView_pimpl.C (fitCursor): new simplistic code
1768 (workAreaDispatch): add a fitCursor call
1770 2003-11-10 André Pönitz <poenitz@gmx.net>
1773 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1775 2003-11-10 André Pönitz <poenitz@gmx.net>
1777 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1778 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1779 indicate that the cursor needs to leave an inset
1781 * lyxtext.h: remove inset locking
1783 * cursor.[Ch]: re-implement functionality provided by inset locking
1786 * BufferView_pimpl.[Ch]:
1788 * bufferview_funcs.[Ch]:
1800 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1802 * PosIterator.[Ch]: replace the stack with a vector, add inset
1804 * iterators.[C]: adjust
1806 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1808 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1810 * paragraph_funcs.C (readParToken): put the correct id in the
1811 error item, not the id of the top paragraph
1813 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1815 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1816 * bufferview_funcs.C (put_selection_at): use the above
1818 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1820 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1822 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1824 * output_linuxdoc.h:
1825 * output_plaintext.h:
1827 * output_docbook.h: add #include statements
1829 2003-11-05 José Matos <jamatos@lyx.org>
1831 * output_docbook.[Ch]:
1832 * output_latex.[Ch]:
1833 * output_linuxdoc.[Ch]:
1834 * output_plaintext.[Ch]: New files for output formats.
1835 * output.[Ch]: New file for helper functions.
1838 * paragraph_funcs.[Ch]: output functions moved to new files.
1840 * outputparams.h: rename of latexrunparams.h
1848 * paragraph_funcs.[Ch]:
1849 * paragraph_pimpl.[Ch]:
1850 * tabular.[Ch]: rename ascii to plaintext
1851 and LatexRunParams to OutputParams.
1853 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1855 * iterators.[Ch] (text): require bv argument
1856 * undo.C (recordUndo):
1857 * lyxfunc.C (dispatch):
1858 * bufferview_funcs.C (put_selection_at): adjust
1860 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1862 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1864 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1866 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1869 2003-11-04 André Pönitz <poenitz@gmx.net>
1871 * cursor.[Ch]: restructure
1874 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1876 * iterators.[Ch] (asCursor): remove
1878 * lfuns.h: remove LFUN_INSET_EDIT
1884 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1886 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1888 * lyxfind.[Ch]: complete overhaul
1889 * BufferView_pimpl.C:
1891 * paragraph.[Ch] (insert): add
1893 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1897 * text.C: remove dead spellcheck code
1899 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1901 * dispatchresult.h: add a val setter
1903 * cursor.C (dispatch): use a tempvar for data_[i]
1905 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1907 * PosIterator.[Ch]: compile fix
1909 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1911 * text.C (cursorPar): deactivate the cursor cache
1913 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1915 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1917 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1919 * text3.C (dispatch): adjust for new DisptchResult semantics.
1921 * lyxfunc.C (dispatch): handle update when return from
1922 Cursor::dispatch, adjust for new DispatchResult semantics.
1924 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1925 DispatchResult(true) mean to not update. Add class functions for
1926 setting dispatched and update, as well as reading.
1928 * cursor.C (dispatch): don't handle update here
1930 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1932 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1933 * trans_mgr.C: adjust
1935 * paragraph_funcs.C (readParToken): exception safety
1937 * lyxvc.h: store the vcs pointer in a scoped_ptr
1940 * lyxsocket.C (serverCallback): exception safety
1942 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1944 * ispell.C (clone): make it return a auto_ptr
1946 * factory.C (createInset): exception safety
1947 (readInset): exception safety
1949 * bufferlist.C (newBuffer): exception safety
1951 * Thesaurus.C (Thesaurus): use initialization for aik_
1953 * MenuBackend.C (expandToc): exception safety.
1955 2003-11-03 André Pönitz <poenitz@gmx.net>
1959 * bufferview_funcs.C: remove getInsetFromId()
1962 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1968 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1970 * PosIterator.C (distance, advance): new
1971 * bufferview_funcs.[Ch] (put_selection_at): new
1972 * iterators.[Ch] (lockPath): new
1974 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1976 * iterators.[Ch] (asPosIterator): added
1977 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1978 * PosIterator.[Ch]: added
1980 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1984 * cursor.C (dispatch):
1985 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1987 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1988 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1989 contructor, add a class function dispatched. Remove operator>=
1991 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1993 * debug.C: only use the default constructor for debugstream
1996 * main.C (main): include debug.h and setup the lyxerr streambuf
1999 2003-10-31 José Matos <jamatos@lyx.org>
2001 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2003 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2004 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2005 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2006 * paragraph_pimpl.C (simpleTeXSpecialC):
2007 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2008 add LatexRunParams argument.
2010 * exporter.C (Export): change call accordingly.
2012 * latexrunparams.h: add new member to take care of the other backends.
2013 2003-10-30 José Matos <jamatos@lyx.org>
2015 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2016 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2017 factorise code for paragraph output.
2019 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2022 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2024 * text3.C (dispatch):
2025 * lyxfunc.C (dispatch):
2026 * cursor.C (dispatch):
2027 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2029 * dispatchresult.h: make the dispatch_result_t ctor explicit
2031 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2034 * buffer.C: small refactoring of docbook stuff
2036 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2038 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2041 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2043 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2044 operator dispatch_result_t, and operators for == != and >=
2046 * cursor.C (dispatch): adjust for operator dispatch_result_t
2047 removal. comment out call to update
2049 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2051 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2059 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2062 * dispatchresult.h: new file, DispatchResult broken out of
2065 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2067 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2069 * text.C (rowBreakPoint): put a hack inside #if 0
2071 2003-10-28 André Pönitz <poenitz@gmx.net>
2075 * paragraph_funcs.C:
2078 * text2.C: general cleanup (lots of small stuff)
2080 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2082 * text2.C (cursorEnd): simple fix to the "end key goes to one
2083 before the end on last row" bug
2085 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2087 * text.C (backspace): fix the "zombie characters"
2089 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2091 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2093 2003-10-27 André Pönitz <poenitz@gmx.net>
2095 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2097 * factory.C: handle new InsetPagebreak, InsetLine
2099 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2100 and move handling into new InsetPagebreak, InsetLine
2102 * BufferView_pimpl.C:
2104 * ParagraphParameters.C:
2105 * ParameterStruct.h:
2110 * paragraph_funcs.C:
2111 * paragraph_pimpl.C:
2117 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2120 * lyxrow_funcs.[Ch]:
2126 * text3.C: remove lastPos uses in favour of Row::endpos
2128 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2130 * undo.C (performUndoOrRedo): fix two crashes by setting a
2131 cursor by hand and reordering some calls. Use bv->lockInset instead
2132 of inset->edit because the latter loses cursor information
2134 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2136 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2138 (rowBreakPoint): fix width. change point to point + 1.
2139 Add a missing check.
2141 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2144 * lyxfunc.C: fix (at least partly) the problems
2145 with the Nav menu and headers inside branch insets
2148 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2150 * paragraph.C (getChar): add strong asserts
2152 * lyxrow_funcs.C (lastPos): remove hideous hack
2154 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2155 (fill): adjust to that (avoid an infinite loop)
2157 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2159 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2161 2003-10-23 André Pönitz <poenitz@gmx.net>
2163 * RowList_fwd.h: change list<> to vector<> to gain speed
2164 after suggestion from Alfredo
2166 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2168 * lyxtext.h: move the bidi stuff from here...
2171 * Bidi.[Ch]: ... to here
2173 2003-10-23 André Pönitz <poenitz@gmx.net>
2176 * text.C (isLastRow, isFirstRow): new functions
2178 * paragraph.h: new width cache member
2180 * rowpainter.C: replace RowList::iterator with Row & where possible
2182 * lyxfunc.C: replace several view()->text with a single call
2184 * toc.C: fix 'unused' warning
2186 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2188 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2189 when woring with stream::pos_type
2190 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2192 2003-10-22 André Pönitz <poenitz@gmx.net>
2195 * text.C: use Row & instead of RowList::iterator
2197 * lyxrow.h: rename end() to endpos()
2203 2003-10-22 Angus Leeming <leeming@lyx.org>
2205 * buffer.[Ch] (fully_loaded): new member function, returning true
2206 only when the file has been loaded fully.
2207 Used to prevent the premature generation of previews and by the
2208 citation inset to prevent computation of the natbib-style label.
2210 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2211 templates are all set up.
2213 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2215 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2217 * text.C: fixed an "oops" in the "is a bit silly"
2220 2003-10-21 André Pönitz <poenitz@gmx.net>
2222 * FuncStatus.[Ch]: small stuff, whitespace
2224 * lyxfont.[Ch]: operator<<() for debug reasons
2228 * lyxtext.h: whitespace, spelling
2230 * paragraph.C: naming of variables
2233 * text2.C: small stuff
2236 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2238 * text.C: (1) finish off the inset display() work;
2239 (2) fix the "is a bit silly" bug (accessing char
2242 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2244 * text.C: re-introduce display() for insets, fixing the
2245 various bugs (stretch of line above, math inset
2248 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2250 * text.C (rightMargin): remove spurious semicolon
2252 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2255 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2257 * text3.C: fix one crash due to wrong cursor def
2259 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2261 * vc-backend.C (scanMaster): make the regex static
2263 * LaTeX.C (scanAuxFile): make the regexs static
2265 * text3.C (doInsertInset, dispatch, dispatch):
2266 * text2.C (cursorUp, cursorDown):
2267 * text.C (selectNextWordToSpellcheck):
2268 * BufferView_pimpl.C (dispatch):
2269 * lyxfunc.C (dispatch): localDispatch -> dispatch
2271 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2273 * lyxsocket.C: include <cerrno>
2275 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2277 * lyxfunc.C (dispatch): remove textcache stuff
2279 * bufferlist.C (release): remove textcache stuff
2282 * TextCache.C: delete file
2283 * TextCache.h: delete file
2285 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2287 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2288 delete of the bv_->text.
2289 (resizeCurrentBuffer): remove texcache stuff
2290 (workAreaResize): ditto
2292 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2294 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2297 2003-10-16 André Pönitz <poenitz@gmx.net>
2304 * text3.C: speed up by storing y positions per paragraph plus per-row
2305 offset instead of having a 'full' y position in the row.
2307 2003-10-15 André Pönitz <poenitz@gmx.net>
2311 * undo.[Ch]: make undo aware of inner insets
2313 2003-10-14 Angus Leeming <leeming@lyx.org>
2315 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2316 static member functions LyX::ref() and LyX::cref.
2317 (lastfiles): new accessor functions for the new lastfiles_ member var.
2318 (addLyXView, views_): add a new LyXView to the list of views_.
2319 (updateInset): loop over all LyXViews to call their own updateInset
2320 member function, returning a pointer to the Buffer owning the inset.
2322 * BufferView_pimpl.C (loadLyXFile):
2323 * MenuBackend.C (expandLastfiles):
2324 * bufferlist.C (MenuWrite, QuitLyX):
2325 lastfiles is no longer a global variable.
2326 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2328 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2329 static function. Access through LyX::cref().emergencyCleanup().
2331 2003-10-14 André Pönitz <poenitz@gmx.net>
2333 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2335 * undo.[Ch]: restoring part of 'undo in insets'
2338 * undo_funcs.[Ch]: merge with undo.[Ch]
2340 * tabular.C: small cleansing stuff
2342 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2344 * paragraph_funcs.C (readParToken): report unknown insets as error
2345 boxes. Use the outer paragraph as location (also for unknown
2348 * factory.C (readInset): do not abort on reading an unknown inset.
2349 Eat it and return 0.
2351 2003-10-13 Angus Leeming <leeming@lyx.org>
2353 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2355 * lyxrc.C: displayTranslator is now a function,
2356 declared in GraphicsTypes.h.
2358 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2360 * format.C: new placeholder $$a to pass the socket address.
2362 * bufferlist.[Ch]: new function getBufferFromTmp.
2364 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2365 files in the temporary dir.
2367 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2369 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2371 * Makefile.am: add lyxsocket.[Ch].
2373 * lyx_main.C (error_handler): handle SIGPIPE.
2375 2003-10-13 André Pönitz <poenitz@gmx.net>
2377 * BufferView_pimpl.C:
2382 * undo_funcs.[Ch]: use paroffset_type instead of
2383 ParagraphList::iterators to prevent multiple conversion
2384 (and get a more robust interface)
2386 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2388 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2390 * text3.C (dispatch): ditto
2392 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2394 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2395 move the onlyfile, use onlyfile instead of foundfile in a couple
2398 * DepTable.C (update): flush the error stream a bit more
2400 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2402 * lyxserver.C (callback): adjust
2404 * lyxfunc.C (getStatus): add a missing brace in commented code
2405 (ensureBufferClean): reindent
2406 (dispatch): delete version taking a string
2408 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2410 * LaTeX.C (deplog): move found file handlig from here...
2411 (handleFoundFile): .. to new function here.
2412 (deplog): make sure to discover several files mentioned on the
2415 2003-10-10 André Pönitz <poenitz@gmx.net>
2422 * text3.C: fix some of the tabular crashes
2424 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2426 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2428 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2430 2003-10-09 André Pönitz <poenitz@gmx.net>
2432 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2435 * BufferView_pimpl.C:
2436 * bufferview_funcs.C:
2447 * undo_funcs.C: adjust
2449 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2451 * text2.C (incrementItemDepth): new function, use a backtracking
2452 algorithm to discover the correct item depth.
2453 (resetEnumCounterIfNeeded): new function, use a backtracking
2454 algorithm to discover if counter reset is needed.
2455 (setCounter): use them. Simplify a bit. Add different labels for
2456 different item depths for itemize.
2458 * paragraph.C (Paragraph): remove initialization of enumdepth
2461 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2462 enumerate and itemize. Change the type of itemdepth to signed char.
2464 2003-10-08 André Pönitz <poenitz@gmx.net>
2466 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2471 * tabular.[Ch]: fix crash after 'row-insert'
2473 2003-10-08 Angus Leeming <leeming@lyx.org>
2475 Fix doxygen warnings.
2477 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2478 Remove CutAndPaste:: prefix from header file declaration.
2480 * LColor.h (fill): remove LColor:: prefix from declaration.
2482 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2483 use lyx::depth_type rather than Paragraph::depth_type so that
2484 header file and .C file match.
2486 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2488 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2489 * aspell.C: \file aspell_local.C -> \file aspell.C
2490 * gettext.C: \file gettext.C -> \file src/gettext.C
2491 * gettext.h: \file gettext.h -> \file src/gettext.h
2492 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2493 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2494 * text.C: \file text.C -> \file src/text.C
2496 * toc.C: move comment so that doxygen is not confused.
2498 2003-10-07 Angus Leeming <leeming@lyx.org>
2500 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2502 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2505 * aspell_local.h: add forgotten std::string's.
2507 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2514 * text3.C: The Box patch. Fancybox support, minipage, parbox
2516 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2522 * ParagraphParameters.h:
2532 * lyxtextclasslist.h:
2535 * paragraph_pimpl.C:
2536 * textcursor.h: add <string> and other small fixes to make Lars'
2537 std::string patch compile with STLport.
2539 2003-10-06 Angus Leeming <leeming@lyx.org>
2541 * LColor.h: Add missing #include <string>.
2543 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2545 * All most all file in all subdirs: Make <string> be the prefered
2546 way of getting to std::string, add using declarations.
2548 2003-10-06 André Pönitz <poenitz@gmx.net>
2550 * metricsinfo.C: initialize LyXFont before changing attribute.
2551 (fixes the 'math in \emph is upright' bug)
2553 2003-10-06 André Pönitz <poenitz@gmx.net>
2555 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2557 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2560 * paragraph_pimpl.C: Small fixes to build using STLport
2562 2003-10-02 André Pönitz <poenitz@gmx.net>
2565 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2567 2003-10-01 André Pönitz <poenitz@gmx.net>
2569 * factory.C: assert early
2571 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2573 * lyx_main.C: remove the global debug object
2575 * debug.h: adjust for new debugstream
2577 * debug.C: adjust for new debugstream and keep the global debug
2580 2003-09-22 Angus Leeming <leeming@lyx.org>
2582 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2583 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2584 an incomplete class LyXFont.
2586 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2588 * factory.C: bug fix in branches
2590 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2592 * lyxfunc.C (processKeySym): adjust
2594 (dispatch): change arg name from ev to func, adjust
2595 (sendDispatchMessage): ditto
2597 * lyx_main.C (defaultKeyBindings): adjust keybindings
2598 (deadKeyBindings): ditto
2600 * kbsequence.C (addkey): return a FuncRequest
2602 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2604 * kbmap.C (bind): take a FuncRequest as arg, adjust
2607 (defkey): change to take a FuncRequest as arg, adjust
2608 (findbinding): take a FuncRequest as arg, adjust.
2610 * funcrequest.h (operator=): added
2612 * funcrequest.C (FuncRequest): default kb_action changed from
2613 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2615 * buffer.C (dispatch): simplify
2616 (dispatch): adjust to take a FuncRequest as arg, adjust
2618 * boost.C (assertion_failed): change assertion message slightly
2620 * ToolbarBackend.C (read): simplify
2622 * MenuBackend.C (binding): adjust call to findbinding, add a
2623 message if no binding is found.
2625 (expandToc): correct by adding a empty FuncRequest
2627 * LyXAction.C: include <boost/assert.hpp>
2628 (isPseudoAction): delete function
2629 (LookupFunc): change name to...
2630 (lookupFunc): this. change return type to FuncRequest.
2631 (getActionName): take kb_action as arg, simplify
2632 (funcHasFlag): add an assert, simplify.
2634 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2636 * toc.C (action): return a FuncRequest, simplify
2638 * lyxfunc.C (processKeySym): adjust
2639 (getStatus): delete version that takes an int.
2641 (dispatch): delete version that takes action as int
2643 (sendDispatchMessage): simplify and adjust
2645 * funcrequest.C (getArg): take unsigned int as arg
2647 * ToolbarBackend.C (read): adjust
2648 (add): delete version that takes func as a string.
2649 (getIton): take a FuncRequest as arg
2651 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2654 * MenuBackend.C (MenuItem): add a new construct that only takes a
2655 Kind, simplify the constructor use for submenus.
2657 (expandLastfiles): adjust
2658 (expandDocuments): adjust
2659 (expandFormats): adjust
2660 (expandFloatListInsert): adjust
2661 (expandFloatInsert): adjust
2662 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2664 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2665 Remove class variables lyx_pseudo_map and lyx_arg_map
2667 * LyXAction.C (searchActionArg): delete function
2668 (getPseudoAction): delete function
2669 (retrieveActionArg): delete function
2670 (LookupFunc): make it return kb_action, simplify.
2671 (getActionName): simplify
2673 * factory.C (createInset): fix new bug
2675 2003-09-19 Angus Leeming <leeming@lyx.org>
2677 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2678 masterFilename_ parameter in the include inset.
2680 * factory.C (createInset): changes due to the changes to InsetInclude.
2682 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2684 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2686 2003-09-18 Angus Leeming <leeming@lyx.org>
2689 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2690 Inset::fillWithBibKeys.
2691 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2693 2003-09-18 Angus Leeming <leeming@lyx.org>
2695 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2697 (ctor): pass and store a 'Buffer const &'
2698 (buffer): new member function.
2700 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2701 '*this' to the LaTeXFeatures ctor.
2703 2003-09-18 Angus Leeming <leeming@lyx.org>
2709 * text.C: rename EnumLColor as LColor_color.
2711 2003-09-18 Angus Leeming <leeming@lyx.org>
2713 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2714 remove #include "insets/insetbase.h" from cursor.h.
2716 2003-09-18 Angus Leeming <leeming@lyx.org>
2718 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2719 InsetOld_code to remove #include "inset.h".
2721 * iterators.C: add #include "insets/inset.h"
2723 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2725 * BufferView.C: remove more locking stuff that apparently doesn't
2726 do anything sensible.
2728 2003-09-16 André Pönitz <poenitz@gmx.net>
2731 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2734 2003-09-16 Angus Leeming <leeming@lyx.org>
2736 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2738 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2741 * paragraph.h: remove #include "lyxfont.h". Forward declare
2744 2003-09-16 Angus Leeming <leeming@lyx.org>
2746 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2747 of support/textutils.h.
2748 (isWord): move the contents of support/textutils.h's IsWordChar here.
2754 * text2.C: add #include "paragraph.h".
2757 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2759 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2765 * LaTeX.C: use namespace alias for lyx::support::os
2767 2003-09-16 Angus Leeming <leeming@lyx.org>
2770 * bufferview_funcs.C:
2773 * paragraph_pimpl.C:
2775 * text.C: add #include "LColor.h".
2777 2003-09-16 Angus Leeming <leeming@lyx.org>
2779 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2780 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2782 Store the FontBits::color variable as an int rather than as an
2783 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2786 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2787 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2788 string calls together.
2790 * lyxrc.C: add #include "LColor.h".
2792 2003-09-15 Angus Leeming <leeming@lyx.org>
2794 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2797 2003-09-15 Angus Leeming <leeming@lyx.org>
2799 * LColor.h: add an EnumLColor wrapper for LColor::color.
2801 * lyxfont.[Ch] (color, setColor, realColor):
2802 * lyxtext.h, text.C (backgroundColor):
2803 pass EnumLColor args to/from the functions, rather than LColor::color
2807 * lyxtext.h: forward declare EnumLColor.
2809 * lyx_main.C: add #include "LColor.h".
2811 2003-09-15 Angus Leeming <leeming@lyx.org>
2813 * .cvsignore: add lyx-gtk.
2815 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2820 * ParagraphParameters.C
2824 * bufferview_funcs.C
2834 * vc-backend.C: remove usage of STRCONV
2836 2003-09-15 Angus Leeming <leeming@lyx.org>
2838 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2839 explicitly define the color passed to the painter.
2841 2003-09-15 Angus Leeming <leeming@lyx.org>
2843 * bufferparams.C (BufferParams): reorder member initializers to avoid
2846 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2848 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2849 * text.C (updateRowPositions): remove an unusual nop
2851 2003-09-12 André Pönitz <poenitz@gmx.net>
2853 * BufferView_pimpl.C:
2862 * Counters.[Ch]: finish the 'automatic counters' job
2864 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2866 * aspell.C: include <boost/assert.cpp> (compile fix)
2868 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2870 * boost.C (assertion_failed): use lyx::support::abort instead of
2873 2003-09-10 Angus Leeming <leeming@lyx.org>
2875 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2876 with their _fwd progeny.
2878 2003-09-09 Angus Leeming <leeming@lyx.org>
2880 134 files throughtout the source tree: replace 'using namespace abc;'
2881 directives with the appropriate 'using abc::xyz;' declarations.
2883 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2885 * boost.C (emergencyCleanup): moved here from LAssert.c
2886 (assertion_failed): new function, called by BOOST_ASSERT
2888 * several files: change Assert to BOOST_ASSERT
2890 2003-09-09 Angus Leeming <leeming@lyx.org>
2892 * buffer.[Ch]: Add an Impl class and move Buffer's member
2893 variables into it. As a result move several header files out of
2896 Add header files to lots of .C files all over the tree as a result.
2898 2003-09-09 Angus Leeming <leeming@lyx.org>
2900 * buffer.[Ch]: make Buffer's member variables private. Add
2903 Lots of changes all over the tree as a result.
2905 2003-09-08 Angus Leeming <leeming@lyx.org>
2907 * graph.C: #include <config.h>.
2909 2003-09-08 Angus Leeming <leeming@lyx.org>
2913 * BufferView_pimpl.C:
2942 * toc.C: remove redundant using directives.
2944 2003-09-07 Angus Leeming <leeming@lyx.org>
2946 * LaTeXFeatures.h: remove #include "support/types.h".
2947 * ToolbarBackend.h: remove #include <algorithm>.
2948 * changes.h: remove #include <ctime>.
2949 * debug.h: remove #include <iosfwd>.
2950 * graph.h: remove #include "support/std_string.h".
2951 * lyx_main.h: remove #include <csignal>.
2952 * lyxlex_pimpl.h: remove #include <fstream>.
2953 * sgml.h: remove #include <algorithm>, <utility>.
2954 * toc.h: remove #include "support/std_ostream.h".
2955 Add #include <iosfwd>.
2957 2003-09-07 Angus Leeming <leeming@lyx.org>
2959 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2961 * converter.h: forward declare LatexRunParams.
2962 * encoding.h: remove #include "lyxrc.h".
2963 * lyxtext.h: remove #include "LColor.h".
2964 * lyxtextclass.h: remove #include "support/types.h".
2965 * trans.h: remove #include "tex-accent.h".
2966 * trans_mgr.h: remove #include "tex-accent.h".
2967 * insets/inset.h: remove #include "support/types.h", <vector>.
2968 * insets/insetcollapsable.h: remove #include "LColor.h".
2969 * insets/insetinclude.h: remove #include "dimension.h".
2970 * insets/insetlatexaccent.h: remove #include "dimension.h".
2971 * insets/insetoptarg.h:: remove #include "insettext.h".
2972 * insets/insettext.h: remove #include "dimension.h",
2973 <boost/shared_ptr.hpp>
2975 * insets/renderers.h: add #include "dimension.h".
2976 * insets/updatableinset.h: add #include "support/types.h".
2978 * many .C files: Associated changes.
2980 2003-09-06 Angus Leeming <leeming@lyx.org>
2982 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2983 one, inside testInvariant.
2985 * PrinterParams.C: new file.
2986 * PrinterParams.[Ch]: move the function bodies out of line.
2988 2003-09-06 Angus Leeming <leeming@lyx.org>
2990 * ParagraphParameters.h: forward declare ParameterStruct rather than
2991 including its header file.
2992 (depth): moved out-of-line.
2994 2003-09-06 Angus Leeming <leeming@lyx.org>
2996 * BufferView_pimpl.h:
2999 * lyxfunc.h: forward declare LyXKeySym rather than
3000 #include "frontends/LyXKeySym.h".
3002 * BufferView_pimpl.C:
3005 * lyxfunc.C: associated changes.
3007 2003-09-06 Angus Leeming <leeming@lyx.org>
3009 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3010 As a result, can remove the #include "insets/inset.h" from BufferView.h
3012 2003-09-06 Angus Leeming <leeming@lyx.org>
3014 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3015 As a result, can remove the #include "insets/inset.h" from BufferView.h
3017 2003-09-06 Angus Leeming <leeming@lyx.org>
3023 * bufferview_funcs.C:
3024 * BufferView_pimpl.C:
3029 * ParagraphParameters.C:
3034 * frontends/controllers/ControlDocument.C:
3035 * insets/insetcaption.C: rearrange the #includes into some sort of
3038 * buffer.h: remove #includes ErrorList.h, undo.h
3040 2003-09-06 Angus Leeming <leeming@lyx.org>
3042 * support/types.h: add a 'depth_type' typedef, used to store the
3043 nesting depth of a paragraph.
3046 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3047 defining explicitly.
3050 * paragraph_funcs.h:
3051 * ParagraphParameters.h:
3052 * sgml.h: use lyx::depth_type rather than Paragraph or
3053 ParameterStruct's depth_type.
3056 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3059 * BufferView_pimpl.C:
3061 * ParagraphParameters.C:
3064 * bufferview_funcs.C:
3071 * frontends/LyXView.C:
3072 * frontends/controllers/ControlDocument.C:
3073 * frontends/controllers/ControlErrorList.C:
3074 * insets/insetbibitem.C:
3075 * insets/insetbranch.C:
3076 * insets/insetcaption.C:
3077 * insets/insetcollapsable.C:
3078 * insets/insetenv.C:
3079 * insets/insetert.C:
3080 * insets/insetfloat.C:
3081 * insets/insetfoot.C:
3082 * insets/insetfootlike.C:
3083 * insets/insetnewline.C:
3084 * insets/insetquotes.C:
3085 * insets/insettabular.C:
3086 * insets/insettext.C:
3087 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3089 * frontends/controllers/ControlChanges.C: #include "changes.h".
3091 2003-09-06 Angus Leeming <leeming@lyx.org>
3093 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3094 than #including paragraph.h.
3097 * RowList.h: deleted. Superfluous.
3107 * insets/insettext.h: use ParagraphList_fwd.h rather than
3110 * paragraph.h: don't forward declare ParagraphList.
3113 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3114 rather than ParagraphList.h. paragraph.h is still needed for the
3115 Paragraph::depth_type parameters.
3117 * textcursor.h: enable it to compile stand-alone in light of the
3120 * bufferview_funcs.C:
3132 * frontends/controllers/ControlParagraph.C:
3133 * frontends/controllers/ControlTabular.C:
3134 * insets/insetmarginal.C:
3135 * insets/insetminipage.C:
3136 * insets/insetnote.C:
3137 * insets/insetoptarg.C: add header files needed to compile again.
3139 2003-09-06 Angus Leeming <leeming@lyx.org>
3141 * RowList_fwd.h: new file, forward-declaring Row rather than
3142 #including lyxrow.h.
3147 * insets/insettext.h: use it instead of RowList.h
3149 * bufferview_funcs.C:
3156 * text3.C: #include "RowList.h".
3158 2003-09-05 Angus Leeming <leeming@lyx.org>
3160 * factory.C (createInset):
3161 * vspace.C (c-tor): replace sscanf call with an istringstream.
3162 * ispell.C: re-add missing HP/UX headers.
3163 * lyxserver.C: re-add missing os2 headers.
3165 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3174 * text3.C: re-add missing system headers, needed for 2.95.2.
3176 2003-09-05 Angus Leeming <leeming@lyx.org>
3178 Changes most place everywhere due to the removal of using directives
3179 from support/std_sstream.h.
3181 2003-09-05 Angus Leeming <leeming@lyx.org>
3183 Replace LString.h with support/std_string.h,
3184 Lsstream.h with support/std_sstream.h,
3185 support/LIstream.h with support/std_istream.h,
3186 support/LOstream.h with support/std_ostream.h.
3188 Changes resulting throughout the tree.
3190 2003-09-05 Angus Leeming <leeming@lyx.org>
3192 * sgml.h: ensure that the header file can be compiled stand-alone.
3193 * *.C: strip out redundant #includes. (320 in total.)
3195 2003-09-04 Angus Leeming <leeming@lyx.org>
3197 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3198 here (from getPackages).
3200 * debug.[Ch]: add a new EXTERNAL tag.
3202 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3204 * text2.C (cursorEnd): simplify
3206 (getColumnNearX): adjust
3208 * text.C (computeBidiTables): adjust
3211 * rowpainter.C (paintChars): adjust
3212 (paintSelection): adjust
3213 (paintChangeBar): adjust
3216 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3218 (numberOfSeparators): adjust
3220 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3226 * text3.C: Restricts the mouse click functionality
3227 of insets like bibtex, include, toc and floatlist to the visible
3228 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3229 up the dialogs. Cursor has to be in front of the inset (i.e.
3230 start of row) for this to function.
3232 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3234 * bufferview_funcs.C (currentState): output row information
3236 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3238 * bufferview_funcs.C (currentState): output paragraph position
3240 2003-09-04 Angus Leeming <leeming@lyx.org>
3242 * FloatList.h: move out #include "Floating.h".
3243 * LaTeX.h: move out #include "DepTable.h".
3244 * LyXAction.h: move out #include "funcrequest.h".
3245 * buffer.h: move out #include "author.h", "iterators.h".
3246 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3247 * lyx_main.h: move out #include "errorlist.h".
3248 * lyxfunc.h: move out #include "FuncStatus.h".
3249 * lyxtext: move out #include "lyxcursor.h".
3250 * paragraph_pimpl.h: move out #include "counters.h".
3252 2003-09-03 Angus Leeming <leeming@lyx.org>
3254 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3255 preamble_snippets list, enabling us to add snippets to the preamble
3256 only if the snippet was not there already.
3258 2003-09-04 Angus Leeming <leeming@lyx.org>
3260 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3262 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3264 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3267 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3269 * BranchList.C: point fix, earlier forgotten
3271 2003-09-02 Angus Leeming <leeming@lyx.org>
3273 * box.C (contains): renamed from 'contained' after a fantastic
3276 2003-09-02 John Levon <levon@movementarian.org>
3282 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3284 2003-09-02 John Levon <levon@movementarian.org>
3286 * text2.C: simplification of cursorEnd(), including partial
3289 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3291 * buffer.C (readFile): add a space
3293 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3295 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3297 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3299 * buffer.C (readFile): new function, take a filename and a
3300 ParagraphList::iterator
3302 (readFile): adjust, make it private. don't use setStream, make
3303 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3304 always contain the filename.
3306 * BufferView.C (insertLyXFile): simplify and make it work for
3309 2003-08-30 John Levon <levon@movementarian.org>
3311 * Makefile.am: fix dist (from Kayvan)
3313 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3315 * most files: change to use const Buffer refs
3317 2003-08-27 André Pönitz <poenitz@gmx.net>
3319 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3320 on top of ownerPar().
3322 2003-08-27 John Levon <levon@movementarian.org>
3324 * funcrequest.C: properly initialise POD members
3326 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3328 * lyxtext.h (top_y): move top_y from here
3333 * BufferView_pimpl.[Ch]: to here
3334 * frontends/screen.C:
3335 * insets/insettabular.C:
3336 * insets/insettext.C: adjust
3337 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3339 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3342 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3344 2003-08-26 André Pönitz <poenitz@gmx.net>
3346 * paragraph_func.[Ch] (outerPar): new function
3349 * paragraph_funcs.C:
3350 * paragraph_funcs.h:
3351 * paragraph_pimpl.C:
3352 * text2.C: remove Inset::par_owner
3354 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3359 * text2.C: eliminates the needFullRow/display() stuff
3360 altogether, putting the logic in metrics/draw in the insets.
3362 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3364 * text2.C (redoParagraphInternal, redoParagraphs):
3365 * text.C (redoParagraph): add a call to updateRowPositions at the
3366 end of each 'metrics-like' call. Remove all others.
3367 (getRow): remove the 'y-computing' version.
3368 (getRowNearY): do not compute nor return the real y. Solve the
3369 'y < 0' problem and simplify.
3371 2003-08-22 Angus Leeming <leeming@lyx.org>
3373 * *.[Ch]: clean-up of licence and author blurbs.
3374 Also move config.h out of a few .h files and into a few .C files.
3376 2003-08-22 André Pönitz <poenitz@gmx.net>
3378 * lyxrow.[Ch]: add x_ and *fill_ members
3383 * text2.C: adjust/remove prepareToPrint() calls
3385 2003-08-22 André Pönitz <poenitz@gmx.net>
3387 * lyxrow.[Ch]: add end_ member
3389 * lyxrow_funcs.C: use LyXRow::end_
3391 * lyxtext.h (singleWidth): add LyXFont parameter
3394 * text2.C: adjust LyXText::singleWidth() calls
3396 * text.C (redoParagraph): simplify row breaking logic
3399 2003-08-19 André Pönitz <poenitz@gmx.net>
3401 * funcrequest.C: initialize button_ member
3404 * rowpainter.[Ch]: interface consolidation
3406 2003-08-18 André Pönitz <poenitz@gmx.net>
3409 * BufferView_pimpl.C:
3411 * paragraph_funcs.C:
3413 * text3.C: remove LyXScreen::draw() and fitCursor calls
3415 * BranchList.h: remove spurious semicolons
3417 * MenuBackend.C: fix branchlist related crash
3419 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3427 * bufferparams.[Ch]:
3431 * text3.C: implements the 'branch inset'
3432 idea. This allows the output of various versions of a document
3433 from a single source version, selectively outputing or suppressing
3434 output of parts of the text.
3435 This implementation contains a 'branch list editor' in a separate
3436 tab of the document settings dialog. Branches are user definable
3437 and have a "display colour" to distinguish them on-screen.
3439 ColorHandler was somewhat cleaned up.
3440 (1) make possible a dynamically growing LColor list by allowing
3441 the graphic context cache to grow along (vector);
3442 (2) eliminate an IMHO unnecessary step in colour allocation.
3444 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3446 * BufferView_pimpl.C: compile fix
3448 2003-08-15 André Pönitz <poenitz@gmx.net>
3450 * rowpainter.C: remove extra metrics calls
3452 * lyxtext.h: merge the two constructors into a single one,
3453 pass reference to owner's par list
3455 * BufferView_pimpl.C:
3459 2003-08-15 André Pönitz <poenitz@gmx.net>
3461 * lyxrow_funcs.[Ch]:
3464 * paragraph_funcs.C:
3469 * text_funcs.C: split LyXText::rowlist_ into individual
3470 Paragraph::rows_ chunks
3473 * BufferView_pimpl.[Ch]:
3476 * text3.C: remove toggleSelection()
3478 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3480 * bufferlist.C: beautify two alerts (shorter text of buttons)
3481 * buffer.C: Remove redundant ' ' from message
3483 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3484 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3485 rename VALIGN_CENTER to VALIGN_MIDDLE
3487 2003-08-11 André Pönitz <poenitz@gmx.net>
3489 * lyxtext.h (getPar):
3490 * text.C: new function
3492 2003-08-11 André Pönitz <poenitz@gmx.net>
3495 * tracer.[Ch]: remove unneeded files
3497 * InsetList.[Ch]: remove resizeInsetsLyXText()
3502 * text3.C: merge insertParagraphs() and appendParagraph()
3503 remove breakAgain(), update()
3505 * BufferView_pimpl.[Ch]:
3506 * bufferview_funcs.[Ch]:
3510 * tabular.C: adjust after text & InsetList changes.
3512 2003-08-08 André Pönitz <poenitz@gmx.net>
3514 * text.C (insertChar, backspace): replace rowlist fiddling
3515 with rebreak of full par
3518 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3519 checkParagraph, updateInset): removed
3521 2003-08-07 André Pönitz <poenitz@gmx.net>
3524 * text3.C: merge some LFUN handlers, remove dead code
3526 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3528 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3530 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3532 * text2.C (DEPM): fix part of bug 1255 and 1256
3534 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3536 * BufferView_pimpl.C (workAreaDispatch): change to use
3537 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3538 that are no mouse related.
3540 2003-08-05 André Pönitz <poenitz@gmx.net>
3543 * BufferView_pimpl.[Ch]:
3544 * bufferview_funcs.C:
3546 * text3.C: rip out "deep update"
3548 * textcursor.[Ch] (last_sel_cursor): remove unused member
3550 2003-08-04 André Pönitz <poenitz@gmx.net>
3553 * BufferView_pimpl.[Ch]:
3554 * ParagraphParameters.C:
3555 * bufferview_funcs.C:
3561 * text3.C: replace "complicated" BufferView::update(...) calls with
3564 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3566 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3568 * Makefile.am (lyx_SOURCES): add paper.h
3570 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3572 * Makefile.am: move things around so that both lyx-qt and
3573 lyx-xforms can be built (according to --with-frontend). Then lyx
3574 is a symbolic link to lyx-[firstfrontend]
3576 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3578 * Always use std::endl with lyxerr
3580 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3582 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3584 2003-08-01 André Pönitz <poenitz@gmx.net>
3587 * BufferView_pimpl.[Ch]:
3589 * text3.C: merge BufferView::repaint() and BufferView::update()
3591 2003-08-01 José Matos <jamatos@lyx.org>
3593 * buffer.[Ch]: file_format is no longer a buffer data element.
3595 2003-08-01 André Pönitz <poenitz@gmx.net>
3600 * text2.C: make redoParagraph more independent of current cursor
3602 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3604 * text2.C: remove unneeded members
3606 2003-07-30 André Pönitz <poenitz@gmx.net>
3608 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3610 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3611 create a single function...
3613 * paragraph_funcs.C (moveItem): ... here.
3616 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3618 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3620 * LColor.[Ch]: Add comment and greyedout logical colors.
3622 2003-07-30 André Pönitz <poenitz@gmx.net>
3624 * tabular.C: don't use Assert too heavily. This crashes where it
3627 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3629 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3630 is disabled (bug 1232)
3632 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3634 * factory.C: limited 'arg' scope
3636 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3638 * factory.C: fixed Note submenu issues
3640 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3642 * factory.C: submenu for Note/Comment/Greyedout
3644 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3647 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3649 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3652 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3653 greyedout. Patch provided by Jürgen Spitzmüller.
3655 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3657 * kbmap.C (read): fix error message when reading bind files
3659 2003-07-29 Angus Leeming <leeming@lyx.org>
3661 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3662 certainly does not do what it purports to do. I am doing it, and
3663 us, a favour by killing it.
3665 2003-07-28 José Matos <jamatos@lyx.org>
3667 * buffer.C (readBody, do_writeFile):
3668 * paragraph.C(readParagraph): \end_document replaces \the_end.
3670 2003-07-29 André Pönitz <poenitz@gmx.net>
3673 * BufferView_pimpl.[Ch]:
3677 * textcursor.[Ch]: remove toggleToggle & Co
3679 2003-07-28 José Matos <jamatos@fep.up.pt>
3681 * buffer.C (readParagraph):
3682 * params_func (readParToken, readParagraph):
3683 * paragraph.C (write): \layout -> \begin_layout.
3685 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3687 * lyxlex_pimpl.C (setFile): clean up slightly.
3689 * bufferparams.h: add compressed var
3691 * buffer_funcs.C (readFile): adjust for LyXLex change
3692 (newFile): ditto + simplify
3694 * buffer.C (writeFile): handle writing of compressed files
3696 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3697 Check if the file is compressed and set a bufferparm if so.
3699 * Makefile.am (lyx_LDADD): remove explicit -lz
3701 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3703 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3704 makeDocBookFile): put the real LyX version in the first line of
3708 * version.C.in: remove lyx_docversion
3710 * tabular.C (write_attribute): add a template-based version to
3711 write enums properly
3713 2003-07-28 André Pönitz <poenitz@gmx.net>
3718 * text3.C: use doubles again for x-coordinates. They are needed.
3720 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3722 * messages.C (getLocaleDir): use lyx_localedir()
3724 * lyxlex_pimpl.C (setFile): compress stuff
3726 * buffer.C (writeFile): add some compression stuff
3727 (do_writeFile): new func, dont call expliti close... will this
3730 * Makefile.am (lyx_LDADD): add -lz
3732 2003-07-28 José Matos <jamatos@fep.up.pt>
3734 * buffer.C: increment file format.
3735 * paragraph_funcs (readParagraph, readParToken):
3736 * paragraph.C (readParagraph): add \end_layout.
3738 2003-07-27 Angus Leeming <leeming@lyx.org>
3740 * Makefile.am: remove special casing for configure-time setting of
3741 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3743 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3744 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3746 2003-07-26 André Pönitz <poenitz@gmx.net>
3748 * paragraph_func.[Ch]:
3749 * paragraph.C (realizeFont): inline it whereever it is used
3754 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3757 2003-07-26 André Pönitz <poenitz@gmx.net>
3761 * text2.C: get rid of LyXText::need_break_row
3763 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3765 * toc.[Ch]: put namespace toc inside namespace lyx
3767 * MenuBackend.C (expandToc2): adjust for lyx::toc
3770 * lyxfunc.C (dispatch): adjust for lyx::find
3772 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3773 lyx::find instead. Reorganize a bit.
3774 (LyXReplace): rename to replace
3775 (LyXFind): rename to find
3777 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3780 2003-07-26 André Pönitz <poenitz@gmx.net>
3782 * text.C (setHeightOfRow): restrict scope of temporary variable
3784 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3785 code (never has been used?)
3787 2003-07-27 Asger Alstrup <alstrup@local>
3789 * text.C (fill): Optimise algorithm to exploit that we can reuse
3790 the LyXFont for many characters.
3791 (setHeightOfRow): Same thing.
3792 (rowBreakPoint): Same thing.
3794 2003-07-26 Asger Alstrup <alstrup@local>
3796 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3798 * text.C (singleWidth): Spurious font copying in hot-spot
3799 singleWidth avoided. Reorder tests for arabic for efficiency.
3801 * text.C (fill): handle empty paragraphs better.
3803 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3806 * encoding.h: add includes
3808 * lyxrc.C: remove reading of bind files
3810 * lyx_main.C (init): setup bindings and menus only if we have a
3813 * kbmap.C (read): new method. Do the actual reading of bind
3816 * converter.C (dvipdfm_options):
3819 (output): adapt PAPER_* enums.
3821 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3823 * bufferparams.h: remove paper-related enums from there
3825 * paper.h: New file. A trivial header file to hold paper-related
3826 enums. It should later expand to contain many paper-related
3829 * lyxrc.C: declare extern displayTranslator
3831 2003-07-27 José Matos <jamatos@fep.up.pt>
3833 * tabular.[Ch] (linuxdoc): add support for tables and figures
3836 2003-07-27 José Matos <jamatos@fep.up.pt>
3838 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3839 consistency in both functions.
3840 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3842 2003-07-26 Asger Alstrup <alstrup@local>
3844 * rowpainter.C (paintRows): Change algorithm to work directly on
3845 the insets rather than asking every character in the document
3846 whether its an inset.
3848 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3850 * buffer.C (openFileWrite): factorize some code
3852 2003-07-26 Angus Leeming <leeming@lyx.org>
3855 * lyx_main.[Ch]: replace occurances of system_tempdir with
3858 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3860 * rename Inset to InsetOld
3862 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3864 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3865 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3866 which I think is a bit clearer. EDIT is gone, since it was
3867 premature optimisation, and broken for mathed anyway.
3868 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3869 with cursor positioning in insets as well (math insets still do not
3870 work, but that's a different story anyway.) It mysteriously
3871 crashes sometimes with undo in the first paragraph, but I'm fairly
3872 confident that this is a compiler bug.
3874 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3876 * paragraph.C (Paragraph): adjust for new clone return type
3878 (copyIntoMinibuffer): ditto
3880 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3882 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3883 by not having a special case, and always doing a full rebreak of
3884 the document after undo.
3886 2003-07-23 Angus Leeming <leeming@lyx.org>
3888 * factory.C (createInset): InsetExternal::setParams now takes a
3891 2003-07-23 Angus Leeming <leeming@lyx.org>
3893 * factory.C (createInset): changed interface to the external and
3894 graphics mailers' string2params functions.
3896 2003-07-23 Angus Leeming <leeming@lyx.org>
3898 * factory.C (createInset): pass a
3899 Buffer const * parameter to InsetExternalMailer's string2params.
3901 2003-07-22 John Levon <levon@movementarian.org>
3903 * Thesaurus.h: include the right aiksaurus header
3905 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3907 * MenuBackend.C (expand): check menu shortcuts unconditionally
3909 2003-07-21 Angus Leeming <leeming@lyx.org>
3911 * factory.C (createInset): pass a
3912 buffer_path parameter to InsetGraphicsMailer's string2params.
3914 2003-07-21 Angus Leeming <leeming@lyx.org>
3916 * BufferView_pimpl.C (buffer):
3919 * lyxfunc.C (dispatch):
3920 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3921 rather than the grfx shortcut.
3923 2003-07-21 André Pönitz <poenitz@gmx.net>
3925 * rowpainter.C: remove unused variables
3928 * tabular_funcs.h: move to tabular.C
3929 * Makefile.am: adjust
3931 * tabular.[Ch]: basic optical cleaning
3933 * author.h: pass references, not values
3935 2003-07-18 André Pönitz <poenitz@gmx.net>
3943 * text3.C: two-phase drawing for InsetText and InsetTabular
3944 some float -> int changes.
3946 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3948 * lyx_main.C: fix the fix
3950 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3952 * lyx_main.C: fix a crash in batch mode if no files specified
3955 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3957 * format.[Ch] (papersize): moved to BufferParams
3958 * converter.[Ch] (dvips_options): moved to BufferParams
3959 (dvipdfm_options): moved to anon namespace
3960 * bufferparams.[Ch]: added above functions.
3962 2003-07-17 André Pönitz <poenitz@gmx.net>
3966 * text2.C: don't call inset->update() anymore
3968 * metricsinfo.[Ch]: add convenience constructor
3970 2003-07-16 André Pönitz <poenitz@gmx.net>
3975 * text2.C: replace the LyXCursor::irow_ member with
3976 on-demand computation of the value
3978 2003-07-16 John Levon <levon@movementarian.org>
3980 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3982 2003-07-15 André Pönitz <poenitz@gmx.net>
3985 * text2.C: remove no more needed refresh_row
3987 2003-07-15 André Pönitz <poenitz@gmx.net>
3992 * text3.C: refresh_status tristate -> need_update bool
3994 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3996 * lyxtext.h (init): remove reinit argument (act as if always true)
3997 * text2.C: adjust to that
3999 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4001 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4002 * text3.C: use it to delete selections in some cases
4003 (bugs 441, 673, 702, 954).
4005 2003-07-14 André Pönitz <poenitz@gmx.net>
4007 * rowpainter.[Ch]: reduce interface
4009 2003-07-14 André Pönitz <poenitz@gmx.net>
4011 * BufferView_pimpl.C:
4012 * text2.C: adjust after removing unused BufferView * argument
4014 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4016 * text2.C (init): fix a crash fired on resize
4018 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4020 * buffer.[Ch]: added new closing signal
4021 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4022 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4023 BufferView::Pimpl via the closing the signal
4025 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4027 * buffer.[Ch]: take out all bv-related from buffer
4029 * BufferView_pimpl.[Ch]: connect to new signals
4030 * CutAndPaste.C: removed useless asserts
4031 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4034 * lyxfunc.C: moved view-related funciontality from vc here
4035 * paragraph.C: removed outdated comments
4038 2003-07-10 André Pönitz <poenitz@gmx.net>
4040 * BufferView_pimpl.C:
4044 * text2.C: remove InsetText::InnerCache, clean up consequences
4046 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4048 * ispell.C: fix two typos in error messages
4050 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4052 * Extend Note inset to other forms of annotation like Comment
4053 and Greyedout. Right button click gives dialog.
4055 Files modified or added (+):
4059 * ControlNote.[Ch] +
4061 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4062 frontends/controllers
4066 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4068 * aspell.C: add missing namespace lyx::support
4070 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4072 * BufferView.[Ch] (newFile): Add
4073 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4074 * LaTeX.[Ch] (message): added this signal and use it
4075 * buffer.[Ch] (busy, message): added these signals and use them
4076 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4080 * importer.C: use buffer signals instead of direct bv calling
4081 * lyx_cb.[Ch] (ShowMessage): removed
4084 * paragraph_funcs.C:
4085 * text2.C: use buffer signals
4087 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4089 * introduce namespace lyx::graphics
4091 2003-07-02 André Pönitz <poenitz@gmx.net>
4093 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4095 2003-07-01 André Pönitz <poenitz@gmx.net>
4102 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4103 text*.C to text_func.C
4105 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4107 * introduce namespace lyx::support
4109 2003-06-30 André Pönitz <poenitz@gmx.net>
4114 * text.C: re-enable --with-included-string
4116 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4118 * textcursor.C: add <config.h>
4120 * text.C (getWord): remove const from word_location arg
4122 * lyxvc.C (getLogFile): fix const type order
4124 * lyxtext.h: remove const from word_location arg, add arg name
4126 * lyxlayout.h: currect type on labeltype.
4128 * importer.C: correct \file
4130 * converter.C (intToFormat): use std:: on ret val, ws changes
4132 * bufferlist.h: correct \file
4134 * buffer.C (makeLinuxDocFile): fix const type order
4135 (makeDocBookFile): ditto
4136 (fillWithBibKeys): use std:: on stdlib args.
4138 * CutAndPaste.C: fix authors.
4139 (availableSelections): use std:: on return vector
4141 2003-06-27 André Pönitz <poenitz@gmx.net>
4143 * BufferView_pimpl.C:
4144 * bufferview_funcs.C:
4152 * text3.C: remove LyXCursor::row_ member
4155 * text.C: rename fullRebreak() to partialRebreak() and implement
4156 a fullRebreak() that really bereks fully
4158 * textcursor.h: new struct for cursor-related data
4160 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4162 * lyx_main.C (LyX): get full path of document loaded on the
4165 2003-06-26 André Pönitz <poenitz@gmx.net>
4167 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4168 remove unused/broken operator>,<,>=.
4170 * text.C: remove only use of broken operator<= in an Assert().
4172 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4174 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4175 moved errorlist_.clear to showErrorList
4177 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4179 * converter.C (scanLog, runLaTeX):
4180 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4181 move the bv->showErrorList call to the callers
4182 * lyxfunc.C: i.e. here...
4184 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4185 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4186 namespace, the second to...
4187 * buffer_funcs (BufferFormat, parseErrors): added
4188 * errorlist.C (ErrorList(TeXErrors const &)): removed
4190 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4192 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4194 2003-06-24 "Garst R. Reese" <reese@isn.net>
4198 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4200 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4202 * version.C.in: change docversion to 1.4
4204 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4206 * buffer.C: fix a bug just introduced
4208 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4210 * buffer.[Ch]: added the parseError signal and use it, removed
4212 * BufferView.[Ch] (addError): moved to ...
4213 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4214 to the Buffer::parseError signal to catch (guess what) parse errors
4215 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4217 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4219 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4220 ability to create a buffer and to return an existing one from
4221 the list. Moved these functions to...
4222 * buffer_funcs.[Ch]: added
4223 * BufferView.[Ch] (loadLyXFile): added
4224 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4225 job removed from bufferlist::loadLyXFile.
4226 * buffer.C (setReadOnly): make it work without view
4227 (i.e added an if (users))
4229 2003-06-19 Angus Leeming <leeming@lyx.org>
4232 * LyXAction.C (init):
4233 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4234 with LFUN_DIALOG_SHOW <name> <data>.
4236 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4238 * CutAndPaste.C (availableSelections): small compilation fix for
4239 ancient (gcc 2.9x) compilers
4241 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4243 * text3.C (cursorNext): add tmp var
4245 * text2.C (updateCounters): for function calling out of for clause
4246 (replaceSelectionWithString): ditto
4247 (insertStringAsParagraphs): ditto
4248 (getColumnNearX): add tmp var
4249 (setCursorFromCoordinates): add tmp var
4250 (cursorDownParagraph): add tmp var
4251 (deleteEmptyParagraphMechanism): add tmp var
4253 * text.C (insertChar): add tmp var
4255 * rowpainter.C (paintDepthBar): add tmp var
4257 * CutAndPaste.C (availableSelections): potentially check all
4258 paragraphs in a cut to fill the shown strings.
4260 2003-06-18 André Pönitz <poenitz@gmx.net>
4262 * kbmap.[Ch]: use vector<> instead of list<>
4264 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4266 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4267 pasteSelection with index
4269 * text2.C (pasteSelection): modify, call pasteSelection with index
4271 * paragraph.C (asString): reimplement version with no interval to
4272 call the one with interval.
4274 * lyxtext.h: add index arg to pasteSelection
4276 * MenuBackend.C (MenuItem): handle PasteRecent
4277 (Menu::read::Menutags): add md_pasterecent
4279 (expandPasteRecent): new function
4282 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4284 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4286 (availableSelections): new function
4288 2003-06-17 Angus Leeming <leeming@lyx.org>
4290 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4292 2003-06-17 Angus Leeming <leeming@lyx.org>
4295 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4297 * lyxfunc.C (dispatch): invoke it.
4299 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4301 * iterators.C (operator++, ParPosition): reintroduce some
4302 const_cast for the benefit of older compilers.
4304 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4306 * text3.C (dispatch): do not modify clipboard when doing
4307 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4308 LFUN_DELETE_SKIP on a selection selection
4310 2003-06-16 André Pönitz <poenitz@gmx.net>
4316 * tabular.[Ch]: IU of clone() and getLabelList();
4318 2003-06-13 André Pönitz <poenitz@gmx.net>
4320 * tabular.h: compactification
4322 2003-06-12 André Pönitz <poenitz@gmx.net>
4326 * tabular_funcs.h: some renaming plus whitespace
4328 2003-06-12 André Pönitz <poenitz@gmx.net>
4331 * BufferView_pimpl.C:
4337 * toc.C: Return a Paragraph & for ParIterator::operator*()
4339 2003-06-11 John Levon <levon@movementarian.org>
4343 * ToolbarBackend.C: add "Toolbars" section and
4346 2003-06-10 Angus Leeming <leeming@lyx.org>
4349 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4351 * lyxfunc.C (dispatch): invoke it.
4353 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4355 * main.C: protect <ios> with HAVE_IOS
4356 (main): protect sync_with_stdio with HAVE_IOS
4358 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4360 * text2.C (cutSelection): adjust
4361 (pasteSelection): adjust
4363 * messages.C: handle get of empty string
4365 * main.C (main): use sync_with_stdio(false)
4367 * lyxfunc.C (dispatch): adjust
4369 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4370 (WriteAs): remove unneeded BufferView arg.
4372 * bufferparams.h: use correct types on papersize, papersize2 and
4375 * bufferparams.C (readToken): adjust for type
4376 (writeLaTeX): add missing cases to switch.
4378 * bufferlist.C (quitWriteBuffer): adjust
4381 * buffer.C (asciiParagraph): remove some commented code.
4383 * CutAndPaste.C: remove current_view extern variable.
4384 (cutSelection): add BufferParams arg.
4385 (eraseSelection): add BufferParams arg.
4386 (pasteSelection): add Buffer const & arg
4388 2003-06-07 John Levon <levon@movementarian.org>
4391 * paragraph_funcs.C:
4392 * paragraph_pimpl.C:
4396 * paragraph.C: allow InsetERT to freely space lines,
4397 and some consolidation of code
4399 2003-06-06 José Matos <jamatos@fep.up.pt>
4401 * buffer.C (makeDocBookFile): fix bug #821
4403 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4405 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4407 2003-06-04 Angus Leeming <leeming@lyx.org>
4409 * buffer.C: bump format to 224.
4411 2003-06-05 André Pönitz <poenitz@gmx.net>
4413 * text2.C (redoParagraphs): remove two const_cast<>
4415 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4417 * ParagraphList.h: remove last remnants of NO_STD_LIST
4419 2003-06-03 Angus Leeming <leeming@lyx.org>
4421 * factory.C (createInset): small change to the way InsetExternal's params
4424 2003-06-04 André Pönitz <poenitz@gmx.net>
4426 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4428 * paragraph_pimpl.h:
4429 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4431 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4433 * undo_funcs.C: make some simple cases of undo work again
4435 2003-06-03 John Levon <levon@movementarian.org>
4437 * ispell.C: HPUX doesn't have sys/select.h
4440 2003-06-03 John Levon <levon@movementarian.org>
4442 * CutAndPaste.C: update tabular and include inset
4447 * paragraph.C: remove owningBuffer(), don't pass Buffer
4450 * factory.C: insetGraphicsParams changed
4452 2003-06-02 John Levon <levon@movementarian.org>
4458 * text3.C: remove insetparent
4460 2003-06-02 John Levon <levon@movementarian.org>
4463 * buffer.C: fix inset_iterator.end(), move out of line
4466 2003-06-01 John Levon <levon@movementarian.org>
4468 * text3.C: use a proper cut/paste when doing inset
4469 insert (from Jürgen Spitzmüller)
4471 2003-06-01 John Levon <levon@movementarian.org>
4473 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4475 2003-05-30 André Pönitz <poenitz@gmx.net>
4477 * rowpainter.C: unify second drawing phase
4479 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4481 * trans_mgr.C: remove one case of current_view
4483 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4485 * paragraph_funcs.h: remove paragraph.h include
4487 * paragraph.h: delete NO_STD_LIST stuff
4489 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4491 * buffer.h: remove paragraph.h include
4493 * ParagraphList.C: delete file
4495 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4497 * toc.C (getTocList): adjust
4499 * paragraph_pimpl.C (validate): adjust
4501 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4503 * paragraph.C (Paragraph): adjust
4504 (getPositionOfInset): use const_iterator, adjust
4505 (bibitem): use const_iterator, adjust
4506 (setInsetOwner): adjust
4508 * iterators.C (operator++): adjust
4510 * InsetList.[Ch]: Replace selfmade iterator with standard
4511 vector::iterator also introduce const_iterator. Remove getPos,
4512 getInset and setInset from InsetTable. Adjust accordingly.
4514 * BufferView.C (lockInset): adjust
4515 (ChangeInsets): adjust
4517 * tabular.[Ch]: delete commented same_id functions
4519 2003-05-28 John Levon <levon@movementarian.org>
4521 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4523 2003-05-28 André Pönitz <poenitz@gmx.net>
4525 * metricsinfo.[Ch]: remove 'fullredraw' member
4527 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4529 * lyxtextclass.C (operator): remove caching.
4531 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4535 * text2.C (cursorBottom): adjust
4536 (setCounter): use ParagraphList::find, adjust
4538 * text.C (workWidth): use ParagraphList::find, adjust
4540 * lyxcursor.C (LyXCursor): adjust
4542 * buffer.C (inset_iterator): adjust
4544 * ParagraphList.h: make iterator(value_type) private, make
4545 ParagraphList a friend of iterator.
4547 * ParagraphList.C (find): new function
4549 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4551 2003-05-27 André Pönitz <poenitz@gmx.net>
4553 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4555 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4557 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4559 2003-05-26 John Levon <levon@movementarian.org>
4561 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4563 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4565 * remove same_id from function signatures, adjust.
4567 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4569 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4571 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4573 * paragraph.C (Paragraph): get rid of same_ids parameter
4575 * ParagraphList.C (insert): adjust
4578 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4580 * paragraph_funcs.C (breakParagraph): adjust
4581 (breakParagraphConservative): adjust
4583 * buffer.C (readParagraph): adjust
4585 * ParagraphList.C (insert): take a reference instead of a pointer
4588 * paragraph.[Ch] (id): new function
4590 * bufferlist.C (newFile): adjust
4592 * ParagraphList.C (ParagraphList): adjust
4594 (push_back): take a reference instead of a pointer.
4596 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4598 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4601 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4602 set else use old code.
4604 * ParagraphList.C: remove all NO_NEXT code and only compile this
4605 code of NO_STD_LIST is set.
4607 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4609 * BufferView_pimpl.C:
4619 * graphics/GraphicsConverter.C:
4620 * graphics/PreviewLoader.C: header adjustment
4622 2003-05-23 Angus Leeming <leeming@lyx.org>
4624 * LaTeXFeatures.[Ch] (useBabel): new method.
4625 * bufferparams.C (writeLaTeX): use it.
4627 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4629 * ParagraphList.h (set): remove unused function.
4631 2003-05-23 André Pönitz <poenitz@gmx.net>
4634 * BufferView_pimpl.C:
4638 * undo_funcs.C: setUndo reworked
4640 * iterators.[Ch]: add access to topmost ParagraphList
4642 * lyxtext.[Ch] (workWidth): add a const
4644 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4646 * texrow.[Ch] (increasePos): remove function
4647 * exporter.C (export): removed unused var and outdated comment
4649 2003-05-23 Angus Leeming <leeming@lyx.org>
4651 * latexrunparams.h: rename fragile as moving_arg.
4652 * paragraph.C (simpleTeXOnePar): ditto.
4653 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4655 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4657 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4659 (textUndoOrRedo): comment out a currently unused var.
4661 * paragraph.h (NO_NEXT): enable NO_NEXT
4663 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4665 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4667 * exporter.C (Export): adjust for removeAutoInsets removal.
4669 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4671 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4673 * BufferView.[Ch] (removeAutoInsets): delete function
4675 2003-05-22 Angus Leeming <leeming@lyx.org>
4677 * latexrunparams.h: add a free_spacing variable.
4679 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4680 to pass moving_arg, as the data is stored in runparams.fragile.
4682 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4683 to Inset::latexOptional or to simpleTeXOnePar.
4685 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4686 free_spacing arg to Inset::latexOptional.
4688 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4691 2003-05-22 Angus Leeming <leeming@lyx.org>
4693 * latexrunparams.h: add fragile and use_babel variables.
4695 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4696 * buffer.C (makeLaTeXFile): store this returned value in
4697 runparams.use_babel, thus passing it to the inset::latex methods.
4699 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4700 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4702 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4703 longer has a fragile arg, as it is stored in runparams.fragile.
4705 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4706 moving_arg parameter as the data is stored in runparams.fragile.
4708 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4709 a fragile parameter as the data is stored in runparams.fragile.
4711 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4713 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4715 2003-05-22 Angus Leeming <leeming@lyx.org>
4717 * latexrunparams.h: add a 'bool nice' which defaults to false.
4719 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4720 now encapsulated within runparams.
4722 * bufferlist.C (updateIncludedTeXfiles):
4723 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4725 2003-05-22 Angus Leeming <leeming@lyx.org>
4727 * latexrunparams.h: new file containing struct LatexRunParams.
4728 * Makefile.am: add new file.
4730 * LaTeX.[Ch] (c-tor, run):
4731 * buffer.[Ch] (makeLaTeXFile):
4732 * bufferlist.[Ch] (updateIncludedTeXfiles):
4733 * converter.C (convert, scanLog):
4734 * converter.[Ch] (runLaTeX):
4735 * exporter.C (Export):
4736 * paragraph.[Ch] (simpleTeXOnePar):
4737 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4738 * paragraph_funcs.[Ch] (latexParagraphs):
4739 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4740 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4741 pass around a LatexRunParams parameter.
4743 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4745 * paragraph.[Ch]: remove unused constructor
4747 * ParagraphList.C (erase): new function, taking two iterators
4749 2003-05-22 André Pönitz <poenitz@gmx.net>
4751 * undo_funcs.C: remove duplicated code
4753 * iterator.[Ch]: operator=
4755 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4757 * tabular.C (SetMultiColumn): ws changes
4759 * rowpainter.C (paintFirst): get rid of a ->previous
4761 * lyx_cb.C (getPossibleLabel): parlist simplification
4763 * BufferView.C (ChangeInsets): simplify slightly.
4765 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4767 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4768 * lfuns.h: new LFUN_SPACE
4769 * lyxfunc.C: protected space has a new lfun
4770 * paragraph_funcs.C: read new space insets
4772 * factory.C: handle new space insets
4774 2003-05-22 André Pönitz <poenitz@gmx.net>
4777 * BufferView_pimpl.C:
4780 * undo_funcs.C: return a ParIterator from getParFromID.
4782 * iterators.[Ch]: add two const's
4784 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4786 * toc.C (getTocList): adjust
4788 * iterators.[Ch]: rework for parlist
4790 * buffer.C (par_iterator_begin): adjust
4791 (par_iterator_end): adjust
4793 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4795 * BufferView.C (removeAutoInsets): adjust
4796 (ChangeInsets): adjust
4798 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4800 * text.C (top_y): fix bug 1110
4802 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4804 * errorlist.[Ch]: added
4807 * BufferView_pimpl.C:
4808 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4811 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4813 * Makefile.am: ensure that lyx is relinked upon changes to the
4814 various "convenience" libs.
4816 2003-05-20 Angus Leeming <leeming@lyx.org>
4818 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4819 files are compiled in alphabetical order again.
4821 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4823 2003-05-19 Angus Leeming <leeming@lyx.org>
4825 * gettext.[Ch]: remove "char const * _(char const *)".
4827 2003-05-19 André Pönitz <poenitz@gmx.net>
4829 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4838 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4840 2003-05-19 André Pönitz <poenitz@gmx.net>
4844 * lyxtextclass.[Ch]:
4846 * paragraph_funcs.[Ch]:
4848 * text3.C: more insetenv work
4850 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4852 * ParagraphParameters.C (params2string): small bug fixed
4854 2003-05-16 André Pönitz <poenitz@gmx.net>
4857 * bufferview_funcs.C: patch from Kornel Benko to prevent
4858 crash when _(...) is called twice in a statement
4860 2003-05-16 André Pönitz <poenitz@gmx.net>
4867 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4869 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4871 * lyx_main.C (init): remove spurious static_cast
4873 2003-05-14 André Pönitz <poenitz@gmx.net>
4875 * BufferView.C: fix format string
4877 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4879 * BufferView.[Ch] (insertErrors): removed
4880 * BufferView.[Ch] (showErrorList): added
4881 * buffer.C (runChkTeX):
4882 * converter.C (scanLog): call showErrorList instead of inserterrors
4884 2003-05-13 André Pönitz <poenitz@gmx.net>
4886 * BufferView_pimpl.C:
4888 * bufferview_func.C:
4895 * tabular_funcs.h: tostr() from its own header
4897 * ParagraphParameters.C:
4902 * text3.C: STRCONV()
4904 2003-05-12 André Pönitz <poenitz@gmx.net>
4907 * BufferView_pimpl.C:
4911 * ParagraphParameters.C:
4915 * bufferview_funcs.C:
4928 * paragraph_funcs.C:
4932 * text3.C: boost::format -> bformat all over the place
4935 2003-05-09 André Pönitz <poenitz@gmx.net>
4937 * LColor.[Ch]: Pimpl the #include <map> away
4939 2003-05-09 John Levon <levon@movementarian.org>
4941 * bufferlist.C: never remove emergency saves
4943 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4945 * Makefile.am: better lib building
4947 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4949 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4951 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4952 (simpleTeXSpecialChars): adjust
4953 (simpleTeXSpecialChars): adjust
4954 * paragraph.C (simpleTeXOnePar): adjust
4955 * buffer.C (makeLaTeXFile): adjust
4957 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4959 * text2.C (changeDepth): parlist cleanup
4960 (getColumnNearX): ditto
4962 * rowpainter.C (getLabelFont): parlist cleanup
4964 * bufferlist.C (newFile): parlist cleanup
4966 * CutAndPaste.C (eraseSelection): parlist cleanup
4968 * BufferView_pimpl.C (trackChanges): parlist cleanup
4971 * BufferView.C (lockInset): parlist cleanup.
4972 (ChangeInsets): ditto
4974 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4976 * CutAndPaste.h: Update file header.
4978 * CutAndPaste.C: Update file header.
4979 Store the parts cut out of the Document in a limited_stack.
4980 (copySelection): adjust
4981 (pasteSelection): new function, takes the index in the limited stack.
4982 (nrOfParagraphs): adjust
4983 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4984 simplify error inset insertion.
4985 (checkPastePossible): adjust
4987 2003-05-06 John Levon <levon@movementarian.org>
4989 * text2.C: don't cast wrap inset to float
4991 2003-05-05 André Pönitz <poenitz@gmx.net>
4994 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4996 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4997 few naked Paragraph *.
4999 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5001 * bufferparams.C: Output warning if a document with missing
5002 TeX document class is loaded
5003 * exporter.C: Disable TeX exports if the document class is missing
5006 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5007 isTeXClassAvailable()
5009 2003-05-03 John Levon <levon@movementarian.org>
5012 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5013 explicit cursor show/hide
5015 * BufferView_pimpl.h:
5016 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5017 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5019 * lyxfunc.C: hide cursor before dispatching.
5024 * text3.C: remove explicit cursor hides
5026 2003-05-02 André Pönitz <poenitz@gmx.net>
5028 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5031 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5034 * text2.C: tiny whitespace
5036 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5038 * undo_funcs.C: almost only ws changes.
5040 * ParagraphList.C (splice): just return if pl is empty.
5042 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5044 * ParagraphList.C (splice): new function.
5046 * CutAndPaste.C (pasteSelection): use it
5048 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5050 * CutAndPaste.C (pasteSelection): remove the last next and
5051 previous from this file.
5053 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5055 * CutAndPaste.C (pasteSelection): more clean up, user proper
5056 ParagraphList functions for pasteing.
5058 * ParagraphList.C (insert): new function, three arg insert
5060 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5062 * ParagraphList.C (insert): new function, three arg insert
5064 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5067 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5069 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5071 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5073 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5075 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5077 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5078 (copySelection): clean up a bit.
5079 (pasteSelection): use make_pair
5081 * ParagraphList.C (ParagraphList): implement copy constructor
5082 (operator=): implement, base on copy constructor.
5085 * paragraph.C (erase): return a bool
5087 * paragraph_pimpl.C (erasePos): remove function, move contents...
5088 (erase): ... here. Return a bool.
5089 (erase): call erase instead of erasePos.
5091 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5093 * ParagraphList.h: define PitPosPair
5094 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5095 ParagraphList, fix a bug on pasting multiple pars
5096 * text2.C: change interface to C&P
5098 2003-04-30 André Pönitz <poenitz@gmx.net>
5100 * undo_func.C: revert part of yesterday's patch 2
5102 2003-04-30 John Levon <levon@movementarian.org>
5104 * LColor.C: s/tabular/table/
5106 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5108 * text3.C (dispatch): do not convert iterator -> pointer
5109 * undo_funcs.C (setCursorParUndo): ditto
5110 * text_funcs.C (transposeChars): ditto
5112 * text2.C (setLayout): ws changes only
5114 * text.C (breakParagraph): do not convert iterator -> pointer
5116 (acceptChange): ditto
5117 (rejectChange): ditto
5122 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5125 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5127 * text3.C (gotoInset): YABG (yet another bad getChar)
5129 2003-04-29 André Pönitz <poenitz@gmx.net>
5131 * paragraph.h: make operator= private unimplemented as long as
5134 * ParagraphList.C: whitespace
5137 * paragraph_pimpl.[Ch]:
5138 * paragraph_funcs.C:
5140 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5143 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5145 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5147 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5148 * paragraph.[Ch] (erase):
5149 * paragraph_pimpl.[Ch] (erase): change return type and value
5150 * text2.C (cutSelection): some rework
5152 2003-04-28 John Levon <levon@movementarian.org>
5154 * bufferlist.C: changes for unsaved changes dialog
5156 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5158 * bufferlist.C (newFile): set language (messages_) for new
5161 * buffer.C (readFile): ws changes only.
5163 2003-04-28 André Pönitz <poenitz@gmx.net>
5168 * BufferView_pimpl.C:
5169 * BufferView.C: getParFromID related ParagraphList::iterator changes
5171 2003-04-28 André Pönitz <poenitz@gmx.net>
5173 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5176 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5178 * messages.C: remove one more localedir class variable.
5180 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5182 * messages.C (getLocaleDir): singleton generation function
5184 (Messages): add a default constructor.
5186 * main.C (main): do not setup localedir here, do not call
5189 * gettext.C (_): use it.
5190 (gettext_init): delete funciton
5192 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5194 * gettext.C (getLyXMessages): new singleton generating function.
5196 * buffer.C (updateDocLang): adjust
5198 * Makefile.am (messages.o): add target
5199 (main.o): remove target
5201 2003-04-27 John Levon <levon@movementarian.org>
5206 * lyxvc.C: specify cancel button in Alert::prompt
5208 2003-04-26 John Levon <levon@movementarian.org>
5213 * LyXAction.C: add LFUN_INSET_SETTINGS
5215 * lyxfunc.C: don't enable tabular-feature when there's
5216 just any locking inset
5218 2003-04-26 John Levon <levon@movementarian.org>
5220 * bufferlist.C: re-add Cancel to buffer close question
5222 * lyxfunc.C: fix import UI a bit
5224 2003-04-25 John Levon <levon@movementarian.org>
5226 * gettext.C: remove the broken asserts for now
5228 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5230 * messages.C: make case where setlocale cannot comply work better.
5232 * buffer.C (updateDocLang): new function
5233 (changeLanguage): use it
5236 * text2.C (setCounter): use B_ a bit.
5238 * lyxlayout.C (Read): be sure to trim the label strings.
5240 * messages.C (Messages): fix typo in comment
5242 * buffer.C (readFile): set message_ after file is loaded.
5243 (makeDocBookFile): remove double return
5244 (changeLanguage): reset message_ upon language change.
5245 (B_): new func, use this to get translated buffer strings.
5247 * main.C: add myself and Jean Marc as authors.
5249 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5251 * messages.[hC]: pimplify Messages, and three different pimpls to be
5252 used in different circumstances.
5254 * gettext.[Ch]: change for use with new message code.
5256 2003-04-24 André Pönitz <poenitz@gmx.net>
5258 * factory.C: support for eqref
5260 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5262 * messages.[Ch]: add missing char
5264 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5266 * messages.[Ch]: New files
5268 2003-04-18 John Levon <levon@movementarian.org>
5272 * BufferView_pimpl.C:
5276 * text2.C: remove layout-copy/paste (bug 778)
5278 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5280 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5282 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5284 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5285 if they succeed. Act accordingly.
5287 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5289 * text2.C (setCharFont): adjust
5290 (setCounter): adjust
5291 (insertStringAsLines): adjust
5293 * text.C (leftMargin): adjust
5294 (setHeightOfRow): adjust
5296 * rowpainter.C (paintFirst): adjust
5299 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5301 (isFirstInSequence): ditto
5302 (getEndLabel): ditto
5305 * paragraph.C (getParLanguage): comment out some hard stuff.
5307 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5309 (simpleDocBookOnePar): ditto
5310 (makeDocBookFile): use ParagraphList::iterator
5312 * CutAndPaste.C (pasteSelection): adjust
5314 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5316 * text2.C (getFont): adjust
5317 (getLayoutFont): adjust
5318 (getLabelFont): adjust
5320 * paragraph_funcs.C (TeXOnePar): adjust
5322 * buffer.C (simpleLinuxDocOnePar): adjust
5323 (simpleDocBookOnePar): adjust
5325 * CutAndPaste.C (pasteSelection): adjust
5327 * BufferView.C (getEncoding): adjust
5329 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5331 2003-04-16 John Levon <levon@movementarian.org>
5333 * lyxfind.C: use parlist stuff for search/changes
5335 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5337 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5339 * text2.C (deleteEmptyParagraphMechanism): adjust
5341 * text2.[Ch] (ownerParagraph): delete func (both of them
5343 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5345 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5347 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5349 * ParagraphList.C: prepare for NO_NEXT
5351 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5353 * text2.C (getFont): adjust
5354 (getLayoutFont): adjust
5355 (getLabelFont): adjust
5357 * paragraph.C (getFont): adjust
5358 (getLabelFont): adjust
5359 (getLayoutFont): adjust
5361 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5363 2003-04-15 John Levon <levon@movementarian.org>
5367 * lyx_main.C: handle Include in .ui files
5369 2003-04-15 John Levon <levon@movementarian.org>
5371 * MenuBackend.C: make the doc files length shorter
5374 * ToolbarBackend.C: handle toolbar placement flags,
5377 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5379 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5382 * paragraph_funcs.C (TeXOnePar): adjust
5384 * paragraph.C (getLabelFont): add outerfont arg, adjust
5385 (getLayoutFont): ditto
5386 (simpleTeXOnePar): adjust
5388 * paragraph_pimpl.C (realizeFont): delete func
5390 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5392 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5393 row argument, constify cur argument.
5395 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5397 * text2.C (getFont): adjust
5398 (getLayoutFont): adjust
5399 (getLabelFont): adjust
5401 * paragraph_funcs.C (TeXOnePar): adjust
5402 (outerFont): new func...
5403 (realizeFont): ...moved out from here, changed this to facilitate
5406 * paragraph.C (getFont): take outerfont as arg, adjust
5407 (simpleTeXOnePar): add outerfont arg, adjust
5409 * buffer.C (simpleLinuxDocOnePar): adjust
5410 (simpleDocBookOnePar): adjust
5412 * CutAndPaste.C (pasteSelection): adjust
5414 * BufferView.C (getEncoding): adjust
5416 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5418 * text2.C (setCharFont): adjust
5419 (setCounter): adjust
5421 * text.C (leftMargin): adjust
5422 (setHeightOfRow): adjust
5424 * rowpainter.C (paintFirst): adjust
5427 * paragraph_pimpl.C (realizeFont): adjust
5429 * paragraph.C (isFirstInSequence): move from here...
5430 * paragraph_funcs.C (isFirstInSequence): ...to here
5432 * paragraph.C (outerHook): move from here...
5433 * paragraph_funcs.C (outerHook): ...to here
5435 * paragraph.C (depthHook): move from here...
5436 * paragraph_funcs.C (depthHook): ...to here
5438 * paragraph.C (getEndLabel): move from here...
5439 * paragraph_funcs.C (getEndLabel): ...to here
5441 * text2.C (realizeFont): move from here...
5442 * paragraph_funcs.C (realizeFont): ...to here
5444 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5446 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5448 2003-04-14 Angus Leeming <leeming@lyx.org>
5450 * LColor.[Ch]: scrap LColor mathcursor.
5452 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5454 * lyxlex.[Ch] (text): delete function
5455 * trans.C (Load): adjust
5456 * paragraph_funcs.C (readParToken): adjust
5458 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5460 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5461 vector<char> instead of a char[].
5463 * lyxlex_pimpl.C (getString): adjust
5465 (lex): use getString
5469 * lyxlex.C (text): use pimpl_->getString()
5473 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5475 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5476 (makeFontEntriesLayoutSpecific): temp var for par.size()
5477 (setLayout): temp var for ownerParagraphs().end()
5478 (fullRebreak): temp var for rows().end()
5479 (selectionAsString): temp var for boost::next(startpit), realize
5480 that the while really is a regular for loop.
5481 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5482 setCursor in one place.
5483 (setParagraph): temp vr for ownerParagraphs().end()
5484 (updateCounters): make the while loop a for loop
5485 (cutSelection): temp var for ownerParagraphs().end()
5486 (updateInset): make the do {} while() a regular for loop
5487 (getCursorX): use temp vars
5488 (setCurrentFont): use temp vars
5489 (getColumnNearX): use temp vars
5491 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5493 * text.C (transformChar): use temp var for getChar
5494 (computeBidiTables): use temp var for row->par()
5495 (fill): move temp vars for row->par() and pit->layout() earlier in
5497 (labelFill): use temp var for row->par()
5498 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5499 asc and desc, realize that pit never changes and that firstpit is
5500 just a duplicate and not needed. Exchange rit->par() with pit in a
5502 (breakAgain): use a temp var for boost::next(rit)
5503 (breakAgainOneRow): ditto
5504 (breakParagraph): use a temp var for rows().begin()
5505 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5506 (cursorRightOneWord): use temp var for cursor.par() and
5507 cursor.pos(), remove usage of tmpcursor.
5508 (cursorLeftOneWord): use temp var for cursor.par() and
5509 cursor.pos() only set cur at end of function.
5511 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5513 * text.C, text2.C: exchange all usage of Paragraph::next with
5514 boost::next(ParagraphList::iterator)
5516 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5518 * text2.C (cursorTop): simplify implementation
5519 (cursorBottom): ditto
5520 (setParagraph): use ParagraphList::iterator
5521 (setCurrentFont): adjust
5522 (getColumnNearX): adjust
5523 (cursorRight): adjust
5524 (cursorLeft): remove usage of Paragraph::previous
5525 (cursorUpParagraph): ditto
5526 (deleteEmptyParagraphMechanism): slight cleanup
5528 * text.C (isBoundary): take a Paragraph const & instead of a
5530 (addressBreakPoint): ditto
5531 (leftMargin): remove usage of Paragraph::previous.
5532 (setHeightOfRow): ditto
5533 (cursorLeftOneWord): ditto
5534 (selectNextWordToSpellcheck): ditto
5537 (breakParagraph): remove one usage of Paragraph::next
5538 (redoParagraph): ditto
5539 (acceptChange): ditto
5540 (insertChar): adjust
5541 (rowBreakPoint): adjust
5543 * bufferview_funcs.C (toggleAndShow): adjust
5545 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5547 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5548 methods to access it.
5550 * text.C: Added updateRowPositions to compute all row positions.
5551 Make top_y and getRowNearY() to use the cached y position
5553 2003-04-11 John Levon <levon@movementarian.org>
5555 * text.C (rowBreakPoint): reintroduce the labelEnd
5556 checks, code copied from the row fill stuff. Deep voodoo.
5558 * text.C (fill): add a comment and debugging for the
5561 2003-04-11 John Levon <levon@movementarian.org>
5563 * text.C: make sure fullrow insets get wrapped to the next line,
5564 even when they're in a manual label
5566 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5568 * text2.C (insertParagraph): make it take ParagraphList::iterator
5570 (setLayout): make it return ParagraphList::iterator
5571 (redoParagraphs): ditto
5573 (checkParagraph): ditto
5575 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5577 * text2.C: adjust several funcs.
5578 (realizeFont): take a ParagraphList::iterator as arg.
5579 (getLayoutFont): ditto
5580 (getLabelFont): ditto
5581 (setCharFont): ditto
5583 * text.C: adjust several funcs.
5585 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5587 * text.C (selectNextWordToSpellcheck): don't accidentally
5590 2003-04-10 John Levon <levon@movementarian.org>
5592 * ToolbarBackend.C (getIcon): special handling for
5595 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5597 * text2.C (cursorRight): a getChar assert fixed
5599 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5601 * text2.C (getFont): change to take a ParagraphList::iterator
5602 instead of Paragraph*
5603 Adjust several functions.
5605 * text.C (transformChar): change to take a ParagraphList::iterator
5606 instead of Paragraph*
5607 (singleWidth): ditto
5608 Adjust several functions.
5610 * rowpainter.C: adjust several functions
5611 * rowpainter.h:store a ParagraphList::iterator and not a
5615 2003-04-09 John Levon <levon@movementarian.org>
5620 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5621 and the "help" bits as well
5623 2003-04-09 John Levon <levon@movementarian.org>
5626 * ToolbarBackend.C: allow multiple toolbars
5628 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5630 * undo_funcs.C (setCursorParUndo): adjust
5632 * text_funcs.C (transposeChars): adjust
5634 * text3.C (gotoNextInset): adjust
5637 * text2.C (setLayout): adjust
5638 (changeDepth): adjust
5640 (redoParagraphs): adjust
5641 (selectionAsString): adjust
5642 (setParagraph): adjust
5643 (insertInset): adjust
5644 (cutSelection): adjust
5645 (copySelection): adjust
5646 (pasteSelection): adjust
5647 (insertStringAsLines): adjust
5648 (updateInset): adjust
5649 (setCursor): change to take a ParagraphList::iterator parameter
5650 (setCursorIntern): change to take a ParagraphList::iterator parameter
5651 (setCurrentFont): adjust
5652 (cursorLeft): adjust
5653 (cursorRight): adjust
5654 (deleteEmptyParagraphMechanism): adjust
5656 * text.C (breakParagraph): adjust
5657 (insertChar): adjust
5658 (acceptChange): adjust
5659 (rejectChange): adjust
5660 (selectNextWordToSpellcheck): adjust
5661 (changeCase): adjust
5665 * lyxfind.C (SearchForward): adjust
5666 (SearchBackward): adjust
5667 (nextChange): adjust
5669 * lyxcursor.C (par): adjust
5671 * lyxcursor.h: store a ParagraphList::iterator instead of a
5674 * lyx_cb.C (getPossibleLabel): adjust
5676 * bufferview_funcs.C (toggleAndShow): adjust
5678 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5681 * BufferView.C (removeAutoInsets): adjust
5682 (lockedInsetStoreUndo): adjust
5684 2003-04-09 John Levon <levon@movementarian.org>
5686 * ToolbarBackend.C: try icon without argument
5687 if with argument fails
5689 2003-04-08 John Levon <levon@movementarian.org>
5692 * ToolbarBackend.C: add getIcon(), handle tooltip,
5693 and change from "Icon" to "Item".
5695 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5697 * BufferView.C (lockInset): another bad getchar crunched
5699 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5701 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5704 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5706 * lyxfind.C (searchForward, searchBackwards): bug 782
5708 2003-04-07 John Levon <levon@movementarian.org>
5710 * paragraph.C: remove dead comment
5712 * text.C: remove troublesome depth-fiddling code
5713 in leftMargin() and rightMargin() (bug 1017)
5715 * text.C: fix breaking of rows in nested lists
5718 * text2.C (updateCounters): fix up depth values
5721 2003-04-07 John Levon <levon@movementarian.org>
5723 * BufferView_pimpl.C: clear message when doc finishes resizing,
5724 and after a mouse event
5726 * lyxfunc.C: clear message after exiting inset
5728 2003-04-07 John Levon <levon@movementarian.org>
5730 * bufferview_funcs.C: show math status not outside
5731 status in the statusbar
5733 2003-04-07 John Levon <levon@movementarian.org>
5735 * lyxfunc.C: note status changed after a depth change
5737 2003-04-04 Angus Leeming <leeming@lyx.org>
5739 * LaTeX.h: move AuxInfo operator==, != out of line.
5740 Remove LaTeX virtual destructor; nothing derives from it.
5741 Move operator()() out of public area and rename it startscript().
5742 Change protected for private.
5744 2003-04-04 Angus Leeming <leeming@lyx.org>
5747 * text2.C: remove unneeded #includes.
5749 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5751 * text2.C (dEPM): fix the heigth of the next row
5753 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5755 * text.C: squashed an invalid getChar requester + some ws changes
5757 2003-04-03 John Levon <levon@movementarian.org>
5759 * bufferview_funcs.h:
5760 * bufferview_funcs.C:
5763 * text2.C: make getStatus work for the env depth lfuns
5765 2003-04-03 John Levon <levon@movementarian.org>
5767 * bufferview_funcs.h:
5768 * bufferview_funcs.C:
5771 * text2.C: parlistize decDepth(), by merging it with incDepth()
5773 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5775 * lyxrow.h: store a ParagraphList::iterator instead of a
5776 Paragraph* and adjust other class functions to suit.
5778 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5781 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5783 * text2.C (setCursor): do not anchor to cursor row for the time being
5785 2003-04-02 John Levon <levon@movementarian.org>
5792 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5794 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5796 * paragraph.h: make ParagraphList and ParagraphList::iterator
5797 friends of Paragraph.
5799 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5801 * ParagraphList.C: Use the private next_ and previous_ from
5804 2003-04-01 John Levon <levon@movementarian.org>
5808 * Makefile.am: rename, remove defaults gunk
5811 * MenuBackend.C: remove defaults gunk
5814 * Languages.C: remove defaults gunk
5817 * lyx_main.C: error out if files couldn't be found.
5819 2003-04-02 John Levon <levon@movementarian.org>
5821 * text2.C: make incDepth() use parlist
5823 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5825 * undo_funcs.C (firstUndoParagraph): adjust
5827 * text3.C (gotoInset): adjust
5828 (dispatch): adjust, and rewrite loop.
5830 * text2.C (init): adjust, and rewrite loop.
5831 (redoParagraphs): adjust
5832 (updateInset): adjust, and rewrite loop.
5833 (deleteEmptyParagraphMechanism): adjust
5835 * tabular.C (LyXTabular): adjust
5836 (SetMultiColumn): adjust
5839 * lyxtext.[Ch] (ownerParagraph): delete function
5840 (ownerParagraphs): new function returns a ParagraphList.
5842 * BufferView.C (removeAutoInsets): adjust
5843 (insertErrors): adjust
5844 (setCursorFromRow): adjust
5846 2003-04-01 Angus Leeming <leeming@lyx.org>
5848 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5851 2003-04-02 John Levon <levon@movementarian.org>
5857 * text_funcs.C: make transposeChars a free function
5859 * lyxrow_funcs.C: remove wrong comment
5861 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5864 * rowpainter.C: adjust
5869 * lyxrow_funcs. [Ch]: new files
5871 * lyxrow.[Ch]: remove next and previous pointers
5872 (next,previous): remove accessor functions
5873 (isParEnd): move to lyxrow_funcs
5874 (lastPos): move to lyxrow_funcs
5875 (nextRowIsAllInset): move to lyxrow_funcs
5876 (lastPrintablePos): move to lyxrow_funcs
5877 (numberOfSeparators): move to lyxrow_funcs
5878 (numberOfHfills): move to lyxrow_funcs
5879 (numberOfLabelHfills): move to lyxrow_funcs
5880 (hfillExpansion): move to lyxrow_funcs
5884 * bufferview_funcs.C (toggleAndShow): adjust
5886 * RowList.h: Remove class RowList from file leave just a
5889 * RowList.C: delete file
5891 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5894 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5896 * text3.C (cursorPrevious): adjust
5897 (cursorNext): adjust
5900 * text2.C (redoHeightOfParagraph): adjust
5901 (redoDrawingOfParagraph): adjust
5904 * text.C (breakParagraph): adjust
5905 (insertChar): adjust
5908 * rowpainter.C (RowPainter): adjust
5909 (leftMargin): simplify and adjust
5910 (most rowpainter functions): adjust.
5912 * rowpainter.h: store the row as RowList::iterator not as Row*
5914 * lyxcursor.C (row): taka RowList::iterator as arg
5917 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5920 2003-04-01 Angus Leeming <leeming@lyx.org>
5922 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5923 stuff like bool Bool.
5925 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5927 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5930 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5932 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5935 * lyxtext.h (rows): drop one version and leve a const variant that
5936 returns a RowList::iterator.
5938 2003-03-31 Angus Leeming <leeming@lyx.org>
5940 * text.C (fill): ensure that the signature is the same as that in the
5943 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5945 * text2.C (redoParagraphs): adjust
5946 (updateCounters): adjust
5947 (checkParagraph): adjust
5948 (getColumnNearX): adjust and reformat a bit.
5950 * text.C (top_y): adjust
5952 (leftMargin): adjust
5953 (prepareToPrint): adjust
5955 (getRowNearY): adjust
5957 * lyxtext.h: make rowlist_ mutable.
5959 * RowList.h: add const_iterator
5960 * RowList.C: adjust for RowList::const_iterator.
5962 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5965 2003-03-31 John Levon <levon@movementarian.org>
5968 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5970 * lyx_main.C: set default fonts from using lyx_gui funcs
5972 * exporter.C: pdf_mode moved from lyxrc
5975 * lyxfunc.C: changes from above
5977 2003-03-31 John Levon <levon@movementarian.org>
5979 * lyx_main.C: fix to the last fix
5981 2003-03-31 John Levon <levon@movementarian.org>
5983 * bufferlist.C: "Load original" -> "Load Original"
5989 * format.C: more Alert cleanups
5991 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5993 * text2.C (removeParagraph): make it take a RowList::iterator as
5995 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5996 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5998 * text.C (anchor_row): make it take a RowList::iterator as arg,
6000 (computeBidiTables): make it take a const reference to Row instead
6001 of Row pointer, adjust.
6002 (leftMargin): make it take a RowList::iterator as arg, adjust.
6003 (rowBreakPoint): adjust
6004 (breakAgainOneRow): make it take a RowList::iterator as arg,
6006 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6008 * bufferview_funcs.C (toggleAndShow): adjust
6010 2003-03-30 John Levon <levon@movementarian.org>
6014 * boost-inst.C: moved to support
6016 * several files: changes as a result
6018 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6020 * text2.C (LyXText): adjust.
6022 (removeRow): make it take a RowList::iterator as arg, adjust.
6023 (fullRebreak): adjust
6024 (deleteEmptyParagraphMechanism): adjust
6025 (clearPaint): adjust
6028 * text.C (top_y): adjust
6029 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6030 (breakAgain): make it take a RowList::iterator as arg, adjust.
6031 (breakParagraph): adjust
6032 (insertChar): adjust
6035 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6036 need_break_row, and refresh_row.
6038 * text3.C (dispatch): adjust
6040 * text2.C (checkParagraph): adjust
6042 (setCursorFromCoordinates): adjust
6044 * text.C (top_y): adjust
6046 (getRow): make it return a RowList::iterator, adjust
6047 (getRowNearY): make it return a RowList::iterator, adjust
6049 * text2.C (init): adjust
6050 (insertRow): remove function
6051 (insertParagraph): adjust
6052 (redoParagraphs): adjust
6053 (fullRebreak): adjust
6054 (updateCounters): adjust
6056 * text.C (top_y): rewrite to use RowList iterators.
6058 (setHeightOfRow): rewrite to sue RowList iterators.
6059 (appendParagraph): adjust
6060 (breakAgain): adjust
6061 (breakAgainOneRow): adjust
6062 (breakParagraph): adjust
6064 (getRowNearY): adjust, and remove commented code.
6066 * lyxtext.h (firstRow): delete function
6067 (lastRow): delete function
6068 (rows): new function (const and non-const versions.)
6069 (insertRow): delete function
6071 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6073 2003-03-29 John Levon <levon@movementarian.org>
6075 * BufferView_pimpl.C: always update scrollbar top
6076 because pasting text when we're anchored could mean we
6077 miss an update altogether
6079 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6081 * text2.C (init): use rowlist_.end() and not 0.
6082 (insertRow): change to take a RowList::iterator as arg, adjust
6084 (insertParagraph): change to take a RowList::iterator as arg,
6086 (redoParagraphs): remove some debug msgs.
6088 * text.C (appendParagraph): change to take a RowList::iterator
6089 arg, adjust for this.
6090 (breakAgain): add an assert
6091 (breakAgainOneRow): ditto
6093 2003-03-29 John Levon <levon@movementarian.org>
6095 * text2.C: do not clear selection after inc/decDepth
6098 2003-03-29 John Levon <levon@movementarian.org>
6101 * buffer.C: fix broken strerrors according to Lars
6103 2003-03-29 John Levon <levon@movementarian.org>
6105 * converters.C: more Alert cleanups
6107 2003-03-29 John Levon <levon@movementarian.org>
6109 * bufferview_funcs.C: remove pointless Alert
6111 * buffer.C: fix confusing error message when
6112 a template is chmoded 000
6114 2003-03-29 John Levon <levon@movementarian.org>
6118 * BufferView_pimpl.C: Alert fixes
6122 * tabular-old.C: remove unused table compat reading
6124 2003-03-29 John Levon <levon@movementarian.org>
6129 * lyx_cb.C: more Alert cleanups
6131 * lyxfunc.C: don't allow chktex if not latex document
6133 2003-03-29 John Levon <levon@movementarian.org>
6137 * buffer.C: warnings pushed down from support/,
6140 2003-03-29 John Levon <levon@movementarian.org>
6142 * lyxfunc.C: safety check for C-r (revert)
6144 2003-03-29 John Levon <levon@movementarian.org>
6147 * bufferlist.C: several UI fixes using Alert::prompt.
6148 Fix the pointless looping quit code. Fix stupid revert
6153 * lyx_cb.C: use Alert::prompt
6155 * lyx_main.C: remove a silly question
6157 * lyxfunc.C: remove a couple of silly questions,
6160 2003-03-28 John Levon <levon@movementarian.org>
6162 * text2.C: fix bug 974 (End on empty par)
6164 2003-03-28 John Levon <levon@movementarian.org>
6166 * BufferView_pimpl.C:
6168 * lfuns.h: remove do-nothing math greek lfuns
6170 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6172 * lyxgluelength.h (isValidGlueLength): add default arg on
6173 parameter 2. Remove default arg from friend in class.
6175 * lyxlength.h (isValidLength): add default arg on parameter 2.
6176 Remove default arg from friend in class.
6178 * text2.C (LyXText): adjust, initialize refresh_row.
6182 (insertParagraph): adjst
6183 (redoParagraphs): adjust
6184 (fullRebreak): adjust
6185 (updateCounters): adjust
6186 (deleteEmptyParagraphMechanism): first attempt at fixing a
6189 * text.C (top_y): adjust
6190 (setHeightOfRow): adjust
6192 (getRowNearY): adjust
6194 * lyxtext.h: include RowList.h
6195 (~LyXText): not needed anymore, deleted.
6196 (firstRow): modify for RowList
6197 (lastRow): new function
6198 Delete firstrow and lastrow class variables, add a Rowlist
6199 rowlist_ class variable.
6201 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6204 * RowList.C (insert): fix case where it == begin().
6206 2003-03-26 Angus Leeming <leeming@lyx.org>
6208 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6209 the thesaurus dialog.
6211 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6213 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6215 * RowList.[Ch]: new files
6217 * ParagraphList.C (erase): handle the case where it == begin
6220 2003-03-25 John Levon <levon@movementarian.org>
6224 * aspell.C: add new aspell support
6227 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6230 2003-03-25 Angus Leeming <leeming@lyx.org>
6233 * LyXAction.C (init): new LFUN_INSET_INSERT.
6235 * BufferView_pimpl.C (dispatch): split out part of the
6236 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6238 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6241 2003-03-25 Angus Leeming <leeming@lyx.org>
6243 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6245 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6248 * text3.C: remove useless row->height(0)
6250 2003-03-25 John Levon <levon@movementarian.org>
6254 * text3.C: rename the refreshing stuff to better names
6256 2003-03-24 John Levon <levon@movementarian.org>
6258 * BufferView_pimpl.h:
6259 * BufferView_pimpl.C: update layout choice on a mouse
6262 2003-03-23 John Levon <levon@movementarian.org>
6264 * Makefile.am: fix commandtags.h reference
6266 2003-03-22 John Levon <levon@movementarian.org>
6268 * BufferView_pimpl.C:
6273 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6275 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6278 * text.C: take the rtl methods out of line
6280 2003-03-21 André Pönitz <poenitz@gmx.net>
6282 * metricsinfo.[Ch]: new files containing structures to be passed around
6283 during the two-phase-drawing...
6285 2003-03-21 André Pönitz <poenitz@gmx.net>
6287 * lyxtextclass.C: read 'environment' tag.
6289 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6291 * text2.C (removeRow): fix bug 964
6293 2003-03-20 John Levon <levon@movementarian.org>
6297 * text2.C: paint cleanups. Inset::update() dropped font
6300 2003-03-19 John Levon <levon@movementarian.org>
6302 * lyxfunc.C: only fitcursor/markDirty if available()
6304 2003-03-19 John Levon <levon@movementarian.org>
6306 * commandtags.h: rename to ...
6308 * lfuns.h: ... this, and renumber / cleanup
6310 2003-03-19 John Levon <levon@movementarian.org>
6312 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6313 fit the cursor after an lfun
6317 * BufferView_pimpl.h:
6318 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6320 * LyXAction.C: layout-character should have ReadOnly
6322 * ParagraphParameters.C:
6324 * bufferview_funcs.C:
6331 * undo_funcs.C: changes from above
6333 2003-03-18 John Levon <levon@movementarian.org>
6335 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6336 remove it from update()
6338 * lyxfunc.C: update layout choice after an lfun
6340 * text3.C: remove extra updateLayoutChoice()s
6342 2003-03-18 John Levon <levon@movementarian.org>
6344 * text.C: top_y change means full repaint, fix
6345 a drawing bug with cursor movement
6347 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6351 * text2.C: anchor row on setCursor
6353 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6355 * lyxtext.h: remove almost all mutable keywords
6358 * text3.C: remove const keywords accordingly
6360 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6362 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6364 (TeXEnvironment): ditto
6367 2003-03-17 John Levon <levon@movementarian.org>
6369 * text.C (rowBreakPoint): remove attempt to fix displayed
6370 math insets inside a manual label
6372 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6374 * lyxtext.h: remove BufferView* as first arg from almost all class
6376 * other files: adjust.
6378 2003-03-17 John Levon <levon@movementarian.org>
6382 * text2.C: more paint cleanups
6384 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6387 * rowpainter.C: remove "smart" background painting code
6389 2003-03-16 John Levon <levon@movementarian.org>
6394 * text3.C: add helper functions for setting refresh_row/y
6396 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6398 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6399 newline inset which *can* get inserted in the pass_thru layouts.
6400 This is primarily for literate documents.
6402 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6404 * buffer.C: increment LYX_FORMAT to 223
6406 2003-03-14 André Pönitz <poenitz@gmx.net>
6408 * textclass.h: prepare for environment handling, ws changes
6409 * lyxlayout.C: read latexheader and latexfooter tags
6411 2003-03-14 John Levon <levon@movementarian.org>
6413 * text2.C: rewrite ::status() a bit
6415 2003-03-13 John Levon <levon@movementarian.org>
6417 * lyxtext.h: add some docs
6419 2003-03-13 John Levon <levon@movementarian.org>
6424 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6426 2003-03-13 John Levon <levon@movementarian.org>
6428 * text3.C: fix appendix redrawing
6430 2003-03-13 John Levon <levon@movementarian.org>
6432 * text.C (setHeightOfRow):
6434 * rowpainter.C: make appendix mark have the text
6435 "Appendix" so the user knows what it is
6438 * LColor.C: s/appendixline/appendix/ from above
6440 2003-03-13 John Levon <levon@movementarian.org>
6442 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6444 * text.C: fix a getChar(pos) bug properly
6446 2003-03-13 Angus Leeming <leeming@lyx.org>
6449 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6450 Probably only temporary. Let's see how things pan out.
6452 * BufferView.C (unlockInset):
6453 * BufferView_pimpl.C (fitCursor):
6454 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6456 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6457 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6459 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6460 new functions that convert ParagraphParameters to and from a string.
6462 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6463 BufferView::Pimpl's dispatch.
6464 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6466 2003-03-13 André Pönitz <poenitz@gmx.net>
6470 * factory.C: make it aware of InsetEnv
6472 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6474 * text2.C (setCursor): never ask for one past last
6475 (setCursor): add some debugging messages.
6477 * text.C (singleWidth): never ask for one past last
6478 (singleWidth): ditto
6480 (rightMargin): ditto
6481 (rowBreakPoint): ditto
6482 (setHeightOfRow): ditto
6483 (prepareToPrint): ditto
6485 * rowpainter.C (paintBackground): never ask for one past last
6486 (paintText): never ask for one past last
6488 * paragraph_pimpl.C (getChar): make the assert stricter, never
6489 allow the one past last pos to be taken
6491 * paragraph.C (getChar): ws changes only
6493 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6494 (numberOfSeparators): ditto
6495 (numberOfHfills): ditto
6497 2003-03-12 John Levon <levon@movementarian.org>
6503 * paragraph_funcs.C: fix per-buffer authorlists
6505 2003-03-12 John Levon <levon@movementarian.org>
6507 * text.C: fix newline in right address
6509 2003-03-12 Angus Leeming <leeming@lyx.org>
6511 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6512 duplicate those in LyXFunc::dispatch.
6516 * ToolbarDefaults.C:
6517 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6518 Add LFUN_FONTFREE_UPDATE.
6520 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6521 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6523 * bufferview_func.[Ch]: several new functions to facilliate
6524 transfer of data to and from the character dialog.
6526 2003-03-12 John Levon <levon@movementarian.org>
6531 * paragraph_funcs.C:
6532 * paragraph_pimpl.C:
6536 * text3.C: remove META_NEWLINE in favour of an inset
6539 * rowpainter.C: remove paintNewline (done by inset)
6541 2003-03-12 John Levon <levon@movementarian.org>
6543 * paragraph_pimpl.C: complain about bad getChar()s
6544 for a while at least
6546 2003-03-12 John Levon <levon@movementarian.org>
6549 * buffer.C: move paragraph read into a separate function,
6550 a little renaming to reflect that.
6553 * bufferparams.C: remove the author_ids map, not necessary now
6556 * factory.C: moved Buffer::readInset to here
6558 * paragraph_funcs.h:
6559 * paragraph_funcs.C: readParagraph free function moved from
6562 * tabular.C: name change
6564 2003-03-12 John Levon <levon@movementarian.org>
6567 * ParagraphParameters.C: move par params input to
6570 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6571 behave like a normal read from the stream wrt reading
6572 a line vs. a \\token
6574 2003-03-12 John Levon <levon@movementarian.org>
6577 * ParagraphParameters.h:
6578 * ParagraphParameters.C: move output code to a
6581 2003-03-12 John Levon <levon@movementarian.org>
6583 * BufferView.C (insertLyXFile):
6586 * tabular.C: use a parlist iterator for creating the
6589 2003-03-12 John Levon <levon@movementarian.org>
6591 * buffer.C: make current_change static local not
6594 2003-03-12 John Levon <levon@movementarian.org>
6596 * buffer.C: fix insertStringAsLines for change tracking
6598 2003-03-12 John Levon <levon@movementarian.org>
6605 * bufferparams.C: move author list into params. Rename some
6606 functions. Move the header reading into a separate token
6607 loop. Move the header token reading into BufferParams.
6609 2003-03-12 John Levon <levon@movementarian.org>
6611 * changes.C: put debug inside lyxerr.debugging() checks
6613 2003-03-11 André Pönitz <poenitz@gmx.net>
6615 * factory.C: make it aware of InsetHFill
6617 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6619 * buffer.C (latexParagraphs): move function from here...
6620 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6623 2003-03-10 Angus Leeming <leeming@lyx.org>
6625 * LyXAction.C (init): fix bug in poplating array with multiple entries
6626 with the same LFUN (spotted by JMarc).
6628 2003-03-10 John Levon <levon@movementarian.org>
6631 * text2.C: move getColumnNearX() near its
6634 2003-03-10 John Levon <levon@movementarian.org>
6636 * text.C: fix break before a minipage
6638 2003-03-10 John Levon <levon@movementarian.org>
6640 * text.C: fix the last commit
6642 2003-03-09 John Levon <levon@movementarian.org>
6646 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6647 bug 365 (don't break before insets unless needed). Don't
6648 return a value > last under any circumstances.
6650 2003-03-09 Angus Leeming <leeming@lyx.org>
6652 * BufferView_pimpl.C (trackChanges, dispatch): call
6653 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6655 2003-03-09 Angus Leeming <leeming@lyx.org>
6657 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6658 than Dialogs::showAboutlyx().
6660 2003-03-09 Angus Leeming <leeming@lyx.org>
6662 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6663 than Dialogs::showTabularCreate().
6665 2003-03-09 John Levon <levon@movementarian.org>
6669 * text2.C: 3rd arg to nextBreakPoint was always the same.
6672 2003-03-08 John Levon <levon@movementarian.org>
6679 * text2.C: Remove the "main" bit from the "main body"
6682 2003-03-08 John Levon <levon@movementarian.org>
6684 * text.C (leftMargin): The left margin of an empty
6685 manual label paragraph should not include the label width
6688 * text.C (prepareToPrint): don't attempt to measure hfills
6689 for empty manual label paragraphs - the answer should be 0
6691 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6693 * CutAndPaste.C: remove commented code and reindent.
6695 2003-03-08 John Levon <levon@movementarian.org>
6698 * lyxfunc.C: move reloadBuffer()
6701 * BufferView.C: to here
6703 * lyxvc.C: add comment
6706 * vc-backend.C: call bv->reload() to avoid
6707 getStatus() check on MENURELOAD
6709 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6711 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6712 to an old format .dep file.
6714 2003-03-07 Angus Leeming <leeming@lyx.org>
6716 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6717 when the LFUN_MOUSE_RELEASE should have been handled by
6718 inset->localDispatch.
6720 2003-03-07 Angus Leeming <leeming@lyx.org>
6722 * BufferView_pimpl.C (dispatch):
6723 * LyXAction.C (init):
6724 * ToolbarDefaults.C (init):
6726 * lyxfunc.C (getStatus):
6727 remove LFUN_INSET_GRAPHICS.
6729 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6731 2003-03-07 Angus Leeming <leeming@lyx.org>
6734 * LyXAction.C (init):
6735 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6737 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6740 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6742 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6743 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6745 2003-03-07 Angus Leeming <leeming@lyx.org>
6747 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6750 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6752 * ParagraphList.C (front): new function
6755 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6757 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6758 and top_row_offset_. removed var first_y.
6760 * text2.C (LyXText, removeRow):
6762 * BufferView_pimpl.C:
6763 use these methods instead of using first_y
6765 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6767 * text2.C (pasteSelection): adjust for checkPastePossible
6769 * CutAndPaste.C: remove Paragraph * buf and replace with
6770 ParagraphList paragraphs.
6771 (DeleteBuffer): delete
6772 (cutSelection): change the tc type to textclass_type
6773 (copySelection): change the tc type to textclass_type
6774 (copySelection): adjust for ParagraphList
6775 (pasteSelection): change the tc type to textclass_type
6776 (pasteSelection): adjust for Paragraphlist
6777 (nrOfParagraphs): simplify for ParagraphList
6778 (checkPastePossible): simplify for ParagraphList
6779 (checkPastePossible): remove unused arg
6781 * ParagraphList.C (insert): handle the case where there are no
6784 * CutAndPaste.h: make CutAndPaste a namespace.
6786 * text3.C (dispatch): adjust
6788 * text.C (breakParagraph): add a ParagraphList as arg
6790 * paragraph_funcs.C (breakParagraph): change to take a
6791 BufferParams and a ParagraphList as args.
6792 (breakParagraphConservative): ditto
6793 (mergeParagraph): ditto
6794 (TeXDeeper): add a ParagraphList arg
6795 (TeXEnvironment): ditto
6798 * buffer.C (readLyXformat2): adjust
6799 (insertStringAsLines): adjust
6800 (latexParagraphs): adjust
6802 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6803 (cutSelection): adjust
6804 (pasteSelection): adjust
6806 * BufferView_pimpl.C (insertInset): adjust
6808 2003-03-05 Angus Leeming <leeming@lyx.org>
6811 * LyXAction.C (init):
6812 * BufferView_pimpl.C (dispatch):
6813 * lyxfunc.C (getStatus):
6814 remove LFUN_CHILD_INSERT.
6816 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6818 2003-03-05 Angus Leeming <leeming@lyx.org>
6821 * LyXAction.C (init):
6822 * src/factory.C (createInset):
6823 * lyxfunc.C (getStatus):
6824 * text3.C (dispatch):
6825 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6827 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6829 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6831 * ParagraphList.C (insert): handle insert right before end()
6832 (erase): fix cases where it can be first or last paragraph.
6834 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6836 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6837 Paragraph::next and Paragraph::previous
6840 * text.C (breakParagraph): adjust
6842 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6843 BufferParams& as arg.
6844 (breakParagraph): use ParagraphList::insert
6845 (breakParagraphConservative): take a Buffer* instead of a
6846 BufferParams& as arg.
6847 (breakParagraphConservative): use ParagraphList::insert.
6849 * buffer.C (insertStringAsLines): un-const it
6850 (insertStringAsLines): adjust
6852 * ParagraphList.C (insert): new function
6854 * CutAndPaste.C (pasteSelection): adjust
6856 * text.C (backspace): adjust
6858 * tabular.C (SetMultiColumn): adjust
6860 * CutAndPaste.C (cutSelection): adjust
6861 (pasteSelection): adjust
6863 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6864 Buffer const * as arg
6866 * ParagraphList.C (erase): new function
6867 * paragraph_funcs.C (mergeParagraph): use it
6868 (mergeParagraph): make it take a Buffer* instead of a
6869 BufferParams* as arg
6871 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6873 (breakParagraphConservative): ditto
6875 * paragraph.h: remove the breakParagraph friend
6877 * paragraph.C (eraseIntern): new function
6878 (setChange): new function
6880 * paragraph_funcs.C (mergeParagraph): make it take a
6881 ParagraphList::iterator instead of a Paragraph *, adjust
6884 * paragraph.h: move an #endif so that the change tracking stuff
6885 also works in the NO_NEXT case.
6887 2003-03-04 Angus Leeming <leeming@lyx.org>
6890 * LyXAction.C: new LFUN_INSET_MODIFY.
6892 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6893 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6895 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6897 * several files: ws changes only
6899 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6900 (TeXEnvironment): ditto
6903 * buffer.C (makeLaTeXFile): adjust
6904 (latexParagraphs): make it take ParagraphList::iterator as args
6906 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6908 * buffer.C (latexParagraphs): adjust
6910 * paragraph.C (TeXOnePar): move function...
6911 (optArgInset): move function...
6912 (TeXEnvironment): move function...
6913 * paragraph_pimpl.C (TeXDeeper): move function...
6914 * paragraph_funcs.C: ...here
6916 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6918 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6920 * buffer.C (readInset): remove compability code for old Figure and
6923 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6925 * buffer.C: ws changes
6928 * BufferView_pimpl.C: ditto
6931 * bufferlist.h: ditto
6935 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6937 * converter.[Ch]: split into itself +
6940 * Makefile.am: += graph.[Ch] + format.[Ch]
6947 * lyxrc.C: added #include "format.h"
6949 2003-02-27 Angus Leeming <leeming@lyx.org>
6951 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6954 * factory.C (createInset): add "label" to the factory.
6956 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6957 string and do no more.
6959 2003-02-27 Angus Leeming <leeming@lyx.org>
6962 * LyXAction.C (init):
6963 * factory.C (createInset):
6964 * BufferView_pimpl.C (dispatch):
6965 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6967 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6969 * lyxfunc.C (dispatch):
6970 * text3.C (dispatch): pass name to params2string.
6972 2003-02-26 Angus Leeming <leeming@lyx.org>
6974 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6976 Rearrange the ~includes. Strip out the unnecessary ones.
6978 * factory.C (createInset): reformat.
6979 create new insets for the various LFUN_XYZ_APPLY lfuns.
6981 2003-02-26 John Levon <levon@movementarian.org>
6984 * lyxrow.C: add isParStart,isParEnd helpers
6986 * paragraph.h: make isInserted/DeletedText take refs
6988 * paragraph_funcs.h:
6989 * paragraph_funcs.C: remove #if 0'd code
6994 * text.C: use lyxrow helpers above.
6995 Move draw and paint routines to RowPainter.
6996 Make several methods use refs not pointers.
6997 Make backgroundColor() const.
6998 Add markChangeInDraw(), isInInset().
6999 Merge changeRegionCase into changeCase.
7000 Make workWidth() shouldn't-happen code into an Assert.
7003 * rowpainter.C: new class for painting a row.
7006 * vspace.C: make inPixels take a ref
7008 2003-02-26 Angus Leeming <leeming@lyx.org>
7010 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7013 2003-02-25 John Levon <levon@movementarian.org>
7015 * ispell.C: give the forked command a more accurate name
7017 2003-02-22 John Levon <levon@movementarian.org>
7020 * toc.C: make TocItem store an id not a Paragraph *
7023 2003-02-21 Angus Leeming <leeming@lyx.org>
7025 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7026 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7027 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7028 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7029 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7030 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7032 * BufferView_pimpl.C (dispatch):
7033 * LyXAction.C (init):
7034 * factory.C (createInset):
7035 * lyxfunc.C (getStatus, dispatch):
7036 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7038 2003-02-21 Angus Leeming <leeming@lyx.org>
7040 * BufferView_pimpl.C (MenuInsertLyXFile):
7041 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7042 * lyxfunc.C (menuNew, open, doImport):
7043 no longer pass a LyXView & to fileDlg.
7045 2003-02-21 Angus Leeming <leeming@lyx.org>
7047 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7048 * LyXAction.C: change, BIBKEY to BIBITEM.
7049 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7050 Change InsetBibKey to InsetBibitem.
7051 Change BIBKEY_CODE to BIBITEM_CODE.
7052 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7053 * factory.C: replace insetbib.h with insetbibitem.h.
7054 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7055 * paragraph.C: replace insetbib.h with insetbibitem.h.
7056 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7057 Change bibkey() to bibitem().
7058 * text.C: remove insetbib.h.
7059 * text2.C: replace insetbib.h with insetbibitem.h.
7060 change bibkey() to bibitem().
7061 * text3.C: remove insetbib.h.
7062 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7064 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7066 * lyxrc.C (output): enclose user email in quotes (in case there are
7069 2003-02-18 John Levon <levon@movementarian.org>
7071 * buffer.h: add std::
7073 2003-02-17 John Levon <levon@movementarian.org>
7079 * pspell.C: reworking. Especially in ispell, a large
7080 number of clean ups and bug fixes.
7082 * lyxfunc.C: fix revert to behave sensibly
7084 2003-02-17 André Pönitz <poenitz@gmx.net>
7087 * commandtags.h: new LFUN_INSERT_BIBKEY
7097 * paragraph_func.C: remove special bibkey handling
7099 2003-02-17 John Levon <levon@movementarian.org>
7101 * text.C (Delete): fix case where delete at the end of
7102 the very first paragraph would not merge the pars
7104 2003-02-17 John Levon <levon@movementarian.org>
7106 * lyxrow.C: fix lastPrintablePos()
7108 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7110 * bufferparams.C (writeLaTeX): add a std:here
7112 * buffer.C: and remove a using directive there
7114 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7116 * buffer.C (makeLaTeXFile): move the code that generates the
7119 * bufferparams.C (writeLaTeX): ... in this new method
7121 * LaTeXFeatures.C (getEncodingSet): make const
7122 (getLanguages): make const
7124 * MenuBackend.C (binding): returns the binding associated to this
7126 (add): sets the status of each item by calling getStatus. Adds
7128 (read): add support for OptSubMenu
7129 (expand): remove extra separator at the end of expanded menu
7131 2003-02-15 John Levon <levon@movementarian.org>
7134 * BufferView_pimpl.C:
7136 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7137 inset code that had no actual effect. Remove unneeded status
7140 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7142 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7145 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7147 * text.C (drawLengthMarker): also draw an arrow marker for
7148 symbolic lengths (medskip...)
7150 2003-02-14 John Levon <levon@movementarian.org>
7153 * tabular.C: better method names
7155 2003-02-14 John Levon <levon@movementarian.org>
7157 * BufferView_pimpl.C:
7162 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7163 it's a more accurate name. Remove some pointless uses.
7165 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7167 * text2.C (LyXText): change order of initilizers to shut off
7170 2003-02-14 John Levon <levon@movementarian.org>
7172 * buffer.C: use ParIterator for getParFromID()
7176 * paragraph_pimpl.h:
7177 * paragraph_pimpl.C: remove unused getParFromID()
7179 2003-02-14 John Levon <levon@movementarian.org>
7181 * buffer.C: remove some very old #if 0'd parse code
7183 2003-02-13 John Levon <levon@movementarian.org>
7187 * text2.C: move hfillExpansion(), numberOfSeparators(),
7188 rowLast(), rowLastPrintable(), numberofHfills(),
7189 numberOfLabelHfills() ...
7192 * lyxrow.C: ... to member functions here.
7197 * text.C: remove LyXText::beginningOfMainBody(), and call
7198 p->beginningOfMainBody() directly. Move the check for
7199 LABEL_MANUAL into the latter.
7206 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7212 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7213 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7215 2003-02-13 John Levon <levon@movementarian.org>
7217 * CutAndPaste.C: remove debug
7219 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7221 * paragraph.C (asString): remove two unused variables
7223 * lyxtextclass.C (readTitleType):
7225 (LyXTextClass): handle new members titletype_ and titlename_
7227 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7229 2003-02-09 John Levon <levon@movementarian.org>
7232 * buffer.C: replace hand-coded list with a map for the dep clean
7234 2003-02-08 John Levon <levon@movementarian.org>
7236 * LaTeX.C: consolidate code into showRunMessage() helper
7238 2003-02-08 John Levon <levon@movementarian.org>
7243 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7244 and pass the size in explicitly
7246 * BufferView_pimpl.h:
7247 * BufferView_pimpl.C:
7249 * BufferView.C: add getCurrentChange()
7251 * BufferView_pimpl.h:
7252 * BufferView_pimpl.C: handle change lfuns
7254 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7255 for changes. Mark pasted paragraphs as new.
7257 * support/lyxtime.h:
7258 * support/lyxtime.C:
7259 * DepTable.C: abstract time_t as lyx::time_type
7262 * LColor.C: add colours for new text, deleted text, changebars
7264 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7265 package use "usenames" option.
7269 * LyXAction.C: add change lfuns
7273 * author.C: author handling
7276 * buffer.C: add a per-buffer author list, with first entry as
7277 current author. Handle new .lyx tokens for change tracking. Output
7278 author list to .lyx file. Output dvipost stuff to .tex preamble.
7279 Bump lyx format to 222.
7282 * bufferlist.C: add setCurrentAuthor() to reset current author details
7286 * bufferparams.C: add param for tracking
7288 * bufferview_funcs.C: output change info in minibuffer
7292 * changes.C: add change-tracking structure
7295 * debug.C: add CHANGES debug flag
7298 * lyxfind.C: add code for finding the next change piece
7301 * lyxrc.C: add user_name and user_email
7304 * lyxrow.C: add a metric for the top of the text line
7307 * text.C: implement accept/rejectChange()
7310 * text.C: paint changebars. Paint new/deleted text in the chosen
7311 colours. Strike through deleted text.
7315 * paragraph_pimpl.h:
7316 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7317 in the current change to the insert functions. Rework erase to
7318 mark text as deleted, adding an eraseIntern() and a range-based
7319 erase(). Implement per-paragraph change lookup and
7322 * paragraph_funcs.C: Fixup paste for change tracking.
7324 * tabular.C: mark added row/columns as new.
7326 * text.C: fix rowLast() to never return -1. Don't allow
7327 spellchecking of deleted text. Track transpose changes. Don't
7328 allow paragraph break or merge where appropriate.
7330 * text2.C: leave cursor at end of selection after a cut.
7332 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7334 * text.C (getLengthMarkerHeight):
7335 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7336 visible on screen too.
7338 2003-02-07 John Levon <levon@movementarian.org>
7340 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7342 2003-02-05 Angus Leeming <leeming@lyx.org>
7344 * lyxserver.C (read_ready): revert my patch of 11 September last year
7345 as it sends PC cpu through the roof. Presumably this means that
7346 the lyxserver will no longer run on an Alpha...
7348 2003-01-30 Angus Leeming <leeming@lyx.org>
7350 * factory.C (createInset): create an InsetCommandParam of type "index"
7351 and use it to 'do the right thing'.
7353 * text2.C (getStringToIndex): ensure that cursor position is always
7354 reset to the reset_cursor position.
7356 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7358 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7361 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7365 * lyxfunc.C: Output messages with identical spelling, punctuation,
7368 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7370 * MenuBackend.C (expandFormats): List only viewable export formats
7373 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7376 * lyxfunc.C (getStatus): Make sure that formats other than
7377 "fax" can also be disabled
7379 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7381 * text3.C (dispatch): put the lfuns that insert insets in 3
7382 groups, and call doInsertInset with appropriate arguments.
7383 (doInsertInset): new function, that creates an inset and inserts
7384 it according to some boolean parameters.
7386 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7388 * buffer.C (readFile): remember to pass on 'par' when calling
7389 readFile recursively.
7391 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7393 * MenuBackend.C (expandFormats): add "..." to import formats.
7395 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7397 * paragraph.C (asString): Remove XForms RTL hacks.
7399 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7400 * buffer.C: fix typo
7402 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7404 * Makefile.am (LIBS): delete var
7405 (lyx_LDADD): add @LIBS@ here instead.
7407 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7409 * Clarify the meaning of "wheel mouse jump"
7411 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7413 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7416 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7418 * importer.C (Loaders): do not preallocate 3 elements in the
7419 vector, since one ends up with 6 elements otherwise
7421 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7423 * DepTable.C (write): write the file name as last element of the
7424 .dep file (because it may contain spaces)
7425 (read): read info in the right order
7427 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7429 * paragraph_pimpl.C (simpleTeXBlanks):
7430 (simpleTeXSpecialChars):
7431 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7433 * tabular.C (latex): add some missing case statements. Reindent.
7435 * MenuBackend.C (expandToc): remove unused variable.
7437 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7446 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7449 2003-01-05 John Levon <levon@movementarian.org>
7452 * BufferView.C: add getEncoding()
7455 * kbsequence.C: do not store last keypress
7458 * lyxfunc.C: store last keypress here instead. Pass encoding
7461 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7463 * lyx_main.C (init): remove annoying error message when following
7464 symbolic links (bug #780)
7466 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7468 * text.C (insertChar):
7469 * lyxrc.C (getDescription): remove extra spaces
7471 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7473 * lyxrc.C (getDescription): remove extra spaces
7475 2002-12-20 John Levon <levon@movementarian.org>
7477 * text3.C: hack fix for page up/down across tall rows
7479 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7481 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7484 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7486 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7487 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7488 thesaurus is not compiled in
7490 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7492 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7494 2002-12-16 Angus Leeming <leeming@lyx.org>
7497 * lyx_main.C (init): remove override_x_deadkeys stuff.
7499 2002-12-12 John Levon <levon@movementarian.org>
7501 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7502 insert. Only remove shift modifier under strict
7505 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7507 * MenuBackend.C (expandToc): fix crash.
7509 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7511 * MenuBackend.C (expandToc): gettext on float names.
7513 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7515 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7516 implement bool empty() [bug 490]
7518 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7520 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7522 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7524 * several files: ws changes
7526 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7528 * text2.C (setCounter): clean up a bit, use boost.format.
7529 (updateCounters): initialize par upon declaration.
7531 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7532 if the layout exists. We do not just store the layout any more.
7533 (SwitchLayoutsBetweenClasses): use boost.format
7535 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7537 * converter.C (convert): if from and to files are the same, use a
7538 temporary files as intermediary
7540 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7543 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7545 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7547 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7549 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7551 * tabular.C (asciiPrintCell): use string(size, char) instead of
7554 * sgml.C (openTag): fix order of arguments to string constructor
7557 * lyxfunc.C (dispatch): use boost.format
7559 * lots of files: change "c" -> 'c'
7561 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7563 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7565 2002-11-25 Angus Leeming <leeming@lyx.org>
7567 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7569 * lyx_main.C (init): compile fix.
7571 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7573 * lyx_cb.C (start): boost.formatify
7574 do not include <iostream>
7576 * lengthcommon.C: ws only
7578 * boost-inst.C,BoostFormat.h: add more explict instantations
7580 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7582 * lots of files: handle USE_BOOST_FORMAT
7584 2002-11-21 John Levon <levon@movementarian.org>
7586 * pspell.C: fix compile
7588 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7590 * lyxfunc.C (dispatch): use boost::format
7594 * lyxfont.C (stateText): use boost::format
7596 * lyx_main.C (LyX): use boost::format
7598 (queryUserLyXDir): ditto
7601 (typedef boost::function): use the recommened syntax.
7603 * importer.C (Import): use boost::format
7605 * debug.C (showLevel): use boost::format
7607 * converter.C (view): use boost::format
7612 * bufferview_funcs.C (currentState): use boost::format
7614 * bufferlist.C (emergencyWrite): use boost::format
7616 * buffer.C (readLyXformat2): use boost::format
7617 (parseSingleLyXformat2Token): ditto
7619 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7621 * LaTeX.C (run): use boost::format
7623 * Chktex.C (scanLogFile): use boost::format
7625 * BufferView_pimpl.C (savePosition): use boost::format
7626 (restorePosition): ditto
7627 (MenuInsertLyXFile): ditto
7629 * BoostFormat.h: help file for explicit instation.
7631 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7633 * tabular.C (latex): Support for block alignment in fixed width
7636 2002-11-17 John Levon <levon@movementarian.org>
7638 * BufferView_pimpl.C:
7640 * lyxfunc.C: split filedialog into open/save
7642 2002-11-08 Juergen Vigna <jug@sad.it>
7644 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7645 by my last patch (hopefully).
7647 2002-11-08 John Levon <levon@movementarian.org>
7656 * toc.C: ParConstIterator, and use it (from Lars)
7658 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7660 * lyxtextclass.[Ch]: revise and add doxygen comments
7662 2002-11-07 John Levon <levon@movementarian.org>
7664 * text.C: fix progress value for spellchecker
7666 * toc.C: fix navigate menu for insetwrap inside minipage
7668 * paragraph_funcs.C: added FIXME for suspect code
7670 2002-11-07 John Levon <levon@movementarian.org>
7672 * BufferView_pimpl.C: fix redrawing of insets
7675 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7677 * text2.C (updateCounters): fix bug 668
7679 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7681 * text3.C (dispatch): Do not make the buffer dirty when moving the
7684 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7686 * vc-backend.C: STRCONV
7689 * text2.C (setCounter): STRCONV
7691 * paragraph.C (asString): STRCONV
7693 * lyxlength.C (asString): STRCONV
7694 (asLatexString): ditto
7696 * lyxgluelength.C (asString): STRCONV
7697 (asLatexString): ditto
7699 * lyxfunc.C (dispatch): STRCONV
7702 * lyxfont.C (stateText): STRCONV
7704 * importer.C (Import): STRCONV
7706 * counters.C (labelItem): STRCONV
7707 (numberLabel): ditto
7708 (numberLabel): remove unused ostringstream o
7713 * bufferview_funcs.C (currentState): STRCONV
7715 * buffer.C (readFile): STRCONV
7716 (asciiParagraph): ditto
7717 (makeLaTeXFile): ditto
7719 * Spacing.C (writeEnvirBegin): STRCONV
7721 * LaTeXFeatures.C (getLanguages): STRCONV
7722 (getPackages): ditto
7724 (getBabelOptions): ditto
7725 (getTClassPreamble): ditto
7726 (getLyXSGMLEntities): ditto
7727 (getIncludedFiles): ditto
7731 (scanAuxFile): ditto
7734 * LString.h: add the STRCONV macros
7736 * BufferView_pimpl.C (savePosition): STRCONV
7737 (restorePosition): ditto
7738 (MenuInsertLyXFile): ditto
7740 * vc-backend.C (scanMaster): change from submatch[...] to
7743 * funcrequest.C: include config.h
7745 * factory.C: include config.h
7747 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7749 * box.C: include config.h
7751 * LaTeX.C (scanAuxFile): change from submatch[...] to
7755 2002-10-25 Angus Leeming <leeming@lyx.org>
7757 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7759 * ispell.[Ch] (setError): new method.
7760 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7761 Use setError() insetead of goto END.
7763 * lyx_cb.C (AutoSave): move out child process into new class
7766 2002-10-30 John Levon <levon@movementarian.org>
7768 * text3.C: make start appendix undoable
7770 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7772 * lyxlength.C (inPixels): Fix returned value.
7774 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7777 2002-10-24 Angus Leeming <leeming@lyx.org>
7779 * lyxgluelength.h: no need to forward declare BufferParams
7780 or BufferView, so don't.
7782 2002-10-21 John Levon <levon@movementarian.org>
7784 * BufferView.C: menuUndo ->undo, redo
7786 * BufferView.h: document, remove dead, make some methods private
7788 * paragraph_funcs.h:
7789 * paragraph_funcs.C:
7790 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7795 * sgml.C: move sgml open/close tag into sgml.C
7797 * bufferview_funcs.h: unused prototype
7800 * lyxfunc.C: remove unused
7803 * text.C: remove unused
7805 2002-10-21 John Levon <levon@movementarian.org>
7809 * BufferView_pimpl.h:
7810 * BufferView_pimpl.C: fix mouse wheel handling based on
7811 patch from Darren Freeman
7813 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7815 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7817 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7819 * lyxlength.C (inPixels): Fix hanfling of negative length.
7820 Fix LyXLength::MU case.
7822 2002-10-16 John Levon <levon@movementarian.org>
7824 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7826 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7828 * converter.C (view): add support for $$i (file name) and $$p
7829 (file path) for the viewer command. If $$i is not specified, then
7830 it is appended to the command (for compatibility with old syntax)
7832 2002-10-14 Juergen Vigna <jug@sad.it>
7834 * undo_funcs.C (textHandleUndo): alter the order in which the
7835 new undopar is added to the LyXText, as we have to set first
7836 the right prev/next and then add it as otherwise the rebuild of
7837 LyXText is not correct. Also reset the cursor to the right paragraph,
7838 with this IMO we could remove the hack in "redoParagraphs()".
7840 2002-10-09 Angus Leeming <leeming@lyx.org>
7842 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7843 to turn off an optimisation if a new inset is to be inserted.
7845 2002-10-11 André Pönitz <poenitz@gmx.net>
7847 * lyxtext.h: make some functions public to allow access
7848 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7850 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7852 * text3.C (dispatch): when changing layout, avoid an infinite loop
7855 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7857 * lyxrc.C (read): treat a viewer or converter command of "none" as
7860 * MenuBackend.C (expandFormats): for an update, also allow the
7861 formats that are not viewable
7863 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7864 script if it is newer than the lyxrc.defaults in user directory
7866 2002-10-07 André Pönitz <poenitz@gmx.net>
7868 * text.C: Vitaly Lipatov's small i18n fix
7870 2002-09-25 Angus Leeming <leeming@lyx.org>
7872 * ispell.h: doxygen fix.
7874 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7876 * buffer.h (readFile): Add a new argument to the method, to allow
7877 reading of old-format templates.
7879 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7881 * toc.C (getTocList): Get TOC from InsetWrap.
7883 2002-09-16 John Levon <levon@movementarian.org>
7885 * lyxfunc.C: check tabular for cut/copy too
7887 2002-09-12 John Levon <levon@movementarian.org>
7892 * factory.C: add header
7894 * paragraph_funcs.h:
7895 * paragraph_funcs.C: cleanup
7897 2002-09-11 John Levon <levon@movementarian.org>
7899 * PrinterParams.h: odd/even default to true
7901 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7903 * PrinterParams.h: update printer parameters for new xforms dialog
7905 2002-09-11 Angus Leeming <leeming@lyx.org>
7907 * lyxserver.C (read_ready): re-write to make it more transparent
7908 and to make it work in coherent fashion under Tru64 Unix.
7910 2002-09-11 André Pönitz <poenitz@gmx.net>
7914 * text3.C: implement LFUN_WORDSEL
7916 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7918 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7919 make floatlist_ a boost::shared_ptr<FloatList>
7921 * lyxtextclass.C: include FloatList.h
7922 (LyXTextClass): initialize floatlist_
7923 (TextClassTags): add TC_NOFLOAT
7924 (Read): match "nofloat" to TC_NOFLOAT and use it.
7925 (readFloat): modify call to floatlist_
7929 * FloatList.[Ch] (FloatList): remove commented out float
7931 (erase): new function
7933 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7935 * MenuBackend.C (expandToc): fix crash when there is no document
7938 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7940 * many files: Add insetwrap.
7942 2002-09-09 John Levon <levon@movementarian.org>
7944 * text2.C: remove confusing and awkward depth wraparound
7946 2002-09-09 John Levon <levon@movementarian.org>
7948 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7951 * buffer.C: remove getIncludeonlyList()
7954 * lyxfunc.C: remove headers
7956 2002-09-09 Juergen Vigna <jug@sad.it>
7958 * text.C (getColumnNearX): fix form Michael this is most
7959 probably a cut&paste bug.
7961 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7963 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7965 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7966 references, ws changes.
7968 * text2.C (init): update counters after init
7969 (insertParagraph): no need to set counter on idividual paragraphs.
7970 (setCounter): access the counters object in the textclass object
7971 on in the buffer object.
7972 (updateCounters): ditto
7974 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7975 shared_ptr<Counters> to avoid loading counters.h in all
7977 (LyXTextClass): initialize ctrs_
7978 (TextClassTags): add TC_COUNTER, and ...
7979 (Read): use it here.
7980 (CounterTags): new tags
7981 (readCounter): new function
7982 (counters): new funtion
7983 (defaultLayoutName): return a const reference
7985 * counters.C (Counters): remove contructor
7986 (newCounter): remove a couple of unneeded statements.
7987 (newCounter): simplify a bit.
7988 (numberLabel): some small formatting changes.
7990 * buffer.[Ch]: remove all traces of counters, move the Counters
7991 object to the LyXTextClass.
7993 2002-09-06 Alain Castera <castera@in2p3.fr>
7995 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7996 package to set the horizontal alignment on fixed width columns.
7999 * lyx_sty.h: added tabularnewline macro def.
8001 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8003 2002-09-06 John Levon <levon@movementarian.org>
8005 * LyXAction.C: tooltips for sub/superscript
8007 * MenuBackend.C: a bit more verbose
8009 * lyxfunc.C: tiny clean
8011 * undo_funcs.C: document undo_frozen
8013 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8015 * counters.C (Counters): add missing algorithm counter.
8017 * text2.C (setCounter): lookup the counter with layouts latexname
8018 instead of by section number.
8019 (setCounter): use a hackish way to lookup the correct enum
8021 a float name->type change
8022 reset enum couners with counter name directly instead of depth value.
8024 * counters.C (Counters): remove the push_backs, change to use the
8025 float type not the float name.
8026 (labelItem): remove unused string, float name->type change
8028 * counters.h: don't include vector, loose the enums and sects vectors
8030 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8032 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8033 (Read): add float->TC_FLOAT to textclassTags
8034 (Read): and handle it in the switch
8035 (readFloat): new function
8037 * FloatList.C (FloatList): comment out the hardcoded float
8040 * lyxlayout.h: ws change.
8042 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8044 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8046 2002-09-03 Angus Leeming <leeming@lyx.org>
8048 * BufferView_pimpl.h: qualified name is not allowed in member
8049 declaration: WorkArea & Pimpl::workarea() const;
8051 * factory.C: added using std::endl directive.
8053 * text3.C: added using std::find and std::vector directives.
8055 2002-08-29 André Pönitz <poenitz@gmx.net>
8058 * text2.C: remove unused member number_of_rows
8061 * BufferView2.C: remove file, move contents to...
8062 * BufferView.C: ... here
8064 * BufferView_pimpl.C:
8065 * factory.C: move more inset creation to factory
8067 * vspace.C: avoid direct usage of LyXText, ws changes
8070 don't provide direct access to WorkArea, use two simple
8071 acessors haveSelction() and workHeight() instead
8074 2002-08-29 John Levon <levon@movementarian.org>
8076 * BufferView_pimpl.C (dispatch): do not continue when
8079 2002-08-28 André Pönitz <poenitz@gmx.net>
8081 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8084 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8086 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8088 * buffer.C: increment LYX_FORMAT to 221
8090 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8091 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8093 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8095 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8097 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8099 * factory.C (createInset): use LyXTextClass::floats
8101 * MenuBackend.C (expandFloatListInsert):
8102 (expandFloatInsert):
8105 * text2.C (setCounter):
8107 * LaTeXFeatures.C (useFloat):
8108 (getFloatDefinitions):
8110 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8112 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8113 floatlist_, with accessor floats().
8115 * FloatList.h: remove global FloatList
8117 2002-08-26 André Pönitz <poenitz@gmx.net>
8119 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8123 * BufferView_pimpl.C:
8124 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8126 2002-08-25 John Levon <levon@movementarian.org>
8128 * LyXAction.C: fix margin note description
8130 2002-08-24 John Levon <levon@movementarian.org>
8134 * bufferview_funcs.C:
8136 * undo_funcs.C: cleanups
8138 * lyxfunc.C: disable CUT/COPY when no selection
8140 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8142 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8143 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8145 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8146 Add backward compatibility to "mono", "gray" and "no".
8148 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8150 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8151 (and file_format >= 200).
8153 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8155 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8157 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8159 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8161 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8163 * BufferView_pimpl.C:
8170 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8171 inset and code to make it work with the paragraph code. The inset
8172 can be anywhere in the paragraph, but will only do the expected
8173 thing in LaTeX if the layout file contains the parameter line
8175 (or more generally, a nonzero value) for that layout.
8177 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8179 * paragraph.h: remove the declaration of undefined counters class
8182 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8184 * text2.C (setCounter): fixed enumeration mis-count as reported by
8185 Dr. Richard Hawkins.
8187 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8189 * paragraph_funcs.h: remove some unneeded includes
8191 * text.C (backspace): pasteParagraph now in global scipe
8193 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8194 (pasteSelection): ditto
8196 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8197 * paragraph_funcs.C (pasteParagraph): ... here
8199 2002-08-20 André Pönitz <poenitz@gmx.net>
8201 * commandtags.h: new LFUNs for swapping/copying table row/colums
8204 * lyxfunc.C: support for new lfuns
8206 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8209 * buffer.[Ch]: remove NO_COMPABILITY stuff
8211 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8213 * boost.C (throw_exception): new file, with helper function for
8214 boost compiled without exceptions.
8219 * ParameterStruct.h:
8220 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8222 * bufferlist.C (emergencyWriteAll): use boost bind
8224 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8226 * text.C: include paragraph_funcs.h
8227 (breakParagraph): breakParagraph is now in global scope
8229 * paragraph_funcs.[Ch]: new files
8231 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8234 * buffer.C: include paragraph_funcs.h
8235 (insertStringAsLines): breakParagraph is now in global scope
8237 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8240 * CutAndPaste.C: include paragraph_funcs.h
8241 (cutSelection): breakParagraphConservative is now in global scope
8242 (pasteSelection): ditto
8244 * buffer.h: declare oprator== and operator!= for
8245 Buffer::inset_iterator
8247 * bufferlist.C (emergencyWrite): don't use fmt(...)
8249 * text3.C: add using std::endl
8251 * BufferView.C (moveCursorUpdate): remove default arg
8253 2002-08-20 André Pönitz <poenitz@gmx.net>
8255 * buffer.[Ch]: move inline functions to .C
8258 * BufferView_pimpl.C:
8260 * buffer.[Ch]: use improved inset_iterator
8263 * paragraph.[Ch]: write one paragraph at a time
8265 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8267 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8268 style if style is not specified.
8270 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8272 * text2.C (setCounter): when searching for right label for a
8273 caption, make sure to recurse to parent insets (so that a caption
8274 in a minipage in a figure float works) (bug #568)
8276 2002-08-20 André Pönitz <poenitz@gmx.net>
8278 * text3.C: new file for LyXText::dispatch() and helpers
8280 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8282 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8284 2002-08-19 André Pönitz <poenitz@gmx.net>
8287 * text.C: new LyXText::dispatch()
8289 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8291 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8293 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8295 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8298 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8300 * Makefile.am: use $(variables) instead of @substitutions@
8302 2002-08-15 André Pönitz <poenitz@gmx.net>
8305 * BufferView_pimpl.C: streamlining mathed <-> outer world
8309 * LyXAction.C: remove unused LFUN_MATH
8311 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8313 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8315 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8317 * paragraph.C (Paragraph): reformat a bit
8318 (cutIntoMinibuffer): use builtin InsetList function instad of
8322 * buffer.C: include boost/bind.hpp, add using std::for_each
8323 (writeFileAscii): use ParagraphList iterators
8324 (validate): use for_each for validate traversal of paragraphs
8325 (getBibkeyList): use ParagraphList iterators
8326 (resizeInsets): use for_each to resizeInsetsLyXText for all
8328 (getParFromID): use ParagraphList iterators
8330 * BufferView2.C (lockInset): use paragraph list and iterators
8332 2002-08-14 John Levon <levon@movementarian.org>
8334 * lyxserver.C: remove spurious xforms include
8336 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8338 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8340 2002-08-13 André Pönitz <poenitz@gmx.net>
8343 * lyxfunc.C: further cleaning
8345 2002-08-13 André Pönitz <poenitz@gmx.net>
8347 * funcrequest.h: new constructor
8349 * funcrequest.C: move stuff here from .h
8352 * BufferView_pimpl.C:
8355 * lyxfunc.C: subsequent changes
8357 * lyxfunc.h: new view() member function
8359 * lyxfunc.C: subsequent changes
8361 2002-08-13 Angus Leeming <leeming@lyx.org>
8364 * BufferView_pimpl.C:
8372 changes due to the changed LyXView interface that now returns references
8373 to member variables not pointers.
8375 2002-08-13 Angus Leeming <leeming@lyx.org>
8377 * WordLangTuple (word, lang_code): return references to strings,
8382 * lyxtext.h: forward-declare WordLangTuple.
8387 * text.C: #include "WordLangTuple.h".
8390 * text.C: (selectNextWordToSpellcheck): constify return type.
8392 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8398 * paragraph_pimpl.h:
8401 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8403 Made updateCounter always count from start of buffer, and removed
8404 second argument (par).
8405 Reverted floats number display to '#'. Perhaps I'll try again when the
8406 code base is sanitized a bit.
8408 2002-08-12 Angus Leeming <leeming@lyx.org>
8410 * buffer.[Ch] (getLabelList): constify.
8412 2002-08-07 André Pönitz <poenitz@gmx.net>
8414 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8416 * funcrequest.h: extension to keep mouse (x,y) position
8418 2002-08-12 Juergen Vigna <jug@sad.it>
8420 * BufferView2.C (insertErrors): forbid undo when inserting error
8423 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8425 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8427 * ParagraphList.[Ch]: new files
8429 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8431 * BufferView2.C (lockInset): ParagraphList changes
8434 * bufferlist.C: ditto
8438 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8440 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8441 unused class variable counter_,
8443 * paragraph.[Ch] (getFirstCounter): delete unused function
8445 * counters.C: include LAssert.h
8446 (reset): add a new function with no arg, change other version to
8447 not have def. arg and to not allow empty arg.
8449 * text2.C (setCounter): remove empty arg from call to Counters::reset
8451 2002-08-11 John Levon <levon@movementarian.org>
8453 * Makefile.am: add WordLangTuple.h
8455 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8457 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8458 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8460 * insets/insettext.C: InsetList changes
8462 * graphics/GraphicsSupport.C (operator()): InsetList changes
8464 * toc.C (getTocList): InsetList changes
8466 * paragraph_pimpl.[Ch]: InsetList changes
8468 * paragraph.[Ch]: InsetList changes
8470 * buffer.C (inset_iterator): InsetList changes
8471 (setParagraph): ditto
8472 * buffer.h (inset_iterator): ditto
8473 * iterators.C (operator++): ditto
8474 * iterators.h: ditto
8476 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8478 * InsetList.[Ch]: new files, most InsetList handling moved out of
8481 * BufferView2.C (removeAutoInsets): InsetList changes
8483 (ChangeInsets): ditto
8485 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8487 * paragraph_pimpl.h (empty): new function
8489 * paragraph.[Ch] (empty): new function
8491 * other files: use the new Paragraph::empty function
8493 2002-08-09 John Levon <levon@movementarian.org>
8495 * lyxtext.h: remove unused refresh_height
8497 2002-08-09 John Levon <levon@movementarian.org>
8504 * paragraph.C: move sgml char escaping out of paragraph
8507 * paragraph.C: remove id setter
8511 * paragraph_pimpl.C: remove dead tex_code_break_column
8513 * bufferview_funcs.C: small cleanup
8515 * lyxfunc.C: remove dead proto
8517 * lyxtext.h: make some stuff private. Remove some dead stuff.
8519 * lyxgluelength.C: make as[LyX]String() readable
8521 2002-08-08 John Levon <levon@movementarian.org>
8526 * ToolbarDefaults.C:
8529 * toc.C: lyxaction cleanup
8531 2002-08-08 John Levon <levon@movementarian.org>
8533 * BufferView2.C: small cleanup
8536 * lyxfind.C: move unnecessary header into the .C
8538 2002-08-08 John Levon <levon@movementarian.org>
8540 * funcrequest.h: just tedious nonsense
8543 * lyx_main.C: cleanups
8546 * vspace.C: remove dead header lyx_main.h
8548 2002-08-07 Angus Leeming <leeming@lyx.org>
8551 * paragraph_pimpl.h:
8552 Forward declare class Counters in paragraph.h by moving the ctrs member
8553 variable into Paragraph::Pimpl.
8554 (counters): new method, returning a reference to pimpl_->ctrs.
8556 * text2.C: ensuing changes.
8558 2002-08-07 John Levon <levon@movementarian.org>
8560 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8562 * BufferView_pimpl.C: announce X selection on double/triple
8565 * lyx_main.C: use correct bool in batch dispatch
8567 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8569 2002-08-07 André Pönitz <poenitz@gmx.net>
8571 * funcrequest.h: new class to wrap a kb_action and its argument
8574 * BufferView_pimpl[Ch]:
8578 * lyxrc.C: subsequent changes
8581 2002-08-07 John Levon <levon@movementarian.org>
8583 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8584 document options change.
8586 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8591 * makefile.am: move counters functionality over from
8592 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8594 2002-08-06 John Levon <levon@movementarian.org>
8596 * WordLangTuple.h: new file for word + language code tuple
8607 * BufferView2.C: use WordLangTuple
8610 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8612 2002-08-06 John Levon <levon@movementarian.org>
8614 * lyx_main.C: fix cmdline batch handling
8616 2002-08-06 André Pönitz <poenitz@gmx.net>
8618 * lyxrc.C: set default for show_banner to true
8620 2002-08-06 John Levon <levon@movementarian.org>
8622 * pspell.C: fix a crash, and allow new aspell to work
8624 2002-08-06 John Levon <levon@movementarian.org>
8627 * kbmap.C: small cleanup
8630 * vspace.C: add const
8632 2002-08-05 John Levon <levon@movementarian.org>
8634 * LyXAction.C: back to tabular-insert
8636 2002-08-04 John Levon <levon@movementarian.org>
8639 * BufferView.C: cosmetic change
8641 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8651 * BufferView2.C: purge all "Lyx" not "LyX" strings
8654 * lyxcursor.C: attempt to add some documentation
8659 * ToolbarDefaults.C:
8660 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8661 merge with LFUN_TABULAR_INSERT
8668 * pspell.C: split up i/pspell implementations into separate
8669 files, many cleanups
8671 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8673 * text2.C: some cleanup
8675 * lyxfunc.C: don't check for isp_command == "none" any more, it
8676 didn't make any sense
8678 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8683 * makefile.am: move counters functionality over
8684 from text2.C/paragraph.[Ch] to counters.[Ch], and
8686 2002-08-02 John Levon <levon@movementarian.org>
8688 * buffer.C: s/lyxconvert/lyx2lyx/
8690 2002-08-02 Angus Leeming <leeming@lyx.org>
8692 * lyxlex.C: revert John's change as it breaks reading of the user
8695 2002-08-02 Angus Leeming <leeming@lyx.org>
8697 * importer.C (Import):
8698 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8699 changes due to LyXView::view() now returning a boost::shared_ptr.
8701 2002-08-02 John Levon <levon@movementarian.org>
8703 * lyxlex.C: small cleanup
8705 2002-08-02 John Levon <levon@movementarian.org>
8707 * text2.C (status): small cleanup, no logic change
8709 2002-08-01 John Levon <levon@movementarian.org>
8712 * buffer.C (writeFile): don't output alerts, caller
8716 * lyx_cb.C: from above
8718 * lyxfunc.C: allow to open non-existent files
8720 2002-07-31 John Levon <levon@movementarian.org>
8722 * lyxserver.C: don't let incidental errors get
8725 2002-07-30 John Levon <levon@movementarian.org>
8727 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8729 2002-07-30 John Levon <levon@movementarian.org>
8732 * lyxserver.C: remove I/O callback too
8734 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8736 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8739 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8741 * many files: strip,frontStrip -> trim,ltrim,rtrim
8743 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8745 * PrinterParams.h: remove extern containsOnly, and include
8746 support/lstrings.h instead.
8748 * LaTeX.C (scanAuxFile): modify because of strip changes
8750 * buffer.C (makeLaTeXFile): ditto
8751 * bufferparams.C (writeFile): ditt
8752 * lyxfont.C (stateText): ditto
8753 * lyxserver.C (read_ready): ditto
8754 * vc-backend.C (scanMaster): ditto
8756 * BufferView_pimpl.h: ws changes
8758 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8760 2002-07-26 André Pönitz <poenitz@gmx.net>
8762 * kb_sequence.C: remove unnedred usings
8764 2002-07-26 Juergen Vigna <jug@sad.it>
8766 * lyxfind.C (LyXReplace): we have to check better if the returned
8767 text is not of theLockingInset()->getLockingInset().
8769 2002-07-25 Juergen Vigna <jug@sad.it>
8771 * lyxfind.C (LyXReplace): don't replace if we don't get the
8774 * undo_funcs.C (createUndo): remove debugging code.
8776 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8778 * buffer.C (parseSingleLyXformat2Token): Use default placement
8779 when reading old floats.
8781 * FloatList.C (FloatList): Change the default placement of figure
8782 and tables to "tbp".
8784 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8786 * MenuBackend.C: using std::max
8788 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8790 * MenuBackend.C (expandToc):
8791 (expandToc2): code moved from xforms menu frontend. It is now
8792 generic and TOCs are transparent to menu frontends.
8794 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8796 * toc.C (getTocList): protect against buf=0
8798 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8799 Menu as first parameter. Now, this calls itself recursively to
8800 expand a whole tree (this will be useful for TOC handling)
8801 (expandFloatInsert): remove 'wide' version of floats
8803 * MenuBackend.h (submenuname): returns the name of the submenu.
8804 (submenu): returns the submenu itself, provided it has been
8805 created by MenuBackend::expand
8807 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8809 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8810 insets which have noFontChange == true. (bug #172)
8812 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8814 * BufferView_pimpl.C: add connection objects and use them...
8817 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8819 * MenuBackend.C (expandLastfiles):
8822 (expandFloatListInsert):
8823 (expandFloatInsert):
8824 (expand): split expand in parts
8826 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8828 * lyx_gui.C: use lyx_gui::exit()
8830 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8832 * LyXAction.C: show the failing pseudo action
8834 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8836 * buffer.C (readFile): Run the lyxconvert script in order to read
8839 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8843 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8845 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8849 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8851 2002-07-22 Herbert Voss <voss@lyx.org>
8854 * lyxlength.[Ch]: add support for the vertical lengths
8856 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8858 * toc.[Ch]: std:: fixes
8860 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8862 * lyxrc.C: do not include lyx_main.h
8864 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8870 * BufferView2.C: include "lyxlex.h"
8873 * bufferparams.h: do not #include "lyxlex.h"
8875 * lyxtextclasslist.C (Add): remove method
8876 (classlist): renamed to classlist_
8878 * paragraph_pimpl.C:
8882 * bufferview_funcs.C:
8887 * toc.C (getTocList): use BufferParams::getLyXTextClass
8889 * toc.C (getTocList): use InsetFloat::addToToc
8891 * toc.[Ch]: new files, containing helper functions to handle table
8894 * lyxfunc.C (dispatch): no need to remove spaces around command
8896 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8897 first command of the sequence; it is not very clever, but I do not
8898 have a better idea, actually
8900 * LyXAction.C (LookupFunc): make sure to remove space at the
8901 beginning and end of the command
8903 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8905 * MenuBackend.C (getMenubar): new method: return the menubar of
8907 (read): treat differently reading of menu and menubar (in
8908 particular, the menubar has no name now)
8909 (Menu::menubar): remove
8911 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8914 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8916 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8917 a bibitem inset in a RTL paragraph.
8919 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8921 * paragraph_pimpl.C: constify
8923 * BufferView_pimpl.C:
8925 * lyxfunc.C: fix dispatch in a nicer way
8927 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8929 * lyxfunc.C (dispatch):
8930 * BufferView_pimpl.C:
8931 * BufferView_pimpl.h:
8933 * BufferView.h: rename Dispatch() to dispatch()
8935 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8937 * lyxlayout.C (Read): honor DependsOn tag
8939 * lyxlayout.[Ch] (depends_on): new method
8941 * version.C.in: update lyx_docversion
8943 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8945 * paragraph.C (validate): remove from here...
8946 * paragraph_pimpl.C (validate): ... and move here
8947 (isTextAt): make it const
8949 * buffer.C (getLists): ws cleanup
8951 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8953 * language.C (read): Use iso8859-1 encoding in latex_lang
8954 (this prevents LyX from crashing when using iso10646-1 encoding).
8956 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8958 * text2.C (toggleInset): if cursor is inside an inset, close the
8959 inset and leave cursor _after_ it
8961 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8963 * lyxfunc.C: move minibuffer completion handling out of here
8965 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8967 * BufferView_pimpl.C:
8968 * LaTeX.C: fix dispatch calls
8970 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8972 * text.C (drawChars): Fix Arabic text rendering.
8974 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8978 * lyxfunc.C: remove message-push/pop
8982 * lyxfunc.C: rationalise some code by removing verboseDispatch
8983 in favour of a bool argument to dispatch()
8985 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8987 * lyx_main.C (init): make sure to read symlinks as absolute paths
8989 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8992 * lyxfunc.C: no need for commandshortcut to be a member
8994 2002-07-15 André Pönitz <poenitz@gmx.net>
8996 * converter.C: add support for $$s (scripts from lib/scripts dir)
8997 * lyx_main.C: white space
8999 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9003 * lyxrc.C: remove second exit confirmation
9005 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9010 * BufferView_pimpl.h:
9011 * BufferView_pimpl.C:
9012 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9014 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9016 * MenuBackend.C (expand): add numeric shortcuts to document menu
9018 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9020 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9022 * lyxfont.C (setLyXFamily):
9029 * buffer.C (asciiParagraph): use ascii_lowercase
9031 2002-07-15 Mike Fabian <mfabian@suse.de>
9033 * lyxlex_pimpl.C (search_kw):
9034 * lyxlex.C (getLongString):
9035 * converter.h (operator<):
9036 * converter.C (operator<):
9037 * buffer.C (parseSingleLyXformat2Token):
9039 * ToolbarDefaults.C (read):
9040 * MenuBackend.C (checkShortcuts):
9042 * LColor.C (getFromGUIName):
9043 (getFromLyXName): use the compare_ascii_no_case instead of
9044 compare_no_case, because in turkish, 'i' is not the lowercase
9045 version of 'I', and thus turkish locale breaks parsing of tags.
9047 2002-07-16 Angus Leeming <leeming@lyx.org>
9049 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9050 now takes a Buffer const & argument.
9052 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9054 * BufferView.C (resize): check there's a buffer to resize
9056 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9058 * lyxfunc.C: remove dead code
9061 * lyxserver.C: use lyx_guii::set_read_callback
9063 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9065 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9066 an inset in a RTL paragraph.
9068 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9070 * lyxfunc.C: repaint after a font size update
9072 2002-07-15 André Pönitz <poenitz@gmx.net>
9074 * lyxlength.C: inBP should be able to return negative values
9076 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9078 * lyxfunc.C: use lyx_gui::update_fonts()
9080 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9082 * lyxfunc.C: use lyx_gui::update_color()
9084 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9090 * lyxrc.C: remove file->new asks for name option, and let
9091 buffer-new take an argument
9093 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9095 * BufferView_pimpl.C: remove unneeded extra repaint()
9097 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9099 * LyXAction.C: allow command-sequence with NoBuffer
9101 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9103 2002-07-10 Angus Leeming <leeming@lyx.org>
9105 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9107 2002-07-09 Angus Leeming <leeming@lyx.org>
9109 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9111 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9113 * lengthcommon.h: whitespace
9115 * lyxfunc.C: update scrollbar after goto paragraph
9117 * lyxtext.h: factor out page break drawing, and fix it so
9118 page break/added space paints as selected nicely
9120 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9122 * BufferView_pimpl.C: add FIXMEs, clean up a little
9124 2002-07-09 André Pönitz <poenitz@gmx.net>
9126 * lyxfont.[Ch]: support for wasy symbols
9128 2002-07-08 André Pönitz <poenitz@gmx.net>
9130 * BufferView_pimpl.C: apply John's patch for #93.
9132 2002-07-05 Angus Leeming <leeming@lyx.org>
9134 * BufferView_pimpl.C (buffer): generate previews if desired.
9136 * LColor.h: add "preview" to the color enum.
9138 * LColor.C (LColor): add a corresponding entry to the items array.
9140 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9143 2002-07-05 Angus Leeming <leeming@lyx.org>
9145 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9146 The body of the code is now in the method that is passed an ostream &
9147 rather than a file name.
9148 Pass an additional only_preamble parameter, useful for the forthcoming
9151 2002-07-03 André Pönitz <poenitz@gmx.net>
9153 * lyxfunc.C: simplify getStatus() a bit for math stuff
9155 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9157 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9159 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9161 * text.C (changeRegionCase): do not change case of all the
9162 document when region ends at paragraph end (bug #461)
9164 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9166 * paragraph.C (startTeXParParams):
9167 (endTeXParParams): add \protect when necessary
9169 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9171 * BufferView_pimpl.C (workAreaExpose): remove warning
9173 2002-06-27 Angus Leeming <leeming@lyx.org>
9175 * Makefile.am: add lyxlayout_ptr_fwd.h.
9177 2002-06-26 André Pönitz <poenitz@gmx.net>
9179 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9181 2002-06-25 Angus Leeming <leeming@lyx.org>
9183 * lyxfunc.C (dispatch): Comment out the call to
9184 grfx::GCache::changeDisplay. The method no longer exists now that the
9185 pixmap generation part of the graphics loader has been moved into
9188 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9190 * text2.C: layout as layout
9192 * text.C: layout as layout
9194 * tabular.C (OldFormatRead): layout as layout
9196 * paragraph_pimpl.C (TeXDeeper): layout as layout
9197 (realizeFont): layout as layout
9199 * paragraph.C (writeFile): layout as layout
9200 (validate): layout as layout
9201 (getFont): layout as layout
9202 (getLabelFont): layout as layout
9203 (getLayoutFont): layout as layout
9204 (breakParagraph): layout as layout
9205 (stripLeadingSpaces): layout as layout
9206 (getEndLabel): layout as layout
9207 (getMaxDepthAfter): layout as layout
9208 (applyLayout): layout as layout
9209 (TeXOnePar): layout as layout
9210 (simpleTeXOnePar): layout as layout
9211 (TeXEnvironment): layout as layout
9212 (layout): layout as layout
9213 (layout): layout as layout
9215 * lyxtextclass.C (compare_name): new functor to work with
9216 shared_ptr, layout as layout
9217 (Read): layout as layout
9218 (hasLayout): layout as layout
9219 (operator): layout as layout
9220 (delete_layout): layout as layout
9221 (defaultLayout): layout as layout
9223 * lyxlayout_ptr_fwd.h: new file
9225 * lyxlayout.C (Read): layout as layout
9227 * lyx_cb.C (MenuInsertLabel): layout as layout
9229 * bufferlist.C (newFile): layout as layout
9231 * buffer.C (readLyXformat2): layout as layout
9232 (parseSingleLyXformat2Token): layout as layout
9233 (insertStringAsLines): layout as layout
9234 (asciiParagraph): layout as layout
9235 (latexParagraphs): layout as layout
9236 (makeLinuxDocFile): layout as layout
9237 (simpleLinuxDocOnePar): layout as layout
9238 (makeDocBookFile): layout as layout
9239 (simpleDocBookOnePar): layout as layout
9240 (getLists): layout as layout
9242 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9244 * CutAndPaste.C (cutSelection): layout as layout
9245 (pasteSelection): layout as layout
9246 (SwitchLayoutsBetweenClasses): layout as layout
9248 * BufferView_pimpl.C (Dispatch): layout as layout
9249 (smartQuote): layout as layout
9251 * BufferView2.C (unlockInset): layout as layout
9253 2002-06-24 André Pönitz <poenitz@gmx.net>
9255 * lyxfunc.C: fix #487
9257 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9261 * lyxfunc.C: remove display_shortcuts, show_banner
9263 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9265 * Buffer_pimpl.C: oops, update on resize
9267 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9274 * BufferView.C: use repaint()
9276 * BufferView_pimpl.h:
9277 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9278 as it's a clearer description. Remove superfluous
9281 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9283 * text.C: fix bug 488. Not ideal, but getting
9284 getWord() to work properly for the insets that
9285 matter is more difficult ...
9287 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9289 * BufferView_pimpl.C:
9292 * lyxfunc.C: remove the six million index lyxfuncs to just
9293 one, and DTRT (bug 458)
9295 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9299 * BufferView_pimpl.h:
9300 * BufferView_pimpl.C: clean up resize() stuff,
9301 and unnecessary updateScreen()s
9303 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9307 * BufferView_pimpl.h:
9308 * BufferView_pimpl.C:
9311 * minibuffer.C: remove focus management of workarea,
9312 not needed. Use screen's greyOut()
9314 2002-06-17 Herbert Voss <voss@lyx.org>
9316 * converter.C: (convert) do not post a message, when converting
9317 fails, let the calling function decide what to do in this case
9319 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9321 * lyxfunc.C: tidy up a little
9323 2002-06-16 <alstrup@diku.dk>
9325 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9326 Got rid of FORMS_H_LOCATION include. Now we are
9329 2002-06-15 LyX Development team <lyx@rilke>
9331 * buffer.[Ch] (sgmlOpenTag):
9332 (sgmlCloseTag): Added support for avoiding pernicious mixed
9333 content. Return number of lines written.
9336 (makeDocBookFile): Fixed calls to sgml*Tag.
9337 Simple white space clean.
9339 (simpleDocBookOnePar): Simple white space clean.
9341 * tabular.[Ch] (docBook): Renamed to docbook and got another
9342 argument to related with the pernicious mixed content.
9344 (docbookRow): Fixed calls for docbook inset method.
9346 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9348 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9349 so it's X11 independent.
9353 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9355 2002-06-15 Lyx Development team <lyx@electronia>
9357 * intl.h: Renamed getTrans to getTransManager.
9359 2002-06-14 Angus Leeming <leeming@lyx.org>
9361 * Makefile.am: nuke forgotten stl_string_fwd.h.
9363 2002-06-12 Angus Leeming <leeming@lyx.org>
9365 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9367 2002-06-13 Angus Leeming <leeming@lyx.org>
9370 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9372 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9374 * kbmap.C (getiso): add support for cyrillic and greek
9376 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9380 * BufferView_pimpl.h:
9381 * BufferView_pimpl.C: move bogus scrolling logic
9384 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9387 * BufferView_pimpl.C: view->resize() change
9389 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9391 * BufferView_pimpl.C: topCursorVisible
9394 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9398 * lyx_gui.C: move to frontends/
9402 * lyx_main.C: changes from above
9404 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9411 * lyx_main.C: minor tidy
9413 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9415 * BufferView_pimpl.h:
9416 * BufferView_pimpl.C:
9418 * BufferView.C: make painter() const,
9421 * BufferView2.C: use screen() accessor
9424 * lyx_main.C: some minor cleanup
9426 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9428 * BufferView_pimpl.h:
9429 * BufferView_pimpl.C: remove enter/leaveView,
9432 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9437 * BufferView_pimpl.h:
9438 * BufferView_pimpl.C: only construct screen once,
9441 * lyxrc.C: remove pointless comment
9443 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9446 * BufferView.C: remove active() and belowMouse()
9448 * BufferView_pimpl.h:
9449 * BufferView_pimpl.C: use workarea() not workarea_,
9450 and make it use a scoped_ptr instead
9452 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9454 * lyx_gui.C: add debug message on BadWindow
9456 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9458 * sp_spell.C: fdopen is not part of the C++ standard.
9460 * paragraph.C (InsetIterator): use >= instead of ==
9462 2002-06-07 Angus Leeming <leeming@lyx.org>
9464 Fixes needed to compile with Compaq cxx 6.5.
9465 * BufferView_pimpl.C:
9472 * lyxtextclasslist.C:
9477 all c-library variables have been moved into namespace std. Wrap
9478 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9483 Add a using std::abs declaration.
9485 * kbmap.h (modifier_pair):
9486 * paragraph.h (InsetTable, InsetList):
9487 * lyxfont.h (FontBits):
9488 type definition made public.
9490 * bufferlist.C (emergencyWriteAll): the compiler complains that
9491 there is more than one possible lyx::class_fun template to choose from.
9492 I re-named the void specialisation as lyx::void_class_fun.
9494 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9496 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9497 the compiler is is unable to find tostr in write_attribute.
9499 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9501 * buffer.C (sgmlError): hide #warning
9503 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9505 * xtl/*: get rid of xtl, which is not in use anyway
9507 * LyXAction.C (init):
9508 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9509 were unimplemented xtl experimentation
9511 2002-06-04 André Pönitz <poenitz@gmx.net>
9513 * lyxfunc.C: disable array operation on simple formulae
9515 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9517 * converter.C: constify a bit
9519 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9521 * lyx_gui.C: check xforms version correctly
9523 2002-04-30 Herbert Voss <voss@lyx.org>
9525 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9528 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9530 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9531 attempt to register it with a VCS)
9533 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9535 * lyx_main.C (init): honor variables LYX_DIR_13x and
9538 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9542 * lyx_main.C: fix a crash on bad command line,
9543 and give a useful exit status on error
9545 * lyxfunc.C (doImport): allow -i lyx to work
9547 2002-03-30 André Pönitz <poenitz@gmx.net>
9549 * lyxfunc.C: mathed font changes
9551 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9566 * trans_mgr.h: srcdocs, and some minor cleanups
9568 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9570 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9571 call getFont all the time)
9573 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9575 * switch from SigC signals to boost::signals
9577 2002-05-29 André Pönitz <poenitz@gmx.net>
9579 * paragraph_pimpl.C (getChar): don't call size() too often...
9581 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9583 * paragraph_pimpl.C (insertChar): do not try to update tables when
9584 appending (pos == size())
9586 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9587 in order to reduce drastically the number of comparisons needed to
9588 parse a large document
9590 2002-05-29 André Pönitz <poenitz@gmx.net>
9596 * textclasslist.[Ch]:
9597 * sp_ispell.h: whitespace change
9599 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9601 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9602 lyxaction directly now.
9604 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9608 * lyxvc.C: remove unused headers
9610 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9617 * undo_funcs.C: some cleanups. Use shared_ptr
9618 and a template for the undo stacks.
9620 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9622 * BufferView_pimpl.h:
9623 * BufferView_pimpl.C:
9630 * text2.C: use key_state/mouse_state
9632 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9634 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9637 * chset.C: change include order
9638 (loadFile): use boost regex and get rid of LRegex and LSubstring
9640 * Makefile.am (BOOST_LIBS): new variable
9643 * LaTeX.C: change include order.
9644 (scanAuxFile): use boost regex and get rid of LRegex and
9648 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9653 * FontInfo.C: moved to frontends/xforms/
9656 * FontLoader.C: moved into frontends for GUIIzation
9661 * lyxfunc.C: changes from above
9663 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9665 * LColor.C: remove spurious X include
9667 * BufferView_pimpl.C:
9672 * text2.C: move font metrics to frontends/
9674 2002-05-24 Juergen Vigna <jug@sad.it>
9676 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9677 setting the undo_cursor.
9679 * ParagraphParameters.h: include local includes first.
9681 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9683 * BufferView_pimpl.C:
9684 * BufferView_pimpl.h:
9688 * screen.C: move WorkArea into frontends/
9694 * BufferView2.C: move LyXScreen into frontends/
9698 * lyx_gui.C: move lyxlookup into frontends/xforms/
9700 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9703 * BufferView_pimpl.C:
9713 * bufferview_funcs.C:
9726 * vc-backend.C: move LyX/XFormsView into frontends/
9728 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9740 * text2.C: move Painter to frontends/
9742 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9744 * buffer.C: comment out some some code that depend upon lyx_format
9747 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9748 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9750 * buffer.h (NO_COMPABILITY): turn off compability
9752 * ColorHandler.C: include scoped_array.hpp
9754 * font.C: Use more specific smart_ptr header.
9757 * ShareContainer.h: ditto
9761 * BufferView_pimpl.h: ditto
9762 * ColorHandler.h: ditto
9764 * kbmap.C (defkey): change call to shared_ptr::reset
9766 2002-05-21 Juergen Vigna <jug@sad.it>
9768 * buffer.C (insertErtContents): fix to insert ert asis if it is
9769 non empty. Skip it completely if it contains only whitespaces.
9771 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9773 * BufferView_pimpl.C:
9774 * BufferView2.C: clear selection on paste (bug 393)
9776 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9778 * DepTable.C: include ctime
9780 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9782 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9784 2002-05-14 Juergen Vigna <jug@sad.it>
9786 * text.C (breakParagraph): fixed function to honor the keepempty
9787 layout in the right maner and also to permit the right breaking
9788 algorithm on empty or non empyt keepempty paragraphs.
9790 * paragraph.C (breakParagraph): we have to check also if the par
9791 is really empty (!size()) for isempty otherwise we do the wrong
9794 2002-05-10 Juergen Vigna <jug@sad.it>
9796 * buffer.[Ch] : The following are only changes to the ert
9797 compatibility read reading old LaTeX layout and font stuff and
9798 convert it to ERTInsets.
9800 * buffer.h: added isErtInset().
9802 * buffer.C (struct ErtComp): add a fromlayout bool to check
9803 if we're inside a LaTeX layout.
9804 (isErtInset): new helper function.
9805 (insertErtContents): look for other ert insets before this one
9806 and insert the contents there, so that we don't have subsequent
9807 ERT insets with nothing between them. This way we create only one
9808 inset with multiple paragraphs. Also check if we don't insert only
9809 spaces ' ' as they are ignored anyway afterwards in the .tex file
9810 so if we have only spaces we will ignore this latex part in the
9812 (parseSingleLyXformat2Token \\layout): better compatibility when
9813 reading layout-latex stuff.
9814 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9816 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9817 stuff after reading the inset only get the information back from
9820 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9822 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9824 * LaTeXFeatures.C (getBabelOptions): New method.
9826 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9828 * BufferView_pimpl.C (Dispatch): work around missing argument for
9831 2002-05-08 Juergen Vigna <jug@sad.it>
9833 * text.C (leftMargin): handle paragraph leftindent.
9835 * paragraph.C (writeFile): write the new \\leftindent tag.
9836 (validate): handle leftindent code.
9837 (TeXEnvironment): handle paragraphleftindent code again.
9839 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9841 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9842 for paragrap_extra indent code and new token \\leftindent.
9843 (latexParagraphs): handle the leftindent as environment.
9845 * ParameterStruct.h: added leftindent support.
9847 * ParagraphParameters.C (leftIndent): added support functions for
9848 the paragraph left indent.
9850 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9853 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9855 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9858 * text.C (computeBidiTables): No bidi in insetERT.
9860 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9863 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9865 * version.C.in: pre 5
9867 2002-05-02 José Matos <jamatos@fep.up.pt>
9868 * buffer.C (makeDocBookFile): white space changes, add newline to
9870 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9872 * tabular.C (docBook): fix typo.
9874 2002-05-03 Juergen Vigna <jug@sad.it>
9876 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9877 change in LyXText as we can not be sure it was not freed.
9878 (drawOneRow): remove unused code.
9880 * text.C (drawInset): redo the calculation of the need_break_row as
9881 it could have a row which was already freed.
9882 (draw): look at the return value of drawInset and return false if
9883 it also returned false.
9884 (paintRowText): look at the return value of draw and return false if
9885 it also returned false.
9887 * lyxtext.h: added bool return type to drawInset() and draw() so that
9888 if we have a change in the row so that the rowbreak has to be redone
9889 we abort drawing as it will be called again.
9891 2002-05-02 Juergen Vigna <jug@sad.it>
9893 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9894 a change in the maintext also if we're inside an inset.
9895 (Dispatch): set the cursor again after a break line and after the
9896 screen has been updated as it could be we're in a different row.
9898 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9899 to set the cursor behind the pargraph with > size().
9900 (setCursor): check also for the same paragraph when checking where
9901 to put the cursor if we have a NFR inset.
9903 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9904 parts of layout read further up as it still was in the wrong
9907 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9909 * screen.C (drawFromTo): change sine fullRebreak always return
9912 * buffer.C (parseSingleLyXformat2Token): reindent some
9914 * BufferView_pimpl.C (update): change since fullRebreak always
9916 (Dispatch): git rid of the last hardcoded "Standard"s.
9918 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9920 * text2.[Ch] (fullRebreak): make it return void now that we always
9923 2002-04-30 Juergen Vigna <jug@sad.it>
9925 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9926 ert compatibility check for "latex" layout.
9928 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9930 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9931 minipages: use col% instead of p%, and also use the current font.
9932 (makeLaTeXFile): Fix use babel condition.
9933 (parseSingleLyXformat2Token): Correct font when reading old floats.
9935 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9937 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9938 inserting list of floats.
9940 2002-04-25 Herbert Voss <voss@lyx.org>
9942 * MenuBackend.C (expand): don't add the graphics extensions to the
9945 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9947 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9948 non-existing layout, do not complain if it was the default layout
9949 of the original class (bug #342)
9951 2002-04-24 Juergen Vigna <jug@sad.it>
9953 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9954 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9956 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9958 * buffer.C (getBibkeyList): If using \bibliography, return the
9959 option field with the reference itself. Enables us to provide natbib
9960 support when using \bibliography.
9962 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9964 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9966 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9967 natbib is provided by the LaTeX class.
9969 2002-04-23 Juergen Vigna <jug@sad.it>
9971 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9974 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9976 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9978 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9980 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9981 ensuremath around textordmasculine, textordfeminine and
9984 2002-04-19 Juergen Vigna <jug@sad.it>
9986 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9987 reinitializing the buffer otherwise row-dimensions may be wrong.
9988 (update): reset also the selection cursors if they do exits otherwise
9989 their x/y positions may be wrong.
9991 * text2.C (cursorDown): don't enter the inset if we came from a row
9992 above and are one row over the inset.
9994 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9995 really leaving an inset.
9997 2002-04-18 Juergen Vigna <jug@sad.it>
9999 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10000 of the selected paragraph does not have the selected layout also if
10003 * text2.C (setLayout): fixed bug which did not change last selected
10006 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10007 changed the read and substituted \\end_float with \\end_inset!
10009 * BufferView_pimpl.C (cursorPrevious):
10010 (cursorNext): fixed to make it work with rows heigher than the work
10011 area without moving the cursor only the draw of the row.
10012 (workAreaMotionNotify): fix jumping over high rows.
10014 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10016 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10019 2002-04-16 Juergen Vigna <jug@sad.it>
10021 * text2.C (setCursor): set also the irow().
10022 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10024 (cursorDown): support for locking an inset if the x_fix value goes
10025 inside it. That way I can transverse insets too with cursor up/down.
10027 * lyxrow.h: added irow helper function same as other (i) functions.
10029 * BufferView_pimpl.C (cursorPrevious):
10030 (cursorNext): fixed for insets!
10032 2002-04-15 Juergen Vigna <jug@sad.it>
10034 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10035 position otherwise it is wrong in some cases.
10037 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10038 inside the inset before the call.
10040 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10042 * buffer.[Ch] (getBibkeyList): make it const.
10044 2002-04-12 Juergen Vigna <jug@sad.it>
10046 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10048 * text2.C (getCursorX): new helper function
10049 (setCursor): compute also ix_
10050 (setCursorFromCoordinates): set also ix.
10052 * lyxcursor.h: added ix_ and helper functions.
10054 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10056 * buffer.C (insertStringAsLines): dont break paragraph if the this
10057 paragraph is inside an inset which does not permit it!
10059 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10060 also with no chars on this paragraph.
10061 (paintRowText): only paint stuff if it's inside the workarea!
10063 * paragraph.C (breakParagraph): honor keepempty flag and break the
10064 paragraph always below not above.
10066 * BufferView2.C (unlockInset): update the paragraph layout on inset
10067 unlock as we changed paragraph in such a case.
10069 * lyxfind.C (LyXFind): clear the former selection if not found!
10071 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10072 again called in insertChar().
10074 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10075 an inset which uses the whole row!
10076 (rightMargin): ditto.
10077 (insertChar): force a rebreak if we inserted an inset!
10079 2002-03-28 Herbert Voss <voss@lyx.org>
10081 * lyxlength.[Ch]: add inBP() to get the right PS-point
10082 units (BigPoint). With inPixels we have rounding errors
10084 2002-04-11 Juergen Vigna <jug@sad.it>
10086 * text2.C (setCursorFromCoordinates): set iy to the right value.
10087 (setCursor): add check if row->previous exists!
10089 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10090 an old float_type as this was the case in the old code!
10092 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10094 * BufferView2.C (showLockedInsetCursor): use iy
10095 (fitLockedInsetCursor): ditto
10097 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10098 locked insets as there we have the right value now.
10100 * lyxcursor.C: added iy_ variable and iy functions to set to the
10101 baseline of cursor-y of the locked inset.
10103 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10104 (setCursor): fixed for insets which need a full row.
10106 * text.C (rowLastPrintable): don't ignore the last space when before
10107 an inset which needs a full row.
10108 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10109 as last character of a row when before a inset which needs a full row.
10111 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10113 * version.C.in: update date
10115 * text2.C (fullRebreak): try to always return true and see what
10118 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10120 * MenuBackend.C (expand): use Floating::listName
10122 * FloatList.C (FloatList): add listName argument to the built-in
10125 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10126 text associated with the float.
10128 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10130 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10132 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10134 * ShareContainer.h: add a couple of missing typenames.
10136 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10138 * lyxrc.C (getDescription): use _() correctly rather than N_().
10140 2002-03-28 Herbert Voss <voss@lyx.org>
10142 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10143 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10145 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10147 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10148 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10150 2002-03-29 Juergen Vigna <jug@sad.it>
10152 * lyxfunc.C (dispatch): add a missing fitCursor call.
10154 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10155 it was scrolled by a cursor move, so return the bool status.
10157 * BufferView.C (fitCursor): return the bool flag also to the outside
10158 world as this is needed.
10160 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10162 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10163 call the edit() as it is not needed (and wrong) IMO.
10164 (workAreaButtonPress): set the screen_first variable before evt.
10165 unlock the inset as this may change screen_first and then we have
10166 a wrong y position for the click!
10168 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10170 * MenuBackend.C (expand): another translation that I missed
10172 2002-03-28 Juergen Vigna <jug@sad.it>
10174 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10176 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10178 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10180 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10182 * MenuBackend.C (expand): fix export/view/update when there is no
10185 2002-03-27 Herbert Voss <voss@lyx.org>
10187 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10190 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10192 * bufferview_funcs.C (currentState): only show paragraph number
10193 for is DEVEL_VERSION is set.
10195 * lyxfunc.C (dispatch): put warning in INFO channel
10197 * MenuBackend.C (expand): translate the name of floats
10199 * FloatList.C (FloatList): mark the float names for translation
10201 * converter.C (convert): use LibScriptSearch
10203 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10205 * MenuBackend.C (defaults): fix default menu (we might as well get
10208 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10210 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10213 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10215 * lyxvc.C: reorder includes.
10217 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10219 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10222 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10224 * CutAndPaste.C: change layouts earlier on paste
10225 to avoid crashing when calling getFont()
10227 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10229 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10232 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10234 * WorkArea.C: remove 'Pending' debug message.
10236 * most files: ws cleanup
10238 * buffer.[Ch]: ws changes
10240 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10242 2002-03-21 Juergen Vigna <jug@sad.it>
10244 * tabular.C (SetMultiColumn): collapse also the contents of the
10245 cells and set the last border right. Added a Buffer const * param.
10247 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10249 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10252 2002-03-19 Juergen Vigna <jug@sad.it>
10254 * text2.C (clearSelection): reset also xsel_cache.
10256 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10257 where it needs to be called (John tells us to do so too :)
10258 (selectionLost): reset sel_cache.
10260 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10262 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10264 * text2.C (setCursorIntern): put debuging code in INSETS channel
10266 2002-03-19 André Pönitz <poenitz@gmx.net>
10268 * lyxfunc.C: tiny whitespace change
10270 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10272 * ToolbarDefaults.C (init):
10273 * LyXAction.C (init):
10275 * BufferView_pimpl.C (Dispatch):
10276 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10278 2002-03-19 Allan Rae <rae@lyx.org>
10280 * exporter.C (Export): removeAutoInsets before doing anything else.
10281 While I've just introduced a dependency on BufferView this really is
10282 the best place to clean the buffer otherwise you need to cleanup in
10283 a dozen places before calling export or cleanup in a dozen functions
10286 * converter.C (runLaTeX):
10287 (scanLog): Better handling of removeAutoInsets and screen updates.
10289 * lyxfunc.C (dispatch): small whitespace changes
10291 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10293 * WorkArea.C (C_WorkAreaEvent): return a value.
10294 (event_cb): return 1 if we handled the event, 0 otherwise.
10296 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10298 2002-03-18 Juergen Vigna <jug@sad.it>
10300 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10301 (GetAdditionalWidth): ditto.
10302 (RightLine): ditto.
10305 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10306 inset if we're there actually (probably not used right now but this
10307 is the direction to go for unifying code).
10308 (paste): disable code to clear the selection.
10310 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10311 inside an InsetText and move the check further up as it is in the
10314 * text2.C (pasteSelection): set a selection over the pasted text.
10316 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10318 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10319 and libgraphics to build on Cygwin.
10321 2002-03-15 Juergen Vigna <jug@sad.it>
10323 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10324 inserting an Inset into the paragraph. I know this is not the best
10325 fix but we already use current_view in CutAndPaste so we will remove
10326 all of it's using at the same time.
10328 * buffer.C (sgmlError): deactivated function till it is rewritten in
10329 the right mode, now it can create problems.
10331 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10332 before accessing it.
10334 2002-03-14 Juergen Vigna <jug@sad.it>
10336 * undo_funcs.C (textHandleUndo): do the right thing when updating
10337 the inset after the undo/redo.
10339 * text2.C (setCursor): just some testcode for #44 not ready yet.
10341 * undo_funcs.C (textHandleUndo): set the next() and previous()
10342 pointers of the paragraph to 0 before deleting otherwise we have
10343 problems with the Paragraph::[destructor].
10345 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10346 on a paragraph insertion.
10348 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10350 * buffer.C (asciiParagraph): use += operator for char append to
10353 * paragraph.C (getFontSettings): compare >= not just >
10354 (highestFontInRange): ditto
10357 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10359 * paragraph.C: change several algorithm to be more appripriate for
10360 the problem domain. This is lookip in FontList and in the InsetList.
10362 2002-03-13 André Pönitz <poenitz@gmx.net>
10365 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10367 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10372 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10374 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10376 * Painter.C (display): anon helper function, adjust code for this
10378 (pixmap): remove function.
10380 * Painter.h: remove private display variable.
10382 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10384 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10386 * WorkArea.[Ch]: remove figinset_canvas cruft.
10388 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10390 * lyxtextclass.C (operator): add one item cache optimization.
10392 * bufferlist.h: doxy changes
10394 * bufferlist.C: ws changes
10396 * DepTable.[Ch] (ext_exist): place const in the right spot.
10398 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10400 (workAreaExpose): call resizeInsets when the with BufferView changes.
10401 (Dispatch): adjust for protectedBlank removal
10402 (specialChar): call updateInset if the insert went ok.
10404 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10405 specialChar instead.
10407 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10409 * BufferView.h: doxy change
10411 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10413 * lyxtextclass.C (operator[]): remove non-const version
10414 (defaultLayout): remove non-const version
10416 2002-03-12 Juergen Vigna <jug@sad.it>
10418 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10419 did resize the LyXText too.
10421 * buffer.C (readLyXformat2): set layout information on newly allocated
10424 * tabular.C (OldFormatRead): set layout information on the paragraph.
10426 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10428 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10430 2002-03-11 Juergen Vigna <jug@sad.it>
10432 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10434 (resizeCurrentBuffer): force also the insets to resize themselfes.
10435 (moveCursorUpdate): fixed up for InsetText.
10437 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10440 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10441 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10442 value of Dialogs::tooltipsEnabled().
10443 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10445 2002-03-08 Juergen Vigna <jug@sad.it>
10447 * BufferView_pimpl.C (updateInset): update inset inside inset also
10448 if it isn't inside theLockingInset().
10450 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10452 * buffer.C (asciiParagraph): redo some of the word and line length
10454 (getLists): look for Caption instead of caption.
10456 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10458 * buffer.C (Buffer): initialize niceFile to true
10460 (makeLinuxDocFile):
10461 (makeDocBookFile): make sure niceFile is true on exit
10463 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10465 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10467 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10469 * LyXSendto.C: remove.
10470 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10471 * lyx_gui.C: remove now-redundant comment.
10472 * ColorHandler.h: remove forward declaration of class WorkArea.
10473 * lyxfunc.C: remove #include "WorkArea.h".
10475 2002-03-07 Juergen Vigna <jug@sad.it>
10477 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10478 got moved away with the DEPM and also set the inset_owner always
10479 right which before could have been omitted.
10481 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10483 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10484 wanted layout is not found.
10486 2002-03-07 Juergen Vigna <jug@sad.it>
10488 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10490 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10492 * paragraph.C (breakParagraph): use default layout not layout of
10494 (Paragraph): clear ParagraphParameters.
10496 2002-03-06 Juergen Vigna <jug@sad.it>
10498 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10499 otherwise it would not be a valid lenght. Fixed a special case in
10500 the minipage compatibility read where we end the document with a
10503 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10504 was set as it could be 0 for InsetTexts first entry.
10506 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10508 * paragraph.C (writeFile): if layout is empty write out
10509 defaultLayoutName().
10511 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10512 file without named layout we set layout to defaultLayoutName().
10514 2002-03-06 Juergen Vigna <jug@sad.it>
10516 * CutAndPaste.C (copySelection): set layout for new paragraph.
10518 * text.C (prepareToPrint): leave ERT inset left aligned
10519 (leftMargin): don't indent paragraphs inside ERT insets
10521 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10523 * paragraph.C (breakParagraph): dont call clear do the work manually
10525 * paragraph.[Ch] (clear): remove function
10527 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10529 * paragraph.C (Paragraph): dont call clear, the work has already
10532 * lyxtextclass.C (operator): assert if n is empty
10534 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10535 work manually instead.
10537 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10539 * BufferView_pimpl.C: protect selectionLost against text == 0
10541 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10543 * text.C (breakParagraph): fix a setting layout to '0' problem.
10545 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10547 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10548 final location of file, for the included files, and graphics.
10550 2002-03-05 Juergen Vigna <jug@sad.it>
10552 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10554 2002-03-04 Juergen Vigna <jug@sad.it>
10556 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10558 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10559 last column of multicolumn cells.
10560 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10562 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10564 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10565 file if it doesn't go to a temporary file.
10567 * buffer.C (sgmlOpenTag):
10568 (sgmlCloseTag): remove extra newline insertion.
10570 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10572 * text.C (getRowNearY): comment out debug msg
10574 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10576 * text2.C: first -> first_y
10578 * text.C (getRowNearY): add some attemts at a possible
10579 optimization, not working.
10581 * tabular.[Ch]: add BufferParams to several function so that newly
10582 created paragraph can be initialized to he default layotu for the
10585 * tabular-old.C (ReadOld): add buf->params to call of Init
10587 * screen.C: rename text->first to text->first_y
10589 * paragraph.C (breakParagraph): always set layout in the broken
10592 * lyxtextclass.C (Read): remove lowercase
10595 (delete_layout): ditto
10597 * lyxtext.h: rename first -> first_y
10599 * lyxlayout.C (Read): remove lowercase
10602 (obsoleted_by): ditto
10604 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10606 * buffer.C (insertErtContents): add params are to InsetERT
10607 (parseSingleLyXformat2Token): add code to check if a paragraphs
10608 layout really exist.
10609 (parseSingleLyXformat2Token): add params to several inset
10611 (asciiParagraph): remove lowercase, do the layout comparisons with
10614 * BufferView_pimpl.C (cursorNext): first -> first_y
10615 (resizeCurrentBuffer): first -> first_y
10616 (updateScrollbar): first -> first_y
10617 (scrollCB): first -> first_y
10618 (workAreaMotionNotify): first -> first_y
10619 (workAreaButtonPress): first -> first_y
10620 (checkInsetHit): first -> first_y
10621 (cursorPrevious): first -> first_y
10622 (cursorNext): first -> first_y
10623 (Dispatch): add buffer_->params to severl inset contructors
10625 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10627 * lyxlayout.C (Read): remove some debug info that I forgot.
10629 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10630 clean up the code slightly.
10631 (makeLinuxDocFile): ditto
10632 (makeDocBookFile): ditto
10634 * text2.C: layout as string
10636 * text.C: layout as string
10638 * paragraph_pimpl.C: layout as string
10640 * paragraph.[Ch]: layout as string
10642 * lyxtextclasslist.[Ch]: layout as string
10644 * lyxtextclass.[Ch]: layout as string
10646 * lyxtext.h: layout as string
10648 * lyxlayout.[Ch]: layout as string
10650 * lyx_cb.C: layout as string
10652 * bufferview_funcs.C: layout as string
10654 * bufferparams.C: layout as string
10656 * buffer.C: layout as string
10658 * LyXView.[Ch]: layout as string
10660 * LaTeXFeatures.[Ch]: layout as string
10662 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10664 * BufferView_pimpl.C: change current_layout to string, remove
10669 (workAreaButtonRelease): layout as string
10671 * BufferView2.C (unlockInset): adjust
10673 * vspace.C (asLatexCommand): use an explict temp variable.
10675 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10677 * Makefile.am: use FRONTEND_*
10679 2002-03-01 Juergen Vigna <jug@sad.it>
10681 * tabular.C (SetWidthOfMulticolCell): changed to something better
10682 I hope but still work in progress.
10683 (recalculateMulticolumnsOfColumn): renamed function from
10684 recalculateMulticolCells as it is more appropriate now.
10685 (SetWidthOfCell): calculate multicols better.
10687 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10689 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10691 * lyxfunc.C (processKeySym): print sequence also if it is
10692 `deleted' (complete)
10694 * kbsequence.C (print): print sequence even if it is deleted
10695 (complete would be a better word, actually).
10697 * lyxfunc.C (dispatch): print complete options after a prefix key
10699 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10701 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10703 * text2.C (setCharFont): eliminate setCharFont code duplication.
10705 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10707 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10708 LFUN_TABULAR_FEATURE (bug #177)
10710 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10712 * Makefile.am: remove figure.h
10714 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10716 * Bufferview_pimpl.C:
10728 * text2.C: remove #include "lyx_gui_misc.h".
10730 * LaTeX.C: added #include <cstdio>
10732 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10734 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10735 that the paragraph following this one can have.
10737 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10739 * vspace.C (asLatexCommand): fix bogus gcc warning
10741 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10743 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10745 * text2.C (setLayout): get rid of redundant code
10747 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10749 * text2.C (incDepth): make sure depth cannot be increased beyond
10752 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10754 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10755 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10757 * PainterBase.h (image):
10758 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10759 a LyXImage const *.
10761 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10765 * BufferView_pimpl.C:
10766 * BufferView_pimpl.h:
10786 * sp_spell.C: remove fig inset, and the crap house of
10787 cards that follows it
10789 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10794 * os2_errortable.h:
10795 * nt_defines.h: move .h into support/
10797 * vms_defines.h: remove
10799 * WorkArea.C: add space in debug output
10803 * buffer.C: add WITH_WARNINGS
10807 * bufferlist.C: s/retrive/retrieve/, add docs
10816 * chset.C: add docs
10818 * lyxgui.C: add ID to X error handler
10820 * lyxtestclass.c: fix typo
10822 2002-02-26 Juergen Vigna <jug@sad.it>
10824 * tabular_funcs.C (write_attribute): changed so that some default
10825 attributes are not written at all.
10826 (getTokenValue): set default values before trying to read the
10827 value so we have the return value always set as default if we don't
10828 find the token we search for.
10830 * tabular.C (Write): write bools as bools not as strings!
10832 2002-02-22 Juergen Vigna <jug@sad.it>
10834 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10835 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10837 * text.C (leftMargin): don't add an indent for paragraphs inside
10838 tabular cells (fix #208).
10840 2002-02-21 José Matos <jamatos@fep.up.pt>
10842 * tabular.C (docBook): fixed support for long tables.
10844 2002-02-20 Juergen Vigna <jug@sad.it>
10846 * text2.C (getFont): get the drawing font of the Inset if this
10847 paragraph is inside an inset (only important for InsetERT for now).
10849 * buffer.C (insertErtContents): use new lanugage params in ERT
10852 * CutAndPaste.C: commenting out seemingly uneeded code.
10854 2002-02-19 Allan Rae <rae@lyx.org>
10856 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10857 Iterators might be simple to use but they also get invalidated.
10858 (removeAutoInsets): renamed saved cursor tracking variables and added
10859 some comments to clarify what everything does.
10861 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10868 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10869 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10872 * vc-backend.h: remove #include "support/syscall.h"
10876 * converter.C: rearrange #includes in Lars' approved fashion.
10878 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10879 forward declare class Timeout in the header file.
10881 * XFormsView.C: changes due to the above.
10883 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10884 similar to LyXView.
10886 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10887 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10889 2002-02-18 José Matos <jamatos@fep.up.pt>
10891 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10894 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10896 * a lot of small ws changes
10897 * add a lot of using std::XXX
10898 * use std construcs some places where approp.
10899 * use some exisint stuff from lyxfunctional where approp.
10900 * Make file changes to use partial linking (lets test this now...)
10902 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10906 remove #include "support/syscontr.h" as it's redundant. Always has been.
10914 change Systemcalls::System to Systemcalls::Wait and
10915 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10916 No change of functionality, just reflects the stripped down Systemcalls
10919 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10921 * debug.[Ch]: add a GRAPHICS type to the enum.
10923 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10925 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10927 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10930 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10932 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10933 match the changes below.
10935 * text2.C (toggleInset): if there is not editable inset at cursor
10936 position, try to see if cursor is _inside_ a collapsable inset
10939 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10941 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10942 document menu has a nice checkbox
10944 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10946 * lyxlength.C (asLatexString): change PW to output as percent of
10949 * lengthcommon.C: change '%' to 't%'
10951 * lyxfunc.C (dispatch): a few comments from Martin
10953 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10957 * BufferView_pimpl.h:
10958 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10961 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10963 * vspace.C (inPixels): fix compiler warning
10965 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10967 * lyxfunc.C (getStatus): fix status message for disabled commands.
10969 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10971 * BufferView_pimpl.C: fix crash on close buffer
10972 during selection (#227)
10974 2002-01-27 Herbert Voss <voss@lyx.org>
10976 * buffer.C: link old Figure to new graphic inset
10978 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10980 * FontLoader.C (getFontinfo): Change the latex font names in order
10981 to match the names of type1inst.
10983 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10985 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10987 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10988 (extchanged): ditto
10990 (remove_files_with_extension): ditto
10991 (remove_file): ditto
10994 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10995 document is smaller than the work area height. Do not initialize
10996 static variables to 0.
10998 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11000 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11002 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11003 LFUN_LAYOUT_PARAGRAPHS.
11005 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11006 tabular. It is possible to provide a possible cell, which will
11007 typically be the actcell from the corresponding insettabular
11009 * lyxfunc.C (getStatus): small cleanup; disable
11010 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11013 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11015 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11017 * paragraph.C (startTeXParParams):
11018 (endTeXParParams): new methods. The LaTeX code to
11019 start/end paragraph formatting
11020 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11021 empty (fixes bug #200)
11023 * vspace.C (inPixels): adapt to the change below
11024 (inPixels): [later] more cleanups (remove unused variables)
11026 * lyxlength.C (inPixels): change to use a width and a height as
11029 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11031 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11032 Replaced with \paperwidth
11034 * DepTable.C (insert): add std:: qualifier
11036 2002-01-18 Allan Rae <rae@lyx.org>
11038 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11041 * text.C (drawInset): Turned out I didn't know enough about how
11042 rebreaking worked. This fixes most of the redraw problems. I see
11043 an occasional cursor trail when a line is broken now and the cursor
11044 placement can seem out by a few pixels also after a rebreak.
11046 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11048 * buffer.C (parseSingleLyXformat2Token): update because minipage
11049 width is now a LyXLength
11051 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11053 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11056 2002-01-17 Juergen Vigna <jug@sad.it>
11058 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11060 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11061 is set correctly and the inset is updated correctly.
11063 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11065 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11066 the beginning of the loop.
11068 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11070 * lyxrc.C: improve help for use_scalable_fonts
11072 2002-01-17 Allan Rae <rae@lyx.org>
11074 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11076 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11078 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11079 make sure to set their inset_owner to the right value (bug #171)
11081 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11084 * DepTable.C: Implement mtime checking to reduce time spent doing
11087 2002-01-16 Juergen Vigna <jug@sad.it>
11089 * tabular.C (GetAdditionalHeight): one of error fixed.
11091 * lyxrc.C (output): small fix in writing use_pspell.
11093 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11095 * sp_base.h: #include LString.h
11097 2002-01-16 Allan Rae <rae@lyx.org>
11099 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11100 Can someone check this please?
11102 * text.C (drawInset): It was possible that p.row would be removed by
11103 breakAgainOneRow upsetting a few other settings. There may be another
11104 small tweak possible by setting need_break_row = 0 when p.row has been
11105 removed but I don't know enough about the logic here.
11107 2002-01-15 Allan Rae <rae@lyx.org>
11109 * text.C (insertChar): removed conditional truism.
11111 * BufferView2.C (removeAutoInsets): More tweaks.
11112 cur_par_prev could be a stray pointer. Check for trailing empty line
11113 in case last line was cur_par and only had an error inset on it.
11115 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11117 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11120 * vc-backend.C (most methods):
11121 * exporter.C (Export):
11122 * converter.C (convert):
11124 * LyXSendto.C (SendtoApplyCB):
11125 * lyxfunc.C (dispatch):
11129 * lyx_cb.C (AutoSave):
11131 * BufferView_pimpl.C (MenuInsertLyXFile):
11132 * buffer.C (runChktex): use Buffer::filePath().
11134 * buffer.h: rename filename to filename_; rename filepath to
11135 filepath_ and make it private
11136 (filePath): new method
11138 * buffer.C (writeFile): use fileName()
11141 * lyx_main.C (init): fix starting of LyX when the binary is a
11142 link from so,ewhere else.
11144 * minibuffer.C: include <cctype> for isprint
11146 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11148 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11149 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11150 name clash with InsetCollapsable's width function.
11152 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11154 * lastfiles.C: include <iterator>
11156 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11158 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11161 * buffer.C (makeLaTeXFile): ditto.
11162 Also make loop operation more transparent.
11164 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11166 * ToolbarDefaults.C: remove trailing comma closing namespace.
11168 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11170 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11173 * trans.C (Load): comment out unused variable, allowed.
11175 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11177 * minibuffer.[Ch] (append_char): new method to recieve input from the
11178 drop-down completion browser. If a key was pressed, then recieve this
11179 char and append it to the existing string.
11180 (peek_event): modify the positioning data passed to the completion
11181 browser so that it can be placed above the minibuffer rather than below.
11182 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11184 * LyXAction.C (init): alloe error-next for readonly documents.
11186 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11189 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11191 * bufferlist.C (readFile): create the buffer _after_ checking that
11194 * lyxfunc.C (verboseDispatch): fix handling of arguments
11196 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11198 * lyxrc.C: use string::erase() instead of initializing to "".
11201 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11203 * BufferView_pimpl.h:
11204 * BufferView_pimpl.C:
11207 * text2.C: tell X when we have made a selection for copying
11209 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11211 * BufferView_pimpl.C (MenuInsertLyXFile):
11212 * lyxfunc.C (menuNew):
11214 (doImport): add shortcuts to directory buttons
11216 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11219 * lyxfunc.C (setStatusMessage):
11220 (getStatusMessage): new methods
11221 (getStatus):use setStatusMessage instead of setErrorMessage
11222 (dispatch): when function is disabled, set error message here
11223 [instead of in getStatus previously]
11225 * BufferView_pimpl.C (workAreaButtonRelease): update
11226 toolbar/menubar here too.
11228 2002-01-13 Allan Rae <rae@lyx.org>
11230 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11231 Now seems indestructible. Remaining task is to audit all other
11232 code affected by deleteEmptyParagraphMechanism. One small quirk
11233 left is that an empty document with an error in the preamble can
11234 be made to report an error but no error box appears. I don't know
11236 (removeAutoInsets): Improved comments.
11238 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11241 * Thesaurus.C: update for Aiksaurus 0.14
11243 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11245 * text2.C (firstParagraph): removed member function, all uses
11246 replaces with ownerParagraph
11247 (redoParagraphs): here
11248 (updateInset): here
11249 (toggleAppendix): here
11250 * BufferView2.C (insertErrors): here
11251 (setCursorFromRow): here
11253 2002-01-13 Allan Rae <rae@lyx.org>
11255 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11256 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11257 There is still a way to segfault this although you may have to do this
11258 multiple times: Have an InsetERT with an unknown command in it.
11259 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11260 <down-arrow>, <Enter> again, View->DVI, BANG!
11262 * text2.C (setCursor):
11263 (deleteEmptyParagraphMechanism):
11264 * lyxtext.h (setCursor):
11265 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11266 Making use of the return value may help fix other bugs.
11268 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11270 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11272 * LyXView.C (updateMenubar): call MenuBar::update here
11273 (updateToolbar): but not here
11274 (showState): do not update toolbar/menubar
11276 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11277 should need to care about that.
11279 * lyxfunc.C (verboseDispatch): simplify a bit
11280 (getStatus): have a version which takes a pseudoaction, and
11281 another which requires a (kb_action,string).
11283 * LyXAction.C (retrieveActionArg): make it work also when action
11284 is not a pseudo-action.
11285 (getActionName): simplify a bit
11288 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11290 * lyxfunc.C (verboseDispatch): new families of methods with
11291 several ways to specify a command and a bool to indicate whether
11292 the command name and shortcut should be displayed in minibuffer
11293 (eventually, we could extend that to a finer bitmask like
11294 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11295 (dispatch): the pristine dispatch command which just, well,
11296 dispatchs! Note it still sets its result to minibuffer; I'm not
11299 * lyxfunc.h: remove setHintMessage
11301 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11303 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11305 * BufferView_pimpl.C (specialChar): delete new inset if we have
11306 not been able to insert it.
11308 * kbmap.C: revert to using int instead of kb_action, since all we
11309 are dealing with is pseudo-actions.
11311 * LyXAction.C (searchActionArg): change to return int instead of
11312 kb_action, since the result is a pseudoaction.
11314 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11316 * buffer.C (insertErtContents): Fix (partially) the font bug.
11318 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11320 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11321 as the other one is broken on my machine!
11323 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11326 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11328 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11330 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11331 reflect their actual use. Provide compatibility code for older lyxrc
11334 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11336 change names of popup font variables in line with the changes to lyxrc.C
11338 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11340 * buffer.C (asciiParagraph): avoid outputing a word twice after
11343 * lyxrc.C (getDescription): document that document_path and
11344 template_path can be empty.
11346 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11348 * LaTeXFeatures.C (getMacros):
11349 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11351 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11353 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11355 (getPackages): rename feature "floats" to "float". Use an array to
11356 iterate over 'simple' features (i.e. just a \usepackage). Add
11357 handling of "amsmath" (renamed from "amsstyle").
11359 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11361 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11364 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11366 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11367 FuncStaus::FuncStatus & FuncStaus::some_method().
11369 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11371 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11372 of the func_satus stuff. Edited and massaged in various ways by
11375 * lyxfunc.C (getStatus): use FuncStatus
11377 2002-01-08 Juergen Vigna <jug@sad.it>
11379 * text.C (nextBreakPoint): use function Inset::isChar().
11381 * paragraph.C (TeXOnePar): use function
11382 Inset::forceDefaultParagraphs.
11384 * buffer.C (latexParagraphs): use function
11385 Inset::forceDefaultParagraphs.
11387 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11389 * lyx_gui.C (init): set the style of the menu popups to
11390 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11392 2002-01-07 Juergen Vigna <jug@sad.it>
11394 * text.C (setHeightOfRow): small fix
11395 (prepareToPrint): don't look at alignment if we don't have the place
11398 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11400 * box.C: New file. Move the Box methods and functions out of box.h,
11401 following Lars' suggestion.
11403 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11405 * box.h: #include "support/LOstream.h", needed for inlined function.
11408 * lyxtextclasslist.C: added some using std declarations.
11410 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11412 * box.h: make signed dimensions to allow insets wider than
11413 the screen (bug #162)
11415 * BufferView_pimpl.C: add some insetHit debug
11417 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11419 * vc-backend.C: add FIXME
11421 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11423 * lyxfunc.C (getStatus): enable code for showing math font status
11426 2002-01-07 Juergen Vigna <jug@sad.it>
11428 * text.C (nextBreakPoint): removed debug output not needed anymore.
11430 2002-01-06 Juergen Vigna <jug@sad.it>
11432 * text.C (nextBreakPoint): fixed up this function we had this bug
11433 since ever but now hopefully we break row better.
11434 (insertChar): we have to check if an inset is the next char as it
11435 could now happen that a large inset is causing a break.
11437 2002-01-05 Juergen Vigna <jug@sad.it>
11439 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11440 if it doesn't like to be drawed.
11442 2002-01-04 Juergen Vigna <jug@sad.it>
11444 * BufferView2.C (lockInset): forgot to set a cursor.
11446 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11448 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11450 * FormMathsPanel.C:
11453 * form_maths_panel.C:
11454 * form_maths_panel.h:
11455 * form_maths_panel.fd: implemented sub- and super- buttons in math
11458 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11459 (or ^ space) to be used as in TeX (req'd by André).
11461 * lyxfunc.C: Allow ^ and _ again to be used both as
11462 super/subscript (mathed) and as themselves (in text).
11464 2002-01-03 Allan Rae <rae@lyx.org>
11466 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11467 "LyX" or the filename of the current buffer if it has one. This is a
11468 modified form of John Levon's patch.
11470 * XFormsView.C (setWindowTitle): also set icon title.
11472 * LyXView.h (setWindowTitle): signature changed.
11473 * XFormsView.h (setWindowTitle): ditto.
11475 2002-01-02 Juergen Vigna <jug@sad.it>
11477 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11479 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11481 * screen.C (topCursorVisible): introduce a temp var for
11482 text->cursor.row(), handle the case where this row is null. (kindo
11485 * text2.C (setCursor): add a couple of asserts.
11487 * paragraph.h (inset_iterator): add -> operator
11489 * paragraph.[Ch] (autoDeleteInsets): remove member function
11491 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11492 cursor pos correctly and handle inset deletion by itself.
11493 (insertErrors): move iterator declaration out of for expression
11495 * lyxtextclass.C: add <algorithm>
11497 * Makefile.am: added the new files to sources, removed layout.C
11499 * layout.C: removed file
11501 * layout.h: remove LYX_DUMMY_LAYOUT
11503 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11507 * lyxtextclass.[Ch]:
11508 * lyxtextclasslist.[Ch]: new files
11510 * include order changes to a lot of files, also changes because of
11513 2001-12-27 Juergen Vigna <jug@sad.it>
11515 * buffer.C (asciiParagraph): more fixes.
11517 * tabular.C (ascii): make ascii export support export of only the
11518 data separated by a column-delimiter.
11519 (ascii): better support for ascii export.
11521 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11523 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11525 * tabular_funcs.C: use a "using std::getline" instead of the
11526 previous fix from Angus (necessary for cxx + lyxstring)
11528 2001-12-24 Juergen Vigna <jug@sad.it>
11530 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11532 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11533 problems. First check a minipage also if we have some ert-contents
11534 (not only on par->size(), second set the right depth of the paragraph
11535 on the relink to the root-paragraph-list!
11537 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11538 which then did not anymore update the main paragraphs on undo/redo!
11540 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11542 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11543 code. Support all font-changing funcs (even those which are not in
11544 menu currently). Support for reporting font settings in
11545 mathed (disabled until Andre provides a function on mathed's side).
11547 * func_status.h (toggle): small helper function to set toggle
11550 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11552 * tabular_funcs.C: getline -> std::getline
11554 2001-12-21 Juergen Vigna <jug@sad.it>
11556 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11557 accessed and could be 0 (I couldn't generate this but it seems
11560 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11562 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11563 * tabular_funcs.h: here and include iosfwd
11565 2001-12-20 Juergen Vigna <jug@sad.it>
11567 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11568 inside inset but undo_par was.
11570 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11572 * Thesaurus.C: always include <config.h> in sources.
11576 * box.h: do not include <config.h> in header files
11578 * text.C (paintLastRow): remove unused variable
11580 * text.C (transformChar):
11582 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11584 * Painter.C (text):
11585 * font.C (width): rewrite to use uppercase() instead of
11588 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11590 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11592 * lyxfind.C: clean up of find failure position change
11594 2001-12-20 Juergen Vigna <jug@sad.it>
11596 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11598 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11599 (TeXRow): added to LaTeX a single tabular row.
11600 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11601 (Latex): simplified and finally good LT-h/f support.
11602 (various_functions): just small adaptions for LT-h/f support.
11604 * tabular_funcs.[hC]: added and moved here all not classfunctions
11607 2001-12-19 Juergen Vigna <jug@sad.it>
11609 * tabular.[Ch]: better support for longtabular options (not finished
11612 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11614 * text.C (paintLastRow): use the label font instead of the font of
11615 the last character to compute the size of *_BOX. This makes more
11616 sense and avoids a crash with empty paragraphs.
11617 Use Painter::rectangle to draw EMPTY_BOX.
11619 2001-12-19 Juergen Vigna <jug@sad.it>
11621 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11622 the paragraphs if the replaced paragraph is not the first one!
11623 Tried to delete not used paragraphs but does not work yet so for
11624 now it's inside #ifdef's and by default off!
11626 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11628 * MenuBackend.C: include "lyx_main.h" instead of declaring
11629 lastfiles (actually was declared as LastFiles* instead of a
11632 2001-12-17 Juergen Vigna <jug@sad.it>
11634 * tabular.C (AppendColumn): applied John's fix
11636 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11640 * BufferView_pimpl.h:
11641 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11644 * box.h: new start of class for above
11646 * lyxfunc.C: ignore space-only minibuffer dispatches.
11647 Show the command name when it doesn't exist
11649 * minibuffer.C: don't add empty lines to the history
11651 * minibuffer.C: add a space on dropdown completion
11653 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11655 * text.C: fix line above/below drawing in insets
11657 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11659 * lyxlength.C (LyXLength): Initialize private variables.
11661 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11663 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11664 when inserting error insets.
11666 2001-12-13 Juergen Vigna <jug@sad.it>
11668 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11669 actually sometimes the before-paragraph.
11670 (setUndo): don't clear the redostack if we're not actually undoing!
11672 2001-12-06 Juergen Vigna <jug@sad.it>
11674 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11675 and fixed redoing of main paragraph, so we can use it now ;)
11677 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11679 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11681 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11684 2001-12-13 André Pönitz <poenitz@gmx.net>
11687 * undo_func.C: minor cleanup
11689 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11691 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11692 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11693 font in urw-fonts package which is marked as -urw-fontspecific and
11694 does not work (incidentally, changing the encoding in the
11695 fonts.dir of this package to -adobe-fontspecific fixes the
11698 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11699 is a crash when undoing first paragraph (Juergen, please take a
11700 look). THis does not mean the undo fix is wrong, just that it
11703 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11704 the (Paragraph*) version when needed instead of duplicating the
11707 * text.C (workWidth): use Inset::parOwner to find out where the
11708 inset has been inserted. This is a huge performance gain for large
11709 documents with lots of insets. If Inset::parOwner is not set, fall
11710 back on the brute force method
11712 * paragraph_pimpl.C (insertInset):
11713 * paragraph.C (Paragraph):
11714 (cutIntoMinibuffer): set parOwner of insets when
11715 inserting/removing them
11717 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11719 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11725 * mathed/formulabase.C:
11726 * mathed/math_cursor.[Ch]:
11727 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11730 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11732 * lyxlength.[Ch] (operator!=): new function
11734 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11736 * text.C (workWidth): use Inset::parOwner to find out where the
11737 inset has been inserted. This is a huge performance gain for large
11738 documents with lots of insets. If Inset::parOwner is not set, fall
11739 back on the brute force method
11741 * paragraph_pimpl.C (insertInset):
11742 * paragraph.C (Paragraph):
11743 (cutIntoMinibuffer): set parOwner of insets when
11744 inserting/removing them
11746 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11748 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11750 * tabular-old.C (getTokenValue):
11751 * tabular.C (getTokenValue):
11752 (write_attribute): new versions for LyXLength
11753 (everywhere): adjust the use of widths
11755 * tabular.h: change the type of widths from string to LyXLength
11757 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11759 * paragraph.C: fixed missing line number count when exporting
11760 Environments to LaTeX file
11762 * buffer.C: added informational message for checking line numbers.
11764 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11766 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11767 paragraph, do the 'double space' part, but not the 'empty
11770 * text.C (workWidth): small optimization
11771 (getLengthMarkerHeight): use minimal size for negative lengths.
11773 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11775 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11777 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11779 2001-12-11 André Pönitz <poenitz@gmx.net>
11782 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11784 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11786 * text2.C: keep selection on a setFont()
11788 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11790 * lyx_cb.C: another bv->text misuse, from insert label
11792 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11795 * kbsequence.C: re-instate nmodifier mask
11797 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11799 * lyx_main.h: make lyxGUI private.
11801 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11803 * lyxfind.C: place the cursor correctly on failed search
11805 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11807 * text.C (getLengthMarkerHeight): for small heights, the arrows
11808 are not always on top/bottom of the text
11809 (drawLengthMarker): smaller arrows; take the left margin in
11810 account; draw also vfills.
11812 (paintLastRow): remove special code for vfill and standard spaces,
11813 since everything is handled in drawLengthMarker now.
11815 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11817 * buffer.C (insertErtContents): try to handle font and language
11818 interaction a bit better.g
11820 * ColorHandler.C (updateColor): change the hash to cover the whole
11821 LColor enum, ws cleanup
11822 (getGCLinepars): ditto
11823 (getGCLinepars): only lookup in the linecache once.
11825 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11827 * iterators.C (operator++): Make the iterator more robust
11829 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11831 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11833 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11836 * text.C: better added space drawing
11838 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11841 * BufferView2.C: fix layout combo update on inset unlock
11843 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11845 * Makefile.am: don't compile unused files
11847 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11851 * LyXAction.C: remove old LFUN_LAYOUTNO
11853 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11855 * paragraph_pimpl.h:
11856 * paragraph_pimpl.C: isTextAt() doesn't need font param
11858 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11861 * lyxlex.C: little cleanup
11863 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11865 * BufferView_pimpl.C: fix insertAscii for insets
11867 2001-12-05 Juergen Vigna <jug@sad.it>
11869 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11870 set the right font on the "multi" paragraph paste!
11872 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11878 * lyxlength.C: remove out-commented code.
11880 * BufferView_pimpl:
11894 * vc-backend.C: change "while(" to "while ("
11896 * lyxlength.[Ch]: add zero function to check if length is zero or
11898 * lyxgluelength.C: use it
11900 2001-12-05 Allan Rae <rae@lyx.org>
11902 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11903 Works for 2.95.3, from what I understand of Garst's reports this should
11904 work for other g++ versions. We're screwed if the abs(int) definition
11905 changed between bugfix releases of gcc.
11907 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11909 * text.C: fix chapter label offset !
11911 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11914 * text.C: fix hfill at end of line, clean up
11916 2001-12-04 Juergen Vigna <jug@sad.it>
11918 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11919 that we force an update of the inset and it's owners if neccessary.
11921 2001-12-03 Juergen Vigna <jug@sad.it>
11923 * text.C (rowLast): simplified code
11925 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11927 * lyxfunc.C: fix show options on timeout
11929 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11931 * screen.C (topCursorVisible): scroll half a page when the cursor
11932 reached top of bottom of screen
11934 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11936 * minibuffer.C: deactivate on loss of focus
11938 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11940 * vspace.[Ch] (operator!=): add operator.
11942 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11944 * BufferView_pimpl.C: refuse to open an inset when
11945 there's a selection.
11947 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11949 * BufferView_pimpl.C: allow to click on RHS of full row insets
11951 2001-11-30 Juergen Vigna <jug@sad.it>
11953 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11954 insets for undo reasons.
11956 2001-11-28 André Pönitz <poenitz@gmx.net>
11958 * vspace.[Ch]: cosmetical changes
11960 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11970 * kbsequence.C: part re-write of old kb code
11973 * WorkArea.C: remove Lgb_bug_find_hack
11975 2001-11-30 José Matos <jamatos@fep.up.pt>
11977 * buffer.C (makeDocBookFile): add a comment to point a hack.
11978 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11979 Fixed a double write of labels.
11981 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11984 * LaTeX.h Fixed bug in LaTeX class where it would not
11985 re-run latex if no depfiles were changed, but the .dvi was removed.
11987 2001-11-28 André Pönitz <poenitz@gmx.net>
11989 * all the files from the change on 2001/11/26:
11990 use lyx::layout_type instead of LyXTextClass::size_type
11991 use lyx::textclass_type instead of LyXTextClassList::size_type
11993 2001-11-29 Juergen Vigna <jug@sad.it>
11995 * text.C: added support for paragraph::isFreeSpacing()
11997 * buffer.C: same as above
11999 * paragraph.h: inserted isFreeSpacing() function to enable
12000 FreeSpacing inside InsetERT.
12002 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12003 of the paragraph's in the cut/copy buffer to 0!
12005 * text2.C (removeRow): remove the assert as it can!
12007 * lyxtext.h: added helper function firstRow returning firstrow and
12008 made firstrow private again.
12010 * BufferView2.C (lockInset): don't relock if we're already locked!
12012 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12013 the only paragraph.
12014 (removeRow): added Assert::(firstrow)
12016 * debug.C: forgot to add INSETTEXT here.
12018 2001-11-28 Juergen Vigna <jug@sad.it>
12020 * sp_spell.C (initialize): changed error text to more general
12021 spellchecker command use (not only ispell!)
12023 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12025 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12027 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12029 * vspace.C: initialise lyxgluelength on failure
12031 2001-11-28 Allan Rae <rae@lyx.org>
12033 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12034 declaration & definition that looks like a function declaration.
12036 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12038 * BufferView2.C (copy):
12039 (copyEnvironment): do not clear the selection when doing a copy.
12041 * text.C (paintFirstRow): compilation fix
12043 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12045 * tabular.C (Latex): correct line count when writing latex.
12047 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12049 * paragraph_pimpl.h:
12050 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12053 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12057 * LColor.C: change vfillline->added_space
12059 * text.C: add markers and text for added space
12061 * vspace.C: fix comment
12063 2001-11-28 André Pönitz <poenitz@gmx.net>
12065 * paragraph.C: whitespace changes
12066 * all the other files from the change on 2001/11/26:
12067 change *::pos_type into lyx::pos_type
12069 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12071 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12072 language of the document when inserting error insets.
12074 2001-11-26 André Pönitz <poenitz@gmx.net>
12076 * BufferView_pimpl.[Ch]:
12084 * paragraph_pimpl.[Ch]:
12087 * text2.C: reduce header dependencies, introduce type for positions
12089 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12091 * <various>: change to use Alert.h
12093 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12095 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12096 when encountering an unknown token.
12097 (readLyXformat2): Show an error message if there were unknown tokens.
12099 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12102 * BufferView_pimpl.C:
12106 * text2.C: use par->isInset()
12108 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12110 * paragraph_pimpl.h:
12111 * paragraph_pimpl.C: cleanup
12113 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12115 * text2.C (removeRow):
12116 * text.C (setHeightOfRow): remove useless (and costly) call to
12119 2001-11-20 Allan Rae <rae@lyx.org>
12121 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12122 Now need Inset*::checkInsertChar() to return true for appropriate
12123 cases so that the characters in the minibuffer will actually be
12126 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12128 * text.C: change the order of the includes.
12129 (workWidth): initialize it at once.
12130 (workWidth): make maxw unsigned
12131 (setHeightOfRow): remove unused variable (inset)
12132 (selectSelectedWord): remove unused variable (inset)
12133 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12135 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12137 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12138 server is not running.
12140 (closeConnection): add debug info when server is disabled.
12142 * ColorHandler.C (getGCForeground): send debug message to GUI
12145 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12147 * kbmap.C (bind): modify because return conventions of
12148 kb_sequence::parse have changed.
12150 * kbsequence.C (parse): only ignore spaces and not any stupid
12151 control character. This avoids tests like s[i] <= ' ', which are
12152 guaranteed to fail with 8bit characters and signed chars.
12153 Change return code to string::npos when there have been no error
12154 (0 was a bad idea when error is at first character)
12156 2001-11-14 José Matos <jamatos@fep.up.pt>
12159 * buffer.C (simpleDocBookOnePar): removed unused argument.
12161 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12163 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12164 insets which are part of a word. Paragraph::isLetter takes care of
12165 that now. Use Paragraph::isInset to identify insets.
12166 (selectSelectedWord): do not test for hyphenation break.
12168 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12169 that protected spaces are considered as spaces.
12171 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12174 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12177 * lyxserver.C: fix it. and small cleanup.
12179 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12181 * BufferView_pimpl.C: use inline helpers
12184 * LaTeXFeatures.C: fix typos
12187 * Spacing.C: move spacing_string into class
12189 * ToolbarDefaults.C: move stuff into namespace anon
12191 * layout.h: update enum
12193 * lyxfunc.C: use better debug
12195 * minibuffer.h: fix typo
12199 * WorkArea.C: add and use Debug::WORKAREA
12203 * text2.C: code re-organisation, inline helpers
12205 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12207 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12208 std::vector.empty().
12210 2001-11-09 Allan Rae <rae@lyx.org>
12212 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12213 '\n's after tables. Tabular and ERT inset work now makes this no
12216 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12219 * minibuffer.C: fix crash, improve drop-down completion
12221 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12224 * lyxserver.C: invalidate fd's when doing endPipe()
12226 2001-11-08 José Matos <jamatos@fep.up.pt>
12228 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12229 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12232 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12234 2001-11-07 José Matos <jamatos@fep.up.pt>
12237 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12240 * buffer.C (sgmlOpenTag):
12241 * buffer.C (sgmlCloseTag): removed debug info.
12243 * buffer.h (sgmlOpenTag):
12244 * buffer.h (sgmlCloseTag): made public.
12246 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12248 * buffer.C (saveParamsAsDefaults):
12249 * lyx_cb.C (MenuLayoutSave): remove
12251 * LyXAction.C (init):
12253 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12255 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12257 * buffer.C (setPaperStuff): removed from here...
12259 * bufferparams.C (setPaperStuff): ... and moved there.
12261 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12265 * XFormsView.C: add support for drop-down completion
12267 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12269 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12272 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12274 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12277 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12279 * lyx_main.C: change ref to known bugs
12281 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12283 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12284 to work around older babel problems.
12286 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12288 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12290 2001-10-24 Juergen Vigna <jug@sad.it>
12292 * tabular-old.C (ReadOld): below variable changes reflected.
12294 * tabular.[Ch]: added ltType struct for longtable header/footer
12295 defines and changed all instances where they are used. Added
12296 future support for double top/bottom rows.
12298 2001-10-24 José Matos <jamatos@fep.up.pt>
12300 * buffer.h (docbookHandleCaption):
12301 * buffer.C (docbookHandleCaption): removed unused function.
12302 (makeDocBookFile): moved docbook supported version to v4.1.
12304 2001-10-24 José Matos <jamatos@fep.up.pt>
12307 * tabular.C (docbookRow): new function to export docbook code of a row.
12308 (DocBook): now honors the longtable flags.
12310 2001-10-23 José Matos <jamatos@fep.up.pt>
12313 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12314 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12316 * buffer.C (makeLinuxDocFile):
12317 (makeDocBookFile): reworked the preamble, more clean, and with
12318 support for lyx defined entities. Changed the document declaration
12319 to be more XML friendly.
12321 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12322 if we need to output XML that should be done with a filter.
12324 2001-10-22 Juergen Vigna <jug@sad.it>
12326 * sp_pspell.h (class PSpell): add alive function needed in the
12327 controller to see if the spellchecker could be started.
12329 2001-10-22 Juergen Vigna <jug@sad.it>
12331 * buffer.C (insertStringAsLines): modify the font for inserting
12332 chars in certain conditions by calling checkInsertChar(font).
12334 2001-10-19 Juergen Vigna <jug@sad.it>
12336 * text.C (workWidth): use getRow instead of wrong algorithm.
12337 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12339 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12344 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12346 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12348 * text.C (workWidth): do not search for the exact row when
12349 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12350 optimization for big documents.
12352 2001-10-18 Juergen Vigna <jug@sad.it>
12354 * text.C (workWidth): new function with added Inset * parameter.
12356 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12358 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12360 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12361 change return type of getColumnNearX.
12364 * text.C (changeRegionCase): use uppercase/lowercase instead of
12367 (rightMargin): simplify code by factoring out the uses of
12372 (appendParagraph): use Paragraph::size_type
12374 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12376 * vspace.C (asLatexString): add a missing break
12378 2001-10-15 Herbert Voss <voss@perce.de>
12380 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12382 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12384 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12387 2001-10-10 André Pönitz <poenitz@gmx.net>
12389 * lyxfunc.C: removed greek_kb_flag.
12391 2001-10-10 Herbert Voss <voss@perce.de>
12393 * lyx_main.C: delete global string help_lyxdir.
12395 2001-10-09 Herbert Voss <voss@perce.de>
12397 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12399 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12401 * lyx_main.C: added global string help_lyxdir.
12403 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12405 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12407 * lyxrc.C (set_font_norm_type): support iso8859-4
12409 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12411 * LaTeX.C (deplog): add another regex for MikTeX
12413 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12415 * lyxrc.C (set_font_norm_type): support iso8859-3
12417 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12419 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12421 * LaTeXFeatures.C: remove special case of french and index
12423 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12424 before \begin{document}). This solves several incompatibilities.
12426 2001-10-03 Garst Reese <reese@isn.net>
12428 * lyx_cb.C: change CheckTex error msg.
12430 2001-10-03 José Matos <jamatos@fep.up.pt>
12432 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12434 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12436 * .cvsignore: update
12438 * lyx_main.C (commandLineVersionInfo): use new style version info.
12440 * buffer.C (writeFile):
12442 (makeLinuxDocFile):
12443 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12445 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12447 * version.h: update to use stuff in version.C
12449 * version.C.in: new file. Contains version information determined
12450 at compile time. This is a merging of version.h and
12453 2001-10-03 Juergen Vigna <jug@sad.it>
12455 * BufferView_pimpl.C (update): don't change "dirty" status in
12458 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12460 * WorkArea.C (c-tor): re-position version string slightly.
12462 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12464 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12465 revert to previous code.
12467 WorkArea.[Ch]: (show, destroySplash): methods removed.
12469 WorkArea.C: rework code so that it's an amalgam of the codes before and
12470 after the splash screen was moved to WorkArea.
12472 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12475 * vspace.C (inPixels):
12478 * buffer.C (insertStringAsLines):
12479 (asciiParagraph): fix types to be large enough
12481 * lyxlex_pimpl.h: change member status from short to int
12483 * layout.h: fix type of endlabeltype
12486 * kbsequence.C (parse): change return type to string::size_type
12488 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12491 * Bullet.C (bulletSize):
12492 (bulletEntry): do not use short ints as parameters
12494 * BufferView2.C (insertLyXFile): change a char to an int.
12496 * WorkArea.C (WorkArea): remove unneeded floats in computation
12498 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12500 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12502 * paragraph.C (asString): Do not ignore newline/hfill chars when
12503 copying to the clipboard.
12505 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12507 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12508 after a multi-line inset.
12510 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12512 * paragraph.C (validate): Set NeedLyXFootnoteCode
12514 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12516 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12517 and decrease-error to decrease.
12519 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12521 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12522 it more readable (should be equivalent)
12524 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12526 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12528 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12530 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12531 of a cursor (row, etc.) after a character has been deleted
12532 (deleteEmptyParagraphMechanism): call the method above on _all_
12533 cursors held by the LyXText when a double space has been
12536 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12538 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12540 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12542 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12543 background. Use greyOut() and the new show() methods to toggle between
12544 the foreground and background. Add code to remove the splash after
12545 its initial showing.
12547 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12548 (create_forms): no longer call Dialogs::showSplash.
12550 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12552 * .cvsignore: add version_info.h
12554 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12556 * version_info.h.in: new file
12558 * Makefile.am: add version_info.h.in
12560 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12561 version_info.h instead of VERSION_INFO
12563 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12565 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12566 The ERT inset now returns string().
12568 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12570 * lyxtext.h, text.C (selectNextWord): renamed as
12571 selectNextWordToSpellcheck.
12573 * text.C (selectNextWordToSpellcheck): Modified to not select
12574 words inside an ERT inset.
12576 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12578 * lyx_cb.C (MenuLayoutSave): change a bit the question
12580 * sp_base.h: include <sys/types.h>
12582 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12584 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12586 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12588 * several files: fix typos in user-visible strings
12590 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12592 * text2.C (pasteSelection): do not set the selection, since it
12593 will be cleared later. Actually, the intent was to fix the way the
12594 selection was set, but I figured rmoving the code was just as good.
12596 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12598 * FontLoader.C (available): Check if font is available without
12601 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12603 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12605 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12607 * lyxrc.[Ch]: added display_graphics variable and associated code.
12609 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12611 * bufferparams.C (hasClassDefaults): new method. Returns true if
12612 the buffer parameters correspond to known class defaults
12614 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12616 * XFormsView.C (show): set minimum size to the main window.
12618 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12620 * text2.C (copySelection):
12622 * lyxfind.C (LyXReplace):
12623 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12624 LyXText::selectionAsString.
12626 * paragraph.C (asString): add "label" argument to the second form
12628 * text2.C (selectionAsString): add "label" argument and pass it to
12629 Paragraph::asString.
12631 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12633 * lyx_main.C (commandLineHelp): remove version information
12635 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12637 * lyx_main.C: add -version commandline option
12639 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12641 * paragraph.h: make the optional constructor arg required instead.
12642 some modifications to other files because of this.
12644 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12646 * lyxserver.C (C_LyXComm_callback): make it static
12648 * lyx_main.C (error_handler): make it static
12650 * lyx_gui.C (LyX_XErrHandler): make it static
12652 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12654 * WorkArea.C: make the extern "C" methods static.
12656 * Makefile.am (lyx_LDADD): simplify
12658 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12660 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12661 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12663 * LyXAction.C (init):
12664 * lyxfunc.C (dispatch): associated code removal.
12666 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12668 * lyxfont.h (isSymbolFont): shut off warning
12670 * text.C (setHeightOfRow):
12671 (getVisibleRow): fix crash with empty paragraphs which have a
12674 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12676 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12679 2001-09-04 José Matos <jamatos@fep.up.pt>
12682 * tabular.C (docbook): rename docBook method to docbook.
12684 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12686 * Makefile.am: add dependencies to main.o.
12688 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12690 * FontLoader.C (available): Return false if !lyxrc.use_gui
12692 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12694 * FontInfo.C (query):
12695 * converter.C (view):
12696 * importer.C (Import):
12697 * exporter.C (Export): Can not -> cannot.
12699 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12701 * BufferView_pimpl.C: allow to create index inset even if
12704 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12706 * buffer.C (getLists): replace boost::tie code with an explicit pair
12707 as boost::tie can break some compilers.
12709 * iterators.h: Added a std:: declaration to the return type of
12712 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12714 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12717 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12719 * iterators.[Ch]: New files. Provide paragraph iterators.
12721 * buffer.C (changeLanguage): Use paragraph iterators.
12722 (isMultiLingual): ditto
12724 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12726 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12728 * FontLoader.C: Support for cmr font.
12730 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12732 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12733 (available): New method.
12735 * FontInfo.C (getFontname): Use scalable fonts even when
12736 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12739 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12741 * converter.C (Formats::view): reverted! Incorrect fix.
12743 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12745 * converter.C (Formats::view): only output the -paper option
12746 if the dvi viewer is xdvi, thereby fixing bug #233429.
12748 2001-08-23 Herbert Voss <voss@perce>
12750 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12752 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12754 * Spacing.h (Spacing): Set space to Default on in the default
12757 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12759 * vc-backend.h (RCS::versionString): add RCS to version
12760 (CVS::versionString): add CVS to version
12762 * vc-backend.C (scanMaster): do not add CVS to version.
12763 (scanMaster): do not add RCS to version
12765 * lyxvc.C (versionString): new method
12767 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12769 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12771 * Spacing.C (set): initialize fval
12773 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12775 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12778 2001-08-16 Juergen Vigna <jug@sad.it>
12780 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12782 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12784 * BufferView_pimpl.C:
12787 * text2.C: setParagraph takes linespacing now
12789 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12791 * LyxAction.C: add internal LFUN_CITATION_INSERT
12793 * LyXView.C: actually apply fix
12795 * bufferlist.C: fix open non-existent file
12797 * lyxfind.C: fix indentation
12799 * lyxfunc.C: remove unneeded assert, fix typo
12801 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12803 * MenuBackend.C: use "Floatname List"
12805 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12807 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12808 when converting LaTeX layout to insetERT.
12809 Generate a non-collapsed float when reading old float
12811 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12813 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12816 2001-08-13 Juergen Vigna <jug@sad.it>
12818 * text.C (fill): return 0 instead of 20 as this seems to be the more
12821 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12823 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12826 2001-08-13 Juergen Vigna <jug@sad.it>
12828 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12830 (SearchBackward): comment out the unlocking of the inset_owner this
12831 should not be needed!
12833 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12835 * Many files: Remove inherit_language, and add latex_language
12837 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12838 collapsible insets.
12840 2001-08-10 Juergen Vigna <jug@sad.it>
12842 * text.C (prepareToPrint): fixed hfill-width in draw!
12844 * BufferView2.C (selectLastWord): save the selection cursor as this
12845 now is cleared in the function LyXText::clearSelection!
12847 2001-08-08 Juergen Vigna <jug@sad.it>
12849 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12850 BACKSPACE type functions.
12852 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12853 is only cutted from the document but not put in the cut-buffer, where
12854 still the old stuff should be.
12856 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12858 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12860 * tabular.C (SetWidthOfCell): fixed special case where the width
12862 (LeftLine): handle '|' in align_special.
12864 (LeftAlreadyDrawed): ditto
12865 (SetWidthOfCell): ditto
12867 2001-08-07 Juergen Vigna <jug@sad.it>
12869 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12871 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12873 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12874 * lyxlex.[hC]: ditto
12876 2001-08-06 Juergen Vigna <jug@sad.it>
12878 * text.C (getVisibleRow): fix up row clearing a bit.
12880 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12882 * minibuffer.C: make sure the X server sees the changes in the input.
12884 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12886 * paragraph.C (getFont): split into...
12887 (getLabelFont): this
12888 (getLayoutFont): and this
12889 * paragraph_pimpl.C (realizeFont): calling this
12891 * text2.C (getFont): split into...
12892 (getLayoutFont): this
12893 (getLabelFont): and this
12894 (realizeFont): all three calling this
12896 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12899 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12901 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12903 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12905 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12906 layouts from the Quote inset insertion.
12908 2001-08-03 Juergen Vigna <jug@sad.it>
12910 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12912 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12913 only if status not is already CHANGED_IN_DRAW (second level).
12915 * text.C (draw): don't set the need_break_row when inside an
12918 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12920 * buffer.C (parseSingleLyXformat2Token): handle more latex
12923 * bufferview_funcs.[hC]: change function names to
12924 begin with small char, adjust other files.
12926 2001-08-02 André Pönitz <poenitz@gmx.net>
12929 BufferView_pimpl.C: remove broken special code for math-greek
12931 2001-08-02 Juergen Vigna <jug@sad.it>
12933 * BufferView_pimpl.C (update): redone this function so that we
12934 update the text again if there was a CHANGE_IN_DRAW.
12936 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12937 (drawFromTo): added a new internal bool which is used by draw() and
12939 (general): some cursor drawing problems fixed.
12941 2001-08-01 Juergen Vigna <jug@sad.it>
12943 * lyxfind.C (LyXFind): fixed
12944 (SearchForward): ditto
12945 (SearchBackward): ditto
12947 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12948 spurius drawing of the cursor in the main area.
12950 * text2.C (status): small fix which could lead to a segfault!
12951 (clearSelection): remove unneeded BufferView param.
12953 2001-08-01 André Pönitz <poenitz@gmx.net>
12955 * lyxfunc.C: small change due to changed mathed interface
12957 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12959 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12961 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12963 * lyxfunc.c: fail gracefully if file doesn't exist
12968 * BufferView_pimpl.C: IsDirWriteable() proto changed
12970 * LyXView.C: fix updateWindowTitle() to store the last title
12972 2001-07-31 Juergen Vigna <jug@sad.it>
12974 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12975 the font (wrong since using of Paragraph::highestFontInRange).
12977 * paragraph.C (highestFontInRange): added a default_size parameter.
12979 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12980 (setHeightOfRow): reformat
12982 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12984 * converter.[hC] + affected files: move to (inital-char)lowercase
12987 * ParagraphParameters.C (ParagraphParameters): remove commented code
12989 * PainterBase.[Ch]: remove commented code
12991 * LaTeXFeatures.h: add "bool floats" for float.sty
12993 * LaTeXFeatures.C (LaTeXFeatures): init floats
12994 (require): handle float
12995 (getPackages): do it with floats
12997 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12999 * BufferView_pimpl.C (Dispatch): improve handling of
13000 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13002 * commandtags.h: #include lyxfont.h here temporarily to avoid
13005 * bufferlist.h: include LString.h here.
13007 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13009 * text2.C (getStringToIndex): new method.
13011 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13013 * *: Reduced header file dependencies all over.
13015 2001-07-30 Baruch Even <baruch@lyx.org>
13017 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13019 2001-07-29 Baruch Even <baruch@lyx.org>
13021 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13023 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13025 * ParameterStruct.h (endif): add a default constructor to make
13026 sure that all variables is initialized.
13028 * ParagraphParameters.C (ParagraphParameters): adjust
13030 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13032 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13033 index; also, check that there is something to index, and that it
13034 does not span over several paragraphs.
13035 (doubleClick): use WHOLE_WORD_STRICT for double click.
13037 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13039 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13042 2001-07-26 Baruch Even <baruch@lyx.org>
13044 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13045 an InsetFig figure, backwards compatible reading of old figure code.
13047 2001-07-27 Juergen Vigna <jug@sad.it>
13049 * text2.C: font.realize function adaption.
13051 * text.C (draw): add a warnings lyxerr text if needed.
13053 * layout.C: font.realize function adaption.
13055 * language.C: add inherit_language and implement it's handlings
13057 * bufferview_funcs.C (StyleReset): remove language parameter from
13058 font creation (should be language_inherit now).
13060 * bufferparams.C (writeFile): handle ignore_language.
13062 * paragraph.C (getFontSettings): the language has to be resolved
13063 otherwise we have problems in LyXFont!
13065 * lyxfont.C (lyxWriteChanges): added document_language parameter
13066 (update): removed unneeded language parameter
13068 * paragraph.C (validate): fixed wrong output of color-package when
13069 using interface colors for certain fonts in certain environments,
13070 which should not seen as that on the final output.
13072 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13074 * BufferView_pimpl.C:
13079 * LyXAction.C: add thesaurus support
13082 * lyxfind.C: add "once" parameter, for thesaurus, to not
13083 move to the next match
13085 2001-07-26 Juergen Vigna <jug@sad.it>
13087 * lyxfont.C (realize): honor ignore_language too!
13090 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13092 * text.C (draw): one place more for ignore_language to not draw
13095 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13097 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13099 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13101 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13102 the minipage conversion problem.
13104 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13106 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13109 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13111 * BufferView.h: don't forward declare WorkArea
13113 * BufferView.C: don't include WorkArea.h
13115 2001-07-25 André Pönitz <poenitz@gmx.net>
13119 * lyxfunc.C: new LFUN 'math-space'
13121 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13123 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13125 * text2.C (toggleInset): call open/close
13127 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13129 * lyxfunc.C (dispatch): add debug for the disabled case
13131 * font.C (buttonText): make similar to rectText
13133 * buffer.C (readInset): comment out parsing of insetlist and
13136 * PainterBase.C (rectText): small correction
13138 * BufferView_pimpl.C: comment out insettheorem and insetlist
13139 * LyXAction.C: ditto
13140 * commandtags.h: ditto
13142 2001-07-24 Juergen Vigna <jug@sad.it>
13144 * text.C (draw): honor the ignore_language.
13146 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13148 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13150 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13153 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13155 * lyxtext.h: remove unused (and unimplemented) methods
13157 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13159 * text.C (getVisibleRow): honor background color
13162 * Painter.h: remove default color argument for fillRectangle
13164 * text.C (backgroundColor): new method
13166 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13168 * text.C (getVisibleRow): adjust
13170 * font.[Ch] (rectText): new method, metrics
13171 (buttonText): new method, metrics
13173 * PainterBase.[hC]: make rectText and buttonText always draw and take
13176 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13178 * ToolbarDefaults.C (read):
13179 * MenuBackend.C (read): allow escaping in all strings
13181 * BufferView_pimpl.C (insertAndEditInset): new method.
13182 (Dispatch): use insertAndEditInset whenever appropriate.
13184 * BufferView_pimpl.C (insertNote): removed
13186 * BufferView_pimpl.C (smartQuote): new method, moved from
13187 BufferView; if an insetquote cannot be inserted, insert a '"'
13190 * BufferView2.C: remove insertCorrectQuote();
13192 * lyxfunc.C (getStatus): Add support for all remaingin
13193 inset-insert lfuns.
13195 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13197 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13198 command (necessary to pass " as parameter of self-insert.
13200 * text.C (selectWordWhenUnderCursor):
13201 (selectWord): add word_location parameter
13202 (selectWordWhenUnderCursor): same + remove special code for word
13204 (selectNextWord): use kind() to guess type of insetspecialchar,
13207 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13208 (insertErtContents): create ert insets as collapsed.
13209 (readInset): better compatibility code for Info inset.
13211 2001-07-20 Juergen Vigna <jug@sad.it>
13213 * lyxfunc.C (dispatch): use always LyXFind now!
13215 * text2.C (init): add a reinit flag so that the LyXText can be
13216 reinited instead of deleted and reallocated (used in InsetText).
13218 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13224 2001-07-18 Juergen Vigna <jug@sad.it>
13226 * text.C (selectNextWord): handle insets inside inset by calling
13227 always the bv->text functions so that we can go up the_locking_inset!
13229 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13230 in strange locations when inside an inset!
13232 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13233 handling to include insets.
13235 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13237 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13239 * LyXAction.C (init):
13241 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13242 LIGATURE_BREAK, since the name is so stupid.
13244 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13246 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13249 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13251 * sp_form.[Ch]: remove.
13253 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13255 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13258 * src/buffer.C (readInset): ditto.
13260 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13262 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13263 menuSeparator(), endOfSentenceDot(), ldots() and
13264 hyphenationPoint(), which are therefore removed.
13265 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13267 * LyXAction.C (init):
13268 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13270 * paragraph.C (getWord): removed.
13272 * BufferView_pimpl.C (Dispatch): use last word or selection for
13273 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13275 * lyx_main.C (queryUserLyXDir): do not ask before creating
13276 user_dir, except if it has been named explicitely.
13278 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13280 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13281 a document of zero size.
13283 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13285 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13286 approriately in the c-tor and in require().
13287 (getPackages): output the appropriate LaTeX for natbib support.
13289 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13290 variables "use_natbib" and "use_numerical_citations" when reading the
13292 (readInset): read the various natbib cite commands.
13293 (validate): white-space change.
13295 * bufferparams.[Ch]: new variables "bool use_natbib" and
13296 "bool use_numerical_citations".
13297 (writeFile): output them in the LyX file.
13299 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13301 * lyxfunc.C (getStatus): add support for all the inset insertion
13304 * text2.C (insertInset):
13305 * paragraph.C (insetAllowed):
13306 * BufferView_pimpl.C (insertInset): update to take in account the
13307 renaming of insertInsetAllowed
13309 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13311 * text2.C (getInset): new method. returns inset at cursor position.
13313 * BufferView_pimpl.C (Dispatch): changes because of this.
13315 * LyXAction.C (init): rename open-stuff to inset-toggle.
13317 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13319 * text2.C (toggleInset): renamed from openStuff; use
13322 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13324 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13326 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13328 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13330 * buffer.C (readLyXformat2): Add filename to the error dialog
13332 2001-07-18 Juergen Vigna <jug@sad.it>
13334 * tabular.C (GetCellNumber): put an assert here instead of the check!
13336 2001-07-17 Juergen Vigna <jug@sad.it>
13338 * BufferView_pimpl.C (toggleSelection): adapted too.
13340 * text.C (selectNextWord): adapted for use with insets.
13341 (selectSelectedWord): ditto
13343 2001-07-17 Juergen Vigna <jug@sad.it>
13345 * sp_spell.C (PSpell): fix initialitation order.
13347 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13349 * paragraph.C: spacing
13351 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13353 * sp_spell.C: repair language selection for pspell
13355 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13357 * lyxfunc.h: change more methods to begin with lower char.
13359 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13361 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13362 for unknown layouts.
13364 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13366 * buffer.C (readLyXformat2): Generate an error dialog if there are
13369 2001-07-16 Juergen Vigna <jug@sad.it>
13371 * sp_spell.C: always compile ISpell part.
13373 * lyxrc.C: added use_pspell entry and it's handling.
13375 2001-07-13 Juergen Vigna <jug@sad.it>
13377 * sp_spell.C: removed double includes.
13379 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13381 Consistent use of Lsstream.h:
13382 * Lsstream.h: added using std::stringstream for consistencies sake.
13384 * buffer.C: removed using std::stringstream
13386 * lyxfont.C (stateText):
13387 * paragraph.C (asString):
13388 * text.C (selectNextWord, selectSelectedWord):
13389 * text2.C (setCounter):
13390 * vspace.C (asString, asLatexString):
13391 std::ostringstream -> ostringstream.
13393 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13395 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13396 * commandtags.h: add LFUN_HELP_ABOUTLYX
13397 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13399 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13401 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13403 * lyx_gui_misc.C: remove spellchecker
13404 * lyxfunc.C: showSpellchecker
13406 * sp_ispell.h: added
13407 * sp_pspell.h: added
13408 * sp_spell.C: added
13409 * sp_form.[Ch]: removed
13410 * spellchecker.[Ch]: removed
13412 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13414 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13416 (simpleTeXSpecialChars): Simply print the input character without
13417 any special translation if pass_thru is set.
13419 * layout.h: Added bool pass_thru to layout class for being able to
13420 implement pass through of a paragraph for Literate Programming.
13422 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13423 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13424 * layout.C (Read): add "passthru" to list of layout tags and add
13425 code to set the pass_thru boolean when it is read.
13427 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13429 * trans_decl.h: remove allowed from KmodInfo
13431 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13432 remove allowed code
13435 * paragraph_pimpl.C (erase): use boost::prior
13437 * Painter.C (text): use data() instead of c_str() when length is
13439 * WorkArea.C (putClipboard): ditto
13440 * font.h (width): ditto
13442 * BufferView2.C: use it-> instead of (*it). for iterators
13444 * paragraph_pimpl.C: ditto
13445 * paragraph.C: ditto
13446 * minibuffer.C: ditto
13447 * language.C: ditto
13449 * encoding.C: ditto
13450 * counters.C: ditto
13451 * converter.C: ditto
13453 * Variables.C: ditto
13454 * TextCache.C: ditto
13455 * MenuBackend.C: ditto
13456 * LyXAction.C: ditto
13458 * FloatList.C: ditto
13459 * DepTable.C: ditto
13460 * ColorHandler.C (LyXColorHandler): ditto
13462 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13464 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13466 * text2.C (openStuff): reintroduce this method (which had been
13467 nuked in NEW_INSETS frenzy).
13469 * lyxfunc.C (Dispatch): when an action has not been handled, use
13470 its name in the error message, not its number.
13472 * paragraph.C (inInset): change method name to begin with lowercase.
13475 * text2.C: updates because of this.
13477 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13479 * ToolbarDefaults.C (add): add spaces in error message
13481 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13483 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13484 (readLyXformat2): rename return_par to first_par, use lyxlex's
13485 pushToken and remove the manual push handling.
13486 (parseSingleLyXformat2Token): add another ert comp. variable:
13487 in_tabular, rename return_par to first_par. handle newlines better
13489 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13491 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13493 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13495 * text2.C (getParFromID): removed
13497 * buffer.C (getParFromID): new method moved form lyxtext.
13498 * BufferView2.C (insertErrors): adjust
13499 (setCursorFromRow): adjust
13500 * BufferView_pimpl.C (restorePosition): adjust
13501 * lyxfunc.C (Dispatch): adjust
13502 * undo_funcs.C (textUndo): adjust
13504 (textHandleUndo): adjust
13505 (textHandleUndo): adjust
13507 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13509 * buffer.C: up' the LYX_FORMAT
13511 * lyxfont.h: turn NO_LATEX on as default
13513 * buffer.C (insertErtContents): new methods of tex style compability.
13514 (parseSingleLyXformat2Token): use it several places.
13515 * tabular.C (OldFormatRead): and here
13517 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13519 * text2.C: remove some commented code.
13522 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13523 * trans.C: changes because of the above.
13525 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13527 * text2.C (setCounter): Fix counters bug with bibliography layout.
13529 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13531 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13532 own member functions
13533 (simpleTeXSpecialChars): ditto
13535 2001-07-06 Juergen Vigna <jug@sad.it>
13537 * a lot of files: changed the access to LyXText::status and the
13538 call of undo-functions.
13540 * undo.[Ch]: added a inset_id to the undo informations.
13542 * undo_funcs.[Ch]: added and moved here all undo functions.
13544 * lyxtext.h: give the status enum a weight, made status_ a private
13545 variable and made accessor functions for it, removed the whole bunch
13546 of undo-functions as they are now in their own file, make some
13547 functions publically available. Added function ownerParagraph with
13550 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13551 made InInset() a const function, added getParFromID() function.
13553 * buffer.[Ch]: added const version for inset_iterator functions,
13554 added getInsetFromID() function.
13556 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13557 changed undo functions for new version.
13559 2001-07-05 Juergen Vigna <jug@sad.it>
13561 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13562 unknow mechanism does not call the proper constructor but only this
13563 one also if I request the other!?
13565 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13567 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13569 * text2.C (LyXText): use initialization lists.
13571 * lyxtext.h (Selection): initialize set_ and mark_
13572 (init): remove method
13574 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13576 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13578 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13580 * screen.[Ch]: change method names to begin with lowercase
13582 * BufferView_pimpl.C (updateScrollbar): simplify further and
13583 hopefully make it a bit faster.
13585 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13587 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13588 calling directly xforms functions.
13590 * Painter.C (Painter):
13591 * lyx_cb.C (MenuWrite):
13592 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13595 * lyx_gui.C: remove bogus guiruntime extern declaration.
13597 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13599 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13601 (redoDrawingOfParagraph): ditto
13602 (redoParagraphs): ditto
13603 (cutSelection): don't create a object for CutAndPaste use the
13604 static method directly
13605 (pasteSelection): ditto
13607 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13610 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13612 * modifications to some other files because of this.
13614 * Makefile.am (lyx_SOURCES): add XFormsView
13616 * XFormsView.[Ch]: new files
13618 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13619 the main window. Move the gui dependent stuff to XFormsView
13621 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13623 * tabular.C (GetCellInset): update cur_cell also in the row/col
13624 version of this function.
13626 * lyxfunc.C: no need to include figure_form.h here.
13632 * lyxvc.C: no need to include forms.h here.
13634 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13636 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13638 * lyxfunc.C (Dispatch):
13640 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13641 constructor argument.
13643 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13645 * paragraph.C (Paragraph): dont't clear, and just set layout.
13646 (makeSameLayout): use params's copy contructor.
13648 * ParagraphParameters.[Ch] (makeSame): delete method
13650 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13652 * Variables.[Ch]: fix indentation, rename set to isSet
13654 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13656 * lyxfunc.C (Dispatch): fix typo
13658 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13660 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13663 * bufferlist.C: include assert.h for emergencyWrite().
13665 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13667 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13668 give up at last (bug #425202) !
13670 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13676 * spellchecker.C: strip spellchecker options and bring up
13677 preferences tab instead
13679 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13681 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13682 the istringstream constructor
13684 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13686 * paragraph.C (getLayout): fix return value
13688 * paragraph.h: do not declare getLayout as inline.
13690 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13692 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13694 * lyxcursor.h (operator<): new func
13695 (operator>): new func
13696 (operator>=): new func
13697 (operator<=): new func
13699 * text.C (changeCase): use selection.start and selection.end
13700 (changeRegionCase): require from to be <= to. Require par to be a
13703 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13705 2001-06-27 Juergen Vigna <jug@sad.it>
13707 * text.C (cursorLeftOneWord): changed to return the cursor and added
13708 overlay with BufferView * parameter which calls this one.
13710 (selectWord): use new getWord function.
13711 (changeCase): renamed from changeWordCase as and extended to work
13712 also on selections.
13714 * lyxtext.h: added enum word_location
13716 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13717 changeCase as this operates now also on selections.
13719 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13721 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13723 * many files: send debug output to Debug::INFO instead of
13726 * converter.C (View):
13728 (Move): send debug output to Debug::FILES instead of console.
13730 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13732 * lyxfunc.C (getStatus): use func_status
13734 * func_status.h: new header, describing the results of
13735 LyXFunc::getStatus;
13737 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13740 2001-06-25 The LyX Project <jug@sad.it>
13742 * buffer.C (sgmlOpenTag):
13744 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13746 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13748 * text2.C: remove some dead code
13750 * tabular.C (GetCellInset): store the last cell checked (gotten)
13752 * tabular.h: add the helper for the speedup
13754 * lyxtext.h: remove some dead code
13756 2001-06-26 The LyX Project <Asger>
13758 * paragraph.C: Change export to LaTeX of alignment to
13759 \begin{center} and family for better roundtrip work with reLyX.
13761 * Tune the math drawing a bit.
13763 2001-06-25 The LyX Project <Asger>
13765 * LColor.C (LColor): New color for math background. New color
13768 2001-06-25 The LyX Project <jug@sad.it>
13770 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13772 * lyxfunc.C (Open):
13773 * bufferlist.C (newFile): do not restrict to files ending with
13776 * BufferView_pimpl.C (MenuInsertLyXFile):
13778 2001-06-24 The LyX Project <jug@sad.it>
13780 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13783 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13785 * lyxtext.h: rename most methods to begin with a small char.
13786 Lots of changes because of this.
13788 * paragraph.C (Paragraph): do not call fitToSize
13789 (erase): call Pimpl::erase
13790 (insertChar): call Pimpl::insertChar
13791 (insertInset): call Pipl::insertInset
13792 (breakParagraph): do not call fitToSize
13793 (breakParagraphConservative): do not call fitToSize
13794 (fitToSize): remove method
13796 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13798 2001-06-24 The LyX Project <Asger>
13800 * Fix Qt compilation^2
13802 2001-06-24 The LyX Project <jug@sad.it>
13804 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13805 depthHook(getDepth()-1).
13808 * ParagraphParameters.h:
13809 * ParameterStruct.h: change type of depth to unsigned int ==
13810 depth_type. Many adaptations to other files before of that.
13812 2001-06-24 The LyX Project <Asger>
13814 * Fix Qt compilation.
13816 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13818 * paragraph.h: renamed several methods to begin with small letter.
13819 several changes to many parts of the code because of this.
13821 2001-06-23 The LyX Project <jug@sad.it>
13823 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13824 rewritten to discard all double spaces when KeepEmpty is off
13825 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13826 to only handle newlines but not fiddle with spaces and friends.
13828 * lyxfunc.C (MenuNew): when doing 'new from template', use
13829 template_path as default directory
13831 2001-06-23 The LyX Project <Asger>
13833 * Clean-up of header file includes all over
13834 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13836 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13838 * paragraph.h: renamed from lyxparagraph.h
13840 2001-06-23 Asger <lyx@violet.home.sad.it>
13842 * Buffer.h: Removed Buffer::resize
13843 * BufferList.h: Removed BufferList::resize
13844 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13845 the document lazily when we change the width, or the font settings.
13847 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13849 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13851 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13853 * buffer.h: remove out of date comment
13855 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13858 * screen.C: fix "theoretical" GC leak
13860 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13862 * LaTeX.C (scanAuxFile):
13863 (deplog): remove trailing \r when reading stream (useful under
13866 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13868 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13869 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13870 and BufferView::theLockingInset(Inset*), so should use them and not
13871 access bv_->text->the_locking_inset directly.
13873 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13875 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13878 * tex-defs.h: remove old unused file
13880 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13882 * BufferView_pimpl.C: fix typo, remove minibuffer message
13883 when buffer has loaded
13885 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13887 * lyxfunc.C (Dispatch): use stringstream
13888 (MenuNew): use stringstream
13889 (Open): use stringstream
13891 * importer.C (Import): use stringstream
13893 * bufferview_funcs.C (CurrentState): use stringstream
13895 * LaTeX.C (run): use stringstream
13897 * BufferView_pimpl.C (savePosition): use stringstream
13898 (restorePosition): use stringstream
13899 (MenuInsertLyXFile): use stringstream
13901 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13914 * vspace.C: removed // -*- C++ -*- as first line.
13917 * version.h: added // -*- C++ -*- as first line.
13919 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13921 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13923 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13926 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13928 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13931 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13933 * gettext.C: include LString.h even when --disable-nls is on.
13935 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13937 * converter.h (Get): changed argument type from int to
13938 FormatList::size_type to avoid unnecessary conversion.
13940 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13943 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13945 * gettext.h: include LString.h even when --disable-nls is on.
13947 2001-06-07 Juergen Vigna <jug@sad.it>
13949 * text.C (BreakAgain): subst spaces with tabs.
13951 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13952 (resizeInsetsLyXText): set force on resizeLyXText.
13954 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13956 * gettext.h (gettext_init):
13957 (locale_init): use a real definition instead of a macro
13959 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13961 * Bufferview_pimpl.C:
13963 * LColor.C: further lcolor tidies
13965 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13967 * BufferView_pimpl.C (updateScrollbar): simplify.
13969 * BufferView2.C: don't include insets/insetinfo.h, change
13970 prototype for insertInset and call the Pimpl version. let
13971 updateInset call Pimpl version.
13973 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13974 gotoInset to BufferView::Pimpl
13976 2001-06-01 Juergen Vigna <jug@sad.it>
13978 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13979 inside a LockingInset (is the update needed at all?).
13981 2001-05-31 Juergen Vigna <jug@sad.it>
13983 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13984 here not the old one otherwise how should we compare it afterwards
13987 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13992 * FontInfo.C: bring C functions into global namespace when
13995 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13997 * LString.h: make sure config.h has been loaded before LString.h.
13999 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14000 (one for each char read by EatLine!).
14002 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14005 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14007 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14008 to the same as the par we break from
14010 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14012 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14014 * MenuBackend.C (expand): also create menu entries for wide
14015 versions of the floats.
14017 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14019 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14021 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14022 frontends/Makefile.am
14028 * tabular.C (getTokenValue): add std::
14030 * tabular-old.C (getTokenValue): add std::
14031 (getTokenValue): ditto
14032 (getTokenValue): ditto
14034 * screen.C (ToggleSelection): adjust
14036 * lyxtext.h: put selection cursors inside a Selection struct.
14038 * lyxfunc.C (moveCursorUpdate): adjust
14040 * lyxfont.C (latexWriteStartChanges): add std::
14042 * lyxfind.C: adjust
14044 * font.h: delete with(char const *, LyXFont const &)
14046 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14048 * FontInfo.C (getFontname): add std::
14050 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14051 (workAreaButtonPress): adjust
14052 (tripleClick): adjust
14054 (moveCursorUpdate): adjust
14057 * BufferView2.C (gotoInset): adjust
14059 2001-05-30 Juergen Vigna <jug@sad.it>
14061 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14062 to check pspell I add this as default as I now have new pspell
14063 libraries and they seem to use this.
14065 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14067 * text2.C (CutSelection): make the cursor valid before the call to
14070 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14072 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14073 relied on 0 terminated strings and other horrors. Bug found due to
14074 the new assert in lyxstring!
14076 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14079 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14081 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14084 * lyxfunc.C (processKeySym): change method of getting to the
14087 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14088 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14089 * BufferView_pimpl.[Ch]: here as private methods.
14091 2001-05-28 Juergen Vigna <jug@sad.it>
14093 * text.C (SetHeightOfRow): added the update() call again as it is
14094 needed to initialize inset dimensions!
14096 2001-05-16 Juergen Vigna <jug@sad.it>
14098 * text2.C (SetCharFont): Add new function with BufferView * and
14099 bool toggleall parameters for setting insets internal fonts.
14100 (SetFont): Freeze the undo as we may change fonts in Insets and
14101 all this change should be inside only one Undo!
14103 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14104 setting font's in insets as for them we have the SetFont function!
14106 2001-05-15 Juergen Vigna <jug@sad.it>
14108 * text2.C (ClearSelection): to be sure we REALLY don't have any
14111 * tabular.C (TeXCellPreamble): fixed the left border problem for
14114 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14116 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14119 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14121 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14122 LFUN_BREAKPARAGRAPH.
14124 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14125 help test to "internal only", similar for LFUN_INSERT_URL
14127 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14128 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14129 auto_region_delete and deadkeys.
14131 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14134 * LColor.C: remove some dead entries, tidy a little
14136 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14138 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14140 (Dispatch): implement LFUN_ESCAPE
14142 * commandtags.h: add LFUN_ESCAPE
14144 * LyXAction.C (init): add entry for LFUN_ESCAPE
14146 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14147 Remove commented code.
14148 (insertNote): moved here
14149 (open_new_inset): moved here
14151 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14154 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14156 * kbmap.C (findbinding): clean it up and make it work correctly.
14158 * lyx_main.C (init): do not pass argc and argv as parameters
14160 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14162 * buffer.C: fix path for OS/2 & Win32
14166 * lyx_main.C: Added os:: class.
14168 * os2_defines.h: update
14170 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14172 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14173 better by trying again with reduced state.
14175 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14177 * lyxrc.C (read): print error about invalid key sequence only when
14178 debugging (because not all latinX keysyms are known to some X
14181 * kbsequence.C (getiso): add a few std:: qualifiers
14182 (getiso): comment out extra return statement.
14184 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14186 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14188 (Dispatch): enhance the accent inset a bit. (not perfect)
14190 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14192 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14194 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14196 * bufferlist.C (emergencyWrite): fix assert() call
14198 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14200 * text.C (InsertChar): Added trivial patch to only send the "you
14201 can not do multiple spaces this way" message once during a
14204 2001-05-08 Baruch Even <baruch@lyx.org>
14206 * Makefile.am: Changed order of libraries to get LyX to link properly
14207 with the gnome frontend.
14209 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14211 * LaTeXFeatures.h: add a std:: qualifier
14213 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14215 * paragraph.C (String): use stringstream
14217 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14219 * paragraph.C (writeFile): remove footflag arg
14221 * buffer.C (makeLaTeXFile): use stringstream
14222 (latexParagraphs): remove footnot gurba
14224 * LaTeXFeatures.C (getPackages): use stringstream
14225 (getMacros): likewise
14226 (getTClassPreamble): likewise
14227 (getFloatDefinitions): new method
14229 * paragraph.C (writeFile): reindent
14232 * WorkArea.h: revert the xpos + etc changes.
14234 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14236 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14238 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14239 (pasteSelection): likewise
14240 * text2.C (CreateUndo): likewise
14242 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14244 * minibuffer.C (peek_event): temporarily reduce the functionality
14245 of the minibuffer (to allow args on lfuns)
14247 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14248 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14250 * buffer.C (readInset): add compability reading of old float
14251 lists, add reading of new style float list.
14252 (readInset): avoid reevaluation of inscmd.getCmdName()
14253 (getLists): reindent
14255 * MenuBackend.C (MenuItem): implement parsing of
14256 md_floatlistinsert and md_floatinsert.
14257 (expand::LastFiles): move initalizaton of iterators out of loop,
14258 avoid reevaluation.
14259 (expand::Documents): introduce typdedef vector<string> Strings,
14261 (expand::ExportFormats): introduce typedef vector<Format const *>
14262 Formats, and use it.
14263 (expand): implement FloatListInsert and FloatInsert.
14265 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14266 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14267 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14269 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14271 (Dispatch::LFUN_FLOAT_LIST): implement
14273 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14275 * LaTeX.C (run): Fix problem with --export code.
14277 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14279 * BufferView.[Ch] (workarea): removed.
14280 (getClipboard) new method; wrapper for workarea()->getClipboard()
14282 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14285 * WorkArea.h (width, height, xpos, ypos): These methods all
14286 returned the dimensions of the work_area sub-area of WorkArea,
14287 resulting in a position error if the WorkArea were resized. Now
14288 return the dimensions of the entire WorkArea.
14290 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14292 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14294 * LaTeX.C (deplog): correct the syntax of regex reg1
14296 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14298 * undo.C: remove !NEW_INSETS cruft
14300 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14302 * text2.C: remove !NEW_INSETS cruft
14304 * text.C: remove !NEW_INSETS cruft
14306 * tabular.C: remove !NEW_INSETS cruft
14308 * spellchecker.C: remove !NEW_INSETS cruft
14310 * lyxtext.h: remove !NEW_INSETS cruft
14312 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14314 * lyxfunc.C: remove !NEW_INSETS cruft
14316 * lyxfind.C: remove !NEW_INSETS cruft
14318 * lyx_cb.C: remove !NEW_INSETS cruft
14320 * figureForm.C: remove !NEW_INSETS cruft
14322 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14324 * buffer.[Ch]: remove !NEW_INSETS cruft
14326 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14328 * CutAndPaste.C: remove !NEW_INSETS cruft
14330 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14332 * BufferView2.C: remove !NEW_INSETS cruft
14334 * BufferView.h: remove !NEW_INSETS cruft
14336 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14338 * Lsstream.h: include LString.h before the sstream headers to
14339 fix problem with gcc 2.95.3 and lyxstring
14341 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14343 * lyx_main.C: add using directives when needed for C functions
14344 declared in std:: namespace.
14346 2001-04-27 Juergen Vigna <jug@sad.it>
14348 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14349 (SetHeightOfRow): comment out the update call should not be needed!
14351 2001-04-13 Juergen Vigna <jug@sad.it>
14353 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14354 (LyXTabular): tried to minimize operator= operations (and realized
14355 hopfully Lars wish).
14357 2001-04-27 Juergen Vigna <jug@sad.it>
14359 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14361 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14363 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14365 * buffer.C (readInset): hack to make listof algorithm work
14367 * BufferView_pimpl.C: hack to make listof algorithm work
14369 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14371 * LyXAction.C: removed all !NEW_INSETS cruft
14372 (init): moved lfun_item in method
14374 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14376 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14378 * BufferView2.C (theLockingInset): white space.
14380 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14382 * minibuffer.C: include <iostream>
14384 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14386 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14388 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14390 * text.[Ch] (TransposeChars): new method
14392 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14394 * call message directly through LyXView instead of through LyXFunc
14395 * BufferView2.C: adjust
14396 * BufferView_pimpl.C: adjust
14397 * FontLoader.C: adjust
14399 * bufferview_funcs.C: adjust
14400 * converter.C: adjust
14401 * figureForm.C: adjust
14402 * importer.C: adjust
14404 * lyx_gui_misc.C: adjust
14405 * lyxfunc.C: adjust
14408 + more files in subdirs
14410 * lyxparagraph.h (size): move up int file
14413 * adjust all uses of Assert to lyx::Assert.
14415 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14416 lyxfunctional in namespace lyx
14417 * layout.C (hasLayout): ditto
14420 (delete_layout): ditto
14421 (NumberOfClass): ditto
14422 * converter.C (GetFormat): ditto
14427 * bufferlist.C (getFileNames): ditto
14428 (emergencyWriteAll): ditto
14431 * MenuBackend.C (hasSubmenu): ditto
14434 * BufferView_pimpl.C (getInsetByCode): ditto
14436 2001-04-18 Juergen Vigna <jug@sad.it>
14438 * vspace.C (asLatexString): fixed the 100% problem.
14440 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14442 * lyxfunc.C (Dispatch):
14444 * minibuffer.h: add a few std:: qualifiers
14446 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14448 * minibuffer.[Ch]: reimplement so that commands is initiated and
14449 run from lyxfunc, simplified som handling, and made the completion
14450 and history code for complete. wip.
14452 * lyxfunc.C (processKeySym): call message
14453 (miniDispatch): new temporary method
14454 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14455 (LFUN_MESSAGE): implement
14456 (LFUN_MESSAGE_PUSH): implement
14457 (LFUN_MESSAGE_POP): implement
14458 (initMiniBuffer): the initial/defualt minibuffer message.
14460 * lyxfont.[Ch]: inline some more getters
14462 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14464 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14466 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14467 (AutoSave): use LFUN_MESSAGE
14468 (Reconfigure): ditto
14470 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14472 * figureForm.C: use LFUN_MESSAGE
14474 * converter.C (runLaTeX): use LFUN_MESSAGE
14476 * bufferview_funcs.C: use LFUN_MESSAGE
14478 (changeDepth): ditto
14480 * bufferparams.h: use boost::
14482 * bufferlist.h: inherit privately from noncopyable
14484 * bufferlist.C (loadLyXFile): remove some commented code.
14486 * buffer.C (runChktex): use LFUN_MESSAGE
14488 * ShareContainer.h: inherit privately from noncopyable
14490 * ParagraphParameters.[hC] (depth): inline it.
14492 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14494 (message): new method
14495 (messagePush): ditto
14496 (messagePop): ditto
14497 (show): init minibuffer
14498 (showState): direct call
14500 * LaTeX.[Ch]: inherit privately from noncopyable
14501 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14502 instead of WriteStatus.
14504 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14506 * BufferView_pimpl.C (buffer): don't init minibuffer
14507 (workAreaButtonPress): use LFUN_MESSAGE
14508 (workAreaButtonRelease): ditto
14509 (savePosition): ditto
14510 (restorePosition): ditto
14511 (MenuInsertLyXFile): ditto
14512 (workAreaExpose): don't init minibuffer
14513 (update): remove commented code, simplify
14515 * BufferView2.C (openStuff): use LFUN_MESSAGE
14516 (toggleFloat): ditto
14519 (copyEnvironment): ditto
14520 (pasteEnvironment): ditto
14525 (updateInset): remove some commented code
14527 * lastfiles.h: inherit privately from noncopyable
14530 * lyx_main.h: ditto
14532 * lyxlex_pimpl.h: ditto
14534 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14535 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14536 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14538 * LyXAction.h: inherit privately from noncopyable, add methods
14539 func_begin, func_end, returning iterators to the func map.
14541 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14542 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14543 (func_begin): new method
14544 (func_end): new method
14546 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14548 (copySelection): ditto
14549 (pasteSelection): ditto
14551 * BufferView.C: whitespace change
14552 * BufferView.h: inherit privately from noncopyable
14554 2001-04-16 Allan Rae <rae@lyx.org>
14556 * tabular-old.C (l_getline):
14557 * spellchecker.C (sc_check_word):
14558 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14559 an unrecognised preprocessor directive. So ensure they're wrapped.
14561 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14563 * src/exporter.C (Export): Give an error message when path to file
14566 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14568 * LaTeX.C (deplog): Always check that foundfile exists.
14570 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14573 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14575 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14577 * tabular.[Ch] (getLabelList): implement new method
14579 * minibuffer.h: comment ouf setTiimer
14581 * minibuffer.C (ExecutingCB): constify res
14582 (peek_event): constify s
14583 (Set): constify ntext
14584 (Init): constify nicename
14586 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14588 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14589 (savePosition): use two params to Minibuffer::Set
14590 (restorePosition): ditto
14592 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14594 * lyx_main.C: include language.h
14596 * Makefile.am (lyx_main.o): add language.h
14598 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14604 * CutAndPaste.C: include gettext.h
14606 * lyxfont.h: remove old hack with ON and OFF.
14609 * lyxfont.h: do not include language.h...
14614 * bufferview_funcs.C:
14620 * paragraph.C: ... but do it here instead
14622 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14624 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14626 * tabular.C: small reformat
14628 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14631 (BreakParagraph): ditto
14632 (SetOnlyLayout): ditto
14635 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14638 * lastfiles.C: removed most using decl, add std:: where needed
14640 * buffer.C: ws changes
14642 * MenuBackend.C (class compare_format): put into anon namespace
14643 (expand): constify label, names, action, action2
14646 * text.C (SingleWidth): constify font
14647 (IsBoundary): constify rtl2
14648 (GetVisibleRow): constify ww
14650 * LaTeX.C (deplog): constify logfile
14652 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14654 (workAreaExpose): constify widthChange, heightChange
14656 * lyxrow.C (par): moved
14659 * lyxrow.h: as inlines here
14661 * lyxfont.h (shape): moved from lyxfont.C
14662 (emph): moved from lyxfont.C
14664 * lyxfont.C (LyXFont): use initialization list for all
14666 (shape): move to lyxfont.h as inline
14667 (emph): move to lyxfont.h as inline
14670 2001-04-04 Juergen Vigna <jug@sad.it>
14672 * vspace.C: had to include stdio.h for use of sscanf
14674 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14677 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14678 independent of xforms.
14680 2001-04-02 Juergen Vigna <jug@sad.it>
14682 * spellchecker.C: fixed namespace placing!
14684 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14686 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14687 the LyXParagraph * is 0.
14689 2001-03-29 Juergen Vigna <jug@sad.it>
14691 * vspace.C: added support for %, c%, p%, l%.
14692 (stringFromUnit): added helper function.
14693 (asLatexString): changed to give right results for the %-values.
14695 * buffer.C: convert the widthp in a width%.
14697 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14699 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14702 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14703 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14705 * lyx_cb.[Ch]: see above.
14707 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14711 * lyx.[Ch]: replaced by figure_form.[Ch].
14715 * lyxfunc.C: changed headers associated with above changes.
14717 2001-03-27 Juergen Vigna <jug@sad.it>
14719 * BufferView_pimpl.C: set the temporary cursor right!
14721 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14723 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14725 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14727 * LString.h: removed "using std::getline"!
14729 * BufferView_pimpl.C (Dispatch): changes due to changes in
14730 InsetInclude::Params.
14732 * buffer.C (tag_name): removed redundant break statements as they were
14733 producing lots of warnings with my compiler.
14735 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14737 * LString.h: add "using std::getline" when using the real <string>.
14739 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14741 * buffer.C: removed bitset usage.
14742 PAR_TAG moved to an anonymous name space.
14743 (tag_name): new funtion, also in the anonymous namespace.
14744 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14745 (makeDocBookFile): clean code. Completed transition from string arrays
14747 (SimpleDocBookOnePar): code clean.
14749 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14751 * tabular.C: add some comments.
14753 2001-03-22 Juergen Vigna <jug@sad.it>
14755 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14756 compatibility read a bit and fixed bug with minipage in different
14759 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14761 * buffer.C (pop_tag): removed.
14762 (push_tag): removed.
14763 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14764 array replaced with vector. Added support for CDATA sections.
14765 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14767 (makeDocBookFile): XML conformant declaration of CDATA section,
14768 fixed bug related to <emphasis> in the first paragraph char.
14769 (sgmlOpenTag): exclude empty tags.
14770 (sgmlCloseTag): ditto.
14772 * buffer.h (pop_tag): removed.
14773 (push_tag): removed.
14775 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14777 * language.h (Languages): added size_type and size().
14779 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14781 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14782 response on compability reading of minipages. One probliem is that
14783 the old usage of minipages was «flertydig»
14785 * several files here and in subdirs: don't use static at file
14786 scope use anon namespaces instead.
14788 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14790 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14791 LaTeX output. This is necessary for Literate document
14794 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14796 * buffer.C: insert hfill when needed.
14798 * tabular.C (l_getline): use string::erase, small whitespace change.
14800 * BufferView_pimpl.C: try the anon namespace.
14801 * WorkArea.C: ditto
14803 2001-03-16 Juergen Vigna <jug@sad.it>
14805 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14806 otherwise it won't open options-dialogs.
14808 * buffer.C: honor pextraWidth(p) on converting minipages.
14810 * tabular.C (l_getline): changed the functions to strip trailing \r.
14812 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14814 * BufferView_pimpl.C:
14815 * minibuffer..C: added "using SigC::slot" declaration.
14817 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14819 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14825 * paragraph.C: ditto
14827 * lyxtext.h: NO_PEXTRA
14829 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14831 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14832 * ParameterStruct.h: ditto
14833 * ParagraphParameters.h: ditto
14834 * lyxparagraph.h: ditto
14836 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14838 * buffer.C: add compability for minipage alignment.
14839 (latexParagraphs): remove unwanted pextra check.
14841 * several files: remove CXX_WORKING_NAMESPACES
14843 * buffer.C (pop_tag): tie is in namespace boost
14845 * BufferView.h: noncopyable is in namespace boost
14847 * lyx_main.h: ditto
14850 * lastfiles.h: ditto
14851 * bufferlist.h: ditto
14852 * ShareContainer.h: ditto
14854 * LyXAction.h: ditto
14857 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14859 * Merging changes from BRANCH_MVC back into HEAD.
14861 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14863 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14865 * BufferView_pimpl.C: change from intl.C
14869 * Makefile.am: move combox.*
14875 * intl.C: remove dialog (covered by prefs)
14877 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14879 * lyxfunc.C (Dispatch): removed redundant break statement.
14881 2001-03-14 Juergen Vigna <jug@sad.it>
14883 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14885 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14887 * buffer.C: add hack to fix compability reading of minipages.
14889 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14891 * buffer.C (getLists): Cleanup.
14893 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14895 * lyxfont.C (update): don't honor toggleall on font size.
14897 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14901 * Makefile.am: moved to frontends/xforms/
14905 * BufferView_pimpl.C: changes for moved mathpanel
14907 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14909 * gettext.h: fix gettext_init() in --disable-nls
14911 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14913 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14915 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14918 * lyx.h: strip external form
14920 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14922 * BufferView_pimpl.C: add comment, destroySplash()
14924 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14926 * BufferView_pimpl.C:
14930 * lyxfunc.C: use re-worked insetinclude
14932 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14934 * buffer.C: add using std::stringstream.
14936 * lyx_cb.C: readd using std::ios.
14938 * buffer.C: add using std::map.
14940 * BufferView_pimpl.C: add using std::vector.
14942 * ShareContainer.h: add std:: to swap.
14944 * buffer.h: add some typedefs
14945 * buffer.C (getLists): use them
14946 (getLists): renamed from getTocList.
14947 add a counter for the different float types and use it in the
14949 (getLists): use the same counter for the NEW_INSETS and the "non"
14952 * lyx_cb.h: remove unused items, includes, using etc.
14954 * ShareContainer.h: remove some commented code, add more comments
14955 and "documentation".
14957 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14959 * buffer.C (getTocList): make the list also when NEW_INSETS is
14962 * buffer.h: remove TocType
14964 * buffer.C (getTocList): change to return a map<string,
14965 vector<TocItem> >, implement for dynamic number of list.
14967 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14968 * text2.C (PasteSelection): adjust
14969 * CutAndPaste.C (pasteSelection): adjust
14971 * FloatList.C (FloatList): update from the new_insets branch.
14972 * Floating.[Ch]: ditto
14973 * LaTeXFeatures.C: ditto
14975 * lyxlex_pimpl.C: ditto
14977 * paragraph.C (Last): remove when NEW_INSETS is defined.
14979 * other file: changes because of the above.
14981 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14983 * lyxparagraph.h: rename next to next_, previous to previous_,
14984 make them private for NEW_INSETS. Rename Next() to next(),
14985 Previous() to previous().
14987 * other files: changes because of the above.
14989 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14992 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14995 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14997 * main.C (main): pass lyx_localedir to gettext_init().
14999 * gettext.h: remove locale_init and gettext_init macros
15001 * gettext.C (locale_init): new function
15002 (gettext_init): new function
15004 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15007 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15009 * Moved credits to frontends:
15010 * credits.[Ch]: removed
15011 * credits_form.[Ch]: removed
15012 * lyx_gui_misc.C: remove credits stuff
15015 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15017 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15019 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15020 unneeded destructor.
15022 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15023 a standalone pointer again.
15025 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15027 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15033 * ToolbarDefaults.C:
15042 * BufferView_pimpl.C: use new file dialog in GUII
15045 * lyx_cb.C: remove LayoutsCB to Toolbar
15047 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15049 * ShareContainer.h (get): add std:: qualifier
15051 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15053 * ShareContainer.h: define a proper ShareContainer::value_type
15054 type (and use typename to please compaq cxx)
15056 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15058 * lyxparagraph.h: move serveral local vars to
15059 ParameterStruct/ParagraphParameters., use ShareContainer in
15060 FontTable., make vars in FontTable private and add getter and
15063 * paragraph.C: changes because of the above.
15065 * lyxfont.h: remove copy constructor and copy assignment. (the
15066 default ones is ok), move number inside FontBits. move inlines to
15069 * lyxfont.C: add number to initializaton of statics, move several
15070 inlines here. constify several local vars. some whitespace
15071 cleanup. Dont hide outerscope variables.
15073 * Spacing.h: add two new constructors to match the set methods.
15075 * ShareContainer.h: new file, will perhaps be moved to support
15077 * ParameterStruct.h: new file
15079 * ParagraphParameters.h: new file
15081 * ParagraphParameters.C: new file
15083 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15084 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15086 * BufferView_pimpl.C: ParagraphParameter changes.
15087 * buffer.C: Likewise.
15088 * bufferview_funcs.C: Likewise.
15089 * text.C: Likewise.
15090 * text2.C: Likewise.
15092 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15094 * lyxfind.C (LyXReplace): do not redefine default argument in
15096 (IsStringInText): ditto
15097 (SearchForward): ditto
15098 (SearchBackward): ditto
15100 2001-03-06 Juergen Vigna <jug@sad.it>
15102 * lyxfind.C (IsStringInText): put parentes around expressions.
15104 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15106 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15108 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15110 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15112 * stl_string_fwd.h: add comment
15114 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15117 * tabular.C: remove unused DocBook methods
15123 killed DO_USE_DEFAULT_LANGUAGE
15125 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15127 * lyx_gui.C: do not include language.h.
15129 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15130 arguments in function implementation.
15132 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15134 * BufferView_pimpl.C: add <ctime>
15136 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15138 * BufferView_pimpl.C: add using std::find_if
15140 2001-02-27 José Matos <jamatos@fep.up.pt>
15142 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15145 2001-02-11 José Matos <jamatos@fep.up.pt>
15147 * buffer.C (makeDocBookFile): command styles now have a parameter as
15148 "title" by default.
15150 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15152 * layout_forms.[Ch]: removed
15153 * lyx_cb.[Ch]: out character
15154 * lyx_gui.C: out character
15155 * lyx_gui_misc.C: out character
15156 * bufferview_funcs.C: : out character,
15157 added toggleall as parameter in ToggleAndShow
15159 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15161 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15163 * text2.C (SetCurrentFont): Disable number property at boundary.
15165 2001-02-26 Juergen Vigna <jug@sad.it>
15167 * lyxfunc.C (getStatus): added a string argument override function so
15168 that this is correctly called from LyXFunc::Dispatch if it contains a
15169 do_not_use_argument which is used!
15170 (Dispatch): added check for "custom" export and call appropriate func.
15172 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15174 * lyxrc.C: Add language_command_local, language_use_babel and
15175 language_global_options.
15177 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15179 * buffer.C (makeLaTeXFile): Use language_use_babel and
15180 language_global_options.
15182 2001-02-23 Juergen Vigna <jug@sad.it>
15184 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15185 which works with LyXText and putted it inside BufferView. Here now we
15186 only call for that part the BufferView::Dispatch() function.
15188 * BufferView.C (Dispatch): added.
15190 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15191 functions which needs to use a LyXText over from LyXFunc.
15192 (MenuInsertLyXFile): added
15193 (getInsetByCode): added
15194 (moveCursorUpdate): added
15195 (static TEXT): added
15197 2001-02-22 Juergen Vigna <jug@sad.it>
15199 * BufferView_pimpl.C (update): call a status update to see if LyXText
15202 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15204 * vc-backend.C (revert): implement for CVS
15205 (getLog): implement for CVS
15207 2001-02-20 Juergen Vigna <jug@sad.it>
15209 * text2.C (ClearSelection): added BufferView param for inset_owner call
15211 * lyxfunc.C (TEXT): added this function and use it instead of
15212 directly owner->view()-text of getLyXText().
15214 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15216 * src/layout_forms.C: out preamble
15217 * src/layout_forms.h: out preamble
15218 * src/lyx_cb.C: out preamble
15219 * src/lyx_cb.h: out preamble
15220 * src/lyx_gui.C: out preamble
15221 * src/lyx_gui_misc.C: out preamble
15222 * src/lyxfunc.C: connect with guii preamble
15224 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15226 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15228 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15230 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15231 whether to run bibtex.
15233 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15235 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15237 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15239 * Makefile.am (lyx_SOURCES): removed bibforms.h
15241 * vspace.h: doxygen
15243 * text.C (GetVisibleRow): make several local vars const
15245 * tabular.C: small cleanup.
15247 * lyxserver.C (callback): use compare instead of strncmp
15249 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15250 inlines to after class or to paragraph.C
15252 * lyxfont.h: remove friend operator!=
15254 * converter.h: move friend bool operator< to non friend and after
15257 * combox.h: small cleanup
15259 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15260 to inlines after class def.
15262 * buffer.C (pop_tag): use string operations instead of strcmp
15264 * bmtable.c: doxygen, small cleanup
15266 * LaTeX.h: remove friend operator==
15268 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15280 * BufferView_pimpl.C:
15281 * BufferView.[Ch]: remove cruft
15283 2001-02-14 Juergen Vigna <jug@sad.it>
15285 * lyxfunc.C: removed #if 0 unused code
15287 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15289 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15291 * text2.C (SetSelection): added a BufferView * parameter
15293 2001-02-13 Juergen Vigna <jug@sad.it>
15295 * lyxfunc.C (Dispatch): fixed protected blank problem.
15296 * BufferView2.C (protectedBlank): added LyxText * parameter.
15298 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15299 (AppendColumn): same as above for column_info.
15301 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15302 (moveCursorUpdate): use a LyXText param for support of InsetText.
15304 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15305 (tripleClick): ditto
15307 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15309 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15311 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15313 * text2.C (SetSelection): set correct update status if inset_owner
15314 (ToggleFree): ditto
15316 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15318 * tabular.C: remove some commented code.
15320 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15322 * BufferView_pimpl.C: call hideSplash()
15324 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15327 * bibforms.h: remove
15330 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15331 add LFUN_CHILD_CREATE
15333 * counters.h: fix tiny typo
15338 * lyx.C: move splash to frontends/xforms/
15340 * lyx_gui_misc.C: move Include and Bibform to frontends
15342 * lyxvc.h: clarify comment
15344 * vspace.C: tiny housekeeping
15346 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15348 * text.C (PrepareToPrint): RTL Fix.
15350 * paragraph.C (GetUChar): New method.
15351 (String): Use GetUChar.
15353 * buffer.C (asciiParagraph): Use GetUChar.
15355 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15357 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15359 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15362 * buffer.C: rename to getLogName(), handle
15363 build log / latex log nicely
15365 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15368 * MenuBackend.h: remove support for reference menuitem type.
15370 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15372 * BufferView_pimpl.C: housekeeping
15373 * BufferView_pimpl.h:
15378 * minibuffer.h: move Timeout GUI-I
15380 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15382 * lyxrc.C (read): Update converters data-structures.
15384 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15386 * LaTeX.h (operator!=): add operator != for Aux_Info
15388 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15390 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15392 * LaTeXLog.C: deleted, useful code moved to Buffer
15395 * buffer.C: new function getLatexLogName()
15401 * lyxfunc.C: use frontends for LaTeX and VC logs
15403 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15405 * LaTeX.h: yet another std:: that Allan forgot.
15407 * Variables.C (set): renamed from isset(), because this clashes
15408 with some HP-UX macros (grr).
15410 2001-02-06 Allan Rae <rae@lyx.org>
15412 * LaTeX.h: Another bug fix. Missing std:: this time.
15414 2001-02-04 Allan Rae <rae@lyx.org>
15416 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15417 floats problem. I've left it commented out because it's not quite
15418 correct. It should also test that the current object is a table or
15419 figure inset. But I haven't gotten around to figuring out how to do
15420 that. I *think* it'll be something like: "table" == inset.type()
15422 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15425 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15427 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15428 all the citation/databases/styles in the auxilary file.
15429 (run): Rerun latex if there was a babel language error.
15431 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15433 * text.C (Backspace): Preserve the font when changing newline char
15435 (BreakParagraph): If the cursor is before a space, delete the space.
15437 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15439 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15441 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15442 new argument (code).
15443 (ChangeCitationsIfUnique): New method.
15445 * paragraph.C (GetPositionOfInset): Handle bibkey.
15447 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15449 * BufferView_pimpl.h: change type of Position::par_pos to
15450 LyXParagraph::size_type.
15452 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15454 * BufferView_pimpl.C (savePosition, restorePosition): Write
15455 messages to minibuffer.
15457 2001-01-28 José Matos <jamatos@fep.up.pt>
15459 * buffer.C (makeDocBookFile): adds support for document language.
15460 A silly restriction on the name of LatexCommand types where removed.
15461 Added support for CDATA sections, allows to chars unescaped, used
15462 among others in code, to avoid escape < and >.
15464 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15466 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15467 saved positions instrad of a stack. Furthermore, a position is
15468 stored using paragraph id/paragraph position.
15470 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15471 Remove LFUN_REF_BACK.
15473 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15475 * converter.C (dvipdfm_options): New method.
15477 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15479 * vspace.C (isValidLength): Fix for empty input string.
15481 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15483 * LyXAction.C (init): change description of LFUN_FIGURE to
15486 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15488 * LaTeX.C: add using directive
15490 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15492 * MenuBackend.C (expand): Fix the sorting of the formats.
15494 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15496 * lyx_main.C: tiny error message fix
15498 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15500 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15501 calling fl_initialize(). This fixes the problem with ',' as
15502 decimal separator in text files.
15504 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15506 * trans.C (process): Fix the keymap bug.
15508 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15510 * LaTeX.C (scanAuxFiles): New method. Provides support for
15511 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15512 (scanLogFile) Scan for "run BibTeX" messages.
15514 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15515 OT1 font encoding. Also, load the aecompl package if the ae
15518 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15520 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15522 * texrow.C (increasePos): turn two error messages into debug
15525 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15527 * LaTeX.C (scanAux): Handle the \@input macro.
15528 (runBibTeX): Use scanAux().
15530 * language.C (latex_options_): New field.
15532 * LaTeXFeatures.C (getMacros): Add language macros.
15534 * buffer.C (makeLaTeXFile): Small fix.
15536 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15538 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15540 * text2.C: add a using directive.
15542 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15547 * lyxfunc.C: kill LyXBell.
15549 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15551 * text.C (IsBoundary): Remove the error message
15553 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15555 * lyxrc.C (setDefaults): Correct initialization value for
15558 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15560 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15563 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15564 and GotoNextNote().
15566 * src/LyXAction.C: Added reference-next.
15568 * text.C (InsertChar): Use contains instead of strchr.
15570 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15572 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15574 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15575 alignment commands (when needed).
15577 * text.C (InsertChar): Add ':' to number separator chars.