1 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3 * tex-strings.C: add "none" to string_paperpackages[], fixes
4 off-by-one-error in the paperpackage selection.
7 * tex-strings.[Ch]: char const * string[n]
8 -> char const * const string[]
10 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
13 command, return early.
15 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
17 * debug.h: add DEBUG to enum and fix size of ANY.
19 * debug.C: add support for Debug::DEBUG
20 (showTags): cast errorTags.level to unsigned int
22 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
23 (redoCurrentBuffer): ditto
24 (updateScrollbar): ditto
25 * cursor.C (dispatch): ditto
26 * text2.C (setLayout): ditto
28 (updateCounters): ditto
30 (deleteEmptyParagraphMechanism): ditto
32 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
34 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
35 annotations to cleanup the Makefile slightly.
37 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
39 * lyxrc.C: do not set user_email to a default value but use empty
40 instead. The entry used to be translated, which does not work
41 since at the point where lyxrc is constructed there is no
42 translation service available
44 * messages.C (getLocaleDir): remove and use directly
45 lyx_localedir() instead
47 2004-06-02 Angus Leeming <leeming@lyx.org>
49 Fix crash caused by dereferencing null pointer 'exportdata' in
50 OutputParams by creating a new ExportData variable on the heap,
51 storing it in a boost::shared_ptr.
52 The crash was triggered when generating an Instant Preview
55 * Makefile.am: add outputparams.C
57 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
58 (c-tor): allocate memory to it.
60 * exporter.C (c-tor): associated changes.
62 2004-06-01 Angus Leeming <leeming@lyx.org>
64 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
65 contains data before calling isInset(0). (Bug 1513.)
67 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
69 * exporter.C (checkOverwrite): new method
70 * exporter.C (copyFile): new method
71 * exporter.C (Export): copy referenced files to the document dir
72 * exporter.[Ch]: new class ExportedFile
73 * exporter.[Ch]: new class ExportData. Contains currently the
74 names of referenced external files
75 * outputparams.h: add exportdata member.
77 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
79 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
82 2004-05-19 Angus Leeming <leeming@lyx.org>
87 * lyxfunc.C: small changes due to the introduction of namespace
88 lyx::frontend and the moving of namespace biblio to lyx::biblio.
90 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
92 * text3.C (dispatch): supress update when only moving the cursor
93 * cursor.C (selHandle): remove commented code
95 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
97 * paragraph.C (startTeXParParams): correct column count
98 * CutAndPaste.C (pasteSelection): remove const_cast
99 * output_docbook.C (docbookParagraphs): remove const_cast
100 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
101 const_cast and return ParagraphList::const_iterator
102 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
103 * output_plaintext.C (writeFileAscii): remove const_cast
104 * paragraph.[Ch] (simpleTeXOnePar): make const
105 * paragraph_funcs.C (outerPar): use const iterators
106 * paragraph_pimpl.C (validate): use const iterators
107 * text.C (setHeightOfRow): use const iterators
109 2004-05-17 Angus Leeming <leeming@lyx.org>
112 * LyXAction.C (init): new LFUN_INSET_REFRESH.
114 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
115 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
116 if the citation engine has changed.
118 2004-05-14 José Matos <jamatos@lyx.org>
120 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
121 if the textclass does not provide it. Have it different for sgml and
123 support the language of document.
124 * output_docbook.C (docbookParagraphs):
125 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
126 first anchor as the id of the paragraph, remove special case code.
127 * sgml.C (escapeChar): escape only < & >.
129 2004-05-14 Angus Leeming <leeming@lyx.org>
131 * bufferparams.h: move biblio::CiteEngine enum here to minimize
132 dependencies on src/frontends/controllers/biblio.h. Define a
133 CiteEngine_enum wrapper class to enable the enum to be forward
136 2004-05-12 Angus Leeming <leeming@lyx.org>
138 * buffer.C: up LYX_FORMAT to 234.
139 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
140 use_numerical_citations with a single biblio::CiteEngine cite_engine
142 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
144 2004-05-13 José Matos <jamatos@lyx.org>
147 * converter.C (Converter, readFlags): add xml member.
148 * outputparams.h: add XML flavor.
149 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
151 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
153 * lyxfunc.C (dispatch):
154 (getStatus): fix handling of LFUN_SEQUENCE
156 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
158 * debug.C (showLevel): do not forget the end-of-line marker
160 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
162 * kbmap.C (read): do not stop parsing a bind file when an error
165 2004-04-29 Angus Leeming <leeming@lyx.org>
170 * text2.C: wrap a bunch of #warning statements
171 inside #ifdef WITH_WARNINGS blocks.
173 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
175 * buffer.C: increment format to 233.
177 2004-04-28 Angus Leeming <leeming@lyx.org>
179 * BufferView_pimpl.C:
182 s/updateToolbar()/updateToolbars()/
183 s/Toolbar.h/Toolbars.h/
185 2004-04-28 Angus Leeming <leeming@lyx.org>
187 * BufferView.[Ch] (c-tor):
188 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
189 No longer passes these data to the WorkArea generator.
191 2004-04-28 Angus Leeming <leeming@lyx.org>
193 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
195 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
197 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
199 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
201 * output_latex.C (TeXEnvironment): make sure that there is a line
202 break before \end{foo} for the last paragraph of a document
203 (TeXOnePar): if the paragraph is at the end of the document (or
204 inset) and the language has to be reset, then make sure that the
205 line break is _before_ the language command, not after (fixes bug
206 1225); also make sure that the language reset command is the first
207 thing after the paragraph (to ensure proper nesting of
208 environments and thus fix bug 1404)
210 2004-04-21 John Levon <levon@movementarian.org>
213 * ToolbarBackend.C: make "name" be a programmatic name
214 and a gui_name field.
216 * lyxfunc.C: display the minibuffer on M-x
218 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
220 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
223 2004-04-19 Angus Leeming <leeming@lyx.org>
225 * BufferView_pimpl.C (setBuffer): changed preview interface.
227 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
230 2004-04-19 John Levon <levon@movementarian.org>
232 * BufferView_pimpl.C:
233 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
235 2004-04-05 Angus Leeming <leeming@lyx.org>
237 * text.C (redoParagraphs): add call to updateCounters(), thereby
238 fixing the missing "Figure #:" label from the caption of a
241 2004-04-13 Angus Leeming <leeming@lyx.org>
243 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
244 cursor is clicked out of an inset.
246 2004-04-13 Angus Leeming <leeming@lyx.org>
248 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
249 than an InsetOld one.
251 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
253 * format.[Ch]: add editor to Format
254 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
255 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
257 2004-04-08 André Pönitz <poenitz@gmx.net>
259 * metricsinfo.h: remove PainterInfo::width member
261 2004-04-08 Angus Leeming <leeming@lyx.org>
263 * lyx_sty.C (boldsymbol_def): modify so that it outputs
264 "\providecommand" rather than "\newcommand", thereby preventing
265 clashes with packages that define "\boldsymbol" themselves.
268 2004-04-08 Angus Leeming <leeming@lyx.org>
270 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
271 thereby squashing an unnecessary warning.
273 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
275 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
278 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
280 * BufferView.C (setCursor): call redoParagraph (some insets could
282 (putSelectionAt): remove the 'double update' trick
284 * BufferView_pimpl.C (fitCursor): call refreshPar
285 (workAreaDispatch): remove an uneeded update call
286 (dispatch): remove some manual update calls
288 * cursor.[Ch]: remove cached_y_, updatePos
289 (selHandle): set noUpdate when appropriate
291 * lyxfunc.C (dispatch): track if we need an update
293 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
295 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
296 (paintSelection): cheap optimization, do not call cursorX when not
298 (paintPars): change signature
301 (paintTextInset): adjust
305 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
307 * lengthcommon.C: compilation fix: remove explicit array size from
308 unit_name[] and friends
310 2004-04-05 Angus Leeming <leeming@lyx.org>
312 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
314 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
315 present only for the preferences dialog.
316 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
318 2004-04-05 Angus Leeming <leeming@lyx.org>
320 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
321 to enable the frontends to export changes to lyxrc correctly.
323 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
325 2004-04-07 André Pönitz <poenitz@gmx.net>
327 * cursor.[Ch] (selClear, adjust): remove math
329 * cursor_slice.C: more agressive assert
332 * BufferView_pimpl.C: rework mouse event dispatch
339 2004-04-05 André Pönitz <poenitz@gmx.net>
341 * cursor.[Ch] (valign, halign...): remove unneeded functions
343 2004-04-05 Angus Leeming <leeming@lyx.org>
345 * lyxlength.[Ch] (unit_name et al.): const-correct.
347 2004-04-05 Angus Leeming <leeming@lyx.org>
349 * BufferView_pimpl.C:
358 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
360 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
362 * text3.C (getStatus): add LFUN_BEGINNINGBUF
364 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
366 * lyxfind.C: add a couple of inTexted() tests + other small fixes
367 * BufferView_pimpl.[Ch] (getStatus)
368 * BufferView.[Ch] (getStatus): add
369 * lyxfunc.C (getStatus): move lfuns handled in
370 BufferView::dispatch to te function above
371 * Cursor.C (setSelection): set selection() = true
373 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
375 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
377 2004-03-31 Angus Leeming <leeming@lyx.org>
379 * lyxfunc.C (dispatch): Fall through to the generic
380 Dialogs::show("preamble").
382 2004-03-31 Angus Leeming <leeming@lyx.org>
384 * lyxfunc.C (dispatch): Fall through to the generic
385 Dialogs::show("spellchecker").
387 2004-03-31 Angus Leeming <leeming@lyx.org>
389 * lyxfunc.C (getStatus, dispatch): changed invocation of the
392 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
397 * insetiterator.[Ch]:
402 * undo.[Ch]: s/DocumentIterator/DocIterator/g
404 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
406 * BufferView.C (setCursor, putSelectionAt): call edit to open the
407 insets where we are putting the cursor.
409 2004-03-31 Angus Leeming <leeming@lyx.org>
412 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
414 * lyxrc.[Ch] (read, write): overloaded member functions taking
415 a std::[io]stream arguments.
417 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
419 2004-03-31 Angus Leeming <leeming@lyx.org>
421 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
422 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
424 * lyxtextclass.C (load): if the text class couldn't be loaded, then
425 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
427 2004-03-31 Angus Leeming <leeming@lyx.org>
429 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
430 the LFUN_ALL_INSETS_TOGGLE code.
432 2004-03-30 Angus Leeming <leeming@lyx.org>
434 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
435 has died. Fall through to the generic Dialogs::show("document").
437 2004-03-30 Angus Leeming <leeming@lyx.org>
440 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
441 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
443 * lyxfunc.C (getStatus, dispatch): define the actions for these
444 lfuns. Little more than a cut and pste job from ControlDocument.C
446 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
448 2004-03-30 Angus Leeming <leeming@lyx.org>
451 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
452 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
454 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
455 open/closed state of ollapsable insets. Usage:
457 all-inset-toggle <state> <name>, where
458 <state> == "open" || "closed" || "toggle" and
459 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
461 * lyxtext.h, text2.C (toggleInset): removed.
463 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
464 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
465 now passes LFUN_INSET_TOGGLE to the found inset.
467 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
468 is now invoked as "all-insets-toggle toggle branch".
470 2004-03-30 Angus Leeming <leeming@lyx.org>
474 * pariterator.[Ch]: added/corrected header blurb.
476 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
478 * dociterator.[Ch]: add an inset_ member
479 (backwardPos): implemented
480 (backwardPos, forwardPos): use inset_ when the stack is empty.
481 (doc_iterator_begin, doc_iterator_end): implemented
482 * pariterator.[Ch]: adjust, add begin, end
483 * insetiterator.[Ch]: adjust, add begin, end
487 * BufferView_pimpl.C:
488 * CutAndPaste.C: adjust
490 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
492 * buffer.C: increment file format to 232.
493 * LaTeXFeatures.C: add bibtopic package.
494 * bufferparams.[Ch]: param \use_bibtopic.
496 * lyxrc.[Ch]: add lyxrc bibtex_command
497 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
499 * buffer.C: increment file format to 231.
501 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
503 * dociterator.C: implement forwardPar
504 * iterators.[Ch]: remove, replaced by
505 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
507 * BufferView_pimpl.C:
510 * bufferview_funcs.C:
516 * Makefile.am: adjust
518 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
520 * CutAndPaste.C (pasteSelection): fix 2 crashes
521 (eraseSelection): fix a crash
522 * paragraph_funcs.C: remove a warning
524 2004-03-28 Angus Leeming <leeming@lyx.org>
527 * LyXAction.C (init): new LFUN_PRINT.
529 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
531 2004-03-27 Angus Leeming <leeming@lyx.org>
534 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
536 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
538 2004-03-27 Angus Leeming <leeming@lyx.org>
540 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
541 insetlist always contains non-null pointers to insets.
543 2004-03-26 Angus Leeming <leeming@lyx.org>
545 * src/BufferView_pimpl.C:
549 * src/output_plaintext.C:
550 * src/outputparams.h:
551 * src/paragraph_funcs.C:
555 * src/frontends/controllers/ControlErrorList.C:
556 * src/frontends/gtk/FileDialogPrivate.C:
557 * src/frontends/gtk/GPainter.C:
558 * src/frontends/gtk/GToolbar.C:
559 * src/frontends/qt2/QRef.C:
560 * src/mathed/math_scriptinset.C: squash compiler warnings.
562 2004-03-26 Angus Leeming <leeming@lyx.org>
564 * ispell.C (LaunchIspell::start):
565 * lyx_cb.C (AutoSaveBuffer::start):
566 invoke run(DontWait) rather than runNonBlocking().
568 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
570 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
572 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
574 * kbsequence.C (print): adjust
576 * kbmap.C (printKeySym): rename and change signature
577 (printKey): use LyXKeySym::print()
579 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
581 * undo.C: add using std::advance to compile for stlport
583 2004-03-24 Angus Leeming <leeming@lyx.org>
585 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
586 it leads to a crash when no buffer is present.
588 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
589 Martin Vermeer <martin.vermeer@hut.fi>
591 * lyxfunc.C (dispatch):
592 * bufferparams.C (readToken): use the new LColor::setColor
594 * LColor.[Ch] (setColor): new version that takes two strings as
595 argument and creates a new color entry if necessary
597 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
599 * buffer.C (makeLaTeXFile): if the main latex file that is
600 processed is usually a subdocument of some master, then pretend
601 for a while that it is actually the master
603 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
605 * buffer.C (getLabelList):
606 (getBibkeyList): use getMasterBuffer()
607 (getMasterBuffer): new method. Returns the main document in the
608 case where one is using included documents.
610 2004-03-25 André Pönitz <poenitz@gmx.net>
614 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
616 * ParagraphList_fwd.h: change ParagraphList to a std::vector
618 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
619 text*.C over here. Rename namespace CutAndPaste to lyx::cap
621 * ParameterStruct.h: merge with ParagraphParameters
623 * lyxtext.h: remove LyXText::parOffset() and getPar()
625 * text3.C: Remove all 'manual' update calls. We do now one per user
626 interaction which is completely sufficient.
630 * BufferView_pimpl.C:
633 * ParagraphParameters.[Ch]:
645 * output_docbook.[Ch]:
647 * output_linuxdoc.[Ch]:
648 * output_plaintext.[Ch]:
650 * paragraph_funcs.[Ch]:
651 * paragraph_pimpl.[Ch]:
659 * frontends/controllers/ControlDocument.C:
660 * frontends/controllers/ControlErrorList.C:
661 * frontends/controllers/ControlSpellchecker.C:
664 * insets/insetbase.h:
665 * insets/insetbibitem.C:
667 * insets/insetbranch.C:
668 * insets/insetcaption.C:
669 * insets/insetcharstyle.C:
670 * insets/insetcharstyle.h:
671 * insets/insetcollapsable.C:
672 * insets/insetcollapsable.h:
674 * insets/insetfloat.C:
675 * insets/insetfoot.C:
676 * insets/insetmarginal.C:
677 * insets/insetnote.C:
678 * insets/insetoptarg.C:
679 * insets/insettabular.C:
680 * insets/insettext.C:
681 * insets/insettext.h:
682 * insets/insetwrap.C:
683 * mathed/math_mboxinset.C:
684 * mathed/math_nestinset.C:
685 * mathed/math_scriptinset.C:
686 * mathed/math_scriptinset.h:
689 2004-03-24 Angus Leeming <leeming@lyx.org>
691 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
692 deal with any child processes that have finished but are waiting to
693 communicate this fact to the rest of LyX.
695 2004-03-24 Angus Leeming <leeming@lyx.org>
697 64-bit compile fixes.
699 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
700 (c-tor): pass lyx::pos_types rather than ints.
702 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
705 * text.C (Delete): compile fix.
706 (getPar): ensure that function declaration is the same as that in
709 2004-03-23 Angus Leeming <leeming@lyx.org>
711 * ispell.C (LaunchIspell):
712 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
713 a boost::shred_ptr rather than a std::auto_ptr.
715 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
717 * lyxfunc.C (getStatus): handle read-only buffers correctly;
718 handle LFUN_FILE_INSERT_*
720 * lyxrc.C (setDefaults, getDescription, output, read):
721 * lyxrc.h: remove ps_command
723 2004-03-22 Angus Leeming <leeming@lyx.org>
725 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
726 Ensure that error_handler is processed once only and that all data
727 is saved before attempting to output any warning messages.
729 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
731 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
733 * tabular.C (TeXRow): crash fix (from Kayvan and André)
735 2004-03-19 André Pönitz <poenitz@gmx.net>
737 * cursor.[Ch] (reset): take main text inset as argument
740 * BufferView_pimpl.C: adjust
742 * paragraph.[Ch]: fix completely broken operator=()
744 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
746 * LColor.C (getFromLyXName): make sure that the color name is used
749 2004-03-17 Angus Leeming <leeming@lyx.org>
752 * LyXAction.C (init): remove LFUN_FORKS_KILL.
754 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
755 dialog and to kill a forked process.
757 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
759 * text2.C (setCursorFromCoordinates): fix font problem
761 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
763 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
764 bogus "rebuild cursor" code
766 2004-03-11 André Pönitz <poenitz@gmx.net>
768 * buffer.[Ch]: use InsetText instead of LyXText as container for
771 * dociterator.[Ch]: drop the BufferView * member which is not needed
772 anymore after the change to buffer.C
778 * BufferView_pimpl.[Ch]:
780 * cursor_slice.[Ch]: adjust
782 * text3.C: fix bug in mathDispatch
784 2004-03-08 André Pönitz <poenitz@gmx.net>
786 * undo.[Ch]: use 'StableDocumentIterator' as base for
789 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
792 * bufferparams.[Ch]: add jurabib support and param.
794 * LaTeX.C: add FIXME/comment.
796 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
798 * buffer.C: increment file format to 230.
800 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
802 * cursor.C (dispatch): avoid infinite loops
804 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
806 * rowpainter.C (paintSelection): fix x coordinates
808 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
810 * text.C (rowBreakPoint): fix breaking before displayed insets
812 2004-03-01 André Pönitz <poenitz@gmx.net>
814 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
816 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
820 * BufferView_pimpl.C:
828 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
834 * BufferView_pimpl.C: rename textwidth -> maxwidth,
835 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
837 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
839 * Bidi.[Ch] (computeTables): const correctness
840 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
841 fill_hfill, fill_label_hfill and x from Row
842 * lyxtext.h: prepareToPrint returns a RowMetrics
843 * rowPainter.C: adjust
844 * text.C (prepareToPrint): use width, not textWidth. adjust
845 (redoParagraphInternal, cursorX): adjust
846 * text2.C (getColumnNearX): adjust
847 (init): put a default value to the top LyXText::width
849 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
851 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
853 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
855 * lyxtext.h: add FontIterator class
857 * text.C (FontIterator, operator*, operator->, operator++): add
858 (rowBreakPoint, setRowWidth): adjust (fixing a
861 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
863 * BufferView_pimpl.C (workAreaDispatch): allow also
864 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
866 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
868 * text.C (rowBreakPoint): fix a bug showing with very large insets
870 2004-02-25 André Pönitz <poenitz@gmx.net>
873 * cursor.[Ch]: move some mathed specific code to mathed
875 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
877 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
878 use_tempdir in preferences
879 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
881 * lyx_main.C: ensure that tempdir is valid
882 * lyxlex.h: correct typo
883 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
884 * paragraph.[Ch] (isMultiLingual): make const
885 * cursor.[Ch] (openable): make const
887 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
889 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
891 2004-02-20 André Pönitz <poenitz@gmx.net>
893 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
895 * cursor.[Ch]: prepare for localized getStatus()
901 * text3.C: streamlines the LyXText cursor movement handlers a bit.
903 2004-02-20 André Pönitz <poenitz@gmx.net>
905 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
907 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
909 * text2.C (setCursorFromCoordinates): switch to absolute coords
912 * text3.C (dispatch): adjust
914 2004-02-16 André Pönitz <poenitz@gmx.net>
916 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
919 * cursor_slice.[Ch]: remove unneeded acessor function
921 * lyxtext.h: rename rtl() to isRTL()
929 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
931 * rowpainter.C (paintSelection): coord fix
933 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
935 * Spacing.C: compile fix
937 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
939 * cursor.C (dispatch): restore current_ before returning
941 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
943 * text2.C (cursorUp, cursorDown): fix coords
946 2004-02-12 André Pönitz <poenitz@gmx.net>
951 * text3.C: add LCursor & parameter to most cursor movement functions
952 remove usage of LyXText::cursorRow() and cursorPar()
954 * cursor.[Ch]: add textRow() needed members
957 * BufferView_pimpl.C:
960 * BufferView_pimpl.C: adjust
962 2004-02-11 André Pönitz <poenitz@gmx.net>
966 * BufferView_pimpl.C: shift undo/redo handling
968 * cursor.[Ch]: fix mathed crash
971 * lyxtext.h: move selectionAsText to LCursor
979 * rowpainter.C: fix excessive drawing
981 2004-02-06 André Pönitz <poenitz@gmx.net>
984 * BufferView_pimpl.[Ch]:
985 * text3.C: move some text specific LFUN handling
987 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
989 * text3.C (checkInsetHit): adjust coords
990 * text2.C (getColumnNearX): adjust coords
991 (edit): adjust coords
992 * text.C (getRowNearY): add two asserts
994 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
997 * format.C: add using std::distance to compile on gcc 2.95/stlport
999 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1001 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1003 2004-02-04 André Pönitz <poenitz@gmx.net>
1005 * BufferView.[Ch] (insertInset):
1006 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1011 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1013 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1014 on the default clause of the switch
1015 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1016 wasn't catched by LCursor::dispatch
1018 2004-02-03 André Pönitz <poenitz@gmx.net>
1021 * cursor.[Ch]: some additional asserts
1023 * undo.[Ch]: remove LyXText dependency in interface
1027 * lyxtext.h (firstPar, lastPar): remove dead functions
1032 * paragraph.[Ch]: adjust
1034 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1036 * lyxfind.C (find): fix argument order in call to ::find
1038 2004-02-02 André Pönitz <poenitz@gmx.net>
1040 * cursor.[Ch]: remove direct access to anchor
1042 * text.C: remove findText() hack
1044 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1046 * iterators.[Ch] (lockPath): remove in favour of...
1047 * BufferView.[Ch] (setCursor): this addition
1048 * BufferView.C (putSelectionAt): adjust
1049 * undo.C (performUndoOrRedo): adjust
1050 * lyxfunc.C (dispatch): adjust
1052 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1054 * iterators.C (lockPath): add a missing slice
1055 * undo.C (performUndoOrRedo): remove redundant positioning code
1057 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1059 * vc-backend.C (scanMaster): ";" -> ';'
1061 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1063 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1064 std::binary_function
1066 * lyxtextclass.C (compare_name): rename to...
1067 (LayoutNamesEqual): ...this
1069 * lyxlex_pimpl.C (compare_tags): inherit from
1070 std::binary_function, put back into anon namespace
1072 * lyxfind.C (MatchString): inherig from std::binary_function
1073 (findChange): use empty() istead of !size()
1075 * format.C (FormatNamesEqual): new functor
1082 * converter.C (compare_Converter): rename to...
1083 (ConverterEqual): ...this, and fixup a bit.
1084 (getConverter): use it, and make function const
1085 (getNumber): use it, and make function const
1089 * bufferlist.C: add using boost::bind
1091 * MenuBackend.C (MenuNamesEqual): new functor
1092 (hasMenu): use it, and make function const
1093 (hasSubmenu): use nested bind to get rid of compare_memfun.
1095 2004-01-30 André Pönitz <poenitz@gmx.net>
1097 * BufferView_pimpl.C:
1100 * cursor_slice.[Ch]:
1103 * paragraph_funcs.C:
1104 * paragraph_funcs.h:
1108 * text3.C: move some of the edit(x,y) handling to the insets
1109 some coordinate changes.
1111 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1113 * text.C: add using statements for std::advance and std::distance
1115 * paragraph.C: add using statement for std::distance
1117 * lyxfind.C: add using statement for std::advance
1119 * cursor.C (region): remove std:: from swap
1120 (openable): use nucleus in stead of operator->
1122 * BufferView.C: add using statements for std::distance and std::swap
1124 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1126 * iterators.C: Remove the pimple, move the needed structures to
1127 the header file. Create accessor for the positions stack.
1128 (asPosIterator): remove function
1130 * PosIterator.C (PosIterator): move constructors to top of file
1131 (PosIterator): reimplement the constructor taking a ParIterator in
1133 (setFrom): new function
1134 (operator!=): inline it
1136 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1138 * lyxfind.C (replaceAll): use std::advance
1140 * iterators.h: inherit from std::iterator.
1142 * PosIterator.C (advance, distance): remove
1143 * PosIterator.h: interit from std::iterator.
1145 2004-01-26 André Pönitz <poenitz@gmx.net>
1148 * BufferView_pimpl.[Ch]:
1152 * bufferview_funcs.C:
1162 * output_linuxdoc.C:
1163 * output_plaintext.C:
1165 * paragraph_funcs.[Ch]:
1166 * paragraph_pimpl.[Ch]:
1172 * text3.C: more IU: dumps most of the rest of the mathcursor
1173 implementation into cursor.[Ch]; "globalize" a bit of it.
1175 2004-01-25 Angus Leeming <leeming@lyx.org>
1177 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1179 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1181 * LaTeXFeatures.h: add nice_ and nice() const
1182 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1184 2004-01-20 André Pönitz <poenitz@gmx.net>
1187 * BufferView_pimpl.C:
1189 * bufferview_funcs.C:
1191 * cursor_slice.[Ch]:
1202 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1203 LCursor and mathcursor parts to LCursor and InsetBase.
1205 2004-01-15 André Pönitz <poenitz@gmx.net>
1207 * cursor_slice.[Ch]: add a few covienience functions
1209 * funcrequest.[Ch]: remove BufferView * member
1211 * BufferView_pimpl.C:
1218 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1220 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1222 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1223 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1225 2004-01-13 André Pönitz <poenitz@gmx.net>
1228 * lyxtext.h: hide cursor and selection anchor behind accessor function
1231 * BufferView_pimpl.[Ch]:
1233 * bufferview_funcs.C:
1243 * cursor_slice.[Ch]: some integer type changes for inset unification
1245 * lyxcursor.[hC]: remove, it's CursorSlice now.
1248 * BufferView_pimpl.[Ch]:
1249 * bufferview_funcs.C:
1255 * textcursor.[Ch]: adjust
1257 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1259 * text2.C (undoSpan): add and use
1260 * text.C (breakParagraph): use undoSpan (fix bug 578)
1263 2004-01-08 Angus Leeming <leeming@lyx.org>
1265 * BufferView_pimpl.C (MenuInsertLyXFile):
1266 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1267 * lyxfunc.C (menuNew, open, doImport):
1268 FileFilterList change to the FileDialog open and save functions.
1270 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1272 * ShareContainer.h: make isEqual and isUnique adaptable
1274 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1276 2004-01-07 Angus Leeming <leeming@lyx.org>
1279 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1281 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1283 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1284 functions replacing find, replace and replaceAll.
1286 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1287 LFUN_WORDFIND(FORWARD|BACKWARD).
1289 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1291 * text.C (breakParagraph): remove an outdated #warning
1293 2004-01-07 André Pönitz <poenitz@gmx.net>
1295 * lyxfind.C: somewhat clearer logic
1297 * text.C: prevent crash in cursorX on unitialized row cache
1299 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1301 * lyxcursor.[Ch] (operator>): add
1302 * textcursor.C (selStart, selEnd): use std::min and std::max
1304 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1306 * Chktex.C: include boost/format.hpp
1308 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1310 * InsetList.C: replace functor MathcIt with adaptable functor
1312 (insetIterator): modify accordingly
1314 * BranchList.h: move the BranchNamesEqual functor here from...
1315 * BranchList.C: ... to here
1317 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1319 (add): replace a finding loop with std::find_if.
1321 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1323 * output_docbook.C: moving LatexParam functionality into
1326 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1328 * buffer.C: increment format to 229.
1330 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1333 * lyx_sty.[Ch]: remove minipageindent_def
1339 * text3.C: remove LFUN_INSET_MINIPAGE
1341 2003-12-28 Angus Leeming <leeming@lyx.org>
1343 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1345 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1347 * text2.C (setParagraph): fix off-by-one crash
1349 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1351 * output_docbook.C: header stuff for AGU
1353 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1355 * text2.C (redoCursor): remove
1358 * BufferView_pimpl.C: remove calls to redoCursor and
1359 setCursor(cursor.par(), cursor.pos()) all around
1361 2003-12-15 Angus Leeming <leeming@lyx.org>
1363 * buffer.C: up the format to 228.
1365 2003-12-15 André Pönitz <poenitz@gmx.net>
1367 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1372 * BufferView_pimpl.C:
1381 2003-12-15 Angus Leeming <leeming@lyx.org>
1383 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1384 than getFromGUIName to manipulate the color.
1386 2003-12-14 Angus Leeming <leeming@lyx.org>
1388 * BranchList.[Ch]: minimize the API.
1389 (Branch::getBranch, getColor): now return a 'const &'.
1390 (Branch::setSelected) now returns a bool set to true if the
1391 selection status changes.
1392 (BranchList::clear, size, getColor, setColor, setSelected,
1393 allBranches, allSelected, separator): removed.
1394 (BranchList::find): new functions, returning the Branch with
1396 (BranchList::add, remove): return a bool indicating that
1397 the operation was successful.
1399 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1400 new InsetBranch::isBranchSlected member function.
1402 * LColor.[Ch]: mimimize the API.
1403 (fill): renamed as addColor and made private.
1404 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1405 versions of these functions taking a string arg have been removed.
1407 * bufferparams.C (readToken):
1408 * lyxfunc.C (dispatch):
1409 * lyxrc.C (read): changes due to the altered BranchList and
1412 * factory.C (createInset, readInset): changes due to altered
1415 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1418 * lyxfunc.C: remove insetminipage. "minipage-insert"
1419 now produces a frameless minipage box inset.
1421 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1423 * textcursor.[Ch] (selStart,selEnd): add new methods
1424 remove selection::start, end, use LyXCursor::operator<
1425 * lyxcursor.[Ch] (operator<): add
1426 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1427 * BufferView.[Ch] (unsetXSel): add
1428 * text2.C (clearSelection): use unsetXSel,adjust
1431 * rowpainter.C: adjust
1432 * bufferview_funcs.C (put_selection_at): adjust
1434 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1436 * BufferView_pimpl.C: small coord. correction
1438 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1440 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1441 dragging over the splash screen.
1443 2003-12-11 Angus Leeming <leeming@lyx.org>
1445 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1446 as it is now handled in LyXText::dispatch.
1448 * text3.C (doInsertInset): remove a level of nesting.
1450 2003-12-11 Angus Leeming <leeming@lyx.org>
1452 * factory.C (createInset): changes due to the changed interface to
1453 InsetCommandMailer::string2params.
1455 2003-12-10 Angus Leeming <leeming@lyx.org>
1457 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1458 'dialog-show-new-inset <inset name>'
1460 2003-12-10 Angus Leeming <leeming@lyx.org>
1462 * buffer.C: up the format to 227.
1464 * factory.C: the box inset is now identified simply by 'Box'.
1466 2003-12-10 Angus Leeming <leeming@lyx.org>
1468 * buffer.C: up the format to 226.
1470 * factory.C: the note inset is now identified simply by 'Note'.
1472 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1474 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1475 when a pit is enough. Standarize a couple of loops.
1477 2003-12-05 Angus Leeming <leeming@lyx.org>
1479 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1480 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1481 data to the re-worked "log" dialog.
1483 2003-12-03 André Pönitz <poenitz@gmx.net>
1489 * paragraph_funcs.C:
1491 * text2.C: use Inset::getText instead of Inset::getParagraph
1493 2003-12-03 André Pönitz <poenitz@gmx.net>
1497 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1498 InsetText::read() as LyXText::read()
1500 2003-12-02 Angus Leeming <leeming@lyx.org>
1502 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1503 type. Add a comment in the implementation that the function uses
1504 the stream's bad() function rather than fail() as the std::streams
1507 2003-12-02 André Pönitz <poenitz@gmx.net>
1509 * lyxlex.[Ch]: make interface more similar to std::stream
1511 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1513 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1515 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1517 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1519 * vspace.[Ch]: remove VSpace::NONE
1521 2003-12-01 André Pönitz <poenitz@gmx.net>
1524 * lyxtext.h: move ParagraphList member to LyXText
1525 rename LyXText::ownerParagraphs to LyXText::paragraph
1528 * bufferview_funcs.C:
1538 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1540 * undo.C: fix cursor positioning
1542 2003-12-01 John Levon <levon@movementarian.org>
1544 * BufferView_pimpl.C: fix a crash on exit with
1547 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1549 * BranchList.C: fix setSelected() method.
1551 2003-11-28 André Pönitz <poenitz@gmx.net>
1553 * ParagraphParameters.[Ch]:
1554 * ParameterStruct.h: remove space above/below from Paragraph to
1557 * BufferView_pimpl.C:
1563 * paragraph_funcs.C:
1569 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1571 * factory.C: Syntax change for CharStyles
1573 2003-11-28 André Pönitz <poenitz@gmx.net>
1578 * buffer.[Ch]: move LyXText member
1580 2003-11-28 André Pönitz <poenitz@gmx.net>
1582 * BufferView.[Ch]: make LyXText * text a private member
1584 * BufferView_pimpl.C:
1595 * output_plaintext.C: cleanup
1597 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1600 * lyxtextclass.[Ch]: parametrize SGML document header
1602 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1605 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1608 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1610 * text2.C (setFont): rework using PosIterator (no more recursive)
1611 (setCharFont): no more needed
1612 (setLayout): no more selection cursors fiddling (done by redoCursor)
1613 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1614 destroy remaining ones)
1616 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1618 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1620 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1623 * text3.C: adjust + re-allow multi par depth changes
1624 * textcursor.C: simplify a bit
1626 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1632 * src/output_docbook.C:
1633 * src/output_latex.C:
1638 * src/text2.C: Introducing a number of tags parametrizing various
1639 XML formats that we may want to support
1641 2003-11-25 André Pönitz <poenitz@gmx.net>
1643 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1645 * lyxtext.h (leftMargin/rightMargin): simplify interface
1652 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1654 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1655 master file to any child files. Fixes bug 546.
1657 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1659 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1661 2003-11-24 André Pönitz <poenitz@gmx.net>
1663 * rowpainter.C: simplification
1665 * text2.C (updateCounters): remove call to redoParagraph on
1666 changed labels as this is far too expensive.
1668 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1670 * converter.C (convert): fix a crash: this function gets
1671 called with buffer == 0 from importer code.
1673 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1675 * text3.C (cursorPrevious): make sure that we do not compare
1676 iterators form different containers.
1679 * rowpainter.C (paintSelection): make sure that we do not compare
1680 iterators from different containers.
1682 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1683 iterators from different ParagraphList containers.
1686 * text2.C (LyXText): change order of initialization slightly
1687 (operator=): new function. copy all variables except cache_par_
1688 (moveUp): make sure that we do not compare iterators from
1689 different ParagraphList constainers.
1692 * text.C (firstPar): new function
1693 (lastPar): new function
1694 (endPar): new function
1696 * lyxtext.h: move things around and group public functions, public
1697 variables, private functions, private variables
1699 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1701 * factory.C: change call to InsetERT constructor to avoid
1702 additional invocation of method status
1703 * text2.C (toggleInset): remove redundant update() call
1704 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1705 instead of a Bufferview pointer
1707 2003-11-21 André Pönitz <poenitz@gmx.net>
1709 * rowpainter.C: simplification
1711 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1713 * text3.C (dispatch): make possible to extend a word/row selection
1716 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1718 * lyxtext.h: x0_,y0_ -> xo_,yo_
1719 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1720 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1721 * rowpainter.C (paintRows): paint full paragraphs
1723 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1725 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1728 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1730 * lyxtext.h: add x0_, y0_
1731 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1732 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1734 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1736 * text2.C (setCursorIntern): move the x_target update here *
1737 * text3.C: change some bv() to true/false in calls to
1738 cursorUp/Down/Right/Left
1739 * cursor.C: use helper function.
1741 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1743 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1744 * paragraph_funcs.[Ch]: correct comment
1745 * rowpainter.C: do not paint selections away from bv->cursor()
1746 Fix a long standing selection painting bug.
1747 * text3.C: generalize mouse-selection code to LyXTexts other that
1749 * textcursor.C: do not use y coords if we can use par offsets
1751 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1753 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1754 cursor position after e.g. inset insert)
1756 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1758 * lyxfind.C (replace): adjust to locking removal + some
1761 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1763 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1766 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1769 * output_docbook.C: XML sanitation: new layout
1770 parameters InnerTag and CommandDepth
1772 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1774 * BufferView_pimpl.C:
1776 * text3.C: Fix the insertion and modification of button-style
1779 2003-11-13 André Pönitz <poenitz@gmx.net>
1781 * InsetList.[Ch]: remove deleteLyXText
1783 * paragraph.[Ch]: cache beginOfBody position
1788 * text3.C: remove superfluous update() calls
1792 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1794 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1795 * BufferView.C (fitLockedInsetCursor): remove
1796 * cursor.[Ch] (getDim): add
1797 * text.C (getRowNearY): add faster version
1798 * text3.C: remove some update calls
1800 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1812 * text3.C: The Character Style /XML short element patch.
1814 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1817 * factory.C: Small step to solving 'unable to insert some insets'
1820 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1822 * cursor.[Ch] (updatePos): new function for updating the y
1823 position of the tip inset
1824 * bufferview_funcs.C (put_selection_at):
1825 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1827 2003-11-11 André Pönitz <poenitz@gmx.net>
1829 * text.C: remove big comment on invalid Paragraph pointers as it is
1832 2003-11-11 André Pönitz <poenitz@gmx.net>
1834 * text_funcs.[Ch]: merge with ...
1842 * Makefile.am: remove text_funcs.[Ch]
1844 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1846 * cursor.C (getPos): return absolute cached y coord
1848 * BufferView_pimpl.C (fitCursor): new simplistic code
1849 (workAreaDispatch): add a fitCursor call
1851 2003-11-10 André Pönitz <poenitz@gmx.net>
1854 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1856 2003-11-10 André Pönitz <poenitz@gmx.net>
1858 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1859 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1860 indicate that the cursor needs to leave an inset
1862 * lyxtext.h: remove inset locking
1864 * cursor.[Ch]: re-implement functionality provided by inset locking
1867 * BufferView_pimpl.[Ch]:
1869 * bufferview_funcs.[Ch]:
1881 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1883 * PosIterator.[Ch]: replace the stack with a vector, add inset
1885 * iterators.[C]: adjust
1887 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1889 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1891 * paragraph_funcs.C (readParToken): put the correct id in the
1892 error item, not the id of the top paragraph
1894 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1896 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1897 * bufferview_funcs.C (put_selection_at): use the above
1899 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1901 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1903 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1905 * output_linuxdoc.h:
1906 * output_plaintext.h:
1908 * output_docbook.h: add #include statements
1910 2003-11-05 José Matos <jamatos@lyx.org>
1912 * output_docbook.[Ch]:
1913 * output_latex.[Ch]:
1914 * output_linuxdoc.[Ch]:
1915 * output_plaintext.[Ch]: New files for output formats.
1916 * output.[Ch]: New file for helper functions.
1919 * paragraph_funcs.[Ch]: output functions moved to new files.
1921 * outputparams.h: rename of latexrunparams.h
1929 * paragraph_funcs.[Ch]:
1930 * paragraph_pimpl.[Ch]:
1931 * tabular.[Ch]: rename ascii to plaintext
1932 and LatexRunParams to OutputParams.
1934 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1936 * iterators.[Ch] (text): require bv argument
1937 * undo.C (recordUndo):
1938 * lyxfunc.C (dispatch):
1939 * bufferview_funcs.C (put_selection_at): adjust
1941 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1943 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1945 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1947 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1950 2003-11-04 André Pönitz <poenitz@gmx.net>
1952 * cursor.[Ch]: restructure
1955 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1957 * iterators.[Ch] (asCursor): remove
1959 * lfuns.h: remove LFUN_INSET_EDIT
1965 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1967 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1969 * lyxfind.[Ch]: complete overhaul
1970 * BufferView_pimpl.C:
1972 * paragraph.[Ch] (insert): add
1974 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1978 * text.C: remove dead spellcheck code
1980 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1982 * dispatchresult.h: add a val setter
1984 * cursor.C (dispatch): use a tempvar for data_[i]
1986 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1988 * PosIterator.[Ch]: compile fix
1990 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1992 * text.C (cursorPar): deactivate the cursor cache
1994 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1996 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1998 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2000 * text3.C (dispatch): adjust for new DisptchResult semantics.
2002 * lyxfunc.C (dispatch): handle update when return from
2003 Cursor::dispatch, adjust for new DispatchResult semantics.
2005 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2006 DispatchResult(true) mean to not update. Add class functions for
2007 setting dispatched and update, as well as reading.
2009 * cursor.C (dispatch): don't handle update here
2011 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2013 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2014 * trans_mgr.C: adjust
2016 * paragraph_funcs.C (readParToken): exception safety
2018 * lyxvc.h: store the vcs pointer in a scoped_ptr
2021 * lyxsocket.C (serverCallback): exception safety
2023 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2025 * ispell.C (clone): make it return a auto_ptr
2027 * factory.C (createInset): exception safety
2028 (readInset): exception safety
2030 * bufferlist.C (newBuffer): exception safety
2032 * Thesaurus.C (Thesaurus): use initialization for aik_
2034 * MenuBackend.C (expandToc): exception safety.
2036 2003-11-03 André Pönitz <poenitz@gmx.net>
2040 * bufferview_funcs.C: remove getInsetFromId()
2043 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2049 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2051 * PosIterator.C (distance, advance): new
2052 * bufferview_funcs.[Ch] (put_selection_at): new
2053 * iterators.[Ch] (lockPath): new
2055 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2057 * iterators.[Ch] (asPosIterator): added
2058 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2059 * PosIterator.[Ch]: added
2061 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2065 * cursor.C (dispatch):
2066 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2068 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2069 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2070 contructor, add a class function dispatched. Remove operator>=
2072 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2074 * debug.C: only use the default constructor for debugstream
2077 * main.C (main): include debug.h and setup the lyxerr streambuf
2080 2003-10-31 José Matos <jamatos@lyx.org>
2082 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2084 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2085 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2086 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2087 * paragraph_pimpl.C (simpleTeXSpecialC):
2088 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2089 add LatexRunParams argument.
2091 * exporter.C (Export): change call accordingly.
2093 * latexrunparams.h: add new member to take care of the other backends.
2094 2003-10-30 José Matos <jamatos@lyx.org>
2096 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2097 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2098 factorise code for paragraph output.
2100 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2103 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2105 * text3.C (dispatch):
2106 * lyxfunc.C (dispatch):
2107 * cursor.C (dispatch):
2108 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2110 * dispatchresult.h: make the dispatch_result_t ctor explicit
2112 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2115 * buffer.C: small refactoring of docbook stuff
2117 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2119 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2122 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2124 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2125 operator dispatch_result_t, and operators for == != and >=
2127 * cursor.C (dispatch): adjust for operator dispatch_result_t
2128 removal. comment out call to update
2130 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2132 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2140 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2143 * dispatchresult.h: new file, DispatchResult broken out of
2146 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2148 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2150 * text.C (rowBreakPoint): put a hack inside #if 0
2152 2003-10-28 André Pönitz <poenitz@gmx.net>
2156 * paragraph_funcs.C:
2159 * text2.C: general cleanup (lots of small stuff)
2161 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2163 * text2.C (cursorEnd): simple fix to the "end key goes to one
2164 before the end on last row" bug
2166 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2168 * text.C (backspace): fix the "zombie characters"
2170 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2172 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2174 2003-10-27 André Pönitz <poenitz@gmx.net>
2176 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2178 * factory.C: handle new InsetPagebreak, InsetLine
2180 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2181 and move handling into new InsetPagebreak, InsetLine
2183 * BufferView_pimpl.C:
2185 * ParagraphParameters.C:
2186 * ParameterStruct.h:
2191 * paragraph_funcs.C:
2192 * paragraph_pimpl.C:
2198 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2201 * lyxrow_funcs.[Ch]:
2207 * text3.C: remove lastPos uses in favour of Row::endpos
2209 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2211 * undo.C (performUndoOrRedo): fix two crashes by setting a
2212 cursor by hand and reordering some calls. Use bv->lockInset instead
2213 of inset->edit because the latter loses cursor information
2215 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2217 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2219 (rowBreakPoint): fix width. change point to point + 1.
2220 Add a missing check.
2222 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2225 * lyxfunc.C: fix (at least partly) the problems
2226 with the Nav menu and headers inside branch insets
2229 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2231 * paragraph.C (getChar): add strong asserts
2233 * lyxrow_funcs.C (lastPos): remove hideous hack
2235 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2236 (fill): adjust to that (avoid an infinite loop)
2238 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2240 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2242 2003-10-23 André Pönitz <poenitz@gmx.net>
2244 * RowList_fwd.h: change list<> to vector<> to gain speed
2245 after suggestion from Alfredo
2247 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2249 * lyxtext.h: move the bidi stuff from here...
2252 * Bidi.[Ch]: ... to here
2254 2003-10-23 André Pönitz <poenitz@gmx.net>
2257 * text.C (isLastRow, isFirstRow): new functions
2259 * paragraph.h: new width cache member
2261 * rowpainter.C: replace RowList::iterator with Row & where possible
2263 * lyxfunc.C: replace several view()->text with a single call
2265 * toc.C: fix 'unused' warning
2267 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2269 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2270 when woring with stream::pos_type
2271 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2273 2003-10-22 André Pönitz <poenitz@gmx.net>
2276 * text.C: use Row & instead of RowList::iterator
2278 * lyxrow.h: rename end() to endpos()
2284 2003-10-22 Angus Leeming <leeming@lyx.org>
2286 * buffer.[Ch] (fully_loaded): new member function, returning true
2287 only when the file has been loaded fully.
2288 Used to prevent the premature generation of previews and by the
2289 citation inset to prevent computation of the natbib-style label.
2291 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2292 templates are all set up.
2294 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2296 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2298 * text.C: fixed an "oops" in the "is a bit silly"
2301 2003-10-21 André Pönitz <poenitz@gmx.net>
2303 * FuncStatus.[Ch]: small stuff, whitespace
2305 * lyxfont.[Ch]: operator<<() for debug reasons
2309 * lyxtext.h: whitespace, spelling
2311 * paragraph.C: naming of variables
2314 * text2.C: small stuff
2317 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2319 * text.C: (1) finish off the inset display() work;
2320 (2) fix the "is a bit silly" bug (accessing char
2323 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2325 * text.C: re-introduce display() for insets, fixing the
2326 various bugs (stretch of line above, math inset
2329 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2331 * text.C (rightMargin): remove spurious semicolon
2333 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2336 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2338 * text3.C: fix one crash due to wrong cursor def
2340 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2342 * vc-backend.C (scanMaster): make the regex static
2344 * LaTeX.C (scanAuxFile): make the regexs static
2346 * text3.C (doInsertInset, dispatch, dispatch):
2347 * text2.C (cursorUp, cursorDown):
2348 * text.C (selectNextWordToSpellcheck):
2349 * BufferView_pimpl.C (dispatch):
2350 * lyxfunc.C (dispatch): localDispatch -> dispatch
2352 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2354 * lyxsocket.C: include <cerrno>
2356 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2358 * lyxfunc.C (dispatch): remove textcache stuff
2360 * bufferlist.C (release): remove textcache stuff
2363 * TextCache.C: delete file
2364 * TextCache.h: delete file
2366 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2368 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2369 delete of the bv_->text.
2370 (resizeCurrentBuffer): remove texcache stuff
2371 (workAreaResize): ditto
2373 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2375 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2378 2003-10-16 André Pönitz <poenitz@gmx.net>
2385 * text3.C: speed up by storing y positions per paragraph plus per-row
2386 offset instead of having a 'full' y position in the row.
2388 2003-10-15 André Pönitz <poenitz@gmx.net>
2392 * undo.[Ch]: make undo aware of inner insets
2394 2003-10-14 Angus Leeming <leeming@lyx.org>
2396 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2397 static member functions LyX::ref() and LyX::cref.
2398 (lastfiles): new accessor functions for the new lastfiles_ member var.
2399 (addLyXView, views_): add a new LyXView to the list of views_.
2400 (updateInset): loop over all LyXViews to call their own updateInset
2401 member function, returning a pointer to the Buffer owning the inset.
2403 * BufferView_pimpl.C (loadLyXFile):
2404 * MenuBackend.C (expandLastfiles):
2405 * bufferlist.C (MenuWrite, QuitLyX):
2406 lastfiles is no longer a global variable.
2407 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2409 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2410 static function. Access through LyX::cref().emergencyCleanup().
2412 2003-10-14 André Pönitz <poenitz@gmx.net>
2414 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2416 * undo.[Ch]: restoring part of 'undo in insets'
2419 * undo_funcs.[Ch]: merge with undo.[Ch]
2421 * tabular.C: small cleansing stuff
2423 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2425 * paragraph_funcs.C (readParToken): report unknown insets as error
2426 boxes. Use the outer paragraph as location (also for unknown
2429 * factory.C (readInset): do not abort on reading an unknown inset.
2430 Eat it and return 0.
2432 2003-10-13 Angus Leeming <leeming@lyx.org>
2434 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2436 * lyxrc.C: displayTranslator is now a function,
2437 declared in GraphicsTypes.h.
2439 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2441 * format.C: new placeholder $$a to pass the socket address.
2443 * bufferlist.[Ch]: new function getBufferFromTmp.
2445 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2446 files in the temporary dir.
2448 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2450 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2452 * Makefile.am: add lyxsocket.[Ch].
2454 * lyx_main.C (error_handler): handle SIGPIPE.
2456 2003-10-13 André Pönitz <poenitz@gmx.net>
2458 * BufferView_pimpl.C:
2463 * undo_funcs.[Ch]: use paroffset_type instead of
2464 ParagraphList::iterators to prevent multiple conversion
2465 (and get a more robust interface)
2467 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2469 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2471 * text3.C (dispatch): ditto
2473 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2475 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2476 move the onlyfile, use onlyfile instead of foundfile in a couple
2479 * DepTable.C (update): flush the error stream a bit more
2481 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2483 * lyxserver.C (callback): adjust
2485 * lyxfunc.C (getStatus): add a missing brace in commented code
2486 (ensureBufferClean): reindent
2487 (dispatch): delete version taking a string
2489 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2491 * LaTeX.C (deplog): move found file handlig from here...
2492 (handleFoundFile): .. to new function here.
2493 (deplog): make sure to discover several files mentioned on the
2496 2003-10-10 André Pönitz <poenitz@gmx.net>
2503 * text3.C: fix some of the tabular crashes
2505 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2507 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2509 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2511 2003-10-09 André Pönitz <poenitz@gmx.net>
2513 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2516 * BufferView_pimpl.C:
2517 * bufferview_funcs.C:
2528 * undo_funcs.C: adjust
2530 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2532 * text2.C (incrementItemDepth): new function, use a backtracking
2533 algorithm to discover the correct item depth.
2534 (resetEnumCounterIfNeeded): new function, use a backtracking
2535 algorithm to discover if counter reset is needed.
2536 (setCounter): use them. Simplify a bit. Add different labels for
2537 different item depths for itemize.
2539 * paragraph.C (Paragraph): remove initialization of enumdepth
2542 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2543 enumerate and itemize. Change the type of itemdepth to signed char.
2545 2003-10-08 André Pönitz <poenitz@gmx.net>
2547 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2552 * tabular.[Ch]: fix crash after 'row-insert'
2554 2003-10-08 Angus Leeming <leeming@lyx.org>
2556 Fix doxygen warnings.
2558 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2559 Remove CutAndPaste:: prefix from header file declaration.
2561 * LColor.h (fill): remove LColor:: prefix from declaration.
2563 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2564 use lyx::depth_type rather than Paragraph::depth_type so that
2565 header file and .C file match.
2567 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2569 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2570 * aspell.C: \file aspell_local.C -> \file aspell.C
2571 * gettext.C: \file gettext.C -> \file src/gettext.C
2572 * gettext.h: \file gettext.h -> \file src/gettext.h
2573 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2574 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2575 * text.C: \file text.C -> \file src/text.C
2577 * toc.C: move comment so that doxygen is not confused.
2579 2003-10-07 Angus Leeming <leeming@lyx.org>
2581 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2583 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2586 * aspell_local.h: add forgotten std::string's.
2588 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2595 * text3.C: The Box patch. Fancybox support, minipage, parbox
2597 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2603 * ParagraphParameters.h:
2613 * lyxtextclasslist.h:
2616 * paragraph_pimpl.C:
2617 * textcursor.h: add <string> and other small fixes to make Lars'
2618 std::string patch compile with STLport.
2620 2003-10-06 Angus Leeming <leeming@lyx.org>
2622 * LColor.h: Add missing #include <string>.
2624 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2626 * All most all file in all subdirs: Make <string> be the prefered
2627 way of getting to std::string, add using declarations.
2629 2003-10-06 André Pönitz <poenitz@gmx.net>
2631 * metricsinfo.C: initialize LyXFont before changing attribute.
2632 (fixes the 'math in \emph is upright' bug)
2634 2003-10-06 André Pönitz <poenitz@gmx.net>
2636 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2638 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2641 * paragraph_pimpl.C: Small fixes to build using STLport
2643 2003-10-02 André Pönitz <poenitz@gmx.net>
2646 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2648 2003-10-01 André Pönitz <poenitz@gmx.net>
2650 * factory.C: assert early
2652 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2654 * lyx_main.C: remove the global debug object
2656 * debug.h: adjust for new debugstream
2658 * debug.C: adjust for new debugstream and keep the global debug
2661 2003-09-22 Angus Leeming <leeming@lyx.org>
2663 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2664 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2665 an incomplete class LyXFont.
2667 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2669 * factory.C: bug fix in branches
2671 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2673 * lyxfunc.C (processKeySym): adjust
2675 (dispatch): change arg name from ev to func, adjust
2676 (sendDispatchMessage): ditto
2678 * lyx_main.C (defaultKeyBindings): adjust keybindings
2679 (deadKeyBindings): ditto
2681 * kbsequence.C (addkey): return a FuncRequest
2683 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2685 * kbmap.C (bind): take a FuncRequest as arg, adjust
2688 (defkey): change to take a FuncRequest as arg, adjust
2689 (findbinding): take a FuncRequest as arg, adjust.
2691 * funcrequest.h (operator=): added
2693 * funcrequest.C (FuncRequest): default kb_action changed from
2694 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2696 * buffer.C (dispatch): simplify
2697 (dispatch): adjust to take a FuncRequest as arg, adjust
2699 * boost.C (assertion_failed): change assertion message slightly
2701 * ToolbarBackend.C (read): simplify
2703 * MenuBackend.C (binding): adjust call to findbinding, add a
2704 message if no binding is found.
2706 (expandToc): correct by adding a empty FuncRequest
2708 * LyXAction.C: include <boost/assert.hpp>
2709 (isPseudoAction): delete function
2710 (LookupFunc): change name to...
2711 (lookupFunc): this. change return type to FuncRequest.
2712 (getActionName): take kb_action as arg, simplify
2713 (funcHasFlag): add an assert, simplify.
2715 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2717 * toc.C (action): return a FuncRequest, simplify
2719 * lyxfunc.C (processKeySym): adjust
2720 (getStatus): delete version that takes an int.
2722 (dispatch): delete version that takes action as int
2724 (sendDispatchMessage): simplify and adjust
2726 * funcrequest.C (getArg): take unsigned int as arg
2728 * ToolbarBackend.C (read): adjust
2729 (add): delete version that takes func as a string.
2730 (getIton): take a FuncRequest as arg
2732 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2735 * MenuBackend.C (MenuItem): add a new construct that only takes a
2736 Kind, simplify the constructor use for submenus.
2738 (expandLastfiles): adjust
2739 (expandDocuments): adjust
2740 (expandFormats): adjust
2741 (expandFloatListInsert): adjust
2742 (expandFloatInsert): adjust
2743 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2745 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2746 Remove class variables lyx_pseudo_map and lyx_arg_map
2748 * LyXAction.C (searchActionArg): delete function
2749 (getPseudoAction): delete function
2750 (retrieveActionArg): delete function
2751 (LookupFunc): make it return kb_action, simplify.
2752 (getActionName): simplify
2754 * factory.C (createInset): fix new bug
2756 2003-09-19 Angus Leeming <leeming@lyx.org>
2758 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2759 masterFilename_ parameter in the include inset.
2761 * factory.C (createInset): changes due to the changes to InsetInclude.
2763 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2765 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2767 2003-09-18 Angus Leeming <leeming@lyx.org>
2770 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2771 Inset::fillWithBibKeys.
2772 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2774 2003-09-18 Angus Leeming <leeming@lyx.org>
2776 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2778 (ctor): pass and store a 'Buffer const &'
2779 (buffer): new member function.
2781 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2782 '*this' to the LaTeXFeatures ctor.
2784 2003-09-18 Angus Leeming <leeming@lyx.org>
2790 * text.C: rename EnumLColor as LColor_color.
2792 2003-09-18 Angus Leeming <leeming@lyx.org>
2794 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2795 remove #include "insets/insetbase.h" from cursor.h.
2797 2003-09-18 Angus Leeming <leeming@lyx.org>
2799 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2800 InsetOld_code to remove #include "inset.h".
2802 * iterators.C: add #include "insets/inset.h"
2804 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2806 * BufferView.C: remove more locking stuff that apparently doesn't
2807 do anything sensible.
2809 2003-09-16 André Pönitz <poenitz@gmx.net>
2812 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2815 2003-09-16 Angus Leeming <leeming@lyx.org>
2817 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2819 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2822 * paragraph.h: remove #include "lyxfont.h". Forward declare
2825 2003-09-16 Angus Leeming <leeming@lyx.org>
2827 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2828 of support/textutils.h.
2829 (isWord): move the contents of support/textutils.h's IsWordChar here.
2835 * text2.C: add #include "paragraph.h".
2838 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2840 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2846 * LaTeX.C: use namespace alias for lyx::support::os
2848 2003-09-16 Angus Leeming <leeming@lyx.org>
2851 * bufferview_funcs.C:
2854 * paragraph_pimpl.C:
2856 * text.C: add #include "LColor.h".
2858 2003-09-16 Angus Leeming <leeming@lyx.org>
2860 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2861 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2863 Store the FontBits::color variable as an int rather than as an
2864 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2867 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2868 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2869 string calls together.
2871 * lyxrc.C: add #include "LColor.h".
2873 2003-09-15 Angus Leeming <leeming@lyx.org>
2875 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2878 2003-09-15 Angus Leeming <leeming@lyx.org>
2880 * LColor.h: add an EnumLColor wrapper for LColor::color.
2882 * lyxfont.[Ch] (color, setColor, realColor):
2883 * lyxtext.h, text.C (backgroundColor):
2884 pass EnumLColor args to/from the functions, rather than LColor::color
2888 * lyxtext.h: forward declare EnumLColor.
2890 * lyx_main.C: add #include "LColor.h".
2892 2003-09-15 Angus Leeming <leeming@lyx.org>
2894 * .cvsignore: add lyx-gtk.
2896 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2901 * ParagraphParameters.C
2905 * bufferview_funcs.C
2915 * vc-backend.C: remove usage of STRCONV
2917 2003-09-15 Angus Leeming <leeming@lyx.org>
2919 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2920 explicitly define the color passed to the painter.
2922 2003-09-15 Angus Leeming <leeming@lyx.org>
2924 * bufferparams.C (BufferParams): reorder member initializers to avoid
2927 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2929 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2930 * text.C (updateRowPositions): remove an unusual nop
2932 2003-09-12 André Pönitz <poenitz@gmx.net>
2934 * BufferView_pimpl.C:
2943 * Counters.[Ch]: finish the 'automatic counters' job
2945 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2947 * aspell.C: include <boost/assert.cpp> (compile fix)
2949 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2951 * boost.C (assertion_failed): use lyx::support::abort instead of
2954 2003-09-10 Angus Leeming <leeming@lyx.org>
2956 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2957 with their _fwd progeny.
2959 2003-09-09 Angus Leeming <leeming@lyx.org>
2961 134 files throughtout the source tree: replace 'using namespace abc;'
2962 directives with the appropriate 'using abc::xyz;' declarations.
2964 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2966 * boost.C (emergencyCleanup): moved here from LAssert.c
2967 (assertion_failed): new function, called by BOOST_ASSERT
2969 * several files: change Assert to BOOST_ASSERT
2971 2003-09-09 Angus Leeming <leeming@lyx.org>
2973 * buffer.[Ch]: Add an Impl class and move Buffer's member
2974 variables into it. As a result move several header files out of
2977 Add header files to lots of .C files all over the tree as a result.
2979 2003-09-09 Angus Leeming <leeming@lyx.org>
2981 * buffer.[Ch]: make Buffer's member variables private. Add
2984 Lots of changes all over the tree as a result.
2986 2003-09-08 Angus Leeming <leeming@lyx.org>
2988 * graph.C: #include <config.h>.
2990 2003-09-08 Angus Leeming <leeming@lyx.org>
2994 * BufferView_pimpl.C:
3023 * toc.C: remove redundant using directives.
3025 2003-09-07 Angus Leeming <leeming@lyx.org>
3027 * LaTeXFeatures.h: remove #include "support/types.h".
3028 * ToolbarBackend.h: remove #include <algorithm>.
3029 * changes.h: remove #include <ctime>.
3030 * debug.h: remove #include <iosfwd>.
3031 * graph.h: remove #include "support/std_string.h".
3032 * lyx_main.h: remove #include <csignal>.
3033 * lyxlex_pimpl.h: remove #include <fstream>.
3034 * sgml.h: remove #include <algorithm>, <utility>.
3035 * toc.h: remove #include "support/std_ostream.h".
3036 Add #include <iosfwd>.
3038 2003-09-07 Angus Leeming <leeming@lyx.org>
3040 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3042 * converter.h: forward declare LatexRunParams.
3043 * encoding.h: remove #include "lyxrc.h".
3044 * lyxtext.h: remove #include "LColor.h".
3045 * lyxtextclass.h: remove #include "support/types.h".
3046 * trans.h: remove #include "tex-accent.h".
3047 * trans_mgr.h: remove #include "tex-accent.h".
3048 * insets/inset.h: remove #include "support/types.h", <vector>.
3049 * insets/insetcollapsable.h: remove #include "LColor.h".
3050 * insets/insetinclude.h: remove #include "dimension.h".
3051 * insets/insetlatexaccent.h: remove #include "dimension.h".
3052 * insets/insetoptarg.h:: remove #include "insettext.h".
3053 * insets/insettext.h: remove #include "dimension.h",
3054 <boost/shared_ptr.hpp>
3056 * insets/renderers.h: add #include "dimension.h".
3057 * insets/updatableinset.h: add #include "support/types.h".
3059 * many .C files: Associated changes.
3061 2003-09-06 Angus Leeming <leeming@lyx.org>
3063 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3064 one, inside testInvariant.
3066 * PrinterParams.C: new file.
3067 * PrinterParams.[Ch]: move the function bodies out of line.
3069 2003-09-06 Angus Leeming <leeming@lyx.org>
3071 * ParagraphParameters.h: forward declare ParameterStruct rather than
3072 including its header file.
3073 (depth): moved out-of-line.
3075 2003-09-06 Angus Leeming <leeming@lyx.org>
3077 * BufferView_pimpl.h:
3080 * lyxfunc.h: forward declare LyXKeySym rather than
3081 #include "frontends/LyXKeySym.h".
3083 * BufferView_pimpl.C:
3086 * lyxfunc.C: associated changes.
3088 2003-09-06 Angus Leeming <leeming@lyx.org>
3090 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3091 As a result, can remove the #include "insets/inset.h" from BufferView.h
3093 2003-09-06 Angus Leeming <leeming@lyx.org>
3095 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3096 As a result, can remove the #include "insets/inset.h" from BufferView.h
3098 2003-09-06 Angus Leeming <leeming@lyx.org>
3104 * bufferview_funcs.C:
3105 * BufferView_pimpl.C:
3110 * ParagraphParameters.C:
3115 * frontends/controllers/ControlDocument.C:
3116 * insets/insetcaption.C: rearrange the #includes into some sort of
3119 * buffer.h: remove #includes ErrorList.h, undo.h
3121 2003-09-06 Angus Leeming <leeming@lyx.org>
3123 * support/types.h: add a 'depth_type' typedef, used to store the
3124 nesting depth of a paragraph.
3127 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3128 defining explicitly.
3131 * paragraph_funcs.h:
3132 * ParagraphParameters.h:
3133 * sgml.h: use lyx::depth_type rather than Paragraph or
3134 ParameterStruct's depth_type.
3137 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3140 * BufferView_pimpl.C:
3142 * ParagraphParameters.C:
3145 * bufferview_funcs.C:
3152 * frontends/LyXView.C:
3153 * frontends/controllers/ControlDocument.C:
3154 * frontends/controllers/ControlErrorList.C:
3155 * insets/insetbibitem.C:
3156 * insets/insetbranch.C:
3157 * insets/insetcaption.C:
3158 * insets/insetcollapsable.C:
3159 * insets/insetenv.C:
3160 * insets/insetert.C:
3161 * insets/insetfloat.C:
3162 * insets/insetfoot.C:
3163 * insets/insetfootlike.C:
3164 * insets/insetnewline.C:
3165 * insets/insetquotes.C:
3166 * insets/insettabular.C:
3167 * insets/insettext.C:
3168 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3170 * frontends/controllers/ControlChanges.C: #include "changes.h".
3172 2003-09-06 Angus Leeming <leeming@lyx.org>
3174 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3175 than #including paragraph.h.
3178 * RowList.h: deleted. Superfluous.
3188 * insets/insettext.h: use ParagraphList_fwd.h rather than
3191 * paragraph.h: don't forward declare ParagraphList.
3194 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3195 rather than ParagraphList.h. paragraph.h is still needed for the
3196 Paragraph::depth_type parameters.
3198 * textcursor.h: enable it to compile stand-alone in light of the
3201 * bufferview_funcs.C:
3213 * frontends/controllers/ControlParagraph.C:
3214 * frontends/controllers/ControlTabular.C:
3215 * insets/insetmarginal.C:
3216 * insets/insetminipage.C:
3217 * insets/insetnote.C:
3218 * insets/insetoptarg.C: add header files needed to compile again.
3220 2003-09-06 Angus Leeming <leeming@lyx.org>
3222 * RowList_fwd.h: new file, forward-declaring Row rather than
3223 #including lyxrow.h.
3228 * insets/insettext.h: use it instead of RowList.h
3230 * bufferview_funcs.C:
3237 * text3.C: #include "RowList.h".
3239 2003-09-05 Angus Leeming <leeming@lyx.org>
3241 * factory.C (createInset):
3242 * vspace.C (c-tor): replace sscanf call with an istringstream.
3243 * ispell.C: re-add missing HP/UX headers.
3244 * lyxserver.C: re-add missing os2 headers.
3246 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3255 * text3.C: re-add missing system headers, needed for 2.95.2.
3257 2003-09-05 Angus Leeming <leeming@lyx.org>
3259 Changes most place everywhere due to the removal of using directives
3260 from support/std_sstream.h.
3262 2003-09-05 Angus Leeming <leeming@lyx.org>
3264 Replace LString.h with support/std_string.h,
3265 Lsstream.h with support/std_sstream.h,
3266 support/LIstream.h with support/std_istream.h,
3267 support/LOstream.h with support/std_ostream.h.
3269 Changes resulting throughout the tree.
3271 2003-09-05 Angus Leeming <leeming@lyx.org>
3273 * sgml.h: ensure that the header file can be compiled stand-alone.
3274 * *.C: strip out redundant #includes. (320 in total.)
3276 2003-09-04 Angus Leeming <leeming@lyx.org>
3278 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3279 here (from getPackages).
3281 * debug.[Ch]: add a new EXTERNAL tag.
3283 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3285 * text2.C (cursorEnd): simplify
3287 (getColumnNearX): adjust
3289 * text.C (computeBidiTables): adjust
3292 * rowpainter.C (paintChars): adjust
3293 (paintSelection): adjust
3294 (paintChangeBar): adjust
3297 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3299 (numberOfSeparators): adjust
3301 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3307 * text3.C: Restricts the mouse click functionality
3308 of insets like bibtex, include, toc and floatlist to the visible
3309 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3310 up the dialogs. Cursor has to be in front of the inset (i.e.
3311 start of row) for this to function.
3313 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3315 * bufferview_funcs.C (currentState): output row information
3317 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3319 * bufferview_funcs.C (currentState): output paragraph position
3321 2003-09-04 Angus Leeming <leeming@lyx.org>
3323 * FloatList.h: move out #include "Floating.h".
3324 * LaTeX.h: move out #include "DepTable.h".
3325 * LyXAction.h: move out #include "funcrequest.h".
3326 * buffer.h: move out #include "author.h", "iterators.h".
3327 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3328 * lyx_main.h: move out #include "errorlist.h".
3329 * lyxfunc.h: move out #include "FuncStatus.h".
3330 * lyxtext: move out #include "lyxcursor.h".
3331 * paragraph_pimpl.h: move out #include "counters.h".
3333 2003-09-03 Angus Leeming <leeming@lyx.org>
3335 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3336 preamble_snippets list, enabling us to add snippets to the preamble
3337 only if the snippet was not there already.
3339 2003-09-04 Angus Leeming <leeming@lyx.org>
3341 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3343 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3345 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3348 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3350 * BranchList.C: point fix, earlier forgotten
3352 2003-09-02 Angus Leeming <leeming@lyx.org>
3354 * box.C (contains): renamed from 'contained' after a fantastic
3357 2003-09-02 John Levon <levon@movementarian.org>
3363 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3365 2003-09-02 John Levon <levon@movementarian.org>
3367 * text2.C: simplification of cursorEnd(), including partial
3370 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3372 * buffer.C (readFile): add a space
3374 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3376 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3378 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3380 * buffer.C (readFile): new function, take a filename and a
3381 ParagraphList::iterator
3383 (readFile): adjust, make it private. don't use setStream, make
3384 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3385 always contain the filename.
3387 * BufferView.C (insertLyXFile): simplify and make it work for
3390 2003-08-30 John Levon <levon@movementarian.org>
3392 * Makefile.am: fix dist (from Kayvan)
3394 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3396 * most files: change to use const Buffer refs
3398 2003-08-27 André Pönitz <poenitz@gmx.net>
3400 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3401 on top of ownerPar().
3403 2003-08-27 John Levon <levon@movementarian.org>
3405 * funcrequest.C: properly initialise POD members
3407 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3409 * lyxtext.h (top_y): move top_y from here
3414 * BufferView_pimpl.[Ch]: to here
3415 * frontends/screen.C:
3416 * insets/insettabular.C:
3417 * insets/insettext.C: adjust
3418 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3420 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3423 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3425 2003-08-26 André Pönitz <poenitz@gmx.net>
3427 * paragraph_func.[Ch] (outerPar): new function
3430 * paragraph_funcs.C:
3431 * paragraph_funcs.h:
3432 * paragraph_pimpl.C:
3433 * text2.C: remove Inset::par_owner
3435 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3440 * text2.C: eliminates the needFullRow/display() stuff
3441 altogether, putting the logic in metrics/draw in the insets.
3443 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3445 * text2.C (redoParagraphInternal, redoParagraphs):
3446 * text.C (redoParagraph): add a call to updateRowPositions at the
3447 end of each 'metrics-like' call. Remove all others.
3448 (getRow): remove the 'y-computing' version.
3449 (getRowNearY): do not compute nor return the real y. Solve the
3450 'y < 0' problem and simplify.
3452 2003-08-22 Angus Leeming <leeming@lyx.org>
3454 * *.[Ch]: clean-up of licence and author blurbs.
3455 Also move config.h out of a few .h files and into a few .C files.
3457 2003-08-22 André Pönitz <poenitz@gmx.net>
3459 * lyxrow.[Ch]: add x_ and *fill_ members
3464 * text2.C: adjust/remove prepareToPrint() calls
3466 2003-08-22 André Pönitz <poenitz@gmx.net>
3468 * lyxrow.[Ch]: add end_ member
3470 * lyxrow_funcs.C: use LyXRow::end_
3472 * lyxtext.h (singleWidth): add LyXFont parameter
3475 * text2.C: adjust LyXText::singleWidth() calls
3477 * text.C (redoParagraph): simplify row breaking logic
3480 2003-08-19 André Pönitz <poenitz@gmx.net>
3482 * funcrequest.C: initialize button_ member
3485 * rowpainter.[Ch]: interface consolidation
3487 2003-08-18 André Pönitz <poenitz@gmx.net>
3490 * BufferView_pimpl.C:
3492 * paragraph_funcs.C:
3494 * text3.C: remove LyXScreen::draw() and fitCursor calls
3496 * BranchList.h: remove spurious semicolons
3498 * MenuBackend.C: fix branchlist related crash
3500 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3508 * bufferparams.[Ch]:
3512 * text3.C: implements the 'branch inset'
3513 idea. This allows the output of various versions of a document
3514 from a single source version, selectively outputing or suppressing
3515 output of parts of the text.
3516 This implementation contains a 'branch list editor' in a separate
3517 tab of the document settings dialog. Branches are user definable
3518 and have a "display colour" to distinguish them on-screen.
3520 ColorHandler was somewhat cleaned up.
3521 (1) make possible a dynamically growing LColor list by allowing
3522 the graphic context cache to grow along (vector);
3523 (2) eliminate an IMHO unnecessary step in colour allocation.
3525 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3527 * BufferView_pimpl.C: compile fix
3529 2003-08-15 André Pönitz <poenitz@gmx.net>
3531 * rowpainter.C: remove extra metrics calls
3533 * lyxtext.h: merge the two constructors into a single one,
3534 pass reference to owner's par list
3536 * BufferView_pimpl.C:
3540 2003-08-15 André Pönitz <poenitz@gmx.net>
3542 * lyxrow_funcs.[Ch]:
3545 * paragraph_funcs.C:
3550 * text_funcs.C: split LyXText::rowlist_ into individual
3551 Paragraph::rows_ chunks
3554 * BufferView_pimpl.[Ch]:
3557 * text3.C: remove toggleSelection()
3559 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3561 * bufferlist.C: beautify two alerts (shorter text of buttons)
3562 * buffer.C: Remove redundant ' ' from message
3564 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3565 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3566 rename VALIGN_CENTER to VALIGN_MIDDLE
3568 2003-08-11 André Pönitz <poenitz@gmx.net>
3570 * lyxtext.h (getPar):
3571 * text.C: new function
3573 2003-08-11 André Pönitz <poenitz@gmx.net>
3576 * tracer.[Ch]: remove unneeded files
3578 * InsetList.[Ch]: remove resizeInsetsLyXText()
3583 * text3.C: merge insertParagraphs() and appendParagraph()
3584 remove breakAgain(), update()
3586 * BufferView_pimpl.[Ch]:
3587 * bufferview_funcs.[Ch]:
3591 * tabular.C: adjust after text & InsetList changes.
3593 2003-08-08 André Pönitz <poenitz@gmx.net>
3595 * text.C (insertChar, backspace): replace rowlist fiddling
3596 with rebreak of full par
3599 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3600 checkParagraph, updateInset): removed
3602 2003-08-07 André Pönitz <poenitz@gmx.net>
3605 * text3.C: merge some LFUN handlers, remove dead code
3607 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3609 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3611 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3613 * text2.C (DEPM): fix part of bug 1255 and 1256
3615 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3617 * BufferView_pimpl.C (workAreaDispatch): change to use
3618 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3619 that are no mouse related.
3621 2003-08-05 André Pönitz <poenitz@gmx.net>
3624 * BufferView_pimpl.[Ch]:
3625 * bufferview_funcs.C:
3627 * text3.C: rip out "deep update"
3629 * textcursor.[Ch] (last_sel_cursor): remove unused member
3631 2003-08-04 André Pönitz <poenitz@gmx.net>
3634 * BufferView_pimpl.[Ch]:
3635 * ParagraphParameters.C:
3636 * bufferview_funcs.C:
3642 * text3.C: replace "complicated" BufferView::update(...) calls with
3645 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3647 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3649 * Makefile.am (lyx_SOURCES): add paper.h
3651 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3653 * Makefile.am: move things around so that both lyx-qt and
3654 lyx-xforms can be built (according to --with-frontend). Then lyx
3655 is a symbolic link to lyx-[firstfrontend]
3657 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3659 * Always use std::endl with lyxerr
3661 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3663 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3665 2003-08-01 André Pönitz <poenitz@gmx.net>
3668 * BufferView_pimpl.[Ch]:
3670 * text3.C: merge BufferView::repaint() and BufferView::update()
3672 2003-08-01 José Matos <jamatos@lyx.org>
3674 * buffer.[Ch]: file_format is no longer a buffer data element.
3676 2003-08-01 André Pönitz <poenitz@gmx.net>
3681 * text2.C: make redoParagraph more independent of current cursor
3683 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3685 * text2.C: remove unneeded members
3687 2003-07-30 André Pönitz <poenitz@gmx.net>
3689 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3691 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3692 create a single function...
3694 * paragraph_funcs.C (moveItem): ... here.
3697 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3699 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3701 * LColor.[Ch]: Add comment and greyedout logical colors.
3703 2003-07-30 André Pönitz <poenitz@gmx.net>
3705 * tabular.C: don't use Assert too heavily. This crashes where it
3708 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3710 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3711 is disabled (bug 1232)
3713 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3715 * factory.C: limited 'arg' scope
3717 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3719 * factory.C: fixed Note submenu issues
3721 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3723 * factory.C: submenu for Note/Comment/Greyedout
3725 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3728 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3730 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3733 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3734 greyedout. Patch provided by Jürgen Spitzmüller.
3736 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3738 * kbmap.C (read): fix error message when reading bind files
3740 2003-07-29 Angus Leeming <leeming@lyx.org>
3742 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3743 certainly does not do what it purports to do. I am doing it, and
3744 us, a favour by killing it.
3746 2003-07-28 José Matos <jamatos@lyx.org>
3748 * buffer.C (readBody, do_writeFile):
3749 * paragraph.C(readParagraph): \end_document replaces \the_end.
3751 2003-07-29 André Pönitz <poenitz@gmx.net>
3754 * BufferView_pimpl.[Ch]:
3758 * textcursor.[Ch]: remove toggleToggle & Co
3760 2003-07-28 José Matos <jamatos@fep.up.pt>
3762 * buffer.C (readParagraph):
3763 * params_func (readParToken, readParagraph):
3764 * paragraph.C (write): \layout -> \begin_layout.
3766 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3768 * lyxlex_pimpl.C (setFile): clean up slightly.
3770 * bufferparams.h: add compressed var
3772 * buffer_funcs.C (readFile): adjust for LyXLex change
3773 (newFile): ditto + simplify
3775 * buffer.C (writeFile): handle writing of compressed files
3777 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3778 Check if the file is compressed and set a bufferparm if so.
3780 * Makefile.am (lyx_LDADD): remove explicit -lz
3782 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3784 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3785 makeDocBookFile): put the real LyX version in the first line of
3789 * version.C.in: remove lyx_docversion
3791 * tabular.C (write_attribute): add a template-based version to
3792 write enums properly
3794 2003-07-28 André Pönitz <poenitz@gmx.net>
3799 * text3.C: use doubles again for x-coordinates. They are needed.
3801 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3803 * messages.C (getLocaleDir): use lyx_localedir()
3805 * lyxlex_pimpl.C (setFile): compress stuff
3807 * buffer.C (writeFile): add some compression stuff
3808 (do_writeFile): new func, dont call expliti close... will this
3811 * Makefile.am (lyx_LDADD): add -lz
3813 2003-07-28 José Matos <jamatos@fep.up.pt>
3815 * buffer.C: increment file format.
3816 * paragraph_funcs (readParagraph, readParToken):
3817 * paragraph.C (readParagraph): add \end_layout.
3819 2003-07-27 Angus Leeming <leeming@lyx.org>
3821 * Makefile.am: remove special casing for configure-time setting of
3822 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3824 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3825 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3827 2003-07-26 André Pönitz <poenitz@gmx.net>
3829 * paragraph_func.[Ch]:
3830 * paragraph.C (realizeFont): inline it whereever it is used
3835 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3838 2003-07-26 André Pönitz <poenitz@gmx.net>
3842 * text2.C: get rid of LyXText::need_break_row
3844 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3846 * toc.[Ch]: put namespace toc inside namespace lyx
3848 * MenuBackend.C (expandToc2): adjust for lyx::toc
3851 * lyxfunc.C (dispatch): adjust for lyx::find
3853 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3854 lyx::find instead. Reorganize a bit.
3855 (LyXReplace): rename to replace
3856 (LyXFind): rename to find
3858 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3861 2003-07-26 André Pönitz <poenitz@gmx.net>
3863 * text.C (setHeightOfRow): restrict scope of temporary variable
3865 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3866 code (never has been used?)
3868 2003-07-27 Asger Alstrup <alstrup@local>
3870 * text.C (fill): Optimise algorithm to exploit that we can reuse
3871 the LyXFont for many characters.
3872 (setHeightOfRow): Same thing.
3873 (rowBreakPoint): Same thing.
3875 2003-07-26 Asger Alstrup <alstrup@local>
3877 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3879 * text.C (singleWidth): Spurious font copying in hot-spot
3880 singleWidth avoided. Reorder tests for arabic for efficiency.
3882 * text.C (fill): handle empty paragraphs better.
3884 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3887 * encoding.h: add includes
3889 * lyxrc.C: remove reading of bind files
3891 * lyx_main.C (init): setup bindings and menus only if we have a
3894 * kbmap.C (read): new method. Do the actual reading of bind
3897 * converter.C (dvipdfm_options):
3900 (output): adapt PAPER_* enums.
3902 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3904 * bufferparams.h: remove paper-related enums from there
3906 * paper.h: New file. A trivial header file to hold paper-related
3907 enums. It should later expand to contain many paper-related
3910 * lyxrc.C: declare extern displayTranslator
3912 2003-07-27 José Matos <jamatos@fep.up.pt>
3914 * tabular.[Ch] (linuxdoc): add support for tables and figures
3917 2003-07-27 José Matos <jamatos@fep.up.pt>
3919 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3920 consistency in both functions.
3921 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3923 2003-07-26 Asger Alstrup <alstrup@local>
3925 * rowpainter.C (paintRows): Change algorithm to work directly on
3926 the insets rather than asking every character in the document
3927 whether its an inset.
3929 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3931 * buffer.C (openFileWrite): factorize some code
3933 2003-07-26 Angus Leeming <leeming@lyx.org>
3936 * lyx_main.[Ch]: replace occurances of system_tempdir with
3939 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3941 * rename Inset to InsetOld
3943 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3945 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3946 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3947 which I think is a bit clearer. EDIT is gone, since it was
3948 premature optimisation, and broken for mathed anyway.
3949 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3950 with cursor positioning in insets as well (math insets still do not
3951 work, but that's a different story anyway.) It mysteriously
3952 crashes sometimes with undo in the first paragraph, but I'm fairly
3953 confident that this is a compiler bug.
3955 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3957 * paragraph.C (Paragraph): adjust for new clone return type
3959 (copyIntoMinibuffer): ditto
3961 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3963 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3964 by not having a special case, and always doing a full rebreak of
3965 the document after undo.
3967 2003-07-23 Angus Leeming <leeming@lyx.org>
3969 * factory.C (createInset): InsetExternal::setParams now takes a
3972 2003-07-23 Angus Leeming <leeming@lyx.org>
3974 * factory.C (createInset): changed interface to the external and
3975 graphics mailers' string2params functions.
3977 2003-07-23 Angus Leeming <leeming@lyx.org>
3979 * factory.C (createInset): pass a
3980 Buffer const * parameter to InsetExternalMailer's string2params.
3982 2003-07-22 John Levon <levon@movementarian.org>
3984 * Thesaurus.h: include the right aiksaurus header
3986 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3988 * MenuBackend.C (expand): check menu shortcuts unconditionally
3990 2003-07-21 Angus Leeming <leeming@lyx.org>
3992 * factory.C (createInset): pass a
3993 buffer_path parameter to InsetGraphicsMailer's string2params.
3995 2003-07-21 Angus Leeming <leeming@lyx.org>
3997 * BufferView_pimpl.C (buffer):
4000 * lyxfunc.C (dispatch):
4001 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4002 rather than the grfx shortcut.
4004 2003-07-21 André Pönitz <poenitz@gmx.net>
4006 * rowpainter.C: remove unused variables
4009 * tabular_funcs.h: move to tabular.C
4010 * Makefile.am: adjust
4012 * tabular.[Ch]: basic optical cleaning
4014 * author.h: pass references, not values
4016 2003-07-18 André Pönitz <poenitz@gmx.net>
4024 * text3.C: two-phase drawing for InsetText and InsetTabular
4025 some float -> int changes.
4027 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4029 * lyx_main.C: fix the fix
4031 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4033 * lyx_main.C: fix a crash in batch mode if no files specified
4036 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4038 * format.[Ch] (papersize): moved to BufferParams
4039 * converter.[Ch] (dvips_options): moved to BufferParams
4040 (dvipdfm_options): moved to anon namespace
4041 * bufferparams.[Ch]: added above functions.
4043 2003-07-17 André Pönitz <poenitz@gmx.net>
4047 * text2.C: don't call inset->update() anymore
4049 * metricsinfo.[Ch]: add convenience constructor
4051 2003-07-16 André Pönitz <poenitz@gmx.net>
4056 * text2.C: replace the LyXCursor::irow_ member with
4057 on-demand computation of the value
4059 2003-07-16 John Levon <levon@movementarian.org>
4061 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4063 2003-07-15 André Pönitz <poenitz@gmx.net>
4066 * text2.C: remove no more needed refresh_row
4068 2003-07-15 André Pönitz <poenitz@gmx.net>
4073 * text3.C: refresh_status tristate -> need_update bool
4075 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4077 * lyxtext.h (init): remove reinit argument (act as if always true)
4078 * text2.C: adjust to that
4080 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4082 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4083 * text3.C: use it to delete selections in some cases
4084 (bugs 441, 673, 702, 954).
4086 2003-07-14 André Pönitz <poenitz@gmx.net>
4088 * rowpainter.[Ch]: reduce interface
4090 2003-07-14 André Pönitz <poenitz@gmx.net>
4092 * BufferView_pimpl.C:
4093 * text2.C: adjust after removing unused BufferView * argument
4095 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4097 * text2.C (init): fix a crash fired on resize
4099 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4101 * buffer.[Ch]: added new closing signal
4102 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4103 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4104 BufferView::Pimpl via the closing the signal
4106 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4108 * buffer.[Ch]: take out all bv-related from buffer
4110 * BufferView_pimpl.[Ch]: connect to new signals
4111 * CutAndPaste.C: removed useless asserts
4112 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4115 * lyxfunc.C: moved view-related funciontality from vc here
4116 * paragraph.C: removed outdated comments
4119 2003-07-10 André Pönitz <poenitz@gmx.net>
4121 * BufferView_pimpl.C:
4125 * text2.C: remove InsetText::InnerCache, clean up consequences
4127 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4129 * ispell.C: fix two typos in error messages
4131 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4133 * Extend Note inset to other forms of annotation like Comment
4134 and Greyedout. Right button click gives dialog.
4136 Files modified or added (+):
4140 * ControlNote.[Ch] +
4142 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4143 frontends/controllers
4147 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4149 * aspell.C: add missing namespace lyx::support
4151 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4153 * BufferView.[Ch] (newFile): Add
4154 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4155 * LaTeX.[Ch] (message): added this signal and use it
4156 * buffer.[Ch] (busy, message): added these signals and use them
4157 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4161 * importer.C: use buffer signals instead of direct bv calling
4162 * lyx_cb.[Ch] (ShowMessage): removed
4165 * paragraph_funcs.C:
4166 * text2.C: use buffer signals
4168 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4170 * introduce namespace lyx::graphics
4172 2003-07-02 André Pönitz <poenitz@gmx.net>
4174 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4176 2003-07-01 André Pönitz <poenitz@gmx.net>
4183 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4184 text*.C to text_func.C
4186 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4188 * introduce namespace lyx::support
4190 2003-06-30 André Pönitz <poenitz@gmx.net>
4195 * text.C: re-enable --with-included-string
4197 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4199 * textcursor.C: add <config.h>
4201 * text.C (getWord): remove const from word_location arg
4203 * lyxvc.C (getLogFile): fix const type order
4205 * lyxtext.h: remove const from word_location arg, add arg name
4207 * lyxlayout.h: currect type on labeltype.
4209 * importer.C: correct \file
4211 * converter.C (intToFormat): use std:: on ret val, ws changes
4213 * bufferlist.h: correct \file
4215 * buffer.C (makeLinuxDocFile): fix const type order
4216 (makeDocBookFile): ditto
4217 (fillWithBibKeys): use std:: on stdlib args.
4219 * CutAndPaste.C: fix authors.
4220 (availableSelections): use std:: on return vector
4222 2003-06-27 André Pönitz <poenitz@gmx.net>
4224 * BufferView_pimpl.C:
4225 * bufferview_funcs.C:
4233 * text3.C: remove LyXCursor::row_ member
4236 * text.C: rename fullRebreak() to partialRebreak() and implement
4237 a fullRebreak() that really bereks fully
4239 * textcursor.h: new struct for cursor-related data
4241 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4243 * lyx_main.C (LyX): get full path of document loaded on the
4246 2003-06-26 André Pönitz <poenitz@gmx.net>
4248 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4249 remove unused/broken operator>,<,>=.
4251 * text.C: remove only use of broken operator<= in an Assert().
4253 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4255 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4256 moved errorlist_.clear to showErrorList
4258 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4260 * converter.C (scanLog, runLaTeX):
4261 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4262 move the bv->showErrorList call to the callers
4263 * lyxfunc.C: i.e. here...
4265 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4266 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4267 namespace, the second to...
4268 * buffer_funcs (BufferFormat, parseErrors): added
4269 * errorlist.C (ErrorList(TeXErrors const &)): removed
4271 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4273 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4275 2003-06-24 "Garst R. Reese" <reese@isn.net>
4279 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4281 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4283 * version.C.in: change docversion to 1.4
4285 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4287 * buffer.C: fix a bug just introduced
4289 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4291 * buffer.[Ch]: added the parseError signal and use it, removed
4293 * BufferView.[Ch] (addError): moved to ...
4294 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4295 to the Buffer::parseError signal to catch (guess what) parse errors
4296 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4298 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4300 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4301 ability to create a buffer and to return an existing one from
4302 the list. Moved these functions to...
4303 * buffer_funcs.[Ch]: added
4304 * BufferView.[Ch] (loadLyXFile): added
4305 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4306 job removed from bufferlist::loadLyXFile.
4307 * buffer.C (setReadOnly): make it work without view
4308 (i.e added an if (users))
4310 2003-06-19 Angus Leeming <leeming@lyx.org>
4313 * LyXAction.C (init):
4314 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4315 with LFUN_DIALOG_SHOW <name> <data>.
4317 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4319 * CutAndPaste.C (availableSelections): small compilation fix for
4320 ancient (gcc 2.9x) compilers
4322 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4324 * text3.C (cursorNext): add tmp var
4326 * text2.C (updateCounters): for function calling out of for clause
4327 (replaceSelectionWithString): ditto
4328 (insertStringAsParagraphs): ditto
4329 (getColumnNearX): add tmp var
4330 (setCursorFromCoordinates): add tmp var
4331 (cursorDownParagraph): add tmp var
4332 (deleteEmptyParagraphMechanism): add tmp var
4334 * text.C (insertChar): add tmp var
4336 * rowpainter.C (paintDepthBar): add tmp var
4338 * CutAndPaste.C (availableSelections): potentially check all
4339 paragraphs in a cut to fill the shown strings.
4341 2003-06-18 André Pönitz <poenitz@gmx.net>
4343 * kbmap.[Ch]: use vector<> instead of list<>
4345 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4347 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4348 pasteSelection with index
4350 * text2.C (pasteSelection): modify, call pasteSelection with index
4352 * paragraph.C (asString): reimplement version with no interval to
4353 call the one with interval.
4355 * lyxtext.h: add index arg to pasteSelection
4357 * MenuBackend.C (MenuItem): handle PasteRecent
4358 (Menu::read::Menutags): add md_pasterecent
4360 (expandPasteRecent): new function
4363 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4365 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4367 (availableSelections): new function
4369 2003-06-17 Angus Leeming <leeming@lyx.org>
4371 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4373 2003-06-17 Angus Leeming <leeming@lyx.org>
4376 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4378 * lyxfunc.C (dispatch): invoke it.
4380 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4382 * iterators.C (operator++, ParPosition): reintroduce some
4383 const_cast for the benefit of older compilers.
4385 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4387 * text3.C (dispatch): do not modify clipboard when doing
4388 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4389 LFUN_DELETE_SKIP on a selection selection
4391 2003-06-16 André Pönitz <poenitz@gmx.net>
4397 * tabular.[Ch]: IU of clone() and getLabelList();
4399 2003-06-13 André Pönitz <poenitz@gmx.net>
4401 * tabular.h: compactification
4403 2003-06-12 André Pönitz <poenitz@gmx.net>
4407 * tabular_funcs.h: some renaming plus whitespace
4409 2003-06-12 André Pönitz <poenitz@gmx.net>
4412 * BufferView_pimpl.C:
4418 * toc.C: Return a Paragraph & for ParIterator::operator*()
4420 2003-06-11 John Levon <levon@movementarian.org>
4424 * ToolbarBackend.C: add "Toolbars" section and
4427 2003-06-10 Angus Leeming <leeming@lyx.org>
4430 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4432 * lyxfunc.C (dispatch): invoke it.
4434 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4436 * main.C: protect <ios> with HAVE_IOS
4437 (main): protect sync_with_stdio with HAVE_IOS
4439 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4441 * text2.C (cutSelection): adjust
4442 (pasteSelection): adjust
4444 * messages.C: handle get of empty string
4446 * main.C (main): use sync_with_stdio(false)
4448 * lyxfunc.C (dispatch): adjust
4450 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4451 (WriteAs): remove unneeded BufferView arg.
4453 * bufferparams.h: use correct types on papersize, papersize2 and
4456 * bufferparams.C (readToken): adjust for type
4457 (writeLaTeX): add missing cases to switch.
4459 * bufferlist.C (quitWriteBuffer): adjust
4462 * buffer.C (asciiParagraph): remove some commented code.
4464 * CutAndPaste.C: remove current_view extern variable.
4465 (cutSelection): add BufferParams arg.
4466 (eraseSelection): add BufferParams arg.
4467 (pasteSelection): add Buffer const & arg
4469 2003-06-07 John Levon <levon@movementarian.org>
4472 * paragraph_funcs.C:
4473 * paragraph_pimpl.C:
4477 * paragraph.C: allow InsetERT to freely space lines,
4478 and some consolidation of code
4480 2003-06-06 José Matos <jamatos@fep.up.pt>
4482 * buffer.C (makeDocBookFile): fix bug #821
4484 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4486 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4488 2003-06-04 Angus Leeming <leeming@lyx.org>
4490 * buffer.C: bump format to 224.
4492 2003-06-05 André Pönitz <poenitz@gmx.net>
4494 * text2.C (redoParagraphs): remove two const_cast<>
4496 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4498 * ParagraphList.h: remove last remnants of NO_STD_LIST
4500 2003-06-03 Angus Leeming <leeming@lyx.org>
4502 * factory.C (createInset): small change to the way InsetExternal's params
4505 2003-06-04 André Pönitz <poenitz@gmx.net>
4507 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4509 * paragraph_pimpl.h:
4510 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4512 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4514 * undo_funcs.C: make some simple cases of undo work again
4516 2003-06-03 John Levon <levon@movementarian.org>
4518 * ispell.C: HPUX doesn't have sys/select.h
4521 2003-06-03 John Levon <levon@movementarian.org>
4523 * CutAndPaste.C: update tabular and include inset
4528 * paragraph.C: remove owningBuffer(), don't pass Buffer
4531 * factory.C: insetGraphicsParams changed
4533 2003-06-02 John Levon <levon@movementarian.org>
4539 * text3.C: remove insetparent
4541 2003-06-02 John Levon <levon@movementarian.org>
4544 * buffer.C: fix inset_iterator.end(), move out of line
4547 2003-06-01 John Levon <levon@movementarian.org>
4549 * text3.C: use a proper cut/paste when doing inset
4550 insert (from Jürgen Spitzmüller)
4552 2003-06-01 John Levon <levon@movementarian.org>
4554 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4556 2003-05-30 André Pönitz <poenitz@gmx.net>
4558 * rowpainter.C: unify second drawing phase
4560 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4562 * trans_mgr.C: remove one case of current_view
4564 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4566 * paragraph_funcs.h: remove paragraph.h include
4568 * paragraph.h: delete NO_STD_LIST stuff
4570 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4572 * buffer.h: remove paragraph.h include
4574 * ParagraphList.C: delete file
4576 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4578 * toc.C (getTocList): adjust
4580 * paragraph_pimpl.C (validate): adjust
4582 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4584 * paragraph.C (Paragraph): adjust
4585 (getPositionOfInset): use const_iterator, adjust
4586 (bibitem): use const_iterator, adjust
4587 (setInsetOwner): adjust
4589 * iterators.C (operator++): adjust
4591 * InsetList.[Ch]: Replace selfmade iterator with standard
4592 vector::iterator also introduce const_iterator. Remove getPos,
4593 getInset and setInset from InsetTable. Adjust accordingly.
4595 * BufferView.C (lockInset): adjust
4596 (ChangeInsets): adjust
4598 * tabular.[Ch]: delete commented same_id functions
4600 2003-05-28 John Levon <levon@movementarian.org>
4602 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4604 2003-05-28 André Pönitz <poenitz@gmx.net>
4606 * metricsinfo.[Ch]: remove 'fullredraw' member
4608 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4610 * lyxtextclass.C (operator): remove caching.
4612 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4616 * text2.C (cursorBottom): adjust
4617 (setCounter): use ParagraphList::find, adjust
4619 * text.C (workWidth): use ParagraphList::find, adjust
4621 * lyxcursor.C (LyXCursor): adjust
4623 * buffer.C (inset_iterator): adjust
4625 * ParagraphList.h: make iterator(value_type) private, make
4626 ParagraphList a friend of iterator.
4628 * ParagraphList.C (find): new function
4630 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4632 2003-05-27 André Pönitz <poenitz@gmx.net>
4634 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4636 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4638 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4640 2003-05-26 John Levon <levon@movementarian.org>
4642 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4644 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4646 * remove same_id from function signatures, adjust.
4648 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4650 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4652 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4654 * paragraph.C (Paragraph): get rid of same_ids parameter
4656 * ParagraphList.C (insert): adjust
4659 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4661 * paragraph_funcs.C (breakParagraph): adjust
4662 (breakParagraphConservative): adjust
4664 * buffer.C (readParagraph): adjust
4666 * ParagraphList.C (insert): take a reference instead of a pointer
4669 * paragraph.[Ch] (id): new function
4671 * bufferlist.C (newFile): adjust
4673 * ParagraphList.C (ParagraphList): adjust
4675 (push_back): take a reference instead of a pointer.
4677 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4679 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4682 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4683 set else use old code.
4685 * ParagraphList.C: remove all NO_NEXT code and only compile this
4686 code of NO_STD_LIST is set.
4688 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4690 * BufferView_pimpl.C:
4700 * graphics/GraphicsConverter.C:
4701 * graphics/PreviewLoader.C: header adjustment
4703 2003-05-23 Angus Leeming <leeming@lyx.org>
4705 * LaTeXFeatures.[Ch] (useBabel): new method.
4706 * bufferparams.C (writeLaTeX): use it.
4708 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4710 * ParagraphList.h (set): remove unused function.
4712 2003-05-23 André Pönitz <poenitz@gmx.net>
4715 * BufferView_pimpl.C:
4719 * undo_funcs.C: setUndo reworked
4721 * iterators.[Ch]: add access to topmost ParagraphList
4723 * lyxtext.[Ch] (workWidth): add a const
4725 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4727 * texrow.[Ch] (increasePos): remove function
4728 * exporter.C (export): removed unused var and outdated comment
4730 2003-05-23 Angus Leeming <leeming@lyx.org>
4732 * latexrunparams.h: rename fragile as moving_arg.
4733 * paragraph.C (simpleTeXOnePar): ditto.
4734 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4736 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4738 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4740 (textUndoOrRedo): comment out a currently unused var.
4742 * paragraph.h (NO_NEXT): enable NO_NEXT
4744 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4746 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4748 * exporter.C (Export): adjust for removeAutoInsets removal.
4750 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4752 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4754 * BufferView.[Ch] (removeAutoInsets): delete function
4756 2003-05-22 Angus Leeming <leeming@lyx.org>
4758 * latexrunparams.h: add a free_spacing variable.
4760 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4761 to pass moving_arg, as the data is stored in runparams.fragile.
4763 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4764 to Inset::latexOptional or to simpleTeXOnePar.
4766 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4767 free_spacing arg to Inset::latexOptional.
4769 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4772 2003-05-22 Angus Leeming <leeming@lyx.org>
4774 * latexrunparams.h: add fragile and use_babel variables.
4776 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4777 * buffer.C (makeLaTeXFile): store this returned value in
4778 runparams.use_babel, thus passing it to the inset::latex methods.
4780 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4781 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4783 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4784 longer has a fragile arg, as it is stored in runparams.fragile.
4786 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4787 moving_arg parameter as the data is stored in runparams.fragile.
4789 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4790 a fragile parameter as the data is stored in runparams.fragile.
4792 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4794 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4796 2003-05-22 Angus Leeming <leeming@lyx.org>
4798 * latexrunparams.h: add a 'bool nice' which defaults to false.
4800 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4801 now encapsulated within runparams.
4803 * bufferlist.C (updateIncludedTeXfiles):
4804 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4806 2003-05-22 Angus Leeming <leeming@lyx.org>
4808 * latexrunparams.h: new file containing struct LatexRunParams.
4809 * Makefile.am: add new file.
4811 * LaTeX.[Ch] (c-tor, run):
4812 * buffer.[Ch] (makeLaTeXFile):
4813 * bufferlist.[Ch] (updateIncludedTeXfiles):
4814 * converter.C (convert, scanLog):
4815 * converter.[Ch] (runLaTeX):
4816 * exporter.C (Export):
4817 * paragraph.[Ch] (simpleTeXOnePar):
4818 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4819 * paragraph_funcs.[Ch] (latexParagraphs):
4820 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4821 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4822 pass around a LatexRunParams parameter.
4824 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4826 * paragraph.[Ch]: remove unused constructor
4828 * ParagraphList.C (erase): new function, taking two iterators
4830 2003-05-22 André Pönitz <poenitz@gmx.net>
4832 * undo_funcs.C: remove duplicated code
4834 * iterator.[Ch]: operator=
4836 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4838 * tabular.C (SetMultiColumn): ws changes
4840 * rowpainter.C (paintFirst): get rid of a ->previous
4842 * lyx_cb.C (getPossibleLabel): parlist simplification
4844 * BufferView.C (ChangeInsets): simplify slightly.
4846 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4848 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4849 * lfuns.h: new LFUN_SPACE
4850 * lyxfunc.C: protected space has a new lfun
4851 * paragraph_funcs.C: read new space insets
4853 * factory.C: handle new space insets
4855 2003-05-22 André Pönitz <poenitz@gmx.net>
4858 * BufferView_pimpl.C:
4861 * undo_funcs.C: return a ParIterator from getParFromID.
4863 * iterators.[Ch]: add two const's
4865 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4867 * toc.C (getTocList): adjust
4869 * iterators.[Ch]: rework for parlist
4871 * buffer.C (par_iterator_begin): adjust
4872 (par_iterator_end): adjust
4874 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4876 * BufferView.C (removeAutoInsets): adjust
4877 (ChangeInsets): adjust
4879 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4881 * text.C (top_y): fix bug 1110
4883 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4885 * errorlist.[Ch]: added
4888 * BufferView_pimpl.C:
4889 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4892 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4894 * Makefile.am: ensure that lyx is relinked upon changes to the
4895 various "convenience" libs.
4897 2003-05-20 Angus Leeming <leeming@lyx.org>
4899 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4900 files are compiled in alphabetical order again.
4902 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4904 2003-05-19 Angus Leeming <leeming@lyx.org>
4906 * gettext.[Ch]: remove "char const * _(char const *)".
4908 2003-05-19 André Pönitz <poenitz@gmx.net>
4910 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4919 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4921 2003-05-19 André Pönitz <poenitz@gmx.net>
4925 * lyxtextclass.[Ch]:
4927 * paragraph_funcs.[Ch]:
4929 * text3.C: more insetenv work
4931 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4933 * ParagraphParameters.C (params2string): small bug fixed
4935 2003-05-16 André Pönitz <poenitz@gmx.net>
4938 * bufferview_funcs.C: patch from Kornel Benko to prevent
4939 crash when _(...) is called twice in a statement
4941 2003-05-16 André Pönitz <poenitz@gmx.net>
4948 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4950 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4952 * lyx_main.C (init): remove spurious static_cast
4954 2003-05-14 André Pönitz <poenitz@gmx.net>
4956 * BufferView.C: fix format string
4958 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4960 * BufferView.[Ch] (insertErrors): removed
4961 * BufferView.[Ch] (showErrorList): added
4962 * buffer.C (runChkTeX):
4963 * converter.C (scanLog): call showErrorList instead of inserterrors
4965 2003-05-13 André Pönitz <poenitz@gmx.net>
4967 * BufferView_pimpl.C:
4969 * bufferview_func.C:
4976 * tabular_funcs.h: tostr() from its own header
4978 * ParagraphParameters.C:
4983 * text3.C: STRCONV()
4985 2003-05-12 André Pönitz <poenitz@gmx.net>
4988 * BufferView_pimpl.C:
4992 * ParagraphParameters.C:
4996 * bufferview_funcs.C:
5009 * paragraph_funcs.C:
5013 * text3.C: boost::format -> bformat all over the place
5016 2003-05-09 André Pönitz <poenitz@gmx.net>
5018 * LColor.[Ch]: Pimpl the #include <map> away
5020 2003-05-09 John Levon <levon@movementarian.org>
5022 * bufferlist.C: never remove emergency saves
5024 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5026 * Makefile.am: better lib building
5028 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5030 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5032 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5033 (simpleTeXSpecialChars): adjust
5034 (simpleTeXSpecialChars): adjust
5035 * paragraph.C (simpleTeXOnePar): adjust
5036 * buffer.C (makeLaTeXFile): adjust
5038 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5040 * text2.C (changeDepth): parlist cleanup
5041 (getColumnNearX): ditto
5043 * rowpainter.C (getLabelFont): parlist cleanup
5045 * bufferlist.C (newFile): parlist cleanup
5047 * CutAndPaste.C (eraseSelection): parlist cleanup
5049 * BufferView_pimpl.C (trackChanges): parlist cleanup
5052 * BufferView.C (lockInset): parlist cleanup.
5053 (ChangeInsets): ditto
5055 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5057 * CutAndPaste.h: Update file header.
5059 * CutAndPaste.C: Update file header.
5060 Store the parts cut out of the Document in a limited_stack.
5061 (copySelection): adjust
5062 (pasteSelection): new function, takes the index in the limited stack.
5063 (nrOfParagraphs): adjust
5064 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5065 simplify error inset insertion.
5066 (checkPastePossible): adjust
5068 2003-05-06 John Levon <levon@movementarian.org>
5070 * text2.C: don't cast wrap inset to float
5072 2003-05-05 André Pönitz <poenitz@gmx.net>
5075 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5077 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5078 few naked Paragraph *.
5080 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5082 * bufferparams.C: Output warning if a document with missing
5083 TeX document class is loaded
5084 * exporter.C: Disable TeX exports if the document class is missing
5087 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5088 isTeXClassAvailable()
5090 2003-05-03 John Levon <levon@movementarian.org>
5093 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5094 explicit cursor show/hide
5096 * BufferView_pimpl.h:
5097 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5098 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5100 * lyxfunc.C: hide cursor before dispatching.
5105 * text3.C: remove explicit cursor hides
5107 2003-05-02 André Pönitz <poenitz@gmx.net>
5109 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5112 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5115 * text2.C: tiny whitespace
5117 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5119 * undo_funcs.C: almost only ws changes.
5121 * ParagraphList.C (splice): just return if pl is empty.
5123 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5125 * ParagraphList.C (splice): new function.
5127 * CutAndPaste.C (pasteSelection): use it
5129 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5131 * CutAndPaste.C (pasteSelection): remove the last next and
5132 previous from this file.
5134 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5136 * CutAndPaste.C (pasteSelection): more clean up, user proper
5137 ParagraphList functions for pasteing.
5139 * ParagraphList.C (insert): new function, three arg insert
5141 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5143 * ParagraphList.C (insert): new function, three arg insert
5145 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5148 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5150 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5152 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5154 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5156 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5158 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5159 (copySelection): clean up a bit.
5160 (pasteSelection): use make_pair
5162 * ParagraphList.C (ParagraphList): implement copy constructor
5163 (operator=): implement, base on copy constructor.
5166 * paragraph.C (erase): return a bool
5168 * paragraph_pimpl.C (erasePos): remove function, move contents...
5169 (erase): ... here. Return a bool.
5170 (erase): call erase instead of erasePos.
5172 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5174 * ParagraphList.h: define PitPosPair
5175 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5176 ParagraphList, fix a bug on pasting multiple pars
5177 * text2.C: change interface to C&P
5179 2003-04-30 André Pönitz <poenitz@gmx.net>
5181 * undo_func.C: revert part of yesterday's patch 2
5183 2003-04-30 John Levon <levon@movementarian.org>
5185 * LColor.C: s/tabular/table/
5187 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5189 * text3.C (dispatch): do not convert iterator -> pointer
5190 * undo_funcs.C (setCursorParUndo): ditto
5191 * text_funcs.C (transposeChars): ditto
5193 * text2.C (setLayout): ws changes only
5195 * text.C (breakParagraph): do not convert iterator -> pointer
5197 (acceptChange): ditto
5198 (rejectChange): ditto
5203 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5206 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5208 * text3.C (gotoInset): YABG (yet another bad getChar)
5210 2003-04-29 André Pönitz <poenitz@gmx.net>
5212 * paragraph.h: make operator= private unimplemented as long as
5215 * ParagraphList.C: whitespace
5218 * paragraph_pimpl.[Ch]:
5219 * paragraph_funcs.C:
5221 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5224 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5226 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5228 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5229 * paragraph.[Ch] (erase):
5230 * paragraph_pimpl.[Ch] (erase): change return type and value
5231 * text2.C (cutSelection): some rework
5233 2003-04-28 John Levon <levon@movementarian.org>
5235 * bufferlist.C: changes for unsaved changes dialog
5237 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5239 * bufferlist.C (newFile): set language (messages_) for new
5242 * buffer.C (readFile): ws changes only.
5244 2003-04-28 André Pönitz <poenitz@gmx.net>
5249 * BufferView_pimpl.C:
5250 * BufferView.C: getParFromID related ParagraphList::iterator changes
5252 2003-04-28 André Pönitz <poenitz@gmx.net>
5254 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5257 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5259 * messages.C: remove one more localedir class variable.
5261 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5263 * messages.C (getLocaleDir): singleton generation function
5265 (Messages): add a default constructor.
5267 * main.C (main): do not setup localedir here, do not call
5270 * gettext.C (_): use it.
5271 (gettext_init): delete funciton
5273 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5275 * gettext.C (getLyXMessages): new singleton generating function.
5277 * buffer.C (updateDocLang): adjust
5279 * Makefile.am (messages.o): add target
5280 (main.o): remove target
5282 2003-04-27 John Levon <levon@movementarian.org>
5287 * lyxvc.C: specify cancel button in Alert::prompt
5289 2003-04-26 John Levon <levon@movementarian.org>
5294 * LyXAction.C: add LFUN_INSET_SETTINGS
5296 * lyxfunc.C: don't enable tabular-feature when there's
5297 just any locking inset
5299 2003-04-26 John Levon <levon@movementarian.org>
5301 * bufferlist.C: re-add Cancel to buffer close question
5303 * lyxfunc.C: fix import UI a bit
5305 2003-04-25 John Levon <levon@movementarian.org>
5307 * gettext.C: remove the broken asserts for now
5309 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5311 * messages.C: make case where setlocale cannot comply work better.
5313 * buffer.C (updateDocLang): new function
5314 (changeLanguage): use it
5317 * text2.C (setCounter): use B_ a bit.
5319 * lyxlayout.C (Read): be sure to trim the label strings.
5321 * messages.C (Messages): fix typo in comment
5323 * buffer.C (readFile): set message_ after file is loaded.
5324 (makeDocBookFile): remove double return
5325 (changeLanguage): reset message_ upon language change.
5326 (B_): new func, use this to get translated buffer strings.
5328 * main.C: add myself and Jean Marc as authors.
5330 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5332 * messages.[hC]: pimplify Messages, and three different pimpls to be
5333 used in different circumstances.
5335 * gettext.[Ch]: change for use with new message code.
5337 2003-04-24 André Pönitz <poenitz@gmx.net>
5339 * factory.C: support for eqref
5341 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5343 * messages.[Ch]: add missing char
5345 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5347 * messages.[Ch]: New files
5349 2003-04-18 John Levon <levon@movementarian.org>
5353 * BufferView_pimpl.C:
5357 * text2.C: remove layout-copy/paste (bug 778)
5359 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5361 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5363 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5365 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5366 if they succeed. Act accordingly.
5368 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5370 * text2.C (setCharFont): adjust
5371 (setCounter): adjust
5372 (insertStringAsLines): adjust
5374 * text.C (leftMargin): adjust
5375 (setHeightOfRow): adjust
5377 * rowpainter.C (paintFirst): adjust
5380 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5382 (isFirstInSequence): ditto
5383 (getEndLabel): ditto
5386 * paragraph.C (getParLanguage): comment out some hard stuff.
5388 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5390 (simpleDocBookOnePar): ditto
5391 (makeDocBookFile): use ParagraphList::iterator
5393 * CutAndPaste.C (pasteSelection): adjust
5395 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5397 * text2.C (getFont): adjust
5398 (getLayoutFont): adjust
5399 (getLabelFont): adjust
5401 * paragraph_funcs.C (TeXOnePar): adjust
5403 * buffer.C (simpleLinuxDocOnePar): adjust
5404 (simpleDocBookOnePar): adjust
5406 * CutAndPaste.C (pasteSelection): adjust
5408 * BufferView.C (getEncoding): adjust
5410 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5412 2003-04-16 John Levon <levon@movementarian.org>
5414 * lyxfind.C: use parlist stuff for search/changes
5416 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5418 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5420 * text2.C (deleteEmptyParagraphMechanism): adjust
5422 * text2.[Ch] (ownerParagraph): delete func (both of them
5424 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5426 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5428 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5430 * ParagraphList.C: prepare for NO_NEXT
5432 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5434 * text2.C (getFont): adjust
5435 (getLayoutFont): adjust
5436 (getLabelFont): adjust
5438 * paragraph.C (getFont): adjust
5439 (getLabelFont): adjust
5440 (getLayoutFont): adjust
5442 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5444 2003-04-15 John Levon <levon@movementarian.org>
5448 * lyx_main.C: handle Include in .ui files
5450 2003-04-15 John Levon <levon@movementarian.org>
5452 * MenuBackend.C: make the doc files length shorter
5455 * ToolbarBackend.C: handle toolbar placement flags,
5458 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5460 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5463 * paragraph_funcs.C (TeXOnePar): adjust
5465 * paragraph.C (getLabelFont): add outerfont arg, adjust
5466 (getLayoutFont): ditto
5467 (simpleTeXOnePar): adjust
5469 * paragraph_pimpl.C (realizeFont): delete func
5471 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5473 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5474 row argument, constify cur argument.
5476 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5478 * text2.C (getFont): adjust
5479 (getLayoutFont): adjust
5480 (getLabelFont): adjust
5482 * paragraph_funcs.C (TeXOnePar): adjust
5483 (outerFont): new func...
5484 (realizeFont): ...moved out from here, changed this to facilitate
5487 * paragraph.C (getFont): take outerfont as arg, adjust
5488 (simpleTeXOnePar): add outerfont arg, adjust
5490 * buffer.C (simpleLinuxDocOnePar): adjust
5491 (simpleDocBookOnePar): adjust
5493 * CutAndPaste.C (pasteSelection): adjust
5495 * BufferView.C (getEncoding): adjust
5497 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5499 * text2.C (setCharFont): adjust
5500 (setCounter): adjust
5502 * text.C (leftMargin): adjust
5503 (setHeightOfRow): adjust
5505 * rowpainter.C (paintFirst): adjust
5508 * paragraph_pimpl.C (realizeFont): adjust
5510 * paragraph.C (isFirstInSequence): move from here...
5511 * paragraph_funcs.C (isFirstInSequence): ...to here
5513 * paragraph.C (outerHook): move from here...
5514 * paragraph_funcs.C (outerHook): ...to here
5516 * paragraph.C (depthHook): move from here...
5517 * paragraph_funcs.C (depthHook): ...to here
5519 * paragraph.C (getEndLabel): move from here...
5520 * paragraph_funcs.C (getEndLabel): ...to here
5522 * text2.C (realizeFont): move from here...
5523 * paragraph_funcs.C (realizeFont): ...to here
5525 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5527 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5529 2003-04-14 Angus Leeming <leeming@lyx.org>
5531 * LColor.[Ch]: scrap LColor mathcursor.
5533 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5535 * lyxlex.[Ch] (text): delete function
5536 * trans.C (Load): adjust
5537 * paragraph_funcs.C (readParToken): adjust
5539 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5541 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5542 vector<char> instead of a char[].
5544 * lyxlex_pimpl.C (getString): adjust
5546 (lex): use getString
5550 * lyxlex.C (text): use pimpl_->getString()
5554 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5556 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5557 (makeFontEntriesLayoutSpecific): temp var for par.size()
5558 (setLayout): temp var for ownerParagraphs().end()
5559 (fullRebreak): temp var for rows().end()
5560 (selectionAsString): temp var for boost::next(startpit), realize
5561 that the while really is a regular for loop.
5562 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5563 setCursor in one place.
5564 (setParagraph): temp vr for ownerParagraphs().end()
5565 (updateCounters): make the while loop a for loop
5566 (cutSelection): temp var for ownerParagraphs().end()
5567 (updateInset): make the do {} while() a regular for loop
5568 (getCursorX): use temp vars
5569 (setCurrentFont): use temp vars
5570 (getColumnNearX): use temp vars
5572 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5574 * text.C (transformChar): use temp var for getChar
5575 (computeBidiTables): use temp var for row->par()
5576 (fill): move temp vars for row->par() and pit->layout() earlier in
5578 (labelFill): use temp var for row->par()
5579 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5580 asc and desc, realize that pit never changes and that firstpit is
5581 just a duplicate and not needed. Exchange rit->par() with pit in a
5583 (breakAgain): use a temp var for boost::next(rit)
5584 (breakAgainOneRow): ditto
5585 (breakParagraph): use a temp var for rows().begin()
5586 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5587 (cursorRightOneWord): use temp var for cursor.par() and
5588 cursor.pos(), remove usage of tmpcursor.
5589 (cursorLeftOneWord): use temp var for cursor.par() and
5590 cursor.pos() only set cur at end of function.
5592 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5594 * text.C, text2.C: exchange all usage of Paragraph::next with
5595 boost::next(ParagraphList::iterator)
5597 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5599 * text2.C (cursorTop): simplify implementation
5600 (cursorBottom): ditto
5601 (setParagraph): use ParagraphList::iterator
5602 (setCurrentFont): adjust
5603 (getColumnNearX): adjust
5604 (cursorRight): adjust
5605 (cursorLeft): remove usage of Paragraph::previous
5606 (cursorUpParagraph): ditto
5607 (deleteEmptyParagraphMechanism): slight cleanup
5609 * text.C (isBoundary): take a Paragraph const & instead of a
5611 (addressBreakPoint): ditto
5612 (leftMargin): remove usage of Paragraph::previous.
5613 (setHeightOfRow): ditto
5614 (cursorLeftOneWord): ditto
5615 (selectNextWordToSpellcheck): ditto
5618 (breakParagraph): remove one usage of Paragraph::next
5619 (redoParagraph): ditto
5620 (acceptChange): ditto
5621 (insertChar): adjust
5622 (rowBreakPoint): adjust
5624 * bufferview_funcs.C (toggleAndShow): adjust
5626 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5628 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5629 methods to access it.
5631 * text.C: Added updateRowPositions to compute all row positions.
5632 Make top_y and getRowNearY() to use the cached y position
5634 2003-04-11 John Levon <levon@movementarian.org>
5636 * text.C (rowBreakPoint): reintroduce the labelEnd
5637 checks, code copied from the row fill stuff. Deep voodoo.
5639 * text.C (fill): add a comment and debugging for the
5642 2003-04-11 John Levon <levon@movementarian.org>
5644 * text.C: make sure fullrow insets get wrapped to the next line,
5645 even when they're in a manual label
5647 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5649 * text2.C (insertParagraph): make it take ParagraphList::iterator
5651 (setLayout): make it return ParagraphList::iterator
5652 (redoParagraphs): ditto
5654 (checkParagraph): ditto
5656 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5658 * text2.C: adjust several funcs.
5659 (realizeFont): take a ParagraphList::iterator as arg.
5660 (getLayoutFont): ditto
5661 (getLabelFont): ditto
5662 (setCharFont): ditto
5664 * text.C: adjust several funcs.
5666 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5668 * text.C (selectNextWordToSpellcheck): don't accidentally
5671 2003-04-10 John Levon <levon@movementarian.org>
5673 * ToolbarBackend.C (getIcon): special handling for
5676 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5678 * text2.C (cursorRight): a getChar assert fixed
5680 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5682 * text2.C (getFont): change to take a ParagraphList::iterator
5683 instead of Paragraph*
5684 Adjust several functions.
5686 * text.C (transformChar): change to take a ParagraphList::iterator
5687 instead of Paragraph*
5688 (singleWidth): ditto
5689 Adjust several functions.
5691 * rowpainter.C: adjust several functions
5692 * rowpainter.h:store a ParagraphList::iterator and not a
5696 2003-04-09 John Levon <levon@movementarian.org>
5701 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5702 and the "help" bits as well
5704 2003-04-09 John Levon <levon@movementarian.org>
5707 * ToolbarBackend.C: allow multiple toolbars
5709 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5711 * undo_funcs.C (setCursorParUndo): adjust
5713 * text_funcs.C (transposeChars): adjust
5715 * text3.C (gotoNextInset): adjust
5718 * text2.C (setLayout): adjust
5719 (changeDepth): adjust
5721 (redoParagraphs): adjust
5722 (selectionAsString): adjust
5723 (setParagraph): adjust
5724 (insertInset): adjust
5725 (cutSelection): adjust
5726 (copySelection): adjust
5727 (pasteSelection): adjust
5728 (insertStringAsLines): adjust
5729 (updateInset): adjust
5730 (setCursor): change to take a ParagraphList::iterator parameter
5731 (setCursorIntern): change to take a ParagraphList::iterator parameter
5732 (setCurrentFont): adjust
5733 (cursorLeft): adjust
5734 (cursorRight): adjust
5735 (deleteEmptyParagraphMechanism): adjust
5737 * text.C (breakParagraph): adjust
5738 (insertChar): adjust
5739 (acceptChange): adjust
5740 (rejectChange): adjust
5741 (selectNextWordToSpellcheck): adjust
5742 (changeCase): adjust
5746 * lyxfind.C (SearchForward): adjust
5747 (SearchBackward): adjust
5748 (nextChange): adjust
5750 * lyxcursor.C (par): adjust
5752 * lyxcursor.h: store a ParagraphList::iterator instead of a
5755 * lyx_cb.C (getPossibleLabel): adjust
5757 * bufferview_funcs.C (toggleAndShow): adjust
5759 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5762 * BufferView.C (removeAutoInsets): adjust
5763 (lockedInsetStoreUndo): adjust
5765 2003-04-09 John Levon <levon@movementarian.org>
5767 * ToolbarBackend.C: try icon without argument
5768 if with argument fails
5770 2003-04-08 John Levon <levon@movementarian.org>
5773 * ToolbarBackend.C: add getIcon(), handle tooltip,
5774 and change from "Icon" to "Item".
5776 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5778 * BufferView.C (lockInset): another bad getchar crunched
5780 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5782 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5785 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5787 * lyxfind.C (searchForward, searchBackwards): bug 782
5789 2003-04-07 John Levon <levon@movementarian.org>
5791 * paragraph.C: remove dead comment
5793 * text.C: remove troublesome depth-fiddling code
5794 in leftMargin() and rightMargin() (bug 1017)
5796 * text.C: fix breaking of rows in nested lists
5799 * text2.C (updateCounters): fix up depth values
5802 2003-04-07 John Levon <levon@movementarian.org>
5804 * BufferView_pimpl.C: clear message when doc finishes resizing,
5805 and after a mouse event
5807 * lyxfunc.C: clear message after exiting inset
5809 2003-04-07 John Levon <levon@movementarian.org>
5811 * bufferview_funcs.C: show math status not outside
5812 status in the statusbar
5814 2003-04-07 John Levon <levon@movementarian.org>
5816 * lyxfunc.C: note status changed after a depth change
5818 2003-04-04 Angus Leeming <leeming@lyx.org>
5820 * LaTeX.h: move AuxInfo operator==, != out of line.
5821 Remove LaTeX virtual destructor; nothing derives from it.
5822 Move operator()() out of public area and rename it startscript().
5823 Change protected for private.
5825 2003-04-04 Angus Leeming <leeming@lyx.org>
5828 * text2.C: remove unneeded #includes.
5830 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5832 * text2.C (dEPM): fix the heigth of the next row
5834 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5836 * text.C: squashed an invalid getChar requester + some ws changes
5838 2003-04-03 John Levon <levon@movementarian.org>
5840 * bufferview_funcs.h:
5841 * bufferview_funcs.C:
5844 * text2.C: make getStatus work for the env depth lfuns
5846 2003-04-03 John Levon <levon@movementarian.org>
5848 * bufferview_funcs.h:
5849 * bufferview_funcs.C:
5852 * text2.C: parlistize decDepth(), by merging it with incDepth()
5854 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5856 * lyxrow.h: store a ParagraphList::iterator instead of a
5857 Paragraph* and adjust other class functions to suit.
5859 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5862 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5864 * text2.C (setCursor): do not anchor to cursor row for the time being
5866 2003-04-02 John Levon <levon@movementarian.org>
5873 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5875 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5877 * paragraph.h: make ParagraphList and ParagraphList::iterator
5878 friends of Paragraph.
5880 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5882 * ParagraphList.C: Use the private next_ and previous_ from
5885 2003-04-01 John Levon <levon@movementarian.org>
5889 * Makefile.am: rename, remove defaults gunk
5892 * MenuBackend.C: remove defaults gunk
5895 * Languages.C: remove defaults gunk
5898 * lyx_main.C: error out if files couldn't be found.
5900 2003-04-02 John Levon <levon@movementarian.org>
5902 * text2.C: make incDepth() use parlist
5904 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5906 * undo_funcs.C (firstUndoParagraph): adjust
5908 * text3.C (gotoInset): adjust
5909 (dispatch): adjust, and rewrite loop.
5911 * text2.C (init): adjust, and rewrite loop.
5912 (redoParagraphs): adjust
5913 (updateInset): adjust, and rewrite loop.
5914 (deleteEmptyParagraphMechanism): adjust
5916 * tabular.C (LyXTabular): adjust
5917 (SetMultiColumn): adjust
5920 * lyxtext.[Ch] (ownerParagraph): delete function
5921 (ownerParagraphs): new function returns a ParagraphList.
5923 * BufferView.C (removeAutoInsets): adjust
5924 (insertErrors): adjust
5925 (setCursorFromRow): adjust
5927 2003-04-01 Angus Leeming <leeming@lyx.org>
5929 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5932 2003-04-02 John Levon <levon@movementarian.org>
5938 * text_funcs.C: make transposeChars a free function
5940 * lyxrow_funcs.C: remove wrong comment
5942 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5945 * rowpainter.C: adjust
5950 * lyxrow_funcs. [Ch]: new files
5952 * lyxrow.[Ch]: remove next and previous pointers
5953 (next,previous): remove accessor functions
5954 (isParEnd): move to lyxrow_funcs
5955 (lastPos): move to lyxrow_funcs
5956 (nextRowIsAllInset): move to lyxrow_funcs
5957 (lastPrintablePos): move to lyxrow_funcs
5958 (numberOfSeparators): move to lyxrow_funcs
5959 (numberOfHfills): move to lyxrow_funcs
5960 (numberOfLabelHfills): move to lyxrow_funcs
5961 (hfillExpansion): move to lyxrow_funcs
5965 * bufferview_funcs.C (toggleAndShow): adjust
5967 * RowList.h: Remove class RowList from file leave just a
5970 * RowList.C: delete file
5972 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5975 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5977 * text3.C (cursorPrevious): adjust
5978 (cursorNext): adjust
5981 * text2.C (redoHeightOfParagraph): adjust
5982 (redoDrawingOfParagraph): adjust
5985 * text.C (breakParagraph): adjust
5986 (insertChar): adjust
5989 * rowpainter.C (RowPainter): adjust
5990 (leftMargin): simplify and adjust
5991 (most rowpainter functions): adjust.
5993 * rowpainter.h: store the row as RowList::iterator not as Row*
5995 * lyxcursor.C (row): taka RowList::iterator as arg
5998 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6001 2003-04-01 Angus Leeming <leeming@lyx.org>
6003 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6004 stuff like bool Bool.
6006 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6008 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6011 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6013 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6016 * lyxtext.h (rows): drop one version and leve a const variant that
6017 returns a RowList::iterator.
6019 2003-03-31 Angus Leeming <leeming@lyx.org>
6021 * text.C (fill): ensure that the signature is the same as that in the
6024 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6026 * text2.C (redoParagraphs): adjust
6027 (updateCounters): adjust
6028 (checkParagraph): adjust
6029 (getColumnNearX): adjust and reformat a bit.
6031 * text.C (top_y): adjust
6033 (leftMargin): adjust
6034 (prepareToPrint): adjust
6036 (getRowNearY): adjust
6038 * lyxtext.h: make rowlist_ mutable.
6040 * RowList.h: add const_iterator
6041 * RowList.C: adjust for RowList::const_iterator.
6043 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6046 2003-03-31 John Levon <levon@movementarian.org>
6049 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6051 * lyx_main.C: set default fonts from using lyx_gui funcs
6053 * exporter.C: pdf_mode moved from lyxrc
6056 * lyxfunc.C: changes from above
6058 2003-03-31 John Levon <levon@movementarian.org>
6060 * lyx_main.C: fix to the last fix
6062 2003-03-31 John Levon <levon@movementarian.org>
6064 * bufferlist.C: "Load original" -> "Load Original"
6070 * format.C: more Alert cleanups
6072 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6074 * text2.C (removeParagraph): make it take a RowList::iterator as
6076 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6077 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6079 * text.C (anchor_row): make it take a RowList::iterator as arg,
6081 (computeBidiTables): make it take a const reference to Row instead
6082 of Row pointer, adjust.
6083 (leftMargin): make it take a RowList::iterator as arg, adjust.
6084 (rowBreakPoint): adjust
6085 (breakAgainOneRow): make it take a RowList::iterator as arg,
6087 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6089 * bufferview_funcs.C (toggleAndShow): adjust
6091 2003-03-30 John Levon <levon@movementarian.org>
6095 * boost-inst.C: moved to support
6097 * several files: changes as a result
6099 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6101 * text2.C (LyXText): adjust.
6103 (removeRow): make it take a RowList::iterator as arg, adjust.
6104 (fullRebreak): adjust
6105 (deleteEmptyParagraphMechanism): adjust
6106 (clearPaint): adjust
6109 * text.C (top_y): adjust
6110 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6111 (breakAgain): make it take a RowList::iterator as arg, adjust.
6112 (breakParagraph): adjust
6113 (insertChar): adjust
6116 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6117 need_break_row, and refresh_row.
6119 * text3.C (dispatch): adjust
6121 * text2.C (checkParagraph): adjust
6123 (setCursorFromCoordinates): adjust
6125 * text.C (top_y): adjust
6127 (getRow): make it return a RowList::iterator, adjust
6128 (getRowNearY): make it return a RowList::iterator, adjust
6130 * text2.C (init): adjust
6131 (insertRow): remove function
6132 (insertParagraph): adjust
6133 (redoParagraphs): adjust
6134 (fullRebreak): adjust
6135 (updateCounters): adjust
6137 * text.C (top_y): rewrite to use RowList iterators.
6139 (setHeightOfRow): rewrite to sue RowList iterators.
6140 (appendParagraph): adjust
6141 (breakAgain): adjust
6142 (breakAgainOneRow): adjust
6143 (breakParagraph): adjust
6145 (getRowNearY): adjust, and remove commented code.
6147 * lyxtext.h (firstRow): delete function
6148 (lastRow): delete function
6149 (rows): new function (const and non-const versions.)
6150 (insertRow): delete function
6152 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6154 2003-03-29 John Levon <levon@movementarian.org>
6156 * BufferView_pimpl.C: always update scrollbar top
6157 because pasting text when we're anchored could mean we
6158 miss an update altogether
6160 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6162 * text2.C (init): use rowlist_.end() and not 0.
6163 (insertRow): change to take a RowList::iterator as arg, adjust
6165 (insertParagraph): change to take a RowList::iterator as arg,
6167 (redoParagraphs): remove some debug msgs.
6169 * text.C (appendParagraph): change to take a RowList::iterator
6170 arg, adjust for this.
6171 (breakAgain): add an assert
6172 (breakAgainOneRow): ditto
6174 2003-03-29 John Levon <levon@movementarian.org>
6176 * text2.C: do not clear selection after inc/decDepth
6179 2003-03-29 John Levon <levon@movementarian.org>
6182 * buffer.C: fix broken strerrors according to Lars
6184 2003-03-29 John Levon <levon@movementarian.org>
6186 * converters.C: more Alert cleanups
6188 2003-03-29 John Levon <levon@movementarian.org>
6190 * bufferview_funcs.C: remove pointless Alert
6192 * buffer.C: fix confusing error message when
6193 a template is chmoded 000
6195 2003-03-29 John Levon <levon@movementarian.org>
6199 * BufferView_pimpl.C: Alert fixes
6203 * tabular-old.C: remove unused table compat reading
6205 2003-03-29 John Levon <levon@movementarian.org>
6210 * lyx_cb.C: more Alert cleanups
6212 * lyxfunc.C: don't allow chktex if not latex document
6214 2003-03-29 John Levon <levon@movementarian.org>
6218 * buffer.C: warnings pushed down from support/,
6221 2003-03-29 John Levon <levon@movementarian.org>
6223 * lyxfunc.C: safety check for C-r (revert)
6225 2003-03-29 John Levon <levon@movementarian.org>
6228 * bufferlist.C: several UI fixes using Alert::prompt.
6229 Fix the pointless looping quit code. Fix stupid revert
6234 * lyx_cb.C: use Alert::prompt
6236 * lyx_main.C: remove a silly question
6238 * lyxfunc.C: remove a couple of silly questions,
6241 2003-03-28 John Levon <levon@movementarian.org>
6243 * text2.C: fix bug 974 (End on empty par)
6245 2003-03-28 John Levon <levon@movementarian.org>
6247 * BufferView_pimpl.C:
6249 * lfuns.h: remove do-nothing math greek lfuns
6251 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6253 * lyxgluelength.h (isValidGlueLength): add default arg on
6254 parameter 2. Remove default arg from friend in class.
6256 * lyxlength.h (isValidLength): add default arg on parameter 2.
6257 Remove default arg from friend in class.
6259 * text2.C (LyXText): adjust, initialize refresh_row.
6263 (insertParagraph): adjst
6264 (redoParagraphs): adjust
6265 (fullRebreak): adjust
6266 (updateCounters): adjust
6267 (deleteEmptyParagraphMechanism): first attempt at fixing a
6270 * text.C (top_y): adjust
6271 (setHeightOfRow): adjust
6273 (getRowNearY): adjust
6275 * lyxtext.h: include RowList.h
6276 (~LyXText): not needed anymore, deleted.
6277 (firstRow): modify for RowList
6278 (lastRow): new function
6279 Delete firstrow and lastrow class variables, add a Rowlist
6280 rowlist_ class variable.
6282 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6285 * RowList.C (insert): fix case where it == begin().
6287 2003-03-26 Angus Leeming <leeming@lyx.org>
6289 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6290 the thesaurus dialog.
6292 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6294 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6296 * RowList.[Ch]: new files
6298 * ParagraphList.C (erase): handle the case where it == begin
6301 2003-03-25 John Levon <levon@movementarian.org>
6305 * aspell.C: add new aspell support
6308 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6311 2003-03-25 Angus Leeming <leeming@lyx.org>
6314 * LyXAction.C (init): new LFUN_INSET_INSERT.
6316 * BufferView_pimpl.C (dispatch): split out part of the
6317 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6319 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6322 2003-03-25 Angus Leeming <leeming@lyx.org>
6324 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6326 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6329 * text3.C: remove useless row->height(0)
6331 2003-03-25 John Levon <levon@movementarian.org>
6335 * text3.C: rename the refreshing stuff to better names
6337 2003-03-24 John Levon <levon@movementarian.org>
6339 * BufferView_pimpl.h:
6340 * BufferView_pimpl.C: update layout choice on a mouse
6343 2003-03-23 John Levon <levon@movementarian.org>
6345 * Makefile.am: fix commandtags.h reference
6347 2003-03-22 John Levon <levon@movementarian.org>
6349 * BufferView_pimpl.C:
6354 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6356 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6359 * text.C: take the rtl methods out of line
6361 2003-03-21 André Pönitz <poenitz@gmx.net>
6363 * metricsinfo.[Ch]: new files containing structures to be passed around
6364 during the two-phase-drawing...
6366 2003-03-21 André Pönitz <poenitz@gmx.net>
6368 * lyxtextclass.C: read 'environment' tag.
6370 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6372 * text2.C (removeRow): fix bug 964
6374 2003-03-20 John Levon <levon@movementarian.org>
6378 * text2.C: paint cleanups. Inset::update() dropped font
6381 2003-03-19 John Levon <levon@movementarian.org>
6383 * lyxfunc.C: only fitcursor/markDirty if available()
6385 2003-03-19 John Levon <levon@movementarian.org>
6387 * commandtags.h: rename to ...
6389 * lfuns.h: ... this, and renumber / cleanup
6391 2003-03-19 John Levon <levon@movementarian.org>
6393 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6394 fit the cursor after an lfun
6398 * BufferView_pimpl.h:
6399 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6401 * LyXAction.C: layout-character should have ReadOnly
6403 * ParagraphParameters.C:
6405 * bufferview_funcs.C:
6412 * undo_funcs.C: changes from above
6414 2003-03-18 John Levon <levon@movementarian.org>
6416 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6417 remove it from update()
6419 * lyxfunc.C: update layout choice after an lfun
6421 * text3.C: remove extra updateLayoutChoice()s
6423 2003-03-18 John Levon <levon@movementarian.org>
6425 * text.C: top_y change means full repaint, fix
6426 a drawing bug with cursor movement
6428 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6432 * text2.C: anchor row on setCursor
6434 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6436 * lyxtext.h: remove almost all mutable keywords
6439 * text3.C: remove const keywords accordingly
6441 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6443 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6445 (TeXEnvironment): ditto
6448 2003-03-17 John Levon <levon@movementarian.org>
6450 * text.C (rowBreakPoint): remove attempt to fix displayed
6451 math insets inside a manual label
6453 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6455 * lyxtext.h: remove BufferView* as first arg from almost all class
6457 * other files: adjust.
6459 2003-03-17 John Levon <levon@movementarian.org>
6463 * text2.C: more paint cleanups
6465 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6468 * rowpainter.C: remove "smart" background painting code
6470 2003-03-16 John Levon <levon@movementarian.org>
6475 * text3.C: add helper functions for setting refresh_row/y
6477 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6479 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6480 newline inset which *can* get inserted in the pass_thru layouts.
6481 This is primarily for literate documents.
6483 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6485 * buffer.C: increment LYX_FORMAT to 223
6487 2003-03-14 André Pönitz <poenitz@gmx.net>
6489 * textclass.h: prepare for environment handling, ws changes
6490 * lyxlayout.C: read latexheader and latexfooter tags
6492 2003-03-14 John Levon <levon@movementarian.org>
6494 * text2.C: rewrite ::status() a bit
6496 2003-03-13 John Levon <levon@movementarian.org>
6498 * lyxtext.h: add some docs
6500 2003-03-13 John Levon <levon@movementarian.org>
6505 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6507 2003-03-13 John Levon <levon@movementarian.org>
6509 * text3.C: fix appendix redrawing
6511 2003-03-13 John Levon <levon@movementarian.org>
6513 * text.C (setHeightOfRow):
6515 * rowpainter.C: make appendix mark have the text
6516 "Appendix" so the user knows what it is
6519 * LColor.C: s/appendixline/appendix/ from above
6521 2003-03-13 John Levon <levon@movementarian.org>
6523 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6525 * text.C: fix a getChar(pos) bug properly
6527 2003-03-13 Angus Leeming <leeming@lyx.org>
6530 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6531 Probably only temporary. Let's see how things pan out.
6533 * BufferView.C (unlockInset):
6534 * BufferView_pimpl.C (fitCursor):
6535 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6537 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6538 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6540 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6541 new functions that convert ParagraphParameters to and from a string.
6543 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6544 BufferView::Pimpl's dispatch.
6545 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6547 2003-03-13 André Pönitz <poenitz@gmx.net>
6551 * factory.C: make it aware of InsetEnv
6553 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6555 * text2.C (setCursor): never ask for one past last
6556 (setCursor): add some debugging messages.
6558 * text.C (singleWidth): never ask for one past last
6559 (singleWidth): ditto
6561 (rightMargin): ditto
6562 (rowBreakPoint): ditto
6563 (setHeightOfRow): ditto
6564 (prepareToPrint): ditto
6566 * rowpainter.C (paintBackground): never ask for one past last
6567 (paintText): never ask for one past last
6569 * paragraph_pimpl.C (getChar): make the assert stricter, never
6570 allow the one past last pos to be taken
6572 * paragraph.C (getChar): ws changes only
6574 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6575 (numberOfSeparators): ditto
6576 (numberOfHfills): ditto
6578 2003-03-12 John Levon <levon@movementarian.org>
6584 * paragraph_funcs.C: fix per-buffer authorlists
6586 2003-03-12 John Levon <levon@movementarian.org>
6588 * text.C: fix newline in right address
6590 2003-03-12 Angus Leeming <leeming@lyx.org>
6592 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6593 duplicate those in LyXFunc::dispatch.
6597 * ToolbarDefaults.C:
6598 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6599 Add LFUN_FONTFREE_UPDATE.
6601 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6602 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6604 * bufferview_func.[Ch]: several new functions to facilliate
6605 transfer of data to and from the character dialog.
6607 2003-03-12 John Levon <levon@movementarian.org>
6612 * paragraph_funcs.C:
6613 * paragraph_pimpl.C:
6617 * text3.C: remove META_NEWLINE in favour of an inset
6620 * rowpainter.C: remove paintNewline (done by inset)
6622 2003-03-12 John Levon <levon@movementarian.org>
6624 * paragraph_pimpl.C: complain about bad getChar()s
6625 for a while at least
6627 2003-03-12 John Levon <levon@movementarian.org>
6630 * buffer.C: move paragraph read into a separate function,
6631 a little renaming to reflect that.
6634 * bufferparams.C: remove the author_ids map, not necessary now
6637 * factory.C: moved Buffer::readInset to here
6639 * paragraph_funcs.h:
6640 * paragraph_funcs.C: readParagraph free function moved from
6643 * tabular.C: name change
6645 2003-03-12 John Levon <levon@movementarian.org>
6648 * ParagraphParameters.C: move par params input to
6651 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6652 behave like a normal read from the stream wrt reading
6653 a line vs. a \\token
6655 2003-03-12 John Levon <levon@movementarian.org>
6658 * ParagraphParameters.h:
6659 * ParagraphParameters.C: move output code to a
6662 2003-03-12 John Levon <levon@movementarian.org>
6664 * BufferView.C (insertLyXFile):
6667 * tabular.C: use a parlist iterator for creating the
6670 2003-03-12 John Levon <levon@movementarian.org>
6672 * buffer.C: make current_change static local not
6675 2003-03-12 John Levon <levon@movementarian.org>
6677 * buffer.C: fix insertStringAsLines for change tracking
6679 2003-03-12 John Levon <levon@movementarian.org>
6686 * bufferparams.C: move author list into params. Rename some
6687 functions. Move the header reading into a separate token
6688 loop. Move the header token reading into BufferParams.
6690 2003-03-12 John Levon <levon@movementarian.org>
6692 * changes.C: put debug inside lyxerr.debugging() checks
6694 2003-03-11 André Pönitz <poenitz@gmx.net>
6696 * factory.C: make it aware of InsetHFill
6698 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6700 * buffer.C (latexParagraphs): move function from here...
6701 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6704 2003-03-10 Angus Leeming <leeming@lyx.org>
6706 * LyXAction.C (init): fix bug in poplating array with multiple entries
6707 with the same LFUN (spotted by JMarc).
6709 2003-03-10 John Levon <levon@movementarian.org>
6712 * text2.C: move getColumnNearX() near its
6715 2003-03-10 John Levon <levon@movementarian.org>
6717 * text.C: fix break before a minipage
6719 2003-03-10 John Levon <levon@movementarian.org>
6721 * text.C: fix the last commit
6723 2003-03-09 John Levon <levon@movementarian.org>
6727 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6728 bug 365 (don't break before insets unless needed). Don't
6729 return a value > last under any circumstances.
6731 2003-03-09 Angus Leeming <leeming@lyx.org>
6733 * BufferView_pimpl.C (trackChanges, dispatch): call
6734 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6736 2003-03-09 Angus Leeming <leeming@lyx.org>
6738 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6739 than Dialogs::showAboutlyx().
6741 2003-03-09 Angus Leeming <leeming@lyx.org>
6743 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6744 than Dialogs::showTabularCreate().
6746 2003-03-09 John Levon <levon@movementarian.org>
6750 * text2.C: 3rd arg to nextBreakPoint was always the same.
6753 2003-03-08 John Levon <levon@movementarian.org>
6760 * text2.C: Remove the "main" bit from the "main body"
6763 2003-03-08 John Levon <levon@movementarian.org>
6765 * text.C (leftMargin): The left margin of an empty
6766 manual label paragraph should not include the label width
6769 * text.C (prepareToPrint): don't attempt to measure hfills
6770 for empty manual label paragraphs - the answer should be 0
6772 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6774 * CutAndPaste.C: remove commented code and reindent.
6776 2003-03-08 John Levon <levon@movementarian.org>
6779 * lyxfunc.C: move reloadBuffer()
6782 * BufferView.C: to here
6784 * lyxvc.C: add comment
6787 * vc-backend.C: call bv->reload() to avoid
6788 getStatus() check on MENURELOAD
6790 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6792 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6793 to an old format .dep file.
6795 2003-03-07 Angus Leeming <leeming@lyx.org>
6797 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6798 when the LFUN_MOUSE_RELEASE should have been handled by
6799 inset->localDispatch.
6801 2003-03-07 Angus Leeming <leeming@lyx.org>
6803 * BufferView_pimpl.C (dispatch):
6804 * LyXAction.C (init):
6805 * ToolbarDefaults.C (init):
6807 * lyxfunc.C (getStatus):
6808 remove LFUN_INSET_GRAPHICS.
6810 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6812 2003-03-07 Angus Leeming <leeming@lyx.org>
6815 * LyXAction.C (init):
6816 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6818 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6821 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6823 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6824 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6826 2003-03-07 Angus Leeming <leeming@lyx.org>
6828 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6831 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6833 * ParagraphList.C (front): new function
6836 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6838 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6839 and top_row_offset_. removed var first_y.
6841 * text2.C (LyXText, removeRow):
6843 * BufferView_pimpl.C:
6844 use these methods instead of using first_y
6846 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6848 * text2.C (pasteSelection): adjust for checkPastePossible
6850 * CutAndPaste.C: remove Paragraph * buf and replace with
6851 ParagraphList paragraphs.
6852 (DeleteBuffer): delete
6853 (cutSelection): change the tc type to textclass_type
6854 (copySelection): change the tc type to textclass_type
6855 (copySelection): adjust for ParagraphList
6856 (pasteSelection): change the tc type to textclass_type
6857 (pasteSelection): adjust for Paragraphlist
6858 (nrOfParagraphs): simplify for ParagraphList
6859 (checkPastePossible): simplify for ParagraphList
6860 (checkPastePossible): remove unused arg
6862 * ParagraphList.C (insert): handle the case where there are no
6865 * CutAndPaste.h: make CutAndPaste a namespace.
6867 * text3.C (dispatch): adjust
6869 * text.C (breakParagraph): add a ParagraphList as arg
6871 * paragraph_funcs.C (breakParagraph): change to take a
6872 BufferParams and a ParagraphList as args.
6873 (breakParagraphConservative): ditto
6874 (mergeParagraph): ditto
6875 (TeXDeeper): add a ParagraphList arg
6876 (TeXEnvironment): ditto
6879 * buffer.C (readLyXformat2): adjust
6880 (insertStringAsLines): adjust
6881 (latexParagraphs): adjust
6883 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6884 (cutSelection): adjust
6885 (pasteSelection): adjust
6887 * BufferView_pimpl.C (insertInset): adjust
6889 2003-03-05 Angus Leeming <leeming@lyx.org>
6892 * LyXAction.C (init):
6893 * BufferView_pimpl.C (dispatch):
6894 * lyxfunc.C (getStatus):
6895 remove LFUN_CHILD_INSERT.
6897 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6899 2003-03-05 Angus Leeming <leeming@lyx.org>
6902 * LyXAction.C (init):
6903 * src/factory.C (createInset):
6904 * lyxfunc.C (getStatus):
6905 * text3.C (dispatch):
6906 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6908 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6910 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6912 * ParagraphList.C (insert): handle insert right before end()
6913 (erase): fix cases where it can be first or last paragraph.
6915 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6917 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6918 Paragraph::next and Paragraph::previous
6921 * text.C (breakParagraph): adjust
6923 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6924 BufferParams& as arg.
6925 (breakParagraph): use ParagraphList::insert
6926 (breakParagraphConservative): take a Buffer* instead of a
6927 BufferParams& as arg.
6928 (breakParagraphConservative): use ParagraphList::insert.
6930 * buffer.C (insertStringAsLines): un-const it
6931 (insertStringAsLines): adjust
6933 * ParagraphList.C (insert): new function
6935 * CutAndPaste.C (pasteSelection): adjust
6937 * text.C (backspace): adjust
6939 * tabular.C (SetMultiColumn): adjust
6941 * CutAndPaste.C (cutSelection): adjust
6942 (pasteSelection): adjust
6944 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6945 Buffer const * as arg
6947 * ParagraphList.C (erase): new function
6948 * paragraph_funcs.C (mergeParagraph): use it
6949 (mergeParagraph): make it take a Buffer* instead of a
6950 BufferParams* as arg
6952 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6954 (breakParagraphConservative): ditto
6956 * paragraph.h: remove the breakParagraph friend
6958 * paragraph.C (eraseIntern): new function
6959 (setChange): new function
6961 * paragraph_funcs.C (mergeParagraph): make it take a
6962 ParagraphList::iterator instead of a Paragraph *, adjust
6965 * paragraph.h: move an #endif so that the change tracking stuff
6966 also works in the NO_NEXT case.
6968 2003-03-04 Angus Leeming <leeming@lyx.org>
6971 * LyXAction.C: new LFUN_INSET_MODIFY.
6973 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6974 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6976 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6978 * several files: ws changes only
6980 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6981 (TeXEnvironment): ditto
6984 * buffer.C (makeLaTeXFile): adjust
6985 (latexParagraphs): make it take ParagraphList::iterator as args
6987 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6989 * buffer.C (latexParagraphs): adjust
6991 * paragraph.C (TeXOnePar): move function...
6992 (optArgInset): move function...
6993 (TeXEnvironment): move function...
6994 * paragraph_pimpl.C (TeXDeeper): move function...
6995 * paragraph_funcs.C: ...here
6997 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6999 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7001 * buffer.C (readInset): remove compability code for old Figure and
7004 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7006 * buffer.C: ws changes
7009 * BufferView_pimpl.C: ditto
7012 * bufferlist.h: ditto
7016 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7018 * converter.[Ch]: split into itself +
7021 * Makefile.am: += graph.[Ch] + format.[Ch]
7028 * lyxrc.C: added #include "format.h"
7030 2003-02-27 Angus Leeming <leeming@lyx.org>
7032 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7035 * factory.C (createInset): add "label" to the factory.
7037 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7038 string and do no more.
7040 2003-02-27 Angus Leeming <leeming@lyx.org>
7043 * LyXAction.C (init):
7044 * factory.C (createInset):
7045 * BufferView_pimpl.C (dispatch):
7046 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7048 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7050 * lyxfunc.C (dispatch):
7051 * text3.C (dispatch): pass name to params2string.
7053 2003-02-26 Angus Leeming <leeming@lyx.org>
7055 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7057 Rearrange the ~includes. Strip out the unnecessary ones.
7059 * factory.C (createInset): reformat.
7060 create new insets for the various LFUN_XYZ_APPLY lfuns.
7062 2003-02-26 John Levon <levon@movementarian.org>
7065 * lyxrow.C: add isParStart,isParEnd helpers
7067 * paragraph.h: make isInserted/DeletedText take refs
7069 * paragraph_funcs.h:
7070 * paragraph_funcs.C: remove #if 0'd code
7075 * text.C: use lyxrow helpers above.
7076 Move draw and paint routines to RowPainter.
7077 Make several methods use refs not pointers.
7078 Make backgroundColor() const.
7079 Add markChangeInDraw(), isInInset().
7080 Merge changeRegionCase into changeCase.
7081 Make workWidth() shouldn't-happen code into an Assert.
7084 * rowpainter.C: new class for painting a row.
7087 * vspace.C: make inPixels take a ref
7089 2003-02-26 Angus Leeming <leeming@lyx.org>
7091 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7094 2003-02-25 John Levon <levon@movementarian.org>
7096 * ispell.C: give the forked command a more accurate name
7098 2003-02-22 John Levon <levon@movementarian.org>
7101 * toc.C: make TocItem store an id not a Paragraph *
7104 2003-02-21 Angus Leeming <leeming@lyx.org>
7106 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7107 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7108 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7109 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7110 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7111 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7113 * BufferView_pimpl.C (dispatch):
7114 * LyXAction.C (init):
7115 * factory.C (createInset):
7116 * lyxfunc.C (getStatus, dispatch):
7117 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7119 2003-02-21 Angus Leeming <leeming@lyx.org>
7121 * BufferView_pimpl.C (MenuInsertLyXFile):
7122 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7123 * lyxfunc.C (menuNew, open, doImport):
7124 no longer pass a LyXView & to fileDlg.
7126 2003-02-21 Angus Leeming <leeming@lyx.org>
7128 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7129 * LyXAction.C: change, BIBKEY to BIBITEM.
7130 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7131 Change InsetBibKey to InsetBibitem.
7132 Change BIBKEY_CODE to BIBITEM_CODE.
7133 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7134 * factory.C: replace insetbib.h with insetbibitem.h.
7135 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7136 * paragraph.C: replace insetbib.h with insetbibitem.h.
7137 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7138 Change bibkey() to bibitem().
7139 * text.C: remove insetbib.h.
7140 * text2.C: replace insetbib.h with insetbibitem.h.
7141 change bibkey() to bibitem().
7142 * text3.C: remove insetbib.h.
7143 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7145 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7147 * lyxrc.C (output): enclose user email in quotes (in case there are
7150 2003-02-18 John Levon <levon@movementarian.org>
7152 * buffer.h: add std::
7154 2003-02-17 John Levon <levon@movementarian.org>
7160 * pspell.C: reworking. Especially in ispell, a large
7161 number of clean ups and bug fixes.
7163 * lyxfunc.C: fix revert to behave sensibly
7165 2003-02-17 André Pönitz <poenitz@gmx.net>
7168 * commandtags.h: new LFUN_INSERT_BIBKEY
7178 * paragraph_func.C: remove special bibkey handling
7180 2003-02-17 John Levon <levon@movementarian.org>
7182 * text.C (Delete): fix case where delete at the end of
7183 the very first paragraph would not merge the pars
7185 2003-02-17 John Levon <levon@movementarian.org>
7187 * lyxrow.C: fix lastPrintablePos()
7189 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7191 * bufferparams.C (writeLaTeX): add a std:here
7193 * buffer.C: and remove a using directive there
7195 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7197 * buffer.C (makeLaTeXFile): move the code that generates the
7200 * bufferparams.C (writeLaTeX): ... in this new method
7202 * LaTeXFeatures.C (getEncodingSet): make const
7203 (getLanguages): make const
7205 * MenuBackend.C (binding): returns the binding associated to this
7207 (add): sets the status of each item by calling getStatus. Adds
7209 (read): add support for OptSubMenu
7210 (expand): remove extra separator at the end of expanded menu
7212 2003-02-15 John Levon <levon@movementarian.org>
7215 * BufferView_pimpl.C:
7217 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7218 inset code that had no actual effect. Remove unneeded status
7221 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7223 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7226 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7228 * text.C (drawLengthMarker): also draw an arrow marker for
7229 symbolic lengths (medskip...)
7231 2003-02-14 John Levon <levon@movementarian.org>
7234 * tabular.C: better method names
7236 2003-02-14 John Levon <levon@movementarian.org>
7238 * BufferView_pimpl.C:
7243 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7244 it's a more accurate name. Remove some pointless uses.
7246 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7248 * text2.C (LyXText): change order of initilizers to shut off
7251 2003-02-14 John Levon <levon@movementarian.org>
7253 * buffer.C: use ParIterator for getParFromID()
7257 * paragraph_pimpl.h:
7258 * paragraph_pimpl.C: remove unused getParFromID()
7260 2003-02-14 John Levon <levon@movementarian.org>
7262 * buffer.C: remove some very old #if 0'd parse code
7264 2003-02-13 John Levon <levon@movementarian.org>
7268 * text2.C: move hfillExpansion(), numberOfSeparators(),
7269 rowLast(), rowLastPrintable(), numberofHfills(),
7270 numberOfLabelHfills() ...
7273 * lyxrow.C: ... to member functions here.
7278 * text.C: remove LyXText::beginningOfMainBody(), and call
7279 p->beginningOfMainBody() directly. Move the check for
7280 LABEL_MANUAL into the latter.
7287 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7293 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7294 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7296 2003-02-13 John Levon <levon@movementarian.org>
7298 * CutAndPaste.C: remove debug
7300 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7302 * paragraph.C (asString): remove two unused variables
7304 * lyxtextclass.C (readTitleType):
7306 (LyXTextClass): handle new members titletype_ and titlename_
7308 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7310 2003-02-09 John Levon <levon@movementarian.org>
7313 * buffer.C: replace hand-coded list with a map for the dep clean
7315 2003-02-08 John Levon <levon@movementarian.org>
7317 * LaTeX.C: consolidate code into showRunMessage() helper
7319 2003-02-08 John Levon <levon@movementarian.org>
7324 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7325 and pass the size in explicitly
7327 * BufferView_pimpl.h:
7328 * BufferView_pimpl.C:
7330 * BufferView.C: add getCurrentChange()
7332 * BufferView_pimpl.h:
7333 * BufferView_pimpl.C: handle change lfuns
7335 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7336 for changes. Mark pasted paragraphs as new.
7338 * support/lyxtime.h:
7339 * support/lyxtime.C:
7340 * DepTable.C: abstract time_t as lyx::time_type
7343 * LColor.C: add colours for new text, deleted text, changebars
7345 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7346 package use "usenames" option.
7350 * LyXAction.C: add change lfuns
7354 * author.C: author handling
7357 * buffer.C: add a per-buffer author list, with first entry as
7358 current author. Handle new .lyx tokens for change tracking. Output
7359 author list to .lyx file. Output dvipost stuff to .tex preamble.
7360 Bump lyx format to 222.
7363 * bufferlist.C: add setCurrentAuthor() to reset current author details
7367 * bufferparams.C: add param for tracking
7369 * bufferview_funcs.C: output change info in minibuffer
7373 * changes.C: add change-tracking structure
7376 * debug.C: add CHANGES debug flag
7379 * lyxfind.C: add code for finding the next change piece
7382 * lyxrc.C: add user_name and user_email
7385 * lyxrow.C: add a metric for the top of the text line
7388 * text.C: implement accept/rejectChange()
7391 * text.C: paint changebars. Paint new/deleted text in the chosen
7392 colours. Strike through deleted text.
7396 * paragraph_pimpl.h:
7397 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7398 in the current change to the insert functions. Rework erase to
7399 mark text as deleted, adding an eraseIntern() and a range-based
7400 erase(). Implement per-paragraph change lookup and
7403 * paragraph_funcs.C: Fixup paste for change tracking.
7405 * tabular.C: mark added row/columns as new.
7407 * text.C: fix rowLast() to never return -1. Don't allow
7408 spellchecking of deleted text. Track transpose changes. Don't
7409 allow paragraph break or merge where appropriate.
7411 * text2.C: leave cursor at end of selection after a cut.
7413 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7415 * text.C (getLengthMarkerHeight):
7416 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7417 visible on screen too.
7419 2003-02-07 John Levon <levon@movementarian.org>
7421 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7423 2003-02-05 Angus Leeming <leeming@lyx.org>
7425 * lyxserver.C (read_ready): revert my patch of 11 September last year
7426 as it sends PC cpu through the roof. Presumably this means that
7427 the lyxserver will no longer run on an Alpha...
7429 2003-01-30 Angus Leeming <leeming@lyx.org>
7431 * factory.C (createInset): create an InsetCommandParam of type "index"
7432 and use it to 'do the right thing'.
7434 * text2.C (getStringToIndex): ensure that cursor position is always
7435 reset to the reset_cursor position.
7437 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7439 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7442 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7446 * lyxfunc.C: Output messages with identical spelling, punctuation,
7449 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7451 * MenuBackend.C (expandFormats): List only viewable export formats
7454 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7457 * lyxfunc.C (getStatus): Make sure that formats other than
7458 "fax" can also be disabled
7460 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7462 * text3.C (dispatch): put the lfuns that insert insets in 3
7463 groups, and call doInsertInset with appropriate arguments.
7464 (doInsertInset): new function, that creates an inset and inserts
7465 it according to some boolean parameters.
7467 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7469 * buffer.C (readFile): remember to pass on 'par' when calling
7470 readFile recursively.
7472 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7474 * MenuBackend.C (expandFormats): add "..." to import formats.
7476 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7478 * paragraph.C (asString): Remove XForms RTL hacks.
7480 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7481 * buffer.C: fix typo
7483 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7485 * Makefile.am (LIBS): delete var
7486 (lyx_LDADD): add @LIBS@ here instead.
7488 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7490 * Clarify the meaning of "wheel mouse jump"
7492 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7494 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7497 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7499 * importer.C (Loaders): do not preallocate 3 elements in the
7500 vector, since one ends up with 6 elements otherwise
7502 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7504 * DepTable.C (write): write the file name as last element of the
7505 .dep file (because it may contain spaces)
7506 (read): read info in the right order
7508 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7510 * paragraph_pimpl.C (simpleTeXBlanks):
7511 (simpleTeXSpecialChars):
7512 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7514 * tabular.C (latex): add some missing case statements. Reindent.
7516 * MenuBackend.C (expandToc): remove unused variable.
7518 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7527 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7530 2003-01-05 John Levon <levon@movementarian.org>
7533 * BufferView.C: add getEncoding()
7536 * kbsequence.C: do not store last keypress
7539 * lyxfunc.C: store last keypress here instead. Pass encoding
7542 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7544 * lyx_main.C (init): remove annoying error message when following
7545 symbolic links (bug #780)
7547 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7549 * text.C (insertChar):
7550 * lyxrc.C (getDescription): remove extra spaces
7552 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7554 * lyxrc.C (getDescription): remove extra spaces
7556 2002-12-20 John Levon <levon@movementarian.org>
7558 * text3.C: hack fix for page up/down across tall rows
7560 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7562 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7565 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7567 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7568 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7569 thesaurus is not compiled in
7571 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7573 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7575 2002-12-16 Angus Leeming <leeming@lyx.org>
7578 * lyx_main.C (init): remove override_x_deadkeys stuff.
7580 2002-12-12 John Levon <levon@movementarian.org>
7582 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7583 insert. Only remove shift modifier under strict
7586 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7588 * MenuBackend.C (expandToc): fix crash.
7590 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7592 * MenuBackend.C (expandToc): gettext on float names.
7594 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7596 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7597 implement bool empty() [bug 490]
7599 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7601 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7603 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7605 * several files: ws changes
7607 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7609 * text2.C (setCounter): clean up a bit, use boost.format.
7610 (updateCounters): initialize par upon declaration.
7612 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7613 if the layout exists. We do not just store the layout any more.
7614 (SwitchLayoutsBetweenClasses): use boost.format
7616 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7618 * converter.C (convert): if from and to files are the same, use a
7619 temporary files as intermediary
7621 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7624 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7626 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7628 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7630 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7632 * tabular.C (asciiPrintCell): use string(size, char) instead of
7635 * sgml.C (openTag): fix order of arguments to string constructor
7638 * lyxfunc.C (dispatch): use boost.format
7640 * lots of files: change "c" -> 'c'
7642 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7644 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7646 2002-11-25 Angus Leeming <leeming@lyx.org>
7648 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7650 * lyx_main.C (init): compile fix.
7652 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7654 * lyx_cb.C (start): boost.formatify
7655 do not include <iostream>
7657 * lengthcommon.C: ws only
7659 * boost-inst.C,BoostFormat.h: add more explict instantations
7661 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7663 * lots of files: handle USE_BOOST_FORMAT
7665 2002-11-21 John Levon <levon@movementarian.org>
7667 * pspell.C: fix compile
7669 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7671 * lyxfunc.C (dispatch): use boost::format
7675 * lyxfont.C (stateText): use boost::format
7677 * lyx_main.C (LyX): use boost::format
7679 (queryUserLyXDir): ditto
7682 (typedef boost::function): use the recommened syntax.
7684 * importer.C (Import): use boost::format
7686 * debug.C (showLevel): use boost::format
7688 * converter.C (view): use boost::format
7693 * bufferview_funcs.C (currentState): use boost::format
7695 * bufferlist.C (emergencyWrite): use boost::format
7697 * buffer.C (readLyXformat2): use boost::format
7698 (parseSingleLyXformat2Token): ditto
7700 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7702 * LaTeX.C (run): use boost::format
7704 * Chktex.C (scanLogFile): use boost::format
7706 * BufferView_pimpl.C (savePosition): use boost::format
7707 (restorePosition): ditto
7708 (MenuInsertLyXFile): ditto
7710 * BoostFormat.h: help file for explicit instation.
7712 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7714 * tabular.C (latex): Support for block alignment in fixed width
7717 2002-11-17 John Levon <levon@movementarian.org>
7719 * BufferView_pimpl.C:
7721 * lyxfunc.C: split filedialog into open/save
7723 2002-11-08 Juergen Vigna <jug@sad.it>
7725 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7726 by my last patch (hopefully).
7728 2002-11-08 John Levon <levon@movementarian.org>
7737 * toc.C: ParConstIterator, and use it (from Lars)
7739 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7741 * lyxtextclass.[Ch]: revise and add doxygen comments
7743 2002-11-07 John Levon <levon@movementarian.org>
7745 * text.C: fix progress value for spellchecker
7747 * toc.C: fix navigate menu for insetwrap inside minipage
7749 * paragraph_funcs.C: added FIXME for suspect code
7751 2002-11-07 John Levon <levon@movementarian.org>
7753 * BufferView_pimpl.C: fix redrawing of insets
7756 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7758 * text2.C (updateCounters): fix bug 668
7760 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7762 * text3.C (dispatch): Do not make the buffer dirty when moving the
7765 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7767 * vc-backend.C: STRCONV
7770 * text2.C (setCounter): STRCONV
7772 * paragraph.C (asString): STRCONV
7774 * lyxlength.C (asString): STRCONV
7775 (asLatexString): ditto
7777 * lyxgluelength.C (asString): STRCONV
7778 (asLatexString): ditto
7780 * lyxfunc.C (dispatch): STRCONV
7783 * lyxfont.C (stateText): STRCONV
7785 * importer.C (Import): STRCONV
7787 * counters.C (labelItem): STRCONV
7788 (numberLabel): ditto
7789 (numberLabel): remove unused ostringstream o
7794 * bufferview_funcs.C (currentState): STRCONV
7796 * buffer.C (readFile): STRCONV
7797 (asciiParagraph): ditto
7798 (makeLaTeXFile): ditto
7800 * Spacing.C (writeEnvirBegin): STRCONV
7802 * LaTeXFeatures.C (getLanguages): STRCONV
7803 (getPackages): ditto
7805 (getBabelOptions): ditto
7806 (getTClassPreamble): ditto
7807 (getLyXSGMLEntities): ditto
7808 (getIncludedFiles): ditto
7812 (scanAuxFile): ditto
7815 * LString.h: add the STRCONV macros
7817 * BufferView_pimpl.C (savePosition): STRCONV
7818 (restorePosition): ditto
7819 (MenuInsertLyXFile): ditto
7821 * vc-backend.C (scanMaster): change from submatch[...] to
7824 * funcrequest.C: include config.h
7826 * factory.C: include config.h
7828 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7830 * box.C: include config.h
7832 * LaTeX.C (scanAuxFile): change from submatch[...] to
7836 2002-10-25 Angus Leeming <leeming@lyx.org>
7838 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7840 * ispell.[Ch] (setError): new method.
7841 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7842 Use setError() insetead of goto END.
7844 * lyx_cb.C (AutoSave): move out child process into new class
7847 2002-10-30 John Levon <levon@movementarian.org>
7849 * text3.C: make start appendix undoable
7851 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7853 * lyxlength.C (inPixels): Fix returned value.
7855 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7858 2002-10-24 Angus Leeming <leeming@lyx.org>
7860 * lyxgluelength.h: no need to forward declare BufferParams
7861 or BufferView, so don't.
7863 2002-10-21 John Levon <levon@movementarian.org>
7865 * BufferView.C: menuUndo ->undo, redo
7867 * BufferView.h: document, remove dead, make some methods private
7869 * paragraph_funcs.h:
7870 * paragraph_funcs.C:
7871 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7876 * sgml.C: move sgml open/close tag into sgml.C
7878 * bufferview_funcs.h: unused prototype
7881 * lyxfunc.C: remove unused
7884 * text.C: remove unused
7886 2002-10-21 John Levon <levon@movementarian.org>
7890 * BufferView_pimpl.h:
7891 * BufferView_pimpl.C: fix mouse wheel handling based on
7892 patch from Darren Freeman
7894 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7896 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7898 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7900 * lyxlength.C (inPixels): Fix hanfling of negative length.
7901 Fix LyXLength::MU case.
7903 2002-10-16 John Levon <levon@movementarian.org>
7905 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7907 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7909 * converter.C (view): add support for $$i (file name) and $$p
7910 (file path) for the viewer command. If $$i is not specified, then
7911 it is appended to the command (for compatibility with old syntax)
7913 2002-10-14 Juergen Vigna <jug@sad.it>
7915 * undo_funcs.C (textHandleUndo): alter the order in which the
7916 new undopar is added to the LyXText, as we have to set first
7917 the right prev/next and then add it as otherwise the rebuild of
7918 LyXText is not correct. Also reset the cursor to the right paragraph,
7919 with this IMO we could remove the hack in "redoParagraphs()".
7921 2002-10-09 Angus Leeming <leeming@lyx.org>
7923 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7924 to turn off an optimisation if a new inset is to be inserted.
7926 2002-10-11 André Pönitz <poenitz@gmx.net>
7928 * lyxtext.h: make some functions public to allow access
7929 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7931 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7933 * text3.C (dispatch): when changing layout, avoid an infinite loop
7936 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7938 * lyxrc.C (read): treat a viewer or converter command of "none" as
7941 * MenuBackend.C (expandFormats): for an update, also allow the
7942 formats that are not viewable
7944 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7945 script if it is newer than the lyxrc.defaults in user directory
7947 2002-10-07 André Pönitz <poenitz@gmx.net>
7949 * text.C: Vitaly Lipatov's small i18n fix
7951 2002-09-25 Angus Leeming <leeming@lyx.org>
7953 * ispell.h: doxygen fix.
7955 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7957 * buffer.h (readFile): Add a new argument to the method, to allow
7958 reading of old-format templates.
7960 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7962 * toc.C (getTocList): Get TOC from InsetWrap.
7964 2002-09-16 John Levon <levon@movementarian.org>
7966 * lyxfunc.C: check tabular for cut/copy too
7968 2002-09-12 John Levon <levon@movementarian.org>
7973 * factory.C: add header
7975 * paragraph_funcs.h:
7976 * paragraph_funcs.C: cleanup
7978 2002-09-11 John Levon <levon@movementarian.org>
7980 * PrinterParams.h: odd/even default to true
7982 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7984 * PrinterParams.h: update printer parameters for new xforms dialog
7986 2002-09-11 Angus Leeming <leeming@lyx.org>
7988 * lyxserver.C (read_ready): re-write to make it more transparent
7989 and to make it work in coherent fashion under Tru64 Unix.
7991 2002-09-11 André Pönitz <poenitz@gmx.net>
7995 * text3.C: implement LFUN_WORDSEL
7997 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7999 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8000 make floatlist_ a boost::shared_ptr<FloatList>
8002 * lyxtextclass.C: include FloatList.h
8003 (LyXTextClass): initialize floatlist_
8004 (TextClassTags): add TC_NOFLOAT
8005 (Read): match "nofloat" to TC_NOFLOAT and use it.
8006 (readFloat): modify call to floatlist_
8010 * FloatList.[Ch] (FloatList): remove commented out float
8012 (erase): new function
8014 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8016 * MenuBackend.C (expandToc): fix crash when there is no document
8019 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8021 * many files: Add insetwrap.
8023 2002-09-09 John Levon <levon@movementarian.org>
8025 * text2.C: remove confusing and awkward depth wraparound
8027 2002-09-09 John Levon <levon@movementarian.org>
8029 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8032 * buffer.C: remove getIncludeonlyList()
8035 * lyxfunc.C: remove headers
8037 2002-09-09 Juergen Vigna <jug@sad.it>
8039 * text.C (getColumnNearX): fix form Michael this is most
8040 probably a cut&paste bug.
8042 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8044 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8046 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8047 references, ws changes.
8049 * text2.C (init): update counters after init
8050 (insertParagraph): no need to set counter on idividual paragraphs.
8051 (setCounter): access the counters object in the textclass object
8052 on in the buffer object.
8053 (updateCounters): ditto
8055 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8056 shared_ptr<Counters> to avoid loading counters.h in all
8058 (LyXTextClass): initialize ctrs_
8059 (TextClassTags): add TC_COUNTER, and ...
8060 (Read): use it here.
8061 (CounterTags): new tags
8062 (readCounter): new function
8063 (counters): new funtion
8064 (defaultLayoutName): return a const reference
8066 * counters.C (Counters): remove contructor
8067 (newCounter): remove a couple of unneeded statements.
8068 (newCounter): simplify a bit.
8069 (numberLabel): some small formatting changes.
8071 * buffer.[Ch]: remove all traces of counters, move the Counters
8072 object to the LyXTextClass.
8074 2002-09-06 Alain Castera <castera@in2p3.fr>
8076 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8077 package to set the horizontal alignment on fixed width columns.
8080 * lyx_sty.h: added tabularnewline macro def.
8082 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8084 2002-09-06 John Levon <levon@movementarian.org>
8086 * LyXAction.C: tooltips for sub/superscript
8088 * MenuBackend.C: a bit more verbose
8090 * lyxfunc.C: tiny clean
8092 * undo_funcs.C: document undo_frozen
8094 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8096 * counters.C (Counters): add missing algorithm counter.
8098 * text2.C (setCounter): lookup the counter with layouts latexname
8099 instead of by section number.
8100 (setCounter): use a hackish way to lookup the correct enum
8102 a float name->type change
8103 reset enum couners with counter name directly instead of depth value.
8105 * counters.C (Counters): remove the push_backs, change to use the
8106 float type not the float name.
8107 (labelItem): remove unused string, float name->type change
8109 * counters.h: don't include vector, loose the enums and sects vectors
8111 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8113 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8114 (Read): add float->TC_FLOAT to textclassTags
8115 (Read): and handle it in the switch
8116 (readFloat): new function
8118 * FloatList.C (FloatList): comment out the hardcoded float
8121 * lyxlayout.h: ws change.
8123 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8125 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8127 2002-09-03 Angus Leeming <leeming@lyx.org>
8129 * BufferView_pimpl.h: qualified name is not allowed in member
8130 declaration: WorkArea & Pimpl::workarea() const;
8132 * factory.C: added using std::endl directive.
8134 * text3.C: added using std::find and std::vector directives.
8136 2002-08-29 André Pönitz <poenitz@gmx.net>
8139 * text2.C: remove unused member number_of_rows
8142 * BufferView2.C: remove file, move contents to...
8143 * BufferView.C: ... here
8145 * BufferView_pimpl.C:
8146 * factory.C: move more inset creation to factory
8148 * vspace.C: avoid direct usage of LyXText, ws changes
8151 don't provide direct access to WorkArea, use two simple
8152 acessors haveSelction() and workHeight() instead
8155 2002-08-29 John Levon <levon@movementarian.org>
8157 * BufferView_pimpl.C (dispatch): do not continue when
8160 2002-08-28 André Pönitz <poenitz@gmx.net>
8162 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8165 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8167 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8169 * buffer.C: increment LYX_FORMAT to 221
8171 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8172 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8174 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8176 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8178 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8180 * factory.C (createInset): use LyXTextClass::floats
8182 * MenuBackend.C (expandFloatListInsert):
8183 (expandFloatInsert):
8186 * text2.C (setCounter):
8188 * LaTeXFeatures.C (useFloat):
8189 (getFloatDefinitions):
8191 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8193 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8194 floatlist_, with accessor floats().
8196 * FloatList.h: remove global FloatList
8198 2002-08-26 André Pönitz <poenitz@gmx.net>
8200 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8204 * BufferView_pimpl.C:
8205 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8207 2002-08-25 John Levon <levon@movementarian.org>
8209 * LyXAction.C: fix margin note description
8211 2002-08-24 John Levon <levon@movementarian.org>
8215 * bufferview_funcs.C:
8217 * undo_funcs.C: cleanups
8219 * lyxfunc.C: disable CUT/COPY when no selection
8221 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8223 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8224 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8226 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8227 Add backward compatibility to "mono", "gray" and "no".
8229 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8231 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8232 (and file_format >= 200).
8234 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8236 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8238 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8240 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8242 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8244 * BufferView_pimpl.C:
8251 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8252 inset and code to make it work with the paragraph code. The inset
8253 can be anywhere in the paragraph, but will only do the expected
8254 thing in LaTeX if the layout file contains the parameter line
8256 (or more generally, a nonzero value) for that layout.
8258 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8260 * paragraph.h: remove the declaration of undefined counters class
8263 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8265 * text2.C (setCounter): fixed enumeration mis-count as reported by
8266 Dr. Richard Hawkins.
8268 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8270 * paragraph_funcs.h: remove some unneeded includes
8272 * text.C (backspace): pasteParagraph now in global scipe
8274 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8275 (pasteSelection): ditto
8277 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8278 * paragraph_funcs.C (pasteParagraph): ... here
8280 2002-08-20 André Pönitz <poenitz@gmx.net>
8282 * commandtags.h: new LFUNs for swapping/copying table row/colums
8285 * lyxfunc.C: support for new lfuns
8287 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8290 * buffer.[Ch]: remove NO_COMPABILITY stuff
8292 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8294 * boost.C (throw_exception): new file, with helper function for
8295 boost compiled without exceptions.
8300 * ParameterStruct.h:
8301 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8303 * bufferlist.C (emergencyWriteAll): use boost bind
8305 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8307 * text.C: include paragraph_funcs.h
8308 (breakParagraph): breakParagraph is now in global scope
8310 * paragraph_funcs.[Ch]: new files
8312 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8315 * buffer.C: include paragraph_funcs.h
8316 (insertStringAsLines): breakParagraph is now in global scope
8318 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8321 * CutAndPaste.C: include paragraph_funcs.h
8322 (cutSelection): breakParagraphConservative is now in global scope
8323 (pasteSelection): ditto
8325 * buffer.h: declare oprator== and operator!= for
8326 Buffer::inset_iterator
8328 * bufferlist.C (emergencyWrite): don't use fmt(...)
8330 * text3.C: add using std::endl
8332 * BufferView.C (moveCursorUpdate): remove default arg
8334 2002-08-20 André Pönitz <poenitz@gmx.net>
8336 * buffer.[Ch]: move inline functions to .C
8339 * BufferView_pimpl.C:
8341 * buffer.[Ch]: use improved inset_iterator
8344 * paragraph.[Ch]: write one paragraph at a time
8346 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8348 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8349 style if style is not specified.
8351 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8353 * text2.C (setCounter): when searching for right label for a
8354 caption, make sure to recurse to parent insets (so that a caption
8355 in a minipage in a figure float works) (bug #568)
8357 2002-08-20 André Pönitz <poenitz@gmx.net>
8359 * text3.C: new file for LyXText::dispatch() and helpers
8361 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8363 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8365 2002-08-19 André Pönitz <poenitz@gmx.net>
8368 * text.C: new LyXText::dispatch()
8370 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8372 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8374 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8376 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8379 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8381 * Makefile.am: use $(variables) instead of @substitutions@
8383 2002-08-15 André Pönitz <poenitz@gmx.net>
8386 * BufferView_pimpl.C: streamlining mathed <-> outer world
8390 * LyXAction.C: remove unused LFUN_MATH
8392 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8394 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8396 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8398 * paragraph.C (Paragraph): reformat a bit
8399 (cutIntoMinibuffer): use builtin InsetList function instad of
8403 * buffer.C: include boost/bind.hpp, add using std::for_each
8404 (writeFileAscii): use ParagraphList iterators
8405 (validate): use for_each for validate traversal of paragraphs
8406 (getBibkeyList): use ParagraphList iterators
8407 (resizeInsets): use for_each to resizeInsetsLyXText for all
8409 (getParFromID): use ParagraphList iterators
8411 * BufferView2.C (lockInset): use paragraph list and iterators
8413 2002-08-14 John Levon <levon@movementarian.org>
8415 * lyxserver.C: remove spurious xforms include
8417 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8419 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8421 2002-08-13 André Pönitz <poenitz@gmx.net>
8424 * lyxfunc.C: further cleaning
8426 2002-08-13 André Pönitz <poenitz@gmx.net>
8428 * funcrequest.h: new constructor
8430 * funcrequest.C: move stuff here from .h
8433 * BufferView_pimpl.C:
8436 * lyxfunc.C: subsequent changes
8438 * lyxfunc.h: new view() member function
8440 * lyxfunc.C: subsequent changes
8442 2002-08-13 Angus Leeming <leeming@lyx.org>
8445 * BufferView_pimpl.C:
8453 changes due to the changed LyXView interface that now returns references
8454 to member variables not pointers.
8456 2002-08-13 Angus Leeming <leeming@lyx.org>
8458 * WordLangTuple (word, lang_code): return references to strings,
8463 * lyxtext.h: forward-declare WordLangTuple.
8468 * text.C: #include "WordLangTuple.h".
8471 * text.C: (selectNextWordToSpellcheck): constify return type.
8473 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8479 * paragraph_pimpl.h:
8482 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8484 Made updateCounter always count from start of buffer, and removed
8485 second argument (par).
8486 Reverted floats number display to '#'. Perhaps I'll try again when the
8487 code base is sanitized a bit.
8489 2002-08-12 Angus Leeming <leeming@lyx.org>
8491 * buffer.[Ch] (getLabelList): constify.
8493 2002-08-07 André Pönitz <poenitz@gmx.net>
8495 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8497 * funcrequest.h: extension to keep mouse (x,y) position
8499 2002-08-12 Juergen Vigna <jug@sad.it>
8501 * BufferView2.C (insertErrors): forbid undo when inserting error
8504 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8506 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8508 * ParagraphList.[Ch]: new files
8510 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8512 * BufferView2.C (lockInset): ParagraphList changes
8515 * bufferlist.C: ditto
8519 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8521 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8522 unused class variable counter_,
8524 * paragraph.[Ch] (getFirstCounter): delete unused function
8526 * counters.C: include LAssert.h
8527 (reset): add a new function with no arg, change other version to
8528 not have def. arg and to not allow empty arg.
8530 * text2.C (setCounter): remove empty arg from call to Counters::reset
8532 2002-08-11 John Levon <levon@movementarian.org>
8534 * Makefile.am: add WordLangTuple.h
8536 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8538 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8539 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8541 * insets/insettext.C: InsetList changes
8543 * graphics/GraphicsSupport.C (operator()): InsetList changes
8545 * toc.C (getTocList): InsetList changes
8547 * paragraph_pimpl.[Ch]: InsetList changes
8549 * paragraph.[Ch]: InsetList changes
8551 * buffer.C (inset_iterator): InsetList changes
8552 (setParagraph): ditto
8553 * buffer.h (inset_iterator): ditto
8554 * iterators.C (operator++): ditto
8555 * iterators.h: ditto
8557 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8559 * InsetList.[Ch]: new files, most InsetList handling moved out of
8562 * BufferView2.C (removeAutoInsets): InsetList changes
8564 (ChangeInsets): ditto
8566 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8568 * paragraph_pimpl.h (empty): new function
8570 * paragraph.[Ch] (empty): new function
8572 * other files: use the new Paragraph::empty function
8574 2002-08-09 John Levon <levon@movementarian.org>
8576 * lyxtext.h: remove unused refresh_height
8578 2002-08-09 John Levon <levon@movementarian.org>
8585 * paragraph.C: move sgml char escaping out of paragraph
8588 * paragraph.C: remove id setter
8592 * paragraph_pimpl.C: remove dead tex_code_break_column
8594 * bufferview_funcs.C: small cleanup
8596 * lyxfunc.C: remove dead proto
8598 * lyxtext.h: make some stuff private. Remove some dead stuff.
8600 * lyxgluelength.C: make as[LyX]String() readable
8602 2002-08-08 John Levon <levon@movementarian.org>
8607 * ToolbarDefaults.C:
8610 * toc.C: lyxaction cleanup
8612 2002-08-08 John Levon <levon@movementarian.org>
8614 * BufferView2.C: small cleanup
8617 * lyxfind.C: move unnecessary header into the .C
8619 2002-08-08 John Levon <levon@movementarian.org>
8621 * funcrequest.h: just tedious nonsense
8624 * lyx_main.C: cleanups
8627 * vspace.C: remove dead header lyx_main.h
8629 2002-08-07 Angus Leeming <leeming@lyx.org>
8632 * paragraph_pimpl.h:
8633 Forward declare class Counters in paragraph.h by moving the ctrs member
8634 variable into Paragraph::Pimpl.
8635 (counters): new method, returning a reference to pimpl_->ctrs.
8637 * text2.C: ensuing changes.
8639 2002-08-07 John Levon <levon@movementarian.org>
8641 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8643 * BufferView_pimpl.C: announce X selection on double/triple
8646 * lyx_main.C: use correct bool in batch dispatch
8648 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8650 2002-08-07 André Pönitz <poenitz@gmx.net>
8652 * funcrequest.h: new class to wrap a kb_action and its argument
8655 * BufferView_pimpl[Ch]:
8659 * lyxrc.C: subsequent changes
8662 2002-08-07 John Levon <levon@movementarian.org>
8664 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8665 document options change.
8667 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8672 * makefile.am: move counters functionality over from
8673 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8675 2002-08-06 John Levon <levon@movementarian.org>
8677 * WordLangTuple.h: new file for word + language code tuple
8688 * BufferView2.C: use WordLangTuple
8691 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8693 2002-08-06 John Levon <levon@movementarian.org>
8695 * lyx_main.C: fix cmdline batch handling
8697 2002-08-06 André Pönitz <poenitz@gmx.net>
8699 * lyxrc.C: set default for show_banner to true
8701 2002-08-06 John Levon <levon@movementarian.org>
8703 * pspell.C: fix a crash, and allow new aspell to work
8705 2002-08-06 John Levon <levon@movementarian.org>
8708 * kbmap.C: small cleanup
8711 * vspace.C: add const
8713 2002-08-05 John Levon <levon@movementarian.org>
8715 * LyXAction.C: back to tabular-insert
8717 2002-08-04 John Levon <levon@movementarian.org>
8720 * BufferView.C: cosmetic change
8722 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8732 * BufferView2.C: purge all "Lyx" not "LyX" strings
8735 * lyxcursor.C: attempt to add some documentation
8740 * ToolbarDefaults.C:
8741 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8742 merge with LFUN_TABULAR_INSERT
8749 * pspell.C: split up i/pspell implementations into separate
8750 files, many cleanups
8752 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8754 * text2.C: some cleanup
8756 * lyxfunc.C: don't check for isp_command == "none" any more, it
8757 didn't make any sense
8759 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8764 * makefile.am: move counters functionality over
8765 from text2.C/paragraph.[Ch] to counters.[Ch], and
8767 2002-08-02 John Levon <levon@movementarian.org>
8769 * buffer.C: s/lyxconvert/lyx2lyx/
8771 2002-08-02 Angus Leeming <leeming@lyx.org>
8773 * lyxlex.C: revert John's change as it breaks reading of the user
8776 2002-08-02 Angus Leeming <leeming@lyx.org>
8778 * importer.C (Import):
8779 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8780 changes due to LyXView::view() now returning a boost::shared_ptr.
8782 2002-08-02 John Levon <levon@movementarian.org>
8784 * lyxlex.C: small cleanup
8786 2002-08-02 John Levon <levon@movementarian.org>
8788 * text2.C (status): small cleanup, no logic change
8790 2002-08-01 John Levon <levon@movementarian.org>
8793 * buffer.C (writeFile): don't output alerts, caller
8797 * lyx_cb.C: from above
8799 * lyxfunc.C: allow to open non-existent files
8801 2002-07-31 John Levon <levon@movementarian.org>
8803 * lyxserver.C: don't let incidental errors get
8806 2002-07-30 John Levon <levon@movementarian.org>
8808 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8810 2002-07-30 John Levon <levon@movementarian.org>
8813 * lyxserver.C: remove I/O callback too
8815 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8817 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8820 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8822 * many files: strip,frontStrip -> trim,ltrim,rtrim
8824 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8826 * PrinterParams.h: remove extern containsOnly, and include
8827 support/lstrings.h instead.
8829 * LaTeX.C (scanAuxFile): modify because of strip changes
8831 * buffer.C (makeLaTeXFile): ditto
8832 * bufferparams.C (writeFile): ditt
8833 * lyxfont.C (stateText): ditto
8834 * lyxserver.C (read_ready): ditto
8835 * vc-backend.C (scanMaster): ditto
8837 * BufferView_pimpl.h: ws changes
8839 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8841 2002-07-26 André Pönitz <poenitz@gmx.net>
8843 * kb_sequence.C: remove unnedred usings
8845 2002-07-26 Juergen Vigna <jug@sad.it>
8847 * lyxfind.C (LyXReplace): we have to check better if the returned
8848 text is not of theLockingInset()->getLockingInset().
8850 2002-07-25 Juergen Vigna <jug@sad.it>
8852 * lyxfind.C (LyXReplace): don't replace if we don't get the
8855 * undo_funcs.C (createUndo): remove debugging code.
8857 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8859 * buffer.C (parseSingleLyXformat2Token): Use default placement
8860 when reading old floats.
8862 * FloatList.C (FloatList): Change the default placement of figure
8863 and tables to "tbp".
8865 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8867 * MenuBackend.C: using std::max
8869 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8871 * MenuBackend.C (expandToc):
8872 (expandToc2): code moved from xforms menu frontend. It is now
8873 generic and TOCs are transparent to menu frontends.
8875 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8877 * toc.C (getTocList): protect against buf=0
8879 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8880 Menu as first parameter. Now, this calls itself recursively to
8881 expand a whole tree (this will be useful for TOC handling)
8882 (expandFloatInsert): remove 'wide' version of floats
8884 * MenuBackend.h (submenuname): returns the name of the submenu.
8885 (submenu): returns the submenu itself, provided it has been
8886 created by MenuBackend::expand
8888 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8890 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8891 insets which have noFontChange == true. (bug #172)
8893 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8895 * BufferView_pimpl.C: add connection objects and use them...
8898 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8900 * MenuBackend.C (expandLastfiles):
8903 (expandFloatListInsert):
8904 (expandFloatInsert):
8905 (expand): split expand in parts
8907 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8909 * lyx_gui.C: use lyx_gui::exit()
8911 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8913 * LyXAction.C: show the failing pseudo action
8915 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8917 * buffer.C (readFile): Run the lyxconvert script in order to read
8920 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8924 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8926 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8930 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8932 2002-07-22 Herbert Voss <voss@lyx.org>
8935 * lyxlength.[Ch]: add support for the vertical lengths
8937 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8939 * toc.[Ch]: std:: fixes
8941 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8943 * lyxrc.C: do not include lyx_main.h
8945 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8951 * BufferView2.C: include "lyxlex.h"
8954 * bufferparams.h: do not #include "lyxlex.h"
8956 * lyxtextclasslist.C (Add): remove method
8957 (classlist): renamed to classlist_
8959 * paragraph_pimpl.C:
8963 * bufferview_funcs.C:
8968 * toc.C (getTocList): use BufferParams::getLyXTextClass
8970 * toc.C (getTocList): use InsetFloat::addToToc
8972 * toc.[Ch]: new files, containing helper functions to handle table
8975 * lyxfunc.C (dispatch): no need to remove spaces around command
8977 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8978 first command of the sequence; it is not very clever, but I do not
8979 have a better idea, actually
8981 * LyXAction.C (LookupFunc): make sure to remove space at the
8982 beginning and end of the command
8984 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8986 * MenuBackend.C (getMenubar): new method: return the menubar of
8988 (read): treat differently reading of menu and menubar (in
8989 particular, the menubar has no name now)
8990 (Menu::menubar): remove
8992 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8995 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8997 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8998 a bibitem inset in a RTL paragraph.
9000 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9002 * paragraph_pimpl.C: constify
9004 * BufferView_pimpl.C:
9006 * lyxfunc.C: fix dispatch in a nicer way
9008 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9010 * lyxfunc.C (dispatch):
9011 * BufferView_pimpl.C:
9012 * BufferView_pimpl.h:
9014 * BufferView.h: rename Dispatch() to dispatch()
9016 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9018 * lyxlayout.C (Read): honor DependsOn tag
9020 * lyxlayout.[Ch] (depends_on): new method
9022 * version.C.in: update lyx_docversion
9024 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9026 * paragraph.C (validate): remove from here...
9027 * paragraph_pimpl.C (validate): ... and move here
9028 (isTextAt): make it const
9030 * buffer.C (getLists): ws cleanup
9032 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9034 * language.C (read): Use iso8859-1 encoding in latex_lang
9035 (this prevents LyX from crashing when using iso10646-1 encoding).
9037 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9039 * text2.C (toggleInset): if cursor is inside an inset, close the
9040 inset and leave cursor _after_ it
9042 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9044 * lyxfunc.C: move minibuffer completion handling out of here
9046 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9048 * BufferView_pimpl.C:
9049 * LaTeX.C: fix dispatch calls
9051 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9053 * text.C (drawChars): Fix Arabic text rendering.
9055 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9059 * lyxfunc.C: remove message-push/pop
9063 * lyxfunc.C: rationalise some code by removing verboseDispatch
9064 in favour of a bool argument to dispatch()
9066 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9068 * lyx_main.C (init): make sure to read symlinks as absolute paths
9070 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9073 * lyxfunc.C: no need for commandshortcut to be a member
9075 2002-07-15 André Pönitz <poenitz@gmx.net>
9077 * converter.C: add support for $$s (scripts from lib/scripts dir)
9078 * lyx_main.C: white space
9080 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9084 * lyxrc.C: remove second exit confirmation
9086 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9091 * BufferView_pimpl.h:
9092 * BufferView_pimpl.C:
9093 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9095 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9097 * MenuBackend.C (expand): add numeric shortcuts to document menu
9099 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9101 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9103 * lyxfont.C (setLyXFamily):
9110 * buffer.C (asciiParagraph): use ascii_lowercase
9112 2002-07-15 Mike Fabian <mfabian@suse.de>
9114 * lyxlex_pimpl.C (search_kw):
9115 * lyxlex.C (getLongString):
9116 * converter.h (operator<):
9117 * converter.C (operator<):
9118 * buffer.C (parseSingleLyXformat2Token):
9120 * ToolbarDefaults.C (read):
9121 * MenuBackend.C (checkShortcuts):
9123 * LColor.C (getFromGUIName):
9124 (getFromLyXName): use the compare_ascii_no_case instead of
9125 compare_no_case, because in turkish, 'i' is not the lowercase
9126 version of 'I', and thus turkish locale breaks parsing of tags.
9128 2002-07-16 Angus Leeming <leeming@lyx.org>
9130 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9131 now takes a Buffer const & argument.
9133 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9135 * BufferView.C (resize): check there's a buffer to resize
9137 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9139 * lyxfunc.C: remove dead code
9142 * lyxserver.C: use lyx_guii::set_read_callback
9144 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9146 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9147 an inset in a RTL paragraph.
9149 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9151 * lyxfunc.C: repaint after a font size update
9153 2002-07-15 André Pönitz <poenitz@gmx.net>
9155 * lyxlength.C: inBP should be able to return negative values
9157 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9159 * lyxfunc.C: use lyx_gui::update_fonts()
9161 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9163 * lyxfunc.C: use lyx_gui::update_color()
9165 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9171 * lyxrc.C: remove file->new asks for name option, and let
9172 buffer-new take an argument
9174 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9176 * BufferView_pimpl.C: remove unneeded extra repaint()
9178 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9180 * LyXAction.C: allow command-sequence with NoBuffer
9182 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9184 2002-07-10 Angus Leeming <leeming@lyx.org>
9186 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9188 2002-07-09 Angus Leeming <leeming@lyx.org>
9190 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9192 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9194 * lengthcommon.h: whitespace
9196 * lyxfunc.C: update scrollbar after goto paragraph
9198 * lyxtext.h: factor out page break drawing, and fix it so
9199 page break/added space paints as selected nicely
9201 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9203 * BufferView_pimpl.C: add FIXMEs, clean up a little
9205 2002-07-09 André Pönitz <poenitz@gmx.net>
9207 * lyxfont.[Ch]: support for wasy symbols
9209 2002-07-08 André Pönitz <poenitz@gmx.net>
9211 * BufferView_pimpl.C: apply John's patch for #93.
9213 2002-07-05 Angus Leeming <leeming@lyx.org>
9215 * BufferView_pimpl.C (buffer): generate previews if desired.
9217 * LColor.h: add "preview" to the color enum.
9219 * LColor.C (LColor): add a corresponding entry to the items array.
9221 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9224 2002-07-05 Angus Leeming <leeming@lyx.org>
9226 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9227 The body of the code is now in the method that is passed an ostream &
9228 rather than a file name.
9229 Pass an additional only_preamble parameter, useful for the forthcoming
9232 2002-07-03 André Pönitz <poenitz@gmx.net>
9234 * lyxfunc.C: simplify getStatus() a bit for math stuff
9236 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9238 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9240 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9242 * text.C (changeRegionCase): do not change case of all the
9243 document when region ends at paragraph end (bug #461)
9245 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9247 * paragraph.C (startTeXParParams):
9248 (endTeXParParams): add \protect when necessary
9250 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9252 * BufferView_pimpl.C (workAreaExpose): remove warning
9254 2002-06-27 Angus Leeming <leeming@lyx.org>
9256 * Makefile.am: add lyxlayout_ptr_fwd.h.
9258 2002-06-26 André Pönitz <poenitz@gmx.net>
9260 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9262 2002-06-25 Angus Leeming <leeming@lyx.org>
9264 * lyxfunc.C (dispatch): Comment out the call to
9265 grfx::GCache::changeDisplay. The method no longer exists now that the
9266 pixmap generation part of the graphics loader has been moved into
9269 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9271 * text2.C: layout as layout
9273 * text.C: layout as layout
9275 * tabular.C (OldFormatRead): layout as layout
9277 * paragraph_pimpl.C (TeXDeeper): layout as layout
9278 (realizeFont): layout as layout
9280 * paragraph.C (writeFile): layout as layout
9281 (validate): layout as layout
9282 (getFont): layout as layout
9283 (getLabelFont): layout as layout
9284 (getLayoutFont): layout as layout
9285 (breakParagraph): layout as layout
9286 (stripLeadingSpaces): layout as layout
9287 (getEndLabel): layout as layout
9288 (getMaxDepthAfter): layout as layout
9289 (applyLayout): layout as layout
9290 (TeXOnePar): layout as layout
9291 (simpleTeXOnePar): layout as layout
9292 (TeXEnvironment): layout as layout
9293 (layout): layout as layout
9294 (layout): layout as layout
9296 * lyxtextclass.C (compare_name): new functor to work with
9297 shared_ptr, layout as layout
9298 (Read): layout as layout
9299 (hasLayout): layout as layout
9300 (operator): layout as layout
9301 (delete_layout): layout as layout
9302 (defaultLayout): layout as layout
9304 * lyxlayout_ptr_fwd.h: new file
9306 * lyxlayout.C (Read): layout as layout
9308 * lyx_cb.C (MenuInsertLabel): layout as layout
9310 * bufferlist.C (newFile): layout as layout
9312 * buffer.C (readLyXformat2): layout as layout
9313 (parseSingleLyXformat2Token): layout as layout
9314 (insertStringAsLines): layout as layout
9315 (asciiParagraph): layout as layout
9316 (latexParagraphs): layout as layout
9317 (makeLinuxDocFile): layout as layout
9318 (simpleLinuxDocOnePar): layout as layout
9319 (makeDocBookFile): layout as layout
9320 (simpleDocBookOnePar): layout as layout
9321 (getLists): layout as layout
9323 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9325 * CutAndPaste.C (cutSelection): layout as layout
9326 (pasteSelection): layout as layout
9327 (SwitchLayoutsBetweenClasses): layout as layout
9329 * BufferView_pimpl.C (Dispatch): layout as layout
9330 (smartQuote): layout as layout
9332 * BufferView2.C (unlockInset): layout as layout
9334 2002-06-24 André Pönitz <poenitz@gmx.net>
9336 * lyxfunc.C: fix #487
9338 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9342 * lyxfunc.C: remove display_shortcuts, show_banner
9344 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9346 * Buffer_pimpl.C: oops, update on resize
9348 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9355 * BufferView.C: use repaint()
9357 * BufferView_pimpl.h:
9358 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9359 as it's a clearer description. Remove superfluous
9362 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9364 * text.C: fix bug 488. Not ideal, but getting
9365 getWord() to work properly for the insets that
9366 matter is more difficult ...
9368 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9370 * BufferView_pimpl.C:
9373 * lyxfunc.C: remove the six million index lyxfuncs to just
9374 one, and DTRT (bug 458)
9376 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9380 * BufferView_pimpl.h:
9381 * BufferView_pimpl.C: clean up resize() stuff,
9382 and unnecessary updateScreen()s
9384 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9388 * BufferView_pimpl.h:
9389 * BufferView_pimpl.C:
9392 * minibuffer.C: remove focus management of workarea,
9393 not needed. Use screen's greyOut()
9395 2002-06-17 Herbert Voss <voss@lyx.org>
9397 * converter.C: (convert) do not post a message, when converting
9398 fails, let the calling function decide what to do in this case
9400 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9402 * lyxfunc.C: tidy up a little
9404 2002-06-16 <alstrup@diku.dk>
9406 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9407 Got rid of FORMS_H_LOCATION include. Now we are
9410 2002-06-15 LyX Development team <lyx@rilke>
9412 * buffer.[Ch] (sgmlOpenTag):
9413 (sgmlCloseTag): Added support for avoiding pernicious mixed
9414 content. Return number of lines written.
9417 (makeDocBookFile): Fixed calls to sgml*Tag.
9418 Simple white space clean.
9420 (simpleDocBookOnePar): Simple white space clean.
9422 * tabular.[Ch] (docBook): Renamed to docbook and got another
9423 argument to related with the pernicious mixed content.
9425 (docbookRow): Fixed calls for docbook inset method.
9427 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9429 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9430 so it's X11 independent.
9434 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9436 2002-06-15 Lyx Development team <lyx@electronia>
9438 * intl.h: Renamed getTrans to getTransManager.
9440 2002-06-14 Angus Leeming <leeming@lyx.org>
9442 * Makefile.am: nuke forgotten stl_string_fwd.h.
9444 2002-06-12 Angus Leeming <leeming@lyx.org>
9446 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9448 2002-06-13 Angus Leeming <leeming@lyx.org>
9451 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9453 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9455 * kbmap.C (getiso): add support for cyrillic and greek
9457 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9461 * BufferView_pimpl.h:
9462 * BufferView_pimpl.C: move bogus scrolling logic
9465 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9468 * BufferView_pimpl.C: view->resize() change
9470 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9472 * BufferView_pimpl.C: topCursorVisible
9475 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9479 * lyx_gui.C: move to frontends/
9483 * lyx_main.C: changes from above
9485 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9492 * lyx_main.C: minor tidy
9494 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9496 * BufferView_pimpl.h:
9497 * BufferView_pimpl.C:
9499 * BufferView.C: make painter() const,
9502 * BufferView2.C: use screen() accessor
9505 * lyx_main.C: some minor cleanup
9507 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9509 * BufferView_pimpl.h:
9510 * BufferView_pimpl.C: remove enter/leaveView,
9513 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9518 * BufferView_pimpl.h:
9519 * BufferView_pimpl.C: only construct screen once,
9522 * lyxrc.C: remove pointless comment
9524 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9527 * BufferView.C: remove active() and belowMouse()
9529 * BufferView_pimpl.h:
9530 * BufferView_pimpl.C: use workarea() not workarea_,
9531 and make it use a scoped_ptr instead
9533 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9535 * lyx_gui.C: add debug message on BadWindow
9537 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9539 * sp_spell.C: fdopen is not part of the C++ standard.
9541 * paragraph.C (InsetIterator): use >= instead of ==
9543 2002-06-07 Angus Leeming <leeming@lyx.org>
9545 Fixes needed to compile with Compaq cxx 6.5.
9546 * BufferView_pimpl.C:
9553 * lyxtextclasslist.C:
9558 all c-library variables have been moved into namespace std. Wrap
9559 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9564 Add a using std::abs declaration.
9566 * kbmap.h (modifier_pair):
9567 * paragraph.h (InsetTable, InsetList):
9568 * lyxfont.h (FontBits):
9569 type definition made public.
9571 * bufferlist.C (emergencyWriteAll): the compiler complains that
9572 there is more than one possible lyx::class_fun template to choose from.
9573 I re-named the void specialisation as lyx::void_class_fun.
9575 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9577 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9578 the compiler is is unable to find tostr in write_attribute.
9580 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9582 * buffer.C (sgmlError): hide #warning
9584 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9586 * xtl/*: get rid of xtl, which is not in use anyway
9588 * LyXAction.C (init):
9589 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9590 were unimplemented xtl experimentation
9592 2002-06-04 André Pönitz <poenitz@gmx.net>
9594 * lyxfunc.C: disable array operation on simple formulae
9596 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9598 * converter.C: constify a bit
9600 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9602 * lyx_gui.C: check xforms version correctly
9604 2002-04-30 Herbert Voss <voss@lyx.org>
9606 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9609 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9611 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9612 attempt to register it with a VCS)
9614 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9616 * lyx_main.C (init): honor variables LYX_DIR_13x and
9619 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9623 * lyx_main.C: fix a crash on bad command line,
9624 and give a useful exit status on error
9626 * lyxfunc.C (doImport): allow -i lyx to work
9628 2002-03-30 André Pönitz <poenitz@gmx.net>
9630 * lyxfunc.C: mathed font changes
9632 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9647 * trans_mgr.h: srcdocs, and some minor cleanups
9649 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9651 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9652 call getFont all the time)
9654 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9656 * switch from SigC signals to boost::signals
9658 2002-05-29 André Pönitz <poenitz@gmx.net>
9660 * paragraph_pimpl.C (getChar): don't call size() too often...
9662 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9664 * paragraph_pimpl.C (insertChar): do not try to update tables when
9665 appending (pos == size())
9667 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9668 in order to reduce drastically the number of comparisons needed to
9669 parse a large document
9671 2002-05-29 André Pönitz <poenitz@gmx.net>
9677 * textclasslist.[Ch]:
9678 * sp_ispell.h: whitespace change
9680 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9682 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9683 lyxaction directly now.
9685 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9689 * lyxvc.C: remove unused headers
9691 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9698 * undo_funcs.C: some cleanups. Use shared_ptr
9699 and a template for the undo stacks.
9701 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9703 * BufferView_pimpl.h:
9704 * BufferView_pimpl.C:
9711 * text2.C: use key_state/mouse_state
9713 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9715 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9718 * chset.C: change include order
9719 (loadFile): use boost regex and get rid of LRegex and LSubstring
9721 * Makefile.am (BOOST_LIBS): new variable
9724 * LaTeX.C: change include order.
9725 (scanAuxFile): use boost regex and get rid of LRegex and
9729 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9734 * FontInfo.C: moved to frontends/xforms/
9737 * FontLoader.C: moved into frontends for GUIIzation
9742 * lyxfunc.C: changes from above
9744 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9746 * LColor.C: remove spurious X include
9748 * BufferView_pimpl.C:
9753 * text2.C: move font metrics to frontends/
9755 2002-05-24 Juergen Vigna <jug@sad.it>
9757 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9758 setting the undo_cursor.
9760 * ParagraphParameters.h: include local includes first.
9762 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9764 * BufferView_pimpl.C:
9765 * BufferView_pimpl.h:
9769 * screen.C: move WorkArea into frontends/
9775 * BufferView2.C: move LyXScreen into frontends/
9779 * lyx_gui.C: move lyxlookup into frontends/xforms/
9781 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9784 * BufferView_pimpl.C:
9794 * bufferview_funcs.C:
9807 * vc-backend.C: move LyX/XFormsView into frontends/
9809 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9821 * text2.C: move Painter to frontends/
9823 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9825 * buffer.C: comment out some some code that depend upon lyx_format
9828 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9829 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9831 * buffer.h (NO_COMPABILITY): turn off compability
9833 * ColorHandler.C: include scoped_array.hpp
9835 * font.C: Use more specific smart_ptr header.
9838 * ShareContainer.h: ditto
9842 * BufferView_pimpl.h: ditto
9843 * ColorHandler.h: ditto
9845 * kbmap.C (defkey): change call to shared_ptr::reset
9847 2002-05-21 Juergen Vigna <jug@sad.it>
9849 * buffer.C (insertErtContents): fix to insert ert asis if it is
9850 non empty. Skip it completely if it contains only whitespaces.
9852 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9854 * BufferView_pimpl.C:
9855 * BufferView2.C: clear selection on paste (bug 393)
9857 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9859 * DepTable.C: include ctime
9861 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9863 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9865 2002-05-14 Juergen Vigna <jug@sad.it>
9867 * text.C (breakParagraph): fixed function to honor the keepempty
9868 layout in the right maner and also to permit the right breaking
9869 algorithm on empty or non empyt keepempty paragraphs.
9871 * paragraph.C (breakParagraph): we have to check also if the par
9872 is really empty (!size()) for isempty otherwise we do the wrong
9875 2002-05-10 Juergen Vigna <jug@sad.it>
9877 * buffer.[Ch] : The following are only changes to the ert
9878 compatibility read reading old LaTeX layout and font stuff and
9879 convert it to ERTInsets.
9881 * buffer.h: added isErtInset().
9883 * buffer.C (struct ErtComp): add a fromlayout bool to check
9884 if we're inside a LaTeX layout.
9885 (isErtInset): new helper function.
9886 (insertErtContents): look for other ert insets before this one
9887 and insert the contents there, so that we don't have subsequent
9888 ERT insets with nothing between them. This way we create only one
9889 inset with multiple paragraphs. Also check if we don't insert only
9890 spaces ' ' as they are ignored anyway afterwards in the .tex file
9891 so if we have only spaces we will ignore this latex part in the
9893 (parseSingleLyXformat2Token \\layout): better compatibility when
9894 reading layout-latex stuff.
9895 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9897 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9898 stuff after reading the inset only get the information back from
9901 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9903 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9905 * LaTeXFeatures.C (getBabelOptions): New method.
9907 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9909 * BufferView_pimpl.C (Dispatch): work around missing argument for
9912 2002-05-08 Juergen Vigna <jug@sad.it>
9914 * text.C (leftMargin): handle paragraph leftindent.
9916 * paragraph.C (writeFile): write the new \\leftindent tag.
9917 (validate): handle leftindent code.
9918 (TeXEnvironment): handle paragraphleftindent code again.
9920 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9922 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9923 for paragrap_extra indent code and new token \\leftindent.
9924 (latexParagraphs): handle the leftindent as environment.
9926 * ParameterStruct.h: added leftindent support.
9928 * ParagraphParameters.C (leftIndent): added support functions for
9929 the paragraph left indent.
9931 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9934 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9936 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9939 * text.C (computeBidiTables): No bidi in insetERT.
9941 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9944 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9946 * version.C.in: pre 5
9948 2002-05-02 José Matos <jamatos@fep.up.pt>
9949 * buffer.C (makeDocBookFile): white space changes, add newline to
9951 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9953 * tabular.C (docBook): fix typo.
9955 2002-05-03 Juergen Vigna <jug@sad.it>
9957 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9958 change in LyXText as we can not be sure it was not freed.
9959 (drawOneRow): remove unused code.
9961 * text.C (drawInset): redo the calculation of the need_break_row as
9962 it could have a row which was already freed.
9963 (draw): look at the return value of drawInset and return false if
9964 it also returned false.
9965 (paintRowText): look at the return value of draw and return false if
9966 it also returned false.
9968 * lyxtext.h: added bool return type to drawInset() and draw() so that
9969 if we have a change in the row so that the rowbreak has to be redone
9970 we abort drawing as it will be called again.
9972 2002-05-02 Juergen Vigna <jug@sad.it>
9974 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9975 a change in the maintext also if we're inside an inset.
9976 (Dispatch): set the cursor again after a break line and after the
9977 screen has been updated as it could be we're in a different row.
9979 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9980 to set the cursor behind the pargraph with > size().
9981 (setCursor): check also for the same paragraph when checking where
9982 to put the cursor if we have a NFR inset.
9984 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9985 parts of layout read further up as it still was in the wrong
9988 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9990 * screen.C (drawFromTo): change sine fullRebreak always return
9993 * buffer.C (parseSingleLyXformat2Token): reindent some
9995 * BufferView_pimpl.C (update): change since fullRebreak always
9997 (Dispatch): git rid of the last hardcoded "Standard"s.
9999 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10001 * text2.[Ch] (fullRebreak): make it return void now that we always
10004 2002-04-30 Juergen Vigna <jug@sad.it>
10006 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10007 ert compatibility check for "latex" layout.
10009 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10011 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10012 minipages: use col% instead of p%, and also use the current font.
10013 (makeLaTeXFile): Fix use babel condition.
10014 (parseSingleLyXformat2Token): Correct font when reading old floats.
10016 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10018 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10019 inserting list of floats.
10021 2002-04-25 Herbert Voss <voss@lyx.org>
10023 * MenuBackend.C (expand): don't add the graphics extensions to the
10026 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10028 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10029 non-existing layout, do not complain if it was the default layout
10030 of the original class (bug #342)
10032 2002-04-24 Juergen Vigna <jug@sad.it>
10034 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10035 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10037 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10039 * buffer.C (getBibkeyList): If using \bibliography, return the
10040 option field with the reference itself. Enables us to provide natbib
10041 support when using \bibliography.
10043 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10045 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10047 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10048 natbib is provided by the LaTeX class.
10050 2002-04-23 Juergen Vigna <jug@sad.it>
10052 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10055 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10057 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10059 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10061 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10062 ensuremath around textordmasculine, textordfeminine and
10065 2002-04-19 Juergen Vigna <jug@sad.it>
10067 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10068 reinitializing the buffer otherwise row-dimensions may be wrong.
10069 (update): reset also the selection cursors if they do exits otherwise
10070 their x/y positions may be wrong.
10072 * text2.C (cursorDown): don't enter the inset if we came from a row
10073 above and are one row over the inset.
10075 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10076 really leaving an inset.
10078 2002-04-18 Juergen Vigna <jug@sad.it>
10080 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10081 of the selected paragraph does not have the selected layout also if
10084 * text2.C (setLayout): fixed bug which did not change last selected
10087 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10088 changed the read and substituted \\end_float with \\end_inset!
10090 * BufferView_pimpl.C (cursorPrevious):
10091 (cursorNext): fixed to make it work with rows heigher than the work
10092 area without moving the cursor only the draw of the row.
10093 (workAreaMotionNotify): fix jumping over high rows.
10095 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10097 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10100 2002-04-16 Juergen Vigna <jug@sad.it>
10102 * text2.C (setCursor): set also the irow().
10103 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10105 (cursorDown): support for locking an inset if the x_fix value goes
10106 inside it. That way I can transverse insets too with cursor up/down.
10108 * lyxrow.h: added irow helper function same as other (i) functions.
10110 * BufferView_pimpl.C (cursorPrevious):
10111 (cursorNext): fixed for insets!
10113 2002-04-15 Juergen Vigna <jug@sad.it>
10115 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10116 position otherwise it is wrong in some cases.
10118 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10119 inside the inset before the call.
10121 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10123 * buffer.[Ch] (getBibkeyList): make it const.
10125 2002-04-12 Juergen Vigna <jug@sad.it>
10127 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10129 * text2.C (getCursorX): new helper function
10130 (setCursor): compute also ix_
10131 (setCursorFromCoordinates): set also ix.
10133 * lyxcursor.h: added ix_ and helper functions.
10135 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10137 * buffer.C (insertStringAsLines): dont break paragraph if the this
10138 paragraph is inside an inset which does not permit it!
10140 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10141 also with no chars on this paragraph.
10142 (paintRowText): only paint stuff if it's inside the workarea!
10144 * paragraph.C (breakParagraph): honor keepempty flag and break the
10145 paragraph always below not above.
10147 * BufferView2.C (unlockInset): update the paragraph layout on inset
10148 unlock as we changed paragraph in such a case.
10150 * lyxfind.C (LyXFind): clear the former selection if not found!
10152 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10153 again called in insertChar().
10155 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10156 an inset which uses the whole row!
10157 (rightMargin): ditto.
10158 (insertChar): force a rebreak if we inserted an inset!
10160 2002-03-28 Herbert Voss <voss@lyx.org>
10162 * lyxlength.[Ch]: add inBP() to get the right PS-point
10163 units (BigPoint). With inPixels we have rounding errors
10165 2002-04-11 Juergen Vigna <jug@sad.it>
10167 * text2.C (setCursorFromCoordinates): set iy to the right value.
10168 (setCursor): add check if row->previous exists!
10170 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10171 an old float_type as this was the case in the old code!
10173 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10175 * BufferView2.C (showLockedInsetCursor): use iy
10176 (fitLockedInsetCursor): ditto
10178 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10179 locked insets as there we have the right value now.
10181 * lyxcursor.C: added iy_ variable and iy functions to set to the
10182 baseline of cursor-y of the locked inset.
10184 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10185 (setCursor): fixed for insets which need a full row.
10187 * text.C (rowLastPrintable): don't ignore the last space when before
10188 an inset which needs a full row.
10189 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10190 as last character of a row when before a inset which needs a full row.
10192 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10194 * version.C.in: update date
10196 * text2.C (fullRebreak): try to always return true and see what
10199 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10201 * MenuBackend.C (expand): use Floating::listName
10203 * FloatList.C (FloatList): add listName argument to the built-in
10206 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10207 text associated with the float.
10209 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10211 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10213 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10215 * ShareContainer.h: add a couple of missing typenames.
10217 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10219 * lyxrc.C (getDescription): use _() correctly rather than N_().
10221 2002-03-28 Herbert Voss <voss@lyx.org>
10223 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10224 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10226 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10228 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10229 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10231 2002-03-29 Juergen Vigna <jug@sad.it>
10233 * lyxfunc.C (dispatch): add a missing fitCursor call.
10235 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10236 it was scrolled by a cursor move, so return the bool status.
10238 * BufferView.C (fitCursor): return the bool flag also to the outside
10239 world as this is needed.
10241 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10243 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10244 call the edit() as it is not needed (and wrong) IMO.
10245 (workAreaButtonPress): set the screen_first variable before evt.
10246 unlock the inset as this may change screen_first and then we have
10247 a wrong y position for the click!
10249 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10251 * MenuBackend.C (expand): another translation that I missed
10253 2002-03-28 Juergen Vigna <jug@sad.it>
10255 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10257 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10259 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10261 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10263 * MenuBackend.C (expand): fix export/view/update when there is no
10266 2002-03-27 Herbert Voss <voss@lyx.org>
10268 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10271 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10273 * bufferview_funcs.C (currentState): only show paragraph number
10274 for is DEVEL_VERSION is set.
10276 * lyxfunc.C (dispatch): put warning in INFO channel
10278 * MenuBackend.C (expand): translate the name of floats
10280 * FloatList.C (FloatList): mark the float names for translation
10282 * converter.C (convert): use LibScriptSearch
10284 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10286 * MenuBackend.C (defaults): fix default menu (we might as well get
10289 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10291 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10294 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10296 * lyxvc.C: reorder includes.
10298 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10300 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10303 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10305 * CutAndPaste.C: change layouts earlier on paste
10306 to avoid crashing when calling getFont()
10308 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10310 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10313 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10315 * WorkArea.C: remove 'Pending' debug message.
10317 * most files: ws cleanup
10319 * buffer.[Ch]: ws changes
10321 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10323 2002-03-21 Juergen Vigna <jug@sad.it>
10325 * tabular.C (SetMultiColumn): collapse also the contents of the
10326 cells and set the last border right. Added a Buffer const * param.
10328 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10330 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10333 2002-03-19 Juergen Vigna <jug@sad.it>
10335 * text2.C (clearSelection): reset also xsel_cache.
10337 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10338 where it needs to be called (John tells us to do so too :)
10339 (selectionLost): reset sel_cache.
10341 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10343 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10345 * text2.C (setCursorIntern): put debuging code in INSETS channel
10347 2002-03-19 André Pönitz <poenitz@gmx.net>
10349 * lyxfunc.C: tiny whitespace change
10351 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10353 * ToolbarDefaults.C (init):
10354 * LyXAction.C (init):
10356 * BufferView_pimpl.C (Dispatch):
10357 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10359 2002-03-19 Allan Rae <rae@lyx.org>
10361 * exporter.C (Export): removeAutoInsets before doing anything else.
10362 While I've just introduced a dependency on BufferView this really is
10363 the best place to clean the buffer otherwise you need to cleanup in
10364 a dozen places before calling export or cleanup in a dozen functions
10367 * converter.C (runLaTeX):
10368 (scanLog): Better handling of removeAutoInsets and screen updates.
10370 * lyxfunc.C (dispatch): small whitespace changes
10372 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10374 * WorkArea.C (C_WorkAreaEvent): return a value.
10375 (event_cb): return 1 if we handled the event, 0 otherwise.
10377 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10379 2002-03-18 Juergen Vigna <jug@sad.it>
10381 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10382 (GetAdditionalWidth): ditto.
10383 (RightLine): ditto.
10386 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10387 inset if we're there actually (probably not used right now but this
10388 is the direction to go for unifying code).
10389 (paste): disable code to clear the selection.
10391 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10392 inside an InsetText and move the check further up as it is in the
10395 * text2.C (pasteSelection): set a selection over the pasted text.
10397 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10399 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10400 and libgraphics to build on Cygwin.
10402 2002-03-15 Juergen Vigna <jug@sad.it>
10404 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10405 inserting an Inset into the paragraph. I know this is not the best
10406 fix but we already use current_view in CutAndPaste so we will remove
10407 all of it's using at the same time.
10409 * buffer.C (sgmlError): deactivated function till it is rewritten in
10410 the right mode, now it can create problems.
10412 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10413 before accessing it.
10415 2002-03-14 Juergen Vigna <jug@sad.it>
10417 * undo_funcs.C (textHandleUndo): do the right thing when updating
10418 the inset after the undo/redo.
10420 * text2.C (setCursor): just some testcode for #44 not ready yet.
10422 * undo_funcs.C (textHandleUndo): set the next() and previous()
10423 pointers of the paragraph to 0 before deleting otherwise we have
10424 problems with the Paragraph::[destructor].
10426 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10427 on a paragraph insertion.
10429 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10431 * buffer.C (asciiParagraph): use += operator for char append to
10434 * paragraph.C (getFontSettings): compare >= not just >
10435 (highestFontInRange): ditto
10438 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10440 * paragraph.C: change several algorithm to be more appripriate for
10441 the problem domain. This is lookip in FontList and in the InsetList.
10443 2002-03-13 André Pönitz <poenitz@gmx.net>
10446 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10448 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10453 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10455 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10457 * Painter.C (display): anon helper function, adjust code for this
10459 (pixmap): remove function.
10461 * Painter.h: remove private display variable.
10463 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10465 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10467 * WorkArea.[Ch]: remove figinset_canvas cruft.
10469 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10471 * lyxtextclass.C (operator): add one item cache optimization.
10473 * bufferlist.h: doxy changes
10475 * bufferlist.C: ws changes
10477 * DepTable.[Ch] (ext_exist): place const in the right spot.
10479 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10481 (workAreaExpose): call resizeInsets when the with BufferView changes.
10482 (Dispatch): adjust for protectedBlank removal
10483 (specialChar): call updateInset if the insert went ok.
10485 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10486 specialChar instead.
10488 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10490 * BufferView.h: doxy change
10492 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10494 * lyxtextclass.C (operator[]): remove non-const version
10495 (defaultLayout): remove non-const version
10497 2002-03-12 Juergen Vigna <jug@sad.it>
10499 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10500 did resize the LyXText too.
10502 * buffer.C (readLyXformat2): set layout information on newly allocated
10505 * tabular.C (OldFormatRead): set layout information on the paragraph.
10507 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10509 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10511 2002-03-11 Juergen Vigna <jug@sad.it>
10513 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10515 (resizeCurrentBuffer): force also the insets to resize themselfes.
10516 (moveCursorUpdate): fixed up for InsetText.
10518 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10521 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10522 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10523 value of Dialogs::tooltipsEnabled().
10524 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10526 2002-03-08 Juergen Vigna <jug@sad.it>
10528 * BufferView_pimpl.C (updateInset): update inset inside inset also
10529 if it isn't inside theLockingInset().
10531 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10533 * buffer.C (asciiParagraph): redo some of the word and line length
10535 (getLists): look for Caption instead of caption.
10537 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10539 * buffer.C (Buffer): initialize niceFile to true
10541 (makeLinuxDocFile):
10542 (makeDocBookFile): make sure niceFile is true on exit
10544 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10546 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10548 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10550 * LyXSendto.C: remove.
10551 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10552 * lyx_gui.C: remove now-redundant comment.
10553 * ColorHandler.h: remove forward declaration of class WorkArea.
10554 * lyxfunc.C: remove #include "WorkArea.h".
10556 2002-03-07 Juergen Vigna <jug@sad.it>
10558 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10559 got moved away with the DEPM and also set the inset_owner always
10560 right which before could have been omitted.
10562 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10564 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10565 wanted layout is not found.
10567 2002-03-07 Juergen Vigna <jug@sad.it>
10569 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10571 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10573 * paragraph.C (breakParagraph): use default layout not layout of
10575 (Paragraph): clear ParagraphParameters.
10577 2002-03-06 Juergen Vigna <jug@sad.it>
10579 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10580 otherwise it would not be a valid lenght. Fixed a special case in
10581 the minipage compatibility read where we end the document with a
10584 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10585 was set as it could be 0 for InsetTexts first entry.
10587 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10589 * paragraph.C (writeFile): if layout is empty write out
10590 defaultLayoutName().
10592 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10593 file without named layout we set layout to defaultLayoutName().
10595 2002-03-06 Juergen Vigna <jug@sad.it>
10597 * CutAndPaste.C (copySelection): set layout for new paragraph.
10599 * text.C (prepareToPrint): leave ERT inset left aligned
10600 (leftMargin): don't indent paragraphs inside ERT insets
10602 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10604 * paragraph.C (breakParagraph): dont call clear do the work manually
10606 * paragraph.[Ch] (clear): remove function
10608 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10610 * paragraph.C (Paragraph): dont call clear, the work has already
10613 * lyxtextclass.C (operator): assert if n is empty
10615 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10616 work manually instead.
10618 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10620 * BufferView_pimpl.C: protect selectionLost against text == 0
10622 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10624 * text.C (breakParagraph): fix a setting layout to '0' problem.
10626 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10628 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10629 final location of file, for the included files, and graphics.
10631 2002-03-05 Juergen Vigna <jug@sad.it>
10633 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10635 2002-03-04 Juergen Vigna <jug@sad.it>
10637 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10639 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10640 last column of multicolumn cells.
10641 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10643 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10645 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10646 file if it doesn't go to a temporary file.
10648 * buffer.C (sgmlOpenTag):
10649 (sgmlCloseTag): remove extra newline insertion.
10651 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10653 * text.C (getRowNearY): comment out debug msg
10655 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10657 * text2.C: first -> first_y
10659 * text.C (getRowNearY): add some attemts at a possible
10660 optimization, not working.
10662 * tabular.[Ch]: add BufferParams to several function so that newly
10663 created paragraph can be initialized to he default layotu for the
10666 * tabular-old.C (ReadOld): add buf->params to call of Init
10668 * screen.C: rename text->first to text->first_y
10670 * paragraph.C (breakParagraph): always set layout in the broken
10673 * lyxtextclass.C (Read): remove lowercase
10676 (delete_layout): ditto
10678 * lyxtext.h: rename first -> first_y
10680 * lyxlayout.C (Read): remove lowercase
10683 (obsoleted_by): ditto
10685 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10687 * buffer.C (insertErtContents): add params are to InsetERT
10688 (parseSingleLyXformat2Token): add code to check if a paragraphs
10689 layout really exist.
10690 (parseSingleLyXformat2Token): add params to several inset
10692 (asciiParagraph): remove lowercase, do the layout comparisons with
10695 * BufferView_pimpl.C (cursorNext): first -> first_y
10696 (resizeCurrentBuffer): first -> first_y
10697 (updateScrollbar): first -> first_y
10698 (scrollCB): first -> first_y
10699 (workAreaMotionNotify): first -> first_y
10700 (workAreaButtonPress): first -> first_y
10701 (checkInsetHit): first -> first_y
10702 (cursorPrevious): first -> first_y
10703 (cursorNext): first -> first_y
10704 (Dispatch): add buffer_->params to severl inset contructors
10706 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10708 * lyxlayout.C (Read): remove some debug info that I forgot.
10710 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10711 clean up the code slightly.
10712 (makeLinuxDocFile): ditto
10713 (makeDocBookFile): ditto
10715 * text2.C: layout as string
10717 * text.C: layout as string
10719 * paragraph_pimpl.C: layout as string
10721 * paragraph.[Ch]: layout as string
10723 * lyxtextclasslist.[Ch]: layout as string
10725 * lyxtextclass.[Ch]: layout as string
10727 * lyxtext.h: layout as string
10729 * lyxlayout.[Ch]: layout as string
10731 * lyx_cb.C: layout as string
10733 * bufferview_funcs.C: layout as string
10735 * bufferparams.C: layout as string
10737 * buffer.C: layout as string
10739 * LyXView.[Ch]: layout as string
10741 * LaTeXFeatures.[Ch]: layout as string
10743 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10745 * BufferView_pimpl.C: change current_layout to string, remove
10750 (workAreaButtonRelease): layout as string
10752 * BufferView2.C (unlockInset): adjust
10754 * vspace.C (asLatexCommand): use an explict temp variable.
10756 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10758 * Makefile.am: use FRONTEND_*
10760 2002-03-01 Juergen Vigna <jug@sad.it>
10762 * tabular.C (SetWidthOfMulticolCell): changed to something better
10763 I hope but still work in progress.
10764 (recalculateMulticolumnsOfColumn): renamed function from
10765 recalculateMulticolCells as it is more appropriate now.
10766 (SetWidthOfCell): calculate multicols better.
10768 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10770 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10772 * lyxfunc.C (processKeySym): print sequence also if it is
10773 `deleted' (complete)
10775 * kbsequence.C (print): print sequence even if it is deleted
10776 (complete would be a better word, actually).
10778 * lyxfunc.C (dispatch): print complete options after a prefix key
10780 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10782 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10784 * text2.C (setCharFont): eliminate setCharFont code duplication.
10786 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10788 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10789 LFUN_TABULAR_FEATURE (bug #177)
10791 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10793 * Makefile.am: remove figure.h
10795 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10797 * Bufferview_pimpl.C:
10809 * text2.C: remove #include "lyx_gui_misc.h".
10811 * LaTeX.C: added #include <cstdio>
10813 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10815 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10816 that the paragraph following this one can have.
10818 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10820 * vspace.C (asLatexCommand): fix bogus gcc warning
10822 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10824 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10826 * text2.C (setLayout): get rid of redundant code
10828 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10830 * text2.C (incDepth): make sure depth cannot be increased beyond
10833 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10835 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10836 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10838 * PainterBase.h (image):
10839 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10840 a LyXImage const *.
10842 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10846 * BufferView_pimpl.C:
10847 * BufferView_pimpl.h:
10867 * sp_spell.C: remove fig inset, and the crap house of
10868 cards that follows it
10870 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10875 * os2_errortable.h:
10876 * nt_defines.h: move .h into support/
10878 * vms_defines.h: remove
10880 * WorkArea.C: add space in debug output
10884 * buffer.C: add WITH_WARNINGS
10888 * bufferlist.C: s/retrive/retrieve/, add docs
10897 * chset.C: add docs
10899 * lyxgui.C: add ID to X error handler
10901 * lyxtestclass.c: fix typo
10903 2002-02-26 Juergen Vigna <jug@sad.it>
10905 * tabular_funcs.C (write_attribute): changed so that some default
10906 attributes are not written at all.
10907 (getTokenValue): set default values before trying to read the
10908 value so we have the return value always set as default if we don't
10909 find the token we search for.
10911 * tabular.C (Write): write bools as bools not as strings!
10913 2002-02-22 Juergen Vigna <jug@sad.it>
10915 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10916 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10918 * text.C (leftMargin): don't add an indent for paragraphs inside
10919 tabular cells (fix #208).
10921 2002-02-21 José Matos <jamatos@fep.up.pt>
10923 * tabular.C (docBook): fixed support for long tables.
10925 2002-02-20 Juergen Vigna <jug@sad.it>
10927 * text2.C (getFont): get the drawing font of the Inset if this
10928 paragraph is inside an inset (only important for InsetERT for now).
10930 * buffer.C (insertErtContents): use new lanugage params in ERT
10933 * CutAndPaste.C: commenting out seemingly uneeded code.
10935 2002-02-19 Allan Rae <rae@lyx.org>
10937 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10938 Iterators might be simple to use but they also get invalidated.
10939 (removeAutoInsets): renamed saved cursor tracking variables and added
10940 some comments to clarify what everything does.
10942 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10949 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10950 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10953 * vc-backend.h: remove #include "support/syscall.h"
10957 * converter.C: rearrange #includes in Lars' approved fashion.
10959 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10960 forward declare class Timeout in the header file.
10962 * XFormsView.C: changes due to the above.
10964 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10965 similar to LyXView.
10967 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10968 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10970 2002-02-18 José Matos <jamatos@fep.up.pt>
10972 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10975 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10977 * a lot of small ws changes
10978 * add a lot of using std::XXX
10979 * use std construcs some places where approp.
10980 * use some exisint stuff from lyxfunctional where approp.
10981 * Make file changes to use partial linking (lets test this now...)
10983 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10987 remove #include "support/syscontr.h" as it's redundant. Always has been.
10995 change Systemcalls::System to Systemcalls::Wait and
10996 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10997 No change of functionality, just reflects the stripped down Systemcalls
11000 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11002 * debug.[Ch]: add a GRAPHICS type to the enum.
11004 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11006 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11008 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11011 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11013 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11014 match the changes below.
11016 * text2.C (toggleInset): if there is not editable inset at cursor
11017 position, try to see if cursor is _inside_ a collapsable inset
11020 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11022 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11023 document menu has a nice checkbox
11025 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11027 * lyxlength.C (asLatexString): change PW to output as percent of
11030 * lengthcommon.C: change '%' to 't%'
11032 * lyxfunc.C (dispatch): a few comments from Martin
11034 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11038 * BufferView_pimpl.h:
11039 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11042 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11044 * vspace.C (inPixels): fix compiler warning
11046 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11048 * lyxfunc.C (getStatus): fix status message for disabled commands.
11050 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11052 * BufferView_pimpl.C: fix crash on close buffer
11053 during selection (#227)
11055 2002-01-27 Herbert Voss <voss@lyx.org>
11057 * buffer.C: link old Figure to new graphic inset
11059 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11061 * FontLoader.C (getFontinfo): Change the latex font names in order
11062 to match the names of type1inst.
11064 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11066 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11068 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11069 (extchanged): ditto
11071 (remove_files_with_extension): ditto
11072 (remove_file): ditto
11075 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11076 document is smaller than the work area height. Do not initialize
11077 static variables to 0.
11079 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11081 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11083 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11084 LFUN_LAYOUT_PARAGRAPHS.
11086 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11087 tabular. It is possible to provide a possible cell, which will
11088 typically be the actcell from the corresponding insettabular
11090 * lyxfunc.C (getStatus): small cleanup; disable
11091 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11094 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11096 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11098 * paragraph.C (startTeXParParams):
11099 (endTeXParParams): new methods. The LaTeX code to
11100 start/end paragraph formatting
11101 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11102 empty (fixes bug #200)
11104 * vspace.C (inPixels): adapt to the change below
11105 (inPixels): [later] more cleanups (remove unused variables)
11107 * lyxlength.C (inPixels): change to use a width and a height as
11110 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11112 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11113 Replaced with \paperwidth
11115 * DepTable.C (insert): add std:: qualifier
11117 2002-01-18 Allan Rae <rae@lyx.org>
11119 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11122 * text.C (drawInset): Turned out I didn't know enough about how
11123 rebreaking worked. This fixes most of the redraw problems. I see
11124 an occasional cursor trail when a line is broken now and the cursor
11125 placement can seem out by a few pixels also after a rebreak.
11127 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11129 * buffer.C (parseSingleLyXformat2Token): update because minipage
11130 width is now a LyXLength
11132 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11134 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11137 2002-01-17 Juergen Vigna <jug@sad.it>
11139 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11141 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11142 is set correctly and the inset is updated correctly.
11144 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11146 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11147 the beginning of the loop.
11149 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11151 * lyxrc.C: improve help for use_scalable_fonts
11153 2002-01-17 Allan Rae <rae@lyx.org>
11155 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11157 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11159 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11160 make sure to set their inset_owner to the right value (bug #171)
11162 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11165 * DepTable.C: Implement mtime checking to reduce time spent doing
11168 2002-01-16 Juergen Vigna <jug@sad.it>
11170 * tabular.C (GetAdditionalHeight): one of error fixed.
11172 * lyxrc.C (output): small fix in writing use_pspell.
11174 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11176 * sp_base.h: #include LString.h
11178 2002-01-16 Allan Rae <rae@lyx.org>
11180 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11181 Can someone check this please?
11183 * text.C (drawInset): It was possible that p.row would be removed by
11184 breakAgainOneRow upsetting a few other settings. There may be another
11185 small tweak possible by setting need_break_row = 0 when p.row has been
11186 removed but I don't know enough about the logic here.
11188 2002-01-15 Allan Rae <rae@lyx.org>
11190 * text.C (insertChar): removed conditional truism.
11192 * BufferView2.C (removeAutoInsets): More tweaks.
11193 cur_par_prev could be a stray pointer. Check for trailing empty line
11194 in case last line was cur_par and only had an error inset on it.
11196 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11198 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11201 * vc-backend.C (most methods):
11202 * exporter.C (Export):
11203 * converter.C (convert):
11205 * LyXSendto.C (SendtoApplyCB):
11206 * lyxfunc.C (dispatch):
11210 * lyx_cb.C (AutoSave):
11212 * BufferView_pimpl.C (MenuInsertLyXFile):
11213 * buffer.C (runChktex): use Buffer::filePath().
11215 * buffer.h: rename filename to filename_; rename filepath to
11216 filepath_ and make it private
11217 (filePath): new method
11219 * buffer.C (writeFile): use fileName()
11222 * lyx_main.C (init): fix starting of LyX when the binary is a
11223 link from so,ewhere else.
11225 * minibuffer.C: include <cctype> for isprint
11227 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11229 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11230 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11231 name clash with InsetCollapsable's width function.
11233 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11235 * lastfiles.C: include <iterator>
11237 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11239 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11242 * buffer.C (makeLaTeXFile): ditto.
11243 Also make loop operation more transparent.
11245 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11247 * ToolbarDefaults.C: remove trailing comma closing namespace.
11249 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11251 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11254 * trans.C (Load): comment out unused variable, allowed.
11256 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11258 * minibuffer.[Ch] (append_char): new method to recieve input from the
11259 drop-down completion browser. If a key was pressed, then recieve this
11260 char and append it to the existing string.
11261 (peek_event): modify the positioning data passed to the completion
11262 browser so that it can be placed above the minibuffer rather than below.
11263 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11265 * LyXAction.C (init): alloe error-next for readonly documents.
11267 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11270 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11272 * bufferlist.C (readFile): create the buffer _after_ checking that
11275 * lyxfunc.C (verboseDispatch): fix handling of arguments
11277 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11279 * lyxrc.C: use string::erase() instead of initializing to "".
11282 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11284 * BufferView_pimpl.h:
11285 * BufferView_pimpl.C:
11288 * text2.C: tell X when we have made a selection for copying
11290 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11292 * BufferView_pimpl.C (MenuInsertLyXFile):
11293 * lyxfunc.C (menuNew):
11295 (doImport): add shortcuts to directory buttons
11297 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11300 * lyxfunc.C (setStatusMessage):
11301 (getStatusMessage): new methods
11302 (getStatus):use setStatusMessage instead of setErrorMessage
11303 (dispatch): when function is disabled, set error message here
11304 [instead of in getStatus previously]
11306 * BufferView_pimpl.C (workAreaButtonRelease): update
11307 toolbar/menubar here too.
11309 2002-01-13 Allan Rae <rae@lyx.org>
11311 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11312 Now seems indestructible. Remaining task is to audit all other
11313 code affected by deleteEmptyParagraphMechanism. One small quirk
11314 left is that an empty document with an error in the preamble can
11315 be made to report an error but no error box appears. I don't know
11317 (removeAutoInsets): Improved comments.
11319 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11322 * Thesaurus.C: update for Aiksaurus 0.14
11324 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11326 * text2.C (firstParagraph): removed member function, all uses
11327 replaces with ownerParagraph
11328 (redoParagraphs): here
11329 (updateInset): here
11330 (toggleAppendix): here
11331 * BufferView2.C (insertErrors): here
11332 (setCursorFromRow): here
11334 2002-01-13 Allan Rae <rae@lyx.org>
11336 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11337 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11338 There is still a way to segfault this although you may have to do this
11339 multiple times: Have an InsetERT with an unknown command in it.
11340 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11341 <down-arrow>, <Enter> again, View->DVI, BANG!
11343 * text2.C (setCursor):
11344 (deleteEmptyParagraphMechanism):
11345 * lyxtext.h (setCursor):
11346 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11347 Making use of the return value may help fix other bugs.
11349 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11351 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11353 * LyXView.C (updateMenubar): call MenuBar::update here
11354 (updateToolbar): but not here
11355 (showState): do not update toolbar/menubar
11357 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11358 should need to care about that.
11360 * lyxfunc.C (verboseDispatch): simplify a bit
11361 (getStatus): have a version which takes a pseudoaction, and
11362 another which requires a (kb_action,string).
11364 * LyXAction.C (retrieveActionArg): make it work also when action
11365 is not a pseudo-action.
11366 (getActionName): simplify a bit
11369 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11371 * lyxfunc.C (verboseDispatch): new families of methods with
11372 several ways to specify a command and a bool to indicate whether
11373 the command name and shortcut should be displayed in minibuffer
11374 (eventually, we could extend that to a finer bitmask like
11375 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11376 (dispatch): the pristine dispatch command which just, well,
11377 dispatchs! Note it still sets its result to minibuffer; I'm not
11380 * lyxfunc.h: remove setHintMessage
11382 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11384 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11386 * BufferView_pimpl.C (specialChar): delete new inset if we have
11387 not been able to insert it.
11389 * kbmap.C: revert to using int instead of kb_action, since all we
11390 are dealing with is pseudo-actions.
11392 * LyXAction.C (searchActionArg): change to return int instead of
11393 kb_action, since the result is a pseudoaction.
11395 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11397 * buffer.C (insertErtContents): Fix (partially) the font bug.
11399 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11401 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11402 as the other one is broken on my machine!
11404 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11407 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11409 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11411 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11412 reflect their actual use. Provide compatibility code for older lyxrc
11415 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11417 change names of popup font variables in line with the changes to lyxrc.C
11419 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11421 * buffer.C (asciiParagraph): avoid outputing a word twice after
11424 * lyxrc.C (getDescription): document that document_path and
11425 template_path can be empty.
11427 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11429 * LaTeXFeatures.C (getMacros):
11430 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11432 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11434 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11436 (getPackages): rename feature "floats" to "float". Use an array to
11437 iterate over 'simple' features (i.e. just a \usepackage). Add
11438 handling of "amsmath" (renamed from "amsstyle").
11440 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11442 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11445 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11447 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11448 FuncStaus::FuncStatus & FuncStaus::some_method().
11450 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11452 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11453 of the func_satus stuff. Edited and massaged in various ways by
11456 * lyxfunc.C (getStatus): use FuncStatus
11458 2002-01-08 Juergen Vigna <jug@sad.it>
11460 * text.C (nextBreakPoint): use function Inset::isChar().
11462 * paragraph.C (TeXOnePar): use function
11463 Inset::forceDefaultParagraphs.
11465 * buffer.C (latexParagraphs): use function
11466 Inset::forceDefaultParagraphs.
11468 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11470 * lyx_gui.C (init): set the style of the menu popups to
11471 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11473 2002-01-07 Juergen Vigna <jug@sad.it>
11475 * text.C (setHeightOfRow): small fix
11476 (prepareToPrint): don't look at alignment if we don't have the place
11479 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11481 * box.C: New file. Move the Box methods and functions out of box.h,
11482 following Lars' suggestion.
11484 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11486 * box.h: #include "support/LOstream.h", needed for inlined function.
11489 * lyxtextclasslist.C: added some using std declarations.
11491 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11493 * box.h: make signed dimensions to allow insets wider than
11494 the screen (bug #162)
11496 * BufferView_pimpl.C: add some insetHit debug
11498 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11500 * vc-backend.C: add FIXME
11502 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11504 * lyxfunc.C (getStatus): enable code for showing math font status
11507 2002-01-07 Juergen Vigna <jug@sad.it>
11509 * text.C (nextBreakPoint): removed debug output not needed anymore.
11511 2002-01-06 Juergen Vigna <jug@sad.it>
11513 * text.C (nextBreakPoint): fixed up this function we had this bug
11514 since ever but now hopefully we break row better.
11515 (insertChar): we have to check if an inset is the next char as it
11516 could now happen that a large inset is causing a break.
11518 2002-01-05 Juergen Vigna <jug@sad.it>
11520 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11521 if it doesn't like to be drawed.
11523 2002-01-04 Juergen Vigna <jug@sad.it>
11525 * BufferView2.C (lockInset): forgot to set a cursor.
11527 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11529 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11531 * FormMathsPanel.C:
11534 * form_maths_panel.C:
11535 * form_maths_panel.h:
11536 * form_maths_panel.fd: implemented sub- and super- buttons in math
11539 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11540 (or ^ space) to be used as in TeX (req'd by André).
11542 * lyxfunc.C: Allow ^ and _ again to be used both as
11543 super/subscript (mathed) and as themselves (in text).
11545 2002-01-03 Allan Rae <rae@lyx.org>
11547 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11548 "LyX" or the filename of the current buffer if it has one. This is a
11549 modified form of John Levon's patch.
11551 * XFormsView.C (setWindowTitle): also set icon title.
11553 * LyXView.h (setWindowTitle): signature changed.
11554 * XFormsView.h (setWindowTitle): ditto.
11556 2002-01-02 Juergen Vigna <jug@sad.it>
11558 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11560 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11562 * screen.C (topCursorVisible): introduce a temp var for
11563 text->cursor.row(), handle the case where this row is null. (kindo
11566 * text2.C (setCursor): add a couple of asserts.
11568 * paragraph.h (inset_iterator): add -> operator
11570 * paragraph.[Ch] (autoDeleteInsets): remove member function
11572 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11573 cursor pos correctly and handle inset deletion by itself.
11574 (insertErrors): move iterator declaration out of for expression
11576 * lyxtextclass.C: add <algorithm>
11578 * Makefile.am: added the new files to sources, removed layout.C
11580 * layout.C: removed file
11582 * layout.h: remove LYX_DUMMY_LAYOUT
11584 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11588 * lyxtextclass.[Ch]:
11589 * lyxtextclasslist.[Ch]: new files
11591 * include order changes to a lot of files, also changes because of
11594 2001-12-27 Juergen Vigna <jug@sad.it>
11596 * buffer.C (asciiParagraph): more fixes.
11598 * tabular.C (ascii): make ascii export support export of only the
11599 data separated by a column-delimiter.
11600 (ascii): better support for ascii export.
11602 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11604 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11606 * tabular_funcs.C: use a "using std::getline" instead of the
11607 previous fix from Angus (necessary for cxx + lyxstring)
11609 2001-12-24 Juergen Vigna <jug@sad.it>
11611 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11613 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11614 problems. First check a minipage also if we have some ert-contents
11615 (not only on par->size(), second set the right depth of the paragraph
11616 on the relink to the root-paragraph-list!
11618 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11619 which then did not anymore update the main paragraphs on undo/redo!
11621 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11623 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11624 code. Support all font-changing funcs (even those which are not in
11625 menu currently). Support for reporting font settings in
11626 mathed (disabled until Andre provides a function on mathed's side).
11628 * func_status.h (toggle): small helper function to set toggle
11631 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11633 * tabular_funcs.C: getline -> std::getline
11635 2001-12-21 Juergen Vigna <jug@sad.it>
11637 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11638 accessed and could be 0 (I couldn't generate this but it seems
11641 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11643 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11644 * tabular_funcs.h: here and include iosfwd
11646 2001-12-20 Juergen Vigna <jug@sad.it>
11648 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11649 inside inset but undo_par was.
11651 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11653 * Thesaurus.C: always include <config.h> in sources.
11657 * box.h: do not include <config.h> in header files
11659 * text.C (paintLastRow): remove unused variable
11661 * text.C (transformChar):
11663 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11665 * Painter.C (text):
11666 * font.C (width): rewrite to use uppercase() instead of
11669 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11671 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11673 * lyxfind.C: clean up of find failure position change
11675 2001-12-20 Juergen Vigna <jug@sad.it>
11677 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11679 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11680 (TeXRow): added to LaTeX a single tabular row.
11681 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11682 (Latex): simplified and finally good LT-h/f support.
11683 (various_functions): just small adaptions for LT-h/f support.
11685 * tabular_funcs.[hC]: added and moved here all not classfunctions
11688 2001-12-19 Juergen Vigna <jug@sad.it>
11690 * tabular.[Ch]: better support for longtabular options (not finished
11693 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11695 * text.C (paintLastRow): use the label font instead of the font of
11696 the last character to compute the size of *_BOX. This makes more
11697 sense and avoids a crash with empty paragraphs.
11698 Use Painter::rectangle to draw EMPTY_BOX.
11700 2001-12-19 Juergen Vigna <jug@sad.it>
11702 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11703 the paragraphs if the replaced paragraph is not the first one!
11704 Tried to delete not used paragraphs but does not work yet so for
11705 now it's inside #ifdef's and by default off!
11707 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11709 * MenuBackend.C: include "lyx_main.h" instead of declaring
11710 lastfiles (actually was declared as LastFiles* instead of a
11713 2001-12-17 Juergen Vigna <jug@sad.it>
11715 * tabular.C (AppendColumn): applied John's fix
11717 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11721 * BufferView_pimpl.h:
11722 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11725 * box.h: new start of class for above
11727 * lyxfunc.C: ignore space-only minibuffer dispatches.
11728 Show the command name when it doesn't exist
11730 * minibuffer.C: don't add empty lines to the history
11732 * minibuffer.C: add a space on dropdown completion
11734 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11736 * text.C: fix line above/below drawing in insets
11738 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11740 * lyxlength.C (LyXLength): Initialize private variables.
11742 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11744 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11745 when inserting error insets.
11747 2001-12-13 Juergen Vigna <jug@sad.it>
11749 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11750 actually sometimes the before-paragraph.
11751 (setUndo): don't clear the redostack if we're not actually undoing!
11753 2001-12-06 Juergen Vigna <jug@sad.it>
11755 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11756 and fixed redoing of main paragraph, so we can use it now ;)
11758 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11760 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11762 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11765 2001-12-13 André Pönitz <poenitz@gmx.net>
11768 * undo_func.C: minor cleanup
11770 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11772 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11773 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11774 font in urw-fonts package which is marked as -urw-fontspecific and
11775 does not work (incidentally, changing the encoding in the
11776 fonts.dir of this package to -adobe-fontspecific fixes the
11779 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11780 is a crash when undoing first paragraph (Juergen, please take a
11781 look). THis does not mean the undo fix is wrong, just that it
11784 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11785 the (Paragraph*) version when needed instead of duplicating the
11788 * text.C (workWidth): use Inset::parOwner to find out where the
11789 inset has been inserted. This is a huge performance gain for large
11790 documents with lots of insets. If Inset::parOwner is not set, fall
11791 back on the brute force method
11793 * paragraph_pimpl.C (insertInset):
11794 * paragraph.C (Paragraph):
11795 (cutIntoMinibuffer): set parOwner of insets when
11796 inserting/removing them
11798 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11800 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11806 * mathed/formulabase.C:
11807 * mathed/math_cursor.[Ch]:
11808 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11811 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11813 * lyxlength.[Ch] (operator!=): new function
11815 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11817 * text.C (workWidth): use Inset::parOwner to find out where the
11818 inset has been inserted. This is a huge performance gain for large
11819 documents with lots of insets. If Inset::parOwner is not set, fall
11820 back on the brute force method
11822 * paragraph_pimpl.C (insertInset):
11823 * paragraph.C (Paragraph):
11824 (cutIntoMinibuffer): set parOwner of insets when
11825 inserting/removing them
11827 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11829 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11831 * tabular-old.C (getTokenValue):
11832 * tabular.C (getTokenValue):
11833 (write_attribute): new versions for LyXLength
11834 (everywhere): adjust the use of widths
11836 * tabular.h: change the type of widths from string to LyXLength
11838 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11840 * paragraph.C: fixed missing line number count when exporting
11841 Environments to LaTeX file
11843 * buffer.C: added informational message for checking line numbers.
11845 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11847 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11848 paragraph, do the 'double space' part, but not the 'empty
11851 * text.C (workWidth): small optimization
11852 (getLengthMarkerHeight): use minimal size for negative lengths.
11854 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11856 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11858 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11860 2001-12-11 André Pönitz <poenitz@gmx.net>
11863 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11865 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11867 * text2.C: keep selection on a setFont()
11869 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11871 * lyx_cb.C: another bv->text misuse, from insert label
11873 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11876 * kbsequence.C: re-instate nmodifier mask
11878 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11880 * lyx_main.h: make lyxGUI private.
11882 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11884 * lyxfind.C: place the cursor correctly on failed search
11886 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11888 * text.C (getLengthMarkerHeight): for small heights, the arrows
11889 are not always on top/bottom of the text
11890 (drawLengthMarker): smaller arrows; take the left margin in
11891 account; draw also vfills.
11893 (paintLastRow): remove special code for vfill and standard spaces,
11894 since everything is handled in drawLengthMarker now.
11896 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11898 * buffer.C (insertErtContents): try to handle font and language
11899 interaction a bit better.g
11901 * ColorHandler.C (updateColor): change the hash to cover the whole
11902 LColor enum, ws cleanup
11903 (getGCLinepars): ditto
11904 (getGCLinepars): only lookup in the linecache once.
11906 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11908 * iterators.C (operator++): Make the iterator more robust
11910 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11912 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11914 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11917 * text.C: better added space drawing
11919 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11922 * BufferView2.C: fix layout combo update on inset unlock
11924 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11926 * Makefile.am: don't compile unused files
11928 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11932 * LyXAction.C: remove old LFUN_LAYOUTNO
11934 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11936 * paragraph_pimpl.h:
11937 * paragraph_pimpl.C: isTextAt() doesn't need font param
11939 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11942 * lyxlex.C: little cleanup
11944 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11946 * BufferView_pimpl.C: fix insertAscii for insets
11948 2001-12-05 Juergen Vigna <jug@sad.it>
11950 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11951 set the right font on the "multi" paragraph paste!
11953 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11959 * lyxlength.C: remove out-commented code.
11961 * BufferView_pimpl:
11975 * vc-backend.C: change "while(" to "while ("
11977 * lyxlength.[Ch]: add zero function to check if length is zero or
11979 * lyxgluelength.C: use it
11981 2001-12-05 Allan Rae <rae@lyx.org>
11983 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11984 Works for 2.95.3, from what I understand of Garst's reports this should
11985 work for other g++ versions. We're screwed if the abs(int) definition
11986 changed between bugfix releases of gcc.
11988 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11990 * text.C: fix chapter label offset !
11992 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11995 * text.C: fix hfill at end of line, clean up
11997 2001-12-04 Juergen Vigna <jug@sad.it>
11999 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12000 that we force an update of the inset and it's owners if neccessary.
12002 2001-12-03 Juergen Vigna <jug@sad.it>
12004 * text.C (rowLast): simplified code
12006 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12008 * lyxfunc.C: fix show options on timeout
12010 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12012 * screen.C (topCursorVisible): scroll half a page when the cursor
12013 reached top of bottom of screen
12015 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12017 * minibuffer.C: deactivate on loss of focus
12019 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12021 * vspace.[Ch] (operator!=): add operator.
12023 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12025 * BufferView_pimpl.C: refuse to open an inset when
12026 there's a selection.
12028 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12030 * BufferView_pimpl.C: allow to click on RHS of full row insets
12032 2001-11-30 Juergen Vigna <jug@sad.it>
12034 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12035 insets for undo reasons.
12037 2001-11-28 André Pönitz <poenitz@gmx.net>
12039 * vspace.[Ch]: cosmetical changes
12041 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12051 * kbsequence.C: part re-write of old kb code
12054 * WorkArea.C: remove Lgb_bug_find_hack
12056 2001-11-30 José Matos <jamatos@fep.up.pt>
12058 * buffer.C (makeDocBookFile): add a comment to point a hack.
12059 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12060 Fixed a double write of labels.
12062 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12065 * LaTeX.h Fixed bug in LaTeX class where it would not
12066 re-run latex if no depfiles were changed, but the .dvi was removed.
12068 2001-11-28 André Pönitz <poenitz@gmx.net>
12070 * all the files from the change on 2001/11/26:
12071 use lyx::layout_type instead of LyXTextClass::size_type
12072 use lyx::textclass_type instead of LyXTextClassList::size_type
12074 2001-11-29 Juergen Vigna <jug@sad.it>
12076 * text.C: added support for paragraph::isFreeSpacing()
12078 * buffer.C: same as above
12080 * paragraph.h: inserted isFreeSpacing() function to enable
12081 FreeSpacing inside InsetERT.
12083 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12084 of the paragraph's in the cut/copy buffer to 0!
12086 * text2.C (removeRow): remove the assert as it can!
12088 * lyxtext.h: added helper function firstRow returning firstrow and
12089 made firstrow private again.
12091 * BufferView2.C (lockInset): don't relock if we're already locked!
12093 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12094 the only paragraph.
12095 (removeRow): added Assert::(firstrow)
12097 * debug.C: forgot to add INSETTEXT here.
12099 2001-11-28 Juergen Vigna <jug@sad.it>
12101 * sp_spell.C (initialize): changed error text to more general
12102 spellchecker command use (not only ispell!)
12104 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12106 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12108 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12110 * vspace.C: initialise lyxgluelength on failure
12112 2001-11-28 Allan Rae <rae@lyx.org>
12114 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12115 declaration & definition that looks like a function declaration.
12117 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12119 * BufferView2.C (copy):
12120 (copyEnvironment): do not clear the selection when doing a copy.
12122 * text.C (paintFirstRow): compilation fix
12124 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12126 * tabular.C (Latex): correct line count when writing latex.
12128 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12130 * paragraph_pimpl.h:
12131 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12134 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12138 * LColor.C: change vfillline->added_space
12140 * text.C: add markers and text for added space
12142 * vspace.C: fix comment
12144 2001-11-28 André Pönitz <poenitz@gmx.net>
12146 * paragraph.C: whitespace changes
12147 * all the other files from the change on 2001/11/26:
12148 change *::pos_type into lyx::pos_type
12150 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12152 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12153 language of the document when inserting error insets.
12155 2001-11-26 André Pönitz <poenitz@gmx.net>
12157 * BufferView_pimpl.[Ch]:
12165 * paragraph_pimpl.[Ch]:
12168 * text2.C: reduce header dependencies, introduce type for positions
12170 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12172 * <various>: change to use Alert.h
12174 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12176 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12177 when encountering an unknown token.
12178 (readLyXformat2): Show an error message if there were unknown tokens.
12180 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12183 * BufferView_pimpl.C:
12187 * text2.C: use par->isInset()
12189 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12191 * paragraph_pimpl.h:
12192 * paragraph_pimpl.C: cleanup
12194 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12196 * text2.C (removeRow):
12197 * text.C (setHeightOfRow): remove useless (and costly) call to
12200 2001-11-20 Allan Rae <rae@lyx.org>
12202 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12203 Now need Inset*::checkInsertChar() to return true for appropriate
12204 cases so that the characters in the minibuffer will actually be
12207 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12209 * text.C: change the order of the includes.
12210 (workWidth): initialize it at once.
12211 (workWidth): make maxw unsigned
12212 (setHeightOfRow): remove unused variable (inset)
12213 (selectSelectedWord): remove unused variable (inset)
12214 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12216 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12218 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12219 server is not running.
12221 (closeConnection): add debug info when server is disabled.
12223 * ColorHandler.C (getGCForeground): send debug message to GUI
12226 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12228 * kbmap.C (bind): modify because return conventions of
12229 kb_sequence::parse have changed.
12231 * kbsequence.C (parse): only ignore spaces and not any stupid
12232 control character. This avoids tests like s[i] <= ' ', which are
12233 guaranteed to fail with 8bit characters and signed chars.
12234 Change return code to string::npos when there have been no error
12235 (0 was a bad idea when error is at first character)
12237 2001-11-14 José Matos <jamatos@fep.up.pt>
12240 * buffer.C (simpleDocBookOnePar): removed unused argument.
12242 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12244 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12245 insets which are part of a word. Paragraph::isLetter takes care of
12246 that now. Use Paragraph::isInset to identify insets.
12247 (selectSelectedWord): do not test for hyphenation break.
12249 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12250 that protected spaces are considered as spaces.
12252 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12255 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12258 * lyxserver.C: fix it. and small cleanup.
12260 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12262 * BufferView_pimpl.C: use inline helpers
12265 * LaTeXFeatures.C: fix typos
12268 * Spacing.C: move spacing_string into class
12270 * ToolbarDefaults.C: move stuff into namespace anon
12272 * layout.h: update enum
12274 * lyxfunc.C: use better debug
12276 * minibuffer.h: fix typo
12280 * WorkArea.C: add and use Debug::WORKAREA
12284 * text2.C: code re-organisation, inline helpers
12286 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12288 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12289 std::vector.empty().
12291 2001-11-09 Allan Rae <rae@lyx.org>
12293 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12294 '\n's after tables. Tabular and ERT inset work now makes this no
12297 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12300 * minibuffer.C: fix crash, improve drop-down completion
12302 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12305 * lyxserver.C: invalidate fd's when doing endPipe()
12307 2001-11-08 José Matos <jamatos@fep.up.pt>
12309 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12310 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12313 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12315 2001-11-07 José Matos <jamatos@fep.up.pt>
12318 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12321 * buffer.C (sgmlOpenTag):
12322 * buffer.C (sgmlCloseTag): removed debug info.
12324 * buffer.h (sgmlOpenTag):
12325 * buffer.h (sgmlCloseTag): made public.
12327 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12329 * buffer.C (saveParamsAsDefaults):
12330 * lyx_cb.C (MenuLayoutSave): remove
12332 * LyXAction.C (init):
12334 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12336 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12338 * buffer.C (setPaperStuff): removed from here...
12340 * bufferparams.C (setPaperStuff): ... and moved there.
12342 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12346 * XFormsView.C: add support for drop-down completion
12348 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12350 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12353 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12355 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12358 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12360 * lyx_main.C: change ref to known bugs
12362 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12364 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12365 to work around older babel problems.
12367 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12369 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12371 2001-10-24 Juergen Vigna <jug@sad.it>
12373 * tabular-old.C (ReadOld): below variable changes reflected.
12375 * tabular.[Ch]: added ltType struct for longtable header/footer
12376 defines and changed all instances where they are used. Added
12377 future support for double top/bottom rows.
12379 2001-10-24 José Matos <jamatos@fep.up.pt>
12381 * buffer.h (docbookHandleCaption):
12382 * buffer.C (docbookHandleCaption): removed unused function.
12383 (makeDocBookFile): moved docbook supported version to v4.1.
12385 2001-10-24 José Matos <jamatos@fep.up.pt>
12388 * tabular.C (docbookRow): new function to export docbook code of a row.
12389 (DocBook): now honors the longtable flags.
12391 2001-10-23 José Matos <jamatos@fep.up.pt>
12394 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12395 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12397 * buffer.C (makeLinuxDocFile):
12398 (makeDocBookFile): reworked the preamble, more clean, and with
12399 support for lyx defined entities. Changed the document declaration
12400 to be more XML friendly.
12402 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12403 if we need to output XML that should be done with a filter.
12405 2001-10-22 Juergen Vigna <jug@sad.it>
12407 * sp_pspell.h (class PSpell): add alive function needed in the
12408 controller to see if the spellchecker could be started.
12410 2001-10-22 Juergen Vigna <jug@sad.it>
12412 * buffer.C (insertStringAsLines): modify the font for inserting
12413 chars in certain conditions by calling checkInsertChar(font).
12415 2001-10-19 Juergen Vigna <jug@sad.it>
12417 * text.C (workWidth): use getRow instead of wrong algorithm.
12418 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12420 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12425 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12427 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12429 * text.C (workWidth): do not search for the exact row when
12430 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12431 optimization for big documents.
12433 2001-10-18 Juergen Vigna <jug@sad.it>
12435 * text.C (workWidth): new function with added Inset * parameter.
12437 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12439 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12441 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12442 change return type of getColumnNearX.
12445 * text.C (changeRegionCase): use uppercase/lowercase instead of
12448 (rightMargin): simplify code by factoring out the uses of
12453 (appendParagraph): use Paragraph::size_type
12455 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12457 * vspace.C (asLatexString): add a missing break
12459 2001-10-15 Herbert Voss <voss@perce.de>
12461 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12463 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12465 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12468 2001-10-10 André Pönitz <poenitz@gmx.net>
12470 * lyxfunc.C: removed greek_kb_flag.
12472 2001-10-10 Herbert Voss <voss@perce.de>
12474 * lyx_main.C: delete global string help_lyxdir.
12476 2001-10-09 Herbert Voss <voss@perce.de>
12478 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12480 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12482 * lyx_main.C: added global string help_lyxdir.
12484 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12486 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12488 * lyxrc.C (set_font_norm_type): support iso8859-4
12490 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12492 * LaTeX.C (deplog): add another regex for MikTeX
12494 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12496 * lyxrc.C (set_font_norm_type): support iso8859-3
12498 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12500 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12502 * LaTeXFeatures.C: remove special case of french and index
12504 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12505 before \begin{document}). This solves several incompatibilities.
12507 2001-10-03 Garst Reese <reese@isn.net>
12509 * lyx_cb.C: change CheckTex error msg.
12511 2001-10-03 José Matos <jamatos@fep.up.pt>
12513 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12515 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12517 * .cvsignore: update
12519 * lyx_main.C (commandLineVersionInfo): use new style version info.
12521 * buffer.C (writeFile):
12523 (makeLinuxDocFile):
12524 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12526 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12528 * version.h: update to use stuff in version.C
12530 * version.C.in: new file. Contains version information determined
12531 at compile time. This is a merging of version.h and
12534 2001-10-03 Juergen Vigna <jug@sad.it>
12536 * BufferView_pimpl.C (update): don't change "dirty" status in
12539 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12541 * WorkArea.C (c-tor): re-position version string slightly.
12543 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12545 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12546 revert to previous code.
12548 WorkArea.[Ch]: (show, destroySplash): methods removed.
12550 WorkArea.C: rework code so that it's an amalgam of the codes before and
12551 after the splash screen was moved to WorkArea.
12553 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12556 * vspace.C (inPixels):
12559 * buffer.C (insertStringAsLines):
12560 (asciiParagraph): fix types to be large enough
12562 * lyxlex_pimpl.h: change member status from short to int
12564 * layout.h: fix type of endlabeltype
12567 * kbsequence.C (parse): change return type to string::size_type
12569 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12572 * Bullet.C (bulletSize):
12573 (bulletEntry): do not use short ints as parameters
12575 * BufferView2.C (insertLyXFile): change a char to an int.
12577 * WorkArea.C (WorkArea): remove unneeded floats in computation
12579 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12581 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12583 * paragraph.C (asString): Do not ignore newline/hfill chars when
12584 copying to the clipboard.
12586 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12588 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12589 after a multi-line inset.
12591 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12593 * paragraph.C (validate): Set NeedLyXFootnoteCode
12595 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12597 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12598 and decrease-error to decrease.
12600 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12602 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12603 it more readable (should be equivalent)
12605 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12607 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12609 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12611 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12612 of a cursor (row, etc.) after a character has been deleted
12613 (deleteEmptyParagraphMechanism): call the method above on _all_
12614 cursors held by the LyXText when a double space has been
12617 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12619 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12621 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12623 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12624 background. Use greyOut() and the new show() methods to toggle between
12625 the foreground and background. Add code to remove the splash after
12626 its initial showing.
12628 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12629 (create_forms): no longer call Dialogs::showSplash.
12631 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12633 * .cvsignore: add version_info.h
12635 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12637 * version_info.h.in: new file
12639 * Makefile.am: add version_info.h.in
12641 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12642 version_info.h instead of VERSION_INFO
12644 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12646 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12647 The ERT inset now returns string().
12649 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12651 * lyxtext.h, text.C (selectNextWord): renamed as
12652 selectNextWordToSpellcheck.
12654 * text.C (selectNextWordToSpellcheck): Modified to not select
12655 words inside an ERT inset.
12657 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12659 * lyx_cb.C (MenuLayoutSave): change a bit the question
12661 * sp_base.h: include <sys/types.h>
12663 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12665 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12667 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12669 * several files: fix typos in user-visible strings
12671 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12673 * text2.C (pasteSelection): do not set the selection, since it
12674 will be cleared later. Actually, the intent was to fix the way the
12675 selection was set, but I figured rmoving the code was just as good.
12677 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12679 * FontLoader.C (available): Check if font is available without
12682 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12684 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12686 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12688 * lyxrc.[Ch]: added display_graphics variable and associated code.
12690 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12692 * bufferparams.C (hasClassDefaults): new method. Returns true if
12693 the buffer parameters correspond to known class defaults
12695 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12697 * XFormsView.C (show): set minimum size to the main window.
12699 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12701 * text2.C (copySelection):
12703 * lyxfind.C (LyXReplace):
12704 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12705 LyXText::selectionAsString.
12707 * paragraph.C (asString): add "label" argument to the second form
12709 * text2.C (selectionAsString): add "label" argument and pass it to
12710 Paragraph::asString.
12712 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12714 * lyx_main.C (commandLineHelp): remove version information
12716 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12718 * lyx_main.C: add -version commandline option
12720 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12722 * paragraph.h: make the optional constructor arg required instead.
12723 some modifications to other files because of this.
12725 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12727 * lyxserver.C (C_LyXComm_callback): make it static
12729 * lyx_main.C (error_handler): make it static
12731 * lyx_gui.C (LyX_XErrHandler): make it static
12733 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12735 * WorkArea.C: make the extern "C" methods static.
12737 * Makefile.am (lyx_LDADD): simplify
12739 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12741 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12742 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12744 * LyXAction.C (init):
12745 * lyxfunc.C (dispatch): associated code removal.
12747 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12749 * lyxfont.h (isSymbolFont): shut off warning
12751 * text.C (setHeightOfRow):
12752 (getVisibleRow): fix crash with empty paragraphs which have a
12755 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12757 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12760 2001-09-04 José Matos <jamatos@fep.up.pt>
12763 * tabular.C (docbook): rename docBook method to docbook.
12765 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12767 * Makefile.am: add dependencies to main.o.
12769 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12771 * FontLoader.C (available): Return false if !lyxrc.use_gui
12773 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12775 * FontInfo.C (query):
12776 * converter.C (view):
12777 * importer.C (Import):
12778 * exporter.C (Export): Can not -> cannot.
12780 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12782 * BufferView_pimpl.C: allow to create index inset even if
12785 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12787 * buffer.C (getLists): replace boost::tie code with an explicit pair
12788 as boost::tie can break some compilers.
12790 * iterators.h: Added a std:: declaration to the return type of
12793 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12795 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12798 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12800 * iterators.[Ch]: New files. Provide paragraph iterators.
12802 * buffer.C (changeLanguage): Use paragraph iterators.
12803 (isMultiLingual): ditto
12805 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12807 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12809 * FontLoader.C: Support for cmr font.
12811 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12813 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12814 (available): New method.
12816 * FontInfo.C (getFontname): Use scalable fonts even when
12817 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12820 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12822 * converter.C (Formats::view): reverted! Incorrect fix.
12824 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12826 * converter.C (Formats::view): only output the -paper option
12827 if the dvi viewer is xdvi, thereby fixing bug #233429.
12829 2001-08-23 Herbert Voss <voss@perce>
12831 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12833 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12835 * Spacing.h (Spacing): Set space to Default on in the default
12838 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12840 * vc-backend.h (RCS::versionString): add RCS to version
12841 (CVS::versionString): add CVS to version
12843 * vc-backend.C (scanMaster): do not add CVS to version.
12844 (scanMaster): do not add RCS to version
12846 * lyxvc.C (versionString): new method
12848 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12850 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12852 * Spacing.C (set): initialize fval
12854 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12856 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12859 2001-08-16 Juergen Vigna <jug@sad.it>
12861 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12863 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12865 * BufferView_pimpl.C:
12868 * text2.C: setParagraph takes linespacing now
12870 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12872 * LyxAction.C: add internal LFUN_CITATION_INSERT
12874 * LyXView.C: actually apply fix
12876 * bufferlist.C: fix open non-existent file
12878 * lyxfind.C: fix indentation
12880 * lyxfunc.C: remove unneeded assert, fix typo
12882 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12884 * MenuBackend.C: use "Floatname List"
12886 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12888 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12889 when converting LaTeX layout to insetERT.
12890 Generate a non-collapsed float when reading old float
12892 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12894 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12897 2001-08-13 Juergen Vigna <jug@sad.it>
12899 * text.C (fill): return 0 instead of 20 as this seems to be the more
12902 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12904 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12907 2001-08-13 Juergen Vigna <jug@sad.it>
12909 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12911 (SearchBackward): comment out the unlocking of the inset_owner this
12912 should not be needed!
12914 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12916 * Many files: Remove inherit_language, and add latex_language
12918 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12919 collapsible insets.
12921 2001-08-10 Juergen Vigna <jug@sad.it>
12923 * text.C (prepareToPrint): fixed hfill-width in draw!
12925 * BufferView2.C (selectLastWord): save the selection cursor as this
12926 now is cleared in the function LyXText::clearSelection!
12928 2001-08-08 Juergen Vigna <jug@sad.it>
12930 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12931 BACKSPACE type functions.
12933 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12934 is only cutted from the document but not put in the cut-buffer, where
12935 still the old stuff should be.
12937 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12939 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12941 * tabular.C (SetWidthOfCell): fixed special case where the width
12943 (LeftLine): handle '|' in align_special.
12945 (LeftAlreadyDrawed): ditto
12946 (SetWidthOfCell): ditto
12948 2001-08-07 Juergen Vigna <jug@sad.it>
12950 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12952 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12954 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12955 * lyxlex.[hC]: ditto
12957 2001-08-06 Juergen Vigna <jug@sad.it>
12959 * text.C (getVisibleRow): fix up row clearing a bit.
12961 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12963 * minibuffer.C: make sure the X server sees the changes in the input.
12965 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12967 * paragraph.C (getFont): split into...
12968 (getLabelFont): this
12969 (getLayoutFont): and this
12970 * paragraph_pimpl.C (realizeFont): calling this
12972 * text2.C (getFont): split into...
12973 (getLayoutFont): this
12974 (getLabelFont): and this
12975 (realizeFont): all three calling this
12977 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12980 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12982 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12984 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12986 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12987 layouts from the Quote inset insertion.
12989 2001-08-03 Juergen Vigna <jug@sad.it>
12991 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12993 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12994 only if status not is already CHANGED_IN_DRAW (second level).
12996 * text.C (draw): don't set the need_break_row when inside an
12999 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13001 * buffer.C (parseSingleLyXformat2Token): handle more latex
13004 * bufferview_funcs.[hC]: change function names to
13005 begin with small char, adjust other files.
13007 2001-08-02 André Pönitz <poenitz@gmx.net>
13010 BufferView_pimpl.C: remove broken special code for math-greek
13012 2001-08-02 Juergen Vigna <jug@sad.it>
13014 * BufferView_pimpl.C (update): redone this function so that we
13015 update the text again if there was a CHANGE_IN_DRAW.
13017 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13018 (drawFromTo): added a new internal bool which is used by draw() and
13020 (general): some cursor drawing problems fixed.
13022 2001-08-01 Juergen Vigna <jug@sad.it>
13024 * lyxfind.C (LyXFind): fixed
13025 (SearchForward): ditto
13026 (SearchBackward): ditto
13028 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13029 spurius drawing of the cursor in the main area.
13031 * text2.C (status): small fix which could lead to a segfault!
13032 (clearSelection): remove unneeded BufferView param.
13034 2001-08-01 André Pönitz <poenitz@gmx.net>
13036 * lyxfunc.C: small change due to changed mathed interface
13038 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13040 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13042 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13044 * lyxfunc.c: fail gracefully if file doesn't exist
13049 * BufferView_pimpl.C: IsDirWriteable() proto changed
13051 * LyXView.C: fix updateWindowTitle() to store the last title
13053 2001-07-31 Juergen Vigna <jug@sad.it>
13055 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13056 the font (wrong since using of Paragraph::highestFontInRange).
13058 * paragraph.C (highestFontInRange): added a default_size parameter.
13060 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13061 (setHeightOfRow): reformat
13063 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13065 * converter.[hC] + affected files: move to (inital-char)lowercase
13068 * ParagraphParameters.C (ParagraphParameters): remove commented code
13070 * PainterBase.[Ch]: remove commented code
13072 * LaTeXFeatures.h: add "bool floats" for float.sty
13074 * LaTeXFeatures.C (LaTeXFeatures): init floats
13075 (require): handle float
13076 (getPackages): do it with floats
13078 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13080 * BufferView_pimpl.C (Dispatch): improve handling of
13081 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13083 * commandtags.h: #include lyxfont.h here temporarily to avoid
13086 * bufferlist.h: include LString.h here.
13088 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13090 * text2.C (getStringToIndex): new method.
13092 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13094 * *: Reduced header file dependencies all over.
13096 2001-07-30 Baruch Even <baruch@lyx.org>
13098 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13100 2001-07-29 Baruch Even <baruch@lyx.org>
13102 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13104 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13106 * ParameterStruct.h (endif): add a default constructor to make
13107 sure that all variables is initialized.
13109 * ParagraphParameters.C (ParagraphParameters): adjust
13111 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13113 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13114 index; also, check that there is something to index, and that it
13115 does not span over several paragraphs.
13116 (doubleClick): use WHOLE_WORD_STRICT for double click.
13118 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13120 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13123 2001-07-26 Baruch Even <baruch@lyx.org>
13125 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13126 an InsetFig figure, backwards compatible reading of old figure code.
13128 2001-07-27 Juergen Vigna <jug@sad.it>
13130 * text2.C: font.realize function adaption.
13132 * text.C (draw): add a warnings lyxerr text if needed.
13134 * layout.C: font.realize function adaption.
13136 * language.C: add inherit_language and implement it's handlings
13138 * bufferview_funcs.C (StyleReset): remove language parameter from
13139 font creation (should be language_inherit now).
13141 * bufferparams.C (writeFile): handle ignore_language.
13143 * paragraph.C (getFontSettings): the language has to be resolved
13144 otherwise we have problems in LyXFont!
13146 * lyxfont.C (lyxWriteChanges): added document_language parameter
13147 (update): removed unneeded language parameter
13149 * paragraph.C (validate): fixed wrong output of color-package when
13150 using interface colors for certain fonts in certain environments,
13151 which should not seen as that on the final output.
13153 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13155 * BufferView_pimpl.C:
13160 * LyXAction.C: add thesaurus support
13163 * lyxfind.C: add "once" parameter, for thesaurus, to not
13164 move to the next match
13166 2001-07-26 Juergen Vigna <jug@sad.it>
13168 * lyxfont.C (realize): honor ignore_language too!
13171 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13173 * text.C (draw): one place more for ignore_language to not draw
13176 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13178 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13180 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13182 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13183 the minipage conversion problem.
13185 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13187 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13190 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13192 * BufferView.h: don't forward declare WorkArea
13194 * BufferView.C: don't include WorkArea.h
13196 2001-07-25 André Pönitz <poenitz@gmx.net>
13200 * lyxfunc.C: new LFUN 'math-space'
13202 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13204 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13206 * text2.C (toggleInset): call open/close
13208 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13210 * lyxfunc.C (dispatch): add debug for the disabled case
13212 * font.C (buttonText): make similar to rectText
13214 * buffer.C (readInset): comment out parsing of insetlist and
13217 * PainterBase.C (rectText): small correction
13219 * BufferView_pimpl.C: comment out insettheorem and insetlist
13220 * LyXAction.C: ditto
13221 * commandtags.h: ditto
13223 2001-07-24 Juergen Vigna <jug@sad.it>
13225 * text.C (draw): honor the ignore_language.
13227 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13229 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13231 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13234 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13236 * lyxtext.h: remove unused (and unimplemented) methods
13238 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13240 * text.C (getVisibleRow): honor background color
13243 * Painter.h: remove default color argument for fillRectangle
13245 * text.C (backgroundColor): new method
13247 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13249 * text.C (getVisibleRow): adjust
13251 * font.[Ch] (rectText): new method, metrics
13252 (buttonText): new method, metrics
13254 * PainterBase.[hC]: make rectText and buttonText always draw and take
13257 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13259 * ToolbarDefaults.C (read):
13260 * MenuBackend.C (read): allow escaping in all strings
13262 * BufferView_pimpl.C (insertAndEditInset): new method.
13263 (Dispatch): use insertAndEditInset whenever appropriate.
13265 * BufferView_pimpl.C (insertNote): removed
13267 * BufferView_pimpl.C (smartQuote): new method, moved from
13268 BufferView; if an insetquote cannot be inserted, insert a '"'
13271 * BufferView2.C: remove insertCorrectQuote();
13273 * lyxfunc.C (getStatus): Add support for all remaingin
13274 inset-insert lfuns.
13276 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13278 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13279 command (necessary to pass " as parameter of self-insert.
13281 * text.C (selectWordWhenUnderCursor):
13282 (selectWord): add word_location parameter
13283 (selectWordWhenUnderCursor): same + remove special code for word
13285 (selectNextWord): use kind() to guess type of insetspecialchar,
13288 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13289 (insertErtContents): create ert insets as collapsed.
13290 (readInset): better compatibility code for Info inset.
13292 2001-07-20 Juergen Vigna <jug@sad.it>
13294 * lyxfunc.C (dispatch): use always LyXFind now!
13296 * text2.C (init): add a reinit flag so that the LyXText can be
13297 reinited instead of deleted and reallocated (used in InsetText).
13299 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13305 2001-07-18 Juergen Vigna <jug@sad.it>
13307 * text.C (selectNextWord): handle insets inside inset by calling
13308 always the bv->text functions so that we can go up the_locking_inset!
13310 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13311 in strange locations when inside an inset!
13313 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13314 handling to include insets.
13316 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13318 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13320 * LyXAction.C (init):
13322 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13323 LIGATURE_BREAK, since the name is so stupid.
13325 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13327 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13330 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13332 * sp_form.[Ch]: remove.
13334 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13336 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13339 * src/buffer.C (readInset): ditto.
13341 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13343 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13344 menuSeparator(), endOfSentenceDot(), ldots() and
13345 hyphenationPoint(), which are therefore removed.
13346 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13348 * LyXAction.C (init):
13349 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13351 * paragraph.C (getWord): removed.
13353 * BufferView_pimpl.C (Dispatch): use last word or selection for
13354 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13356 * lyx_main.C (queryUserLyXDir): do not ask before creating
13357 user_dir, except if it has been named explicitely.
13359 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13361 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13362 a document of zero size.
13364 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13366 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13367 approriately in the c-tor and in require().
13368 (getPackages): output the appropriate LaTeX for natbib support.
13370 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13371 variables "use_natbib" and "use_numerical_citations" when reading the
13373 (readInset): read the various natbib cite commands.
13374 (validate): white-space change.
13376 * bufferparams.[Ch]: new variables "bool use_natbib" and
13377 "bool use_numerical_citations".
13378 (writeFile): output them in the LyX file.
13380 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13382 * lyxfunc.C (getStatus): add support for all the inset insertion
13385 * text2.C (insertInset):
13386 * paragraph.C (insetAllowed):
13387 * BufferView_pimpl.C (insertInset): update to take in account the
13388 renaming of insertInsetAllowed
13390 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13392 * text2.C (getInset): new method. returns inset at cursor position.
13394 * BufferView_pimpl.C (Dispatch): changes because of this.
13396 * LyXAction.C (init): rename open-stuff to inset-toggle.
13398 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13400 * text2.C (toggleInset): renamed from openStuff; use
13403 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13405 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13407 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13409 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13411 * buffer.C (readLyXformat2): Add filename to the error dialog
13413 2001-07-18 Juergen Vigna <jug@sad.it>
13415 * tabular.C (GetCellNumber): put an assert here instead of the check!
13417 2001-07-17 Juergen Vigna <jug@sad.it>
13419 * BufferView_pimpl.C (toggleSelection): adapted too.
13421 * text.C (selectNextWord): adapted for use with insets.
13422 (selectSelectedWord): ditto
13424 2001-07-17 Juergen Vigna <jug@sad.it>
13426 * sp_spell.C (PSpell): fix initialitation order.
13428 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13430 * paragraph.C: spacing
13432 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13434 * sp_spell.C: repair language selection for pspell
13436 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13438 * lyxfunc.h: change more methods to begin with lower char.
13440 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13442 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13443 for unknown layouts.
13445 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13447 * buffer.C (readLyXformat2): Generate an error dialog if there are
13450 2001-07-16 Juergen Vigna <jug@sad.it>
13452 * sp_spell.C: always compile ISpell part.
13454 * lyxrc.C: added use_pspell entry and it's handling.
13456 2001-07-13 Juergen Vigna <jug@sad.it>
13458 * sp_spell.C: removed double includes.
13460 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13462 Consistent use of Lsstream.h:
13463 * Lsstream.h: added using std::stringstream for consistencies sake.
13465 * buffer.C: removed using std::stringstream
13467 * lyxfont.C (stateText):
13468 * paragraph.C (asString):
13469 * text.C (selectNextWord, selectSelectedWord):
13470 * text2.C (setCounter):
13471 * vspace.C (asString, asLatexString):
13472 std::ostringstream -> ostringstream.
13474 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13476 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13477 * commandtags.h: add LFUN_HELP_ABOUTLYX
13478 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13480 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13482 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13484 * lyx_gui_misc.C: remove spellchecker
13485 * lyxfunc.C: showSpellchecker
13487 * sp_ispell.h: added
13488 * sp_pspell.h: added
13489 * sp_spell.C: added
13490 * sp_form.[Ch]: removed
13491 * spellchecker.[Ch]: removed
13493 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13495 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13497 (simpleTeXSpecialChars): Simply print the input character without
13498 any special translation if pass_thru is set.
13500 * layout.h: Added bool pass_thru to layout class for being able to
13501 implement pass through of a paragraph for Literate Programming.
13503 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13504 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13505 * layout.C (Read): add "passthru" to list of layout tags and add
13506 code to set the pass_thru boolean when it is read.
13508 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13510 * trans_decl.h: remove allowed from KmodInfo
13512 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13513 remove allowed code
13516 * paragraph_pimpl.C (erase): use boost::prior
13518 * Painter.C (text): use data() instead of c_str() when length is
13520 * WorkArea.C (putClipboard): ditto
13521 * font.h (width): ditto
13523 * BufferView2.C: use it-> instead of (*it). for iterators
13525 * paragraph_pimpl.C: ditto
13526 * paragraph.C: ditto
13527 * minibuffer.C: ditto
13528 * language.C: ditto
13530 * encoding.C: ditto
13531 * counters.C: ditto
13532 * converter.C: ditto
13534 * Variables.C: ditto
13535 * TextCache.C: ditto
13536 * MenuBackend.C: ditto
13537 * LyXAction.C: ditto
13539 * FloatList.C: ditto
13540 * DepTable.C: ditto
13541 * ColorHandler.C (LyXColorHandler): ditto
13543 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13545 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13547 * text2.C (openStuff): reintroduce this method (which had been
13548 nuked in NEW_INSETS frenzy).
13550 * lyxfunc.C (Dispatch): when an action has not been handled, use
13551 its name in the error message, not its number.
13553 * paragraph.C (inInset): change method name to begin with lowercase.
13556 * text2.C: updates because of this.
13558 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13560 * ToolbarDefaults.C (add): add spaces in error message
13562 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13564 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13565 (readLyXformat2): rename return_par to first_par, use lyxlex's
13566 pushToken and remove the manual push handling.
13567 (parseSingleLyXformat2Token): add another ert comp. variable:
13568 in_tabular, rename return_par to first_par. handle newlines better
13570 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13572 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13574 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13576 * text2.C (getParFromID): removed
13578 * buffer.C (getParFromID): new method moved form lyxtext.
13579 * BufferView2.C (insertErrors): adjust
13580 (setCursorFromRow): adjust
13581 * BufferView_pimpl.C (restorePosition): adjust
13582 * lyxfunc.C (Dispatch): adjust
13583 * undo_funcs.C (textUndo): adjust
13585 (textHandleUndo): adjust
13586 (textHandleUndo): adjust
13588 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13590 * buffer.C: up' the LYX_FORMAT
13592 * lyxfont.h: turn NO_LATEX on as default
13594 * buffer.C (insertErtContents): new methods of tex style compability.
13595 (parseSingleLyXformat2Token): use it several places.
13596 * tabular.C (OldFormatRead): and here
13598 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13600 * text2.C: remove some commented code.
13603 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13604 * trans.C: changes because of the above.
13606 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13608 * text2.C (setCounter): Fix counters bug with bibliography layout.
13610 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13612 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13613 own member functions
13614 (simpleTeXSpecialChars): ditto
13616 2001-07-06 Juergen Vigna <jug@sad.it>
13618 * a lot of files: changed the access to LyXText::status and the
13619 call of undo-functions.
13621 * undo.[Ch]: added a inset_id to the undo informations.
13623 * undo_funcs.[Ch]: added and moved here all undo functions.
13625 * lyxtext.h: give the status enum a weight, made status_ a private
13626 variable and made accessor functions for it, removed the whole bunch
13627 of undo-functions as they are now in their own file, make some
13628 functions publically available. Added function ownerParagraph with
13631 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13632 made InInset() a const function, added getParFromID() function.
13634 * buffer.[Ch]: added const version for inset_iterator functions,
13635 added getInsetFromID() function.
13637 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13638 changed undo functions for new version.
13640 2001-07-05 Juergen Vigna <jug@sad.it>
13642 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13643 unknow mechanism does not call the proper constructor but only this
13644 one also if I request the other!?
13646 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13648 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13650 * text2.C (LyXText): use initialization lists.
13652 * lyxtext.h (Selection): initialize set_ and mark_
13653 (init): remove method
13655 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13657 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13659 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13661 * screen.[Ch]: change method names to begin with lowercase
13663 * BufferView_pimpl.C (updateScrollbar): simplify further and
13664 hopefully make it a bit faster.
13666 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13668 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13669 calling directly xforms functions.
13671 * Painter.C (Painter):
13672 * lyx_cb.C (MenuWrite):
13673 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13676 * lyx_gui.C: remove bogus guiruntime extern declaration.
13678 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13680 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13682 (redoDrawingOfParagraph): ditto
13683 (redoParagraphs): ditto
13684 (cutSelection): don't create a object for CutAndPaste use the
13685 static method directly
13686 (pasteSelection): ditto
13688 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13691 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13693 * modifications to some other files because of this.
13695 * Makefile.am (lyx_SOURCES): add XFormsView
13697 * XFormsView.[Ch]: new files
13699 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13700 the main window. Move the gui dependent stuff to XFormsView
13702 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13704 * tabular.C (GetCellInset): update cur_cell also in the row/col
13705 version of this function.
13707 * lyxfunc.C: no need to include figure_form.h here.
13713 * lyxvc.C: no need to include forms.h here.
13715 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13717 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13719 * lyxfunc.C (Dispatch):
13721 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13722 constructor argument.
13724 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13726 * paragraph.C (Paragraph): dont't clear, and just set layout.
13727 (makeSameLayout): use params's copy contructor.
13729 * ParagraphParameters.[Ch] (makeSame): delete method
13731 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13733 * Variables.[Ch]: fix indentation, rename set to isSet
13735 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13737 * lyxfunc.C (Dispatch): fix typo
13739 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13741 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13744 * bufferlist.C: include assert.h for emergencyWrite().
13746 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13748 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13749 give up at last (bug #425202) !
13751 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13757 * spellchecker.C: strip spellchecker options and bring up
13758 preferences tab instead
13760 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13762 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13763 the istringstream constructor
13765 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13767 * paragraph.C (getLayout): fix return value
13769 * paragraph.h: do not declare getLayout as inline.
13771 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13773 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13775 * lyxcursor.h (operator<): new func
13776 (operator>): new func
13777 (operator>=): new func
13778 (operator<=): new func
13780 * text.C (changeCase): use selection.start and selection.end
13781 (changeRegionCase): require from to be <= to. Require par to be a
13784 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13786 2001-06-27 Juergen Vigna <jug@sad.it>
13788 * text.C (cursorLeftOneWord): changed to return the cursor and added
13789 overlay with BufferView * parameter which calls this one.
13791 (selectWord): use new getWord function.
13792 (changeCase): renamed from changeWordCase as and extended to work
13793 also on selections.
13795 * lyxtext.h: added enum word_location
13797 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13798 changeCase as this operates now also on selections.
13800 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13802 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13804 * many files: send debug output to Debug::INFO instead of
13807 * converter.C (View):
13809 (Move): send debug output to Debug::FILES instead of console.
13811 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13813 * lyxfunc.C (getStatus): use func_status
13815 * func_status.h: new header, describing the results of
13816 LyXFunc::getStatus;
13818 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13821 2001-06-25 The LyX Project <jug@sad.it>
13823 * buffer.C (sgmlOpenTag):
13825 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13827 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13829 * text2.C: remove some dead code
13831 * tabular.C (GetCellInset): store the last cell checked (gotten)
13833 * tabular.h: add the helper for the speedup
13835 * lyxtext.h: remove some dead code
13837 2001-06-26 The LyX Project <Asger>
13839 * paragraph.C: Change export to LaTeX of alignment to
13840 \begin{center} and family for better roundtrip work with reLyX.
13842 * Tune the math drawing a bit.
13844 2001-06-25 The LyX Project <Asger>
13846 * LColor.C (LColor): New color for math background. New color
13849 2001-06-25 The LyX Project <jug@sad.it>
13851 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13853 * lyxfunc.C (Open):
13854 * bufferlist.C (newFile): do not restrict to files ending with
13857 * BufferView_pimpl.C (MenuInsertLyXFile):
13859 2001-06-24 The LyX Project <jug@sad.it>
13861 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13864 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13866 * lyxtext.h: rename most methods to begin with a small char.
13867 Lots of changes because of this.
13869 * paragraph.C (Paragraph): do not call fitToSize
13870 (erase): call Pimpl::erase
13871 (insertChar): call Pimpl::insertChar
13872 (insertInset): call Pipl::insertInset
13873 (breakParagraph): do not call fitToSize
13874 (breakParagraphConservative): do not call fitToSize
13875 (fitToSize): remove method
13877 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13879 2001-06-24 The LyX Project <Asger>
13881 * Fix Qt compilation^2
13883 2001-06-24 The LyX Project <jug@sad.it>
13885 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13886 depthHook(getDepth()-1).
13889 * ParagraphParameters.h:
13890 * ParameterStruct.h: change type of depth to unsigned int ==
13891 depth_type. Many adaptations to other files before of that.
13893 2001-06-24 The LyX Project <Asger>
13895 * Fix Qt compilation.
13897 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13899 * paragraph.h: renamed several methods to begin with small letter.
13900 several changes to many parts of the code because of this.
13902 2001-06-23 The LyX Project <jug@sad.it>
13904 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13905 rewritten to discard all double spaces when KeepEmpty is off
13906 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13907 to only handle newlines but not fiddle with spaces and friends.
13909 * lyxfunc.C (MenuNew): when doing 'new from template', use
13910 template_path as default directory
13912 2001-06-23 The LyX Project <Asger>
13914 * Clean-up of header file includes all over
13915 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13917 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13919 * paragraph.h: renamed from lyxparagraph.h
13921 2001-06-23 Asger <lyx@violet.home.sad.it>
13923 * Buffer.h: Removed Buffer::resize
13924 * BufferList.h: Removed BufferList::resize
13925 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13926 the document lazily when we change the width, or the font settings.
13928 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13930 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13932 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13934 * buffer.h: remove out of date comment
13936 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13939 * screen.C: fix "theoretical" GC leak
13941 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13943 * LaTeX.C (scanAuxFile):
13944 (deplog): remove trailing \r when reading stream (useful under
13947 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13949 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13950 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13951 and BufferView::theLockingInset(Inset*), so should use them and not
13952 access bv_->text->the_locking_inset directly.
13954 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13956 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13959 * tex-defs.h: remove old unused file
13961 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13963 * BufferView_pimpl.C: fix typo, remove minibuffer message
13964 when buffer has loaded
13966 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13968 * lyxfunc.C (Dispatch): use stringstream
13969 (MenuNew): use stringstream
13970 (Open): use stringstream
13972 * importer.C (Import): use stringstream
13974 * bufferview_funcs.C (CurrentState): use stringstream
13976 * LaTeX.C (run): use stringstream
13978 * BufferView_pimpl.C (savePosition): use stringstream
13979 (restorePosition): use stringstream
13980 (MenuInsertLyXFile): use stringstream
13982 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13995 * vspace.C: removed // -*- C++ -*- as first line.
13998 * version.h: added // -*- C++ -*- as first line.
14000 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14002 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14004 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14007 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14009 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14012 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14014 * gettext.C: include LString.h even when --disable-nls is on.
14016 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14018 * converter.h (Get): changed argument type from int to
14019 FormatList::size_type to avoid unnecessary conversion.
14021 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14024 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14026 * gettext.h: include LString.h even when --disable-nls is on.
14028 2001-06-07 Juergen Vigna <jug@sad.it>
14030 * text.C (BreakAgain): subst spaces with tabs.
14032 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14033 (resizeInsetsLyXText): set force on resizeLyXText.
14035 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14037 * gettext.h (gettext_init):
14038 (locale_init): use a real definition instead of a macro
14040 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14042 * Bufferview_pimpl.C:
14044 * LColor.C: further lcolor tidies
14046 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14048 * BufferView_pimpl.C (updateScrollbar): simplify.
14050 * BufferView2.C: don't include insets/insetinfo.h, change
14051 prototype for insertInset and call the Pimpl version. let
14052 updateInset call Pimpl version.
14054 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14055 gotoInset to BufferView::Pimpl
14057 2001-06-01 Juergen Vigna <jug@sad.it>
14059 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14060 inside a LockingInset (is the update needed at all?).
14062 2001-05-31 Juergen Vigna <jug@sad.it>
14064 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14065 here not the old one otherwise how should we compare it afterwards
14068 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14073 * FontInfo.C: bring C functions into global namespace when
14076 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14078 * LString.h: make sure config.h has been loaded before LString.h.
14080 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14081 (one for each char read by EatLine!).
14083 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14086 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14088 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14089 to the same as the par we break from
14091 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14093 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14095 * MenuBackend.C (expand): also create menu entries for wide
14096 versions of the floats.
14098 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14100 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14102 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14103 frontends/Makefile.am
14109 * tabular.C (getTokenValue): add std::
14111 * tabular-old.C (getTokenValue): add std::
14112 (getTokenValue): ditto
14113 (getTokenValue): ditto
14115 * screen.C (ToggleSelection): adjust
14117 * lyxtext.h: put selection cursors inside a Selection struct.
14119 * lyxfunc.C (moveCursorUpdate): adjust
14121 * lyxfont.C (latexWriteStartChanges): add std::
14123 * lyxfind.C: adjust
14125 * font.h: delete with(char const *, LyXFont const &)
14127 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14129 * FontInfo.C (getFontname): add std::
14131 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14132 (workAreaButtonPress): adjust
14133 (tripleClick): adjust
14135 (moveCursorUpdate): adjust
14138 * BufferView2.C (gotoInset): adjust
14140 2001-05-30 Juergen Vigna <jug@sad.it>
14142 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14143 to check pspell I add this as default as I now have new pspell
14144 libraries and they seem to use this.
14146 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14148 * text2.C (CutSelection): make the cursor valid before the call to
14151 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14153 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14154 relied on 0 terminated strings and other horrors. Bug found due to
14155 the new assert in lyxstring!
14157 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14160 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14162 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14165 * lyxfunc.C (processKeySym): change method of getting to the
14168 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14169 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14170 * BufferView_pimpl.[Ch]: here as private methods.
14172 2001-05-28 Juergen Vigna <jug@sad.it>
14174 * text.C (SetHeightOfRow): added the update() call again as it is
14175 needed to initialize inset dimensions!
14177 2001-05-16 Juergen Vigna <jug@sad.it>
14179 * text2.C (SetCharFont): Add new function with BufferView * and
14180 bool toggleall parameters for setting insets internal fonts.
14181 (SetFont): Freeze the undo as we may change fonts in Insets and
14182 all this change should be inside only one Undo!
14184 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14185 setting font's in insets as for them we have the SetFont function!
14187 2001-05-15 Juergen Vigna <jug@sad.it>
14189 * text2.C (ClearSelection): to be sure we REALLY don't have any
14192 * tabular.C (TeXCellPreamble): fixed the left border problem for
14195 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14197 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14200 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14202 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14203 LFUN_BREAKPARAGRAPH.
14205 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14206 help test to "internal only", similar for LFUN_INSERT_URL
14208 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14209 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14210 auto_region_delete and deadkeys.
14212 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14215 * LColor.C: remove some dead entries, tidy a little
14217 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14219 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14221 (Dispatch): implement LFUN_ESCAPE
14223 * commandtags.h: add LFUN_ESCAPE
14225 * LyXAction.C (init): add entry for LFUN_ESCAPE
14227 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14228 Remove commented code.
14229 (insertNote): moved here
14230 (open_new_inset): moved here
14232 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14235 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14237 * kbmap.C (findbinding): clean it up and make it work correctly.
14239 * lyx_main.C (init): do not pass argc and argv as parameters
14241 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14243 * buffer.C: fix path for OS/2 & Win32
14247 * lyx_main.C: Added os:: class.
14249 * os2_defines.h: update
14251 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14253 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14254 better by trying again with reduced state.
14256 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14258 * lyxrc.C (read): print error about invalid key sequence only when
14259 debugging (because not all latinX keysyms are known to some X
14262 * kbsequence.C (getiso): add a few std:: qualifiers
14263 (getiso): comment out extra return statement.
14265 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14267 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14269 (Dispatch): enhance the accent inset a bit. (not perfect)
14271 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14273 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14275 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14277 * bufferlist.C (emergencyWrite): fix assert() call
14279 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14281 * text.C (InsertChar): Added trivial patch to only send the "you
14282 can not do multiple spaces this way" message once during a
14285 2001-05-08 Baruch Even <baruch@lyx.org>
14287 * Makefile.am: Changed order of libraries to get LyX to link properly
14288 with the gnome frontend.
14290 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14292 * LaTeXFeatures.h: add a std:: qualifier
14294 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14296 * paragraph.C (String): use stringstream
14298 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14300 * paragraph.C (writeFile): remove footflag arg
14302 * buffer.C (makeLaTeXFile): use stringstream
14303 (latexParagraphs): remove footnot gurba
14305 * LaTeXFeatures.C (getPackages): use stringstream
14306 (getMacros): likewise
14307 (getTClassPreamble): likewise
14308 (getFloatDefinitions): new method
14310 * paragraph.C (writeFile): reindent
14313 * WorkArea.h: revert the xpos + etc changes.
14315 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14317 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14319 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14320 (pasteSelection): likewise
14321 * text2.C (CreateUndo): likewise
14323 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14325 * minibuffer.C (peek_event): temporarily reduce the functionality
14326 of the minibuffer (to allow args on lfuns)
14328 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14329 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14331 * buffer.C (readInset): add compability reading of old float
14332 lists, add reading of new style float list.
14333 (readInset): avoid reevaluation of inscmd.getCmdName()
14334 (getLists): reindent
14336 * MenuBackend.C (MenuItem): implement parsing of
14337 md_floatlistinsert and md_floatinsert.
14338 (expand::LastFiles): move initalizaton of iterators out of loop,
14339 avoid reevaluation.
14340 (expand::Documents): introduce typdedef vector<string> Strings,
14342 (expand::ExportFormats): introduce typedef vector<Format const *>
14343 Formats, and use it.
14344 (expand): implement FloatListInsert and FloatInsert.
14346 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14347 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14348 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14350 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14352 (Dispatch::LFUN_FLOAT_LIST): implement
14354 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14356 * LaTeX.C (run): Fix problem with --export code.
14358 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14360 * BufferView.[Ch] (workarea): removed.
14361 (getClipboard) new method; wrapper for workarea()->getClipboard()
14363 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14366 * WorkArea.h (width, height, xpos, ypos): These methods all
14367 returned the dimensions of the work_area sub-area of WorkArea,
14368 resulting in a position error if the WorkArea were resized. Now
14369 return the dimensions of the entire WorkArea.
14371 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14373 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14375 * LaTeX.C (deplog): correct the syntax of regex reg1
14377 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14379 * undo.C: remove !NEW_INSETS cruft
14381 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14383 * text2.C: remove !NEW_INSETS cruft
14385 * text.C: remove !NEW_INSETS cruft
14387 * tabular.C: remove !NEW_INSETS cruft
14389 * spellchecker.C: remove !NEW_INSETS cruft
14391 * lyxtext.h: remove !NEW_INSETS cruft
14393 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14395 * lyxfunc.C: remove !NEW_INSETS cruft
14397 * lyxfind.C: remove !NEW_INSETS cruft
14399 * lyx_cb.C: remove !NEW_INSETS cruft
14401 * figureForm.C: remove !NEW_INSETS cruft
14403 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14405 * buffer.[Ch]: remove !NEW_INSETS cruft
14407 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14409 * CutAndPaste.C: remove !NEW_INSETS cruft
14411 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14413 * BufferView2.C: remove !NEW_INSETS cruft
14415 * BufferView.h: remove !NEW_INSETS cruft
14417 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14419 * Lsstream.h: include LString.h before the sstream headers to
14420 fix problem with gcc 2.95.3 and lyxstring
14422 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14424 * lyx_main.C: add using directives when needed for C functions
14425 declared in std:: namespace.
14427 2001-04-27 Juergen Vigna <jug@sad.it>
14429 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14430 (SetHeightOfRow): comment out the update call should not be needed!
14432 2001-04-13 Juergen Vigna <jug@sad.it>
14434 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14435 (LyXTabular): tried to minimize operator= operations (and realized
14436 hopfully Lars wish).
14438 2001-04-27 Juergen Vigna <jug@sad.it>
14440 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14442 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14444 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14446 * buffer.C (readInset): hack to make listof algorithm work
14448 * BufferView_pimpl.C: hack to make listof algorithm work
14450 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14452 * LyXAction.C: removed all !NEW_INSETS cruft
14453 (init): moved lfun_item in method
14455 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14457 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14459 * BufferView2.C (theLockingInset): white space.
14461 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14463 * minibuffer.C: include <iostream>
14465 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14467 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14469 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14471 * text.[Ch] (TransposeChars): new method
14473 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14475 * call message directly through LyXView instead of through LyXFunc
14476 * BufferView2.C: adjust
14477 * BufferView_pimpl.C: adjust
14478 * FontLoader.C: adjust
14480 * bufferview_funcs.C: adjust
14481 * converter.C: adjust
14482 * figureForm.C: adjust
14483 * importer.C: adjust
14485 * lyx_gui_misc.C: adjust
14486 * lyxfunc.C: adjust
14489 + more files in subdirs
14491 * lyxparagraph.h (size): move up int file
14494 * adjust all uses of Assert to lyx::Assert.
14496 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14497 lyxfunctional in namespace lyx
14498 * layout.C (hasLayout): ditto
14501 (delete_layout): ditto
14502 (NumberOfClass): ditto
14503 * converter.C (GetFormat): ditto
14508 * bufferlist.C (getFileNames): ditto
14509 (emergencyWriteAll): ditto
14512 * MenuBackend.C (hasSubmenu): ditto
14515 * BufferView_pimpl.C (getInsetByCode): ditto
14517 2001-04-18 Juergen Vigna <jug@sad.it>
14519 * vspace.C (asLatexString): fixed the 100% problem.
14521 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14523 * lyxfunc.C (Dispatch):
14525 * minibuffer.h: add a few std:: qualifiers
14527 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14529 * minibuffer.[Ch]: reimplement so that commands is initiated and
14530 run from lyxfunc, simplified som handling, and made the completion
14531 and history code for complete. wip.
14533 * lyxfunc.C (processKeySym): call message
14534 (miniDispatch): new temporary method
14535 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14536 (LFUN_MESSAGE): implement
14537 (LFUN_MESSAGE_PUSH): implement
14538 (LFUN_MESSAGE_POP): implement
14539 (initMiniBuffer): the initial/defualt minibuffer message.
14541 * lyxfont.[Ch]: inline some more getters
14543 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14545 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14547 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14548 (AutoSave): use LFUN_MESSAGE
14549 (Reconfigure): ditto
14551 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14553 * figureForm.C: use LFUN_MESSAGE
14555 * converter.C (runLaTeX): use LFUN_MESSAGE
14557 * bufferview_funcs.C: use LFUN_MESSAGE
14559 (changeDepth): ditto
14561 * bufferparams.h: use boost::
14563 * bufferlist.h: inherit privately from noncopyable
14565 * bufferlist.C (loadLyXFile): remove some commented code.
14567 * buffer.C (runChktex): use LFUN_MESSAGE
14569 * ShareContainer.h: inherit privately from noncopyable
14571 * ParagraphParameters.[hC] (depth): inline it.
14573 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14575 (message): new method
14576 (messagePush): ditto
14577 (messagePop): ditto
14578 (show): init minibuffer
14579 (showState): direct call
14581 * LaTeX.[Ch]: inherit privately from noncopyable
14582 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14583 instead of WriteStatus.
14585 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14587 * BufferView_pimpl.C (buffer): don't init minibuffer
14588 (workAreaButtonPress): use LFUN_MESSAGE
14589 (workAreaButtonRelease): ditto
14590 (savePosition): ditto
14591 (restorePosition): ditto
14592 (MenuInsertLyXFile): ditto
14593 (workAreaExpose): don't init minibuffer
14594 (update): remove commented code, simplify
14596 * BufferView2.C (openStuff): use LFUN_MESSAGE
14597 (toggleFloat): ditto
14600 (copyEnvironment): ditto
14601 (pasteEnvironment): ditto
14606 (updateInset): remove some commented code
14608 * lastfiles.h: inherit privately from noncopyable
14611 * lyx_main.h: ditto
14613 * lyxlex_pimpl.h: ditto
14615 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14616 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14617 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14619 * LyXAction.h: inherit privately from noncopyable, add methods
14620 func_begin, func_end, returning iterators to the func map.
14622 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14623 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14624 (func_begin): new method
14625 (func_end): new method
14627 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14629 (copySelection): ditto
14630 (pasteSelection): ditto
14632 * BufferView.C: whitespace change
14633 * BufferView.h: inherit privately from noncopyable
14635 2001-04-16 Allan Rae <rae@lyx.org>
14637 * tabular-old.C (l_getline):
14638 * spellchecker.C (sc_check_word):
14639 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14640 an unrecognised preprocessor directive. So ensure they're wrapped.
14642 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14644 * src/exporter.C (Export): Give an error message when path to file
14647 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14649 * LaTeX.C (deplog): Always check that foundfile exists.
14651 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14654 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14656 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14658 * tabular.[Ch] (getLabelList): implement new method
14660 * minibuffer.h: comment ouf setTiimer
14662 * minibuffer.C (ExecutingCB): constify res
14663 (peek_event): constify s
14664 (Set): constify ntext
14665 (Init): constify nicename
14667 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14669 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14670 (savePosition): use two params to Minibuffer::Set
14671 (restorePosition): ditto
14673 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14675 * lyx_main.C: include language.h
14677 * Makefile.am (lyx_main.o): add language.h
14679 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14685 * CutAndPaste.C: include gettext.h
14687 * lyxfont.h: remove old hack with ON and OFF.
14690 * lyxfont.h: do not include language.h...
14695 * bufferview_funcs.C:
14701 * paragraph.C: ... but do it here instead
14703 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14705 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14707 * tabular.C: small reformat
14709 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14712 (BreakParagraph): ditto
14713 (SetOnlyLayout): ditto
14716 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14719 * lastfiles.C: removed most using decl, add std:: where needed
14721 * buffer.C: ws changes
14723 * MenuBackend.C (class compare_format): put into anon namespace
14724 (expand): constify label, names, action, action2
14727 * text.C (SingleWidth): constify font
14728 (IsBoundary): constify rtl2
14729 (GetVisibleRow): constify ww
14731 * LaTeX.C (deplog): constify logfile
14733 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14735 (workAreaExpose): constify widthChange, heightChange
14737 * lyxrow.C (par): moved
14740 * lyxrow.h: as inlines here
14742 * lyxfont.h (shape): moved from lyxfont.C
14743 (emph): moved from lyxfont.C
14745 * lyxfont.C (LyXFont): use initialization list for all
14747 (shape): move to lyxfont.h as inline
14748 (emph): move to lyxfont.h as inline
14751 2001-04-04 Juergen Vigna <jug@sad.it>
14753 * vspace.C: had to include stdio.h for use of sscanf
14755 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14758 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14759 independent of xforms.
14761 2001-04-02 Juergen Vigna <jug@sad.it>
14763 * spellchecker.C: fixed namespace placing!
14765 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14767 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14768 the LyXParagraph * is 0.
14770 2001-03-29 Juergen Vigna <jug@sad.it>
14772 * vspace.C: added support for %, c%, p%, l%.
14773 (stringFromUnit): added helper function.
14774 (asLatexString): changed to give right results for the %-values.
14776 * buffer.C: convert the widthp in a width%.
14778 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14780 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14783 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14784 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14786 * lyx_cb.[Ch]: see above.
14788 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14792 * lyx.[Ch]: replaced by figure_form.[Ch].
14796 * lyxfunc.C: changed headers associated with above changes.
14798 2001-03-27 Juergen Vigna <jug@sad.it>
14800 * BufferView_pimpl.C: set the temporary cursor right!
14802 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14804 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14806 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14808 * LString.h: removed "using std::getline"!
14810 * BufferView_pimpl.C (Dispatch): changes due to changes in
14811 InsetInclude::Params.
14813 * buffer.C (tag_name): removed redundant break statements as they were
14814 producing lots of warnings with my compiler.
14816 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14818 * LString.h: add "using std::getline" when using the real <string>.
14820 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14822 * buffer.C: removed bitset usage.
14823 PAR_TAG moved to an anonymous name space.
14824 (tag_name): new funtion, also in the anonymous namespace.
14825 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14826 (makeDocBookFile): clean code. Completed transition from string arrays
14828 (SimpleDocBookOnePar): code clean.
14830 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14832 * tabular.C: add some comments.
14834 2001-03-22 Juergen Vigna <jug@sad.it>
14836 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14837 compatibility read a bit and fixed bug with minipage in different
14840 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14842 * buffer.C (pop_tag): removed.
14843 (push_tag): removed.
14844 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14845 array replaced with vector. Added support for CDATA sections.
14846 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14848 (makeDocBookFile): XML conformant declaration of CDATA section,
14849 fixed bug related to <emphasis> in the first paragraph char.
14850 (sgmlOpenTag): exclude empty tags.
14851 (sgmlCloseTag): ditto.
14853 * buffer.h (pop_tag): removed.
14854 (push_tag): removed.
14856 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14858 * language.h (Languages): added size_type and size().
14860 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14862 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14863 response on compability reading of minipages. One probliem is that
14864 the old usage of minipages was «flertydig»
14866 * several files here and in subdirs: don't use static at file
14867 scope use anon namespaces instead.
14869 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14871 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14872 LaTeX output. This is necessary for Literate document
14875 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14877 * buffer.C: insert hfill when needed.
14879 * tabular.C (l_getline): use string::erase, small whitespace change.
14881 * BufferView_pimpl.C: try the anon namespace.
14882 * WorkArea.C: ditto
14884 2001-03-16 Juergen Vigna <jug@sad.it>
14886 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14887 otherwise it won't open options-dialogs.
14889 * buffer.C: honor pextraWidth(p) on converting minipages.
14891 * tabular.C (l_getline): changed the functions to strip trailing \r.
14893 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14895 * BufferView_pimpl.C:
14896 * minibuffer..C: added "using SigC::slot" declaration.
14898 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14900 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14906 * paragraph.C: ditto
14908 * lyxtext.h: NO_PEXTRA
14910 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14912 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14913 * ParameterStruct.h: ditto
14914 * ParagraphParameters.h: ditto
14915 * lyxparagraph.h: ditto
14917 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14919 * buffer.C: add compability for minipage alignment.
14920 (latexParagraphs): remove unwanted pextra check.
14922 * several files: remove CXX_WORKING_NAMESPACES
14924 * buffer.C (pop_tag): tie is in namespace boost
14926 * BufferView.h: noncopyable is in namespace boost
14928 * lyx_main.h: ditto
14931 * lastfiles.h: ditto
14932 * bufferlist.h: ditto
14933 * ShareContainer.h: ditto
14935 * LyXAction.h: ditto
14938 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14940 * Merging changes from BRANCH_MVC back into HEAD.
14942 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14944 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14946 * BufferView_pimpl.C: change from intl.C
14950 * Makefile.am: move combox.*
14956 * intl.C: remove dialog (covered by prefs)
14958 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14960 * lyxfunc.C (Dispatch): removed redundant break statement.
14962 2001-03-14 Juergen Vigna <jug@sad.it>
14964 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14966 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14968 * buffer.C: add hack to fix compability reading of minipages.
14970 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14972 * buffer.C (getLists): Cleanup.
14974 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14976 * lyxfont.C (update): don't honor toggleall on font size.
14978 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14982 * Makefile.am: moved to frontends/xforms/
14986 * BufferView_pimpl.C: changes for moved mathpanel
14988 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14990 * gettext.h: fix gettext_init() in --disable-nls
14992 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14994 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14996 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14999 * lyx.h: strip external form
15001 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15003 * BufferView_pimpl.C: add comment, destroySplash()
15005 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15007 * BufferView_pimpl.C:
15011 * lyxfunc.C: use re-worked insetinclude
15013 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15015 * buffer.C: add using std::stringstream.
15017 * lyx_cb.C: readd using std::ios.
15019 * buffer.C: add using std::map.
15021 * BufferView_pimpl.C: add using std::vector.
15023 * ShareContainer.h: add std:: to swap.
15025 * buffer.h: add some typedefs
15026 * buffer.C (getLists): use them
15027 (getLists): renamed from getTocList.
15028 add a counter for the different float types and use it in the
15030 (getLists): use the same counter for the NEW_INSETS and the "non"
15033 * lyx_cb.h: remove unused items, includes, using etc.
15035 * ShareContainer.h: remove some commented code, add more comments
15036 and "documentation".
15038 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15040 * buffer.C (getTocList): make the list also when NEW_INSETS is
15043 * buffer.h: remove TocType
15045 * buffer.C (getTocList): change to return a map<string,
15046 vector<TocItem> >, implement for dynamic number of list.
15048 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15049 * text2.C (PasteSelection): adjust
15050 * CutAndPaste.C (pasteSelection): adjust
15052 * FloatList.C (FloatList): update from the new_insets branch.
15053 * Floating.[Ch]: ditto
15054 * LaTeXFeatures.C: ditto
15056 * lyxlex_pimpl.C: ditto
15058 * paragraph.C (Last): remove when NEW_INSETS is defined.
15060 * other file: changes because of the above.
15062 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15064 * lyxparagraph.h: rename next to next_, previous to previous_,
15065 make them private for NEW_INSETS. Rename Next() to next(),
15066 Previous() to previous().
15068 * other files: changes because of the above.
15070 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15073 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15076 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15078 * main.C (main): pass lyx_localedir to gettext_init().
15080 * gettext.h: remove locale_init and gettext_init macros
15082 * gettext.C (locale_init): new function
15083 (gettext_init): new function
15085 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15088 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15090 * Moved credits to frontends:
15091 * credits.[Ch]: removed
15092 * credits_form.[Ch]: removed
15093 * lyx_gui_misc.C: remove credits stuff
15096 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15098 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15100 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15101 unneeded destructor.
15103 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15104 a standalone pointer again.
15106 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15108 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15114 * ToolbarDefaults.C:
15123 * BufferView_pimpl.C: use new file dialog in GUII
15126 * lyx_cb.C: remove LayoutsCB to Toolbar
15128 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15130 * ShareContainer.h (get): add std:: qualifier
15132 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15134 * ShareContainer.h: define a proper ShareContainer::value_type
15135 type (and use typename to please compaq cxx)
15137 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15139 * lyxparagraph.h: move serveral local vars to
15140 ParameterStruct/ParagraphParameters., use ShareContainer in
15141 FontTable., make vars in FontTable private and add getter and
15144 * paragraph.C: changes because of the above.
15146 * lyxfont.h: remove copy constructor and copy assignment. (the
15147 default ones is ok), move number inside FontBits. move inlines to
15150 * lyxfont.C: add number to initializaton of statics, move several
15151 inlines here. constify several local vars. some whitespace
15152 cleanup. Dont hide outerscope variables.
15154 * Spacing.h: add two new constructors to match the set methods.
15156 * ShareContainer.h: new file, will perhaps be moved to support
15158 * ParameterStruct.h: new file
15160 * ParagraphParameters.h: new file
15162 * ParagraphParameters.C: new file
15164 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15165 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15167 * BufferView_pimpl.C: ParagraphParameter changes.
15168 * buffer.C: Likewise.
15169 * bufferview_funcs.C: Likewise.
15170 * text.C: Likewise.
15171 * text2.C: Likewise.
15173 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15175 * lyxfind.C (LyXReplace): do not redefine default argument in
15177 (IsStringInText): ditto
15178 (SearchForward): ditto
15179 (SearchBackward): ditto
15181 2001-03-06 Juergen Vigna <jug@sad.it>
15183 * lyxfind.C (IsStringInText): put parentes around expressions.
15185 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15187 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15189 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15191 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15193 * stl_string_fwd.h: add comment
15195 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15198 * tabular.C: remove unused DocBook methods
15204 killed DO_USE_DEFAULT_LANGUAGE
15206 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15208 * lyx_gui.C: do not include language.h.
15210 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15211 arguments in function implementation.
15213 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15215 * BufferView_pimpl.C: add <ctime>
15217 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15219 * BufferView_pimpl.C: add using std::find_if
15221 2001-02-27 José Matos <jamatos@fep.up.pt>
15223 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15226 2001-02-11 José Matos <jamatos@fep.up.pt>
15228 * buffer.C (makeDocBookFile): command styles now have a parameter as
15229 "title" by default.
15231 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15233 * layout_forms.[Ch]: removed
15234 * lyx_cb.[Ch]: out character
15235 * lyx_gui.C: out character
15236 * lyx_gui_misc.C: out character
15237 * bufferview_funcs.C: : out character,
15238 added toggleall as parameter in ToggleAndShow
15240 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15242 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15244 * text2.C (SetCurrentFont): Disable number property at boundary.
15246 2001-02-26 Juergen Vigna <jug@sad.it>
15248 * lyxfunc.C (getStatus): added a string argument override function so
15249 that this is correctly called from LyXFunc::Dispatch if it contains a
15250 do_not_use_argument which is used!
15251 (Dispatch): added check for "custom" export and call appropriate func.
15253 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15255 * lyxrc.C: Add language_command_local, language_use_babel and
15256 language_global_options.
15258 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15260 * buffer.C (makeLaTeXFile): Use language_use_babel and
15261 language_global_options.
15263 2001-02-23 Juergen Vigna <jug@sad.it>
15265 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15266 which works with LyXText and putted it inside BufferView. Here now we
15267 only call for that part the BufferView::Dispatch() function.
15269 * BufferView.C (Dispatch): added.
15271 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15272 functions which needs to use a LyXText over from LyXFunc.
15273 (MenuInsertLyXFile): added
15274 (getInsetByCode): added
15275 (moveCursorUpdate): added
15276 (static TEXT): added
15278 2001-02-22 Juergen Vigna <jug@sad.it>
15280 * BufferView_pimpl.C (update): call a status update to see if LyXText
15283 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15285 * vc-backend.C (revert): implement for CVS
15286 (getLog): implement for CVS
15288 2001-02-20 Juergen Vigna <jug@sad.it>
15290 * text2.C (ClearSelection): added BufferView param for inset_owner call
15292 * lyxfunc.C (TEXT): added this function and use it instead of
15293 directly owner->view()-text of getLyXText().
15295 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15297 * src/layout_forms.C: out preamble
15298 * src/layout_forms.h: out preamble
15299 * src/lyx_cb.C: out preamble
15300 * src/lyx_cb.h: out preamble
15301 * src/lyx_gui.C: out preamble
15302 * src/lyx_gui_misc.C: out preamble
15303 * src/lyxfunc.C: connect with guii preamble
15305 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15307 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15309 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15311 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15312 whether to run bibtex.
15314 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15316 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15318 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15320 * Makefile.am (lyx_SOURCES): removed bibforms.h
15322 * vspace.h: doxygen
15324 * text.C (GetVisibleRow): make several local vars const
15326 * tabular.C: small cleanup.
15328 * lyxserver.C (callback): use compare instead of strncmp
15330 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15331 inlines to after class or to paragraph.C
15333 * lyxfont.h: remove friend operator!=
15335 * converter.h: move friend bool operator< to non friend and after
15338 * combox.h: small cleanup
15340 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15341 to inlines after class def.
15343 * buffer.C (pop_tag): use string operations instead of strcmp
15345 * bmtable.c: doxygen, small cleanup
15347 * LaTeX.h: remove friend operator==
15349 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15361 * BufferView_pimpl.C:
15362 * BufferView.[Ch]: remove cruft
15364 2001-02-14 Juergen Vigna <jug@sad.it>
15366 * lyxfunc.C: removed #if 0 unused code
15368 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15370 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15372 * text2.C (SetSelection): added a BufferView * parameter
15374 2001-02-13 Juergen Vigna <jug@sad.it>
15376 * lyxfunc.C (Dispatch): fixed protected blank problem.
15377 * BufferView2.C (protectedBlank): added LyxText * parameter.
15379 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15380 (AppendColumn): same as above for column_info.
15382 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15383 (moveCursorUpdate): use a LyXText param for support of InsetText.
15385 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15386 (tripleClick): ditto
15388 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15390 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15392 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15394 * text2.C (SetSelection): set correct update status if inset_owner
15395 (ToggleFree): ditto
15397 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15399 * tabular.C: remove some commented code.
15401 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15403 * BufferView_pimpl.C: call hideSplash()
15405 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15408 * bibforms.h: remove
15411 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15412 add LFUN_CHILD_CREATE
15414 * counters.h: fix tiny typo
15419 * lyx.C: move splash to frontends/xforms/
15421 * lyx_gui_misc.C: move Include and Bibform to frontends
15423 * lyxvc.h: clarify comment
15425 * vspace.C: tiny housekeeping
15427 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15429 * text.C (PrepareToPrint): RTL Fix.
15431 * paragraph.C (GetUChar): New method.
15432 (String): Use GetUChar.
15434 * buffer.C (asciiParagraph): Use GetUChar.
15436 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15438 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15440 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15443 * buffer.C: rename to getLogName(), handle
15444 build log / latex log nicely
15446 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15449 * MenuBackend.h: remove support for reference menuitem type.
15451 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15453 * BufferView_pimpl.C: housekeeping
15454 * BufferView_pimpl.h:
15459 * minibuffer.h: move Timeout GUI-I
15461 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15463 * lyxrc.C (read): Update converters data-structures.
15465 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15467 * LaTeX.h (operator!=): add operator != for Aux_Info
15469 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15471 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15473 * LaTeXLog.C: deleted, useful code moved to Buffer
15476 * buffer.C: new function getLatexLogName()
15482 * lyxfunc.C: use frontends for LaTeX and VC logs
15484 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15486 * LaTeX.h: yet another std:: that Allan forgot.
15488 * Variables.C (set): renamed from isset(), because this clashes
15489 with some HP-UX macros (grr).
15491 2001-02-06 Allan Rae <rae@lyx.org>
15493 * LaTeX.h: Another bug fix. Missing std:: this time.
15495 2001-02-04 Allan Rae <rae@lyx.org>
15497 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15498 floats problem. I've left it commented out because it's not quite
15499 correct. It should also test that the current object is a table or
15500 figure inset. But I haven't gotten around to figuring out how to do
15501 that. I *think* it'll be something like: "table" == inset.type()
15503 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15506 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15508 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15509 all the citation/databases/styles in the auxilary file.
15510 (run): Rerun latex if there was a babel language error.
15512 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15514 * text.C (Backspace): Preserve the font when changing newline char
15516 (BreakParagraph): If the cursor is before a space, delete the space.
15518 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15520 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15522 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15523 new argument (code).
15524 (ChangeCitationsIfUnique): New method.
15526 * paragraph.C (GetPositionOfInset): Handle bibkey.
15528 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15530 * BufferView_pimpl.h: change type of Position::par_pos to
15531 LyXParagraph::size_type.
15533 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15535 * BufferView_pimpl.C (savePosition, restorePosition): Write
15536 messages to minibuffer.
15538 2001-01-28 José Matos <jamatos@fep.up.pt>
15540 * buffer.C (makeDocBookFile): adds support for document language.
15541 A silly restriction on the name of LatexCommand types where removed.
15542 Added support for CDATA sections, allows to chars unescaped, used
15543 among others in code, to avoid escape < and >.
15545 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15547 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15548 saved positions instrad of a stack. Furthermore, a position is
15549 stored using paragraph id/paragraph position.
15551 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15552 Remove LFUN_REF_BACK.
15554 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15556 * converter.C (dvipdfm_options): New method.
15558 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15560 * vspace.C (isValidLength): Fix for empty input string.
15562 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15564 * LyXAction.C (init): change description of LFUN_FIGURE to
15567 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15569 * LaTeX.C: add using directive
15571 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15573 * MenuBackend.C (expand): Fix the sorting of the formats.
15575 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15577 * lyx_main.C: tiny error message fix
15579 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15581 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15582 calling fl_initialize(). This fixes the problem with ',' as
15583 decimal separator in text files.
15585 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15587 * trans.C (process): Fix the keymap bug.
15589 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15591 * LaTeX.C (scanAuxFiles): New method. Provides support for
15592 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15593 (scanLogFile) Scan for "run BibTeX" messages.
15595 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15596 OT1 font encoding. Also, load the aecompl package if the ae
15599 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15601 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15603 * texrow.C (increasePos): turn two error messages into debug
15606 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15608 * LaTeX.C (scanAux): Handle the \@input macro.
15609 (runBibTeX): Use scanAux().
15611 * language.C (latex_options_): New field.
15613 * LaTeXFeatures.C (getMacros): Add language macros.
15615 * buffer.C (makeLaTeXFile): Small fix.
15617 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15619 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15621 * text2.C: add a using directive.
15623 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15628 * lyxfunc.C: kill LyXBell.
15630 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15632 * text.C (IsBoundary): Remove the error message
15634 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15636 * lyxrc.C (setDefaults): Correct initialization value for
15639 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15641 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15644 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15645 and GotoNextNote().
15647 * src/LyXAction.C: Added reference-next.
15649 * text.C (InsertChar): Use contains instead of strchr.
15651 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15653 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15655 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15656 alignment commands (when needed).
15658 * text.C (InsertChar): Add ':' to number separator chars.