1 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * lyxrc.C: do not set user_email to a default value but use empty
4 instead. The entry used to be translated, which does not work
5 since at the point where lyxrc is constructed there is no
6 translation service available
8 * messages.C (getLocaleDir): remove and use directly
9 lyx_localedir() instead
11 2004-06-02 Angus Leeming <leeming@lyx.org>
13 Fix crash caused by dereferencing null pointer 'exportdata' in
14 OutputParams by creating a new ExportData variable on the heap,
15 storing it in a boost::shared_ptr.
16 The crash was triggered when generating an Instant Preview
19 * Makefile.am: add outputparams.C
21 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
22 (c-tor): allocate memory to it.
24 * exporter.C (c-tor): associated changes.
26 2004-06-01 Angus Leeming <leeming@lyx.org>
28 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
29 contains data before calling isInset(0). (Bug 1513.)
31 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
33 * exporter.C (checkOverwrite): new method
34 * exporter.C (copyFile): new method
35 * exporter.C (Export): copy referenced files to the document dir
36 * exporter.[Ch]: new class ExportedFile
37 * exporter.[Ch]: new class ExportData. Contains currently the
38 names of referenced external files
39 * outputparams.h: add exportdata member.
41 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
43 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
46 2004-05-19 Angus Leeming <leeming@lyx.org>
51 * lyxfunc.C: small changes due to the introduction of namespace
52 lyx::frontend and the moving of namespace biblio to lyx::biblio.
54 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
56 * text3.C (dispatch): supress update when only moving the cursor
57 * cursor.C (selHandle): remove commented code
59 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
61 * paragraph.C (startTeXParParams): correct column count
62 * CutAndPaste.C (pasteSelection): remove const_cast
63 * output_docbook.C (docbookParagraphs): remove const_cast
64 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
65 const_cast and return ParagraphList::const_iterator
66 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
67 * output_plaintext.C (writeFileAscii): remove const_cast
68 * paragraph.[Ch] (simpleTeXOnePar): make const
69 * paragraph_funcs.C (outerPar): use const iterators
70 * paragraph_pimpl.C (validate): use const iterators
71 * text.C (setHeightOfRow): use const iterators
73 2004-05-17 Angus Leeming <leeming@lyx.org>
76 * LyXAction.C (init): new LFUN_INSET_REFRESH.
78 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
79 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
80 if the citation engine has changed.
82 2004-05-14 José Matos <jamatos@lyx.org>
84 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
85 if the textclass does not provide it. Have it different for sgml and
87 support the language of document.
88 * output_docbook.C (docbookParagraphs):
89 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
90 first anchor as the id of the paragraph, remove special case code.
91 * sgml.C (escapeChar): escape only < & >.
93 2004-05-14 Angus Leeming <leeming@lyx.org>
95 * bufferparams.h: move biblio::CiteEngine enum here to minimize
96 dependencies on src/frontends/controllers/biblio.h. Define a
97 CiteEngine_enum wrapper class to enable the enum to be forward
100 2004-05-12 Angus Leeming <leeming@lyx.org>
102 * buffer.C: up LYX_FORMAT to 234.
103 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
104 use_numerical_citations with a single biblio::CiteEngine cite_engine
106 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
108 2004-05-13 José Matos <jamatos@lyx.org>
111 * converter.C (Converter, readFlags): add xml member.
112 * outputparams.h: add XML flavor.
113 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
115 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
117 * lyxfunc.C (dispatch):
118 (getStatus): fix handling of LFUN_SEQUENCE
120 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
122 * debug.C (showLevel): do not forget the end-of-line marker
124 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
126 * kbmap.C (read): do not stop parsing a bind file when an error
129 2004-04-29 Angus Leeming <leeming@lyx.org>
134 * text2.C: wrap a bunch of #warning statements
135 inside #ifdef WITH_WARNINGS blocks.
137 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
139 * buffer.C: increment format to 233.
141 2004-04-28 Angus Leeming <leeming@lyx.org>
143 * BufferView_pimpl.C:
146 s/updateToolbar()/updateToolbars()/
147 s/Toolbar.h/Toolbars.h/
149 2004-04-28 Angus Leeming <leeming@lyx.org>
151 * BufferView.[Ch] (c-tor):
152 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
153 No longer passes these data to the WorkArea generator.
155 2004-04-28 Angus Leeming <leeming@lyx.org>
157 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
159 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
161 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
163 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
165 * output_latex.C (TeXEnvironment): make sure that there is a line
166 break before \end{foo} for the last paragraph of a document
167 (TeXOnePar): if the paragraph is at the end of the document (or
168 inset) and the language has to be reset, then make sure that the
169 line break is _before_ the language command, not after (fixes bug
170 1225); also make sure that the language reset command is the first
171 thing after the paragraph (to ensure proper nesting of
172 environments and thus fix bug 1404)
174 2004-04-21 John Levon <levon@movementarian.org>
177 * ToolbarBackend.C: make "name" be a programmatic name
178 and a gui_name field.
180 * lyxfunc.C: display the minibuffer on M-x
182 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
184 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
187 2004-04-19 Angus Leeming <leeming@lyx.org>
189 * BufferView_pimpl.C (setBuffer): changed preview interface.
191 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
194 2004-04-19 John Levon <levon@movementarian.org>
196 * BufferView_pimpl.C:
197 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
199 2004-04-05 Angus Leeming <leeming@lyx.org>
201 * text.C (redoParagraphs): add call to updateCounters(), thereby
202 fixing the missing "Figure #:" label from the caption of a
205 2004-04-13 Angus Leeming <leeming@lyx.org>
207 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
208 cursor is clicked out of an inset.
210 2004-04-13 Angus Leeming <leeming@lyx.org>
212 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
213 than an InsetOld one.
215 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
217 * format.[Ch]: add editor to Format
218 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
219 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
221 2004-04-08 André Pönitz <poenitz@gmx.net>
223 * metricsinfo.h: remove PainterInfo::width member
225 2004-04-08 Angus Leeming <leeming@lyx.org>
227 * lyx_sty.C (boldsymbol_def): modify so that it outputs
228 "\providecommand" rather than "\newcommand", thereby preventing
229 clashes with packages that define "\boldsymbol" themselves.
232 2004-04-08 Angus Leeming <leeming@lyx.org>
234 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
235 thereby squashing an unnecessary warning.
237 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
239 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
242 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
244 * BufferView.C (setCursor): call redoParagraph (some insets could
246 (putSelectionAt): remove the 'double update' trick
248 * BufferView_pimpl.C (fitCursor): call refreshPar
249 (workAreaDispatch): remove an uneeded update call
250 (dispatch): remove some manual update calls
252 * cursor.[Ch]: remove cached_y_, updatePos
253 (selHandle): set noUpdate when appropriate
255 * lyxfunc.C (dispatch): track if we need an update
257 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
259 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
260 (paintSelection): cheap optimization, do not call cursorX when not
262 (paintPars): change signature
265 (paintTextInset): adjust
269 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
271 * lengthcommon.C: compilation fix: remove explicit array size from
272 unit_name[] and friends
274 2004-04-05 Angus Leeming <leeming@lyx.org>
276 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
278 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
279 present only for the preferences dialog.
280 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
282 2004-04-05 Angus Leeming <leeming@lyx.org>
284 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
285 to enable the frontends to export changes to lyxrc correctly.
287 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
289 2004-04-07 André Pönitz <poenitz@gmx.net>
291 * cursor.[Ch] (selClear, adjust): remove math
293 * cursor_slice.C: more agressive assert
296 * BufferView_pimpl.C: rework mouse event dispatch
303 2004-04-05 André Pönitz <poenitz@gmx.net>
305 * cursor.[Ch] (valign, halign...): remove unneeded functions
307 2004-04-05 Angus Leeming <leeming@lyx.org>
309 * lyxlength.[Ch] (unit_name et al.): const-correct.
311 2004-04-05 Angus Leeming <leeming@lyx.org>
313 * BufferView_pimpl.C:
322 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
324 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
326 * text3.C (getStatus): add LFUN_BEGINNINGBUF
328 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
330 * lyxfind.C: add a couple of inTexted() tests + other small fixes
331 * BufferView_pimpl.[Ch] (getStatus)
332 * BufferView.[Ch] (getStatus): add
333 * lyxfunc.C (getStatus): move lfuns handled in
334 BufferView::dispatch to te function above
335 * Cursor.C (setSelection): set selection() = true
337 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
339 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
341 2004-03-31 Angus Leeming <leeming@lyx.org>
343 * lyxfunc.C (dispatch): Fall through to the generic
344 Dialogs::show("preamble").
346 2004-03-31 Angus Leeming <leeming@lyx.org>
348 * lyxfunc.C (dispatch): Fall through to the generic
349 Dialogs::show("spellchecker").
351 2004-03-31 Angus Leeming <leeming@lyx.org>
353 * lyxfunc.C (getStatus, dispatch): changed invocation of the
356 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
361 * insetiterator.[Ch]:
366 * undo.[Ch]: s/DocumentIterator/DocIterator/g
368 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
370 * BufferView.C (setCursor, putSelectionAt): call edit to open the
371 insets where we are putting the cursor.
373 2004-03-31 Angus Leeming <leeming@lyx.org>
376 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
378 * lyxrc.[Ch] (read, write): overloaded member functions taking
379 a std::[io]stream arguments.
381 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
383 2004-03-31 Angus Leeming <leeming@lyx.org>
385 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
386 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
388 * lyxtextclass.C (load): if the text class couldn't be loaded, then
389 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
391 2004-03-31 Angus Leeming <leeming@lyx.org>
393 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
394 the LFUN_ALL_INSETS_TOGGLE code.
396 2004-03-30 Angus Leeming <leeming@lyx.org>
398 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
399 has died. Fall through to the generic Dialogs::show("document").
401 2004-03-30 Angus Leeming <leeming@lyx.org>
404 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
405 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
407 * lyxfunc.C (getStatus, dispatch): define the actions for these
408 lfuns. Little more than a cut and pste job from ControlDocument.C
410 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
412 2004-03-30 Angus Leeming <leeming@lyx.org>
415 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
416 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
418 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
419 open/closed state of ollapsable insets. Usage:
421 all-inset-toggle <state> <name>, where
422 <state> == "open" || "closed" || "toggle" and
423 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
425 * lyxtext.h, text2.C (toggleInset): removed.
427 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
428 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
429 now passes LFUN_INSET_TOGGLE to the found inset.
431 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
432 is now invoked as "all-insets-toggle toggle branch".
434 2004-03-30 Angus Leeming <leeming@lyx.org>
438 * pariterator.[Ch]: added/corrected header blurb.
440 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
442 * dociterator.[Ch]: add an inset_ member
443 (backwardPos): implemented
444 (backwardPos, forwardPos): use inset_ when the stack is empty.
445 (doc_iterator_begin, doc_iterator_end): implemented
446 * pariterator.[Ch]: adjust, add begin, end
447 * insetiterator.[Ch]: adjust, add begin, end
451 * BufferView_pimpl.C:
452 * CutAndPaste.C: adjust
454 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
456 * buffer.C: increment file format to 232.
457 * LaTeXFeatures.C: add bibtopic package.
458 * bufferparams.[Ch]: param \use_bibtopic.
460 * lyxrc.[Ch]: add lyxrc bibtex_command
461 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
463 * buffer.C: increment file format to 231.
465 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
467 * dociterator.C: implement forwardPar
468 * iterators.[Ch]: remove, replaced by
469 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
471 * BufferView_pimpl.C:
474 * bufferview_funcs.C:
480 * Makefile.am: adjust
482 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
484 * CutAndPaste.C (pasteSelection): fix 2 crashes
485 (eraseSelection): fix a crash
486 * paragraph_funcs.C: remove a warning
488 2004-03-28 Angus Leeming <leeming@lyx.org>
491 * LyXAction.C (init): new LFUN_PRINT.
493 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
495 2004-03-27 Angus Leeming <leeming@lyx.org>
498 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
500 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
502 2004-03-27 Angus Leeming <leeming@lyx.org>
504 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
505 insetlist always contains non-null pointers to insets.
507 2004-03-26 Angus Leeming <leeming@lyx.org>
509 * src/BufferView_pimpl.C:
513 * src/output_plaintext.C:
514 * src/outputparams.h:
515 * src/paragraph_funcs.C:
519 * src/frontends/controllers/ControlErrorList.C:
520 * src/frontends/gtk/FileDialogPrivate.C:
521 * src/frontends/gtk/GPainter.C:
522 * src/frontends/gtk/GToolbar.C:
523 * src/frontends/qt2/QRef.C:
524 * src/mathed/math_scriptinset.C: squash compiler warnings.
526 2004-03-26 Angus Leeming <leeming@lyx.org>
528 * ispell.C (LaunchIspell::start):
529 * lyx_cb.C (AutoSaveBuffer::start):
530 invoke run(DontWait) rather than runNonBlocking().
532 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
534 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
536 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
538 * kbsequence.C (print): adjust
540 * kbmap.C (printKeySym): rename and change signature
541 (printKey): use LyXKeySym::print()
543 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
545 * undo.C: add using std::advance to compile for stlport
547 2004-03-24 Angus Leeming <leeming@lyx.org>
549 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
550 it leads to a crash when no buffer is present.
552 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
553 Martin Vermeer <martin.vermeer@hut.fi>
555 * lyxfunc.C (dispatch):
556 * bufferparams.C (readToken): use the new LColor::setColor
558 * LColor.[Ch] (setColor): new version that takes two strings as
559 argument and creates a new color entry if necessary
561 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
563 * buffer.C (makeLaTeXFile): if the main latex file that is
564 processed is usually a subdocument of some master, then pretend
565 for a while that it is actually the master
567 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
569 * buffer.C (getLabelList):
570 (getBibkeyList): use getMasterBuffer()
571 (getMasterBuffer): new method. Returns the main document in the
572 case where one is using included documents.
574 2004-03-25 André Pönitz <poenitz@gmx.net>
578 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
580 * ParagraphList_fwd.h: change ParagraphList to a std::vector
582 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
583 text*.C over here. Rename namespace CutAndPaste to lyx::cap
585 * ParameterStruct.h: merge with ParagraphParameters
587 * lyxtext.h: remove LyXText::parOffset() and getPar()
589 * text3.C: Remove all 'manual' update calls. We do now one per user
590 interaction which is completely sufficient.
594 * BufferView_pimpl.C:
597 * ParagraphParameters.[Ch]:
609 * output_docbook.[Ch]:
611 * output_linuxdoc.[Ch]:
612 * output_plaintext.[Ch]:
614 * paragraph_funcs.[Ch]:
615 * paragraph_pimpl.[Ch]:
623 * frontends/controllers/ControlDocument.C:
624 * frontends/controllers/ControlErrorList.C:
625 * frontends/controllers/ControlSpellchecker.C:
628 * insets/insetbase.h:
629 * insets/insetbibitem.C:
631 * insets/insetbranch.C:
632 * insets/insetcaption.C:
633 * insets/insetcharstyle.C:
634 * insets/insetcharstyle.h:
635 * insets/insetcollapsable.C:
636 * insets/insetcollapsable.h:
638 * insets/insetfloat.C:
639 * insets/insetfoot.C:
640 * insets/insetmarginal.C:
641 * insets/insetnote.C:
642 * insets/insetoptarg.C:
643 * insets/insettabular.C:
644 * insets/insettext.C:
645 * insets/insettext.h:
646 * insets/insetwrap.C:
647 * mathed/math_mboxinset.C:
648 * mathed/math_nestinset.C:
649 * mathed/math_scriptinset.C:
650 * mathed/math_scriptinset.h:
653 2004-03-24 Angus Leeming <leeming@lyx.org>
655 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
656 deal with any child processes that have finished but are waiting to
657 communicate this fact to the rest of LyX.
659 2004-03-24 Angus Leeming <leeming@lyx.org>
661 64-bit compile fixes.
663 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
664 (c-tor): pass lyx::pos_types rather than ints.
666 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
669 * text.C (Delete): compile fix.
670 (getPar): ensure that function declaration is the same as that in
673 2004-03-23 Angus Leeming <leeming@lyx.org>
675 * ispell.C (LaunchIspell):
676 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
677 a boost::shred_ptr rather than a std::auto_ptr.
679 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
681 * lyxfunc.C (getStatus): handle read-only buffers correctly;
682 handle LFUN_FILE_INSERT_*
684 * lyxrc.C (setDefaults, getDescription, output, read):
685 * lyxrc.h: remove ps_command
687 2004-03-22 Angus Leeming <leeming@lyx.org>
689 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
690 Ensure that error_handler is processed once only and that all data
691 is saved before attempting to output any warning messages.
693 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
695 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
697 * tabular.C (TeXRow): crash fix (from Kayvan and André)
699 2004-03-19 André Pönitz <poenitz@gmx.net>
701 * cursor.[Ch] (reset): take main text inset as argument
704 * BufferView_pimpl.C: adjust
706 * paragraph.[Ch]: fix completely broken operator=()
708 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
710 * LColor.C (getFromLyXName): make sure that the color name is used
713 2004-03-17 Angus Leeming <leeming@lyx.org>
716 * LyXAction.C (init): remove LFUN_FORKS_KILL.
718 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
719 dialog and to kill a forked process.
721 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
723 * text2.C (setCursorFromCoordinates): fix font problem
725 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
727 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
728 bogus "rebuild cursor" code
730 2004-03-11 André Pönitz <poenitz@gmx.net>
732 * buffer.[Ch]: use InsetText instead of LyXText as container for
735 * dociterator.[Ch]: drop the BufferView * member which is not needed
736 anymore after the change to buffer.C
742 * BufferView_pimpl.[Ch]:
744 * cursor_slice.[Ch]: adjust
746 * text3.C: fix bug in mathDispatch
748 2004-03-08 André Pönitz <poenitz@gmx.net>
750 * undo.[Ch]: use 'StableDocumentIterator' as base for
753 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
756 * bufferparams.[Ch]: add jurabib support and param.
758 * LaTeX.C: add FIXME/comment.
760 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
762 * buffer.C: increment file format to 230.
764 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
766 * cursor.C (dispatch): avoid infinite loops
768 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
770 * rowpainter.C (paintSelection): fix x coordinates
772 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
774 * text.C (rowBreakPoint): fix breaking before displayed insets
776 2004-03-01 André Pönitz <poenitz@gmx.net>
778 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
780 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
784 * BufferView_pimpl.C:
792 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
798 * BufferView_pimpl.C: rename textwidth -> maxwidth,
799 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
801 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
803 * Bidi.[Ch] (computeTables): const correctness
804 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
805 fill_hfill, fill_label_hfill and x from Row
806 * lyxtext.h: prepareToPrint returns a RowMetrics
807 * rowPainter.C: adjust
808 * text.C (prepareToPrint): use width, not textWidth. adjust
809 (redoParagraphInternal, cursorX): adjust
810 * text2.C (getColumnNearX): adjust
811 (init): put a default value to the top LyXText::width
813 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
815 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
817 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
819 * lyxtext.h: add FontIterator class
821 * text.C (FontIterator, operator*, operator->, operator++): add
822 (rowBreakPoint, setRowWidth): adjust (fixing a
825 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
827 * BufferView_pimpl.C (workAreaDispatch): allow also
828 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
830 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
832 * text.C (rowBreakPoint): fix a bug showing with very large insets
834 2004-02-25 André Pönitz <poenitz@gmx.net>
837 * cursor.[Ch]: move some mathed specific code to mathed
839 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
841 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
842 use_tempdir in preferences
843 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
845 * lyx_main.C: ensure that tempdir is valid
846 * lyxlex.h: correct typo
847 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
848 * paragraph.[Ch] (isMultiLingual): make const
849 * cursor.[Ch] (openable): make const
851 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
853 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
855 2004-02-20 André Pönitz <poenitz@gmx.net>
857 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
859 * cursor.[Ch]: prepare for localized getStatus()
865 * text3.C: streamlines the LyXText cursor movement handlers a bit.
867 2004-02-20 André Pönitz <poenitz@gmx.net>
869 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
871 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
873 * text2.C (setCursorFromCoordinates): switch to absolute coords
876 * text3.C (dispatch): adjust
878 2004-02-16 André Pönitz <poenitz@gmx.net>
880 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
883 * cursor_slice.[Ch]: remove unneeded acessor function
885 * lyxtext.h: rename rtl() to isRTL()
893 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
895 * rowpainter.C (paintSelection): coord fix
897 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
899 * Spacing.C: compile fix
901 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
903 * cursor.C (dispatch): restore current_ before returning
905 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
907 * text2.C (cursorUp, cursorDown): fix coords
910 2004-02-12 André Pönitz <poenitz@gmx.net>
915 * text3.C: add LCursor & parameter to most cursor movement functions
916 remove usage of LyXText::cursorRow() and cursorPar()
918 * cursor.[Ch]: add textRow() needed members
921 * BufferView_pimpl.C:
924 * BufferView_pimpl.C: adjust
926 2004-02-11 André Pönitz <poenitz@gmx.net>
930 * BufferView_pimpl.C: shift undo/redo handling
932 * cursor.[Ch]: fix mathed crash
935 * lyxtext.h: move selectionAsText to LCursor
943 * rowpainter.C: fix excessive drawing
945 2004-02-06 André Pönitz <poenitz@gmx.net>
948 * BufferView_pimpl.[Ch]:
949 * text3.C: move some text specific LFUN handling
951 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
953 * text3.C (checkInsetHit): adjust coords
954 * text2.C (getColumnNearX): adjust coords
955 (edit): adjust coords
956 * text.C (getRowNearY): add two asserts
958 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
961 * format.C: add using std::distance to compile on gcc 2.95/stlport
963 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
965 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
967 2004-02-04 André Pönitz <poenitz@gmx.net>
969 * BufferView.[Ch] (insertInset):
970 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
975 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
977 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
978 on the default clause of the switch
979 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
980 wasn't catched by LCursor::dispatch
982 2004-02-03 André Pönitz <poenitz@gmx.net>
985 * cursor.[Ch]: some additional asserts
987 * undo.[Ch]: remove LyXText dependency in interface
991 * lyxtext.h (firstPar, lastPar): remove dead functions
996 * paragraph.[Ch]: adjust
998 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1000 * lyxfind.C (find): fix argument order in call to ::find
1002 2004-02-02 André Pönitz <poenitz@gmx.net>
1004 * cursor.[Ch]: remove direct access to anchor
1006 * text.C: remove findText() hack
1008 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1010 * iterators.[Ch] (lockPath): remove in favour of...
1011 * BufferView.[Ch] (setCursor): this addition
1012 * BufferView.C (putSelectionAt): adjust
1013 * undo.C (performUndoOrRedo): adjust
1014 * lyxfunc.C (dispatch): adjust
1016 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1018 * iterators.C (lockPath): add a missing slice
1019 * undo.C (performUndoOrRedo): remove redundant positioning code
1021 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1023 * vc-backend.C (scanMaster): ";" -> ';'
1025 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1027 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1028 std::binary_function
1030 * lyxtextclass.C (compare_name): rename to...
1031 (LayoutNamesEqual): ...this
1033 * lyxlex_pimpl.C (compare_tags): inherit from
1034 std::binary_function, put back into anon namespace
1036 * lyxfind.C (MatchString): inherig from std::binary_function
1037 (findChange): use empty() istead of !size()
1039 * format.C (FormatNamesEqual): new functor
1046 * converter.C (compare_Converter): rename to...
1047 (ConverterEqual): ...this, and fixup a bit.
1048 (getConverter): use it, and make function const
1049 (getNumber): use it, and make function const
1053 * bufferlist.C: add using boost::bind
1055 * MenuBackend.C (MenuNamesEqual): new functor
1056 (hasMenu): use it, and make function const
1057 (hasSubmenu): use nested bind to get rid of compare_memfun.
1059 2004-01-30 André Pönitz <poenitz@gmx.net>
1061 * BufferView_pimpl.C:
1064 * cursor_slice.[Ch]:
1067 * paragraph_funcs.C:
1068 * paragraph_funcs.h:
1072 * text3.C: move some of the edit(x,y) handling to the insets
1073 some coordinate changes.
1075 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1077 * text.C: add using statements for std::advance and std::distance
1079 * paragraph.C: add using statement for std::distance
1081 * lyxfind.C: add using statement for std::advance
1083 * cursor.C (region): remove std:: from swap
1084 (openable): use nucleus in stead of operator->
1086 * BufferView.C: add using statements for std::distance and std::swap
1088 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1090 * iterators.C: Remove the pimple, move the needed structures to
1091 the header file. Create accessor for the positions stack.
1092 (asPosIterator): remove function
1094 * PosIterator.C (PosIterator): move constructors to top of file
1095 (PosIterator): reimplement the constructor taking a ParIterator in
1097 (setFrom): new function
1098 (operator!=): inline it
1100 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1102 * lyxfind.C (replaceAll): use std::advance
1104 * iterators.h: inherit from std::iterator.
1106 * PosIterator.C (advance, distance): remove
1107 * PosIterator.h: interit from std::iterator.
1109 2004-01-26 André Pönitz <poenitz@gmx.net>
1112 * BufferView_pimpl.[Ch]:
1116 * bufferview_funcs.C:
1126 * output_linuxdoc.C:
1127 * output_plaintext.C:
1129 * paragraph_funcs.[Ch]:
1130 * paragraph_pimpl.[Ch]:
1136 * text3.C: more IU: dumps most of the rest of the mathcursor
1137 implementation into cursor.[Ch]; "globalize" a bit of it.
1139 2004-01-25 Angus Leeming <leeming@lyx.org>
1141 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1143 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1145 * LaTeXFeatures.h: add nice_ and nice() const
1146 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1148 2004-01-20 André Pönitz <poenitz@gmx.net>
1151 * BufferView_pimpl.C:
1153 * bufferview_funcs.C:
1155 * cursor_slice.[Ch]:
1166 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1167 LCursor and mathcursor parts to LCursor and InsetBase.
1169 2004-01-15 André Pönitz <poenitz@gmx.net>
1171 * cursor_slice.[Ch]: add a few covienience functions
1173 * funcrequest.[Ch]: remove BufferView * member
1175 * BufferView_pimpl.C:
1182 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1184 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1186 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1187 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1189 2004-01-13 André Pönitz <poenitz@gmx.net>
1192 * lyxtext.h: hide cursor and selection anchor behind accessor function
1195 * BufferView_pimpl.[Ch]:
1197 * bufferview_funcs.C:
1207 * cursor_slice.[Ch]: some integer type changes for inset unification
1209 * lyxcursor.[hC]: remove, it's CursorSlice now.
1212 * BufferView_pimpl.[Ch]:
1213 * bufferview_funcs.C:
1219 * textcursor.[Ch]: adjust
1221 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1223 * text2.C (undoSpan): add and use
1224 * text.C (breakParagraph): use undoSpan (fix bug 578)
1227 2004-01-08 Angus Leeming <leeming@lyx.org>
1229 * BufferView_pimpl.C (MenuInsertLyXFile):
1230 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1231 * lyxfunc.C (menuNew, open, doImport):
1232 FileFilterList change to the FileDialog open and save functions.
1234 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1236 * ShareContainer.h: make isEqual and isUnique adaptable
1238 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1240 2004-01-07 Angus Leeming <leeming@lyx.org>
1243 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1245 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1247 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1248 functions replacing find, replace and replaceAll.
1250 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1251 LFUN_WORDFIND(FORWARD|BACKWARD).
1253 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1255 * text.C (breakParagraph): remove an outdated #warning
1257 2004-01-07 André Pönitz <poenitz@gmx.net>
1259 * lyxfind.C: somewhat clearer logic
1261 * text.C: prevent crash in cursorX on unitialized row cache
1263 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1265 * lyxcursor.[Ch] (operator>): add
1266 * textcursor.C (selStart, selEnd): use std::min and std::max
1268 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1270 * Chktex.C: include boost/format.hpp
1272 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1274 * InsetList.C: replace functor MathcIt with adaptable functor
1276 (insetIterator): modify accordingly
1278 * BranchList.h: move the BranchNamesEqual functor here from...
1279 * BranchList.C: ... to here
1281 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1283 (add): replace a finding loop with std::find_if.
1285 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1287 * output_docbook.C: moving LatexParam functionality into
1290 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1292 * buffer.C: increment format to 229.
1294 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1297 * lyx_sty.[Ch]: remove minipageindent_def
1303 * text3.C: remove LFUN_INSET_MINIPAGE
1305 2003-12-28 Angus Leeming <leeming@lyx.org>
1307 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1309 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1311 * text2.C (setParagraph): fix off-by-one crash
1313 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1315 * output_docbook.C: header stuff for AGU
1317 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1319 * text2.C (redoCursor): remove
1322 * BufferView_pimpl.C: remove calls to redoCursor and
1323 setCursor(cursor.par(), cursor.pos()) all around
1325 2003-12-15 Angus Leeming <leeming@lyx.org>
1327 * buffer.C: up the format to 228.
1329 2003-12-15 André Pönitz <poenitz@gmx.net>
1331 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1336 * BufferView_pimpl.C:
1345 2003-12-15 Angus Leeming <leeming@lyx.org>
1347 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1348 than getFromGUIName to manipulate the color.
1350 2003-12-14 Angus Leeming <leeming@lyx.org>
1352 * BranchList.[Ch]: minimize the API.
1353 (Branch::getBranch, getColor): now return a 'const &'.
1354 (Branch::setSelected) now returns a bool set to true if the
1355 selection status changes.
1356 (BranchList::clear, size, getColor, setColor, setSelected,
1357 allBranches, allSelected, separator): removed.
1358 (BranchList::find): new functions, returning the Branch with
1360 (BranchList::add, remove): return a bool indicating that
1361 the operation was successful.
1363 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1364 new InsetBranch::isBranchSlected member function.
1366 * LColor.[Ch]: mimimize the API.
1367 (fill): renamed as addColor and made private.
1368 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1369 versions of these functions taking a string arg have been removed.
1371 * bufferparams.C (readToken):
1372 * lyxfunc.C (dispatch):
1373 * lyxrc.C (read): changes due to the altered BranchList and
1376 * factory.C (createInset, readInset): changes due to altered
1379 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1382 * lyxfunc.C: remove insetminipage. "minipage-insert"
1383 now produces a frameless minipage box inset.
1385 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1387 * textcursor.[Ch] (selStart,selEnd): add new methods
1388 remove selection::start, end, use LyXCursor::operator<
1389 * lyxcursor.[Ch] (operator<): add
1390 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1391 * BufferView.[Ch] (unsetXSel): add
1392 * text2.C (clearSelection): use unsetXSel,adjust
1395 * rowpainter.C: adjust
1396 * bufferview_funcs.C (put_selection_at): adjust
1398 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1400 * BufferView_pimpl.C: small coord. correction
1402 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1404 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1405 dragging over the splash screen.
1407 2003-12-11 Angus Leeming <leeming@lyx.org>
1409 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1410 as it is now handled in LyXText::dispatch.
1412 * text3.C (doInsertInset): remove a level of nesting.
1414 2003-12-11 Angus Leeming <leeming@lyx.org>
1416 * factory.C (createInset): changes due to the changed interface to
1417 InsetCommandMailer::string2params.
1419 2003-12-10 Angus Leeming <leeming@lyx.org>
1421 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1422 'dialog-show-new-inset <inset name>'
1424 2003-12-10 Angus Leeming <leeming@lyx.org>
1426 * buffer.C: up the format to 227.
1428 * factory.C: the box inset is now identified simply by 'Box'.
1430 2003-12-10 Angus Leeming <leeming@lyx.org>
1432 * buffer.C: up the format to 226.
1434 * factory.C: the note inset is now identified simply by 'Note'.
1436 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1438 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1439 when a pit is enough. Standarize a couple of loops.
1441 2003-12-05 Angus Leeming <leeming@lyx.org>
1443 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1444 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1445 data to the re-worked "log" dialog.
1447 2003-12-03 André Pönitz <poenitz@gmx.net>
1453 * paragraph_funcs.C:
1455 * text2.C: use Inset::getText instead of Inset::getParagraph
1457 2003-12-03 André Pönitz <poenitz@gmx.net>
1461 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1462 InsetText::read() as LyXText::read()
1464 2003-12-02 Angus Leeming <leeming@lyx.org>
1466 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1467 type. Add a comment in the implementation that the function uses
1468 the stream's bad() function rather than fail() as the std::streams
1471 2003-12-02 André Pönitz <poenitz@gmx.net>
1473 * lyxlex.[Ch]: make interface more similar to std::stream
1475 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1477 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1479 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1481 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1483 * vspace.[Ch]: remove VSpace::NONE
1485 2003-12-01 André Pönitz <poenitz@gmx.net>
1488 * lyxtext.h: move ParagraphList member to LyXText
1489 rename LyXText::ownerParagraphs to LyXText::paragraph
1492 * bufferview_funcs.C:
1502 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1504 * undo.C: fix cursor positioning
1506 2003-12-01 John Levon <levon@movementarian.org>
1508 * BufferView_pimpl.C: fix a crash on exit with
1511 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1513 * BranchList.C: fix setSelected() method.
1515 2003-11-28 André Pönitz <poenitz@gmx.net>
1517 * ParagraphParameters.[Ch]:
1518 * ParameterStruct.h: remove space above/below from Paragraph to
1521 * BufferView_pimpl.C:
1527 * paragraph_funcs.C:
1533 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1535 * factory.C: Syntax change for CharStyles
1537 2003-11-28 André Pönitz <poenitz@gmx.net>
1542 * buffer.[Ch]: move LyXText member
1544 2003-11-28 André Pönitz <poenitz@gmx.net>
1546 * BufferView.[Ch]: make LyXText * text a private member
1548 * BufferView_pimpl.C:
1559 * output_plaintext.C: cleanup
1561 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1564 * lyxtextclass.[Ch]: parametrize SGML document header
1566 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1569 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1572 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1574 * text2.C (setFont): rework using PosIterator (no more recursive)
1575 (setCharFont): no more needed
1576 (setLayout): no more selection cursors fiddling (done by redoCursor)
1577 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1578 destroy remaining ones)
1580 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1582 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1584 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1587 * text3.C: adjust + re-allow multi par depth changes
1588 * textcursor.C: simplify a bit
1590 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1596 * src/output_docbook.C:
1597 * src/output_latex.C:
1602 * src/text2.C: Introducing a number of tags parametrizing various
1603 XML formats that we may want to support
1605 2003-11-25 André Pönitz <poenitz@gmx.net>
1607 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1609 * lyxtext.h (leftMargin/rightMargin): simplify interface
1616 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1618 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1619 master file to any child files. Fixes bug 546.
1621 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1623 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1625 2003-11-24 André Pönitz <poenitz@gmx.net>
1627 * rowpainter.C: simplification
1629 * text2.C (updateCounters): remove call to redoParagraph on
1630 changed labels as this is far too expensive.
1632 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1634 * converter.C (convert): fix a crash: this function gets
1635 called with buffer == 0 from importer code.
1637 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1639 * text3.C (cursorPrevious): make sure that we do not compare
1640 iterators form different containers.
1643 * rowpainter.C (paintSelection): make sure that we do not compare
1644 iterators from different containers.
1646 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1647 iterators from different ParagraphList containers.
1650 * text2.C (LyXText): change order of initialization slightly
1651 (operator=): new function. copy all variables except cache_par_
1652 (moveUp): make sure that we do not compare iterators from
1653 different ParagraphList constainers.
1656 * text.C (firstPar): new function
1657 (lastPar): new function
1658 (endPar): new function
1660 * lyxtext.h: move things around and group public functions, public
1661 variables, private functions, private variables
1663 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1665 * factory.C: change call to InsetERT constructor to avoid
1666 additional invocation of method status
1667 * text2.C (toggleInset): remove redundant update() call
1668 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1669 instead of a Bufferview pointer
1671 2003-11-21 André Pönitz <poenitz@gmx.net>
1673 * rowpainter.C: simplification
1675 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1677 * text3.C (dispatch): make possible to extend a word/row selection
1680 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1682 * lyxtext.h: x0_,y0_ -> xo_,yo_
1683 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1684 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1685 * rowpainter.C (paintRows): paint full paragraphs
1687 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1689 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1692 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1694 * lyxtext.h: add x0_, y0_
1695 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1696 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1698 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1700 * text2.C (setCursorIntern): move the x_target update here *
1701 * text3.C: change some bv() to true/false in calls to
1702 cursorUp/Down/Right/Left
1703 * cursor.C: use helper function.
1705 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1707 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1708 * paragraph_funcs.[Ch]: correct comment
1709 * rowpainter.C: do not paint selections away from bv->cursor()
1710 Fix a long standing selection painting bug.
1711 * text3.C: generalize mouse-selection code to LyXTexts other that
1713 * textcursor.C: do not use y coords if we can use par offsets
1715 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1717 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1718 cursor position after e.g. inset insert)
1720 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1722 * lyxfind.C (replace): adjust to locking removal + some
1725 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1727 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1730 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1733 * output_docbook.C: XML sanitation: new layout
1734 parameters InnerTag and CommandDepth
1736 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1738 * BufferView_pimpl.C:
1740 * text3.C: Fix the insertion and modification of button-style
1743 2003-11-13 André Pönitz <poenitz@gmx.net>
1745 * InsetList.[Ch]: remove deleteLyXText
1747 * paragraph.[Ch]: cache beginOfBody position
1752 * text3.C: remove superfluous update() calls
1756 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1758 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1759 * BufferView.C (fitLockedInsetCursor): remove
1760 * cursor.[Ch] (getDim): add
1761 * text.C (getRowNearY): add faster version
1762 * text3.C: remove some update calls
1764 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1776 * text3.C: The Character Style /XML short element patch.
1778 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1781 * factory.C: Small step to solving 'unable to insert some insets'
1784 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1786 * cursor.[Ch] (updatePos): new function for updating the y
1787 position of the tip inset
1788 * bufferview_funcs.C (put_selection_at):
1789 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1791 2003-11-11 André Pönitz <poenitz@gmx.net>
1793 * text.C: remove big comment on invalid Paragraph pointers as it is
1796 2003-11-11 André Pönitz <poenitz@gmx.net>
1798 * text_funcs.[Ch]: merge with ...
1806 * Makefile.am: remove text_funcs.[Ch]
1808 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1810 * cursor.C (getPos): return absolute cached y coord
1812 * BufferView_pimpl.C (fitCursor): new simplistic code
1813 (workAreaDispatch): add a fitCursor call
1815 2003-11-10 André Pönitz <poenitz@gmx.net>
1818 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1820 2003-11-10 André Pönitz <poenitz@gmx.net>
1822 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1823 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1824 indicate that the cursor needs to leave an inset
1826 * lyxtext.h: remove inset locking
1828 * cursor.[Ch]: re-implement functionality provided by inset locking
1831 * BufferView_pimpl.[Ch]:
1833 * bufferview_funcs.[Ch]:
1845 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1847 * PosIterator.[Ch]: replace the stack with a vector, add inset
1849 * iterators.[C]: adjust
1851 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1853 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1855 * paragraph_funcs.C (readParToken): put the correct id in the
1856 error item, not the id of the top paragraph
1858 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1860 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1861 * bufferview_funcs.C (put_selection_at): use the above
1863 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1865 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1867 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1869 * output_linuxdoc.h:
1870 * output_plaintext.h:
1872 * output_docbook.h: add #include statements
1874 2003-11-05 José Matos <jamatos@lyx.org>
1876 * output_docbook.[Ch]:
1877 * output_latex.[Ch]:
1878 * output_linuxdoc.[Ch]:
1879 * output_plaintext.[Ch]: New files for output formats.
1880 * output.[Ch]: New file for helper functions.
1883 * paragraph_funcs.[Ch]: output functions moved to new files.
1885 * outputparams.h: rename of latexrunparams.h
1893 * paragraph_funcs.[Ch]:
1894 * paragraph_pimpl.[Ch]:
1895 * tabular.[Ch]: rename ascii to plaintext
1896 and LatexRunParams to OutputParams.
1898 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1900 * iterators.[Ch] (text): require bv argument
1901 * undo.C (recordUndo):
1902 * lyxfunc.C (dispatch):
1903 * bufferview_funcs.C (put_selection_at): adjust
1905 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1907 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1909 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1911 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1914 2003-11-04 André Pönitz <poenitz@gmx.net>
1916 * cursor.[Ch]: restructure
1919 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1921 * iterators.[Ch] (asCursor): remove
1923 * lfuns.h: remove LFUN_INSET_EDIT
1929 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1931 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1933 * lyxfind.[Ch]: complete overhaul
1934 * BufferView_pimpl.C:
1936 * paragraph.[Ch] (insert): add
1938 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1942 * text.C: remove dead spellcheck code
1944 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1946 * dispatchresult.h: add a val setter
1948 * cursor.C (dispatch): use a tempvar for data_[i]
1950 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1952 * PosIterator.[Ch]: compile fix
1954 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1956 * text.C (cursorPar): deactivate the cursor cache
1958 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1960 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1962 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1964 * text3.C (dispatch): adjust for new DisptchResult semantics.
1966 * lyxfunc.C (dispatch): handle update when return from
1967 Cursor::dispatch, adjust for new DispatchResult semantics.
1969 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1970 DispatchResult(true) mean to not update. Add class functions for
1971 setting dispatched and update, as well as reading.
1973 * cursor.C (dispatch): don't handle update here
1975 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1977 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1978 * trans_mgr.C: adjust
1980 * paragraph_funcs.C (readParToken): exception safety
1982 * lyxvc.h: store the vcs pointer in a scoped_ptr
1985 * lyxsocket.C (serverCallback): exception safety
1987 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1989 * ispell.C (clone): make it return a auto_ptr
1991 * factory.C (createInset): exception safety
1992 (readInset): exception safety
1994 * bufferlist.C (newBuffer): exception safety
1996 * Thesaurus.C (Thesaurus): use initialization for aik_
1998 * MenuBackend.C (expandToc): exception safety.
2000 2003-11-03 André Pönitz <poenitz@gmx.net>
2004 * bufferview_funcs.C: remove getInsetFromId()
2007 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2013 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2015 * PosIterator.C (distance, advance): new
2016 * bufferview_funcs.[Ch] (put_selection_at): new
2017 * iterators.[Ch] (lockPath): new
2019 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2021 * iterators.[Ch] (asPosIterator): added
2022 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2023 * PosIterator.[Ch]: added
2025 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2029 * cursor.C (dispatch):
2030 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2032 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2033 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2034 contructor, add a class function dispatched. Remove operator>=
2036 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2038 * debug.C: only use the default constructor for debugstream
2041 * main.C (main): include debug.h and setup the lyxerr streambuf
2044 2003-10-31 José Matos <jamatos@lyx.org>
2046 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2048 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2049 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2050 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2051 * paragraph_pimpl.C (simpleTeXSpecialC):
2052 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2053 add LatexRunParams argument.
2055 * exporter.C (Export): change call accordingly.
2057 * latexrunparams.h: add new member to take care of the other backends.
2058 2003-10-30 José Matos <jamatos@lyx.org>
2060 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2061 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2062 factorise code for paragraph output.
2064 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2067 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2069 * text3.C (dispatch):
2070 * lyxfunc.C (dispatch):
2071 * cursor.C (dispatch):
2072 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2074 * dispatchresult.h: make the dispatch_result_t ctor explicit
2076 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2079 * buffer.C: small refactoring of docbook stuff
2081 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2083 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2086 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2088 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2089 operator dispatch_result_t, and operators for == != and >=
2091 * cursor.C (dispatch): adjust for operator dispatch_result_t
2092 removal. comment out call to update
2094 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2096 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2104 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2107 * dispatchresult.h: new file, DispatchResult broken out of
2110 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2112 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2114 * text.C (rowBreakPoint): put a hack inside #if 0
2116 2003-10-28 André Pönitz <poenitz@gmx.net>
2120 * paragraph_funcs.C:
2123 * text2.C: general cleanup (lots of small stuff)
2125 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2127 * text2.C (cursorEnd): simple fix to the "end key goes to one
2128 before the end on last row" bug
2130 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2132 * text.C (backspace): fix the "zombie characters"
2134 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2136 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2138 2003-10-27 André Pönitz <poenitz@gmx.net>
2140 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2142 * factory.C: handle new InsetPagebreak, InsetLine
2144 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2145 and move handling into new InsetPagebreak, InsetLine
2147 * BufferView_pimpl.C:
2149 * ParagraphParameters.C:
2150 * ParameterStruct.h:
2155 * paragraph_funcs.C:
2156 * paragraph_pimpl.C:
2162 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2165 * lyxrow_funcs.[Ch]:
2171 * text3.C: remove lastPos uses in favour of Row::endpos
2173 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2175 * undo.C (performUndoOrRedo): fix two crashes by setting a
2176 cursor by hand and reordering some calls. Use bv->lockInset instead
2177 of inset->edit because the latter loses cursor information
2179 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2181 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2183 (rowBreakPoint): fix width. change point to point + 1.
2184 Add a missing check.
2186 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2189 * lyxfunc.C: fix (at least partly) the problems
2190 with the Nav menu and headers inside branch insets
2193 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2195 * paragraph.C (getChar): add strong asserts
2197 * lyxrow_funcs.C (lastPos): remove hideous hack
2199 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2200 (fill): adjust to that (avoid an infinite loop)
2202 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2204 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2206 2003-10-23 André Pönitz <poenitz@gmx.net>
2208 * RowList_fwd.h: change list<> to vector<> to gain speed
2209 after suggestion from Alfredo
2211 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2213 * lyxtext.h: move the bidi stuff from here...
2216 * Bidi.[Ch]: ... to here
2218 2003-10-23 André Pönitz <poenitz@gmx.net>
2221 * text.C (isLastRow, isFirstRow): new functions
2223 * paragraph.h: new width cache member
2225 * rowpainter.C: replace RowList::iterator with Row & where possible
2227 * lyxfunc.C: replace several view()->text with a single call
2229 * toc.C: fix 'unused' warning
2231 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2233 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2234 when woring with stream::pos_type
2235 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2237 2003-10-22 André Pönitz <poenitz@gmx.net>
2240 * text.C: use Row & instead of RowList::iterator
2242 * lyxrow.h: rename end() to endpos()
2248 2003-10-22 Angus Leeming <leeming@lyx.org>
2250 * buffer.[Ch] (fully_loaded): new member function, returning true
2251 only when the file has been loaded fully.
2252 Used to prevent the premature generation of previews and by the
2253 citation inset to prevent computation of the natbib-style label.
2255 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2256 templates are all set up.
2258 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2260 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2262 * text.C: fixed an "oops" in the "is a bit silly"
2265 2003-10-21 André Pönitz <poenitz@gmx.net>
2267 * FuncStatus.[Ch]: small stuff, whitespace
2269 * lyxfont.[Ch]: operator<<() for debug reasons
2273 * lyxtext.h: whitespace, spelling
2275 * paragraph.C: naming of variables
2278 * text2.C: small stuff
2281 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2283 * text.C: (1) finish off the inset display() work;
2284 (2) fix the "is a bit silly" bug (accessing char
2287 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2289 * text.C: re-introduce display() for insets, fixing the
2290 various bugs (stretch of line above, math inset
2293 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2295 * text.C (rightMargin): remove spurious semicolon
2297 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2300 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2302 * text3.C: fix one crash due to wrong cursor def
2304 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2306 * vc-backend.C (scanMaster): make the regex static
2308 * LaTeX.C (scanAuxFile): make the regexs static
2310 * text3.C (doInsertInset, dispatch, dispatch):
2311 * text2.C (cursorUp, cursorDown):
2312 * text.C (selectNextWordToSpellcheck):
2313 * BufferView_pimpl.C (dispatch):
2314 * lyxfunc.C (dispatch): localDispatch -> dispatch
2316 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2318 * lyxsocket.C: include <cerrno>
2320 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2322 * lyxfunc.C (dispatch): remove textcache stuff
2324 * bufferlist.C (release): remove textcache stuff
2327 * TextCache.C: delete file
2328 * TextCache.h: delete file
2330 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2332 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2333 delete of the bv_->text.
2334 (resizeCurrentBuffer): remove texcache stuff
2335 (workAreaResize): ditto
2337 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2339 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2342 2003-10-16 André Pönitz <poenitz@gmx.net>
2349 * text3.C: speed up by storing y positions per paragraph plus per-row
2350 offset instead of having a 'full' y position in the row.
2352 2003-10-15 André Pönitz <poenitz@gmx.net>
2356 * undo.[Ch]: make undo aware of inner insets
2358 2003-10-14 Angus Leeming <leeming@lyx.org>
2360 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2361 static member functions LyX::ref() and LyX::cref.
2362 (lastfiles): new accessor functions for the new lastfiles_ member var.
2363 (addLyXView, views_): add a new LyXView to the list of views_.
2364 (updateInset): loop over all LyXViews to call their own updateInset
2365 member function, returning a pointer to the Buffer owning the inset.
2367 * BufferView_pimpl.C (loadLyXFile):
2368 * MenuBackend.C (expandLastfiles):
2369 * bufferlist.C (MenuWrite, QuitLyX):
2370 lastfiles is no longer a global variable.
2371 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2373 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2374 static function. Access through LyX::cref().emergencyCleanup().
2376 2003-10-14 André Pönitz <poenitz@gmx.net>
2378 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2380 * undo.[Ch]: restoring part of 'undo in insets'
2383 * undo_funcs.[Ch]: merge with undo.[Ch]
2385 * tabular.C: small cleansing stuff
2387 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2389 * paragraph_funcs.C (readParToken): report unknown insets as error
2390 boxes. Use the outer paragraph as location (also for unknown
2393 * factory.C (readInset): do not abort on reading an unknown inset.
2394 Eat it and return 0.
2396 2003-10-13 Angus Leeming <leeming@lyx.org>
2398 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2400 * lyxrc.C: displayTranslator is now a function,
2401 declared in GraphicsTypes.h.
2403 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2405 * format.C: new placeholder $$a to pass the socket address.
2407 * bufferlist.[Ch]: new function getBufferFromTmp.
2409 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2410 files in the temporary dir.
2412 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2414 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2416 * Makefile.am: add lyxsocket.[Ch].
2418 * lyx_main.C (error_handler): handle SIGPIPE.
2420 2003-10-13 André Pönitz <poenitz@gmx.net>
2422 * BufferView_pimpl.C:
2427 * undo_funcs.[Ch]: use paroffset_type instead of
2428 ParagraphList::iterators to prevent multiple conversion
2429 (and get a more robust interface)
2431 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2433 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2435 * text3.C (dispatch): ditto
2437 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2439 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2440 move the onlyfile, use onlyfile instead of foundfile in a couple
2443 * DepTable.C (update): flush the error stream a bit more
2445 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2447 * lyxserver.C (callback): adjust
2449 * lyxfunc.C (getStatus): add a missing brace in commented code
2450 (ensureBufferClean): reindent
2451 (dispatch): delete version taking a string
2453 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2455 * LaTeX.C (deplog): move found file handlig from here...
2456 (handleFoundFile): .. to new function here.
2457 (deplog): make sure to discover several files mentioned on the
2460 2003-10-10 André Pönitz <poenitz@gmx.net>
2467 * text3.C: fix some of the tabular crashes
2469 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2471 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2473 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2475 2003-10-09 André Pönitz <poenitz@gmx.net>
2477 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2480 * BufferView_pimpl.C:
2481 * bufferview_funcs.C:
2492 * undo_funcs.C: adjust
2494 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2496 * text2.C (incrementItemDepth): new function, use a backtracking
2497 algorithm to discover the correct item depth.
2498 (resetEnumCounterIfNeeded): new function, use a backtracking
2499 algorithm to discover if counter reset is needed.
2500 (setCounter): use them. Simplify a bit. Add different labels for
2501 different item depths for itemize.
2503 * paragraph.C (Paragraph): remove initialization of enumdepth
2506 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2507 enumerate and itemize. Change the type of itemdepth to signed char.
2509 2003-10-08 André Pönitz <poenitz@gmx.net>
2511 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2516 * tabular.[Ch]: fix crash after 'row-insert'
2518 2003-10-08 Angus Leeming <leeming@lyx.org>
2520 Fix doxygen warnings.
2522 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2523 Remove CutAndPaste:: prefix from header file declaration.
2525 * LColor.h (fill): remove LColor:: prefix from declaration.
2527 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2528 use lyx::depth_type rather than Paragraph::depth_type so that
2529 header file and .C file match.
2531 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2533 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2534 * aspell.C: \file aspell_local.C -> \file aspell.C
2535 * gettext.C: \file gettext.C -> \file src/gettext.C
2536 * gettext.h: \file gettext.h -> \file src/gettext.h
2537 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2538 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2539 * text.C: \file text.C -> \file src/text.C
2541 * toc.C: move comment so that doxygen is not confused.
2543 2003-10-07 Angus Leeming <leeming@lyx.org>
2545 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2547 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2550 * aspell_local.h: add forgotten std::string's.
2552 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2559 * text3.C: The Box patch. Fancybox support, minipage, parbox
2561 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2567 * ParagraphParameters.h:
2577 * lyxtextclasslist.h:
2580 * paragraph_pimpl.C:
2581 * textcursor.h: add <string> and other small fixes to make Lars'
2582 std::string patch compile with STLport.
2584 2003-10-06 Angus Leeming <leeming@lyx.org>
2586 * LColor.h: Add missing #include <string>.
2588 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2590 * All most all file in all subdirs: Make <string> be the prefered
2591 way of getting to std::string, add using declarations.
2593 2003-10-06 André Pönitz <poenitz@gmx.net>
2595 * metricsinfo.C: initialize LyXFont before changing attribute.
2596 (fixes the 'math in \emph is upright' bug)
2598 2003-10-06 André Pönitz <poenitz@gmx.net>
2600 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2602 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2605 * paragraph_pimpl.C: Small fixes to build using STLport
2607 2003-10-02 André Pönitz <poenitz@gmx.net>
2610 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2612 2003-10-01 André Pönitz <poenitz@gmx.net>
2614 * factory.C: assert early
2616 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2618 * lyx_main.C: remove the global debug object
2620 * debug.h: adjust for new debugstream
2622 * debug.C: adjust for new debugstream and keep the global debug
2625 2003-09-22 Angus Leeming <leeming@lyx.org>
2627 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2628 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2629 an incomplete class LyXFont.
2631 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2633 * factory.C: bug fix in branches
2635 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2637 * lyxfunc.C (processKeySym): adjust
2639 (dispatch): change arg name from ev to func, adjust
2640 (sendDispatchMessage): ditto
2642 * lyx_main.C (defaultKeyBindings): adjust keybindings
2643 (deadKeyBindings): ditto
2645 * kbsequence.C (addkey): return a FuncRequest
2647 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2649 * kbmap.C (bind): take a FuncRequest as arg, adjust
2652 (defkey): change to take a FuncRequest as arg, adjust
2653 (findbinding): take a FuncRequest as arg, adjust.
2655 * funcrequest.h (operator=): added
2657 * funcrequest.C (FuncRequest): default kb_action changed from
2658 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2660 * buffer.C (dispatch): simplify
2661 (dispatch): adjust to take a FuncRequest as arg, adjust
2663 * boost.C (assertion_failed): change assertion message slightly
2665 * ToolbarBackend.C (read): simplify
2667 * MenuBackend.C (binding): adjust call to findbinding, add a
2668 message if no binding is found.
2670 (expandToc): correct by adding a empty FuncRequest
2672 * LyXAction.C: include <boost/assert.hpp>
2673 (isPseudoAction): delete function
2674 (LookupFunc): change name to...
2675 (lookupFunc): this. change return type to FuncRequest.
2676 (getActionName): take kb_action as arg, simplify
2677 (funcHasFlag): add an assert, simplify.
2679 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2681 * toc.C (action): return a FuncRequest, simplify
2683 * lyxfunc.C (processKeySym): adjust
2684 (getStatus): delete version that takes an int.
2686 (dispatch): delete version that takes action as int
2688 (sendDispatchMessage): simplify and adjust
2690 * funcrequest.C (getArg): take unsigned int as arg
2692 * ToolbarBackend.C (read): adjust
2693 (add): delete version that takes func as a string.
2694 (getIton): take a FuncRequest as arg
2696 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2699 * MenuBackend.C (MenuItem): add a new construct that only takes a
2700 Kind, simplify the constructor use for submenus.
2702 (expandLastfiles): adjust
2703 (expandDocuments): adjust
2704 (expandFormats): adjust
2705 (expandFloatListInsert): adjust
2706 (expandFloatInsert): adjust
2707 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2709 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2710 Remove class variables lyx_pseudo_map and lyx_arg_map
2712 * LyXAction.C (searchActionArg): delete function
2713 (getPseudoAction): delete function
2714 (retrieveActionArg): delete function
2715 (LookupFunc): make it return kb_action, simplify.
2716 (getActionName): simplify
2718 * factory.C (createInset): fix new bug
2720 2003-09-19 Angus Leeming <leeming@lyx.org>
2722 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2723 masterFilename_ parameter in the include inset.
2725 * factory.C (createInset): changes due to the changes to InsetInclude.
2727 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2729 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2731 2003-09-18 Angus Leeming <leeming@lyx.org>
2734 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2735 Inset::fillWithBibKeys.
2736 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2738 2003-09-18 Angus Leeming <leeming@lyx.org>
2740 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2742 (ctor): pass and store a 'Buffer const &'
2743 (buffer): new member function.
2745 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2746 '*this' to the LaTeXFeatures ctor.
2748 2003-09-18 Angus Leeming <leeming@lyx.org>
2754 * text.C: rename EnumLColor as LColor_color.
2756 2003-09-18 Angus Leeming <leeming@lyx.org>
2758 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2759 remove #include "insets/insetbase.h" from cursor.h.
2761 2003-09-18 Angus Leeming <leeming@lyx.org>
2763 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2764 InsetOld_code to remove #include "inset.h".
2766 * iterators.C: add #include "insets/inset.h"
2768 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2770 * BufferView.C: remove more locking stuff that apparently doesn't
2771 do anything sensible.
2773 2003-09-16 André Pönitz <poenitz@gmx.net>
2776 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2779 2003-09-16 Angus Leeming <leeming@lyx.org>
2781 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2783 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2786 * paragraph.h: remove #include "lyxfont.h". Forward declare
2789 2003-09-16 Angus Leeming <leeming@lyx.org>
2791 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2792 of support/textutils.h.
2793 (isWord): move the contents of support/textutils.h's IsWordChar here.
2799 * text2.C: add #include "paragraph.h".
2802 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2804 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2810 * LaTeX.C: use namespace alias for lyx::support::os
2812 2003-09-16 Angus Leeming <leeming@lyx.org>
2815 * bufferview_funcs.C:
2818 * paragraph_pimpl.C:
2820 * text.C: add #include "LColor.h".
2822 2003-09-16 Angus Leeming <leeming@lyx.org>
2824 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2825 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2827 Store the FontBits::color variable as an int rather than as an
2828 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2831 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2832 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2833 string calls together.
2835 * lyxrc.C: add #include "LColor.h".
2837 2003-09-15 Angus Leeming <leeming@lyx.org>
2839 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2842 2003-09-15 Angus Leeming <leeming@lyx.org>
2844 * LColor.h: add an EnumLColor wrapper for LColor::color.
2846 * lyxfont.[Ch] (color, setColor, realColor):
2847 * lyxtext.h, text.C (backgroundColor):
2848 pass EnumLColor args to/from the functions, rather than LColor::color
2852 * lyxtext.h: forward declare EnumLColor.
2854 * lyx_main.C: add #include "LColor.h".
2856 2003-09-15 Angus Leeming <leeming@lyx.org>
2858 * .cvsignore: add lyx-gtk.
2860 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2865 * ParagraphParameters.C
2869 * bufferview_funcs.C
2879 * vc-backend.C: remove usage of STRCONV
2881 2003-09-15 Angus Leeming <leeming@lyx.org>
2883 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2884 explicitly define the color passed to the painter.
2886 2003-09-15 Angus Leeming <leeming@lyx.org>
2888 * bufferparams.C (BufferParams): reorder member initializers to avoid
2891 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2893 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2894 * text.C (updateRowPositions): remove an unusual nop
2896 2003-09-12 André Pönitz <poenitz@gmx.net>
2898 * BufferView_pimpl.C:
2907 * Counters.[Ch]: finish the 'automatic counters' job
2909 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2911 * aspell.C: include <boost/assert.cpp> (compile fix)
2913 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2915 * boost.C (assertion_failed): use lyx::support::abort instead of
2918 2003-09-10 Angus Leeming <leeming@lyx.org>
2920 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2921 with their _fwd progeny.
2923 2003-09-09 Angus Leeming <leeming@lyx.org>
2925 134 files throughtout the source tree: replace 'using namespace abc;'
2926 directives with the appropriate 'using abc::xyz;' declarations.
2928 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2930 * boost.C (emergencyCleanup): moved here from LAssert.c
2931 (assertion_failed): new function, called by BOOST_ASSERT
2933 * several files: change Assert to BOOST_ASSERT
2935 2003-09-09 Angus Leeming <leeming@lyx.org>
2937 * buffer.[Ch]: Add an Impl class and move Buffer's member
2938 variables into it. As a result move several header files out of
2941 Add header files to lots of .C files all over the tree as a result.
2943 2003-09-09 Angus Leeming <leeming@lyx.org>
2945 * buffer.[Ch]: make Buffer's member variables private. Add
2948 Lots of changes all over the tree as a result.
2950 2003-09-08 Angus Leeming <leeming@lyx.org>
2952 * graph.C: #include <config.h>.
2954 2003-09-08 Angus Leeming <leeming@lyx.org>
2958 * BufferView_pimpl.C:
2987 * toc.C: remove redundant using directives.
2989 2003-09-07 Angus Leeming <leeming@lyx.org>
2991 * LaTeXFeatures.h: remove #include "support/types.h".
2992 * ToolbarBackend.h: remove #include <algorithm>.
2993 * changes.h: remove #include <ctime>.
2994 * debug.h: remove #include <iosfwd>.
2995 * graph.h: remove #include "support/std_string.h".
2996 * lyx_main.h: remove #include <csignal>.
2997 * lyxlex_pimpl.h: remove #include <fstream>.
2998 * sgml.h: remove #include <algorithm>, <utility>.
2999 * toc.h: remove #include "support/std_ostream.h".
3000 Add #include <iosfwd>.
3002 2003-09-07 Angus Leeming <leeming@lyx.org>
3004 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3006 * converter.h: forward declare LatexRunParams.
3007 * encoding.h: remove #include "lyxrc.h".
3008 * lyxtext.h: remove #include "LColor.h".
3009 * lyxtextclass.h: remove #include "support/types.h".
3010 * trans.h: remove #include "tex-accent.h".
3011 * trans_mgr.h: remove #include "tex-accent.h".
3012 * insets/inset.h: remove #include "support/types.h", <vector>.
3013 * insets/insetcollapsable.h: remove #include "LColor.h".
3014 * insets/insetinclude.h: remove #include "dimension.h".
3015 * insets/insetlatexaccent.h: remove #include "dimension.h".
3016 * insets/insetoptarg.h:: remove #include "insettext.h".
3017 * insets/insettext.h: remove #include "dimension.h",
3018 <boost/shared_ptr.hpp>
3020 * insets/renderers.h: add #include "dimension.h".
3021 * insets/updatableinset.h: add #include "support/types.h".
3023 * many .C files: Associated changes.
3025 2003-09-06 Angus Leeming <leeming@lyx.org>
3027 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3028 one, inside testInvariant.
3030 * PrinterParams.C: new file.
3031 * PrinterParams.[Ch]: move the function bodies out of line.
3033 2003-09-06 Angus Leeming <leeming@lyx.org>
3035 * ParagraphParameters.h: forward declare ParameterStruct rather than
3036 including its header file.
3037 (depth): moved out-of-line.
3039 2003-09-06 Angus Leeming <leeming@lyx.org>
3041 * BufferView_pimpl.h:
3044 * lyxfunc.h: forward declare LyXKeySym rather than
3045 #include "frontends/LyXKeySym.h".
3047 * BufferView_pimpl.C:
3050 * lyxfunc.C: associated changes.
3052 2003-09-06 Angus Leeming <leeming@lyx.org>
3054 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3055 As a result, can remove the #include "insets/inset.h" from BufferView.h
3057 2003-09-06 Angus Leeming <leeming@lyx.org>
3059 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3060 As a result, can remove the #include "insets/inset.h" from BufferView.h
3062 2003-09-06 Angus Leeming <leeming@lyx.org>
3068 * bufferview_funcs.C:
3069 * BufferView_pimpl.C:
3074 * ParagraphParameters.C:
3079 * frontends/controllers/ControlDocument.C:
3080 * insets/insetcaption.C: rearrange the #includes into some sort of
3083 * buffer.h: remove #includes ErrorList.h, undo.h
3085 2003-09-06 Angus Leeming <leeming@lyx.org>
3087 * support/types.h: add a 'depth_type' typedef, used to store the
3088 nesting depth of a paragraph.
3091 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3092 defining explicitly.
3095 * paragraph_funcs.h:
3096 * ParagraphParameters.h:
3097 * sgml.h: use lyx::depth_type rather than Paragraph or
3098 ParameterStruct's depth_type.
3101 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3104 * BufferView_pimpl.C:
3106 * ParagraphParameters.C:
3109 * bufferview_funcs.C:
3116 * frontends/LyXView.C:
3117 * frontends/controllers/ControlDocument.C:
3118 * frontends/controllers/ControlErrorList.C:
3119 * insets/insetbibitem.C:
3120 * insets/insetbranch.C:
3121 * insets/insetcaption.C:
3122 * insets/insetcollapsable.C:
3123 * insets/insetenv.C:
3124 * insets/insetert.C:
3125 * insets/insetfloat.C:
3126 * insets/insetfoot.C:
3127 * insets/insetfootlike.C:
3128 * insets/insetnewline.C:
3129 * insets/insetquotes.C:
3130 * insets/insettabular.C:
3131 * insets/insettext.C:
3132 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3134 * frontends/controllers/ControlChanges.C: #include "changes.h".
3136 2003-09-06 Angus Leeming <leeming@lyx.org>
3138 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3139 than #including paragraph.h.
3142 * RowList.h: deleted. Superfluous.
3152 * insets/insettext.h: use ParagraphList_fwd.h rather than
3155 * paragraph.h: don't forward declare ParagraphList.
3158 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3159 rather than ParagraphList.h. paragraph.h is still needed for the
3160 Paragraph::depth_type parameters.
3162 * textcursor.h: enable it to compile stand-alone in light of the
3165 * bufferview_funcs.C:
3177 * frontends/controllers/ControlParagraph.C:
3178 * frontends/controllers/ControlTabular.C:
3179 * insets/insetmarginal.C:
3180 * insets/insetminipage.C:
3181 * insets/insetnote.C:
3182 * insets/insetoptarg.C: add header files needed to compile again.
3184 2003-09-06 Angus Leeming <leeming@lyx.org>
3186 * RowList_fwd.h: new file, forward-declaring Row rather than
3187 #including lyxrow.h.
3192 * insets/insettext.h: use it instead of RowList.h
3194 * bufferview_funcs.C:
3201 * text3.C: #include "RowList.h".
3203 2003-09-05 Angus Leeming <leeming@lyx.org>
3205 * factory.C (createInset):
3206 * vspace.C (c-tor): replace sscanf call with an istringstream.
3207 * ispell.C: re-add missing HP/UX headers.
3208 * lyxserver.C: re-add missing os2 headers.
3210 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3219 * text3.C: re-add missing system headers, needed for 2.95.2.
3221 2003-09-05 Angus Leeming <leeming@lyx.org>
3223 Changes most place everywhere due to the removal of using directives
3224 from support/std_sstream.h.
3226 2003-09-05 Angus Leeming <leeming@lyx.org>
3228 Replace LString.h with support/std_string.h,
3229 Lsstream.h with support/std_sstream.h,
3230 support/LIstream.h with support/std_istream.h,
3231 support/LOstream.h with support/std_ostream.h.
3233 Changes resulting throughout the tree.
3235 2003-09-05 Angus Leeming <leeming@lyx.org>
3237 * sgml.h: ensure that the header file can be compiled stand-alone.
3238 * *.C: strip out redundant #includes. (320 in total.)
3240 2003-09-04 Angus Leeming <leeming@lyx.org>
3242 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3243 here (from getPackages).
3245 * debug.[Ch]: add a new EXTERNAL tag.
3247 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3249 * text2.C (cursorEnd): simplify
3251 (getColumnNearX): adjust
3253 * text.C (computeBidiTables): adjust
3256 * rowpainter.C (paintChars): adjust
3257 (paintSelection): adjust
3258 (paintChangeBar): adjust
3261 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3263 (numberOfSeparators): adjust
3265 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3271 * text3.C: Restricts the mouse click functionality
3272 of insets like bibtex, include, toc and floatlist to the visible
3273 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3274 up the dialogs. Cursor has to be in front of the inset (i.e.
3275 start of row) for this to function.
3277 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3279 * bufferview_funcs.C (currentState): output row information
3281 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3283 * bufferview_funcs.C (currentState): output paragraph position
3285 2003-09-04 Angus Leeming <leeming@lyx.org>
3287 * FloatList.h: move out #include "Floating.h".
3288 * LaTeX.h: move out #include "DepTable.h".
3289 * LyXAction.h: move out #include "funcrequest.h".
3290 * buffer.h: move out #include "author.h", "iterators.h".
3291 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3292 * lyx_main.h: move out #include "errorlist.h".
3293 * lyxfunc.h: move out #include "FuncStatus.h".
3294 * lyxtext: move out #include "lyxcursor.h".
3295 * paragraph_pimpl.h: move out #include "counters.h".
3297 2003-09-03 Angus Leeming <leeming@lyx.org>
3299 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3300 preamble_snippets list, enabling us to add snippets to the preamble
3301 only if the snippet was not there already.
3303 2003-09-04 Angus Leeming <leeming@lyx.org>
3305 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3307 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3309 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3312 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3314 * BranchList.C: point fix, earlier forgotten
3316 2003-09-02 Angus Leeming <leeming@lyx.org>
3318 * box.C (contains): renamed from 'contained' after a fantastic
3321 2003-09-02 John Levon <levon@movementarian.org>
3327 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3329 2003-09-02 John Levon <levon@movementarian.org>
3331 * text2.C: simplification of cursorEnd(), including partial
3334 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3336 * buffer.C (readFile): add a space
3338 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3340 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3342 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3344 * buffer.C (readFile): new function, take a filename and a
3345 ParagraphList::iterator
3347 (readFile): adjust, make it private. don't use setStream, make
3348 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3349 always contain the filename.
3351 * BufferView.C (insertLyXFile): simplify and make it work for
3354 2003-08-30 John Levon <levon@movementarian.org>
3356 * Makefile.am: fix dist (from Kayvan)
3358 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3360 * most files: change to use const Buffer refs
3362 2003-08-27 André Pönitz <poenitz@gmx.net>
3364 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3365 on top of ownerPar().
3367 2003-08-27 John Levon <levon@movementarian.org>
3369 * funcrequest.C: properly initialise POD members
3371 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3373 * lyxtext.h (top_y): move top_y from here
3378 * BufferView_pimpl.[Ch]: to here
3379 * frontends/screen.C:
3380 * insets/insettabular.C:
3381 * insets/insettext.C: adjust
3382 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3384 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3387 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3389 2003-08-26 André Pönitz <poenitz@gmx.net>
3391 * paragraph_func.[Ch] (outerPar): new function
3394 * paragraph_funcs.C:
3395 * paragraph_funcs.h:
3396 * paragraph_pimpl.C:
3397 * text2.C: remove Inset::par_owner
3399 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3404 * text2.C: eliminates the needFullRow/display() stuff
3405 altogether, putting the logic in metrics/draw in the insets.
3407 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3409 * text2.C (redoParagraphInternal, redoParagraphs):
3410 * text.C (redoParagraph): add a call to updateRowPositions at the
3411 end of each 'metrics-like' call. Remove all others.
3412 (getRow): remove the 'y-computing' version.
3413 (getRowNearY): do not compute nor return the real y. Solve the
3414 'y < 0' problem and simplify.
3416 2003-08-22 Angus Leeming <leeming@lyx.org>
3418 * *.[Ch]: clean-up of licence and author blurbs.
3419 Also move config.h out of a few .h files and into a few .C files.
3421 2003-08-22 André Pönitz <poenitz@gmx.net>
3423 * lyxrow.[Ch]: add x_ and *fill_ members
3428 * text2.C: adjust/remove prepareToPrint() calls
3430 2003-08-22 André Pönitz <poenitz@gmx.net>
3432 * lyxrow.[Ch]: add end_ member
3434 * lyxrow_funcs.C: use LyXRow::end_
3436 * lyxtext.h (singleWidth): add LyXFont parameter
3439 * text2.C: adjust LyXText::singleWidth() calls
3441 * text.C (redoParagraph): simplify row breaking logic
3444 2003-08-19 André Pönitz <poenitz@gmx.net>
3446 * funcrequest.C: initialize button_ member
3449 * rowpainter.[Ch]: interface consolidation
3451 2003-08-18 André Pönitz <poenitz@gmx.net>
3454 * BufferView_pimpl.C:
3456 * paragraph_funcs.C:
3458 * text3.C: remove LyXScreen::draw() and fitCursor calls
3460 * BranchList.h: remove spurious semicolons
3462 * MenuBackend.C: fix branchlist related crash
3464 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3472 * bufferparams.[Ch]:
3476 * text3.C: implements the 'branch inset'
3477 idea. This allows the output of various versions of a document
3478 from a single source version, selectively outputing or suppressing
3479 output of parts of the text.
3480 This implementation contains a 'branch list editor' in a separate
3481 tab of the document settings dialog. Branches are user definable
3482 and have a "display colour" to distinguish them on-screen.
3484 ColorHandler was somewhat cleaned up.
3485 (1) make possible a dynamically growing LColor list by allowing
3486 the graphic context cache to grow along (vector);
3487 (2) eliminate an IMHO unnecessary step in colour allocation.
3489 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3491 * BufferView_pimpl.C: compile fix
3493 2003-08-15 André Pönitz <poenitz@gmx.net>
3495 * rowpainter.C: remove extra metrics calls
3497 * lyxtext.h: merge the two constructors into a single one,
3498 pass reference to owner's par list
3500 * BufferView_pimpl.C:
3504 2003-08-15 André Pönitz <poenitz@gmx.net>
3506 * lyxrow_funcs.[Ch]:
3509 * paragraph_funcs.C:
3514 * text_funcs.C: split LyXText::rowlist_ into individual
3515 Paragraph::rows_ chunks
3518 * BufferView_pimpl.[Ch]:
3521 * text3.C: remove toggleSelection()
3523 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3525 * bufferlist.C: beautify two alerts (shorter text of buttons)
3526 * buffer.C: Remove redundant ' ' from message
3528 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3529 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3530 rename VALIGN_CENTER to VALIGN_MIDDLE
3532 2003-08-11 André Pönitz <poenitz@gmx.net>
3534 * lyxtext.h (getPar):
3535 * text.C: new function
3537 2003-08-11 André Pönitz <poenitz@gmx.net>
3540 * tracer.[Ch]: remove unneeded files
3542 * InsetList.[Ch]: remove resizeInsetsLyXText()
3547 * text3.C: merge insertParagraphs() and appendParagraph()
3548 remove breakAgain(), update()
3550 * BufferView_pimpl.[Ch]:
3551 * bufferview_funcs.[Ch]:
3555 * tabular.C: adjust after text & InsetList changes.
3557 2003-08-08 André Pönitz <poenitz@gmx.net>
3559 * text.C (insertChar, backspace): replace rowlist fiddling
3560 with rebreak of full par
3563 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3564 checkParagraph, updateInset): removed
3566 2003-08-07 André Pönitz <poenitz@gmx.net>
3569 * text3.C: merge some LFUN handlers, remove dead code
3571 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3573 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3575 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3577 * text2.C (DEPM): fix part of bug 1255 and 1256
3579 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3581 * BufferView_pimpl.C (workAreaDispatch): change to use
3582 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3583 that are no mouse related.
3585 2003-08-05 André Pönitz <poenitz@gmx.net>
3588 * BufferView_pimpl.[Ch]:
3589 * bufferview_funcs.C:
3591 * text3.C: rip out "deep update"
3593 * textcursor.[Ch] (last_sel_cursor): remove unused member
3595 2003-08-04 André Pönitz <poenitz@gmx.net>
3598 * BufferView_pimpl.[Ch]:
3599 * ParagraphParameters.C:
3600 * bufferview_funcs.C:
3606 * text3.C: replace "complicated" BufferView::update(...) calls with
3609 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3611 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3613 * Makefile.am (lyx_SOURCES): add paper.h
3615 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3617 * Makefile.am: move things around so that both lyx-qt and
3618 lyx-xforms can be built (according to --with-frontend). Then lyx
3619 is a symbolic link to lyx-[firstfrontend]
3621 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3623 * Always use std::endl with lyxerr
3625 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3627 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3629 2003-08-01 André Pönitz <poenitz@gmx.net>
3632 * BufferView_pimpl.[Ch]:
3634 * text3.C: merge BufferView::repaint() and BufferView::update()
3636 2003-08-01 José Matos <jamatos@lyx.org>
3638 * buffer.[Ch]: file_format is no longer a buffer data element.
3640 2003-08-01 André Pönitz <poenitz@gmx.net>
3645 * text2.C: make redoParagraph more independent of current cursor
3647 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3649 * text2.C: remove unneeded members
3651 2003-07-30 André Pönitz <poenitz@gmx.net>
3653 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3655 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3656 create a single function...
3658 * paragraph_funcs.C (moveItem): ... here.
3661 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3663 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3665 * LColor.[Ch]: Add comment and greyedout logical colors.
3667 2003-07-30 André Pönitz <poenitz@gmx.net>
3669 * tabular.C: don't use Assert too heavily. This crashes where it
3672 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3674 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3675 is disabled (bug 1232)
3677 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3679 * factory.C: limited 'arg' scope
3681 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3683 * factory.C: fixed Note submenu issues
3685 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3687 * factory.C: submenu for Note/Comment/Greyedout
3689 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3692 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3694 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3697 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3698 greyedout. Patch provided by Jürgen Spitzmüller.
3700 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3702 * kbmap.C (read): fix error message when reading bind files
3704 2003-07-29 Angus Leeming <leeming@lyx.org>
3706 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3707 certainly does not do what it purports to do. I am doing it, and
3708 us, a favour by killing it.
3710 2003-07-28 José Matos <jamatos@lyx.org>
3712 * buffer.C (readBody, do_writeFile):
3713 * paragraph.C(readParagraph): \end_document replaces \the_end.
3715 2003-07-29 André Pönitz <poenitz@gmx.net>
3718 * BufferView_pimpl.[Ch]:
3722 * textcursor.[Ch]: remove toggleToggle & Co
3724 2003-07-28 José Matos <jamatos@fep.up.pt>
3726 * buffer.C (readParagraph):
3727 * params_func (readParToken, readParagraph):
3728 * paragraph.C (write): \layout -> \begin_layout.
3730 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3732 * lyxlex_pimpl.C (setFile): clean up slightly.
3734 * bufferparams.h: add compressed var
3736 * buffer_funcs.C (readFile): adjust for LyXLex change
3737 (newFile): ditto + simplify
3739 * buffer.C (writeFile): handle writing of compressed files
3741 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3742 Check if the file is compressed and set a bufferparm if so.
3744 * Makefile.am (lyx_LDADD): remove explicit -lz
3746 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3748 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3749 makeDocBookFile): put the real LyX version in the first line of
3753 * version.C.in: remove lyx_docversion
3755 * tabular.C (write_attribute): add a template-based version to
3756 write enums properly
3758 2003-07-28 André Pönitz <poenitz@gmx.net>
3763 * text3.C: use doubles again for x-coordinates. They are needed.
3765 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3767 * messages.C (getLocaleDir): use lyx_localedir()
3769 * lyxlex_pimpl.C (setFile): compress stuff
3771 * buffer.C (writeFile): add some compression stuff
3772 (do_writeFile): new func, dont call expliti close... will this
3775 * Makefile.am (lyx_LDADD): add -lz
3777 2003-07-28 José Matos <jamatos@fep.up.pt>
3779 * buffer.C: increment file format.
3780 * paragraph_funcs (readParagraph, readParToken):
3781 * paragraph.C (readParagraph): add \end_layout.
3783 2003-07-27 Angus Leeming <leeming@lyx.org>
3785 * Makefile.am: remove special casing for configure-time setting of
3786 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3788 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3789 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3791 2003-07-26 André Pönitz <poenitz@gmx.net>
3793 * paragraph_func.[Ch]:
3794 * paragraph.C (realizeFont): inline it whereever it is used
3799 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3802 2003-07-26 André Pönitz <poenitz@gmx.net>
3806 * text2.C: get rid of LyXText::need_break_row
3808 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3810 * toc.[Ch]: put namespace toc inside namespace lyx
3812 * MenuBackend.C (expandToc2): adjust for lyx::toc
3815 * lyxfunc.C (dispatch): adjust for lyx::find
3817 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3818 lyx::find instead. Reorganize a bit.
3819 (LyXReplace): rename to replace
3820 (LyXFind): rename to find
3822 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3825 2003-07-26 André Pönitz <poenitz@gmx.net>
3827 * text.C (setHeightOfRow): restrict scope of temporary variable
3829 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3830 code (never has been used?)
3832 2003-07-27 Asger Alstrup <alstrup@local>
3834 * text.C (fill): Optimise algorithm to exploit that we can reuse
3835 the LyXFont for many characters.
3836 (setHeightOfRow): Same thing.
3837 (rowBreakPoint): Same thing.
3839 2003-07-26 Asger Alstrup <alstrup@local>
3841 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3843 * text.C (singleWidth): Spurious font copying in hot-spot
3844 singleWidth avoided. Reorder tests for arabic for efficiency.
3846 * text.C (fill): handle empty paragraphs better.
3848 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3851 * encoding.h: add includes
3853 * lyxrc.C: remove reading of bind files
3855 * lyx_main.C (init): setup bindings and menus only if we have a
3858 * kbmap.C (read): new method. Do the actual reading of bind
3861 * converter.C (dvipdfm_options):
3864 (output): adapt PAPER_* enums.
3866 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3868 * bufferparams.h: remove paper-related enums from there
3870 * paper.h: New file. A trivial header file to hold paper-related
3871 enums. It should later expand to contain many paper-related
3874 * lyxrc.C: declare extern displayTranslator
3876 2003-07-27 José Matos <jamatos@fep.up.pt>
3878 * tabular.[Ch] (linuxdoc): add support for tables and figures
3881 2003-07-27 José Matos <jamatos@fep.up.pt>
3883 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3884 consistency in both functions.
3885 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3887 2003-07-26 Asger Alstrup <alstrup@local>
3889 * rowpainter.C (paintRows): Change algorithm to work directly on
3890 the insets rather than asking every character in the document
3891 whether its an inset.
3893 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3895 * buffer.C (openFileWrite): factorize some code
3897 2003-07-26 Angus Leeming <leeming@lyx.org>
3900 * lyx_main.[Ch]: replace occurances of system_tempdir with
3903 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3905 * rename Inset to InsetOld
3907 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3909 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3910 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3911 which I think is a bit clearer. EDIT is gone, since it was
3912 premature optimisation, and broken for mathed anyway.
3913 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3914 with cursor positioning in insets as well (math insets still do not
3915 work, but that's a different story anyway.) It mysteriously
3916 crashes sometimes with undo in the first paragraph, but I'm fairly
3917 confident that this is a compiler bug.
3919 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3921 * paragraph.C (Paragraph): adjust for new clone return type
3923 (copyIntoMinibuffer): ditto
3925 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3927 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3928 by not having a special case, and always doing a full rebreak of
3929 the document after undo.
3931 2003-07-23 Angus Leeming <leeming@lyx.org>
3933 * factory.C (createInset): InsetExternal::setParams now takes a
3936 2003-07-23 Angus Leeming <leeming@lyx.org>
3938 * factory.C (createInset): changed interface to the external and
3939 graphics mailers' string2params functions.
3941 2003-07-23 Angus Leeming <leeming@lyx.org>
3943 * factory.C (createInset): pass a
3944 Buffer const * parameter to InsetExternalMailer's string2params.
3946 2003-07-22 John Levon <levon@movementarian.org>
3948 * Thesaurus.h: include the right aiksaurus header
3950 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3952 * MenuBackend.C (expand): check menu shortcuts unconditionally
3954 2003-07-21 Angus Leeming <leeming@lyx.org>
3956 * factory.C (createInset): pass a
3957 buffer_path parameter to InsetGraphicsMailer's string2params.
3959 2003-07-21 Angus Leeming <leeming@lyx.org>
3961 * BufferView_pimpl.C (buffer):
3964 * lyxfunc.C (dispatch):
3965 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3966 rather than the grfx shortcut.
3968 2003-07-21 André Pönitz <poenitz@gmx.net>
3970 * rowpainter.C: remove unused variables
3973 * tabular_funcs.h: move to tabular.C
3974 * Makefile.am: adjust
3976 * tabular.[Ch]: basic optical cleaning
3978 * author.h: pass references, not values
3980 2003-07-18 André Pönitz <poenitz@gmx.net>
3988 * text3.C: two-phase drawing for InsetText and InsetTabular
3989 some float -> int changes.
3991 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3993 * lyx_main.C: fix the fix
3995 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3997 * lyx_main.C: fix a crash in batch mode if no files specified
4000 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4002 * format.[Ch] (papersize): moved to BufferParams
4003 * converter.[Ch] (dvips_options): moved to BufferParams
4004 (dvipdfm_options): moved to anon namespace
4005 * bufferparams.[Ch]: added above functions.
4007 2003-07-17 André Pönitz <poenitz@gmx.net>
4011 * text2.C: don't call inset->update() anymore
4013 * metricsinfo.[Ch]: add convenience constructor
4015 2003-07-16 André Pönitz <poenitz@gmx.net>
4020 * text2.C: replace the LyXCursor::irow_ member with
4021 on-demand computation of the value
4023 2003-07-16 John Levon <levon@movementarian.org>
4025 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4027 2003-07-15 André Pönitz <poenitz@gmx.net>
4030 * text2.C: remove no more needed refresh_row
4032 2003-07-15 André Pönitz <poenitz@gmx.net>
4037 * text3.C: refresh_status tristate -> need_update bool
4039 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4041 * lyxtext.h (init): remove reinit argument (act as if always true)
4042 * text2.C: adjust to that
4044 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4046 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4047 * text3.C: use it to delete selections in some cases
4048 (bugs 441, 673, 702, 954).
4050 2003-07-14 André Pönitz <poenitz@gmx.net>
4052 * rowpainter.[Ch]: reduce interface
4054 2003-07-14 André Pönitz <poenitz@gmx.net>
4056 * BufferView_pimpl.C:
4057 * text2.C: adjust after removing unused BufferView * argument
4059 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4061 * text2.C (init): fix a crash fired on resize
4063 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4065 * buffer.[Ch]: added new closing signal
4066 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4067 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4068 BufferView::Pimpl via the closing the signal
4070 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4072 * buffer.[Ch]: take out all bv-related from buffer
4074 * BufferView_pimpl.[Ch]: connect to new signals
4075 * CutAndPaste.C: removed useless asserts
4076 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4079 * lyxfunc.C: moved view-related funciontality from vc here
4080 * paragraph.C: removed outdated comments
4083 2003-07-10 André Pönitz <poenitz@gmx.net>
4085 * BufferView_pimpl.C:
4089 * text2.C: remove InsetText::InnerCache, clean up consequences
4091 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4093 * ispell.C: fix two typos in error messages
4095 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4097 * Extend Note inset to other forms of annotation like Comment
4098 and Greyedout. Right button click gives dialog.
4100 Files modified or added (+):
4104 * ControlNote.[Ch] +
4106 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4107 frontends/controllers
4111 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4113 * aspell.C: add missing namespace lyx::support
4115 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4117 * BufferView.[Ch] (newFile): Add
4118 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4119 * LaTeX.[Ch] (message): added this signal and use it
4120 * buffer.[Ch] (busy, message): added these signals and use them
4121 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4125 * importer.C: use buffer signals instead of direct bv calling
4126 * lyx_cb.[Ch] (ShowMessage): removed
4129 * paragraph_funcs.C:
4130 * text2.C: use buffer signals
4132 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4134 * introduce namespace lyx::graphics
4136 2003-07-02 André Pönitz <poenitz@gmx.net>
4138 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4140 2003-07-01 André Pönitz <poenitz@gmx.net>
4147 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4148 text*.C to text_func.C
4150 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4152 * introduce namespace lyx::support
4154 2003-06-30 André Pönitz <poenitz@gmx.net>
4159 * text.C: re-enable --with-included-string
4161 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4163 * textcursor.C: add <config.h>
4165 * text.C (getWord): remove const from word_location arg
4167 * lyxvc.C (getLogFile): fix const type order
4169 * lyxtext.h: remove const from word_location arg, add arg name
4171 * lyxlayout.h: currect type on labeltype.
4173 * importer.C: correct \file
4175 * converter.C (intToFormat): use std:: on ret val, ws changes
4177 * bufferlist.h: correct \file
4179 * buffer.C (makeLinuxDocFile): fix const type order
4180 (makeDocBookFile): ditto
4181 (fillWithBibKeys): use std:: on stdlib args.
4183 * CutAndPaste.C: fix authors.
4184 (availableSelections): use std:: on return vector
4186 2003-06-27 André Pönitz <poenitz@gmx.net>
4188 * BufferView_pimpl.C:
4189 * bufferview_funcs.C:
4197 * text3.C: remove LyXCursor::row_ member
4200 * text.C: rename fullRebreak() to partialRebreak() and implement
4201 a fullRebreak() that really bereks fully
4203 * textcursor.h: new struct for cursor-related data
4205 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4207 * lyx_main.C (LyX): get full path of document loaded on the
4210 2003-06-26 André Pönitz <poenitz@gmx.net>
4212 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4213 remove unused/broken operator>,<,>=.
4215 * text.C: remove only use of broken operator<= in an Assert().
4217 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4219 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4220 moved errorlist_.clear to showErrorList
4222 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4224 * converter.C (scanLog, runLaTeX):
4225 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4226 move the bv->showErrorList call to the callers
4227 * lyxfunc.C: i.e. here...
4229 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4230 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4231 namespace, the second to...
4232 * buffer_funcs (BufferFormat, parseErrors): added
4233 * errorlist.C (ErrorList(TeXErrors const &)): removed
4235 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4237 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4239 2003-06-24 "Garst R. Reese" <reese@isn.net>
4243 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4245 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4247 * version.C.in: change docversion to 1.4
4249 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4251 * buffer.C: fix a bug just introduced
4253 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4255 * buffer.[Ch]: added the parseError signal and use it, removed
4257 * BufferView.[Ch] (addError): moved to ...
4258 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4259 to the Buffer::parseError signal to catch (guess what) parse errors
4260 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4262 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4264 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4265 ability to create a buffer and to return an existing one from
4266 the list. Moved these functions to...
4267 * buffer_funcs.[Ch]: added
4268 * BufferView.[Ch] (loadLyXFile): added
4269 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4270 job removed from bufferlist::loadLyXFile.
4271 * buffer.C (setReadOnly): make it work without view
4272 (i.e added an if (users))
4274 2003-06-19 Angus Leeming <leeming@lyx.org>
4277 * LyXAction.C (init):
4278 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4279 with LFUN_DIALOG_SHOW <name> <data>.
4281 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4283 * CutAndPaste.C (availableSelections): small compilation fix for
4284 ancient (gcc 2.9x) compilers
4286 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4288 * text3.C (cursorNext): add tmp var
4290 * text2.C (updateCounters): for function calling out of for clause
4291 (replaceSelectionWithString): ditto
4292 (insertStringAsParagraphs): ditto
4293 (getColumnNearX): add tmp var
4294 (setCursorFromCoordinates): add tmp var
4295 (cursorDownParagraph): add tmp var
4296 (deleteEmptyParagraphMechanism): add tmp var
4298 * text.C (insertChar): add tmp var
4300 * rowpainter.C (paintDepthBar): add tmp var
4302 * CutAndPaste.C (availableSelections): potentially check all
4303 paragraphs in a cut to fill the shown strings.
4305 2003-06-18 André Pönitz <poenitz@gmx.net>
4307 * kbmap.[Ch]: use vector<> instead of list<>
4309 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4311 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4312 pasteSelection with index
4314 * text2.C (pasteSelection): modify, call pasteSelection with index
4316 * paragraph.C (asString): reimplement version with no interval to
4317 call the one with interval.
4319 * lyxtext.h: add index arg to pasteSelection
4321 * MenuBackend.C (MenuItem): handle PasteRecent
4322 (Menu::read::Menutags): add md_pasterecent
4324 (expandPasteRecent): new function
4327 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4329 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4331 (availableSelections): new function
4333 2003-06-17 Angus Leeming <leeming@lyx.org>
4335 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4337 2003-06-17 Angus Leeming <leeming@lyx.org>
4340 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4342 * lyxfunc.C (dispatch): invoke it.
4344 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4346 * iterators.C (operator++, ParPosition): reintroduce some
4347 const_cast for the benefit of older compilers.
4349 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4351 * text3.C (dispatch): do not modify clipboard when doing
4352 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4353 LFUN_DELETE_SKIP on a selection selection
4355 2003-06-16 André Pönitz <poenitz@gmx.net>
4361 * tabular.[Ch]: IU of clone() and getLabelList();
4363 2003-06-13 André Pönitz <poenitz@gmx.net>
4365 * tabular.h: compactification
4367 2003-06-12 André Pönitz <poenitz@gmx.net>
4371 * tabular_funcs.h: some renaming plus whitespace
4373 2003-06-12 André Pönitz <poenitz@gmx.net>
4376 * BufferView_pimpl.C:
4382 * toc.C: Return a Paragraph & for ParIterator::operator*()
4384 2003-06-11 John Levon <levon@movementarian.org>
4388 * ToolbarBackend.C: add "Toolbars" section and
4391 2003-06-10 Angus Leeming <leeming@lyx.org>
4394 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4396 * lyxfunc.C (dispatch): invoke it.
4398 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4400 * main.C: protect <ios> with HAVE_IOS
4401 (main): protect sync_with_stdio with HAVE_IOS
4403 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4405 * text2.C (cutSelection): adjust
4406 (pasteSelection): adjust
4408 * messages.C: handle get of empty string
4410 * main.C (main): use sync_with_stdio(false)
4412 * lyxfunc.C (dispatch): adjust
4414 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4415 (WriteAs): remove unneeded BufferView arg.
4417 * bufferparams.h: use correct types on papersize, papersize2 and
4420 * bufferparams.C (readToken): adjust for type
4421 (writeLaTeX): add missing cases to switch.
4423 * bufferlist.C (quitWriteBuffer): adjust
4426 * buffer.C (asciiParagraph): remove some commented code.
4428 * CutAndPaste.C: remove current_view extern variable.
4429 (cutSelection): add BufferParams arg.
4430 (eraseSelection): add BufferParams arg.
4431 (pasteSelection): add Buffer const & arg
4433 2003-06-07 John Levon <levon@movementarian.org>
4436 * paragraph_funcs.C:
4437 * paragraph_pimpl.C:
4441 * paragraph.C: allow InsetERT to freely space lines,
4442 and some consolidation of code
4444 2003-06-06 José Matos <jamatos@fep.up.pt>
4446 * buffer.C (makeDocBookFile): fix bug #821
4448 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4450 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4452 2003-06-04 Angus Leeming <leeming@lyx.org>
4454 * buffer.C: bump format to 224.
4456 2003-06-05 André Pönitz <poenitz@gmx.net>
4458 * text2.C (redoParagraphs): remove two const_cast<>
4460 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4462 * ParagraphList.h: remove last remnants of NO_STD_LIST
4464 2003-06-03 Angus Leeming <leeming@lyx.org>
4466 * factory.C (createInset): small change to the way InsetExternal's params
4469 2003-06-04 André Pönitz <poenitz@gmx.net>
4471 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4473 * paragraph_pimpl.h:
4474 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4476 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4478 * undo_funcs.C: make some simple cases of undo work again
4480 2003-06-03 John Levon <levon@movementarian.org>
4482 * ispell.C: HPUX doesn't have sys/select.h
4485 2003-06-03 John Levon <levon@movementarian.org>
4487 * CutAndPaste.C: update tabular and include inset
4492 * paragraph.C: remove owningBuffer(), don't pass Buffer
4495 * factory.C: insetGraphicsParams changed
4497 2003-06-02 John Levon <levon@movementarian.org>
4503 * text3.C: remove insetparent
4505 2003-06-02 John Levon <levon@movementarian.org>
4508 * buffer.C: fix inset_iterator.end(), move out of line
4511 2003-06-01 John Levon <levon@movementarian.org>
4513 * text3.C: use a proper cut/paste when doing inset
4514 insert (from Jürgen Spitzmüller)
4516 2003-06-01 John Levon <levon@movementarian.org>
4518 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4520 2003-05-30 André Pönitz <poenitz@gmx.net>
4522 * rowpainter.C: unify second drawing phase
4524 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4526 * trans_mgr.C: remove one case of current_view
4528 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4530 * paragraph_funcs.h: remove paragraph.h include
4532 * paragraph.h: delete NO_STD_LIST stuff
4534 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4536 * buffer.h: remove paragraph.h include
4538 * ParagraphList.C: delete file
4540 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4542 * toc.C (getTocList): adjust
4544 * paragraph_pimpl.C (validate): adjust
4546 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4548 * paragraph.C (Paragraph): adjust
4549 (getPositionOfInset): use const_iterator, adjust
4550 (bibitem): use const_iterator, adjust
4551 (setInsetOwner): adjust
4553 * iterators.C (operator++): adjust
4555 * InsetList.[Ch]: Replace selfmade iterator with standard
4556 vector::iterator also introduce const_iterator. Remove getPos,
4557 getInset and setInset from InsetTable. Adjust accordingly.
4559 * BufferView.C (lockInset): adjust
4560 (ChangeInsets): adjust
4562 * tabular.[Ch]: delete commented same_id functions
4564 2003-05-28 John Levon <levon@movementarian.org>
4566 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4568 2003-05-28 André Pönitz <poenitz@gmx.net>
4570 * metricsinfo.[Ch]: remove 'fullredraw' member
4572 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4574 * lyxtextclass.C (operator): remove caching.
4576 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4580 * text2.C (cursorBottom): adjust
4581 (setCounter): use ParagraphList::find, adjust
4583 * text.C (workWidth): use ParagraphList::find, adjust
4585 * lyxcursor.C (LyXCursor): adjust
4587 * buffer.C (inset_iterator): adjust
4589 * ParagraphList.h: make iterator(value_type) private, make
4590 ParagraphList a friend of iterator.
4592 * ParagraphList.C (find): new function
4594 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4596 2003-05-27 André Pönitz <poenitz@gmx.net>
4598 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4600 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4602 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4604 2003-05-26 John Levon <levon@movementarian.org>
4606 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4608 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4610 * remove same_id from function signatures, adjust.
4612 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4614 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4616 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4618 * paragraph.C (Paragraph): get rid of same_ids parameter
4620 * ParagraphList.C (insert): adjust
4623 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4625 * paragraph_funcs.C (breakParagraph): adjust
4626 (breakParagraphConservative): adjust
4628 * buffer.C (readParagraph): adjust
4630 * ParagraphList.C (insert): take a reference instead of a pointer
4633 * paragraph.[Ch] (id): new function
4635 * bufferlist.C (newFile): adjust
4637 * ParagraphList.C (ParagraphList): adjust
4639 (push_back): take a reference instead of a pointer.
4641 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4643 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4646 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4647 set else use old code.
4649 * ParagraphList.C: remove all NO_NEXT code and only compile this
4650 code of NO_STD_LIST is set.
4652 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4654 * BufferView_pimpl.C:
4664 * graphics/GraphicsConverter.C:
4665 * graphics/PreviewLoader.C: header adjustment
4667 2003-05-23 Angus Leeming <leeming@lyx.org>
4669 * LaTeXFeatures.[Ch] (useBabel): new method.
4670 * bufferparams.C (writeLaTeX): use it.
4672 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4674 * ParagraphList.h (set): remove unused function.
4676 2003-05-23 André Pönitz <poenitz@gmx.net>
4679 * BufferView_pimpl.C:
4683 * undo_funcs.C: setUndo reworked
4685 * iterators.[Ch]: add access to topmost ParagraphList
4687 * lyxtext.[Ch] (workWidth): add a const
4689 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4691 * texrow.[Ch] (increasePos): remove function
4692 * exporter.C (export): removed unused var and outdated comment
4694 2003-05-23 Angus Leeming <leeming@lyx.org>
4696 * latexrunparams.h: rename fragile as moving_arg.
4697 * paragraph.C (simpleTeXOnePar): ditto.
4698 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4700 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4702 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4704 (textUndoOrRedo): comment out a currently unused var.
4706 * paragraph.h (NO_NEXT): enable NO_NEXT
4708 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4710 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4712 * exporter.C (Export): adjust for removeAutoInsets removal.
4714 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4716 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4718 * BufferView.[Ch] (removeAutoInsets): delete function
4720 2003-05-22 Angus Leeming <leeming@lyx.org>
4722 * latexrunparams.h: add a free_spacing variable.
4724 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4725 to pass moving_arg, as the data is stored in runparams.fragile.
4727 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4728 to Inset::latexOptional or to simpleTeXOnePar.
4730 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4731 free_spacing arg to Inset::latexOptional.
4733 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4736 2003-05-22 Angus Leeming <leeming@lyx.org>
4738 * latexrunparams.h: add fragile and use_babel variables.
4740 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4741 * buffer.C (makeLaTeXFile): store this returned value in
4742 runparams.use_babel, thus passing it to the inset::latex methods.
4744 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4745 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4747 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4748 longer has a fragile arg, as it is stored in runparams.fragile.
4750 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4751 moving_arg parameter as the data is stored in runparams.fragile.
4753 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4754 a fragile parameter as the data is stored in runparams.fragile.
4756 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4758 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4760 2003-05-22 Angus Leeming <leeming@lyx.org>
4762 * latexrunparams.h: add a 'bool nice' which defaults to false.
4764 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4765 now encapsulated within runparams.
4767 * bufferlist.C (updateIncludedTeXfiles):
4768 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4770 2003-05-22 Angus Leeming <leeming@lyx.org>
4772 * latexrunparams.h: new file containing struct LatexRunParams.
4773 * Makefile.am: add new file.
4775 * LaTeX.[Ch] (c-tor, run):
4776 * buffer.[Ch] (makeLaTeXFile):
4777 * bufferlist.[Ch] (updateIncludedTeXfiles):
4778 * converter.C (convert, scanLog):
4779 * converter.[Ch] (runLaTeX):
4780 * exporter.C (Export):
4781 * paragraph.[Ch] (simpleTeXOnePar):
4782 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4783 * paragraph_funcs.[Ch] (latexParagraphs):
4784 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4785 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4786 pass around a LatexRunParams parameter.
4788 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4790 * paragraph.[Ch]: remove unused constructor
4792 * ParagraphList.C (erase): new function, taking two iterators
4794 2003-05-22 André Pönitz <poenitz@gmx.net>
4796 * undo_funcs.C: remove duplicated code
4798 * iterator.[Ch]: operator=
4800 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4802 * tabular.C (SetMultiColumn): ws changes
4804 * rowpainter.C (paintFirst): get rid of a ->previous
4806 * lyx_cb.C (getPossibleLabel): parlist simplification
4808 * BufferView.C (ChangeInsets): simplify slightly.
4810 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4812 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4813 * lfuns.h: new LFUN_SPACE
4814 * lyxfunc.C: protected space has a new lfun
4815 * paragraph_funcs.C: read new space insets
4817 * factory.C: handle new space insets
4819 2003-05-22 André Pönitz <poenitz@gmx.net>
4822 * BufferView_pimpl.C:
4825 * undo_funcs.C: return a ParIterator from getParFromID.
4827 * iterators.[Ch]: add two const's
4829 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4831 * toc.C (getTocList): adjust
4833 * iterators.[Ch]: rework for parlist
4835 * buffer.C (par_iterator_begin): adjust
4836 (par_iterator_end): adjust
4838 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4840 * BufferView.C (removeAutoInsets): adjust
4841 (ChangeInsets): adjust
4843 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4845 * text.C (top_y): fix bug 1110
4847 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4849 * errorlist.[Ch]: added
4852 * BufferView_pimpl.C:
4853 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4856 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4858 * Makefile.am: ensure that lyx is relinked upon changes to the
4859 various "convenience" libs.
4861 2003-05-20 Angus Leeming <leeming@lyx.org>
4863 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4864 files are compiled in alphabetical order again.
4866 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4868 2003-05-19 Angus Leeming <leeming@lyx.org>
4870 * gettext.[Ch]: remove "char const * _(char const *)".
4872 2003-05-19 André Pönitz <poenitz@gmx.net>
4874 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4883 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4885 2003-05-19 André Pönitz <poenitz@gmx.net>
4889 * lyxtextclass.[Ch]:
4891 * paragraph_funcs.[Ch]:
4893 * text3.C: more insetenv work
4895 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4897 * ParagraphParameters.C (params2string): small bug fixed
4899 2003-05-16 André Pönitz <poenitz@gmx.net>
4902 * bufferview_funcs.C: patch from Kornel Benko to prevent
4903 crash when _(...) is called twice in a statement
4905 2003-05-16 André Pönitz <poenitz@gmx.net>
4912 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4914 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4916 * lyx_main.C (init): remove spurious static_cast
4918 2003-05-14 André Pönitz <poenitz@gmx.net>
4920 * BufferView.C: fix format string
4922 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4924 * BufferView.[Ch] (insertErrors): removed
4925 * BufferView.[Ch] (showErrorList): added
4926 * buffer.C (runChkTeX):
4927 * converter.C (scanLog): call showErrorList instead of inserterrors
4929 2003-05-13 André Pönitz <poenitz@gmx.net>
4931 * BufferView_pimpl.C:
4933 * bufferview_func.C:
4940 * tabular_funcs.h: tostr() from its own header
4942 * ParagraphParameters.C:
4947 * text3.C: STRCONV()
4949 2003-05-12 André Pönitz <poenitz@gmx.net>
4952 * BufferView_pimpl.C:
4956 * ParagraphParameters.C:
4960 * bufferview_funcs.C:
4973 * paragraph_funcs.C:
4977 * text3.C: boost::format -> bformat all over the place
4980 2003-05-09 André Pönitz <poenitz@gmx.net>
4982 * LColor.[Ch]: Pimpl the #include <map> away
4984 2003-05-09 John Levon <levon@movementarian.org>
4986 * bufferlist.C: never remove emergency saves
4988 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4990 * Makefile.am: better lib building
4992 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4994 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4996 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4997 (simpleTeXSpecialChars): adjust
4998 (simpleTeXSpecialChars): adjust
4999 * paragraph.C (simpleTeXOnePar): adjust
5000 * buffer.C (makeLaTeXFile): adjust
5002 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5004 * text2.C (changeDepth): parlist cleanup
5005 (getColumnNearX): ditto
5007 * rowpainter.C (getLabelFont): parlist cleanup
5009 * bufferlist.C (newFile): parlist cleanup
5011 * CutAndPaste.C (eraseSelection): parlist cleanup
5013 * BufferView_pimpl.C (trackChanges): parlist cleanup
5016 * BufferView.C (lockInset): parlist cleanup.
5017 (ChangeInsets): ditto
5019 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5021 * CutAndPaste.h: Update file header.
5023 * CutAndPaste.C: Update file header.
5024 Store the parts cut out of the Document in a limited_stack.
5025 (copySelection): adjust
5026 (pasteSelection): new function, takes the index in the limited stack.
5027 (nrOfParagraphs): adjust
5028 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5029 simplify error inset insertion.
5030 (checkPastePossible): adjust
5032 2003-05-06 John Levon <levon@movementarian.org>
5034 * text2.C: don't cast wrap inset to float
5036 2003-05-05 André Pönitz <poenitz@gmx.net>
5039 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5041 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5042 few naked Paragraph *.
5044 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5046 * bufferparams.C: Output warning if a document with missing
5047 TeX document class is loaded
5048 * exporter.C: Disable TeX exports if the document class is missing
5051 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5052 isTeXClassAvailable()
5054 2003-05-03 John Levon <levon@movementarian.org>
5057 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5058 explicit cursor show/hide
5060 * BufferView_pimpl.h:
5061 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5062 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5064 * lyxfunc.C: hide cursor before dispatching.
5069 * text3.C: remove explicit cursor hides
5071 2003-05-02 André Pönitz <poenitz@gmx.net>
5073 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5076 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5079 * text2.C: tiny whitespace
5081 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5083 * undo_funcs.C: almost only ws changes.
5085 * ParagraphList.C (splice): just return if pl is empty.
5087 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5089 * ParagraphList.C (splice): new function.
5091 * CutAndPaste.C (pasteSelection): use it
5093 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5095 * CutAndPaste.C (pasteSelection): remove the last next and
5096 previous from this file.
5098 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5100 * CutAndPaste.C (pasteSelection): more clean up, user proper
5101 ParagraphList functions for pasteing.
5103 * ParagraphList.C (insert): new function, three arg insert
5105 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5107 * ParagraphList.C (insert): new function, three arg insert
5109 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5112 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5114 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5116 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5118 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5120 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5122 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5123 (copySelection): clean up a bit.
5124 (pasteSelection): use make_pair
5126 * ParagraphList.C (ParagraphList): implement copy constructor
5127 (operator=): implement, base on copy constructor.
5130 * paragraph.C (erase): return a bool
5132 * paragraph_pimpl.C (erasePos): remove function, move contents...
5133 (erase): ... here. Return a bool.
5134 (erase): call erase instead of erasePos.
5136 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5138 * ParagraphList.h: define PitPosPair
5139 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5140 ParagraphList, fix a bug on pasting multiple pars
5141 * text2.C: change interface to C&P
5143 2003-04-30 André Pönitz <poenitz@gmx.net>
5145 * undo_func.C: revert part of yesterday's patch 2
5147 2003-04-30 John Levon <levon@movementarian.org>
5149 * LColor.C: s/tabular/table/
5151 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5153 * text3.C (dispatch): do not convert iterator -> pointer
5154 * undo_funcs.C (setCursorParUndo): ditto
5155 * text_funcs.C (transposeChars): ditto
5157 * text2.C (setLayout): ws changes only
5159 * text.C (breakParagraph): do not convert iterator -> pointer
5161 (acceptChange): ditto
5162 (rejectChange): ditto
5167 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5170 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5172 * text3.C (gotoInset): YABG (yet another bad getChar)
5174 2003-04-29 André Pönitz <poenitz@gmx.net>
5176 * paragraph.h: make operator= private unimplemented as long as
5179 * ParagraphList.C: whitespace
5182 * paragraph_pimpl.[Ch]:
5183 * paragraph_funcs.C:
5185 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5188 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5190 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5192 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5193 * paragraph.[Ch] (erase):
5194 * paragraph_pimpl.[Ch] (erase): change return type and value
5195 * text2.C (cutSelection): some rework
5197 2003-04-28 John Levon <levon@movementarian.org>
5199 * bufferlist.C: changes for unsaved changes dialog
5201 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5203 * bufferlist.C (newFile): set language (messages_) for new
5206 * buffer.C (readFile): ws changes only.
5208 2003-04-28 André Pönitz <poenitz@gmx.net>
5213 * BufferView_pimpl.C:
5214 * BufferView.C: getParFromID related ParagraphList::iterator changes
5216 2003-04-28 André Pönitz <poenitz@gmx.net>
5218 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5221 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5223 * messages.C: remove one more localedir class variable.
5225 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5227 * messages.C (getLocaleDir): singleton generation function
5229 (Messages): add a default constructor.
5231 * main.C (main): do not setup localedir here, do not call
5234 * gettext.C (_): use it.
5235 (gettext_init): delete funciton
5237 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5239 * gettext.C (getLyXMessages): new singleton generating function.
5241 * buffer.C (updateDocLang): adjust
5243 * Makefile.am (messages.o): add target
5244 (main.o): remove target
5246 2003-04-27 John Levon <levon@movementarian.org>
5251 * lyxvc.C: specify cancel button in Alert::prompt
5253 2003-04-26 John Levon <levon@movementarian.org>
5258 * LyXAction.C: add LFUN_INSET_SETTINGS
5260 * lyxfunc.C: don't enable tabular-feature when there's
5261 just any locking inset
5263 2003-04-26 John Levon <levon@movementarian.org>
5265 * bufferlist.C: re-add Cancel to buffer close question
5267 * lyxfunc.C: fix import UI a bit
5269 2003-04-25 John Levon <levon@movementarian.org>
5271 * gettext.C: remove the broken asserts for now
5273 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5275 * messages.C: make case where setlocale cannot comply work better.
5277 * buffer.C (updateDocLang): new function
5278 (changeLanguage): use it
5281 * text2.C (setCounter): use B_ a bit.
5283 * lyxlayout.C (Read): be sure to trim the label strings.
5285 * messages.C (Messages): fix typo in comment
5287 * buffer.C (readFile): set message_ after file is loaded.
5288 (makeDocBookFile): remove double return
5289 (changeLanguage): reset message_ upon language change.
5290 (B_): new func, use this to get translated buffer strings.
5292 * main.C: add myself and Jean Marc as authors.
5294 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5296 * messages.[hC]: pimplify Messages, and three different pimpls to be
5297 used in different circumstances.
5299 * gettext.[Ch]: change for use with new message code.
5301 2003-04-24 André Pönitz <poenitz@gmx.net>
5303 * factory.C: support for eqref
5305 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5307 * messages.[Ch]: add missing char
5309 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5311 * messages.[Ch]: New files
5313 2003-04-18 John Levon <levon@movementarian.org>
5317 * BufferView_pimpl.C:
5321 * text2.C: remove layout-copy/paste (bug 778)
5323 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5325 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5327 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5329 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5330 if they succeed. Act accordingly.
5332 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5334 * text2.C (setCharFont): adjust
5335 (setCounter): adjust
5336 (insertStringAsLines): adjust
5338 * text.C (leftMargin): adjust
5339 (setHeightOfRow): adjust
5341 * rowpainter.C (paintFirst): adjust
5344 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5346 (isFirstInSequence): ditto
5347 (getEndLabel): ditto
5350 * paragraph.C (getParLanguage): comment out some hard stuff.
5352 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5354 (simpleDocBookOnePar): ditto
5355 (makeDocBookFile): use ParagraphList::iterator
5357 * CutAndPaste.C (pasteSelection): adjust
5359 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5361 * text2.C (getFont): adjust
5362 (getLayoutFont): adjust
5363 (getLabelFont): adjust
5365 * paragraph_funcs.C (TeXOnePar): adjust
5367 * buffer.C (simpleLinuxDocOnePar): adjust
5368 (simpleDocBookOnePar): adjust
5370 * CutAndPaste.C (pasteSelection): adjust
5372 * BufferView.C (getEncoding): adjust
5374 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5376 2003-04-16 John Levon <levon@movementarian.org>
5378 * lyxfind.C: use parlist stuff for search/changes
5380 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5382 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5384 * text2.C (deleteEmptyParagraphMechanism): adjust
5386 * text2.[Ch] (ownerParagraph): delete func (both of them
5388 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5390 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5392 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5394 * ParagraphList.C: prepare for NO_NEXT
5396 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5398 * text2.C (getFont): adjust
5399 (getLayoutFont): adjust
5400 (getLabelFont): adjust
5402 * paragraph.C (getFont): adjust
5403 (getLabelFont): adjust
5404 (getLayoutFont): adjust
5406 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5408 2003-04-15 John Levon <levon@movementarian.org>
5412 * lyx_main.C: handle Include in .ui files
5414 2003-04-15 John Levon <levon@movementarian.org>
5416 * MenuBackend.C: make the doc files length shorter
5419 * ToolbarBackend.C: handle toolbar placement flags,
5422 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5424 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5427 * paragraph_funcs.C (TeXOnePar): adjust
5429 * paragraph.C (getLabelFont): add outerfont arg, adjust
5430 (getLayoutFont): ditto
5431 (simpleTeXOnePar): adjust
5433 * paragraph_pimpl.C (realizeFont): delete func
5435 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5437 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5438 row argument, constify cur argument.
5440 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5442 * text2.C (getFont): adjust
5443 (getLayoutFont): adjust
5444 (getLabelFont): adjust
5446 * paragraph_funcs.C (TeXOnePar): adjust
5447 (outerFont): new func...
5448 (realizeFont): ...moved out from here, changed this to facilitate
5451 * paragraph.C (getFont): take outerfont as arg, adjust
5452 (simpleTeXOnePar): add outerfont arg, adjust
5454 * buffer.C (simpleLinuxDocOnePar): adjust
5455 (simpleDocBookOnePar): adjust
5457 * CutAndPaste.C (pasteSelection): adjust
5459 * BufferView.C (getEncoding): adjust
5461 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5463 * text2.C (setCharFont): adjust
5464 (setCounter): adjust
5466 * text.C (leftMargin): adjust
5467 (setHeightOfRow): adjust
5469 * rowpainter.C (paintFirst): adjust
5472 * paragraph_pimpl.C (realizeFont): adjust
5474 * paragraph.C (isFirstInSequence): move from here...
5475 * paragraph_funcs.C (isFirstInSequence): ...to here
5477 * paragraph.C (outerHook): move from here...
5478 * paragraph_funcs.C (outerHook): ...to here
5480 * paragraph.C (depthHook): move from here...
5481 * paragraph_funcs.C (depthHook): ...to here
5483 * paragraph.C (getEndLabel): move from here...
5484 * paragraph_funcs.C (getEndLabel): ...to here
5486 * text2.C (realizeFont): move from here...
5487 * paragraph_funcs.C (realizeFont): ...to here
5489 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5491 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5493 2003-04-14 Angus Leeming <leeming@lyx.org>
5495 * LColor.[Ch]: scrap LColor mathcursor.
5497 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5499 * lyxlex.[Ch] (text): delete function
5500 * trans.C (Load): adjust
5501 * paragraph_funcs.C (readParToken): adjust
5503 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5505 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5506 vector<char> instead of a char[].
5508 * lyxlex_pimpl.C (getString): adjust
5510 (lex): use getString
5514 * lyxlex.C (text): use pimpl_->getString()
5518 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5520 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5521 (makeFontEntriesLayoutSpecific): temp var for par.size()
5522 (setLayout): temp var for ownerParagraphs().end()
5523 (fullRebreak): temp var for rows().end()
5524 (selectionAsString): temp var for boost::next(startpit), realize
5525 that the while really is a regular for loop.
5526 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5527 setCursor in one place.
5528 (setParagraph): temp vr for ownerParagraphs().end()
5529 (updateCounters): make the while loop a for loop
5530 (cutSelection): temp var for ownerParagraphs().end()
5531 (updateInset): make the do {} while() a regular for loop
5532 (getCursorX): use temp vars
5533 (setCurrentFont): use temp vars
5534 (getColumnNearX): use temp vars
5536 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5538 * text.C (transformChar): use temp var for getChar
5539 (computeBidiTables): use temp var for row->par()
5540 (fill): move temp vars for row->par() and pit->layout() earlier in
5542 (labelFill): use temp var for row->par()
5543 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5544 asc and desc, realize that pit never changes and that firstpit is
5545 just a duplicate and not needed. Exchange rit->par() with pit in a
5547 (breakAgain): use a temp var for boost::next(rit)
5548 (breakAgainOneRow): ditto
5549 (breakParagraph): use a temp var for rows().begin()
5550 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5551 (cursorRightOneWord): use temp var for cursor.par() and
5552 cursor.pos(), remove usage of tmpcursor.
5553 (cursorLeftOneWord): use temp var for cursor.par() and
5554 cursor.pos() only set cur at end of function.
5556 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5558 * text.C, text2.C: exchange all usage of Paragraph::next with
5559 boost::next(ParagraphList::iterator)
5561 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5563 * text2.C (cursorTop): simplify implementation
5564 (cursorBottom): ditto
5565 (setParagraph): use ParagraphList::iterator
5566 (setCurrentFont): adjust
5567 (getColumnNearX): adjust
5568 (cursorRight): adjust
5569 (cursorLeft): remove usage of Paragraph::previous
5570 (cursorUpParagraph): ditto
5571 (deleteEmptyParagraphMechanism): slight cleanup
5573 * text.C (isBoundary): take a Paragraph const & instead of a
5575 (addressBreakPoint): ditto
5576 (leftMargin): remove usage of Paragraph::previous.
5577 (setHeightOfRow): ditto
5578 (cursorLeftOneWord): ditto
5579 (selectNextWordToSpellcheck): ditto
5582 (breakParagraph): remove one usage of Paragraph::next
5583 (redoParagraph): ditto
5584 (acceptChange): ditto
5585 (insertChar): adjust
5586 (rowBreakPoint): adjust
5588 * bufferview_funcs.C (toggleAndShow): adjust
5590 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5592 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5593 methods to access it.
5595 * text.C: Added updateRowPositions to compute all row positions.
5596 Make top_y and getRowNearY() to use the cached y position
5598 2003-04-11 John Levon <levon@movementarian.org>
5600 * text.C (rowBreakPoint): reintroduce the labelEnd
5601 checks, code copied from the row fill stuff. Deep voodoo.
5603 * text.C (fill): add a comment and debugging for the
5606 2003-04-11 John Levon <levon@movementarian.org>
5608 * text.C: make sure fullrow insets get wrapped to the next line,
5609 even when they're in a manual label
5611 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5613 * text2.C (insertParagraph): make it take ParagraphList::iterator
5615 (setLayout): make it return ParagraphList::iterator
5616 (redoParagraphs): ditto
5618 (checkParagraph): ditto
5620 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5622 * text2.C: adjust several funcs.
5623 (realizeFont): take a ParagraphList::iterator as arg.
5624 (getLayoutFont): ditto
5625 (getLabelFont): ditto
5626 (setCharFont): ditto
5628 * text.C: adjust several funcs.
5630 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5632 * text.C (selectNextWordToSpellcheck): don't accidentally
5635 2003-04-10 John Levon <levon@movementarian.org>
5637 * ToolbarBackend.C (getIcon): special handling for
5640 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5642 * text2.C (cursorRight): a getChar assert fixed
5644 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5646 * text2.C (getFont): change to take a ParagraphList::iterator
5647 instead of Paragraph*
5648 Adjust several functions.
5650 * text.C (transformChar): change to take a ParagraphList::iterator
5651 instead of Paragraph*
5652 (singleWidth): ditto
5653 Adjust several functions.
5655 * rowpainter.C: adjust several functions
5656 * rowpainter.h:store a ParagraphList::iterator and not a
5660 2003-04-09 John Levon <levon@movementarian.org>
5665 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5666 and the "help" bits as well
5668 2003-04-09 John Levon <levon@movementarian.org>
5671 * ToolbarBackend.C: allow multiple toolbars
5673 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5675 * undo_funcs.C (setCursorParUndo): adjust
5677 * text_funcs.C (transposeChars): adjust
5679 * text3.C (gotoNextInset): adjust
5682 * text2.C (setLayout): adjust
5683 (changeDepth): adjust
5685 (redoParagraphs): adjust
5686 (selectionAsString): adjust
5687 (setParagraph): adjust
5688 (insertInset): adjust
5689 (cutSelection): adjust
5690 (copySelection): adjust
5691 (pasteSelection): adjust
5692 (insertStringAsLines): adjust
5693 (updateInset): adjust
5694 (setCursor): change to take a ParagraphList::iterator parameter
5695 (setCursorIntern): change to take a ParagraphList::iterator parameter
5696 (setCurrentFont): adjust
5697 (cursorLeft): adjust
5698 (cursorRight): adjust
5699 (deleteEmptyParagraphMechanism): adjust
5701 * text.C (breakParagraph): adjust
5702 (insertChar): adjust
5703 (acceptChange): adjust
5704 (rejectChange): adjust
5705 (selectNextWordToSpellcheck): adjust
5706 (changeCase): adjust
5710 * lyxfind.C (SearchForward): adjust
5711 (SearchBackward): adjust
5712 (nextChange): adjust
5714 * lyxcursor.C (par): adjust
5716 * lyxcursor.h: store a ParagraphList::iterator instead of a
5719 * lyx_cb.C (getPossibleLabel): adjust
5721 * bufferview_funcs.C (toggleAndShow): adjust
5723 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5726 * BufferView.C (removeAutoInsets): adjust
5727 (lockedInsetStoreUndo): adjust
5729 2003-04-09 John Levon <levon@movementarian.org>
5731 * ToolbarBackend.C: try icon without argument
5732 if with argument fails
5734 2003-04-08 John Levon <levon@movementarian.org>
5737 * ToolbarBackend.C: add getIcon(), handle tooltip,
5738 and change from "Icon" to "Item".
5740 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5742 * BufferView.C (lockInset): another bad getchar crunched
5744 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5746 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5749 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5751 * lyxfind.C (searchForward, searchBackwards): bug 782
5753 2003-04-07 John Levon <levon@movementarian.org>
5755 * paragraph.C: remove dead comment
5757 * text.C: remove troublesome depth-fiddling code
5758 in leftMargin() and rightMargin() (bug 1017)
5760 * text.C: fix breaking of rows in nested lists
5763 * text2.C (updateCounters): fix up depth values
5766 2003-04-07 John Levon <levon@movementarian.org>
5768 * BufferView_pimpl.C: clear message when doc finishes resizing,
5769 and after a mouse event
5771 * lyxfunc.C: clear message after exiting inset
5773 2003-04-07 John Levon <levon@movementarian.org>
5775 * bufferview_funcs.C: show math status not outside
5776 status in the statusbar
5778 2003-04-07 John Levon <levon@movementarian.org>
5780 * lyxfunc.C: note status changed after a depth change
5782 2003-04-04 Angus Leeming <leeming@lyx.org>
5784 * LaTeX.h: move AuxInfo operator==, != out of line.
5785 Remove LaTeX virtual destructor; nothing derives from it.
5786 Move operator()() out of public area and rename it startscript().
5787 Change protected for private.
5789 2003-04-04 Angus Leeming <leeming@lyx.org>
5792 * text2.C: remove unneeded #includes.
5794 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5796 * text2.C (dEPM): fix the heigth of the next row
5798 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5800 * text.C: squashed an invalid getChar requester + some ws changes
5802 2003-04-03 John Levon <levon@movementarian.org>
5804 * bufferview_funcs.h:
5805 * bufferview_funcs.C:
5808 * text2.C: make getStatus work for the env depth lfuns
5810 2003-04-03 John Levon <levon@movementarian.org>
5812 * bufferview_funcs.h:
5813 * bufferview_funcs.C:
5816 * text2.C: parlistize decDepth(), by merging it with incDepth()
5818 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5820 * lyxrow.h: store a ParagraphList::iterator instead of a
5821 Paragraph* and adjust other class functions to suit.
5823 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5826 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5828 * text2.C (setCursor): do not anchor to cursor row for the time being
5830 2003-04-02 John Levon <levon@movementarian.org>
5837 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5839 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5841 * paragraph.h: make ParagraphList and ParagraphList::iterator
5842 friends of Paragraph.
5844 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5846 * ParagraphList.C: Use the private next_ and previous_ from
5849 2003-04-01 John Levon <levon@movementarian.org>
5853 * Makefile.am: rename, remove defaults gunk
5856 * MenuBackend.C: remove defaults gunk
5859 * Languages.C: remove defaults gunk
5862 * lyx_main.C: error out if files couldn't be found.
5864 2003-04-02 John Levon <levon@movementarian.org>
5866 * text2.C: make incDepth() use parlist
5868 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5870 * undo_funcs.C (firstUndoParagraph): adjust
5872 * text3.C (gotoInset): adjust
5873 (dispatch): adjust, and rewrite loop.
5875 * text2.C (init): adjust, and rewrite loop.
5876 (redoParagraphs): adjust
5877 (updateInset): adjust, and rewrite loop.
5878 (deleteEmptyParagraphMechanism): adjust
5880 * tabular.C (LyXTabular): adjust
5881 (SetMultiColumn): adjust
5884 * lyxtext.[Ch] (ownerParagraph): delete function
5885 (ownerParagraphs): new function returns a ParagraphList.
5887 * BufferView.C (removeAutoInsets): adjust
5888 (insertErrors): adjust
5889 (setCursorFromRow): adjust
5891 2003-04-01 Angus Leeming <leeming@lyx.org>
5893 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5896 2003-04-02 John Levon <levon@movementarian.org>
5902 * text_funcs.C: make transposeChars a free function
5904 * lyxrow_funcs.C: remove wrong comment
5906 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5909 * rowpainter.C: adjust
5914 * lyxrow_funcs. [Ch]: new files
5916 * lyxrow.[Ch]: remove next and previous pointers
5917 (next,previous): remove accessor functions
5918 (isParEnd): move to lyxrow_funcs
5919 (lastPos): move to lyxrow_funcs
5920 (nextRowIsAllInset): move to lyxrow_funcs
5921 (lastPrintablePos): move to lyxrow_funcs
5922 (numberOfSeparators): move to lyxrow_funcs
5923 (numberOfHfills): move to lyxrow_funcs
5924 (numberOfLabelHfills): move to lyxrow_funcs
5925 (hfillExpansion): move to lyxrow_funcs
5929 * bufferview_funcs.C (toggleAndShow): adjust
5931 * RowList.h: Remove class RowList from file leave just a
5934 * RowList.C: delete file
5936 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5939 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5941 * text3.C (cursorPrevious): adjust
5942 (cursorNext): adjust
5945 * text2.C (redoHeightOfParagraph): adjust
5946 (redoDrawingOfParagraph): adjust
5949 * text.C (breakParagraph): adjust
5950 (insertChar): adjust
5953 * rowpainter.C (RowPainter): adjust
5954 (leftMargin): simplify and adjust
5955 (most rowpainter functions): adjust.
5957 * rowpainter.h: store the row as RowList::iterator not as Row*
5959 * lyxcursor.C (row): taka RowList::iterator as arg
5962 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5965 2003-04-01 Angus Leeming <leeming@lyx.org>
5967 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5968 stuff like bool Bool.
5970 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5972 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5975 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5977 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5980 * lyxtext.h (rows): drop one version and leve a const variant that
5981 returns a RowList::iterator.
5983 2003-03-31 Angus Leeming <leeming@lyx.org>
5985 * text.C (fill): ensure that the signature is the same as that in the
5988 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5990 * text2.C (redoParagraphs): adjust
5991 (updateCounters): adjust
5992 (checkParagraph): adjust
5993 (getColumnNearX): adjust and reformat a bit.
5995 * text.C (top_y): adjust
5997 (leftMargin): adjust
5998 (prepareToPrint): adjust
6000 (getRowNearY): adjust
6002 * lyxtext.h: make rowlist_ mutable.
6004 * RowList.h: add const_iterator
6005 * RowList.C: adjust for RowList::const_iterator.
6007 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6010 2003-03-31 John Levon <levon@movementarian.org>
6013 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6015 * lyx_main.C: set default fonts from using lyx_gui funcs
6017 * exporter.C: pdf_mode moved from lyxrc
6020 * lyxfunc.C: changes from above
6022 2003-03-31 John Levon <levon@movementarian.org>
6024 * lyx_main.C: fix to the last fix
6026 2003-03-31 John Levon <levon@movementarian.org>
6028 * bufferlist.C: "Load original" -> "Load Original"
6034 * format.C: more Alert cleanups
6036 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6038 * text2.C (removeParagraph): make it take a RowList::iterator as
6040 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6041 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6043 * text.C (anchor_row): make it take a RowList::iterator as arg,
6045 (computeBidiTables): make it take a const reference to Row instead
6046 of Row pointer, adjust.
6047 (leftMargin): make it take a RowList::iterator as arg, adjust.
6048 (rowBreakPoint): adjust
6049 (breakAgainOneRow): make it take a RowList::iterator as arg,
6051 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6053 * bufferview_funcs.C (toggleAndShow): adjust
6055 2003-03-30 John Levon <levon@movementarian.org>
6059 * boost-inst.C: moved to support
6061 * several files: changes as a result
6063 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6065 * text2.C (LyXText): adjust.
6067 (removeRow): make it take a RowList::iterator as arg, adjust.
6068 (fullRebreak): adjust
6069 (deleteEmptyParagraphMechanism): adjust
6070 (clearPaint): adjust
6073 * text.C (top_y): adjust
6074 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6075 (breakAgain): make it take a RowList::iterator as arg, adjust.
6076 (breakParagraph): adjust
6077 (insertChar): adjust
6080 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6081 need_break_row, and refresh_row.
6083 * text3.C (dispatch): adjust
6085 * text2.C (checkParagraph): adjust
6087 (setCursorFromCoordinates): adjust
6089 * text.C (top_y): adjust
6091 (getRow): make it return a RowList::iterator, adjust
6092 (getRowNearY): make it return a RowList::iterator, adjust
6094 * text2.C (init): adjust
6095 (insertRow): remove function
6096 (insertParagraph): adjust
6097 (redoParagraphs): adjust
6098 (fullRebreak): adjust
6099 (updateCounters): adjust
6101 * text.C (top_y): rewrite to use RowList iterators.
6103 (setHeightOfRow): rewrite to sue RowList iterators.
6104 (appendParagraph): adjust
6105 (breakAgain): adjust
6106 (breakAgainOneRow): adjust
6107 (breakParagraph): adjust
6109 (getRowNearY): adjust, and remove commented code.
6111 * lyxtext.h (firstRow): delete function
6112 (lastRow): delete function
6113 (rows): new function (const and non-const versions.)
6114 (insertRow): delete function
6116 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6118 2003-03-29 John Levon <levon@movementarian.org>
6120 * BufferView_pimpl.C: always update scrollbar top
6121 because pasting text when we're anchored could mean we
6122 miss an update altogether
6124 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6126 * text2.C (init): use rowlist_.end() and not 0.
6127 (insertRow): change to take a RowList::iterator as arg, adjust
6129 (insertParagraph): change to take a RowList::iterator as arg,
6131 (redoParagraphs): remove some debug msgs.
6133 * text.C (appendParagraph): change to take a RowList::iterator
6134 arg, adjust for this.
6135 (breakAgain): add an assert
6136 (breakAgainOneRow): ditto
6138 2003-03-29 John Levon <levon@movementarian.org>
6140 * text2.C: do not clear selection after inc/decDepth
6143 2003-03-29 John Levon <levon@movementarian.org>
6146 * buffer.C: fix broken strerrors according to Lars
6148 2003-03-29 John Levon <levon@movementarian.org>
6150 * converters.C: more Alert cleanups
6152 2003-03-29 John Levon <levon@movementarian.org>
6154 * bufferview_funcs.C: remove pointless Alert
6156 * buffer.C: fix confusing error message when
6157 a template is chmoded 000
6159 2003-03-29 John Levon <levon@movementarian.org>
6163 * BufferView_pimpl.C: Alert fixes
6167 * tabular-old.C: remove unused table compat reading
6169 2003-03-29 John Levon <levon@movementarian.org>
6174 * lyx_cb.C: more Alert cleanups
6176 * lyxfunc.C: don't allow chktex if not latex document
6178 2003-03-29 John Levon <levon@movementarian.org>
6182 * buffer.C: warnings pushed down from support/,
6185 2003-03-29 John Levon <levon@movementarian.org>
6187 * lyxfunc.C: safety check for C-r (revert)
6189 2003-03-29 John Levon <levon@movementarian.org>
6192 * bufferlist.C: several UI fixes using Alert::prompt.
6193 Fix the pointless looping quit code. Fix stupid revert
6198 * lyx_cb.C: use Alert::prompt
6200 * lyx_main.C: remove a silly question
6202 * lyxfunc.C: remove a couple of silly questions,
6205 2003-03-28 John Levon <levon@movementarian.org>
6207 * text2.C: fix bug 974 (End on empty par)
6209 2003-03-28 John Levon <levon@movementarian.org>
6211 * BufferView_pimpl.C:
6213 * lfuns.h: remove do-nothing math greek lfuns
6215 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6217 * lyxgluelength.h (isValidGlueLength): add default arg on
6218 parameter 2. Remove default arg from friend in class.
6220 * lyxlength.h (isValidLength): add default arg on parameter 2.
6221 Remove default arg from friend in class.
6223 * text2.C (LyXText): adjust, initialize refresh_row.
6227 (insertParagraph): adjst
6228 (redoParagraphs): adjust
6229 (fullRebreak): adjust
6230 (updateCounters): adjust
6231 (deleteEmptyParagraphMechanism): first attempt at fixing a
6234 * text.C (top_y): adjust
6235 (setHeightOfRow): adjust
6237 (getRowNearY): adjust
6239 * lyxtext.h: include RowList.h
6240 (~LyXText): not needed anymore, deleted.
6241 (firstRow): modify for RowList
6242 (lastRow): new function
6243 Delete firstrow and lastrow class variables, add a Rowlist
6244 rowlist_ class variable.
6246 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6249 * RowList.C (insert): fix case where it == begin().
6251 2003-03-26 Angus Leeming <leeming@lyx.org>
6253 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6254 the thesaurus dialog.
6256 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6258 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6260 * RowList.[Ch]: new files
6262 * ParagraphList.C (erase): handle the case where it == begin
6265 2003-03-25 John Levon <levon@movementarian.org>
6269 * aspell.C: add new aspell support
6272 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6275 2003-03-25 Angus Leeming <leeming@lyx.org>
6278 * LyXAction.C (init): new LFUN_INSET_INSERT.
6280 * BufferView_pimpl.C (dispatch): split out part of the
6281 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6283 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6286 2003-03-25 Angus Leeming <leeming@lyx.org>
6288 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6290 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6293 * text3.C: remove useless row->height(0)
6295 2003-03-25 John Levon <levon@movementarian.org>
6299 * text3.C: rename the refreshing stuff to better names
6301 2003-03-24 John Levon <levon@movementarian.org>
6303 * BufferView_pimpl.h:
6304 * BufferView_pimpl.C: update layout choice on a mouse
6307 2003-03-23 John Levon <levon@movementarian.org>
6309 * Makefile.am: fix commandtags.h reference
6311 2003-03-22 John Levon <levon@movementarian.org>
6313 * BufferView_pimpl.C:
6318 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6320 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6323 * text.C: take the rtl methods out of line
6325 2003-03-21 André Pönitz <poenitz@gmx.net>
6327 * metricsinfo.[Ch]: new files containing structures to be passed around
6328 during the two-phase-drawing...
6330 2003-03-21 André Pönitz <poenitz@gmx.net>
6332 * lyxtextclass.C: read 'environment' tag.
6334 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6336 * text2.C (removeRow): fix bug 964
6338 2003-03-20 John Levon <levon@movementarian.org>
6342 * text2.C: paint cleanups. Inset::update() dropped font
6345 2003-03-19 John Levon <levon@movementarian.org>
6347 * lyxfunc.C: only fitcursor/markDirty if available()
6349 2003-03-19 John Levon <levon@movementarian.org>
6351 * commandtags.h: rename to ...
6353 * lfuns.h: ... this, and renumber / cleanup
6355 2003-03-19 John Levon <levon@movementarian.org>
6357 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6358 fit the cursor after an lfun
6362 * BufferView_pimpl.h:
6363 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6365 * LyXAction.C: layout-character should have ReadOnly
6367 * ParagraphParameters.C:
6369 * bufferview_funcs.C:
6376 * undo_funcs.C: changes from above
6378 2003-03-18 John Levon <levon@movementarian.org>
6380 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6381 remove it from update()
6383 * lyxfunc.C: update layout choice after an lfun
6385 * text3.C: remove extra updateLayoutChoice()s
6387 2003-03-18 John Levon <levon@movementarian.org>
6389 * text.C: top_y change means full repaint, fix
6390 a drawing bug with cursor movement
6392 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6396 * text2.C: anchor row on setCursor
6398 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6400 * lyxtext.h: remove almost all mutable keywords
6403 * text3.C: remove const keywords accordingly
6405 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6407 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6409 (TeXEnvironment): ditto
6412 2003-03-17 John Levon <levon@movementarian.org>
6414 * text.C (rowBreakPoint): remove attempt to fix displayed
6415 math insets inside a manual label
6417 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6419 * lyxtext.h: remove BufferView* as first arg from almost all class
6421 * other files: adjust.
6423 2003-03-17 John Levon <levon@movementarian.org>
6427 * text2.C: more paint cleanups
6429 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6432 * rowpainter.C: remove "smart" background painting code
6434 2003-03-16 John Levon <levon@movementarian.org>
6439 * text3.C: add helper functions for setting refresh_row/y
6441 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6443 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6444 newline inset which *can* get inserted in the pass_thru layouts.
6445 This is primarily for literate documents.
6447 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6449 * buffer.C: increment LYX_FORMAT to 223
6451 2003-03-14 André Pönitz <poenitz@gmx.net>
6453 * textclass.h: prepare for environment handling, ws changes
6454 * lyxlayout.C: read latexheader and latexfooter tags
6456 2003-03-14 John Levon <levon@movementarian.org>
6458 * text2.C: rewrite ::status() a bit
6460 2003-03-13 John Levon <levon@movementarian.org>
6462 * lyxtext.h: add some docs
6464 2003-03-13 John Levon <levon@movementarian.org>
6469 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6471 2003-03-13 John Levon <levon@movementarian.org>
6473 * text3.C: fix appendix redrawing
6475 2003-03-13 John Levon <levon@movementarian.org>
6477 * text.C (setHeightOfRow):
6479 * rowpainter.C: make appendix mark have the text
6480 "Appendix" so the user knows what it is
6483 * LColor.C: s/appendixline/appendix/ from above
6485 2003-03-13 John Levon <levon@movementarian.org>
6487 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6489 * text.C: fix a getChar(pos) bug properly
6491 2003-03-13 Angus Leeming <leeming@lyx.org>
6494 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6495 Probably only temporary. Let's see how things pan out.
6497 * BufferView.C (unlockInset):
6498 * BufferView_pimpl.C (fitCursor):
6499 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6501 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6502 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6504 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6505 new functions that convert ParagraphParameters to and from a string.
6507 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6508 BufferView::Pimpl's dispatch.
6509 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6511 2003-03-13 André Pönitz <poenitz@gmx.net>
6515 * factory.C: make it aware of InsetEnv
6517 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6519 * text2.C (setCursor): never ask for one past last
6520 (setCursor): add some debugging messages.
6522 * text.C (singleWidth): never ask for one past last
6523 (singleWidth): ditto
6525 (rightMargin): ditto
6526 (rowBreakPoint): ditto
6527 (setHeightOfRow): ditto
6528 (prepareToPrint): ditto
6530 * rowpainter.C (paintBackground): never ask for one past last
6531 (paintText): never ask for one past last
6533 * paragraph_pimpl.C (getChar): make the assert stricter, never
6534 allow the one past last pos to be taken
6536 * paragraph.C (getChar): ws changes only
6538 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6539 (numberOfSeparators): ditto
6540 (numberOfHfills): ditto
6542 2003-03-12 John Levon <levon@movementarian.org>
6548 * paragraph_funcs.C: fix per-buffer authorlists
6550 2003-03-12 John Levon <levon@movementarian.org>
6552 * text.C: fix newline in right address
6554 2003-03-12 Angus Leeming <leeming@lyx.org>
6556 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6557 duplicate those in LyXFunc::dispatch.
6561 * ToolbarDefaults.C:
6562 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6563 Add LFUN_FONTFREE_UPDATE.
6565 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6566 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6568 * bufferview_func.[Ch]: several new functions to facilliate
6569 transfer of data to and from the character dialog.
6571 2003-03-12 John Levon <levon@movementarian.org>
6576 * paragraph_funcs.C:
6577 * paragraph_pimpl.C:
6581 * text3.C: remove META_NEWLINE in favour of an inset
6584 * rowpainter.C: remove paintNewline (done by inset)
6586 2003-03-12 John Levon <levon@movementarian.org>
6588 * paragraph_pimpl.C: complain about bad getChar()s
6589 for a while at least
6591 2003-03-12 John Levon <levon@movementarian.org>
6594 * buffer.C: move paragraph read into a separate function,
6595 a little renaming to reflect that.
6598 * bufferparams.C: remove the author_ids map, not necessary now
6601 * factory.C: moved Buffer::readInset to here
6603 * paragraph_funcs.h:
6604 * paragraph_funcs.C: readParagraph free function moved from
6607 * tabular.C: name change
6609 2003-03-12 John Levon <levon@movementarian.org>
6612 * ParagraphParameters.C: move par params input to
6615 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6616 behave like a normal read from the stream wrt reading
6617 a line vs. a \\token
6619 2003-03-12 John Levon <levon@movementarian.org>
6622 * ParagraphParameters.h:
6623 * ParagraphParameters.C: move output code to a
6626 2003-03-12 John Levon <levon@movementarian.org>
6628 * BufferView.C (insertLyXFile):
6631 * tabular.C: use a parlist iterator for creating the
6634 2003-03-12 John Levon <levon@movementarian.org>
6636 * buffer.C: make current_change static local not
6639 2003-03-12 John Levon <levon@movementarian.org>
6641 * buffer.C: fix insertStringAsLines for change tracking
6643 2003-03-12 John Levon <levon@movementarian.org>
6650 * bufferparams.C: move author list into params. Rename some
6651 functions. Move the header reading into a separate token
6652 loop. Move the header token reading into BufferParams.
6654 2003-03-12 John Levon <levon@movementarian.org>
6656 * changes.C: put debug inside lyxerr.debugging() checks
6658 2003-03-11 André Pönitz <poenitz@gmx.net>
6660 * factory.C: make it aware of InsetHFill
6662 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6664 * buffer.C (latexParagraphs): move function from here...
6665 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6668 2003-03-10 Angus Leeming <leeming@lyx.org>
6670 * LyXAction.C (init): fix bug in poplating array with multiple entries
6671 with the same LFUN (spotted by JMarc).
6673 2003-03-10 John Levon <levon@movementarian.org>
6676 * text2.C: move getColumnNearX() near its
6679 2003-03-10 John Levon <levon@movementarian.org>
6681 * text.C: fix break before a minipage
6683 2003-03-10 John Levon <levon@movementarian.org>
6685 * text.C: fix the last commit
6687 2003-03-09 John Levon <levon@movementarian.org>
6691 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6692 bug 365 (don't break before insets unless needed). Don't
6693 return a value > last under any circumstances.
6695 2003-03-09 Angus Leeming <leeming@lyx.org>
6697 * BufferView_pimpl.C (trackChanges, dispatch): call
6698 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6700 2003-03-09 Angus Leeming <leeming@lyx.org>
6702 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6703 than Dialogs::showAboutlyx().
6705 2003-03-09 Angus Leeming <leeming@lyx.org>
6707 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6708 than Dialogs::showTabularCreate().
6710 2003-03-09 John Levon <levon@movementarian.org>
6714 * text2.C: 3rd arg to nextBreakPoint was always the same.
6717 2003-03-08 John Levon <levon@movementarian.org>
6724 * text2.C: Remove the "main" bit from the "main body"
6727 2003-03-08 John Levon <levon@movementarian.org>
6729 * text.C (leftMargin): The left margin of an empty
6730 manual label paragraph should not include the label width
6733 * text.C (prepareToPrint): don't attempt to measure hfills
6734 for empty manual label paragraphs - the answer should be 0
6736 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6738 * CutAndPaste.C: remove commented code and reindent.
6740 2003-03-08 John Levon <levon@movementarian.org>
6743 * lyxfunc.C: move reloadBuffer()
6746 * BufferView.C: to here
6748 * lyxvc.C: add comment
6751 * vc-backend.C: call bv->reload() to avoid
6752 getStatus() check on MENURELOAD
6754 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6756 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6757 to an old format .dep file.
6759 2003-03-07 Angus Leeming <leeming@lyx.org>
6761 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6762 when the LFUN_MOUSE_RELEASE should have been handled by
6763 inset->localDispatch.
6765 2003-03-07 Angus Leeming <leeming@lyx.org>
6767 * BufferView_pimpl.C (dispatch):
6768 * LyXAction.C (init):
6769 * ToolbarDefaults.C (init):
6771 * lyxfunc.C (getStatus):
6772 remove LFUN_INSET_GRAPHICS.
6774 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6776 2003-03-07 Angus Leeming <leeming@lyx.org>
6779 * LyXAction.C (init):
6780 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6782 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6785 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6787 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6788 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6790 2003-03-07 Angus Leeming <leeming@lyx.org>
6792 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6795 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6797 * ParagraphList.C (front): new function
6800 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6802 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6803 and top_row_offset_. removed var first_y.
6805 * text2.C (LyXText, removeRow):
6807 * BufferView_pimpl.C:
6808 use these methods instead of using first_y
6810 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6812 * text2.C (pasteSelection): adjust for checkPastePossible
6814 * CutAndPaste.C: remove Paragraph * buf and replace with
6815 ParagraphList paragraphs.
6816 (DeleteBuffer): delete
6817 (cutSelection): change the tc type to textclass_type
6818 (copySelection): change the tc type to textclass_type
6819 (copySelection): adjust for ParagraphList
6820 (pasteSelection): change the tc type to textclass_type
6821 (pasteSelection): adjust for Paragraphlist
6822 (nrOfParagraphs): simplify for ParagraphList
6823 (checkPastePossible): simplify for ParagraphList
6824 (checkPastePossible): remove unused arg
6826 * ParagraphList.C (insert): handle the case where there are no
6829 * CutAndPaste.h: make CutAndPaste a namespace.
6831 * text3.C (dispatch): adjust
6833 * text.C (breakParagraph): add a ParagraphList as arg
6835 * paragraph_funcs.C (breakParagraph): change to take a
6836 BufferParams and a ParagraphList as args.
6837 (breakParagraphConservative): ditto
6838 (mergeParagraph): ditto
6839 (TeXDeeper): add a ParagraphList arg
6840 (TeXEnvironment): ditto
6843 * buffer.C (readLyXformat2): adjust
6844 (insertStringAsLines): adjust
6845 (latexParagraphs): adjust
6847 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6848 (cutSelection): adjust
6849 (pasteSelection): adjust
6851 * BufferView_pimpl.C (insertInset): adjust
6853 2003-03-05 Angus Leeming <leeming@lyx.org>
6856 * LyXAction.C (init):
6857 * BufferView_pimpl.C (dispatch):
6858 * lyxfunc.C (getStatus):
6859 remove LFUN_CHILD_INSERT.
6861 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6863 2003-03-05 Angus Leeming <leeming@lyx.org>
6866 * LyXAction.C (init):
6867 * src/factory.C (createInset):
6868 * lyxfunc.C (getStatus):
6869 * text3.C (dispatch):
6870 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6872 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6874 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6876 * ParagraphList.C (insert): handle insert right before end()
6877 (erase): fix cases where it can be first or last paragraph.
6879 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6881 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6882 Paragraph::next and Paragraph::previous
6885 * text.C (breakParagraph): adjust
6887 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6888 BufferParams& as arg.
6889 (breakParagraph): use ParagraphList::insert
6890 (breakParagraphConservative): take a Buffer* instead of a
6891 BufferParams& as arg.
6892 (breakParagraphConservative): use ParagraphList::insert.
6894 * buffer.C (insertStringAsLines): un-const it
6895 (insertStringAsLines): adjust
6897 * ParagraphList.C (insert): new function
6899 * CutAndPaste.C (pasteSelection): adjust
6901 * text.C (backspace): adjust
6903 * tabular.C (SetMultiColumn): adjust
6905 * CutAndPaste.C (cutSelection): adjust
6906 (pasteSelection): adjust
6908 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6909 Buffer const * as arg
6911 * ParagraphList.C (erase): new function
6912 * paragraph_funcs.C (mergeParagraph): use it
6913 (mergeParagraph): make it take a Buffer* instead of a
6914 BufferParams* as arg
6916 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6918 (breakParagraphConservative): ditto
6920 * paragraph.h: remove the breakParagraph friend
6922 * paragraph.C (eraseIntern): new function
6923 (setChange): new function
6925 * paragraph_funcs.C (mergeParagraph): make it take a
6926 ParagraphList::iterator instead of a Paragraph *, adjust
6929 * paragraph.h: move an #endif so that the change tracking stuff
6930 also works in the NO_NEXT case.
6932 2003-03-04 Angus Leeming <leeming@lyx.org>
6935 * LyXAction.C: new LFUN_INSET_MODIFY.
6937 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6938 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6940 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6942 * several files: ws changes only
6944 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6945 (TeXEnvironment): ditto
6948 * buffer.C (makeLaTeXFile): adjust
6949 (latexParagraphs): make it take ParagraphList::iterator as args
6951 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6953 * buffer.C (latexParagraphs): adjust
6955 * paragraph.C (TeXOnePar): move function...
6956 (optArgInset): move function...
6957 (TeXEnvironment): move function...
6958 * paragraph_pimpl.C (TeXDeeper): move function...
6959 * paragraph_funcs.C: ...here
6961 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6963 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6965 * buffer.C (readInset): remove compability code for old Figure and
6968 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6970 * buffer.C: ws changes
6973 * BufferView_pimpl.C: ditto
6976 * bufferlist.h: ditto
6980 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6982 * converter.[Ch]: split into itself +
6985 * Makefile.am: += graph.[Ch] + format.[Ch]
6992 * lyxrc.C: added #include "format.h"
6994 2003-02-27 Angus Leeming <leeming@lyx.org>
6996 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6999 * factory.C (createInset): add "label" to the factory.
7001 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7002 string and do no more.
7004 2003-02-27 Angus Leeming <leeming@lyx.org>
7007 * LyXAction.C (init):
7008 * factory.C (createInset):
7009 * BufferView_pimpl.C (dispatch):
7010 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7012 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7014 * lyxfunc.C (dispatch):
7015 * text3.C (dispatch): pass name to params2string.
7017 2003-02-26 Angus Leeming <leeming@lyx.org>
7019 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7021 Rearrange the ~includes. Strip out the unnecessary ones.
7023 * factory.C (createInset): reformat.
7024 create new insets for the various LFUN_XYZ_APPLY lfuns.
7026 2003-02-26 John Levon <levon@movementarian.org>
7029 * lyxrow.C: add isParStart,isParEnd helpers
7031 * paragraph.h: make isInserted/DeletedText take refs
7033 * paragraph_funcs.h:
7034 * paragraph_funcs.C: remove #if 0'd code
7039 * text.C: use lyxrow helpers above.
7040 Move draw and paint routines to RowPainter.
7041 Make several methods use refs not pointers.
7042 Make backgroundColor() const.
7043 Add markChangeInDraw(), isInInset().
7044 Merge changeRegionCase into changeCase.
7045 Make workWidth() shouldn't-happen code into an Assert.
7048 * rowpainter.C: new class for painting a row.
7051 * vspace.C: make inPixels take a ref
7053 2003-02-26 Angus Leeming <leeming@lyx.org>
7055 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7058 2003-02-25 John Levon <levon@movementarian.org>
7060 * ispell.C: give the forked command a more accurate name
7062 2003-02-22 John Levon <levon@movementarian.org>
7065 * toc.C: make TocItem store an id not a Paragraph *
7068 2003-02-21 Angus Leeming <leeming@lyx.org>
7070 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7071 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7072 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7073 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7074 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7075 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7077 * BufferView_pimpl.C (dispatch):
7078 * LyXAction.C (init):
7079 * factory.C (createInset):
7080 * lyxfunc.C (getStatus, dispatch):
7081 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7083 2003-02-21 Angus Leeming <leeming@lyx.org>
7085 * BufferView_pimpl.C (MenuInsertLyXFile):
7086 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7087 * lyxfunc.C (menuNew, open, doImport):
7088 no longer pass a LyXView & to fileDlg.
7090 2003-02-21 Angus Leeming <leeming@lyx.org>
7092 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7093 * LyXAction.C: change, BIBKEY to BIBITEM.
7094 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7095 Change InsetBibKey to InsetBibitem.
7096 Change BIBKEY_CODE to BIBITEM_CODE.
7097 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7098 * factory.C: replace insetbib.h with insetbibitem.h.
7099 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7100 * paragraph.C: replace insetbib.h with insetbibitem.h.
7101 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7102 Change bibkey() to bibitem().
7103 * text.C: remove insetbib.h.
7104 * text2.C: replace insetbib.h with insetbibitem.h.
7105 change bibkey() to bibitem().
7106 * text3.C: remove insetbib.h.
7107 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7109 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7111 * lyxrc.C (output): enclose user email in quotes (in case there are
7114 2003-02-18 John Levon <levon@movementarian.org>
7116 * buffer.h: add std::
7118 2003-02-17 John Levon <levon@movementarian.org>
7124 * pspell.C: reworking. Especially in ispell, a large
7125 number of clean ups and bug fixes.
7127 * lyxfunc.C: fix revert to behave sensibly
7129 2003-02-17 André Pönitz <poenitz@gmx.net>
7132 * commandtags.h: new LFUN_INSERT_BIBKEY
7142 * paragraph_func.C: remove special bibkey handling
7144 2003-02-17 John Levon <levon@movementarian.org>
7146 * text.C (Delete): fix case where delete at the end of
7147 the very first paragraph would not merge the pars
7149 2003-02-17 John Levon <levon@movementarian.org>
7151 * lyxrow.C: fix lastPrintablePos()
7153 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7155 * bufferparams.C (writeLaTeX): add a std:here
7157 * buffer.C: and remove a using directive there
7159 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7161 * buffer.C (makeLaTeXFile): move the code that generates the
7164 * bufferparams.C (writeLaTeX): ... in this new method
7166 * LaTeXFeatures.C (getEncodingSet): make const
7167 (getLanguages): make const
7169 * MenuBackend.C (binding): returns the binding associated to this
7171 (add): sets the status of each item by calling getStatus. Adds
7173 (read): add support for OptSubMenu
7174 (expand): remove extra separator at the end of expanded menu
7176 2003-02-15 John Levon <levon@movementarian.org>
7179 * BufferView_pimpl.C:
7181 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7182 inset code that had no actual effect. Remove unneeded status
7185 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7187 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7190 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7192 * text.C (drawLengthMarker): also draw an arrow marker for
7193 symbolic lengths (medskip...)
7195 2003-02-14 John Levon <levon@movementarian.org>
7198 * tabular.C: better method names
7200 2003-02-14 John Levon <levon@movementarian.org>
7202 * BufferView_pimpl.C:
7207 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7208 it's a more accurate name. Remove some pointless uses.
7210 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7212 * text2.C (LyXText): change order of initilizers to shut off
7215 2003-02-14 John Levon <levon@movementarian.org>
7217 * buffer.C: use ParIterator for getParFromID()
7221 * paragraph_pimpl.h:
7222 * paragraph_pimpl.C: remove unused getParFromID()
7224 2003-02-14 John Levon <levon@movementarian.org>
7226 * buffer.C: remove some very old #if 0'd parse code
7228 2003-02-13 John Levon <levon@movementarian.org>
7232 * text2.C: move hfillExpansion(), numberOfSeparators(),
7233 rowLast(), rowLastPrintable(), numberofHfills(),
7234 numberOfLabelHfills() ...
7237 * lyxrow.C: ... to member functions here.
7242 * text.C: remove LyXText::beginningOfMainBody(), and call
7243 p->beginningOfMainBody() directly. Move the check for
7244 LABEL_MANUAL into the latter.
7251 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7257 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7258 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7260 2003-02-13 John Levon <levon@movementarian.org>
7262 * CutAndPaste.C: remove debug
7264 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7266 * paragraph.C (asString): remove two unused variables
7268 * lyxtextclass.C (readTitleType):
7270 (LyXTextClass): handle new members titletype_ and titlename_
7272 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7274 2003-02-09 John Levon <levon@movementarian.org>
7277 * buffer.C: replace hand-coded list with a map for the dep clean
7279 2003-02-08 John Levon <levon@movementarian.org>
7281 * LaTeX.C: consolidate code into showRunMessage() helper
7283 2003-02-08 John Levon <levon@movementarian.org>
7288 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7289 and pass the size in explicitly
7291 * BufferView_pimpl.h:
7292 * BufferView_pimpl.C:
7294 * BufferView.C: add getCurrentChange()
7296 * BufferView_pimpl.h:
7297 * BufferView_pimpl.C: handle change lfuns
7299 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7300 for changes. Mark pasted paragraphs as new.
7302 * support/lyxtime.h:
7303 * support/lyxtime.C:
7304 * DepTable.C: abstract time_t as lyx::time_type
7307 * LColor.C: add colours for new text, deleted text, changebars
7309 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7310 package use "usenames" option.
7314 * LyXAction.C: add change lfuns
7318 * author.C: author handling
7321 * buffer.C: add a per-buffer author list, with first entry as
7322 current author. Handle new .lyx tokens for change tracking. Output
7323 author list to .lyx file. Output dvipost stuff to .tex preamble.
7324 Bump lyx format to 222.
7327 * bufferlist.C: add setCurrentAuthor() to reset current author details
7331 * bufferparams.C: add param for tracking
7333 * bufferview_funcs.C: output change info in minibuffer
7337 * changes.C: add change-tracking structure
7340 * debug.C: add CHANGES debug flag
7343 * lyxfind.C: add code for finding the next change piece
7346 * lyxrc.C: add user_name and user_email
7349 * lyxrow.C: add a metric for the top of the text line
7352 * text.C: implement accept/rejectChange()
7355 * text.C: paint changebars. Paint new/deleted text in the chosen
7356 colours. Strike through deleted text.
7360 * paragraph_pimpl.h:
7361 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7362 in the current change to the insert functions. Rework erase to
7363 mark text as deleted, adding an eraseIntern() and a range-based
7364 erase(). Implement per-paragraph change lookup and
7367 * paragraph_funcs.C: Fixup paste for change tracking.
7369 * tabular.C: mark added row/columns as new.
7371 * text.C: fix rowLast() to never return -1. Don't allow
7372 spellchecking of deleted text. Track transpose changes. Don't
7373 allow paragraph break or merge where appropriate.
7375 * text2.C: leave cursor at end of selection after a cut.
7377 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7379 * text.C (getLengthMarkerHeight):
7380 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7381 visible on screen too.
7383 2003-02-07 John Levon <levon@movementarian.org>
7385 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7387 2003-02-05 Angus Leeming <leeming@lyx.org>
7389 * lyxserver.C (read_ready): revert my patch of 11 September last year
7390 as it sends PC cpu through the roof. Presumably this means that
7391 the lyxserver will no longer run on an Alpha...
7393 2003-01-30 Angus Leeming <leeming@lyx.org>
7395 * factory.C (createInset): create an InsetCommandParam of type "index"
7396 and use it to 'do the right thing'.
7398 * text2.C (getStringToIndex): ensure that cursor position is always
7399 reset to the reset_cursor position.
7401 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7403 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7406 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7410 * lyxfunc.C: Output messages with identical spelling, punctuation,
7413 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7415 * MenuBackend.C (expandFormats): List only viewable export formats
7418 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7421 * lyxfunc.C (getStatus): Make sure that formats other than
7422 "fax" can also be disabled
7424 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7426 * text3.C (dispatch): put the lfuns that insert insets in 3
7427 groups, and call doInsertInset with appropriate arguments.
7428 (doInsertInset): new function, that creates an inset and inserts
7429 it according to some boolean parameters.
7431 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7433 * buffer.C (readFile): remember to pass on 'par' when calling
7434 readFile recursively.
7436 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7438 * MenuBackend.C (expandFormats): add "..." to import formats.
7440 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7442 * paragraph.C (asString): Remove XForms RTL hacks.
7444 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7445 * buffer.C: fix typo
7447 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7449 * Makefile.am (LIBS): delete var
7450 (lyx_LDADD): add @LIBS@ here instead.
7452 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7454 * Clarify the meaning of "wheel mouse jump"
7456 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7458 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7461 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7463 * importer.C (Loaders): do not preallocate 3 elements in the
7464 vector, since one ends up with 6 elements otherwise
7466 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7468 * DepTable.C (write): write the file name as last element of the
7469 .dep file (because it may contain spaces)
7470 (read): read info in the right order
7472 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7474 * paragraph_pimpl.C (simpleTeXBlanks):
7475 (simpleTeXSpecialChars):
7476 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7478 * tabular.C (latex): add some missing case statements. Reindent.
7480 * MenuBackend.C (expandToc): remove unused variable.
7482 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7491 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7494 2003-01-05 John Levon <levon@movementarian.org>
7497 * BufferView.C: add getEncoding()
7500 * kbsequence.C: do not store last keypress
7503 * lyxfunc.C: store last keypress here instead. Pass encoding
7506 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7508 * lyx_main.C (init): remove annoying error message when following
7509 symbolic links (bug #780)
7511 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7513 * text.C (insertChar):
7514 * lyxrc.C (getDescription): remove extra spaces
7516 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7518 * lyxrc.C (getDescription): remove extra spaces
7520 2002-12-20 John Levon <levon@movementarian.org>
7522 * text3.C: hack fix for page up/down across tall rows
7524 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7526 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7529 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7531 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7532 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7533 thesaurus is not compiled in
7535 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7537 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7539 2002-12-16 Angus Leeming <leeming@lyx.org>
7542 * lyx_main.C (init): remove override_x_deadkeys stuff.
7544 2002-12-12 John Levon <levon@movementarian.org>
7546 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7547 insert. Only remove shift modifier under strict
7550 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7552 * MenuBackend.C (expandToc): fix crash.
7554 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7556 * MenuBackend.C (expandToc): gettext on float names.
7558 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7560 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7561 implement bool empty() [bug 490]
7563 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7565 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7567 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7569 * several files: ws changes
7571 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7573 * text2.C (setCounter): clean up a bit, use boost.format.
7574 (updateCounters): initialize par upon declaration.
7576 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7577 if the layout exists. We do not just store the layout any more.
7578 (SwitchLayoutsBetweenClasses): use boost.format
7580 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7582 * converter.C (convert): if from and to files are the same, use a
7583 temporary files as intermediary
7585 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7588 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7590 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7592 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7594 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7596 * tabular.C (asciiPrintCell): use string(size, char) instead of
7599 * sgml.C (openTag): fix order of arguments to string constructor
7602 * lyxfunc.C (dispatch): use boost.format
7604 * lots of files: change "c" -> 'c'
7606 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7608 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7610 2002-11-25 Angus Leeming <leeming@lyx.org>
7612 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7614 * lyx_main.C (init): compile fix.
7616 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7618 * lyx_cb.C (start): boost.formatify
7619 do not include <iostream>
7621 * lengthcommon.C: ws only
7623 * boost-inst.C,BoostFormat.h: add more explict instantations
7625 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7627 * lots of files: handle USE_BOOST_FORMAT
7629 2002-11-21 John Levon <levon@movementarian.org>
7631 * pspell.C: fix compile
7633 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7635 * lyxfunc.C (dispatch): use boost::format
7639 * lyxfont.C (stateText): use boost::format
7641 * lyx_main.C (LyX): use boost::format
7643 (queryUserLyXDir): ditto
7646 (typedef boost::function): use the recommened syntax.
7648 * importer.C (Import): use boost::format
7650 * debug.C (showLevel): use boost::format
7652 * converter.C (view): use boost::format
7657 * bufferview_funcs.C (currentState): use boost::format
7659 * bufferlist.C (emergencyWrite): use boost::format
7661 * buffer.C (readLyXformat2): use boost::format
7662 (parseSingleLyXformat2Token): ditto
7664 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7666 * LaTeX.C (run): use boost::format
7668 * Chktex.C (scanLogFile): use boost::format
7670 * BufferView_pimpl.C (savePosition): use boost::format
7671 (restorePosition): ditto
7672 (MenuInsertLyXFile): ditto
7674 * BoostFormat.h: help file for explicit instation.
7676 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7678 * tabular.C (latex): Support for block alignment in fixed width
7681 2002-11-17 John Levon <levon@movementarian.org>
7683 * BufferView_pimpl.C:
7685 * lyxfunc.C: split filedialog into open/save
7687 2002-11-08 Juergen Vigna <jug@sad.it>
7689 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7690 by my last patch (hopefully).
7692 2002-11-08 John Levon <levon@movementarian.org>
7701 * toc.C: ParConstIterator, and use it (from Lars)
7703 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7705 * lyxtextclass.[Ch]: revise and add doxygen comments
7707 2002-11-07 John Levon <levon@movementarian.org>
7709 * text.C: fix progress value for spellchecker
7711 * toc.C: fix navigate menu for insetwrap inside minipage
7713 * paragraph_funcs.C: added FIXME for suspect code
7715 2002-11-07 John Levon <levon@movementarian.org>
7717 * BufferView_pimpl.C: fix redrawing of insets
7720 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7722 * text2.C (updateCounters): fix bug 668
7724 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7726 * text3.C (dispatch): Do not make the buffer dirty when moving the
7729 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7731 * vc-backend.C: STRCONV
7734 * text2.C (setCounter): STRCONV
7736 * paragraph.C (asString): STRCONV
7738 * lyxlength.C (asString): STRCONV
7739 (asLatexString): ditto
7741 * lyxgluelength.C (asString): STRCONV
7742 (asLatexString): ditto
7744 * lyxfunc.C (dispatch): STRCONV
7747 * lyxfont.C (stateText): STRCONV
7749 * importer.C (Import): STRCONV
7751 * counters.C (labelItem): STRCONV
7752 (numberLabel): ditto
7753 (numberLabel): remove unused ostringstream o
7758 * bufferview_funcs.C (currentState): STRCONV
7760 * buffer.C (readFile): STRCONV
7761 (asciiParagraph): ditto
7762 (makeLaTeXFile): ditto
7764 * Spacing.C (writeEnvirBegin): STRCONV
7766 * LaTeXFeatures.C (getLanguages): STRCONV
7767 (getPackages): ditto
7769 (getBabelOptions): ditto
7770 (getTClassPreamble): ditto
7771 (getLyXSGMLEntities): ditto
7772 (getIncludedFiles): ditto
7776 (scanAuxFile): ditto
7779 * LString.h: add the STRCONV macros
7781 * BufferView_pimpl.C (savePosition): STRCONV
7782 (restorePosition): ditto
7783 (MenuInsertLyXFile): ditto
7785 * vc-backend.C (scanMaster): change from submatch[...] to
7788 * funcrequest.C: include config.h
7790 * factory.C: include config.h
7792 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7794 * box.C: include config.h
7796 * LaTeX.C (scanAuxFile): change from submatch[...] to
7800 2002-10-25 Angus Leeming <leeming@lyx.org>
7802 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7804 * ispell.[Ch] (setError): new method.
7805 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7806 Use setError() insetead of goto END.
7808 * lyx_cb.C (AutoSave): move out child process into new class
7811 2002-10-30 John Levon <levon@movementarian.org>
7813 * text3.C: make start appendix undoable
7815 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7817 * lyxlength.C (inPixels): Fix returned value.
7819 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7822 2002-10-24 Angus Leeming <leeming@lyx.org>
7824 * lyxgluelength.h: no need to forward declare BufferParams
7825 or BufferView, so don't.
7827 2002-10-21 John Levon <levon@movementarian.org>
7829 * BufferView.C: menuUndo ->undo, redo
7831 * BufferView.h: document, remove dead, make some methods private
7833 * paragraph_funcs.h:
7834 * paragraph_funcs.C:
7835 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7840 * sgml.C: move sgml open/close tag into sgml.C
7842 * bufferview_funcs.h: unused prototype
7845 * lyxfunc.C: remove unused
7848 * text.C: remove unused
7850 2002-10-21 John Levon <levon@movementarian.org>
7854 * BufferView_pimpl.h:
7855 * BufferView_pimpl.C: fix mouse wheel handling based on
7856 patch from Darren Freeman
7858 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7860 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7862 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7864 * lyxlength.C (inPixels): Fix hanfling of negative length.
7865 Fix LyXLength::MU case.
7867 2002-10-16 John Levon <levon@movementarian.org>
7869 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7871 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7873 * converter.C (view): add support for $$i (file name) and $$p
7874 (file path) for the viewer command. If $$i is not specified, then
7875 it is appended to the command (for compatibility with old syntax)
7877 2002-10-14 Juergen Vigna <jug@sad.it>
7879 * undo_funcs.C (textHandleUndo): alter the order in which the
7880 new undopar is added to the LyXText, as we have to set first
7881 the right prev/next and then add it as otherwise the rebuild of
7882 LyXText is not correct. Also reset the cursor to the right paragraph,
7883 with this IMO we could remove the hack in "redoParagraphs()".
7885 2002-10-09 Angus Leeming <leeming@lyx.org>
7887 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7888 to turn off an optimisation if a new inset is to be inserted.
7890 2002-10-11 André Pönitz <poenitz@gmx.net>
7892 * lyxtext.h: make some functions public to allow access
7893 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7895 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7897 * text3.C (dispatch): when changing layout, avoid an infinite loop
7900 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7902 * lyxrc.C (read): treat a viewer or converter command of "none" as
7905 * MenuBackend.C (expandFormats): for an update, also allow the
7906 formats that are not viewable
7908 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7909 script if it is newer than the lyxrc.defaults in user directory
7911 2002-10-07 André Pönitz <poenitz@gmx.net>
7913 * text.C: Vitaly Lipatov's small i18n fix
7915 2002-09-25 Angus Leeming <leeming@lyx.org>
7917 * ispell.h: doxygen fix.
7919 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7921 * buffer.h (readFile): Add a new argument to the method, to allow
7922 reading of old-format templates.
7924 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7926 * toc.C (getTocList): Get TOC from InsetWrap.
7928 2002-09-16 John Levon <levon@movementarian.org>
7930 * lyxfunc.C: check tabular for cut/copy too
7932 2002-09-12 John Levon <levon@movementarian.org>
7937 * factory.C: add header
7939 * paragraph_funcs.h:
7940 * paragraph_funcs.C: cleanup
7942 2002-09-11 John Levon <levon@movementarian.org>
7944 * PrinterParams.h: odd/even default to true
7946 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7948 * PrinterParams.h: update printer parameters for new xforms dialog
7950 2002-09-11 Angus Leeming <leeming@lyx.org>
7952 * lyxserver.C (read_ready): re-write to make it more transparent
7953 and to make it work in coherent fashion under Tru64 Unix.
7955 2002-09-11 André Pönitz <poenitz@gmx.net>
7959 * text3.C: implement LFUN_WORDSEL
7961 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7963 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7964 make floatlist_ a boost::shared_ptr<FloatList>
7966 * lyxtextclass.C: include FloatList.h
7967 (LyXTextClass): initialize floatlist_
7968 (TextClassTags): add TC_NOFLOAT
7969 (Read): match "nofloat" to TC_NOFLOAT and use it.
7970 (readFloat): modify call to floatlist_
7974 * FloatList.[Ch] (FloatList): remove commented out float
7976 (erase): new function
7978 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7980 * MenuBackend.C (expandToc): fix crash when there is no document
7983 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7985 * many files: Add insetwrap.
7987 2002-09-09 John Levon <levon@movementarian.org>
7989 * text2.C: remove confusing and awkward depth wraparound
7991 2002-09-09 John Levon <levon@movementarian.org>
7993 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7996 * buffer.C: remove getIncludeonlyList()
7999 * lyxfunc.C: remove headers
8001 2002-09-09 Juergen Vigna <jug@sad.it>
8003 * text.C (getColumnNearX): fix form Michael this is most
8004 probably a cut&paste bug.
8006 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8008 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8010 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8011 references, ws changes.
8013 * text2.C (init): update counters after init
8014 (insertParagraph): no need to set counter on idividual paragraphs.
8015 (setCounter): access the counters object in the textclass object
8016 on in the buffer object.
8017 (updateCounters): ditto
8019 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8020 shared_ptr<Counters> to avoid loading counters.h in all
8022 (LyXTextClass): initialize ctrs_
8023 (TextClassTags): add TC_COUNTER, and ...
8024 (Read): use it here.
8025 (CounterTags): new tags
8026 (readCounter): new function
8027 (counters): new funtion
8028 (defaultLayoutName): return a const reference
8030 * counters.C (Counters): remove contructor
8031 (newCounter): remove a couple of unneeded statements.
8032 (newCounter): simplify a bit.
8033 (numberLabel): some small formatting changes.
8035 * buffer.[Ch]: remove all traces of counters, move the Counters
8036 object to the LyXTextClass.
8038 2002-09-06 Alain Castera <castera@in2p3.fr>
8040 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8041 package to set the horizontal alignment on fixed width columns.
8044 * lyx_sty.h: added tabularnewline macro def.
8046 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8048 2002-09-06 John Levon <levon@movementarian.org>
8050 * LyXAction.C: tooltips for sub/superscript
8052 * MenuBackend.C: a bit more verbose
8054 * lyxfunc.C: tiny clean
8056 * undo_funcs.C: document undo_frozen
8058 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8060 * counters.C (Counters): add missing algorithm counter.
8062 * text2.C (setCounter): lookup the counter with layouts latexname
8063 instead of by section number.
8064 (setCounter): use a hackish way to lookup the correct enum
8066 a float name->type change
8067 reset enum couners with counter name directly instead of depth value.
8069 * counters.C (Counters): remove the push_backs, change to use the
8070 float type not the float name.
8071 (labelItem): remove unused string, float name->type change
8073 * counters.h: don't include vector, loose the enums and sects vectors
8075 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8077 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8078 (Read): add float->TC_FLOAT to textclassTags
8079 (Read): and handle it in the switch
8080 (readFloat): new function
8082 * FloatList.C (FloatList): comment out the hardcoded float
8085 * lyxlayout.h: ws change.
8087 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8089 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8091 2002-09-03 Angus Leeming <leeming@lyx.org>
8093 * BufferView_pimpl.h: qualified name is not allowed in member
8094 declaration: WorkArea & Pimpl::workarea() const;
8096 * factory.C: added using std::endl directive.
8098 * text3.C: added using std::find and std::vector directives.
8100 2002-08-29 André Pönitz <poenitz@gmx.net>
8103 * text2.C: remove unused member number_of_rows
8106 * BufferView2.C: remove file, move contents to...
8107 * BufferView.C: ... here
8109 * BufferView_pimpl.C:
8110 * factory.C: move more inset creation to factory
8112 * vspace.C: avoid direct usage of LyXText, ws changes
8115 don't provide direct access to WorkArea, use two simple
8116 acessors haveSelction() and workHeight() instead
8119 2002-08-29 John Levon <levon@movementarian.org>
8121 * BufferView_pimpl.C (dispatch): do not continue when
8124 2002-08-28 André Pönitz <poenitz@gmx.net>
8126 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8129 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8131 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8133 * buffer.C: increment LYX_FORMAT to 221
8135 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8136 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8138 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8140 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8142 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8144 * factory.C (createInset): use LyXTextClass::floats
8146 * MenuBackend.C (expandFloatListInsert):
8147 (expandFloatInsert):
8150 * text2.C (setCounter):
8152 * LaTeXFeatures.C (useFloat):
8153 (getFloatDefinitions):
8155 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8157 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8158 floatlist_, with accessor floats().
8160 * FloatList.h: remove global FloatList
8162 2002-08-26 André Pönitz <poenitz@gmx.net>
8164 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8168 * BufferView_pimpl.C:
8169 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8171 2002-08-25 John Levon <levon@movementarian.org>
8173 * LyXAction.C: fix margin note description
8175 2002-08-24 John Levon <levon@movementarian.org>
8179 * bufferview_funcs.C:
8181 * undo_funcs.C: cleanups
8183 * lyxfunc.C: disable CUT/COPY when no selection
8185 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8187 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8188 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8190 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8191 Add backward compatibility to "mono", "gray" and "no".
8193 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8195 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8196 (and file_format >= 200).
8198 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8200 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8202 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8204 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8206 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8208 * BufferView_pimpl.C:
8215 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8216 inset and code to make it work with the paragraph code. The inset
8217 can be anywhere in the paragraph, but will only do the expected
8218 thing in LaTeX if the layout file contains the parameter line
8220 (or more generally, a nonzero value) for that layout.
8222 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8224 * paragraph.h: remove the declaration of undefined counters class
8227 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8229 * text2.C (setCounter): fixed enumeration mis-count as reported by
8230 Dr. Richard Hawkins.
8232 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8234 * paragraph_funcs.h: remove some unneeded includes
8236 * text.C (backspace): pasteParagraph now in global scipe
8238 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8239 (pasteSelection): ditto
8241 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8242 * paragraph_funcs.C (pasteParagraph): ... here
8244 2002-08-20 André Pönitz <poenitz@gmx.net>
8246 * commandtags.h: new LFUNs for swapping/copying table row/colums
8249 * lyxfunc.C: support for new lfuns
8251 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8254 * buffer.[Ch]: remove NO_COMPABILITY stuff
8256 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8258 * boost.C (throw_exception): new file, with helper function for
8259 boost compiled without exceptions.
8264 * ParameterStruct.h:
8265 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8267 * bufferlist.C (emergencyWriteAll): use boost bind
8269 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8271 * text.C: include paragraph_funcs.h
8272 (breakParagraph): breakParagraph is now in global scope
8274 * paragraph_funcs.[Ch]: new files
8276 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8279 * buffer.C: include paragraph_funcs.h
8280 (insertStringAsLines): breakParagraph is now in global scope
8282 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8285 * CutAndPaste.C: include paragraph_funcs.h
8286 (cutSelection): breakParagraphConservative is now in global scope
8287 (pasteSelection): ditto
8289 * buffer.h: declare oprator== and operator!= for
8290 Buffer::inset_iterator
8292 * bufferlist.C (emergencyWrite): don't use fmt(...)
8294 * text3.C: add using std::endl
8296 * BufferView.C (moveCursorUpdate): remove default arg
8298 2002-08-20 André Pönitz <poenitz@gmx.net>
8300 * buffer.[Ch]: move inline functions to .C
8303 * BufferView_pimpl.C:
8305 * buffer.[Ch]: use improved inset_iterator
8308 * paragraph.[Ch]: write one paragraph at a time
8310 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8312 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8313 style if style is not specified.
8315 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8317 * text2.C (setCounter): when searching for right label for a
8318 caption, make sure to recurse to parent insets (so that a caption
8319 in a minipage in a figure float works) (bug #568)
8321 2002-08-20 André Pönitz <poenitz@gmx.net>
8323 * text3.C: new file for LyXText::dispatch() and helpers
8325 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8327 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8329 2002-08-19 André Pönitz <poenitz@gmx.net>
8332 * text.C: new LyXText::dispatch()
8334 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8336 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8338 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8340 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8343 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8345 * Makefile.am: use $(variables) instead of @substitutions@
8347 2002-08-15 André Pönitz <poenitz@gmx.net>
8350 * BufferView_pimpl.C: streamlining mathed <-> outer world
8354 * LyXAction.C: remove unused LFUN_MATH
8356 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8358 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8360 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8362 * paragraph.C (Paragraph): reformat a bit
8363 (cutIntoMinibuffer): use builtin InsetList function instad of
8367 * buffer.C: include boost/bind.hpp, add using std::for_each
8368 (writeFileAscii): use ParagraphList iterators
8369 (validate): use for_each for validate traversal of paragraphs
8370 (getBibkeyList): use ParagraphList iterators
8371 (resizeInsets): use for_each to resizeInsetsLyXText for all
8373 (getParFromID): use ParagraphList iterators
8375 * BufferView2.C (lockInset): use paragraph list and iterators
8377 2002-08-14 John Levon <levon@movementarian.org>
8379 * lyxserver.C: remove spurious xforms include
8381 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8383 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8385 2002-08-13 André Pönitz <poenitz@gmx.net>
8388 * lyxfunc.C: further cleaning
8390 2002-08-13 André Pönitz <poenitz@gmx.net>
8392 * funcrequest.h: new constructor
8394 * funcrequest.C: move stuff here from .h
8397 * BufferView_pimpl.C:
8400 * lyxfunc.C: subsequent changes
8402 * lyxfunc.h: new view() member function
8404 * lyxfunc.C: subsequent changes
8406 2002-08-13 Angus Leeming <leeming@lyx.org>
8409 * BufferView_pimpl.C:
8417 changes due to the changed LyXView interface that now returns references
8418 to member variables not pointers.
8420 2002-08-13 Angus Leeming <leeming@lyx.org>
8422 * WordLangTuple (word, lang_code): return references to strings,
8427 * lyxtext.h: forward-declare WordLangTuple.
8432 * text.C: #include "WordLangTuple.h".
8435 * text.C: (selectNextWordToSpellcheck): constify return type.
8437 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8443 * paragraph_pimpl.h:
8446 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8448 Made updateCounter always count from start of buffer, and removed
8449 second argument (par).
8450 Reverted floats number display to '#'. Perhaps I'll try again when the
8451 code base is sanitized a bit.
8453 2002-08-12 Angus Leeming <leeming@lyx.org>
8455 * buffer.[Ch] (getLabelList): constify.
8457 2002-08-07 André Pönitz <poenitz@gmx.net>
8459 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8461 * funcrequest.h: extension to keep mouse (x,y) position
8463 2002-08-12 Juergen Vigna <jug@sad.it>
8465 * BufferView2.C (insertErrors): forbid undo when inserting error
8468 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8470 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8472 * ParagraphList.[Ch]: new files
8474 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8476 * BufferView2.C (lockInset): ParagraphList changes
8479 * bufferlist.C: ditto
8483 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8485 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8486 unused class variable counter_,
8488 * paragraph.[Ch] (getFirstCounter): delete unused function
8490 * counters.C: include LAssert.h
8491 (reset): add a new function with no arg, change other version to
8492 not have def. arg and to not allow empty arg.
8494 * text2.C (setCounter): remove empty arg from call to Counters::reset
8496 2002-08-11 John Levon <levon@movementarian.org>
8498 * Makefile.am: add WordLangTuple.h
8500 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8502 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8503 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8505 * insets/insettext.C: InsetList changes
8507 * graphics/GraphicsSupport.C (operator()): InsetList changes
8509 * toc.C (getTocList): InsetList changes
8511 * paragraph_pimpl.[Ch]: InsetList changes
8513 * paragraph.[Ch]: InsetList changes
8515 * buffer.C (inset_iterator): InsetList changes
8516 (setParagraph): ditto
8517 * buffer.h (inset_iterator): ditto
8518 * iterators.C (operator++): ditto
8519 * iterators.h: ditto
8521 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8523 * InsetList.[Ch]: new files, most InsetList handling moved out of
8526 * BufferView2.C (removeAutoInsets): InsetList changes
8528 (ChangeInsets): ditto
8530 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8532 * paragraph_pimpl.h (empty): new function
8534 * paragraph.[Ch] (empty): new function
8536 * other files: use the new Paragraph::empty function
8538 2002-08-09 John Levon <levon@movementarian.org>
8540 * lyxtext.h: remove unused refresh_height
8542 2002-08-09 John Levon <levon@movementarian.org>
8549 * paragraph.C: move sgml char escaping out of paragraph
8552 * paragraph.C: remove id setter
8556 * paragraph_pimpl.C: remove dead tex_code_break_column
8558 * bufferview_funcs.C: small cleanup
8560 * lyxfunc.C: remove dead proto
8562 * lyxtext.h: make some stuff private. Remove some dead stuff.
8564 * lyxgluelength.C: make as[LyX]String() readable
8566 2002-08-08 John Levon <levon@movementarian.org>
8571 * ToolbarDefaults.C:
8574 * toc.C: lyxaction cleanup
8576 2002-08-08 John Levon <levon@movementarian.org>
8578 * BufferView2.C: small cleanup
8581 * lyxfind.C: move unnecessary header into the .C
8583 2002-08-08 John Levon <levon@movementarian.org>
8585 * funcrequest.h: just tedious nonsense
8588 * lyx_main.C: cleanups
8591 * vspace.C: remove dead header lyx_main.h
8593 2002-08-07 Angus Leeming <leeming@lyx.org>
8596 * paragraph_pimpl.h:
8597 Forward declare class Counters in paragraph.h by moving the ctrs member
8598 variable into Paragraph::Pimpl.
8599 (counters): new method, returning a reference to pimpl_->ctrs.
8601 * text2.C: ensuing changes.
8603 2002-08-07 John Levon <levon@movementarian.org>
8605 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8607 * BufferView_pimpl.C: announce X selection on double/triple
8610 * lyx_main.C: use correct bool in batch dispatch
8612 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8614 2002-08-07 André Pönitz <poenitz@gmx.net>
8616 * funcrequest.h: new class to wrap a kb_action and its argument
8619 * BufferView_pimpl[Ch]:
8623 * lyxrc.C: subsequent changes
8626 2002-08-07 John Levon <levon@movementarian.org>
8628 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8629 document options change.
8631 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8636 * makefile.am: move counters functionality over from
8637 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8639 2002-08-06 John Levon <levon@movementarian.org>
8641 * WordLangTuple.h: new file for word + language code tuple
8652 * BufferView2.C: use WordLangTuple
8655 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8657 2002-08-06 John Levon <levon@movementarian.org>
8659 * lyx_main.C: fix cmdline batch handling
8661 2002-08-06 André Pönitz <poenitz@gmx.net>
8663 * lyxrc.C: set default for show_banner to true
8665 2002-08-06 John Levon <levon@movementarian.org>
8667 * pspell.C: fix a crash, and allow new aspell to work
8669 2002-08-06 John Levon <levon@movementarian.org>
8672 * kbmap.C: small cleanup
8675 * vspace.C: add const
8677 2002-08-05 John Levon <levon@movementarian.org>
8679 * LyXAction.C: back to tabular-insert
8681 2002-08-04 John Levon <levon@movementarian.org>
8684 * BufferView.C: cosmetic change
8686 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8696 * BufferView2.C: purge all "Lyx" not "LyX" strings
8699 * lyxcursor.C: attempt to add some documentation
8704 * ToolbarDefaults.C:
8705 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8706 merge with LFUN_TABULAR_INSERT
8713 * pspell.C: split up i/pspell implementations into separate
8714 files, many cleanups
8716 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8718 * text2.C: some cleanup
8720 * lyxfunc.C: don't check for isp_command == "none" any more, it
8721 didn't make any sense
8723 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8728 * makefile.am: move counters functionality over
8729 from text2.C/paragraph.[Ch] to counters.[Ch], and
8731 2002-08-02 John Levon <levon@movementarian.org>
8733 * buffer.C: s/lyxconvert/lyx2lyx/
8735 2002-08-02 Angus Leeming <leeming@lyx.org>
8737 * lyxlex.C: revert John's change as it breaks reading of the user
8740 2002-08-02 Angus Leeming <leeming@lyx.org>
8742 * importer.C (Import):
8743 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8744 changes due to LyXView::view() now returning a boost::shared_ptr.
8746 2002-08-02 John Levon <levon@movementarian.org>
8748 * lyxlex.C: small cleanup
8750 2002-08-02 John Levon <levon@movementarian.org>
8752 * text2.C (status): small cleanup, no logic change
8754 2002-08-01 John Levon <levon@movementarian.org>
8757 * buffer.C (writeFile): don't output alerts, caller
8761 * lyx_cb.C: from above
8763 * lyxfunc.C: allow to open non-existent files
8765 2002-07-31 John Levon <levon@movementarian.org>
8767 * lyxserver.C: don't let incidental errors get
8770 2002-07-30 John Levon <levon@movementarian.org>
8772 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8774 2002-07-30 John Levon <levon@movementarian.org>
8777 * lyxserver.C: remove I/O callback too
8779 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8781 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8784 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8786 * many files: strip,frontStrip -> trim,ltrim,rtrim
8788 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8790 * PrinterParams.h: remove extern containsOnly, and include
8791 support/lstrings.h instead.
8793 * LaTeX.C (scanAuxFile): modify because of strip changes
8795 * buffer.C (makeLaTeXFile): ditto
8796 * bufferparams.C (writeFile): ditt
8797 * lyxfont.C (stateText): ditto
8798 * lyxserver.C (read_ready): ditto
8799 * vc-backend.C (scanMaster): ditto
8801 * BufferView_pimpl.h: ws changes
8803 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8805 2002-07-26 André Pönitz <poenitz@gmx.net>
8807 * kb_sequence.C: remove unnedred usings
8809 2002-07-26 Juergen Vigna <jug@sad.it>
8811 * lyxfind.C (LyXReplace): we have to check better if the returned
8812 text is not of theLockingInset()->getLockingInset().
8814 2002-07-25 Juergen Vigna <jug@sad.it>
8816 * lyxfind.C (LyXReplace): don't replace if we don't get the
8819 * undo_funcs.C (createUndo): remove debugging code.
8821 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8823 * buffer.C (parseSingleLyXformat2Token): Use default placement
8824 when reading old floats.
8826 * FloatList.C (FloatList): Change the default placement of figure
8827 and tables to "tbp".
8829 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8831 * MenuBackend.C: using std::max
8833 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8835 * MenuBackend.C (expandToc):
8836 (expandToc2): code moved from xforms menu frontend. It is now
8837 generic and TOCs are transparent to menu frontends.
8839 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8841 * toc.C (getTocList): protect against buf=0
8843 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8844 Menu as first parameter. Now, this calls itself recursively to
8845 expand a whole tree (this will be useful for TOC handling)
8846 (expandFloatInsert): remove 'wide' version of floats
8848 * MenuBackend.h (submenuname): returns the name of the submenu.
8849 (submenu): returns the submenu itself, provided it has been
8850 created by MenuBackend::expand
8852 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8854 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8855 insets which have noFontChange == true. (bug #172)
8857 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8859 * BufferView_pimpl.C: add connection objects and use them...
8862 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8864 * MenuBackend.C (expandLastfiles):
8867 (expandFloatListInsert):
8868 (expandFloatInsert):
8869 (expand): split expand in parts
8871 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8873 * lyx_gui.C: use lyx_gui::exit()
8875 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8877 * LyXAction.C: show the failing pseudo action
8879 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8881 * buffer.C (readFile): Run the lyxconvert script in order to read
8884 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8888 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8890 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8894 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8896 2002-07-22 Herbert Voss <voss@lyx.org>
8899 * lyxlength.[Ch]: add support for the vertical lengths
8901 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8903 * toc.[Ch]: std:: fixes
8905 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8907 * lyxrc.C: do not include lyx_main.h
8909 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8915 * BufferView2.C: include "lyxlex.h"
8918 * bufferparams.h: do not #include "lyxlex.h"
8920 * lyxtextclasslist.C (Add): remove method
8921 (classlist): renamed to classlist_
8923 * paragraph_pimpl.C:
8927 * bufferview_funcs.C:
8932 * toc.C (getTocList): use BufferParams::getLyXTextClass
8934 * toc.C (getTocList): use InsetFloat::addToToc
8936 * toc.[Ch]: new files, containing helper functions to handle table
8939 * lyxfunc.C (dispatch): no need to remove spaces around command
8941 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8942 first command of the sequence; it is not very clever, but I do not
8943 have a better idea, actually
8945 * LyXAction.C (LookupFunc): make sure to remove space at the
8946 beginning and end of the command
8948 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8950 * MenuBackend.C (getMenubar): new method: return the menubar of
8952 (read): treat differently reading of menu and menubar (in
8953 particular, the menubar has no name now)
8954 (Menu::menubar): remove
8956 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8959 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8961 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8962 a bibitem inset in a RTL paragraph.
8964 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8966 * paragraph_pimpl.C: constify
8968 * BufferView_pimpl.C:
8970 * lyxfunc.C: fix dispatch in a nicer way
8972 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8974 * lyxfunc.C (dispatch):
8975 * BufferView_pimpl.C:
8976 * BufferView_pimpl.h:
8978 * BufferView.h: rename Dispatch() to dispatch()
8980 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8982 * lyxlayout.C (Read): honor DependsOn tag
8984 * lyxlayout.[Ch] (depends_on): new method
8986 * version.C.in: update lyx_docversion
8988 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8990 * paragraph.C (validate): remove from here...
8991 * paragraph_pimpl.C (validate): ... and move here
8992 (isTextAt): make it const
8994 * buffer.C (getLists): ws cleanup
8996 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8998 * language.C (read): Use iso8859-1 encoding in latex_lang
8999 (this prevents LyX from crashing when using iso10646-1 encoding).
9001 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9003 * text2.C (toggleInset): if cursor is inside an inset, close the
9004 inset and leave cursor _after_ it
9006 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9008 * lyxfunc.C: move minibuffer completion handling out of here
9010 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9012 * BufferView_pimpl.C:
9013 * LaTeX.C: fix dispatch calls
9015 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9017 * text.C (drawChars): Fix Arabic text rendering.
9019 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9023 * lyxfunc.C: remove message-push/pop
9027 * lyxfunc.C: rationalise some code by removing verboseDispatch
9028 in favour of a bool argument to dispatch()
9030 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9032 * lyx_main.C (init): make sure to read symlinks as absolute paths
9034 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9037 * lyxfunc.C: no need for commandshortcut to be a member
9039 2002-07-15 André Pönitz <poenitz@gmx.net>
9041 * converter.C: add support for $$s (scripts from lib/scripts dir)
9042 * lyx_main.C: white space
9044 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9048 * lyxrc.C: remove second exit confirmation
9050 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9055 * BufferView_pimpl.h:
9056 * BufferView_pimpl.C:
9057 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9059 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9061 * MenuBackend.C (expand): add numeric shortcuts to document menu
9063 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9065 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9067 * lyxfont.C (setLyXFamily):
9074 * buffer.C (asciiParagraph): use ascii_lowercase
9076 2002-07-15 Mike Fabian <mfabian@suse.de>
9078 * lyxlex_pimpl.C (search_kw):
9079 * lyxlex.C (getLongString):
9080 * converter.h (operator<):
9081 * converter.C (operator<):
9082 * buffer.C (parseSingleLyXformat2Token):
9084 * ToolbarDefaults.C (read):
9085 * MenuBackend.C (checkShortcuts):
9087 * LColor.C (getFromGUIName):
9088 (getFromLyXName): use the compare_ascii_no_case instead of
9089 compare_no_case, because in turkish, 'i' is not the lowercase
9090 version of 'I', and thus turkish locale breaks parsing of tags.
9092 2002-07-16 Angus Leeming <leeming@lyx.org>
9094 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9095 now takes a Buffer const & argument.
9097 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9099 * BufferView.C (resize): check there's a buffer to resize
9101 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9103 * lyxfunc.C: remove dead code
9106 * lyxserver.C: use lyx_guii::set_read_callback
9108 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9110 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9111 an inset in a RTL paragraph.
9113 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9115 * lyxfunc.C: repaint after a font size update
9117 2002-07-15 André Pönitz <poenitz@gmx.net>
9119 * lyxlength.C: inBP should be able to return negative values
9121 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9123 * lyxfunc.C: use lyx_gui::update_fonts()
9125 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9127 * lyxfunc.C: use lyx_gui::update_color()
9129 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9135 * lyxrc.C: remove file->new asks for name option, and let
9136 buffer-new take an argument
9138 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9140 * BufferView_pimpl.C: remove unneeded extra repaint()
9142 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9144 * LyXAction.C: allow command-sequence with NoBuffer
9146 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9148 2002-07-10 Angus Leeming <leeming@lyx.org>
9150 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9152 2002-07-09 Angus Leeming <leeming@lyx.org>
9154 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9156 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9158 * lengthcommon.h: whitespace
9160 * lyxfunc.C: update scrollbar after goto paragraph
9162 * lyxtext.h: factor out page break drawing, and fix it so
9163 page break/added space paints as selected nicely
9165 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9167 * BufferView_pimpl.C: add FIXMEs, clean up a little
9169 2002-07-09 André Pönitz <poenitz@gmx.net>
9171 * lyxfont.[Ch]: support for wasy symbols
9173 2002-07-08 André Pönitz <poenitz@gmx.net>
9175 * BufferView_pimpl.C: apply John's patch for #93.
9177 2002-07-05 Angus Leeming <leeming@lyx.org>
9179 * BufferView_pimpl.C (buffer): generate previews if desired.
9181 * LColor.h: add "preview" to the color enum.
9183 * LColor.C (LColor): add a corresponding entry to the items array.
9185 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9188 2002-07-05 Angus Leeming <leeming@lyx.org>
9190 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9191 The body of the code is now in the method that is passed an ostream &
9192 rather than a file name.
9193 Pass an additional only_preamble parameter, useful for the forthcoming
9196 2002-07-03 André Pönitz <poenitz@gmx.net>
9198 * lyxfunc.C: simplify getStatus() a bit for math stuff
9200 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9202 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9204 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9206 * text.C (changeRegionCase): do not change case of all the
9207 document when region ends at paragraph end (bug #461)
9209 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9211 * paragraph.C (startTeXParParams):
9212 (endTeXParParams): add \protect when necessary
9214 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9216 * BufferView_pimpl.C (workAreaExpose): remove warning
9218 2002-06-27 Angus Leeming <leeming@lyx.org>
9220 * Makefile.am: add lyxlayout_ptr_fwd.h.
9222 2002-06-26 André Pönitz <poenitz@gmx.net>
9224 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9226 2002-06-25 Angus Leeming <leeming@lyx.org>
9228 * lyxfunc.C (dispatch): Comment out the call to
9229 grfx::GCache::changeDisplay. The method no longer exists now that the
9230 pixmap generation part of the graphics loader has been moved into
9233 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9235 * text2.C: layout as layout
9237 * text.C: layout as layout
9239 * tabular.C (OldFormatRead): layout as layout
9241 * paragraph_pimpl.C (TeXDeeper): layout as layout
9242 (realizeFont): layout as layout
9244 * paragraph.C (writeFile): layout as layout
9245 (validate): layout as layout
9246 (getFont): layout as layout
9247 (getLabelFont): layout as layout
9248 (getLayoutFont): layout as layout
9249 (breakParagraph): layout as layout
9250 (stripLeadingSpaces): layout as layout
9251 (getEndLabel): layout as layout
9252 (getMaxDepthAfter): layout as layout
9253 (applyLayout): layout as layout
9254 (TeXOnePar): layout as layout
9255 (simpleTeXOnePar): layout as layout
9256 (TeXEnvironment): layout as layout
9257 (layout): layout as layout
9258 (layout): layout as layout
9260 * lyxtextclass.C (compare_name): new functor to work with
9261 shared_ptr, layout as layout
9262 (Read): layout as layout
9263 (hasLayout): layout as layout
9264 (operator): layout as layout
9265 (delete_layout): layout as layout
9266 (defaultLayout): layout as layout
9268 * lyxlayout_ptr_fwd.h: new file
9270 * lyxlayout.C (Read): layout as layout
9272 * lyx_cb.C (MenuInsertLabel): layout as layout
9274 * bufferlist.C (newFile): layout as layout
9276 * buffer.C (readLyXformat2): layout as layout
9277 (parseSingleLyXformat2Token): layout as layout
9278 (insertStringAsLines): layout as layout
9279 (asciiParagraph): layout as layout
9280 (latexParagraphs): layout as layout
9281 (makeLinuxDocFile): layout as layout
9282 (simpleLinuxDocOnePar): layout as layout
9283 (makeDocBookFile): layout as layout
9284 (simpleDocBookOnePar): layout as layout
9285 (getLists): layout as layout
9287 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9289 * CutAndPaste.C (cutSelection): layout as layout
9290 (pasteSelection): layout as layout
9291 (SwitchLayoutsBetweenClasses): layout as layout
9293 * BufferView_pimpl.C (Dispatch): layout as layout
9294 (smartQuote): layout as layout
9296 * BufferView2.C (unlockInset): layout as layout
9298 2002-06-24 André Pönitz <poenitz@gmx.net>
9300 * lyxfunc.C: fix #487
9302 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9306 * lyxfunc.C: remove display_shortcuts, show_banner
9308 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9310 * Buffer_pimpl.C: oops, update on resize
9312 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9319 * BufferView.C: use repaint()
9321 * BufferView_pimpl.h:
9322 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9323 as it's a clearer description. Remove superfluous
9326 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9328 * text.C: fix bug 488. Not ideal, but getting
9329 getWord() to work properly for the insets that
9330 matter is more difficult ...
9332 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9334 * BufferView_pimpl.C:
9337 * lyxfunc.C: remove the six million index lyxfuncs to just
9338 one, and DTRT (bug 458)
9340 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9344 * BufferView_pimpl.h:
9345 * BufferView_pimpl.C: clean up resize() stuff,
9346 and unnecessary updateScreen()s
9348 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9352 * BufferView_pimpl.h:
9353 * BufferView_pimpl.C:
9356 * minibuffer.C: remove focus management of workarea,
9357 not needed. Use screen's greyOut()
9359 2002-06-17 Herbert Voss <voss@lyx.org>
9361 * converter.C: (convert) do not post a message, when converting
9362 fails, let the calling function decide what to do in this case
9364 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9366 * lyxfunc.C: tidy up a little
9368 2002-06-16 <alstrup@diku.dk>
9370 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9371 Got rid of FORMS_H_LOCATION include. Now we are
9374 2002-06-15 LyX Development team <lyx@rilke>
9376 * buffer.[Ch] (sgmlOpenTag):
9377 (sgmlCloseTag): Added support for avoiding pernicious mixed
9378 content. Return number of lines written.
9381 (makeDocBookFile): Fixed calls to sgml*Tag.
9382 Simple white space clean.
9384 (simpleDocBookOnePar): Simple white space clean.
9386 * tabular.[Ch] (docBook): Renamed to docbook and got another
9387 argument to related with the pernicious mixed content.
9389 (docbookRow): Fixed calls for docbook inset method.
9391 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9393 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9394 so it's X11 independent.
9398 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9400 2002-06-15 Lyx Development team <lyx@electronia>
9402 * intl.h: Renamed getTrans to getTransManager.
9404 2002-06-14 Angus Leeming <leeming@lyx.org>
9406 * Makefile.am: nuke forgotten stl_string_fwd.h.
9408 2002-06-12 Angus Leeming <leeming@lyx.org>
9410 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9412 2002-06-13 Angus Leeming <leeming@lyx.org>
9415 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9417 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9419 * kbmap.C (getiso): add support for cyrillic and greek
9421 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9425 * BufferView_pimpl.h:
9426 * BufferView_pimpl.C: move bogus scrolling logic
9429 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9432 * BufferView_pimpl.C: view->resize() change
9434 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9436 * BufferView_pimpl.C: topCursorVisible
9439 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9443 * lyx_gui.C: move to frontends/
9447 * lyx_main.C: changes from above
9449 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9456 * lyx_main.C: minor tidy
9458 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9460 * BufferView_pimpl.h:
9461 * BufferView_pimpl.C:
9463 * BufferView.C: make painter() const,
9466 * BufferView2.C: use screen() accessor
9469 * lyx_main.C: some minor cleanup
9471 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9473 * BufferView_pimpl.h:
9474 * BufferView_pimpl.C: remove enter/leaveView,
9477 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9482 * BufferView_pimpl.h:
9483 * BufferView_pimpl.C: only construct screen once,
9486 * lyxrc.C: remove pointless comment
9488 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9491 * BufferView.C: remove active() and belowMouse()
9493 * BufferView_pimpl.h:
9494 * BufferView_pimpl.C: use workarea() not workarea_,
9495 and make it use a scoped_ptr instead
9497 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9499 * lyx_gui.C: add debug message on BadWindow
9501 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9503 * sp_spell.C: fdopen is not part of the C++ standard.
9505 * paragraph.C (InsetIterator): use >= instead of ==
9507 2002-06-07 Angus Leeming <leeming@lyx.org>
9509 Fixes needed to compile with Compaq cxx 6.5.
9510 * BufferView_pimpl.C:
9517 * lyxtextclasslist.C:
9522 all c-library variables have been moved into namespace std. Wrap
9523 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9528 Add a using std::abs declaration.
9530 * kbmap.h (modifier_pair):
9531 * paragraph.h (InsetTable, InsetList):
9532 * lyxfont.h (FontBits):
9533 type definition made public.
9535 * bufferlist.C (emergencyWriteAll): the compiler complains that
9536 there is more than one possible lyx::class_fun template to choose from.
9537 I re-named the void specialisation as lyx::void_class_fun.
9539 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9541 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9542 the compiler is is unable to find tostr in write_attribute.
9544 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9546 * buffer.C (sgmlError): hide #warning
9548 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9550 * xtl/*: get rid of xtl, which is not in use anyway
9552 * LyXAction.C (init):
9553 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9554 were unimplemented xtl experimentation
9556 2002-06-04 André Pönitz <poenitz@gmx.net>
9558 * lyxfunc.C: disable array operation on simple formulae
9560 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9562 * converter.C: constify a bit
9564 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9566 * lyx_gui.C: check xforms version correctly
9568 2002-04-30 Herbert Voss <voss@lyx.org>
9570 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9573 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9575 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9576 attempt to register it with a VCS)
9578 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9580 * lyx_main.C (init): honor variables LYX_DIR_13x and
9583 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9587 * lyx_main.C: fix a crash on bad command line,
9588 and give a useful exit status on error
9590 * lyxfunc.C (doImport): allow -i lyx to work
9592 2002-03-30 André Pönitz <poenitz@gmx.net>
9594 * lyxfunc.C: mathed font changes
9596 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9611 * trans_mgr.h: srcdocs, and some minor cleanups
9613 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9615 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9616 call getFont all the time)
9618 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9620 * switch from SigC signals to boost::signals
9622 2002-05-29 André Pönitz <poenitz@gmx.net>
9624 * paragraph_pimpl.C (getChar): don't call size() too often...
9626 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9628 * paragraph_pimpl.C (insertChar): do not try to update tables when
9629 appending (pos == size())
9631 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9632 in order to reduce drastically the number of comparisons needed to
9633 parse a large document
9635 2002-05-29 André Pönitz <poenitz@gmx.net>
9641 * textclasslist.[Ch]:
9642 * sp_ispell.h: whitespace change
9644 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9646 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9647 lyxaction directly now.
9649 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9653 * lyxvc.C: remove unused headers
9655 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9662 * undo_funcs.C: some cleanups. Use shared_ptr
9663 and a template for the undo stacks.
9665 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9667 * BufferView_pimpl.h:
9668 * BufferView_pimpl.C:
9675 * text2.C: use key_state/mouse_state
9677 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9679 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9682 * chset.C: change include order
9683 (loadFile): use boost regex and get rid of LRegex and LSubstring
9685 * Makefile.am (BOOST_LIBS): new variable
9688 * LaTeX.C: change include order.
9689 (scanAuxFile): use boost regex and get rid of LRegex and
9693 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9698 * FontInfo.C: moved to frontends/xforms/
9701 * FontLoader.C: moved into frontends for GUIIzation
9706 * lyxfunc.C: changes from above
9708 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9710 * LColor.C: remove spurious X include
9712 * BufferView_pimpl.C:
9717 * text2.C: move font metrics to frontends/
9719 2002-05-24 Juergen Vigna <jug@sad.it>
9721 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9722 setting the undo_cursor.
9724 * ParagraphParameters.h: include local includes first.
9726 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9728 * BufferView_pimpl.C:
9729 * BufferView_pimpl.h:
9733 * screen.C: move WorkArea into frontends/
9739 * BufferView2.C: move LyXScreen into frontends/
9743 * lyx_gui.C: move lyxlookup into frontends/xforms/
9745 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9748 * BufferView_pimpl.C:
9758 * bufferview_funcs.C:
9771 * vc-backend.C: move LyX/XFormsView into frontends/
9773 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9785 * text2.C: move Painter to frontends/
9787 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9789 * buffer.C: comment out some some code that depend upon lyx_format
9792 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9793 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9795 * buffer.h (NO_COMPABILITY): turn off compability
9797 * ColorHandler.C: include scoped_array.hpp
9799 * font.C: Use more specific smart_ptr header.
9802 * ShareContainer.h: ditto
9806 * BufferView_pimpl.h: ditto
9807 * ColorHandler.h: ditto
9809 * kbmap.C (defkey): change call to shared_ptr::reset
9811 2002-05-21 Juergen Vigna <jug@sad.it>
9813 * buffer.C (insertErtContents): fix to insert ert asis if it is
9814 non empty. Skip it completely if it contains only whitespaces.
9816 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9818 * BufferView_pimpl.C:
9819 * BufferView2.C: clear selection on paste (bug 393)
9821 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9823 * DepTable.C: include ctime
9825 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9827 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9829 2002-05-14 Juergen Vigna <jug@sad.it>
9831 * text.C (breakParagraph): fixed function to honor the keepempty
9832 layout in the right maner and also to permit the right breaking
9833 algorithm on empty or non empyt keepempty paragraphs.
9835 * paragraph.C (breakParagraph): we have to check also if the par
9836 is really empty (!size()) for isempty otherwise we do the wrong
9839 2002-05-10 Juergen Vigna <jug@sad.it>
9841 * buffer.[Ch] : The following are only changes to the ert
9842 compatibility read reading old LaTeX layout and font stuff and
9843 convert it to ERTInsets.
9845 * buffer.h: added isErtInset().
9847 * buffer.C (struct ErtComp): add a fromlayout bool to check
9848 if we're inside a LaTeX layout.
9849 (isErtInset): new helper function.
9850 (insertErtContents): look for other ert insets before this one
9851 and insert the contents there, so that we don't have subsequent
9852 ERT insets with nothing between them. This way we create only one
9853 inset with multiple paragraphs. Also check if we don't insert only
9854 spaces ' ' as they are ignored anyway afterwards in the .tex file
9855 so if we have only spaces we will ignore this latex part in the
9857 (parseSingleLyXformat2Token \\layout): better compatibility when
9858 reading layout-latex stuff.
9859 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9861 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9862 stuff after reading the inset only get the information back from
9865 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9867 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9869 * LaTeXFeatures.C (getBabelOptions): New method.
9871 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9873 * BufferView_pimpl.C (Dispatch): work around missing argument for
9876 2002-05-08 Juergen Vigna <jug@sad.it>
9878 * text.C (leftMargin): handle paragraph leftindent.
9880 * paragraph.C (writeFile): write the new \\leftindent tag.
9881 (validate): handle leftindent code.
9882 (TeXEnvironment): handle paragraphleftindent code again.
9884 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9886 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9887 for paragrap_extra indent code and new token \\leftindent.
9888 (latexParagraphs): handle the leftindent as environment.
9890 * ParameterStruct.h: added leftindent support.
9892 * ParagraphParameters.C (leftIndent): added support functions for
9893 the paragraph left indent.
9895 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9898 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9900 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9903 * text.C (computeBidiTables): No bidi in insetERT.
9905 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9908 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9910 * version.C.in: pre 5
9912 2002-05-02 José Matos <jamatos@fep.up.pt>
9913 * buffer.C (makeDocBookFile): white space changes, add newline to
9915 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9917 * tabular.C (docBook): fix typo.
9919 2002-05-03 Juergen Vigna <jug@sad.it>
9921 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9922 change in LyXText as we can not be sure it was not freed.
9923 (drawOneRow): remove unused code.
9925 * text.C (drawInset): redo the calculation of the need_break_row as
9926 it could have a row which was already freed.
9927 (draw): look at the return value of drawInset and return false if
9928 it also returned false.
9929 (paintRowText): look at the return value of draw and return false if
9930 it also returned false.
9932 * lyxtext.h: added bool return type to drawInset() and draw() so that
9933 if we have a change in the row so that the rowbreak has to be redone
9934 we abort drawing as it will be called again.
9936 2002-05-02 Juergen Vigna <jug@sad.it>
9938 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9939 a change in the maintext also if we're inside an inset.
9940 (Dispatch): set the cursor again after a break line and after the
9941 screen has been updated as it could be we're in a different row.
9943 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9944 to set the cursor behind the pargraph with > size().
9945 (setCursor): check also for the same paragraph when checking where
9946 to put the cursor if we have a NFR inset.
9948 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9949 parts of layout read further up as it still was in the wrong
9952 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9954 * screen.C (drawFromTo): change sine fullRebreak always return
9957 * buffer.C (parseSingleLyXformat2Token): reindent some
9959 * BufferView_pimpl.C (update): change since fullRebreak always
9961 (Dispatch): git rid of the last hardcoded "Standard"s.
9963 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9965 * text2.[Ch] (fullRebreak): make it return void now that we always
9968 2002-04-30 Juergen Vigna <jug@sad.it>
9970 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9971 ert compatibility check for "latex" layout.
9973 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9975 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9976 minipages: use col% instead of p%, and also use the current font.
9977 (makeLaTeXFile): Fix use babel condition.
9978 (parseSingleLyXformat2Token): Correct font when reading old floats.
9980 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9982 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9983 inserting list of floats.
9985 2002-04-25 Herbert Voss <voss@lyx.org>
9987 * MenuBackend.C (expand): don't add the graphics extensions to the
9990 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9992 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9993 non-existing layout, do not complain if it was the default layout
9994 of the original class (bug #342)
9996 2002-04-24 Juergen Vigna <jug@sad.it>
9998 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9999 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10001 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10003 * buffer.C (getBibkeyList): If using \bibliography, return the
10004 option field with the reference itself. Enables us to provide natbib
10005 support when using \bibliography.
10007 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10009 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10011 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10012 natbib is provided by the LaTeX class.
10014 2002-04-23 Juergen Vigna <jug@sad.it>
10016 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10019 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10021 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10023 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10025 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10026 ensuremath around textordmasculine, textordfeminine and
10029 2002-04-19 Juergen Vigna <jug@sad.it>
10031 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10032 reinitializing the buffer otherwise row-dimensions may be wrong.
10033 (update): reset also the selection cursors if they do exits otherwise
10034 their x/y positions may be wrong.
10036 * text2.C (cursorDown): don't enter the inset if we came from a row
10037 above and are one row over the inset.
10039 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10040 really leaving an inset.
10042 2002-04-18 Juergen Vigna <jug@sad.it>
10044 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10045 of the selected paragraph does not have the selected layout also if
10048 * text2.C (setLayout): fixed bug which did not change last selected
10051 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10052 changed the read and substituted \\end_float with \\end_inset!
10054 * BufferView_pimpl.C (cursorPrevious):
10055 (cursorNext): fixed to make it work with rows heigher than the work
10056 area without moving the cursor only the draw of the row.
10057 (workAreaMotionNotify): fix jumping over high rows.
10059 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10061 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10064 2002-04-16 Juergen Vigna <jug@sad.it>
10066 * text2.C (setCursor): set also the irow().
10067 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10069 (cursorDown): support for locking an inset if the x_fix value goes
10070 inside it. That way I can transverse insets too with cursor up/down.
10072 * lyxrow.h: added irow helper function same as other (i) functions.
10074 * BufferView_pimpl.C (cursorPrevious):
10075 (cursorNext): fixed for insets!
10077 2002-04-15 Juergen Vigna <jug@sad.it>
10079 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10080 position otherwise it is wrong in some cases.
10082 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10083 inside the inset before the call.
10085 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10087 * buffer.[Ch] (getBibkeyList): make it const.
10089 2002-04-12 Juergen Vigna <jug@sad.it>
10091 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10093 * text2.C (getCursorX): new helper function
10094 (setCursor): compute also ix_
10095 (setCursorFromCoordinates): set also ix.
10097 * lyxcursor.h: added ix_ and helper functions.
10099 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10101 * buffer.C (insertStringAsLines): dont break paragraph if the this
10102 paragraph is inside an inset which does not permit it!
10104 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10105 also with no chars on this paragraph.
10106 (paintRowText): only paint stuff if it's inside the workarea!
10108 * paragraph.C (breakParagraph): honor keepempty flag and break the
10109 paragraph always below not above.
10111 * BufferView2.C (unlockInset): update the paragraph layout on inset
10112 unlock as we changed paragraph in such a case.
10114 * lyxfind.C (LyXFind): clear the former selection if not found!
10116 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10117 again called in insertChar().
10119 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10120 an inset which uses the whole row!
10121 (rightMargin): ditto.
10122 (insertChar): force a rebreak if we inserted an inset!
10124 2002-03-28 Herbert Voss <voss@lyx.org>
10126 * lyxlength.[Ch]: add inBP() to get the right PS-point
10127 units (BigPoint). With inPixels we have rounding errors
10129 2002-04-11 Juergen Vigna <jug@sad.it>
10131 * text2.C (setCursorFromCoordinates): set iy to the right value.
10132 (setCursor): add check if row->previous exists!
10134 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10135 an old float_type as this was the case in the old code!
10137 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10139 * BufferView2.C (showLockedInsetCursor): use iy
10140 (fitLockedInsetCursor): ditto
10142 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10143 locked insets as there we have the right value now.
10145 * lyxcursor.C: added iy_ variable and iy functions to set to the
10146 baseline of cursor-y of the locked inset.
10148 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10149 (setCursor): fixed for insets which need a full row.
10151 * text.C (rowLastPrintable): don't ignore the last space when before
10152 an inset which needs a full row.
10153 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10154 as last character of a row when before a inset which needs a full row.
10156 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10158 * version.C.in: update date
10160 * text2.C (fullRebreak): try to always return true and see what
10163 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10165 * MenuBackend.C (expand): use Floating::listName
10167 * FloatList.C (FloatList): add listName argument to the built-in
10170 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10171 text associated with the float.
10173 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10175 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10177 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10179 * ShareContainer.h: add a couple of missing typenames.
10181 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10183 * lyxrc.C (getDescription): use _() correctly rather than N_().
10185 2002-03-28 Herbert Voss <voss@lyx.org>
10187 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10188 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10190 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10192 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10193 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10195 2002-03-29 Juergen Vigna <jug@sad.it>
10197 * lyxfunc.C (dispatch): add a missing fitCursor call.
10199 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10200 it was scrolled by a cursor move, so return the bool status.
10202 * BufferView.C (fitCursor): return the bool flag also to the outside
10203 world as this is needed.
10205 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10207 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10208 call the edit() as it is not needed (and wrong) IMO.
10209 (workAreaButtonPress): set the screen_first variable before evt.
10210 unlock the inset as this may change screen_first and then we have
10211 a wrong y position for the click!
10213 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10215 * MenuBackend.C (expand): another translation that I missed
10217 2002-03-28 Juergen Vigna <jug@sad.it>
10219 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10221 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10223 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10225 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10227 * MenuBackend.C (expand): fix export/view/update when there is no
10230 2002-03-27 Herbert Voss <voss@lyx.org>
10232 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10235 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10237 * bufferview_funcs.C (currentState): only show paragraph number
10238 for is DEVEL_VERSION is set.
10240 * lyxfunc.C (dispatch): put warning in INFO channel
10242 * MenuBackend.C (expand): translate the name of floats
10244 * FloatList.C (FloatList): mark the float names for translation
10246 * converter.C (convert): use LibScriptSearch
10248 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10250 * MenuBackend.C (defaults): fix default menu (we might as well get
10253 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10255 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10258 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10260 * lyxvc.C: reorder includes.
10262 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10264 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10267 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10269 * CutAndPaste.C: change layouts earlier on paste
10270 to avoid crashing when calling getFont()
10272 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10274 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10277 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10279 * WorkArea.C: remove 'Pending' debug message.
10281 * most files: ws cleanup
10283 * buffer.[Ch]: ws changes
10285 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10287 2002-03-21 Juergen Vigna <jug@sad.it>
10289 * tabular.C (SetMultiColumn): collapse also the contents of the
10290 cells and set the last border right. Added a Buffer const * param.
10292 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10294 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10297 2002-03-19 Juergen Vigna <jug@sad.it>
10299 * text2.C (clearSelection): reset also xsel_cache.
10301 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10302 where it needs to be called (John tells us to do so too :)
10303 (selectionLost): reset sel_cache.
10305 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10307 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10309 * text2.C (setCursorIntern): put debuging code in INSETS channel
10311 2002-03-19 André Pönitz <poenitz@gmx.net>
10313 * lyxfunc.C: tiny whitespace change
10315 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10317 * ToolbarDefaults.C (init):
10318 * LyXAction.C (init):
10320 * BufferView_pimpl.C (Dispatch):
10321 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10323 2002-03-19 Allan Rae <rae@lyx.org>
10325 * exporter.C (Export): removeAutoInsets before doing anything else.
10326 While I've just introduced a dependency on BufferView this really is
10327 the best place to clean the buffer otherwise you need to cleanup in
10328 a dozen places before calling export or cleanup in a dozen functions
10331 * converter.C (runLaTeX):
10332 (scanLog): Better handling of removeAutoInsets and screen updates.
10334 * lyxfunc.C (dispatch): small whitespace changes
10336 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10338 * WorkArea.C (C_WorkAreaEvent): return a value.
10339 (event_cb): return 1 if we handled the event, 0 otherwise.
10341 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10343 2002-03-18 Juergen Vigna <jug@sad.it>
10345 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10346 (GetAdditionalWidth): ditto.
10347 (RightLine): ditto.
10350 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10351 inset if we're there actually (probably not used right now but this
10352 is the direction to go for unifying code).
10353 (paste): disable code to clear the selection.
10355 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10356 inside an InsetText and move the check further up as it is in the
10359 * text2.C (pasteSelection): set a selection over the pasted text.
10361 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10363 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10364 and libgraphics to build on Cygwin.
10366 2002-03-15 Juergen Vigna <jug@sad.it>
10368 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10369 inserting an Inset into the paragraph. I know this is not the best
10370 fix but we already use current_view in CutAndPaste so we will remove
10371 all of it's using at the same time.
10373 * buffer.C (sgmlError): deactivated function till it is rewritten in
10374 the right mode, now it can create problems.
10376 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10377 before accessing it.
10379 2002-03-14 Juergen Vigna <jug@sad.it>
10381 * undo_funcs.C (textHandleUndo): do the right thing when updating
10382 the inset after the undo/redo.
10384 * text2.C (setCursor): just some testcode for #44 not ready yet.
10386 * undo_funcs.C (textHandleUndo): set the next() and previous()
10387 pointers of the paragraph to 0 before deleting otherwise we have
10388 problems with the Paragraph::[destructor].
10390 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10391 on a paragraph insertion.
10393 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10395 * buffer.C (asciiParagraph): use += operator for char append to
10398 * paragraph.C (getFontSettings): compare >= not just >
10399 (highestFontInRange): ditto
10402 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10404 * paragraph.C: change several algorithm to be more appripriate for
10405 the problem domain. This is lookip in FontList and in the InsetList.
10407 2002-03-13 André Pönitz <poenitz@gmx.net>
10410 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10412 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10417 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10419 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10421 * Painter.C (display): anon helper function, adjust code for this
10423 (pixmap): remove function.
10425 * Painter.h: remove private display variable.
10427 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10429 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10431 * WorkArea.[Ch]: remove figinset_canvas cruft.
10433 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10435 * lyxtextclass.C (operator): add one item cache optimization.
10437 * bufferlist.h: doxy changes
10439 * bufferlist.C: ws changes
10441 * DepTable.[Ch] (ext_exist): place const in the right spot.
10443 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10445 (workAreaExpose): call resizeInsets when the with BufferView changes.
10446 (Dispatch): adjust for protectedBlank removal
10447 (specialChar): call updateInset if the insert went ok.
10449 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10450 specialChar instead.
10452 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10454 * BufferView.h: doxy change
10456 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10458 * lyxtextclass.C (operator[]): remove non-const version
10459 (defaultLayout): remove non-const version
10461 2002-03-12 Juergen Vigna <jug@sad.it>
10463 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10464 did resize the LyXText too.
10466 * buffer.C (readLyXformat2): set layout information on newly allocated
10469 * tabular.C (OldFormatRead): set layout information on the paragraph.
10471 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10473 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10475 2002-03-11 Juergen Vigna <jug@sad.it>
10477 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10479 (resizeCurrentBuffer): force also the insets to resize themselfes.
10480 (moveCursorUpdate): fixed up for InsetText.
10482 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10485 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10486 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10487 value of Dialogs::tooltipsEnabled().
10488 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10490 2002-03-08 Juergen Vigna <jug@sad.it>
10492 * BufferView_pimpl.C (updateInset): update inset inside inset also
10493 if it isn't inside theLockingInset().
10495 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10497 * buffer.C (asciiParagraph): redo some of the word and line length
10499 (getLists): look for Caption instead of caption.
10501 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10503 * buffer.C (Buffer): initialize niceFile to true
10505 (makeLinuxDocFile):
10506 (makeDocBookFile): make sure niceFile is true on exit
10508 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10510 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10512 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10514 * LyXSendto.C: remove.
10515 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10516 * lyx_gui.C: remove now-redundant comment.
10517 * ColorHandler.h: remove forward declaration of class WorkArea.
10518 * lyxfunc.C: remove #include "WorkArea.h".
10520 2002-03-07 Juergen Vigna <jug@sad.it>
10522 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10523 got moved away with the DEPM and also set the inset_owner always
10524 right which before could have been omitted.
10526 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10528 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10529 wanted layout is not found.
10531 2002-03-07 Juergen Vigna <jug@sad.it>
10533 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10535 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10537 * paragraph.C (breakParagraph): use default layout not layout of
10539 (Paragraph): clear ParagraphParameters.
10541 2002-03-06 Juergen Vigna <jug@sad.it>
10543 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10544 otherwise it would not be a valid lenght. Fixed a special case in
10545 the minipage compatibility read where we end the document with a
10548 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10549 was set as it could be 0 for InsetTexts first entry.
10551 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10553 * paragraph.C (writeFile): if layout is empty write out
10554 defaultLayoutName().
10556 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10557 file without named layout we set layout to defaultLayoutName().
10559 2002-03-06 Juergen Vigna <jug@sad.it>
10561 * CutAndPaste.C (copySelection): set layout for new paragraph.
10563 * text.C (prepareToPrint): leave ERT inset left aligned
10564 (leftMargin): don't indent paragraphs inside ERT insets
10566 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10568 * paragraph.C (breakParagraph): dont call clear do the work manually
10570 * paragraph.[Ch] (clear): remove function
10572 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10574 * paragraph.C (Paragraph): dont call clear, the work has already
10577 * lyxtextclass.C (operator): assert if n is empty
10579 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10580 work manually instead.
10582 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10584 * BufferView_pimpl.C: protect selectionLost against text == 0
10586 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10588 * text.C (breakParagraph): fix a setting layout to '0' problem.
10590 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10592 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10593 final location of file, for the included files, and graphics.
10595 2002-03-05 Juergen Vigna <jug@sad.it>
10597 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10599 2002-03-04 Juergen Vigna <jug@sad.it>
10601 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10603 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10604 last column of multicolumn cells.
10605 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10607 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10609 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10610 file if it doesn't go to a temporary file.
10612 * buffer.C (sgmlOpenTag):
10613 (sgmlCloseTag): remove extra newline insertion.
10615 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10617 * text.C (getRowNearY): comment out debug msg
10619 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10621 * text2.C: first -> first_y
10623 * text.C (getRowNearY): add some attemts at a possible
10624 optimization, not working.
10626 * tabular.[Ch]: add BufferParams to several function so that newly
10627 created paragraph can be initialized to he default layotu for the
10630 * tabular-old.C (ReadOld): add buf->params to call of Init
10632 * screen.C: rename text->first to text->first_y
10634 * paragraph.C (breakParagraph): always set layout in the broken
10637 * lyxtextclass.C (Read): remove lowercase
10640 (delete_layout): ditto
10642 * lyxtext.h: rename first -> first_y
10644 * lyxlayout.C (Read): remove lowercase
10647 (obsoleted_by): ditto
10649 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10651 * buffer.C (insertErtContents): add params are to InsetERT
10652 (parseSingleLyXformat2Token): add code to check if a paragraphs
10653 layout really exist.
10654 (parseSingleLyXformat2Token): add params to several inset
10656 (asciiParagraph): remove lowercase, do the layout comparisons with
10659 * BufferView_pimpl.C (cursorNext): first -> first_y
10660 (resizeCurrentBuffer): first -> first_y
10661 (updateScrollbar): first -> first_y
10662 (scrollCB): first -> first_y
10663 (workAreaMotionNotify): first -> first_y
10664 (workAreaButtonPress): first -> first_y
10665 (checkInsetHit): first -> first_y
10666 (cursorPrevious): first -> first_y
10667 (cursorNext): first -> first_y
10668 (Dispatch): add buffer_->params to severl inset contructors
10670 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10672 * lyxlayout.C (Read): remove some debug info that I forgot.
10674 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10675 clean up the code slightly.
10676 (makeLinuxDocFile): ditto
10677 (makeDocBookFile): ditto
10679 * text2.C: layout as string
10681 * text.C: layout as string
10683 * paragraph_pimpl.C: layout as string
10685 * paragraph.[Ch]: layout as string
10687 * lyxtextclasslist.[Ch]: layout as string
10689 * lyxtextclass.[Ch]: layout as string
10691 * lyxtext.h: layout as string
10693 * lyxlayout.[Ch]: layout as string
10695 * lyx_cb.C: layout as string
10697 * bufferview_funcs.C: layout as string
10699 * bufferparams.C: layout as string
10701 * buffer.C: layout as string
10703 * LyXView.[Ch]: layout as string
10705 * LaTeXFeatures.[Ch]: layout as string
10707 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10709 * BufferView_pimpl.C: change current_layout to string, remove
10714 (workAreaButtonRelease): layout as string
10716 * BufferView2.C (unlockInset): adjust
10718 * vspace.C (asLatexCommand): use an explict temp variable.
10720 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10722 * Makefile.am: use FRONTEND_*
10724 2002-03-01 Juergen Vigna <jug@sad.it>
10726 * tabular.C (SetWidthOfMulticolCell): changed to something better
10727 I hope but still work in progress.
10728 (recalculateMulticolumnsOfColumn): renamed function from
10729 recalculateMulticolCells as it is more appropriate now.
10730 (SetWidthOfCell): calculate multicols better.
10732 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10734 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10736 * lyxfunc.C (processKeySym): print sequence also if it is
10737 `deleted' (complete)
10739 * kbsequence.C (print): print sequence even if it is deleted
10740 (complete would be a better word, actually).
10742 * lyxfunc.C (dispatch): print complete options after a prefix key
10744 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10746 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10748 * text2.C (setCharFont): eliminate setCharFont code duplication.
10750 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10752 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10753 LFUN_TABULAR_FEATURE (bug #177)
10755 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10757 * Makefile.am: remove figure.h
10759 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10761 * Bufferview_pimpl.C:
10773 * text2.C: remove #include "lyx_gui_misc.h".
10775 * LaTeX.C: added #include <cstdio>
10777 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10779 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10780 that the paragraph following this one can have.
10782 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10784 * vspace.C (asLatexCommand): fix bogus gcc warning
10786 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10788 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10790 * text2.C (setLayout): get rid of redundant code
10792 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10794 * text2.C (incDepth): make sure depth cannot be increased beyond
10797 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10799 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10800 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10802 * PainterBase.h (image):
10803 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10804 a LyXImage const *.
10806 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10810 * BufferView_pimpl.C:
10811 * BufferView_pimpl.h:
10831 * sp_spell.C: remove fig inset, and the crap house of
10832 cards that follows it
10834 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10839 * os2_errortable.h:
10840 * nt_defines.h: move .h into support/
10842 * vms_defines.h: remove
10844 * WorkArea.C: add space in debug output
10848 * buffer.C: add WITH_WARNINGS
10852 * bufferlist.C: s/retrive/retrieve/, add docs
10861 * chset.C: add docs
10863 * lyxgui.C: add ID to X error handler
10865 * lyxtestclass.c: fix typo
10867 2002-02-26 Juergen Vigna <jug@sad.it>
10869 * tabular_funcs.C (write_attribute): changed so that some default
10870 attributes are not written at all.
10871 (getTokenValue): set default values before trying to read the
10872 value so we have the return value always set as default if we don't
10873 find the token we search for.
10875 * tabular.C (Write): write bools as bools not as strings!
10877 2002-02-22 Juergen Vigna <jug@sad.it>
10879 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10880 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10882 * text.C (leftMargin): don't add an indent for paragraphs inside
10883 tabular cells (fix #208).
10885 2002-02-21 José Matos <jamatos@fep.up.pt>
10887 * tabular.C (docBook): fixed support for long tables.
10889 2002-02-20 Juergen Vigna <jug@sad.it>
10891 * text2.C (getFont): get the drawing font of the Inset if this
10892 paragraph is inside an inset (only important for InsetERT for now).
10894 * buffer.C (insertErtContents): use new lanugage params in ERT
10897 * CutAndPaste.C: commenting out seemingly uneeded code.
10899 2002-02-19 Allan Rae <rae@lyx.org>
10901 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10902 Iterators might be simple to use but they also get invalidated.
10903 (removeAutoInsets): renamed saved cursor tracking variables and added
10904 some comments to clarify what everything does.
10906 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10913 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10914 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10917 * vc-backend.h: remove #include "support/syscall.h"
10921 * converter.C: rearrange #includes in Lars' approved fashion.
10923 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10924 forward declare class Timeout in the header file.
10926 * XFormsView.C: changes due to the above.
10928 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10929 similar to LyXView.
10931 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10932 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10934 2002-02-18 José Matos <jamatos@fep.up.pt>
10936 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10939 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10941 * a lot of small ws changes
10942 * add a lot of using std::XXX
10943 * use std construcs some places where approp.
10944 * use some exisint stuff from lyxfunctional where approp.
10945 * Make file changes to use partial linking (lets test this now...)
10947 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10951 remove #include "support/syscontr.h" as it's redundant. Always has been.
10959 change Systemcalls::System to Systemcalls::Wait and
10960 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10961 No change of functionality, just reflects the stripped down Systemcalls
10964 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10966 * debug.[Ch]: add a GRAPHICS type to the enum.
10968 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10970 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10972 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10975 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10977 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10978 match the changes below.
10980 * text2.C (toggleInset): if there is not editable inset at cursor
10981 position, try to see if cursor is _inside_ a collapsable inset
10984 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10986 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10987 document menu has a nice checkbox
10989 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10991 * lyxlength.C (asLatexString): change PW to output as percent of
10994 * lengthcommon.C: change '%' to 't%'
10996 * lyxfunc.C (dispatch): a few comments from Martin
10998 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11002 * BufferView_pimpl.h:
11003 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11006 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11008 * vspace.C (inPixels): fix compiler warning
11010 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11012 * lyxfunc.C (getStatus): fix status message for disabled commands.
11014 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11016 * BufferView_pimpl.C: fix crash on close buffer
11017 during selection (#227)
11019 2002-01-27 Herbert Voss <voss@lyx.org>
11021 * buffer.C: link old Figure to new graphic inset
11023 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11025 * FontLoader.C (getFontinfo): Change the latex font names in order
11026 to match the names of type1inst.
11028 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11030 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11032 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11033 (extchanged): ditto
11035 (remove_files_with_extension): ditto
11036 (remove_file): ditto
11039 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11040 document is smaller than the work area height. Do not initialize
11041 static variables to 0.
11043 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11045 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11047 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11048 LFUN_LAYOUT_PARAGRAPHS.
11050 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11051 tabular. It is possible to provide a possible cell, which will
11052 typically be the actcell from the corresponding insettabular
11054 * lyxfunc.C (getStatus): small cleanup; disable
11055 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11058 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11060 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11062 * paragraph.C (startTeXParParams):
11063 (endTeXParParams): new methods. The LaTeX code to
11064 start/end paragraph formatting
11065 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11066 empty (fixes bug #200)
11068 * vspace.C (inPixels): adapt to the change below
11069 (inPixels): [later] more cleanups (remove unused variables)
11071 * lyxlength.C (inPixels): change to use a width and a height as
11074 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11076 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11077 Replaced with \paperwidth
11079 * DepTable.C (insert): add std:: qualifier
11081 2002-01-18 Allan Rae <rae@lyx.org>
11083 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11086 * text.C (drawInset): Turned out I didn't know enough about how
11087 rebreaking worked. This fixes most of the redraw problems. I see
11088 an occasional cursor trail when a line is broken now and the cursor
11089 placement can seem out by a few pixels also after a rebreak.
11091 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11093 * buffer.C (parseSingleLyXformat2Token): update because minipage
11094 width is now a LyXLength
11096 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11098 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11101 2002-01-17 Juergen Vigna <jug@sad.it>
11103 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11105 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11106 is set correctly and the inset is updated correctly.
11108 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11110 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11111 the beginning of the loop.
11113 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11115 * lyxrc.C: improve help for use_scalable_fonts
11117 2002-01-17 Allan Rae <rae@lyx.org>
11119 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11121 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11123 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11124 make sure to set their inset_owner to the right value (bug #171)
11126 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11129 * DepTable.C: Implement mtime checking to reduce time spent doing
11132 2002-01-16 Juergen Vigna <jug@sad.it>
11134 * tabular.C (GetAdditionalHeight): one of error fixed.
11136 * lyxrc.C (output): small fix in writing use_pspell.
11138 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11140 * sp_base.h: #include LString.h
11142 2002-01-16 Allan Rae <rae@lyx.org>
11144 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11145 Can someone check this please?
11147 * text.C (drawInset): It was possible that p.row would be removed by
11148 breakAgainOneRow upsetting a few other settings. There may be another
11149 small tweak possible by setting need_break_row = 0 when p.row has been
11150 removed but I don't know enough about the logic here.
11152 2002-01-15 Allan Rae <rae@lyx.org>
11154 * text.C (insertChar): removed conditional truism.
11156 * BufferView2.C (removeAutoInsets): More tweaks.
11157 cur_par_prev could be a stray pointer. Check for trailing empty line
11158 in case last line was cur_par and only had an error inset on it.
11160 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11162 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11165 * vc-backend.C (most methods):
11166 * exporter.C (Export):
11167 * converter.C (convert):
11169 * LyXSendto.C (SendtoApplyCB):
11170 * lyxfunc.C (dispatch):
11174 * lyx_cb.C (AutoSave):
11176 * BufferView_pimpl.C (MenuInsertLyXFile):
11177 * buffer.C (runChktex): use Buffer::filePath().
11179 * buffer.h: rename filename to filename_; rename filepath to
11180 filepath_ and make it private
11181 (filePath): new method
11183 * buffer.C (writeFile): use fileName()
11186 * lyx_main.C (init): fix starting of LyX when the binary is a
11187 link from so,ewhere else.
11189 * minibuffer.C: include <cctype> for isprint
11191 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11193 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11194 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11195 name clash with InsetCollapsable's width function.
11197 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11199 * lastfiles.C: include <iterator>
11201 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11203 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11206 * buffer.C (makeLaTeXFile): ditto.
11207 Also make loop operation more transparent.
11209 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11211 * ToolbarDefaults.C: remove trailing comma closing namespace.
11213 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11215 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11218 * trans.C (Load): comment out unused variable, allowed.
11220 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11222 * minibuffer.[Ch] (append_char): new method to recieve input from the
11223 drop-down completion browser. If a key was pressed, then recieve this
11224 char and append it to the existing string.
11225 (peek_event): modify the positioning data passed to the completion
11226 browser so that it can be placed above the minibuffer rather than below.
11227 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11229 * LyXAction.C (init): alloe error-next for readonly documents.
11231 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11234 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11236 * bufferlist.C (readFile): create the buffer _after_ checking that
11239 * lyxfunc.C (verboseDispatch): fix handling of arguments
11241 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11243 * lyxrc.C: use string::erase() instead of initializing to "".
11246 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11248 * BufferView_pimpl.h:
11249 * BufferView_pimpl.C:
11252 * text2.C: tell X when we have made a selection for copying
11254 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11256 * BufferView_pimpl.C (MenuInsertLyXFile):
11257 * lyxfunc.C (menuNew):
11259 (doImport): add shortcuts to directory buttons
11261 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11264 * lyxfunc.C (setStatusMessage):
11265 (getStatusMessage): new methods
11266 (getStatus):use setStatusMessage instead of setErrorMessage
11267 (dispatch): when function is disabled, set error message here
11268 [instead of in getStatus previously]
11270 * BufferView_pimpl.C (workAreaButtonRelease): update
11271 toolbar/menubar here too.
11273 2002-01-13 Allan Rae <rae@lyx.org>
11275 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11276 Now seems indestructible. Remaining task is to audit all other
11277 code affected by deleteEmptyParagraphMechanism. One small quirk
11278 left is that an empty document with an error in the preamble can
11279 be made to report an error but no error box appears. I don't know
11281 (removeAutoInsets): Improved comments.
11283 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11286 * Thesaurus.C: update for Aiksaurus 0.14
11288 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11290 * text2.C (firstParagraph): removed member function, all uses
11291 replaces with ownerParagraph
11292 (redoParagraphs): here
11293 (updateInset): here
11294 (toggleAppendix): here
11295 * BufferView2.C (insertErrors): here
11296 (setCursorFromRow): here
11298 2002-01-13 Allan Rae <rae@lyx.org>
11300 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11301 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11302 There is still a way to segfault this although you may have to do this
11303 multiple times: Have an InsetERT with an unknown command in it.
11304 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11305 <down-arrow>, <Enter> again, View->DVI, BANG!
11307 * text2.C (setCursor):
11308 (deleteEmptyParagraphMechanism):
11309 * lyxtext.h (setCursor):
11310 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11311 Making use of the return value may help fix other bugs.
11313 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11315 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11317 * LyXView.C (updateMenubar): call MenuBar::update here
11318 (updateToolbar): but not here
11319 (showState): do not update toolbar/menubar
11321 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11322 should need to care about that.
11324 * lyxfunc.C (verboseDispatch): simplify a bit
11325 (getStatus): have a version which takes a pseudoaction, and
11326 another which requires a (kb_action,string).
11328 * LyXAction.C (retrieveActionArg): make it work also when action
11329 is not a pseudo-action.
11330 (getActionName): simplify a bit
11333 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11335 * lyxfunc.C (verboseDispatch): new families of methods with
11336 several ways to specify a command and a bool to indicate whether
11337 the command name and shortcut should be displayed in minibuffer
11338 (eventually, we could extend that to a finer bitmask like
11339 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11340 (dispatch): the pristine dispatch command which just, well,
11341 dispatchs! Note it still sets its result to minibuffer; I'm not
11344 * lyxfunc.h: remove setHintMessage
11346 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11348 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11350 * BufferView_pimpl.C (specialChar): delete new inset if we have
11351 not been able to insert it.
11353 * kbmap.C: revert to using int instead of kb_action, since all we
11354 are dealing with is pseudo-actions.
11356 * LyXAction.C (searchActionArg): change to return int instead of
11357 kb_action, since the result is a pseudoaction.
11359 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11361 * buffer.C (insertErtContents): Fix (partially) the font bug.
11363 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11365 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11366 as the other one is broken on my machine!
11368 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11371 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11373 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11375 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11376 reflect their actual use. Provide compatibility code for older lyxrc
11379 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11381 change names of popup font variables in line with the changes to lyxrc.C
11383 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11385 * buffer.C (asciiParagraph): avoid outputing a word twice after
11388 * lyxrc.C (getDescription): document that document_path and
11389 template_path can be empty.
11391 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11393 * LaTeXFeatures.C (getMacros):
11394 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11396 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11398 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11400 (getPackages): rename feature "floats" to "float". Use an array to
11401 iterate over 'simple' features (i.e. just a \usepackage). Add
11402 handling of "amsmath" (renamed from "amsstyle").
11404 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11406 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11409 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11411 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11412 FuncStaus::FuncStatus & FuncStaus::some_method().
11414 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11416 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11417 of the func_satus stuff. Edited and massaged in various ways by
11420 * lyxfunc.C (getStatus): use FuncStatus
11422 2002-01-08 Juergen Vigna <jug@sad.it>
11424 * text.C (nextBreakPoint): use function Inset::isChar().
11426 * paragraph.C (TeXOnePar): use function
11427 Inset::forceDefaultParagraphs.
11429 * buffer.C (latexParagraphs): use function
11430 Inset::forceDefaultParagraphs.
11432 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11434 * lyx_gui.C (init): set the style of the menu popups to
11435 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11437 2002-01-07 Juergen Vigna <jug@sad.it>
11439 * text.C (setHeightOfRow): small fix
11440 (prepareToPrint): don't look at alignment if we don't have the place
11443 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11445 * box.C: New file. Move the Box methods and functions out of box.h,
11446 following Lars' suggestion.
11448 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11450 * box.h: #include "support/LOstream.h", needed for inlined function.
11453 * lyxtextclasslist.C: added some using std declarations.
11455 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11457 * box.h: make signed dimensions to allow insets wider than
11458 the screen (bug #162)
11460 * BufferView_pimpl.C: add some insetHit debug
11462 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11464 * vc-backend.C: add FIXME
11466 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11468 * lyxfunc.C (getStatus): enable code for showing math font status
11471 2002-01-07 Juergen Vigna <jug@sad.it>
11473 * text.C (nextBreakPoint): removed debug output not needed anymore.
11475 2002-01-06 Juergen Vigna <jug@sad.it>
11477 * text.C (nextBreakPoint): fixed up this function we had this bug
11478 since ever but now hopefully we break row better.
11479 (insertChar): we have to check if an inset is the next char as it
11480 could now happen that a large inset is causing a break.
11482 2002-01-05 Juergen Vigna <jug@sad.it>
11484 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11485 if it doesn't like to be drawed.
11487 2002-01-04 Juergen Vigna <jug@sad.it>
11489 * BufferView2.C (lockInset): forgot to set a cursor.
11491 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11493 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11495 * FormMathsPanel.C:
11498 * form_maths_panel.C:
11499 * form_maths_panel.h:
11500 * form_maths_panel.fd: implemented sub- and super- buttons in math
11503 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11504 (or ^ space) to be used as in TeX (req'd by André).
11506 * lyxfunc.C: Allow ^ and _ again to be used both as
11507 super/subscript (mathed) and as themselves (in text).
11509 2002-01-03 Allan Rae <rae@lyx.org>
11511 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11512 "LyX" or the filename of the current buffer if it has one. This is a
11513 modified form of John Levon's patch.
11515 * XFormsView.C (setWindowTitle): also set icon title.
11517 * LyXView.h (setWindowTitle): signature changed.
11518 * XFormsView.h (setWindowTitle): ditto.
11520 2002-01-02 Juergen Vigna <jug@sad.it>
11522 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11524 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11526 * screen.C (topCursorVisible): introduce a temp var for
11527 text->cursor.row(), handle the case where this row is null. (kindo
11530 * text2.C (setCursor): add a couple of asserts.
11532 * paragraph.h (inset_iterator): add -> operator
11534 * paragraph.[Ch] (autoDeleteInsets): remove member function
11536 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11537 cursor pos correctly and handle inset deletion by itself.
11538 (insertErrors): move iterator declaration out of for expression
11540 * lyxtextclass.C: add <algorithm>
11542 * Makefile.am: added the new files to sources, removed layout.C
11544 * layout.C: removed file
11546 * layout.h: remove LYX_DUMMY_LAYOUT
11548 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11552 * lyxtextclass.[Ch]:
11553 * lyxtextclasslist.[Ch]: new files
11555 * include order changes to a lot of files, also changes because of
11558 2001-12-27 Juergen Vigna <jug@sad.it>
11560 * buffer.C (asciiParagraph): more fixes.
11562 * tabular.C (ascii): make ascii export support export of only the
11563 data separated by a column-delimiter.
11564 (ascii): better support for ascii export.
11566 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11568 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11570 * tabular_funcs.C: use a "using std::getline" instead of the
11571 previous fix from Angus (necessary for cxx + lyxstring)
11573 2001-12-24 Juergen Vigna <jug@sad.it>
11575 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11577 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11578 problems. First check a minipage also if we have some ert-contents
11579 (not only on par->size(), second set the right depth of the paragraph
11580 on the relink to the root-paragraph-list!
11582 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11583 which then did not anymore update the main paragraphs on undo/redo!
11585 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11587 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11588 code. Support all font-changing funcs (even those which are not in
11589 menu currently). Support for reporting font settings in
11590 mathed (disabled until Andre provides a function on mathed's side).
11592 * func_status.h (toggle): small helper function to set toggle
11595 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11597 * tabular_funcs.C: getline -> std::getline
11599 2001-12-21 Juergen Vigna <jug@sad.it>
11601 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11602 accessed and could be 0 (I couldn't generate this but it seems
11605 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11607 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11608 * tabular_funcs.h: here and include iosfwd
11610 2001-12-20 Juergen Vigna <jug@sad.it>
11612 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11613 inside inset but undo_par was.
11615 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11617 * Thesaurus.C: always include <config.h> in sources.
11621 * box.h: do not include <config.h> in header files
11623 * text.C (paintLastRow): remove unused variable
11625 * text.C (transformChar):
11627 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11629 * Painter.C (text):
11630 * font.C (width): rewrite to use uppercase() instead of
11633 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11635 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11637 * lyxfind.C: clean up of find failure position change
11639 2001-12-20 Juergen Vigna <jug@sad.it>
11641 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11643 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11644 (TeXRow): added to LaTeX a single tabular row.
11645 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11646 (Latex): simplified and finally good LT-h/f support.
11647 (various_functions): just small adaptions for LT-h/f support.
11649 * tabular_funcs.[hC]: added and moved here all not classfunctions
11652 2001-12-19 Juergen Vigna <jug@sad.it>
11654 * tabular.[Ch]: better support for longtabular options (not finished
11657 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11659 * text.C (paintLastRow): use the label font instead of the font of
11660 the last character to compute the size of *_BOX. This makes more
11661 sense and avoids a crash with empty paragraphs.
11662 Use Painter::rectangle to draw EMPTY_BOX.
11664 2001-12-19 Juergen Vigna <jug@sad.it>
11666 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11667 the paragraphs if the replaced paragraph is not the first one!
11668 Tried to delete not used paragraphs but does not work yet so for
11669 now it's inside #ifdef's and by default off!
11671 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11673 * MenuBackend.C: include "lyx_main.h" instead of declaring
11674 lastfiles (actually was declared as LastFiles* instead of a
11677 2001-12-17 Juergen Vigna <jug@sad.it>
11679 * tabular.C (AppendColumn): applied John's fix
11681 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11685 * BufferView_pimpl.h:
11686 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11689 * box.h: new start of class for above
11691 * lyxfunc.C: ignore space-only minibuffer dispatches.
11692 Show the command name when it doesn't exist
11694 * minibuffer.C: don't add empty lines to the history
11696 * minibuffer.C: add a space on dropdown completion
11698 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11700 * text.C: fix line above/below drawing in insets
11702 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11704 * lyxlength.C (LyXLength): Initialize private variables.
11706 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11708 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11709 when inserting error insets.
11711 2001-12-13 Juergen Vigna <jug@sad.it>
11713 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11714 actually sometimes the before-paragraph.
11715 (setUndo): don't clear the redostack if we're not actually undoing!
11717 2001-12-06 Juergen Vigna <jug@sad.it>
11719 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11720 and fixed redoing of main paragraph, so we can use it now ;)
11722 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11724 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11726 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11729 2001-12-13 André Pönitz <poenitz@gmx.net>
11732 * undo_func.C: minor cleanup
11734 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11736 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11737 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11738 font in urw-fonts package which is marked as -urw-fontspecific and
11739 does not work (incidentally, changing the encoding in the
11740 fonts.dir of this package to -adobe-fontspecific fixes the
11743 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11744 is a crash when undoing first paragraph (Juergen, please take a
11745 look). THis does not mean the undo fix is wrong, just that it
11748 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11749 the (Paragraph*) version when needed instead of duplicating the
11752 * text.C (workWidth): use Inset::parOwner to find out where the
11753 inset has been inserted. This is a huge performance gain for large
11754 documents with lots of insets. If Inset::parOwner is not set, fall
11755 back on the brute force method
11757 * paragraph_pimpl.C (insertInset):
11758 * paragraph.C (Paragraph):
11759 (cutIntoMinibuffer): set parOwner of insets when
11760 inserting/removing them
11762 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11764 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11770 * mathed/formulabase.C:
11771 * mathed/math_cursor.[Ch]:
11772 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11775 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11777 * lyxlength.[Ch] (operator!=): new function
11779 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11781 * text.C (workWidth): use Inset::parOwner to find out where the
11782 inset has been inserted. This is a huge performance gain for large
11783 documents with lots of insets. If Inset::parOwner is not set, fall
11784 back on the brute force method
11786 * paragraph_pimpl.C (insertInset):
11787 * paragraph.C (Paragraph):
11788 (cutIntoMinibuffer): set parOwner of insets when
11789 inserting/removing them
11791 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11793 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11795 * tabular-old.C (getTokenValue):
11796 * tabular.C (getTokenValue):
11797 (write_attribute): new versions for LyXLength
11798 (everywhere): adjust the use of widths
11800 * tabular.h: change the type of widths from string to LyXLength
11802 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11804 * paragraph.C: fixed missing line number count when exporting
11805 Environments to LaTeX file
11807 * buffer.C: added informational message for checking line numbers.
11809 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11811 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11812 paragraph, do the 'double space' part, but not the 'empty
11815 * text.C (workWidth): small optimization
11816 (getLengthMarkerHeight): use minimal size for negative lengths.
11818 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11820 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11822 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11824 2001-12-11 André Pönitz <poenitz@gmx.net>
11827 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11829 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11831 * text2.C: keep selection on a setFont()
11833 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11835 * lyx_cb.C: another bv->text misuse, from insert label
11837 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11840 * kbsequence.C: re-instate nmodifier mask
11842 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11844 * lyx_main.h: make lyxGUI private.
11846 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11848 * lyxfind.C: place the cursor correctly on failed search
11850 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11852 * text.C (getLengthMarkerHeight): for small heights, the arrows
11853 are not always on top/bottom of the text
11854 (drawLengthMarker): smaller arrows; take the left margin in
11855 account; draw also vfills.
11857 (paintLastRow): remove special code for vfill and standard spaces,
11858 since everything is handled in drawLengthMarker now.
11860 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11862 * buffer.C (insertErtContents): try to handle font and language
11863 interaction a bit better.g
11865 * ColorHandler.C (updateColor): change the hash to cover the whole
11866 LColor enum, ws cleanup
11867 (getGCLinepars): ditto
11868 (getGCLinepars): only lookup in the linecache once.
11870 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11872 * iterators.C (operator++): Make the iterator more robust
11874 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11876 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11878 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11881 * text.C: better added space drawing
11883 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11886 * BufferView2.C: fix layout combo update on inset unlock
11888 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11890 * Makefile.am: don't compile unused files
11892 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11896 * LyXAction.C: remove old LFUN_LAYOUTNO
11898 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11900 * paragraph_pimpl.h:
11901 * paragraph_pimpl.C: isTextAt() doesn't need font param
11903 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11906 * lyxlex.C: little cleanup
11908 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11910 * BufferView_pimpl.C: fix insertAscii for insets
11912 2001-12-05 Juergen Vigna <jug@sad.it>
11914 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11915 set the right font on the "multi" paragraph paste!
11917 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11923 * lyxlength.C: remove out-commented code.
11925 * BufferView_pimpl:
11939 * vc-backend.C: change "while(" to "while ("
11941 * lyxlength.[Ch]: add zero function to check if length is zero or
11943 * lyxgluelength.C: use it
11945 2001-12-05 Allan Rae <rae@lyx.org>
11947 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11948 Works for 2.95.3, from what I understand of Garst's reports this should
11949 work for other g++ versions. We're screwed if the abs(int) definition
11950 changed between bugfix releases of gcc.
11952 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11954 * text.C: fix chapter label offset !
11956 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11959 * text.C: fix hfill at end of line, clean up
11961 2001-12-04 Juergen Vigna <jug@sad.it>
11963 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11964 that we force an update of the inset and it's owners if neccessary.
11966 2001-12-03 Juergen Vigna <jug@sad.it>
11968 * text.C (rowLast): simplified code
11970 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11972 * lyxfunc.C: fix show options on timeout
11974 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11976 * screen.C (topCursorVisible): scroll half a page when the cursor
11977 reached top of bottom of screen
11979 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11981 * minibuffer.C: deactivate on loss of focus
11983 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11985 * vspace.[Ch] (operator!=): add operator.
11987 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11989 * BufferView_pimpl.C: refuse to open an inset when
11990 there's a selection.
11992 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11994 * BufferView_pimpl.C: allow to click on RHS of full row insets
11996 2001-11-30 Juergen Vigna <jug@sad.it>
11998 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11999 insets for undo reasons.
12001 2001-11-28 André Pönitz <poenitz@gmx.net>
12003 * vspace.[Ch]: cosmetical changes
12005 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12015 * kbsequence.C: part re-write of old kb code
12018 * WorkArea.C: remove Lgb_bug_find_hack
12020 2001-11-30 José Matos <jamatos@fep.up.pt>
12022 * buffer.C (makeDocBookFile): add a comment to point a hack.
12023 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12024 Fixed a double write of labels.
12026 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12029 * LaTeX.h Fixed bug in LaTeX class where it would not
12030 re-run latex if no depfiles were changed, but the .dvi was removed.
12032 2001-11-28 André Pönitz <poenitz@gmx.net>
12034 * all the files from the change on 2001/11/26:
12035 use lyx::layout_type instead of LyXTextClass::size_type
12036 use lyx::textclass_type instead of LyXTextClassList::size_type
12038 2001-11-29 Juergen Vigna <jug@sad.it>
12040 * text.C: added support for paragraph::isFreeSpacing()
12042 * buffer.C: same as above
12044 * paragraph.h: inserted isFreeSpacing() function to enable
12045 FreeSpacing inside InsetERT.
12047 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12048 of the paragraph's in the cut/copy buffer to 0!
12050 * text2.C (removeRow): remove the assert as it can!
12052 * lyxtext.h: added helper function firstRow returning firstrow and
12053 made firstrow private again.
12055 * BufferView2.C (lockInset): don't relock if we're already locked!
12057 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12058 the only paragraph.
12059 (removeRow): added Assert::(firstrow)
12061 * debug.C: forgot to add INSETTEXT here.
12063 2001-11-28 Juergen Vigna <jug@sad.it>
12065 * sp_spell.C (initialize): changed error text to more general
12066 spellchecker command use (not only ispell!)
12068 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12070 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12072 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12074 * vspace.C: initialise lyxgluelength on failure
12076 2001-11-28 Allan Rae <rae@lyx.org>
12078 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12079 declaration & definition that looks like a function declaration.
12081 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12083 * BufferView2.C (copy):
12084 (copyEnvironment): do not clear the selection when doing a copy.
12086 * text.C (paintFirstRow): compilation fix
12088 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12090 * tabular.C (Latex): correct line count when writing latex.
12092 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12094 * paragraph_pimpl.h:
12095 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12098 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12102 * LColor.C: change vfillline->added_space
12104 * text.C: add markers and text for added space
12106 * vspace.C: fix comment
12108 2001-11-28 André Pönitz <poenitz@gmx.net>
12110 * paragraph.C: whitespace changes
12111 * all the other files from the change on 2001/11/26:
12112 change *::pos_type into lyx::pos_type
12114 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12116 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12117 language of the document when inserting error insets.
12119 2001-11-26 André Pönitz <poenitz@gmx.net>
12121 * BufferView_pimpl.[Ch]:
12129 * paragraph_pimpl.[Ch]:
12132 * text2.C: reduce header dependencies, introduce type for positions
12134 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12136 * <various>: change to use Alert.h
12138 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12140 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12141 when encountering an unknown token.
12142 (readLyXformat2): Show an error message if there were unknown tokens.
12144 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12147 * BufferView_pimpl.C:
12151 * text2.C: use par->isInset()
12153 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12155 * paragraph_pimpl.h:
12156 * paragraph_pimpl.C: cleanup
12158 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12160 * text2.C (removeRow):
12161 * text.C (setHeightOfRow): remove useless (and costly) call to
12164 2001-11-20 Allan Rae <rae@lyx.org>
12166 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12167 Now need Inset*::checkInsertChar() to return true for appropriate
12168 cases so that the characters in the minibuffer will actually be
12171 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12173 * text.C: change the order of the includes.
12174 (workWidth): initialize it at once.
12175 (workWidth): make maxw unsigned
12176 (setHeightOfRow): remove unused variable (inset)
12177 (selectSelectedWord): remove unused variable (inset)
12178 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12180 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12182 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12183 server is not running.
12185 (closeConnection): add debug info when server is disabled.
12187 * ColorHandler.C (getGCForeground): send debug message to GUI
12190 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12192 * kbmap.C (bind): modify because return conventions of
12193 kb_sequence::parse have changed.
12195 * kbsequence.C (parse): only ignore spaces and not any stupid
12196 control character. This avoids tests like s[i] <= ' ', which are
12197 guaranteed to fail with 8bit characters and signed chars.
12198 Change return code to string::npos when there have been no error
12199 (0 was a bad idea when error is at first character)
12201 2001-11-14 José Matos <jamatos@fep.up.pt>
12204 * buffer.C (simpleDocBookOnePar): removed unused argument.
12206 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12208 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12209 insets which are part of a word. Paragraph::isLetter takes care of
12210 that now. Use Paragraph::isInset to identify insets.
12211 (selectSelectedWord): do not test for hyphenation break.
12213 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12214 that protected spaces are considered as spaces.
12216 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12219 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12222 * lyxserver.C: fix it. and small cleanup.
12224 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12226 * BufferView_pimpl.C: use inline helpers
12229 * LaTeXFeatures.C: fix typos
12232 * Spacing.C: move spacing_string into class
12234 * ToolbarDefaults.C: move stuff into namespace anon
12236 * layout.h: update enum
12238 * lyxfunc.C: use better debug
12240 * minibuffer.h: fix typo
12244 * WorkArea.C: add and use Debug::WORKAREA
12248 * text2.C: code re-organisation, inline helpers
12250 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12252 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12253 std::vector.empty().
12255 2001-11-09 Allan Rae <rae@lyx.org>
12257 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12258 '\n's after tables. Tabular and ERT inset work now makes this no
12261 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12264 * minibuffer.C: fix crash, improve drop-down completion
12266 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12269 * lyxserver.C: invalidate fd's when doing endPipe()
12271 2001-11-08 José Matos <jamatos@fep.up.pt>
12273 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12274 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12277 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12279 2001-11-07 José Matos <jamatos@fep.up.pt>
12282 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12285 * buffer.C (sgmlOpenTag):
12286 * buffer.C (sgmlCloseTag): removed debug info.
12288 * buffer.h (sgmlOpenTag):
12289 * buffer.h (sgmlCloseTag): made public.
12291 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12293 * buffer.C (saveParamsAsDefaults):
12294 * lyx_cb.C (MenuLayoutSave): remove
12296 * LyXAction.C (init):
12298 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12300 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12302 * buffer.C (setPaperStuff): removed from here...
12304 * bufferparams.C (setPaperStuff): ... and moved there.
12306 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12310 * XFormsView.C: add support for drop-down completion
12312 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12314 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12317 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12319 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12322 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12324 * lyx_main.C: change ref to known bugs
12326 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12328 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12329 to work around older babel problems.
12331 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12333 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12335 2001-10-24 Juergen Vigna <jug@sad.it>
12337 * tabular-old.C (ReadOld): below variable changes reflected.
12339 * tabular.[Ch]: added ltType struct for longtable header/footer
12340 defines and changed all instances where they are used. Added
12341 future support for double top/bottom rows.
12343 2001-10-24 José Matos <jamatos@fep.up.pt>
12345 * buffer.h (docbookHandleCaption):
12346 * buffer.C (docbookHandleCaption): removed unused function.
12347 (makeDocBookFile): moved docbook supported version to v4.1.
12349 2001-10-24 José Matos <jamatos@fep.up.pt>
12352 * tabular.C (docbookRow): new function to export docbook code of a row.
12353 (DocBook): now honors the longtable flags.
12355 2001-10-23 José Matos <jamatos@fep.up.pt>
12358 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12359 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12361 * buffer.C (makeLinuxDocFile):
12362 (makeDocBookFile): reworked the preamble, more clean, and with
12363 support for lyx defined entities. Changed the document declaration
12364 to be more XML friendly.
12366 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12367 if we need to output XML that should be done with a filter.
12369 2001-10-22 Juergen Vigna <jug@sad.it>
12371 * sp_pspell.h (class PSpell): add alive function needed in the
12372 controller to see if the spellchecker could be started.
12374 2001-10-22 Juergen Vigna <jug@sad.it>
12376 * buffer.C (insertStringAsLines): modify the font for inserting
12377 chars in certain conditions by calling checkInsertChar(font).
12379 2001-10-19 Juergen Vigna <jug@sad.it>
12381 * text.C (workWidth): use getRow instead of wrong algorithm.
12382 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12384 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12389 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12391 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12393 * text.C (workWidth): do not search for the exact row when
12394 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12395 optimization for big documents.
12397 2001-10-18 Juergen Vigna <jug@sad.it>
12399 * text.C (workWidth): new function with added Inset * parameter.
12401 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12403 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12405 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12406 change return type of getColumnNearX.
12409 * text.C (changeRegionCase): use uppercase/lowercase instead of
12412 (rightMargin): simplify code by factoring out the uses of
12417 (appendParagraph): use Paragraph::size_type
12419 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12421 * vspace.C (asLatexString): add a missing break
12423 2001-10-15 Herbert Voss <voss@perce.de>
12425 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12427 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12429 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12432 2001-10-10 André Pönitz <poenitz@gmx.net>
12434 * lyxfunc.C: removed greek_kb_flag.
12436 2001-10-10 Herbert Voss <voss@perce.de>
12438 * lyx_main.C: delete global string help_lyxdir.
12440 2001-10-09 Herbert Voss <voss@perce.de>
12442 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12444 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12446 * lyx_main.C: added global string help_lyxdir.
12448 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12450 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12452 * lyxrc.C (set_font_norm_type): support iso8859-4
12454 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12456 * LaTeX.C (deplog): add another regex for MikTeX
12458 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12460 * lyxrc.C (set_font_norm_type): support iso8859-3
12462 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12464 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12466 * LaTeXFeatures.C: remove special case of french and index
12468 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12469 before \begin{document}). This solves several incompatibilities.
12471 2001-10-03 Garst Reese <reese@isn.net>
12473 * lyx_cb.C: change CheckTex error msg.
12475 2001-10-03 José Matos <jamatos@fep.up.pt>
12477 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12479 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12481 * .cvsignore: update
12483 * lyx_main.C (commandLineVersionInfo): use new style version info.
12485 * buffer.C (writeFile):
12487 (makeLinuxDocFile):
12488 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12490 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12492 * version.h: update to use stuff in version.C
12494 * version.C.in: new file. Contains version information determined
12495 at compile time. This is a merging of version.h and
12498 2001-10-03 Juergen Vigna <jug@sad.it>
12500 * BufferView_pimpl.C (update): don't change "dirty" status in
12503 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12505 * WorkArea.C (c-tor): re-position version string slightly.
12507 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12509 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12510 revert to previous code.
12512 WorkArea.[Ch]: (show, destroySplash): methods removed.
12514 WorkArea.C: rework code so that it's an amalgam of the codes before and
12515 after the splash screen was moved to WorkArea.
12517 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12520 * vspace.C (inPixels):
12523 * buffer.C (insertStringAsLines):
12524 (asciiParagraph): fix types to be large enough
12526 * lyxlex_pimpl.h: change member status from short to int
12528 * layout.h: fix type of endlabeltype
12531 * kbsequence.C (parse): change return type to string::size_type
12533 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12536 * Bullet.C (bulletSize):
12537 (bulletEntry): do not use short ints as parameters
12539 * BufferView2.C (insertLyXFile): change a char to an int.
12541 * WorkArea.C (WorkArea): remove unneeded floats in computation
12543 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12545 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12547 * paragraph.C (asString): Do not ignore newline/hfill chars when
12548 copying to the clipboard.
12550 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12552 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12553 after a multi-line inset.
12555 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12557 * paragraph.C (validate): Set NeedLyXFootnoteCode
12559 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12561 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12562 and decrease-error to decrease.
12564 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12566 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12567 it more readable (should be equivalent)
12569 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12571 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12573 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12575 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12576 of a cursor (row, etc.) after a character has been deleted
12577 (deleteEmptyParagraphMechanism): call the method above on _all_
12578 cursors held by the LyXText when a double space has been
12581 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12583 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12585 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12587 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12588 background. Use greyOut() and the new show() methods to toggle between
12589 the foreground and background. Add code to remove the splash after
12590 its initial showing.
12592 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12593 (create_forms): no longer call Dialogs::showSplash.
12595 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12597 * .cvsignore: add version_info.h
12599 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12601 * version_info.h.in: new file
12603 * Makefile.am: add version_info.h.in
12605 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12606 version_info.h instead of VERSION_INFO
12608 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12610 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12611 The ERT inset now returns string().
12613 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12615 * lyxtext.h, text.C (selectNextWord): renamed as
12616 selectNextWordToSpellcheck.
12618 * text.C (selectNextWordToSpellcheck): Modified to not select
12619 words inside an ERT inset.
12621 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12623 * lyx_cb.C (MenuLayoutSave): change a bit the question
12625 * sp_base.h: include <sys/types.h>
12627 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12629 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12631 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12633 * several files: fix typos in user-visible strings
12635 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12637 * text2.C (pasteSelection): do not set the selection, since it
12638 will be cleared later. Actually, the intent was to fix the way the
12639 selection was set, but I figured rmoving the code was just as good.
12641 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12643 * FontLoader.C (available): Check if font is available without
12646 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12648 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12650 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12652 * lyxrc.[Ch]: added display_graphics variable and associated code.
12654 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12656 * bufferparams.C (hasClassDefaults): new method. Returns true if
12657 the buffer parameters correspond to known class defaults
12659 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12661 * XFormsView.C (show): set minimum size to the main window.
12663 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12665 * text2.C (copySelection):
12667 * lyxfind.C (LyXReplace):
12668 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12669 LyXText::selectionAsString.
12671 * paragraph.C (asString): add "label" argument to the second form
12673 * text2.C (selectionAsString): add "label" argument and pass it to
12674 Paragraph::asString.
12676 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12678 * lyx_main.C (commandLineHelp): remove version information
12680 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12682 * lyx_main.C: add -version commandline option
12684 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12686 * paragraph.h: make the optional constructor arg required instead.
12687 some modifications to other files because of this.
12689 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12691 * lyxserver.C (C_LyXComm_callback): make it static
12693 * lyx_main.C (error_handler): make it static
12695 * lyx_gui.C (LyX_XErrHandler): make it static
12697 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12699 * WorkArea.C: make the extern "C" methods static.
12701 * Makefile.am (lyx_LDADD): simplify
12703 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12705 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12706 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12708 * LyXAction.C (init):
12709 * lyxfunc.C (dispatch): associated code removal.
12711 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12713 * lyxfont.h (isSymbolFont): shut off warning
12715 * text.C (setHeightOfRow):
12716 (getVisibleRow): fix crash with empty paragraphs which have a
12719 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12721 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12724 2001-09-04 José Matos <jamatos@fep.up.pt>
12727 * tabular.C (docbook): rename docBook method to docbook.
12729 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12731 * Makefile.am: add dependencies to main.o.
12733 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12735 * FontLoader.C (available): Return false if !lyxrc.use_gui
12737 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12739 * FontInfo.C (query):
12740 * converter.C (view):
12741 * importer.C (Import):
12742 * exporter.C (Export): Can not -> cannot.
12744 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12746 * BufferView_pimpl.C: allow to create index inset even if
12749 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12751 * buffer.C (getLists): replace boost::tie code with an explicit pair
12752 as boost::tie can break some compilers.
12754 * iterators.h: Added a std:: declaration to the return type of
12757 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12759 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12762 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12764 * iterators.[Ch]: New files. Provide paragraph iterators.
12766 * buffer.C (changeLanguage): Use paragraph iterators.
12767 (isMultiLingual): ditto
12769 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12771 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12773 * FontLoader.C: Support for cmr font.
12775 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12777 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12778 (available): New method.
12780 * FontInfo.C (getFontname): Use scalable fonts even when
12781 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12784 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12786 * converter.C (Formats::view): reverted! Incorrect fix.
12788 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12790 * converter.C (Formats::view): only output the -paper option
12791 if the dvi viewer is xdvi, thereby fixing bug #233429.
12793 2001-08-23 Herbert Voss <voss@perce>
12795 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12797 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12799 * Spacing.h (Spacing): Set space to Default on in the default
12802 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12804 * vc-backend.h (RCS::versionString): add RCS to version
12805 (CVS::versionString): add CVS to version
12807 * vc-backend.C (scanMaster): do not add CVS to version.
12808 (scanMaster): do not add RCS to version
12810 * lyxvc.C (versionString): new method
12812 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12814 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12816 * Spacing.C (set): initialize fval
12818 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12820 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12823 2001-08-16 Juergen Vigna <jug@sad.it>
12825 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12827 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12829 * BufferView_pimpl.C:
12832 * text2.C: setParagraph takes linespacing now
12834 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12836 * LyxAction.C: add internal LFUN_CITATION_INSERT
12838 * LyXView.C: actually apply fix
12840 * bufferlist.C: fix open non-existent file
12842 * lyxfind.C: fix indentation
12844 * lyxfunc.C: remove unneeded assert, fix typo
12846 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12848 * MenuBackend.C: use "Floatname List"
12850 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12852 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12853 when converting LaTeX layout to insetERT.
12854 Generate a non-collapsed float when reading old float
12856 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12858 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12861 2001-08-13 Juergen Vigna <jug@sad.it>
12863 * text.C (fill): return 0 instead of 20 as this seems to be the more
12866 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12868 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12871 2001-08-13 Juergen Vigna <jug@sad.it>
12873 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12875 (SearchBackward): comment out the unlocking of the inset_owner this
12876 should not be needed!
12878 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12880 * Many files: Remove inherit_language, and add latex_language
12882 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12883 collapsible insets.
12885 2001-08-10 Juergen Vigna <jug@sad.it>
12887 * text.C (prepareToPrint): fixed hfill-width in draw!
12889 * BufferView2.C (selectLastWord): save the selection cursor as this
12890 now is cleared in the function LyXText::clearSelection!
12892 2001-08-08 Juergen Vigna <jug@sad.it>
12894 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12895 BACKSPACE type functions.
12897 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12898 is only cutted from the document but not put in the cut-buffer, where
12899 still the old stuff should be.
12901 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12903 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12905 * tabular.C (SetWidthOfCell): fixed special case where the width
12907 (LeftLine): handle '|' in align_special.
12909 (LeftAlreadyDrawed): ditto
12910 (SetWidthOfCell): ditto
12912 2001-08-07 Juergen Vigna <jug@sad.it>
12914 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12916 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12918 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12919 * lyxlex.[hC]: ditto
12921 2001-08-06 Juergen Vigna <jug@sad.it>
12923 * text.C (getVisibleRow): fix up row clearing a bit.
12925 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12927 * minibuffer.C: make sure the X server sees the changes in the input.
12929 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12931 * paragraph.C (getFont): split into...
12932 (getLabelFont): this
12933 (getLayoutFont): and this
12934 * paragraph_pimpl.C (realizeFont): calling this
12936 * text2.C (getFont): split into...
12937 (getLayoutFont): this
12938 (getLabelFont): and this
12939 (realizeFont): all three calling this
12941 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12944 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12946 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12948 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12950 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12951 layouts from the Quote inset insertion.
12953 2001-08-03 Juergen Vigna <jug@sad.it>
12955 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12957 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12958 only if status not is already CHANGED_IN_DRAW (second level).
12960 * text.C (draw): don't set the need_break_row when inside an
12963 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12965 * buffer.C (parseSingleLyXformat2Token): handle more latex
12968 * bufferview_funcs.[hC]: change function names to
12969 begin with small char, adjust other files.
12971 2001-08-02 André Pönitz <poenitz@gmx.net>
12974 BufferView_pimpl.C: remove broken special code for math-greek
12976 2001-08-02 Juergen Vigna <jug@sad.it>
12978 * BufferView_pimpl.C (update): redone this function so that we
12979 update the text again if there was a CHANGE_IN_DRAW.
12981 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12982 (drawFromTo): added a new internal bool which is used by draw() and
12984 (general): some cursor drawing problems fixed.
12986 2001-08-01 Juergen Vigna <jug@sad.it>
12988 * lyxfind.C (LyXFind): fixed
12989 (SearchForward): ditto
12990 (SearchBackward): ditto
12992 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12993 spurius drawing of the cursor in the main area.
12995 * text2.C (status): small fix which could lead to a segfault!
12996 (clearSelection): remove unneeded BufferView param.
12998 2001-08-01 André Pönitz <poenitz@gmx.net>
13000 * lyxfunc.C: small change due to changed mathed interface
13002 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13004 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13006 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13008 * lyxfunc.c: fail gracefully if file doesn't exist
13013 * BufferView_pimpl.C: IsDirWriteable() proto changed
13015 * LyXView.C: fix updateWindowTitle() to store the last title
13017 2001-07-31 Juergen Vigna <jug@sad.it>
13019 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13020 the font (wrong since using of Paragraph::highestFontInRange).
13022 * paragraph.C (highestFontInRange): added a default_size parameter.
13024 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13025 (setHeightOfRow): reformat
13027 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13029 * converter.[hC] + affected files: move to (inital-char)lowercase
13032 * ParagraphParameters.C (ParagraphParameters): remove commented code
13034 * PainterBase.[Ch]: remove commented code
13036 * LaTeXFeatures.h: add "bool floats" for float.sty
13038 * LaTeXFeatures.C (LaTeXFeatures): init floats
13039 (require): handle float
13040 (getPackages): do it with floats
13042 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13044 * BufferView_pimpl.C (Dispatch): improve handling of
13045 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13047 * commandtags.h: #include lyxfont.h here temporarily to avoid
13050 * bufferlist.h: include LString.h here.
13052 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13054 * text2.C (getStringToIndex): new method.
13056 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13058 * *: Reduced header file dependencies all over.
13060 2001-07-30 Baruch Even <baruch@lyx.org>
13062 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13064 2001-07-29 Baruch Even <baruch@lyx.org>
13066 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13068 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13070 * ParameterStruct.h (endif): add a default constructor to make
13071 sure that all variables is initialized.
13073 * ParagraphParameters.C (ParagraphParameters): adjust
13075 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13077 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13078 index; also, check that there is something to index, and that it
13079 does not span over several paragraphs.
13080 (doubleClick): use WHOLE_WORD_STRICT for double click.
13082 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13084 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13087 2001-07-26 Baruch Even <baruch@lyx.org>
13089 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13090 an InsetFig figure, backwards compatible reading of old figure code.
13092 2001-07-27 Juergen Vigna <jug@sad.it>
13094 * text2.C: font.realize function adaption.
13096 * text.C (draw): add a warnings lyxerr text if needed.
13098 * layout.C: font.realize function adaption.
13100 * language.C: add inherit_language and implement it's handlings
13102 * bufferview_funcs.C (StyleReset): remove language parameter from
13103 font creation (should be language_inherit now).
13105 * bufferparams.C (writeFile): handle ignore_language.
13107 * paragraph.C (getFontSettings): the language has to be resolved
13108 otherwise we have problems in LyXFont!
13110 * lyxfont.C (lyxWriteChanges): added document_language parameter
13111 (update): removed unneeded language parameter
13113 * paragraph.C (validate): fixed wrong output of color-package when
13114 using interface colors for certain fonts in certain environments,
13115 which should not seen as that on the final output.
13117 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13119 * BufferView_pimpl.C:
13124 * LyXAction.C: add thesaurus support
13127 * lyxfind.C: add "once" parameter, for thesaurus, to not
13128 move to the next match
13130 2001-07-26 Juergen Vigna <jug@sad.it>
13132 * lyxfont.C (realize): honor ignore_language too!
13135 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13137 * text.C (draw): one place more for ignore_language to not draw
13140 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13142 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13144 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13146 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13147 the minipage conversion problem.
13149 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13151 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13154 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13156 * BufferView.h: don't forward declare WorkArea
13158 * BufferView.C: don't include WorkArea.h
13160 2001-07-25 André Pönitz <poenitz@gmx.net>
13164 * lyxfunc.C: new LFUN 'math-space'
13166 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13168 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13170 * text2.C (toggleInset): call open/close
13172 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13174 * lyxfunc.C (dispatch): add debug for the disabled case
13176 * font.C (buttonText): make similar to rectText
13178 * buffer.C (readInset): comment out parsing of insetlist and
13181 * PainterBase.C (rectText): small correction
13183 * BufferView_pimpl.C: comment out insettheorem and insetlist
13184 * LyXAction.C: ditto
13185 * commandtags.h: ditto
13187 2001-07-24 Juergen Vigna <jug@sad.it>
13189 * text.C (draw): honor the ignore_language.
13191 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13193 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13195 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13198 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13200 * lyxtext.h: remove unused (and unimplemented) methods
13202 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13204 * text.C (getVisibleRow): honor background color
13207 * Painter.h: remove default color argument for fillRectangle
13209 * text.C (backgroundColor): new method
13211 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13213 * text.C (getVisibleRow): adjust
13215 * font.[Ch] (rectText): new method, metrics
13216 (buttonText): new method, metrics
13218 * PainterBase.[hC]: make rectText and buttonText always draw and take
13221 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13223 * ToolbarDefaults.C (read):
13224 * MenuBackend.C (read): allow escaping in all strings
13226 * BufferView_pimpl.C (insertAndEditInset): new method.
13227 (Dispatch): use insertAndEditInset whenever appropriate.
13229 * BufferView_pimpl.C (insertNote): removed
13231 * BufferView_pimpl.C (smartQuote): new method, moved from
13232 BufferView; if an insetquote cannot be inserted, insert a '"'
13235 * BufferView2.C: remove insertCorrectQuote();
13237 * lyxfunc.C (getStatus): Add support for all remaingin
13238 inset-insert lfuns.
13240 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13242 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13243 command (necessary to pass " as parameter of self-insert.
13245 * text.C (selectWordWhenUnderCursor):
13246 (selectWord): add word_location parameter
13247 (selectWordWhenUnderCursor): same + remove special code for word
13249 (selectNextWord): use kind() to guess type of insetspecialchar,
13252 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13253 (insertErtContents): create ert insets as collapsed.
13254 (readInset): better compatibility code for Info inset.
13256 2001-07-20 Juergen Vigna <jug@sad.it>
13258 * lyxfunc.C (dispatch): use always LyXFind now!
13260 * text2.C (init): add a reinit flag so that the LyXText can be
13261 reinited instead of deleted and reallocated (used in InsetText).
13263 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13269 2001-07-18 Juergen Vigna <jug@sad.it>
13271 * text.C (selectNextWord): handle insets inside inset by calling
13272 always the bv->text functions so that we can go up the_locking_inset!
13274 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13275 in strange locations when inside an inset!
13277 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13278 handling to include insets.
13280 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13282 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13284 * LyXAction.C (init):
13286 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13287 LIGATURE_BREAK, since the name is so stupid.
13289 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13291 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13294 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13296 * sp_form.[Ch]: remove.
13298 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13300 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13303 * src/buffer.C (readInset): ditto.
13305 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13307 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13308 menuSeparator(), endOfSentenceDot(), ldots() and
13309 hyphenationPoint(), which are therefore removed.
13310 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13312 * LyXAction.C (init):
13313 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13315 * paragraph.C (getWord): removed.
13317 * BufferView_pimpl.C (Dispatch): use last word or selection for
13318 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13320 * lyx_main.C (queryUserLyXDir): do not ask before creating
13321 user_dir, except if it has been named explicitely.
13323 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13325 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13326 a document of zero size.
13328 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13330 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13331 approriately in the c-tor and in require().
13332 (getPackages): output the appropriate LaTeX for natbib support.
13334 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13335 variables "use_natbib" and "use_numerical_citations" when reading the
13337 (readInset): read the various natbib cite commands.
13338 (validate): white-space change.
13340 * bufferparams.[Ch]: new variables "bool use_natbib" and
13341 "bool use_numerical_citations".
13342 (writeFile): output them in the LyX file.
13344 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13346 * lyxfunc.C (getStatus): add support for all the inset insertion
13349 * text2.C (insertInset):
13350 * paragraph.C (insetAllowed):
13351 * BufferView_pimpl.C (insertInset): update to take in account the
13352 renaming of insertInsetAllowed
13354 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13356 * text2.C (getInset): new method. returns inset at cursor position.
13358 * BufferView_pimpl.C (Dispatch): changes because of this.
13360 * LyXAction.C (init): rename open-stuff to inset-toggle.
13362 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13364 * text2.C (toggleInset): renamed from openStuff; use
13367 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13369 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13371 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13373 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13375 * buffer.C (readLyXformat2): Add filename to the error dialog
13377 2001-07-18 Juergen Vigna <jug@sad.it>
13379 * tabular.C (GetCellNumber): put an assert here instead of the check!
13381 2001-07-17 Juergen Vigna <jug@sad.it>
13383 * BufferView_pimpl.C (toggleSelection): adapted too.
13385 * text.C (selectNextWord): adapted for use with insets.
13386 (selectSelectedWord): ditto
13388 2001-07-17 Juergen Vigna <jug@sad.it>
13390 * sp_spell.C (PSpell): fix initialitation order.
13392 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13394 * paragraph.C: spacing
13396 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13398 * sp_spell.C: repair language selection for pspell
13400 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13402 * lyxfunc.h: change more methods to begin with lower char.
13404 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13406 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13407 for unknown layouts.
13409 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13411 * buffer.C (readLyXformat2): Generate an error dialog if there are
13414 2001-07-16 Juergen Vigna <jug@sad.it>
13416 * sp_spell.C: always compile ISpell part.
13418 * lyxrc.C: added use_pspell entry and it's handling.
13420 2001-07-13 Juergen Vigna <jug@sad.it>
13422 * sp_spell.C: removed double includes.
13424 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13426 Consistent use of Lsstream.h:
13427 * Lsstream.h: added using std::stringstream for consistencies sake.
13429 * buffer.C: removed using std::stringstream
13431 * lyxfont.C (stateText):
13432 * paragraph.C (asString):
13433 * text.C (selectNextWord, selectSelectedWord):
13434 * text2.C (setCounter):
13435 * vspace.C (asString, asLatexString):
13436 std::ostringstream -> ostringstream.
13438 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13440 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13441 * commandtags.h: add LFUN_HELP_ABOUTLYX
13442 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13444 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13446 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13448 * lyx_gui_misc.C: remove spellchecker
13449 * lyxfunc.C: showSpellchecker
13451 * sp_ispell.h: added
13452 * sp_pspell.h: added
13453 * sp_spell.C: added
13454 * sp_form.[Ch]: removed
13455 * spellchecker.[Ch]: removed
13457 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13459 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13461 (simpleTeXSpecialChars): Simply print the input character without
13462 any special translation if pass_thru is set.
13464 * layout.h: Added bool pass_thru to layout class for being able to
13465 implement pass through of a paragraph for Literate Programming.
13467 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13468 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13469 * layout.C (Read): add "passthru" to list of layout tags and add
13470 code to set the pass_thru boolean when it is read.
13472 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13474 * trans_decl.h: remove allowed from KmodInfo
13476 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13477 remove allowed code
13480 * paragraph_pimpl.C (erase): use boost::prior
13482 * Painter.C (text): use data() instead of c_str() when length is
13484 * WorkArea.C (putClipboard): ditto
13485 * font.h (width): ditto
13487 * BufferView2.C: use it-> instead of (*it). for iterators
13489 * paragraph_pimpl.C: ditto
13490 * paragraph.C: ditto
13491 * minibuffer.C: ditto
13492 * language.C: ditto
13494 * encoding.C: ditto
13495 * counters.C: ditto
13496 * converter.C: ditto
13498 * Variables.C: ditto
13499 * TextCache.C: ditto
13500 * MenuBackend.C: ditto
13501 * LyXAction.C: ditto
13503 * FloatList.C: ditto
13504 * DepTable.C: ditto
13505 * ColorHandler.C (LyXColorHandler): ditto
13507 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13509 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13511 * text2.C (openStuff): reintroduce this method (which had been
13512 nuked in NEW_INSETS frenzy).
13514 * lyxfunc.C (Dispatch): when an action has not been handled, use
13515 its name in the error message, not its number.
13517 * paragraph.C (inInset): change method name to begin with lowercase.
13520 * text2.C: updates because of this.
13522 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13524 * ToolbarDefaults.C (add): add spaces in error message
13526 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13528 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13529 (readLyXformat2): rename return_par to first_par, use lyxlex's
13530 pushToken and remove the manual push handling.
13531 (parseSingleLyXformat2Token): add another ert comp. variable:
13532 in_tabular, rename return_par to first_par. handle newlines better
13534 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13536 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13538 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13540 * text2.C (getParFromID): removed
13542 * buffer.C (getParFromID): new method moved form lyxtext.
13543 * BufferView2.C (insertErrors): adjust
13544 (setCursorFromRow): adjust
13545 * BufferView_pimpl.C (restorePosition): adjust
13546 * lyxfunc.C (Dispatch): adjust
13547 * undo_funcs.C (textUndo): adjust
13549 (textHandleUndo): adjust
13550 (textHandleUndo): adjust
13552 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13554 * buffer.C: up' the LYX_FORMAT
13556 * lyxfont.h: turn NO_LATEX on as default
13558 * buffer.C (insertErtContents): new methods of tex style compability.
13559 (parseSingleLyXformat2Token): use it several places.
13560 * tabular.C (OldFormatRead): and here
13562 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13564 * text2.C: remove some commented code.
13567 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13568 * trans.C: changes because of the above.
13570 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13572 * text2.C (setCounter): Fix counters bug with bibliography layout.
13574 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13576 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13577 own member functions
13578 (simpleTeXSpecialChars): ditto
13580 2001-07-06 Juergen Vigna <jug@sad.it>
13582 * a lot of files: changed the access to LyXText::status and the
13583 call of undo-functions.
13585 * undo.[Ch]: added a inset_id to the undo informations.
13587 * undo_funcs.[Ch]: added and moved here all undo functions.
13589 * lyxtext.h: give the status enum a weight, made status_ a private
13590 variable and made accessor functions for it, removed the whole bunch
13591 of undo-functions as they are now in their own file, make some
13592 functions publically available. Added function ownerParagraph with
13595 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13596 made InInset() a const function, added getParFromID() function.
13598 * buffer.[Ch]: added const version for inset_iterator functions,
13599 added getInsetFromID() function.
13601 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13602 changed undo functions for new version.
13604 2001-07-05 Juergen Vigna <jug@sad.it>
13606 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13607 unknow mechanism does not call the proper constructor but only this
13608 one also if I request the other!?
13610 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13612 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13614 * text2.C (LyXText): use initialization lists.
13616 * lyxtext.h (Selection): initialize set_ and mark_
13617 (init): remove method
13619 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13621 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13623 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13625 * screen.[Ch]: change method names to begin with lowercase
13627 * BufferView_pimpl.C (updateScrollbar): simplify further and
13628 hopefully make it a bit faster.
13630 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13632 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13633 calling directly xforms functions.
13635 * Painter.C (Painter):
13636 * lyx_cb.C (MenuWrite):
13637 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13640 * lyx_gui.C: remove bogus guiruntime extern declaration.
13642 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13644 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13646 (redoDrawingOfParagraph): ditto
13647 (redoParagraphs): ditto
13648 (cutSelection): don't create a object for CutAndPaste use the
13649 static method directly
13650 (pasteSelection): ditto
13652 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13655 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13657 * modifications to some other files because of this.
13659 * Makefile.am (lyx_SOURCES): add XFormsView
13661 * XFormsView.[Ch]: new files
13663 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13664 the main window. Move the gui dependent stuff to XFormsView
13666 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13668 * tabular.C (GetCellInset): update cur_cell also in the row/col
13669 version of this function.
13671 * lyxfunc.C: no need to include figure_form.h here.
13677 * lyxvc.C: no need to include forms.h here.
13679 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13681 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13683 * lyxfunc.C (Dispatch):
13685 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13686 constructor argument.
13688 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13690 * paragraph.C (Paragraph): dont't clear, and just set layout.
13691 (makeSameLayout): use params's copy contructor.
13693 * ParagraphParameters.[Ch] (makeSame): delete method
13695 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13697 * Variables.[Ch]: fix indentation, rename set to isSet
13699 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13701 * lyxfunc.C (Dispatch): fix typo
13703 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13705 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13708 * bufferlist.C: include assert.h for emergencyWrite().
13710 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13712 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13713 give up at last (bug #425202) !
13715 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13721 * spellchecker.C: strip spellchecker options and bring up
13722 preferences tab instead
13724 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13726 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13727 the istringstream constructor
13729 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13731 * paragraph.C (getLayout): fix return value
13733 * paragraph.h: do not declare getLayout as inline.
13735 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13737 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13739 * lyxcursor.h (operator<): new func
13740 (operator>): new func
13741 (operator>=): new func
13742 (operator<=): new func
13744 * text.C (changeCase): use selection.start and selection.end
13745 (changeRegionCase): require from to be <= to. Require par to be a
13748 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13750 2001-06-27 Juergen Vigna <jug@sad.it>
13752 * text.C (cursorLeftOneWord): changed to return the cursor and added
13753 overlay with BufferView * parameter which calls this one.
13755 (selectWord): use new getWord function.
13756 (changeCase): renamed from changeWordCase as and extended to work
13757 also on selections.
13759 * lyxtext.h: added enum word_location
13761 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13762 changeCase as this operates now also on selections.
13764 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13766 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13768 * many files: send debug output to Debug::INFO instead of
13771 * converter.C (View):
13773 (Move): send debug output to Debug::FILES instead of console.
13775 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13777 * lyxfunc.C (getStatus): use func_status
13779 * func_status.h: new header, describing the results of
13780 LyXFunc::getStatus;
13782 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13785 2001-06-25 The LyX Project <jug@sad.it>
13787 * buffer.C (sgmlOpenTag):
13789 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13791 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13793 * text2.C: remove some dead code
13795 * tabular.C (GetCellInset): store the last cell checked (gotten)
13797 * tabular.h: add the helper for the speedup
13799 * lyxtext.h: remove some dead code
13801 2001-06-26 The LyX Project <Asger>
13803 * paragraph.C: Change export to LaTeX of alignment to
13804 \begin{center} and family for better roundtrip work with reLyX.
13806 * Tune the math drawing a bit.
13808 2001-06-25 The LyX Project <Asger>
13810 * LColor.C (LColor): New color for math background. New color
13813 2001-06-25 The LyX Project <jug@sad.it>
13815 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13817 * lyxfunc.C (Open):
13818 * bufferlist.C (newFile): do not restrict to files ending with
13821 * BufferView_pimpl.C (MenuInsertLyXFile):
13823 2001-06-24 The LyX Project <jug@sad.it>
13825 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13828 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13830 * lyxtext.h: rename most methods to begin with a small char.
13831 Lots of changes because of this.
13833 * paragraph.C (Paragraph): do not call fitToSize
13834 (erase): call Pimpl::erase
13835 (insertChar): call Pimpl::insertChar
13836 (insertInset): call Pipl::insertInset
13837 (breakParagraph): do not call fitToSize
13838 (breakParagraphConservative): do not call fitToSize
13839 (fitToSize): remove method
13841 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13843 2001-06-24 The LyX Project <Asger>
13845 * Fix Qt compilation^2
13847 2001-06-24 The LyX Project <jug@sad.it>
13849 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13850 depthHook(getDepth()-1).
13853 * ParagraphParameters.h:
13854 * ParameterStruct.h: change type of depth to unsigned int ==
13855 depth_type. Many adaptations to other files before of that.
13857 2001-06-24 The LyX Project <Asger>
13859 * Fix Qt compilation.
13861 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13863 * paragraph.h: renamed several methods to begin with small letter.
13864 several changes to many parts of the code because of this.
13866 2001-06-23 The LyX Project <jug@sad.it>
13868 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13869 rewritten to discard all double spaces when KeepEmpty is off
13870 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13871 to only handle newlines but not fiddle with spaces and friends.
13873 * lyxfunc.C (MenuNew): when doing 'new from template', use
13874 template_path as default directory
13876 2001-06-23 The LyX Project <Asger>
13878 * Clean-up of header file includes all over
13879 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13881 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13883 * paragraph.h: renamed from lyxparagraph.h
13885 2001-06-23 Asger <lyx@violet.home.sad.it>
13887 * Buffer.h: Removed Buffer::resize
13888 * BufferList.h: Removed BufferList::resize
13889 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13890 the document lazily when we change the width, or the font settings.
13892 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13894 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13896 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13898 * buffer.h: remove out of date comment
13900 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13903 * screen.C: fix "theoretical" GC leak
13905 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13907 * LaTeX.C (scanAuxFile):
13908 (deplog): remove trailing \r when reading stream (useful under
13911 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13913 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13914 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13915 and BufferView::theLockingInset(Inset*), so should use them and not
13916 access bv_->text->the_locking_inset directly.
13918 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13920 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13923 * tex-defs.h: remove old unused file
13925 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13927 * BufferView_pimpl.C: fix typo, remove minibuffer message
13928 when buffer has loaded
13930 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13932 * lyxfunc.C (Dispatch): use stringstream
13933 (MenuNew): use stringstream
13934 (Open): use stringstream
13936 * importer.C (Import): use stringstream
13938 * bufferview_funcs.C (CurrentState): use stringstream
13940 * LaTeX.C (run): use stringstream
13942 * BufferView_pimpl.C (savePosition): use stringstream
13943 (restorePosition): use stringstream
13944 (MenuInsertLyXFile): use stringstream
13946 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13959 * vspace.C: removed // -*- C++ -*- as first line.
13962 * version.h: added // -*- C++ -*- as first line.
13964 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13966 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13968 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13971 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13973 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13976 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13978 * gettext.C: include LString.h even when --disable-nls is on.
13980 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13982 * converter.h (Get): changed argument type from int to
13983 FormatList::size_type to avoid unnecessary conversion.
13985 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13988 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13990 * gettext.h: include LString.h even when --disable-nls is on.
13992 2001-06-07 Juergen Vigna <jug@sad.it>
13994 * text.C (BreakAgain): subst spaces with tabs.
13996 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13997 (resizeInsetsLyXText): set force on resizeLyXText.
13999 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14001 * gettext.h (gettext_init):
14002 (locale_init): use a real definition instead of a macro
14004 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14006 * Bufferview_pimpl.C:
14008 * LColor.C: further lcolor tidies
14010 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14012 * BufferView_pimpl.C (updateScrollbar): simplify.
14014 * BufferView2.C: don't include insets/insetinfo.h, change
14015 prototype for insertInset and call the Pimpl version. let
14016 updateInset call Pimpl version.
14018 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14019 gotoInset to BufferView::Pimpl
14021 2001-06-01 Juergen Vigna <jug@sad.it>
14023 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14024 inside a LockingInset (is the update needed at all?).
14026 2001-05-31 Juergen Vigna <jug@sad.it>
14028 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14029 here not the old one otherwise how should we compare it afterwards
14032 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14037 * FontInfo.C: bring C functions into global namespace when
14040 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14042 * LString.h: make sure config.h has been loaded before LString.h.
14044 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14045 (one for each char read by EatLine!).
14047 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14050 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14052 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14053 to the same as the par we break from
14055 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14057 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14059 * MenuBackend.C (expand): also create menu entries for wide
14060 versions of the floats.
14062 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14064 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14066 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14067 frontends/Makefile.am
14073 * tabular.C (getTokenValue): add std::
14075 * tabular-old.C (getTokenValue): add std::
14076 (getTokenValue): ditto
14077 (getTokenValue): ditto
14079 * screen.C (ToggleSelection): adjust
14081 * lyxtext.h: put selection cursors inside a Selection struct.
14083 * lyxfunc.C (moveCursorUpdate): adjust
14085 * lyxfont.C (latexWriteStartChanges): add std::
14087 * lyxfind.C: adjust
14089 * font.h: delete with(char const *, LyXFont const &)
14091 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14093 * FontInfo.C (getFontname): add std::
14095 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14096 (workAreaButtonPress): adjust
14097 (tripleClick): adjust
14099 (moveCursorUpdate): adjust
14102 * BufferView2.C (gotoInset): adjust
14104 2001-05-30 Juergen Vigna <jug@sad.it>
14106 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14107 to check pspell I add this as default as I now have new pspell
14108 libraries and they seem to use this.
14110 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14112 * text2.C (CutSelection): make the cursor valid before the call to
14115 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14117 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14118 relied on 0 terminated strings and other horrors. Bug found due to
14119 the new assert in lyxstring!
14121 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14124 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14126 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14129 * lyxfunc.C (processKeySym): change method of getting to the
14132 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14133 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14134 * BufferView_pimpl.[Ch]: here as private methods.
14136 2001-05-28 Juergen Vigna <jug@sad.it>
14138 * text.C (SetHeightOfRow): added the update() call again as it is
14139 needed to initialize inset dimensions!
14141 2001-05-16 Juergen Vigna <jug@sad.it>
14143 * text2.C (SetCharFont): Add new function with BufferView * and
14144 bool toggleall parameters for setting insets internal fonts.
14145 (SetFont): Freeze the undo as we may change fonts in Insets and
14146 all this change should be inside only one Undo!
14148 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14149 setting font's in insets as for them we have the SetFont function!
14151 2001-05-15 Juergen Vigna <jug@sad.it>
14153 * text2.C (ClearSelection): to be sure we REALLY don't have any
14156 * tabular.C (TeXCellPreamble): fixed the left border problem for
14159 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14161 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14164 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14166 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14167 LFUN_BREAKPARAGRAPH.
14169 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14170 help test to "internal only", similar for LFUN_INSERT_URL
14172 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14173 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14174 auto_region_delete and deadkeys.
14176 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14179 * LColor.C: remove some dead entries, tidy a little
14181 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14183 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14185 (Dispatch): implement LFUN_ESCAPE
14187 * commandtags.h: add LFUN_ESCAPE
14189 * LyXAction.C (init): add entry for LFUN_ESCAPE
14191 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14192 Remove commented code.
14193 (insertNote): moved here
14194 (open_new_inset): moved here
14196 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14199 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14201 * kbmap.C (findbinding): clean it up and make it work correctly.
14203 * lyx_main.C (init): do not pass argc and argv as parameters
14205 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14207 * buffer.C: fix path for OS/2 & Win32
14211 * lyx_main.C: Added os:: class.
14213 * os2_defines.h: update
14215 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14217 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14218 better by trying again with reduced state.
14220 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14222 * lyxrc.C (read): print error about invalid key sequence only when
14223 debugging (because not all latinX keysyms are known to some X
14226 * kbsequence.C (getiso): add a few std:: qualifiers
14227 (getiso): comment out extra return statement.
14229 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14231 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14233 (Dispatch): enhance the accent inset a bit. (not perfect)
14235 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14237 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14239 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14241 * bufferlist.C (emergencyWrite): fix assert() call
14243 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14245 * text.C (InsertChar): Added trivial patch to only send the "you
14246 can not do multiple spaces this way" message once during a
14249 2001-05-08 Baruch Even <baruch@lyx.org>
14251 * Makefile.am: Changed order of libraries to get LyX to link properly
14252 with the gnome frontend.
14254 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14256 * LaTeXFeatures.h: add a std:: qualifier
14258 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14260 * paragraph.C (String): use stringstream
14262 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14264 * paragraph.C (writeFile): remove footflag arg
14266 * buffer.C (makeLaTeXFile): use stringstream
14267 (latexParagraphs): remove footnot gurba
14269 * LaTeXFeatures.C (getPackages): use stringstream
14270 (getMacros): likewise
14271 (getTClassPreamble): likewise
14272 (getFloatDefinitions): new method
14274 * paragraph.C (writeFile): reindent
14277 * WorkArea.h: revert the xpos + etc changes.
14279 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14281 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14283 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14284 (pasteSelection): likewise
14285 * text2.C (CreateUndo): likewise
14287 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14289 * minibuffer.C (peek_event): temporarily reduce the functionality
14290 of the minibuffer (to allow args on lfuns)
14292 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14293 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14295 * buffer.C (readInset): add compability reading of old float
14296 lists, add reading of new style float list.
14297 (readInset): avoid reevaluation of inscmd.getCmdName()
14298 (getLists): reindent
14300 * MenuBackend.C (MenuItem): implement parsing of
14301 md_floatlistinsert and md_floatinsert.
14302 (expand::LastFiles): move initalizaton of iterators out of loop,
14303 avoid reevaluation.
14304 (expand::Documents): introduce typdedef vector<string> Strings,
14306 (expand::ExportFormats): introduce typedef vector<Format const *>
14307 Formats, and use it.
14308 (expand): implement FloatListInsert and FloatInsert.
14310 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14311 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14312 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14314 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14316 (Dispatch::LFUN_FLOAT_LIST): implement
14318 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14320 * LaTeX.C (run): Fix problem with --export code.
14322 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14324 * BufferView.[Ch] (workarea): removed.
14325 (getClipboard) new method; wrapper for workarea()->getClipboard()
14327 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14330 * WorkArea.h (width, height, xpos, ypos): These methods all
14331 returned the dimensions of the work_area sub-area of WorkArea,
14332 resulting in a position error if the WorkArea were resized. Now
14333 return the dimensions of the entire WorkArea.
14335 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14337 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14339 * LaTeX.C (deplog): correct the syntax of regex reg1
14341 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14343 * undo.C: remove !NEW_INSETS cruft
14345 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14347 * text2.C: remove !NEW_INSETS cruft
14349 * text.C: remove !NEW_INSETS cruft
14351 * tabular.C: remove !NEW_INSETS cruft
14353 * spellchecker.C: remove !NEW_INSETS cruft
14355 * lyxtext.h: remove !NEW_INSETS cruft
14357 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14359 * lyxfunc.C: remove !NEW_INSETS cruft
14361 * lyxfind.C: remove !NEW_INSETS cruft
14363 * lyx_cb.C: remove !NEW_INSETS cruft
14365 * figureForm.C: remove !NEW_INSETS cruft
14367 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14369 * buffer.[Ch]: remove !NEW_INSETS cruft
14371 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14373 * CutAndPaste.C: remove !NEW_INSETS cruft
14375 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14377 * BufferView2.C: remove !NEW_INSETS cruft
14379 * BufferView.h: remove !NEW_INSETS cruft
14381 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14383 * Lsstream.h: include LString.h before the sstream headers to
14384 fix problem with gcc 2.95.3 and lyxstring
14386 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14388 * lyx_main.C: add using directives when needed for C functions
14389 declared in std:: namespace.
14391 2001-04-27 Juergen Vigna <jug@sad.it>
14393 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14394 (SetHeightOfRow): comment out the update call should not be needed!
14396 2001-04-13 Juergen Vigna <jug@sad.it>
14398 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14399 (LyXTabular): tried to minimize operator= operations (and realized
14400 hopfully Lars wish).
14402 2001-04-27 Juergen Vigna <jug@sad.it>
14404 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14406 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14408 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14410 * buffer.C (readInset): hack to make listof algorithm work
14412 * BufferView_pimpl.C: hack to make listof algorithm work
14414 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14416 * LyXAction.C: removed all !NEW_INSETS cruft
14417 (init): moved lfun_item in method
14419 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14421 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14423 * BufferView2.C (theLockingInset): white space.
14425 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14427 * minibuffer.C: include <iostream>
14429 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14431 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14433 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14435 * text.[Ch] (TransposeChars): new method
14437 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14439 * call message directly through LyXView instead of through LyXFunc
14440 * BufferView2.C: adjust
14441 * BufferView_pimpl.C: adjust
14442 * FontLoader.C: adjust
14444 * bufferview_funcs.C: adjust
14445 * converter.C: adjust
14446 * figureForm.C: adjust
14447 * importer.C: adjust
14449 * lyx_gui_misc.C: adjust
14450 * lyxfunc.C: adjust
14453 + more files in subdirs
14455 * lyxparagraph.h (size): move up int file
14458 * adjust all uses of Assert to lyx::Assert.
14460 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14461 lyxfunctional in namespace lyx
14462 * layout.C (hasLayout): ditto
14465 (delete_layout): ditto
14466 (NumberOfClass): ditto
14467 * converter.C (GetFormat): ditto
14472 * bufferlist.C (getFileNames): ditto
14473 (emergencyWriteAll): ditto
14476 * MenuBackend.C (hasSubmenu): ditto
14479 * BufferView_pimpl.C (getInsetByCode): ditto
14481 2001-04-18 Juergen Vigna <jug@sad.it>
14483 * vspace.C (asLatexString): fixed the 100% problem.
14485 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14487 * lyxfunc.C (Dispatch):
14489 * minibuffer.h: add a few std:: qualifiers
14491 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14493 * minibuffer.[Ch]: reimplement so that commands is initiated and
14494 run from lyxfunc, simplified som handling, and made the completion
14495 and history code for complete. wip.
14497 * lyxfunc.C (processKeySym): call message
14498 (miniDispatch): new temporary method
14499 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14500 (LFUN_MESSAGE): implement
14501 (LFUN_MESSAGE_PUSH): implement
14502 (LFUN_MESSAGE_POP): implement
14503 (initMiniBuffer): the initial/defualt minibuffer message.
14505 * lyxfont.[Ch]: inline some more getters
14507 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14509 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14511 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14512 (AutoSave): use LFUN_MESSAGE
14513 (Reconfigure): ditto
14515 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14517 * figureForm.C: use LFUN_MESSAGE
14519 * converter.C (runLaTeX): use LFUN_MESSAGE
14521 * bufferview_funcs.C: use LFUN_MESSAGE
14523 (changeDepth): ditto
14525 * bufferparams.h: use boost::
14527 * bufferlist.h: inherit privately from noncopyable
14529 * bufferlist.C (loadLyXFile): remove some commented code.
14531 * buffer.C (runChktex): use LFUN_MESSAGE
14533 * ShareContainer.h: inherit privately from noncopyable
14535 * ParagraphParameters.[hC] (depth): inline it.
14537 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14539 (message): new method
14540 (messagePush): ditto
14541 (messagePop): ditto
14542 (show): init minibuffer
14543 (showState): direct call
14545 * LaTeX.[Ch]: inherit privately from noncopyable
14546 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14547 instead of WriteStatus.
14549 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14551 * BufferView_pimpl.C (buffer): don't init minibuffer
14552 (workAreaButtonPress): use LFUN_MESSAGE
14553 (workAreaButtonRelease): ditto
14554 (savePosition): ditto
14555 (restorePosition): ditto
14556 (MenuInsertLyXFile): ditto
14557 (workAreaExpose): don't init minibuffer
14558 (update): remove commented code, simplify
14560 * BufferView2.C (openStuff): use LFUN_MESSAGE
14561 (toggleFloat): ditto
14564 (copyEnvironment): ditto
14565 (pasteEnvironment): ditto
14570 (updateInset): remove some commented code
14572 * lastfiles.h: inherit privately from noncopyable
14575 * lyx_main.h: ditto
14577 * lyxlex_pimpl.h: ditto
14579 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14580 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14581 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14583 * LyXAction.h: inherit privately from noncopyable, add methods
14584 func_begin, func_end, returning iterators to the func map.
14586 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14587 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14588 (func_begin): new method
14589 (func_end): new method
14591 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14593 (copySelection): ditto
14594 (pasteSelection): ditto
14596 * BufferView.C: whitespace change
14597 * BufferView.h: inherit privately from noncopyable
14599 2001-04-16 Allan Rae <rae@lyx.org>
14601 * tabular-old.C (l_getline):
14602 * spellchecker.C (sc_check_word):
14603 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14604 an unrecognised preprocessor directive. So ensure they're wrapped.
14606 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14608 * src/exporter.C (Export): Give an error message when path to file
14611 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14613 * LaTeX.C (deplog): Always check that foundfile exists.
14615 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14618 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14620 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14622 * tabular.[Ch] (getLabelList): implement new method
14624 * minibuffer.h: comment ouf setTiimer
14626 * minibuffer.C (ExecutingCB): constify res
14627 (peek_event): constify s
14628 (Set): constify ntext
14629 (Init): constify nicename
14631 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14633 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14634 (savePosition): use two params to Minibuffer::Set
14635 (restorePosition): ditto
14637 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14639 * lyx_main.C: include language.h
14641 * Makefile.am (lyx_main.o): add language.h
14643 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14649 * CutAndPaste.C: include gettext.h
14651 * lyxfont.h: remove old hack with ON and OFF.
14654 * lyxfont.h: do not include language.h...
14659 * bufferview_funcs.C:
14665 * paragraph.C: ... but do it here instead
14667 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14669 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14671 * tabular.C: small reformat
14673 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14676 (BreakParagraph): ditto
14677 (SetOnlyLayout): ditto
14680 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14683 * lastfiles.C: removed most using decl, add std:: where needed
14685 * buffer.C: ws changes
14687 * MenuBackend.C (class compare_format): put into anon namespace
14688 (expand): constify label, names, action, action2
14691 * text.C (SingleWidth): constify font
14692 (IsBoundary): constify rtl2
14693 (GetVisibleRow): constify ww
14695 * LaTeX.C (deplog): constify logfile
14697 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14699 (workAreaExpose): constify widthChange, heightChange
14701 * lyxrow.C (par): moved
14704 * lyxrow.h: as inlines here
14706 * lyxfont.h (shape): moved from lyxfont.C
14707 (emph): moved from lyxfont.C
14709 * lyxfont.C (LyXFont): use initialization list for all
14711 (shape): move to lyxfont.h as inline
14712 (emph): move to lyxfont.h as inline
14715 2001-04-04 Juergen Vigna <jug@sad.it>
14717 * vspace.C: had to include stdio.h for use of sscanf
14719 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14722 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14723 independent of xforms.
14725 2001-04-02 Juergen Vigna <jug@sad.it>
14727 * spellchecker.C: fixed namespace placing!
14729 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14731 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14732 the LyXParagraph * is 0.
14734 2001-03-29 Juergen Vigna <jug@sad.it>
14736 * vspace.C: added support for %, c%, p%, l%.
14737 (stringFromUnit): added helper function.
14738 (asLatexString): changed to give right results for the %-values.
14740 * buffer.C: convert the widthp in a width%.
14742 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14744 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14747 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14748 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14750 * lyx_cb.[Ch]: see above.
14752 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14756 * lyx.[Ch]: replaced by figure_form.[Ch].
14760 * lyxfunc.C: changed headers associated with above changes.
14762 2001-03-27 Juergen Vigna <jug@sad.it>
14764 * BufferView_pimpl.C: set the temporary cursor right!
14766 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14768 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14770 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14772 * LString.h: removed "using std::getline"!
14774 * BufferView_pimpl.C (Dispatch): changes due to changes in
14775 InsetInclude::Params.
14777 * buffer.C (tag_name): removed redundant break statements as they were
14778 producing lots of warnings with my compiler.
14780 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14782 * LString.h: add "using std::getline" when using the real <string>.
14784 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14786 * buffer.C: removed bitset usage.
14787 PAR_TAG moved to an anonymous name space.
14788 (tag_name): new funtion, also in the anonymous namespace.
14789 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14790 (makeDocBookFile): clean code. Completed transition from string arrays
14792 (SimpleDocBookOnePar): code clean.
14794 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14796 * tabular.C: add some comments.
14798 2001-03-22 Juergen Vigna <jug@sad.it>
14800 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14801 compatibility read a bit and fixed bug with minipage in different
14804 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14806 * buffer.C (pop_tag): removed.
14807 (push_tag): removed.
14808 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14809 array replaced with vector. Added support for CDATA sections.
14810 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14812 (makeDocBookFile): XML conformant declaration of CDATA section,
14813 fixed bug related to <emphasis> in the first paragraph char.
14814 (sgmlOpenTag): exclude empty tags.
14815 (sgmlCloseTag): ditto.
14817 * buffer.h (pop_tag): removed.
14818 (push_tag): removed.
14820 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14822 * language.h (Languages): added size_type and size().
14824 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14826 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14827 response on compability reading of minipages. One probliem is that
14828 the old usage of minipages was «flertydig»
14830 * several files here and in subdirs: don't use static at file
14831 scope use anon namespaces instead.
14833 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14835 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14836 LaTeX output. This is necessary for Literate document
14839 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14841 * buffer.C: insert hfill when needed.
14843 * tabular.C (l_getline): use string::erase, small whitespace change.
14845 * BufferView_pimpl.C: try the anon namespace.
14846 * WorkArea.C: ditto
14848 2001-03-16 Juergen Vigna <jug@sad.it>
14850 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14851 otherwise it won't open options-dialogs.
14853 * buffer.C: honor pextraWidth(p) on converting minipages.
14855 * tabular.C (l_getline): changed the functions to strip trailing \r.
14857 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14859 * BufferView_pimpl.C:
14860 * minibuffer..C: added "using SigC::slot" declaration.
14862 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14864 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14870 * paragraph.C: ditto
14872 * lyxtext.h: NO_PEXTRA
14874 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14876 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14877 * ParameterStruct.h: ditto
14878 * ParagraphParameters.h: ditto
14879 * lyxparagraph.h: ditto
14881 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14883 * buffer.C: add compability for minipage alignment.
14884 (latexParagraphs): remove unwanted pextra check.
14886 * several files: remove CXX_WORKING_NAMESPACES
14888 * buffer.C (pop_tag): tie is in namespace boost
14890 * BufferView.h: noncopyable is in namespace boost
14892 * lyx_main.h: ditto
14895 * lastfiles.h: ditto
14896 * bufferlist.h: ditto
14897 * ShareContainer.h: ditto
14899 * LyXAction.h: ditto
14902 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14904 * Merging changes from BRANCH_MVC back into HEAD.
14906 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14908 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14910 * BufferView_pimpl.C: change from intl.C
14914 * Makefile.am: move combox.*
14920 * intl.C: remove dialog (covered by prefs)
14922 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14924 * lyxfunc.C (Dispatch): removed redundant break statement.
14926 2001-03-14 Juergen Vigna <jug@sad.it>
14928 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14930 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14932 * buffer.C: add hack to fix compability reading of minipages.
14934 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14936 * buffer.C (getLists): Cleanup.
14938 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14940 * lyxfont.C (update): don't honor toggleall on font size.
14942 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14946 * Makefile.am: moved to frontends/xforms/
14950 * BufferView_pimpl.C: changes for moved mathpanel
14952 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14954 * gettext.h: fix gettext_init() in --disable-nls
14956 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14958 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14960 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14963 * lyx.h: strip external form
14965 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14967 * BufferView_pimpl.C: add comment, destroySplash()
14969 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14971 * BufferView_pimpl.C:
14975 * lyxfunc.C: use re-worked insetinclude
14977 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14979 * buffer.C: add using std::stringstream.
14981 * lyx_cb.C: readd using std::ios.
14983 * buffer.C: add using std::map.
14985 * BufferView_pimpl.C: add using std::vector.
14987 * ShareContainer.h: add std:: to swap.
14989 * buffer.h: add some typedefs
14990 * buffer.C (getLists): use them
14991 (getLists): renamed from getTocList.
14992 add a counter for the different float types and use it in the
14994 (getLists): use the same counter for the NEW_INSETS and the "non"
14997 * lyx_cb.h: remove unused items, includes, using etc.
14999 * ShareContainer.h: remove some commented code, add more comments
15000 and "documentation".
15002 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15004 * buffer.C (getTocList): make the list also when NEW_INSETS is
15007 * buffer.h: remove TocType
15009 * buffer.C (getTocList): change to return a map<string,
15010 vector<TocItem> >, implement for dynamic number of list.
15012 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15013 * text2.C (PasteSelection): adjust
15014 * CutAndPaste.C (pasteSelection): adjust
15016 * FloatList.C (FloatList): update from the new_insets branch.
15017 * Floating.[Ch]: ditto
15018 * LaTeXFeatures.C: ditto
15020 * lyxlex_pimpl.C: ditto
15022 * paragraph.C (Last): remove when NEW_INSETS is defined.
15024 * other file: changes because of the above.
15026 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15028 * lyxparagraph.h: rename next to next_, previous to previous_,
15029 make them private for NEW_INSETS. Rename Next() to next(),
15030 Previous() to previous().
15032 * other files: changes because of the above.
15034 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15037 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15040 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15042 * main.C (main): pass lyx_localedir to gettext_init().
15044 * gettext.h: remove locale_init and gettext_init macros
15046 * gettext.C (locale_init): new function
15047 (gettext_init): new function
15049 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15052 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15054 * Moved credits to frontends:
15055 * credits.[Ch]: removed
15056 * credits_form.[Ch]: removed
15057 * lyx_gui_misc.C: remove credits stuff
15060 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15062 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15064 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15065 unneeded destructor.
15067 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15068 a standalone pointer again.
15070 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15072 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15078 * ToolbarDefaults.C:
15087 * BufferView_pimpl.C: use new file dialog in GUII
15090 * lyx_cb.C: remove LayoutsCB to Toolbar
15092 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15094 * ShareContainer.h (get): add std:: qualifier
15096 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15098 * ShareContainer.h: define a proper ShareContainer::value_type
15099 type (and use typename to please compaq cxx)
15101 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15103 * lyxparagraph.h: move serveral local vars to
15104 ParameterStruct/ParagraphParameters., use ShareContainer in
15105 FontTable., make vars in FontTable private and add getter and
15108 * paragraph.C: changes because of the above.
15110 * lyxfont.h: remove copy constructor and copy assignment. (the
15111 default ones is ok), move number inside FontBits. move inlines to
15114 * lyxfont.C: add number to initializaton of statics, move several
15115 inlines here. constify several local vars. some whitespace
15116 cleanup. Dont hide outerscope variables.
15118 * Spacing.h: add two new constructors to match the set methods.
15120 * ShareContainer.h: new file, will perhaps be moved to support
15122 * ParameterStruct.h: new file
15124 * ParagraphParameters.h: new file
15126 * ParagraphParameters.C: new file
15128 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15129 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15131 * BufferView_pimpl.C: ParagraphParameter changes.
15132 * buffer.C: Likewise.
15133 * bufferview_funcs.C: Likewise.
15134 * text.C: Likewise.
15135 * text2.C: Likewise.
15137 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15139 * lyxfind.C (LyXReplace): do not redefine default argument in
15141 (IsStringInText): ditto
15142 (SearchForward): ditto
15143 (SearchBackward): ditto
15145 2001-03-06 Juergen Vigna <jug@sad.it>
15147 * lyxfind.C (IsStringInText): put parentes around expressions.
15149 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15151 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15153 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15155 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15157 * stl_string_fwd.h: add comment
15159 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15162 * tabular.C: remove unused DocBook methods
15168 killed DO_USE_DEFAULT_LANGUAGE
15170 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15172 * lyx_gui.C: do not include language.h.
15174 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15175 arguments in function implementation.
15177 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15179 * BufferView_pimpl.C: add <ctime>
15181 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15183 * BufferView_pimpl.C: add using std::find_if
15185 2001-02-27 José Matos <jamatos@fep.up.pt>
15187 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15190 2001-02-11 José Matos <jamatos@fep.up.pt>
15192 * buffer.C (makeDocBookFile): command styles now have a parameter as
15193 "title" by default.
15195 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15197 * layout_forms.[Ch]: removed
15198 * lyx_cb.[Ch]: out character
15199 * lyx_gui.C: out character
15200 * lyx_gui_misc.C: out character
15201 * bufferview_funcs.C: : out character,
15202 added toggleall as parameter in ToggleAndShow
15204 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15206 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15208 * text2.C (SetCurrentFont): Disable number property at boundary.
15210 2001-02-26 Juergen Vigna <jug@sad.it>
15212 * lyxfunc.C (getStatus): added a string argument override function so
15213 that this is correctly called from LyXFunc::Dispatch if it contains a
15214 do_not_use_argument which is used!
15215 (Dispatch): added check for "custom" export and call appropriate func.
15217 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15219 * lyxrc.C: Add language_command_local, language_use_babel and
15220 language_global_options.
15222 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15224 * buffer.C (makeLaTeXFile): Use language_use_babel and
15225 language_global_options.
15227 2001-02-23 Juergen Vigna <jug@sad.it>
15229 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15230 which works with LyXText and putted it inside BufferView. Here now we
15231 only call for that part the BufferView::Dispatch() function.
15233 * BufferView.C (Dispatch): added.
15235 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15236 functions which needs to use a LyXText over from LyXFunc.
15237 (MenuInsertLyXFile): added
15238 (getInsetByCode): added
15239 (moveCursorUpdate): added
15240 (static TEXT): added
15242 2001-02-22 Juergen Vigna <jug@sad.it>
15244 * BufferView_pimpl.C (update): call a status update to see if LyXText
15247 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15249 * vc-backend.C (revert): implement for CVS
15250 (getLog): implement for CVS
15252 2001-02-20 Juergen Vigna <jug@sad.it>
15254 * text2.C (ClearSelection): added BufferView param for inset_owner call
15256 * lyxfunc.C (TEXT): added this function and use it instead of
15257 directly owner->view()-text of getLyXText().
15259 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15261 * src/layout_forms.C: out preamble
15262 * src/layout_forms.h: out preamble
15263 * src/lyx_cb.C: out preamble
15264 * src/lyx_cb.h: out preamble
15265 * src/lyx_gui.C: out preamble
15266 * src/lyx_gui_misc.C: out preamble
15267 * src/lyxfunc.C: connect with guii preamble
15269 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15271 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15273 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15275 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15276 whether to run bibtex.
15278 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15280 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15282 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15284 * Makefile.am (lyx_SOURCES): removed bibforms.h
15286 * vspace.h: doxygen
15288 * text.C (GetVisibleRow): make several local vars const
15290 * tabular.C: small cleanup.
15292 * lyxserver.C (callback): use compare instead of strncmp
15294 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15295 inlines to after class or to paragraph.C
15297 * lyxfont.h: remove friend operator!=
15299 * converter.h: move friend bool operator< to non friend and after
15302 * combox.h: small cleanup
15304 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15305 to inlines after class def.
15307 * buffer.C (pop_tag): use string operations instead of strcmp
15309 * bmtable.c: doxygen, small cleanup
15311 * LaTeX.h: remove friend operator==
15313 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15325 * BufferView_pimpl.C:
15326 * BufferView.[Ch]: remove cruft
15328 2001-02-14 Juergen Vigna <jug@sad.it>
15330 * lyxfunc.C: removed #if 0 unused code
15332 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15334 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15336 * text2.C (SetSelection): added a BufferView * parameter
15338 2001-02-13 Juergen Vigna <jug@sad.it>
15340 * lyxfunc.C (Dispatch): fixed protected blank problem.
15341 * BufferView2.C (protectedBlank): added LyxText * parameter.
15343 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15344 (AppendColumn): same as above for column_info.
15346 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15347 (moveCursorUpdate): use a LyXText param for support of InsetText.
15349 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15350 (tripleClick): ditto
15352 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15354 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15356 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15358 * text2.C (SetSelection): set correct update status if inset_owner
15359 (ToggleFree): ditto
15361 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15363 * tabular.C: remove some commented code.
15365 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15367 * BufferView_pimpl.C: call hideSplash()
15369 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15372 * bibforms.h: remove
15375 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15376 add LFUN_CHILD_CREATE
15378 * counters.h: fix tiny typo
15383 * lyx.C: move splash to frontends/xforms/
15385 * lyx_gui_misc.C: move Include and Bibform to frontends
15387 * lyxvc.h: clarify comment
15389 * vspace.C: tiny housekeeping
15391 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15393 * text.C (PrepareToPrint): RTL Fix.
15395 * paragraph.C (GetUChar): New method.
15396 (String): Use GetUChar.
15398 * buffer.C (asciiParagraph): Use GetUChar.
15400 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15402 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15404 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15407 * buffer.C: rename to getLogName(), handle
15408 build log / latex log nicely
15410 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15413 * MenuBackend.h: remove support for reference menuitem type.
15415 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15417 * BufferView_pimpl.C: housekeeping
15418 * BufferView_pimpl.h:
15423 * minibuffer.h: move Timeout GUI-I
15425 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15427 * lyxrc.C (read): Update converters data-structures.
15429 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15431 * LaTeX.h (operator!=): add operator != for Aux_Info
15433 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15435 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15437 * LaTeXLog.C: deleted, useful code moved to Buffer
15440 * buffer.C: new function getLatexLogName()
15446 * lyxfunc.C: use frontends for LaTeX and VC logs
15448 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15450 * LaTeX.h: yet another std:: that Allan forgot.
15452 * Variables.C (set): renamed from isset(), because this clashes
15453 with some HP-UX macros (grr).
15455 2001-02-06 Allan Rae <rae@lyx.org>
15457 * LaTeX.h: Another bug fix. Missing std:: this time.
15459 2001-02-04 Allan Rae <rae@lyx.org>
15461 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15462 floats problem. I've left it commented out because it's not quite
15463 correct. It should also test that the current object is a table or
15464 figure inset. But I haven't gotten around to figuring out how to do
15465 that. I *think* it'll be something like: "table" == inset.type()
15467 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15470 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15472 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15473 all the citation/databases/styles in the auxilary file.
15474 (run): Rerun latex if there was a babel language error.
15476 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15478 * text.C (Backspace): Preserve the font when changing newline char
15480 (BreakParagraph): If the cursor is before a space, delete the space.
15482 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15484 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15486 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15487 new argument (code).
15488 (ChangeCitationsIfUnique): New method.
15490 * paragraph.C (GetPositionOfInset): Handle bibkey.
15492 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15494 * BufferView_pimpl.h: change type of Position::par_pos to
15495 LyXParagraph::size_type.
15497 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15499 * BufferView_pimpl.C (savePosition, restorePosition): Write
15500 messages to minibuffer.
15502 2001-01-28 José Matos <jamatos@fep.up.pt>
15504 * buffer.C (makeDocBookFile): adds support for document language.
15505 A silly restriction on the name of LatexCommand types where removed.
15506 Added support for CDATA sections, allows to chars unescaped, used
15507 among others in code, to avoid escape < and >.
15509 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15511 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15512 saved positions instrad of a stack. Furthermore, a position is
15513 stored using paragraph id/paragraph position.
15515 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15516 Remove LFUN_REF_BACK.
15518 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15520 * converter.C (dvipdfm_options): New method.
15522 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15524 * vspace.C (isValidLength): Fix for empty input string.
15526 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15528 * LyXAction.C (init): change description of LFUN_FIGURE to
15531 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15533 * LaTeX.C: add using directive
15535 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15537 * MenuBackend.C (expand): Fix the sorting of the formats.
15539 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15541 * lyx_main.C: tiny error message fix
15543 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15545 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15546 calling fl_initialize(). This fixes the problem with ',' as
15547 decimal separator in text files.
15549 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15551 * trans.C (process): Fix the keymap bug.
15553 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15555 * LaTeX.C (scanAuxFiles): New method. Provides support for
15556 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15557 (scanLogFile) Scan for "run BibTeX" messages.
15559 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15560 OT1 font encoding. Also, load the aecompl package if the ae
15563 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15565 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15567 * texrow.C (increasePos): turn two error messages into debug
15570 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15572 * LaTeX.C (scanAux): Handle the \@input macro.
15573 (runBibTeX): Use scanAux().
15575 * language.C (latex_options_): New field.
15577 * LaTeXFeatures.C (getMacros): Add language macros.
15579 * buffer.C (makeLaTeXFile): Small fix.
15581 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15583 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15585 * text2.C: add a using directive.
15587 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15592 * lyxfunc.C: kill LyXBell.
15594 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15596 * text.C (IsBoundary): Remove the error message
15598 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15600 * lyxrc.C (setDefaults): Correct initialization value for
15603 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15605 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15608 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15609 and GotoNextNote().
15611 * src/LyXAction.C: Added reference-next.
15613 * text.C (InsertChar): Use contains instead of strchr.
15615 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15617 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15619 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15620 alignment commands (when needed).
15622 * text.C (InsertChar): Add ':' to number separator chars.