1 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
3 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
4 * lyxsocket.C (LyXServerSocket): ditto
5 (serverCallback): ditto
7 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9 * LaTeXFeatures.C: check release date when loading jurabib.
11 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
13 * lyxserver.C (startPipe): call register_socket_callback
14 (endPipe): call unregister_socket_callback
16 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
18 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
19 (LyXServerSocket): register the callback
20 (LyXServerSocket): unregister the callback
22 (serverCallback): improve error checking and setup the callbacks.
23 (dataCallback): change arg to fd.
24 (writeln): new func (copied fro the client socket) used for server
26 (LyXDataSocket): simplify
27 (~LyXDataSocket): close ann unregiser callback
28 (server): delete function
30 (readln): small changes, improve some std::string usage
31 (writeln): constify a bit
33 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
35 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
38 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
40 * BufferView_pimpl.C (setBuffer): set the layout combox value only
41 after it has been populated
43 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
45 * text2.C (insertInset): move cursor when inserting inset.
47 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
49 * kbmap.C (findbindings): a couple of new methods. returns a
50 container of kb_sequence objects. The real work is done by the
51 private recursive version
52 (printbindings): uses findbindings to print out a bracketed list
53 of bindings (renamed from findbinding).
55 * MenuBackend.C (binding): use kb_keymap::findbindings
57 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
59 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
61 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
63 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
65 * paragraph.C (isWord): return true on insets that report
68 * text.C (getWord): use Paragraph::isWord to decide what is in a
69 word and what is not; fix bug 1609.
71 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
73 * tex-strings.C: add "none" to string_paperpackages[], fixes
74 off-by-one-error in the paperpackage selection.
77 * tex-strings.[Ch]: char const * string[n]
78 -> char const * const string[]
80 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
82 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
83 command, return early.
85 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
87 * debug.h: add DEBUG to enum and fix size of ANY.
89 * debug.C: add support for Debug::DEBUG
90 (showTags): cast errorTags.level to unsigned int
92 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
93 (redoCurrentBuffer): ditto
94 (updateScrollbar): ditto
95 * cursor.C (dispatch): ditto
96 * text2.C (setLayout): ditto
98 (updateCounters): ditto
100 (deleteEmptyParagraphMechanism): ditto
102 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
104 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
105 annotations to cleanup the Makefile slightly.
107 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
109 * lyxrc.C: do not set user_email to a default value but use empty
110 instead. The entry used to be translated, which does not work
111 since at the point where lyxrc is constructed there is no
112 translation service available
114 * messages.C (getLocaleDir): remove and use directly
115 lyx_localedir() instead
117 2004-06-02 Angus Leeming <leeming@lyx.org>
119 Fix crash caused by dereferencing null pointer 'exportdata' in
120 OutputParams by creating a new ExportData variable on the heap,
121 storing it in a boost::shared_ptr.
122 The crash was triggered when generating an Instant Preview
123 of an external inset.
125 * Makefile.am: add outputparams.C
127 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
128 (c-tor): allocate memory to it.
130 * exporter.C (c-tor): associated changes.
132 2004-06-01 Angus Leeming <leeming@lyx.org>
134 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
135 contains data before calling isInset(0). (Bug 1513.)
137 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
139 * exporter.C (checkOverwrite): new method
140 * exporter.C (copyFile): new method
141 * exporter.C (Export): copy referenced files to the document dir
142 * exporter.[Ch]: new class ExportedFile
143 * exporter.[Ch]: new class ExportData. Contains currently the
144 names of referenced external files
145 * outputparams.h: add exportdata member.
147 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
149 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
152 2004-05-19 Angus Leeming <leeming@lyx.org>
157 * lyxfunc.C: small changes due to the introduction of namespace
158 lyx::frontend and the moving of namespace biblio to lyx::biblio.
160 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
162 * text3.C (dispatch): supress update when only moving the cursor
163 * cursor.C (selHandle): remove commented code
165 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
167 * paragraph.C (startTeXParParams): correct column count
168 * CutAndPaste.C (pasteSelection): remove const_cast
169 * output_docbook.C (docbookParagraphs): remove const_cast
170 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
171 const_cast and return ParagraphList::const_iterator
172 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
173 * output_plaintext.C (writeFileAscii): remove const_cast
174 * paragraph.[Ch] (simpleTeXOnePar): make const
175 * paragraph_funcs.C (outerPar): use const iterators
176 * paragraph_pimpl.C (validate): use const iterators
177 * text.C (setHeightOfRow): use const iterators
179 2004-05-17 Angus Leeming <leeming@lyx.org>
182 * LyXAction.C (init): new LFUN_INSET_REFRESH.
184 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
185 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
186 if the citation engine has changed.
188 2004-05-14 José Matos <jamatos@lyx.org>
190 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
191 if the textclass does not provide it. Have it different for sgml and
193 support the language of document.
194 * output_docbook.C (docbookParagraphs):
195 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
196 first anchor as the id of the paragraph, remove special case code.
197 * sgml.C (escapeChar): escape only < & >.
199 2004-05-14 Angus Leeming <leeming@lyx.org>
201 * bufferparams.h: move biblio::CiteEngine enum here to minimize
202 dependencies on src/frontends/controllers/biblio.h. Define a
203 CiteEngine_enum wrapper class to enable the enum to be forward
206 2004-05-12 Angus Leeming <leeming@lyx.org>
208 * buffer.C: up LYX_FORMAT to 234.
209 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
210 use_numerical_citations with a single biblio::CiteEngine cite_engine
212 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
214 2004-05-13 José Matos <jamatos@lyx.org>
217 * converter.C (Converter, readFlags): add xml member.
218 * outputparams.h: add XML flavor.
219 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
221 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
223 * lyxfunc.C (dispatch):
224 (getStatus): fix handling of LFUN_SEQUENCE
226 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
228 * debug.C (showLevel): do not forget the end-of-line marker
230 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
232 * kbmap.C (read): do not stop parsing a bind file when an error
235 2004-04-29 Angus Leeming <leeming@lyx.org>
240 * text2.C: wrap a bunch of #warning statements
241 inside #ifdef WITH_WARNINGS blocks.
243 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
245 * buffer.C: increment format to 233.
247 2004-04-28 Angus Leeming <leeming@lyx.org>
249 * BufferView_pimpl.C:
252 s/updateToolbar()/updateToolbars()/
253 s/Toolbar.h/Toolbars.h/
255 2004-04-28 Angus Leeming <leeming@lyx.org>
257 * BufferView.[Ch] (c-tor):
258 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
259 No longer passes these data to the WorkArea generator.
261 2004-04-28 Angus Leeming <leeming@lyx.org>
263 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
265 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
267 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
269 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
271 * output_latex.C (TeXEnvironment): make sure that there is a line
272 break before \end{foo} for the last paragraph of a document
273 (TeXOnePar): if the paragraph is at the end of the document (or
274 inset) and the language has to be reset, then make sure that the
275 line break is _before_ the language command, not after (fixes bug
276 1225); also make sure that the language reset command is the first
277 thing after the paragraph (to ensure proper nesting of
278 environments and thus fix bug 1404)
280 2004-04-21 John Levon <levon@movementarian.org>
283 * ToolbarBackend.C: make "name" be a programmatic name
284 and a gui_name field.
286 * lyxfunc.C: display the minibuffer on M-x
288 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
290 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
293 2004-04-19 Angus Leeming <leeming@lyx.org>
295 * BufferView_pimpl.C (setBuffer): changed preview interface.
297 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
300 2004-04-19 John Levon <levon@movementarian.org>
302 * BufferView_pimpl.C:
303 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
305 2004-04-05 Angus Leeming <leeming@lyx.org>
307 * text.C (redoParagraphs): add call to updateCounters(), thereby
308 fixing the missing "Figure #:" label from the caption of a
311 2004-04-13 Angus Leeming <leeming@lyx.org>
313 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
314 cursor is clicked out of an inset.
316 2004-04-13 Angus Leeming <leeming@lyx.org>
318 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
319 than an InsetOld one.
321 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
323 * format.[Ch]: add editor to Format
324 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
325 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
327 2004-04-08 André Pönitz <poenitz@gmx.net>
329 * metricsinfo.h: remove PainterInfo::width member
331 2004-04-08 Angus Leeming <leeming@lyx.org>
333 * lyx_sty.C (boldsymbol_def): modify so that it outputs
334 "\providecommand" rather than "\newcommand", thereby preventing
335 clashes with packages that define "\boldsymbol" themselves.
338 2004-04-08 Angus Leeming <leeming@lyx.org>
340 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
341 thereby squashing an unnecessary warning.
343 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
345 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
348 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
350 * BufferView.C (setCursor): call redoParagraph (some insets could
352 (putSelectionAt): remove the 'double update' trick
354 * BufferView_pimpl.C (fitCursor): call refreshPar
355 (workAreaDispatch): remove an uneeded update call
356 (dispatch): remove some manual update calls
358 * cursor.[Ch]: remove cached_y_, updatePos
359 (selHandle): set noUpdate when appropriate
361 * lyxfunc.C (dispatch): track if we need an update
363 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
365 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
366 (paintSelection): cheap optimization, do not call cursorX when not
368 (paintPars): change signature
371 (paintTextInset): adjust
375 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
377 * lengthcommon.C: compilation fix: remove explicit array size from
378 unit_name[] and friends
380 2004-04-05 Angus Leeming <leeming@lyx.org>
382 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
384 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
385 present only for the preferences dialog.
386 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
388 2004-04-05 Angus Leeming <leeming@lyx.org>
390 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
391 to enable the frontends to export changes to lyxrc correctly.
393 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
395 2004-04-07 André Pönitz <poenitz@gmx.net>
397 * cursor.[Ch] (selClear, adjust): remove math
399 * cursor_slice.C: more agressive assert
402 * BufferView_pimpl.C: rework mouse event dispatch
409 2004-04-05 André Pönitz <poenitz@gmx.net>
411 * cursor.[Ch] (valign, halign...): remove unneeded functions
413 2004-04-05 Angus Leeming <leeming@lyx.org>
415 * lyxlength.[Ch] (unit_name et al.): const-correct.
417 2004-04-05 Angus Leeming <leeming@lyx.org>
419 * BufferView_pimpl.C:
428 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
430 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
432 * text3.C (getStatus): add LFUN_BEGINNINGBUF
434 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
436 * lyxfind.C: add a couple of inTexted() tests + other small fixes
437 * BufferView_pimpl.[Ch] (getStatus)
438 * BufferView.[Ch] (getStatus): add
439 * lyxfunc.C (getStatus): move lfuns handled in
440 BufferView::dispatch to te function above
441 * Cursor.C (setSelection): set selection() = true
443 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
445 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
447 2004-03-31 Angus Leeming <leeming@lyx.org>
449 * lyxfunc.C (dispatch): Fall through to the generic
450 Dialogs::show("preamble").
452 2004-03-31 Angus Leeming <leeming@lyx.org>
454 * lyxfunc.C (dispatch): Fall through to the generic
455 Dialogs::show("spellchecker").
457 2004-03-31 Angus Leeming <leeming@lyx.org>
459 * lyxfunc.C (getStatus, dispatch): changed invocation of the
462 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
467 * insetiterator.[Ch]:
472 * undo.[Ch]: s/DocumentIterator/DocIterator/g
474 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
476 * BufferView.C (setCursor, putSelectionAt): call edit to open the
477 insets where we are putting the cursor.
479 2004-03-31 Angus Leeming <leeming@lyx.org>
482 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
484 * lyxrc.[Ch] (read, write): overloaded member functions taking
485 a std::[io]stream arguments.
487 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
489 2004-03-31 Angus Leeming <leeming@lyx.org>
491 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
492 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
494 * lyxtextclass.C (load): if the text class couldn't be loaded, then
495 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
497 2004-03-31 Angus Leeming <leeming@lyx.org>
499 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
500 the LFUN_ALL_INSETS_TOGGLE code.
502 2004-03-30 Angus Leeming <leeming@lyx.org>
504 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
505 has died. Fall through to the generic Dialogs::show("document").
507 2004-03-30 Angus Leeming <leeming@lyx.org>
510 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
511 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
513 * lyxfunc.C (getStatus, dispatch): define the actions for these
514 lfuns. Little more than a cut and pste job from ControlDocument.C
516 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
518 2004-03-30 Angus Leeming <leeming@lyx.org>
521 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
522 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
524 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
525 open/closed state of ollapsable insets. Usage:
527 all-inset-toggle <state> <name>, where
528 <state> == "open" || "closed" || "toggle" and
529 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
531 * lyxtext.h, text2.C (toggleInset): removed.
533 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
534 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
535 now passes LFUN_INSET_TOGGLE to the found inset.
537 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
538 is now invoked as "all-insets-toggle toggle branch".
540 2004-03-30 Angus Leeming <leeming@lyx.org>
544 * pariterator.[Ch]: added/corrected header blurb.
546 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
548 * dociterator.[Ch]: add an inset_ member
549 (backwardPos): implemented
550 (backwardPos, forwardPos): use inset_ when the stack is empty.
551 (doc_iterator_begin, doc_iterator_end): implemented
552 * pariterator.[Ch]: adjust, add begin, end
553 * insetiterator.[Ch]: adjust, add begin, end
557 * BufferView_pimpl.C:
558 * CutAndPaste.C: adjust
560 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
562 * buffer.C: increment file format to 232.
563 * LaTeXFeatures.C: add bibtopic package.
564 * bufferparams.[Ch]: param \use_bibtopic.
566 * lyxrc.[Ch]: add lyxrc bibtex_command
567 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
569 * buffer.C: increment file format to 231.
571 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
573 * dociterator.C: implement forwardPar
574 * iterators.[Ch]: remove, replaced by
575 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
577 * BufferView_pimpl.C:
580 * bufferview_funcs.C:
586 * Makefile.am: adjust
588 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
590 * CutAndPaste.C (pasteSelection): fix 2 crashes
591 (eraseSelection): fix a crash
592 * paragraph_funcs.C: remove a warning
594 2004-03-28 Angus Leeming <leeming@lyx.org>
597 * LyXAction.C (init): new LFUN_PRINT.
599 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
601 2004-03-27 Angus Leeming <leeming@lyx.org>
604 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
606 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
608 2004-03-27 Angus Leeming <leeming@lyx.org>
610 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
611 insetlist always contains non-null pointers to insets.
613 2004-03-26 Angus Leeming <leeming@lyx.org>
615 * src/BufferView_pimpl.C:
619 * src/output_plaintext.C:
620 * src/outputparams.h:
621 * src/paragraph_funcs.C:
625 * src/frontends/controllers/ControlErrorList.C:
626 * src/frontends/gtk/FileDialogPrivate.C:
627 * src/frontends/gtk/GPainter.C:
628 * src/frontends/gtk/GToolbar.C:
629 * src/frontends/qt2/QRef.C:
630 * src/mathed/math_scriptinset.C: squash compiler warnings.
632 2004-03-26 Angus Leeming <leeming@lyx.org>
634 * ispell.C (LaunchIspell::start):
635 * lyx_cb.C (AutoSaveBuffer::start):
636 invoke run(DontWait) rather than runNonBlocking().
638 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
640 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
642 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
644 * kbsequence.C (print): adjust
646 * kbmap.C (printKeySym): rename and change signature
647 (printKey): use LyXKeySym::print()
649 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
651 * undo.C: add using std::advance to compile for stlport
653 2004-03-24 Angus Leeming <leeming@lyx.org>
655 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
656 it leads to a crash when no buffer is present.
658 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
659 Martin Vermeer <martin.vermeer@hut.fi>
661 * lyxfunc.C (dispatch):
662 * bufferparams.C (readToken): use the new LColor::setColor
664 * LColor.[Ch] (setColor): new version that takes two strings as
665 argument and creates a new color entry if necessary
667 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
669 * buffer.C (makeLaTeXFile): if the main latex file that is
670 processed is usually a subdocument of some master, then pretend
671 for a while that it is actually the master
673 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
675 * buffer.C (getLabelList):
676 (getBibkeyList): use getMasterBuffer()
677 (getMasterBuffer): new method. Returns the main document in the
678 case where one is using included documents.
680 2004-03-25 André Pönitz <poenitz@gmx.net>
684 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
686 * ParagraphList_fwd.h: change ParagraphList to a std::vector
688 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
689 text*.C over here. Rename namespace CutAndPaste to lyx::cap
691 * ParameterStruct.h: merge with ParagraphParameters
693 * lyxtext.h: remove LyXText::parOffset() and getPar()
695 * text3.C: Remove all 'manual' update calls. We do now one per user
696 interaction which is completely sufficient.
700 * BufferView_pimpl.C:
703 * ParagraphParameters.[Ch]:
715 * output_docbook.[Ch]:
717 * output_linuxdoc.[Ch]:
718 * output_plaintext.[Ch]:
720 * paragraph_funcs.[Ch]:
721 * paragraph_pimpl.[Ch]:
729 * frontends/controllers/ControlDocument.C:
730 * frontends/controllers/ControlErrorList.C:
731 * frontends/controllers/ControlSpellchecker.C:
734 * insets/insetbase.h:
735 * insets/insetbibitem.C:
737 * insets/insetbranch.C:
738 * insets/insetcaption.C:
739 * insets/insetcharstyle.C:
740 * insets/insetcharstyle.h:
741 * insets/insetcollapsable.C:
742 * insets/insetcollapsable.h:
744 * insets/insetfloat.C:
745 * insets/insetfoot.C:
746 * insets/insetmarginal.C:
747 * insets/insetnote.C:
748 * insets/insetoptarg.C:
749 * insets/insettabular.C:
750 * insets/insettext.C:
751 * insets/insettext.h:
752 * insets/insetwrap.C:
753 * mathed/math_mboxinset.C:
754 * mathed/math_nestinset.C:
755 * mathed/math_scriptinset.C:
756 * mathed/math_scriptinset.h:
759 2004-03-24 Angus Leeming <leeming@lyx.org>
761 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
762 deal with any child processes that have finished but are waiting to
763 communicate this fact to the rest of LyX.
765 2004-03-24 Angus Leeming <leeming@lyx.org>
767 64-bit compile fixes.
769 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
770 (c-tor): pass lyx::pos_types rather than ints.
772 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
775 * text.C (Delete): compile fix.
776 (getPar): ensure that function declaration is the same as that in
779 2004-03-23 Angus Leeming <leeming@lyx.org>
781 * ispell.C (LaunchIspell):
782 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
783 a boost::shred_ptr rather than a std::auto_ptr.
785 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
787 * lyxfunc.C (getStatus): handle read-only buffers correctly;
788 handle LFUN_FILE_INSERT_*
790 * lyxrc.C (setDefaults, getDescription, output, read):
791 * lyxrc.h: remove ps_command
793 2004-03-22 Angus Leeming <leeming@lyx.org>
795 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
796 Ensure that error_handler is processed once only and that all data
797 is saved before attempting to output any warning messages.
799 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
801 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
803 * tabular.C (TeXRow): crash fix (from Kayvan and André)
805 2004-03-19 André Pönitz <poenitz@gmx.net>
807 * cursor.[Ch] (reset): take main text inset as argument
810 * BufferView_pimpl.C: adjust
812 * paragraph.[Ch]: fix completely broken operator=()
814 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
816 * LColor.C (getFromLyXName): make sure that the color name is used
819 2004-03-17 Angus Leeming <leeming@lyx.org>
822 * LyXAction.C (init): remove LFUN_FORKS_KILL.
824 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
825 dialog and to kill a forked process.
827 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
829 * text2.C (setCursorFromCoordinates): fix font problem
831 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
833 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
834 bogus "rebuild cursor" code
836 2004-03-11 André Pönitz <poenitz@gmx.net>
838 * buffer.[Ch]: use InsetText instead of LyXText as container for
841 * dociterator.[Ch]: drop the BufferView * member which is not needed
842 anymore after the change to buffer.C
848 * BufferView_pimpl.[Ch]:
850 * cursor_slice.[Ch]: adjust
852 * text3.C: fix bug in mathDispatch
854 2004-03-08 André Pönitz <poenitz@gmx.net>
856 * undo.[Ch]: use 'StableDocumentIterator' as base for
859 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
862 * bufferparams.[Ch]: add jurabib support and param.
864 * LaTeX.C: add FIXME/comment.
866 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
868 * buffer.C: increment file format to 230.
870 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
872 * cursor.C (dispatch): avoid infinite loops
874 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
876 * rowpainter.C (paintSelection): fix x coordinates
878 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
880 * text.C (rowBreakPoint): fix breaking before displayed insets
882 2004-03-01 André Pönitz <poenitz@gmx.net>
884 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
886 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
890 * BufferView_pimpl.C:
898 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
904 * BufferView_pimpl.C: rename textwidth -> maxwidth,
905 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
907 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
909 * Bidi.[Ch] (computeTables): const correctness
910 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
911 fill_hfill, fill_label_hfill and x from Row
912 * lyxtext.h: prepareToPrint returns a RowMetrics
913 * rowPainter.C: adjust
914 * text.C (prepareToPrint): use width, not textWidth. adjust
915 (redoParagraphInternal, cursorX): adjust
916 * text2.C (getColumnNearX): adjust
917 (init): put a default value to the top LyXText::width
919 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
921 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
923 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
925 * lyxtext.h: add FontIterator class
927 * text.C (FontIterator, operator*, operator->, operator++): add
928 (rowBreakPoint, setRowWidth): adjust (fixing a
931 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
933 * BufferView_pimpl.C (workAreaDispatch): allow also
934 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
936 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
938 * text.C (rowBreakPoint): fix a bug showing with very large insets
940 2004-02-25 André Pönitz <poenitz@gmx.net>
943 * cursor.[Ch]: move some mathed specific code to mathed
945 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
947 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
948 use_tempdir in preferences
949 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
951 * lyx_main.C: ensure that tempdir is valid
952 * lyxlex.h: correct typo
953 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
954 * paragraph.[Ch] (isMultiLingual): make const
955 * cursor.[Ch] (openable): make const
957 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
959 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
961 2004-02-20 André Pönitz <poenitz@gmx.net>
963 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
965 * cursor.[Ch]: prepare for localized getStatus()
971 * text3.C: streamlines the LyXText cursor movement handlers a bit.
973 2004-02-20 André Pönitz <poenitz@gmx.net>
975 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
977 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
979 * text2.C (setCursorFromCoordinates): switch to absolute coords
982 * text3.C (dispatch): adjust
984 2004-02-16 André Pönitz <poenitz@gmx.net>
986 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
989 * cursor_slice.[Ch]: remove unneeded acessor function
991 * lyxtext.h: rename rtl() to isRTL()
999 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1001 * rowpainter.C (paintSelection): coord fix
1003 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1005 * Spacing.C: compile fix
1007 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1009 * cursor.C (dispatch): restore current_ before returning
1011 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1013 * text2.C (cursorUp, cursorDown): fix coords
1016 2004-02-12 André Pönitz <poenitz@gmx.net>
1021 * text3.C: add LCursor & parameter to most cursor movement functions
1022 remove usage of LyXText::cursorRow() and cursorPar()
1024 * cursor.[Ch]: add textRow() needed members
1027 * BufferView_pimpl.C:
1030 * BufferView_pimpl.C: adjust
1032 2004-02-11 André Pönitz <poenitz@gmx.net>
1036 * BufferView_pimpl.C: shift undo/redo handling
1038 * cursor.[Ch]: fix mathed crash
1041 * lyxtext.h: move selectionAsText to LCursor
1049 * rowpainter.C: fix excessive drawing
1051 2004-02-06 André Pönitz <poenitz@gmx.net>
1054 * BufferView_pimpl.[Ch]:
1055 * text3.C: move some text specific LFUN handling
1057 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1059 * text3.C (checkInsetHit): adjust coords
1060 * text2.C (getColumnNearX): adjust coords
1061 (edit): adjust coords
1062 * text.C (getRowNearY): add two asserts
1064 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1067 * format.C: add using std::distance to compile on gcc 2.95/stlport
1069 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1071 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1073 2004-02-04 André Pönitz <poenitz@gmx.net>
1075 * BufferView.[Ch] (insertInset):
1076 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1081 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1083 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1084 on the default clause of the switch
1085 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1086 wasn't catched by LCursor::dispatch
1088 2004-02-03 André Pönitz <poenitz@gmx.net>
1091 * cursor.[Ch]: some additional asserts
1093 * undo.[Ch]: remove LyXText dependency in interface
1097 * lyxtext.h (firstPar, lastPar): remove dead functions
1102 * paragraph.[Ch]: adjust
1104 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1106 * lyxfind.C (find): fix argument order in call to ::find
1108 2004-02-02 André Pönitz <poenitz@gmx.net>
1110 * cursor.[Ch]: remove direct access to anchor
1112 * text.C: remove findText() hack
1114 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1116 * iterators.[Ch] (lockPath): remove in favour of...
1117 * BufferView.[Ch] (setCursor): this addition
1118 * BufferView.C (putSelectionAt): adjust
1119 * undo.C (performUndoOrRedo): adjust
1120 * lyxfunc.C (dispatch): adjust
1122 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1124 * iterators.C (lockPath): add a missing slice
1125 * undo.C (performUndoOrRedo): remove redundant positioning code
1127 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1129 * vc-backend.C (scanMaster): ";" -> ';'
1131 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1133 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1134 std::binary_function
1136 * lyxtextclass.C (compare_name): rename to...
1137 (LayoutNamesEqual): ...this
1139 * lyxlex_pimpl.C (compare_tags): inherit from
1140 std::binary_function, put back into anon namespace
1142 * lyxfind.C (MatchString): inherig from std::binary_function
1143 (findChange): use empty() istead of !size()
1145 * format.C (FormatNamesEqual): new functor
1152 * converter.C (compare_Converter): rename to...
1153 (ConverterEqual): ...this, and fixup a bit.
1154 (getConverter): use it, and make function const
1155 (getNumber): use it, and make function const
1159 * bufferlist.C: add using boost::bind
1161 * MenuBackend.C (MenuNamesEqual): new functor
1162 (hasMenu): use it, and make function const
1163 (hasSubmenu): use nested bind to get rid of compare_memfun.
1165 2004-01-30 André Pönitz <poenitz@gmx.net>
1167 * BufferView_pimpl.C:
1170 * cursor_slice.[Ch]:
1173 * paragraph_funcs.C:
1174 * paragraph_funcs.h:
1178 * text3.C: move some of the edit(x,y) handling to the insets
1179 some coordinate changes.
1181 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1183 * text.C: add using statements for std::advance and std::distance
1185 * paragraph.C: add using statement for std::distance
1187 * lyxfind.C: add using statement for std::advance
1189 * cursor.C (region): remove std:: from swap
1190 (openable): use nucleus in stead of operator->
1192 * BufferView.C: add using statements for std::distance and std::swap
1194 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1196 * iterators.C: Remove the pimple, move the needed structures to
1197 the header file. Create accessor for the positions stack.
1198 (asPosIterator): remove function
1200 * PosIterator.C (PosIterator): move constructors to top of file
1201 (PosIterator): reimplement the constructor taking a ParIterator in
1203 (setFrom): new function
1204 (operator!=): inline it
1206 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1208 * lyxfind.C (replaceAll): use std::advance
1210 * iterators.h: inherit from std::iterator.
1212 * PosIterator.C (advance, distance): remove
1213 * PosIterator.h: interit from std::iterator.
1215 2004-01-26 André Pönitz <poenitz@gmx.net>
1218 * BufferView_pimpl.[Ch]:
1222 * bufferview_funcs.C:
1232 * output_linuxdoc.C:
1233 * output_plaintext.C:
1235 * paragraph_funcs.[Ch]:
1236 * paragraph_pimpl.[Ch]:
1242 * text3.C: more IU: dumps most of the rest of the mathcursor
1243 implementation into cursor.[Ch]; "globalize" a bit of it.
1245 2004-01-25 Angus Leeming <leeming@lyx.org>
1247 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1249 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1251 * LaTeXFeatures.h: add nice_ and nice() const
1252 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1254 2004-01-20 André Pönitz <poenitz@gmx.net>
1257 * BufferView_pimpl.C:
1259 * bufferview_funcs.C:
1261 * cursor_slice.[Ch]:
1272 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1273 LCursor and mathcursor parts to LCursor and InsetBase.
1275 2004-01-15 André Pönitz <poenitz@gmx.net>
1277 * cursor_slice.[Ch]: add a few covienience functions
1279 * funcrequest.[Ch]: remove BufferView * member
1281 * BufferView_pimpl.C:
1288 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1290 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1292 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1293 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1295 2004-01-13 André Pönitz <poenitz@gmx.net>
1298 * lyxtext.h: hide cursor and selection anchor behind accessor function
1301 * BufferView_pimpl.[Ch]:
1303 * bufferview_funcs.C:
1313 * cursor_slice.[Ch]: some integer type changes for inset unification
1315 * lyxcursor.[hC]: remove, it's CursorSlice now.
1318 * BufferView_pimpl.[Ch]:
1319 * bufferview_funcs.C:
1325 * textcursor.[Ch]: adjust
1327 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1329 * text2.C (undoSpan): add and use
1330 * text.C (breakParagraph): use undoSpan (fix bug 578)
1333 2004-01-08 Angus Leeming <leeming@lyx.org>
1335 * BufferView_pimpl.C (MenuInsertLyXFile):
1336 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1337 * lyxfunc.C (menuNew, open, doImport):
1338 FileFilterList change to the FileDialog open and save functions.
1340 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1342 * ShareContainer.h: make isEqual and isUnique adaptable
1344 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1346 2004-01-07 Angus Leeming <leeming@lyx.org>
1349 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1351 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1353 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1354 functions replacing find, replace and replaceAll.
1356 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1357 LFUN_WORDFIND(FORWARD|BACKWARD).
1359 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1361 * text.C (breakParagraph): remove an outdated #warning
1363 2004-01-07 André Pönitz <poenitz@gmx.net>
1365 * lyxfind.C: somewhat clearer logic
1367 * text.C: prevent crash in cursorX on unitialized row cache
1369 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1371 * lyxcursor.[Ch] (operator>): add
1372 * textcursor.C (selStart, selEnd): use std::min and std::max
1374 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1376 * Chktex.C: include boost/format.hpp
1378 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1380 * InsetList.C: replace functor MathcIt with adaptable functor
1382 (insetIterator): modify accordingly
1384 * BranchList.h: move the BranchNamesEqual functor here from...
1385 * BranchList.C: ... to here
1387 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1389 (add): replace a finding loop with std::find_if.
1391 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1393 * output_docbook.C: moving LatexParam functionality into
1396 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1398 * buffer.C: increment format to 229.
1400 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1403 * lyx_sty.[Ch]: remove minipageindent_def
1409 * text3.C: remove LFUN_INSET_MINIPAGE
1411 2003-12-28 Angus Leeming <leeming@lyx.org>
1413 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1415 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1417 * text2.C (setParagraph): fix off-by-one crash
1419 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1421 * output_docbook.C: header stuff for AGU
1423 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1425 * text2.C (redoCursor): remove
1428 * BufferView_pimpl.C: remove calls to redoCursor and
1429 setCursor(cursor.par(), cursor.pos()) all around
1431 2003-12-15 Angus Leeming <leeming@lyx.org>
1433 * buffer.C: up the format to 228.
1435 2003-12-15 André Pönitz <poenitz@gmx.net>
1437 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1442 * BufferView_pimpl.C:
1451 2003-12-15 Angus Leeming <leeming@lyx.org>
1453 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1454 than getFromGUIName to manipulate the color.
1456 2003-12-14 Angus Leeming <leeming@lyx.org>
1458 * BranchList.[Ch]: minimize the API.
1459 (Branch::getBranch, getColor): now return a 'const &'.
1460 (Branch::setSelected) now returns a bool set to true if the
1461 selection status changes.
1462 (BranchList::clear, size, getColor, setColor, setSelected,
1463 allBranches, allSelected, separator): removed.
1464 (BranchList::find): new functions, returning the Branch with
1466 (BranchList::add, remove): return a bool indicating that
1467 the operation was successful.
1469 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1470 new InsetBranch::isBranchSlected member function.
1472 * LColor.[Ch]: mimimize the API.
1473 (fill): renamed as addColor and made private.
1474 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1475 versions of these functions taking a string arg have been removed.
1477 * bufferparams.C (readToken):
1478 * lyxfunc.C (dispatch):
1479 * lyxrc.C (read): changes due to the altered BranchList and
1482 * factory.C (createInset, readInset): changes due to altered
1485 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1488 * lyxfunc.C: remove insetminipage. "minipage-insert"
1489 now produces a frameless minipage box inset.
1491 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1493 * textcursor.[Ch] (selStart,selEnd): add new methods
1494 remove selection::start, end, use LyXCursor::operator<
1495 * lyxcursor.[Ch] (operator<): add
1496 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1497 * BufferView.[Ch] (unsetXSel): add
1498 * text2.C (clearSelection): use unsetXSel,adjust
1501 * rowpainter.C: adjust
1502 * bufferview_funcs.C (put_selection_at): adjust
1504 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1506 * BufferView_pimpl.C: small coord. correction
1508 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1510 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1511 dragging over the splash screen.
1513 2003-12-11 Angus Leeming <leeming@lyx.org>
1515 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1516 as it is now handled in LyXText::dispatch.
1518 * text3.C (doInsertInset): remove a level of nesting.
1520 2003-12-11 Angus Leeming <leeming@lyx.org>
1522 * factory.C (createInset): changes due to the changed interface to
1523 InsetCommandMailer::string2params.
1525 2003-12-10 Angus Leeming <leeming@lyx.org>
1527 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1528 'dialog-show-new-inset <inset name>'
1530 2003-12-10 Angus Leeming <leeming@lyx.org>
1532 * buffer.C: up the format to 227.
1534 * factory.C: the box inset is now identified simply by 'Box'.
1536 2003-12-10 Angus Leeming <leeming@lyx.org>
1538 * buffer.C: up the format to 226.
1540 * factory.C: the note inset is now identified simply by 'Note'.
1542 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1544 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1545 when a pit is enough. Standarize a couple of loops.
1547 2003-12-05 Angus Leeming <leeming@lyx.org>
1549 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1550 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1551 data to the re-worked "log" dialog.
1553 2003-12-03 André Pönitz <poenitz@gmx.net>
1559 * paragraph_funcs.C:
1561 * text2.C: use Inset::getText instead of Inset::getParagraph
1563 2003-12-03 André Pönitz <poenitz@gmx.net>
1567 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1568 InsetText::read() as LyXText::read()
1570 2003-12-02 Angus Leeming <leeming@lyx.org>
1572 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1573 type. Add a comment in the implementation that the function uses
1574 the stream's bad() function rather than fail() as the std::streams
1577 2003-12-02 André Pönitz <poenitz@gmx.net>
1579 * lyxlex.[Ch]: make interface more similar to std::stream
1581 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1583 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1585 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1587 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1589 * vspace.[Ch]: remove VSpace::NONE
1591 2003-12-01 André Pönitz <poenitz@gmx.net>
1594 * lyxtext.h: move ParagraphList member to LyXText
1595 rename LyXText::ownerParagraphs to LyXText::paragraph
1598 * bufferview_funcs.C:
1608 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1610 * undo.C: fix cursor positioning
1612 2003-12-01 John Levon <levon@movementarian.org>
1614 * BufferView_pimpl.C: fix a crash on exit with
1617 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1619 * BranchList.C: fix setSelected() method.
1621 2003-11-28 André Pönitz <poenitz@gmx.net>
1623 * ParagraphParameters.[Ch]:
1624 * ParameterStruct.h: remove space above/below from Paragraph to
1627 * BufferView_pimpl.C:
1633 * paragraph_funcs.C:
1639 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1641 * factory.C: Syntax change for CharStyles
1643 2003-11-28 André Pönitz <poenitz@gmx.net>
1648 * buffer.[Ch]: move LyXText member
1650 2003-11-28 André Pönitz <poenitz@gmx.net>
1652 * BufferView.[Ch]: make LyXText * text a private member
1654 * BufferView_pimpl.C:
1665 * output_plaintext.C: cleanup
1667 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1670 * lyxtextclass.[Ch]: parametrize SGML document header
1672 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1675 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1678 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1680 * text2.C (setFont): rework using PosIterator (no more recursive)
1681 (setCharFont): no more needed
1682 (setLayout): no more selection cursors fiddling (done by redoCursor)
1683 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1684 destroy remaining ones)
1686 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1688 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1690 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1693 * text3.C: adjust + re-allow multi par depth changes
1694 * textcursor.C: simplify a bit
1696 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1702 * src/output_docbook.C:
1703 * src/output_latex.C:
1708 * src/text2.C: Introducing a number of tags parametrizing various
1709 XML formats that we may want to support
1711 2003-11-25 André Pönitz <poenitz@gmx.net>
1713 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1715 * lyxtext.h (leftMargin/rightMargin): simplify interface
1722 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1724 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1725 master file to any child files. Fixes bug 546.
1727 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1729 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1731 2003-11-24 André Pönitz <poenitz@gmx.net>
1733 * rowpainter.C: simplification
1735 * text2.C (updateCounters): remove call to redoParagraph on
1736 changed labels as this is far too expensive.
1738 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1740 * converter.C (convert): fix a crash: this function gets
1741 called with buffer == 0 from importer code.
1743 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1745 * text3.C (cursorPrevious): make sure that we do not compare
1746 iterators form different containers.
1749 * rowpainter.C (paintSelection): make sure that we do not compare
1750 iterators from different containers.
1752 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1753 iterators from different ParagraphList containers.
1756 * text2.C (LyXText): change order of initialization slightly
1757 (operator=): new function. copy all variables except cache_par_
1758 (moveUp): make sure that we do not compare iterators from
1759 different ParagraphList constainers.
1762 * text.C (firstPar): new function
1763 (lastPar): new function
1764 (endPar): new function
1766 * lyxtext.h: move things around and group public functions, public
1767 variables, private functions, private variables
1769 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1771 * factory.C: change call to InsetERT constructor to avoid
1772 additional invocation of method status
1773 * text2.C (toggleInset): remove redundant update() call
1774 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1775 instead of a Bufferview pointer
1777 2003-11-21 André Pönitz <poenitz@gmx.net>
1779 * rowpainter.C: simplification
1781 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1783 * text3.C (dispatch): make possible to extend a word/row selection
1786 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1788 * lyxtext.h: x0_,y0_ -> xo_,yo_
1789 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1790 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1791 * rowpainter.C (paintRows): paint full paragraphs
1793 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1795 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1798 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1800 * lyxtext.h: add x0_, y0_
1801 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1802 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1804 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1806 * text2.C (setCursorIntern): move the x_target update here *
1807 * text3.C: change some bv() to true/false in calls to
1808 cursorUp/Down/Right/Left
1809 * cursor.C: use helper function.
1811 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1813 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1814 * paragraph_funcs.[Ch]: correct comment
1815 * rowpainter.C: do not paint selections away from bv->cursor()
1816 Fix a long standing selection painting bug.
1817 * text3.C: generalize mouse-selection code to LyXTexts other that
1819 * textcursor.C: do not use y coords if we can use par offsets
1821 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1823 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1824 cursor position after e.g. inset insert)
1826 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1828 * lyxfind.C (replace): adjust to locking removal + some
1831 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1833 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1836 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1839 * output_docbook.C: XML sanitation: new layout
1840 parameters InnerTag and CommandDepth
1842 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1844 * BufferView_pimpl.C:
1846 * text3.C: Fix the insertion and modification of button-style
1849 2003-11-13 André Pönitz <poenitz@gmx.net>
1851 * InsetList.[Ch]: remove deleteLyXText
1853 * paragraph.[Ch]: cache beginOfBody position
1858 * text3.C: remove superfluous update() calls
1862 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1864 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1865 * BufferView.C (fitLockedInsetCursor): remove
1866 * cursor.[Ch] (getDim): add
1867 * text.C (getRowNearY): add faster version
1868 * text3.C: remove some update calls
1870 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1882 * text3.C: The Character Style /XML short element patch.
1884 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1887 * factory.C: Small step to solving 'unable to insert some insets'
1890 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1892 * cursor.[Ch] (updatePos): new function for updating the y
1893 position of the tip inset
1894 * bufferview_funcs.C (put_selection_at):
1895 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1897 2003-11-11 André Pönitz <poenitz@gmx.net>
1899 * text.C: remove big comment on invalid Paragraph pointers as it is
1902 2003-11-11 André Pönitz <poenitz@gmx.net>
1904 * text_funcs.[Ch]: merge with ...
1912 * Makefile.am: remove text_funcs.[Ch]
1914 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1916 * cursor.C (getPos): return absolute cached y coord
1918 * BufferView_pimpl.C (fitCursor): new simplistic code
1919 (workAreaDispatch): add a fitCursor call
1921 2003-11-10 André Pönitz <poenitz@gmx.net>
1924 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1926 2003-11-10 André Pönitz <poenitz@gmx.net>
1928 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1929 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1930 indicate that the cursor needs to leave an inset
1932 * lyxtext.h: remove inset locking
1934 * cursor.[Ch]: re-implement functionality provided by inset locking
1937 * BufferView_pimpl.[Ch]:
1939 * bufferview_funcs.[Ch]:
1951 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1953 * PosIterator.[Ch]: replace the stack with a vector, add inset
1955 * iterators.[C]: adjust
1957 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1959 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1961 * paragraph_funcs.C (readParToken): put the correct id in the
1962 error item, not the id of the top paragraph
1964 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1966 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1967 * bufferview_funcs.C (put_selection_at): use the above
1969 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1971 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1973 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1975 * output_linuxdoc.h:
1976 * output_plaintext.h:
1978 * output_docbook.h: add #include statements
1980 2003-11-05 José Matos <jamatos@lyx.org>
1982 * output_docbook.[Ch]:
1983 * output_latex.[Ch]:
1984 * output_linuxdoc.[Ch]:
1985 * output_plaintext.[Ch]: New files for output formats.
1986 * output.[Ch]: New file for helper functions.
1989 * paragraph_funcs.[Ch]: output functions moved to new files.
1991 * outputparams.h: rename of latexrunparams.h
1999 * paragraph_funcs.[Ch]:
2000 * paragraph_pimpl.[Ch]:
2001 * tabular.[Ch]: rename ascii to plaintext
2002 and LatexRunParams to OutputParams.
2004 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2006 * iterators.[Ch] (text): require bv argument
2007 * undo.C (recordUndo):
2008 * lyxfunc.C (dispatch):
2009 * bufferview_funcs.C (put_selection_at): adjust
2011 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2013 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2015 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2017 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2020 2003-11-04 André Pönitz <poenitz@gmx.net>
2022 * cursor.[Ch]: restructure
2025 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2027 * iterators.[Ch] (asCursor): remove
2029 * lfuns.h: remove LFUN_INSET_EDIT
2035 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2037 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2039 * lyxfind.[Ch]: complete overhaul
2040 * BufferView_pimpl.C:
2042 * paragraph.[Ch] (insert): add
2044 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2048 * text.C: remove dead spellcheck code
2050 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2052 * dispatchresult.h: add a val setter
2054 * cursor.C (dispatch): use a tempvar for data_[i]
2056 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2058 * PosIterator.[Ch]: compile fix
2060 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2062 * text.C (cursorPar): deactivate the cursor cache
2064 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2066 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2068 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2070 * text3.C (dispatch): adjust for new DisptchResult semantics.
2072 * lyxfunc.C (dispatch): handle update when return from
2073 Cursor::dispatch, adjust for new DispatchResult semantics.
2075 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2076 DispatchResult(true) mean to not update. Add class functions for
2077 setting dispatched and update, as well as reading.
2079 * cursor.C (dispatch): don't handle update here
2081 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2083 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2084 * trans_mgr.C: adjust
2086 * paragraph_funcs.C (readParToken): exception safety
2088 * lyxvc.h: store the vcs pointer in a scoped_ptr
2091 * lyxsocket.C (serverCallback): exception safety
2093 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2095 * ispell.C (clone): make it return a auto_ptr
2097 * factory.C (createInset): exception safety
2098 (readInset): exception safety
2100 * bufferlist.C (newBuffer): exception safety
2102 * Thesaurus.C (Thesaurus): use initialization for aik_
2104 * MenuBackend.C (expandToc): exception safety.
2106 2003-11-03 André Pönitz <poenitz@gmx.net>
2110 * bufferview_funcs.C: remove getInsetFromId()
2113 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2119 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2121 * PosIterator.C (distance, advance): new
2122 * bufferview_funcs.[Ch] (put_selection_at): new
2123 * iterators.[Ch] (lockPath): new
2125 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2127 * iterators.[Ch] (asPosIterator): added
2128 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2129 * PosIterator.[Ch]: added
2131 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2135 * cursor.C (dispatch):
2136 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2138 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2139 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2140 contructor, add a class function dispatched. Remove operator>=
2142 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2144 * debug.C: only use the default constructor for debugstream
2147 * main.C (main): include debug.h and setup the lyxerr streambuf
2150 2003-10-31 José Matos <jamatos@lyx.org>
2152 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2154 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2155 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2156 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2157 * paragraph_pimpl.C (simpleTeXSpecialC):
2158 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2159 add LatexRunParams argument.
2161 * exporter.C (Export): change call accordingly.
2163 * latexrunparams.h: add new member to take care of the other backends.
2164 2003-10-30 José Matos <jamatos@lyx.org>
2166 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2167 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2168 factorise code for paragraph output.
2170 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2173 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2175 * text3.C (dispatch):
2176 * lyxfunc.C (dispatch):
2177 * cursor.C (dispatch):
2178 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2180 * dispatchresult.h: make the dispatch_result_t ctor explicit
2182 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2185 * buffer.C: small refactoring of docbook stuff
2187 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2189 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2192 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2194 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2195 operator dispatch_result_t, and operators for == != and >=
2197 * cursor.C (dispatch): adjust for operator dispatch_result_t
2198 removal. comment out call to update
2200 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2202 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2210 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2213 * dispatchresult.h: new file, DispatchResult broken out of
2216 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2218 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2220 * text.C (rowBreakPoint): put a hack inside #if 0
2222 2003-10-28 André Pönitz <poenitz@gmx.net>
2226 * paragraph_funcs.C:
2229 * text2.C: general cleanup (lots of small stuff)
2231 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2233 * text2.C (cursorEnd): simple fix to the "end key goes to one
2234 before the end on last row" bug
2236 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2238 * text.C (backspace): fix the "zombie characters"
2240 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2242 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2244 2003-10-27 André Pönitz <poenitz@gmx.net>
2246 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2248 * factory.C: handle new InsetPagebreak, InsetLine
2250 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2251 and move handling into new InsetPagebreak, InsetLine
2253 * BufferView_pimpl.C:
2255 * ParagraphParameters.C:
2256 * ParameterStruct.h:
2261 * paragraph_funcs.C:
2262 * paragraph_pimpl.C:
2268 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2271 * lyxrow_funcs.[Ch]:
2277 * text3.C: remove lastPos uses in favour of Row::endpos
2279 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2281 * undo.C (performUndoOrRedo): fix two crashes by setting a
2282 cursor by hand and reordering some calls. Use bv->lockInset instead
2283 of inset->edit because the latter loses cursor information
2285 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2287 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2289 (rowBreakPoint): fix width. change point to point + 1.
2290 Add a missing check.
2292 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2295 * lyxfunc.C: fix (at least partly) the problems
2296 with the Nav menu and headers inside branch insets
2299 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2301 * paragraph.C (getChar): add strong asserts
2303 * lyxrow_funcs.C (lastPos): remove hideous hack
2305 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2306 (fill): adjust to that (avoid an infinite loop)
2308 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2310 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2312 2003-10-23 André Pönitz <poenitz@gmx.net>
2314 * RowList_fwd.h: change list<> to vector<> to gain speed
2315 after suggestion from Alfredo
2317 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2319 * lyxtext.h: move the bidi stuff from here...
2322 * Bidi.[Ch]: ... to here
2324 2003-10-23 André Pönitz <poenitz@gmx.net>
2327 * text.C (isLastRow, isFirstRow): new functions
2329 * paragraph.h: new width cache member
2331 * rowpainter.C: replace RowList::iterator with Row & where possible
2333 * lyxfunc.C: replace several view()->text with a single call
2335 * toc.C: fix 'unused' warning
2337 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2339 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2340 when woring with stream::pos_type
2341 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2343 2003-10-22 André Pönitz <poenitz@gmx.net>
2346 * text.C: use Row & instead of RowList::iterator
2348 * lyxrow.h: rename end() to endpos()
2354 2003-10-22 Angus Leeming <leeming@lyx.org>
2356 * buffer.[Ch] (fully_loaded): new member function, returning true
2357 only when the file has been loaded fully.
2358 Used to prevent the premature generation of previews and by the
2359 citation inset to prevent computation of the natbib-style label.
2361 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2362 templates are all set up.
2364 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2366 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2368 * text.C: fixed an "oops" in the "is a bit silly"
2371 2003-10-21 André Pönitz <poenitz@gmx.net>
2373 * FuncStatus.[Ch]: small stuff, whitespace
2375 * lyxfont.[Ch]: operator<<() for debug reasons
2379 * lyxtext.h: whitespace, spelling
2381 * paragraph.C: naming of variables
2384 * text2.C: small stuff
2387 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2389 * text.C: (1) finish off the inset display() work;
2390 (2) fix the "is a bit silly" bug (accessing char
2393 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2395 * text.C: re-introduce display() for insets, fixing the
2396 various bugs (stretch of line above, math inset
2399 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2401 * text.C (rightMargin): remove spurious semicolon
2403 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2406 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2408 * text3.C: fix one crash due to wrong cursor def
2410 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2412 * vc-backend.C (scanMaster): make the regex static
2414 * LaTeX.C (scanAuxFile): make the regexs static
2416 * text3.C (doInsertInset, dispatch, dispatch):
2417 * text2.C (cursorUp, cursorDown):
2418 * text.C (selectNextWordToSpellcheck):
2419 * BufferView_pimpl.C (dispatch):
2420 * lyxfunc.C (dispatch): localDispatch -> dispatch
2422 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2424 * lyxsocket.C: include <cerrno>
2426 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2428 * lyxfunc.C (dispatch): remove textcache stuff
2430 * bufferlist.C (release): remove textcache stuff
2433 * TextCache.C: delete file
2434 * TextCache.h: delete file
2436 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2438 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2439 delete of the bv_->text.
2440 (resizeCurrentBuffer): remove texcache stuff
2441 (workAreaResize): ditto
2443 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2445 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2448 2003-10-16 André Pönitz <poenitz@gmx.net>
2455 * text3.C: speed up by storing y positions per paragraph plus per-row
2456 offset instead of having a 'full' y position in the row.
2458 2003-10-15 André Pönitz <poenitz@gmx.net>
2462 * undo.[Ch]: make undo aware of inner insets
2464 2003-10-14 Angus Leeming <leeming@lyx.org>
2466 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2467 static member functions LyX::ref() and LyX::cref.
2468 (lastfiles): new accessor functions for the new lastfiles_ member var.
2469 (addLyXView, views_): add a new LyXView to the list of views_.
2470 (updateInset): loop over all LyXViews to call their own updateInset
2471 member function, returning a pointer to the Buffer owning the inset.
2473 * BufferView_pimpl.C (loadLyXFile):
2474 * MenuBackend.C (expandLastfiles):
2475 * bufferlist.C (MenuWrite, QuitLyX):
2476 lastfiles is no longer a global variable.
2477 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2479 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2480 static function. Access through LyX::cref().emergencyCleanup().
2482 2003-10-14 André Pönitz <poenitz@gmx.net>
2484 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2486 * undo.[Ch]: restoring part of 'undo in insets'
2489 * undo_funcs.[Ch]: merge with undo.[Ch]
2491 * tabular.C: small cleansing stuff
2493 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2495 * paragraph_funcs.C (readParToken): report unknown insets as error
2496 boxes. Use the outer paragraph as location (also for unknown
2499 * factory.C (readInset): do not abort on reading an unknown inset.
2500 Eat it and return 0.
2502 2003-10-13 Angus Leeming <leeming@lyx.org>
2504 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2506 * lyxrc.C: displayTranslator is now a function,
2507 declared in GraphicsTypes.h.
2509 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2511 * format.C: new placeholder $$a to pass the socket address.
2513 * bufferlist.[Ch]: new function getBufferFromTmp.
2515 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2516 files in the temporary dir.
2518 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2520 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2522 * Makefile.am: add lyxsocket.[Ch].
2524 * lyx_main.C (error_handler): handle SIGPIPE.
2526 2003-10-13 André Pönitz <poenitz@gmx.net>
2528 * BufferView_pimpl.C:
2533 * undo_funcs.[Ch]: use paroffset_type instead of
2534 ParagraphList::iterators to prevent multiple conversion
2535 (and get a more robust interface)
2537 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2539 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2541 * text3.C (dispatch): ditto
2543 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2545 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2546 move the onlyfile, use onlyfile instead of foundfile in a couple
2549 * DepTable.C (update): flush the error stream a bit more
2551 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2553 * lyxserver.C (callback): adjust
2555 * lyxfunc.C (getStatus): add a missing brace in commented code
2556 (ensureBufferClean): reindent
2557 (dispatch): delete version taking a string
2559 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2561 * LaTeX.C (deplog): move found file handlig from here...
2562 (handleFoundFile): .. to new function here.
2563 (deplog): make sure to discover several files mentioned on the
2566 2003-10-10 André Pönitz <poenitz@gmx.net>
2573 * text3.C: fix some of the tabular crashes
2575 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2577 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2579 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2581 2003-10-09 André Pönitz <poenitz@gmx.net>
2583 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2586 * BufferView_pimpl.C:
2587 * bufferview_funcs.C:
2598 * undo_funcs.C: adjust
2600 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2602 * text2.C (incrementItemDepth): new function, use a backtracking
2603 algorithm to discover the correct item depth.
2604 (resetEnumCounterIfNeeded): new function, use a backtracking
2605 algorithm to discover if counter reset is needed.
2606 (setCounter): use them. Simplify a bit. Add different labels for
2607 different item depths for itemize.
2609 * paragraph.C (Paragraph): remove initialization of enumdepth
2612 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2613 enumerate and itemize. Change the type of itemdepth to signed char.
2615 2003-10-08 André Pönitz <poenitz@gmx.net>
2617 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2622 * tabular.[Ch]: fix crash after 'row-insert'
2624 2003-10-08 Angus Leeming <leeming@lyx.org>
2626 Fix doxygen warnings.
2628 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2629 Remove CutAndPaste:: prefix from header file declaration.
2631 * LColor.h (fill): remove LColor:: prefix from declaration.
2633 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2634 use lyx::depth_type rather than Paragraph::depth_type so that
2635 header file and .C file match.
2637 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2639 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2640 * aspell.C: \file aspell_local.C -> \file aspell.C
2641 * gettext.C: \file gettext.C -> \file src/gettext.C
2642 * gettext.h: \file gettext.h -> \file src/gettext.h
2643 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2644 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2645 * text.C: \file text.C -> \file src/text.C
2647 * toc.C: move comment so that doxygen is not confused.
2649 2003-10-07 Angus Leeming <leeming@lyx.org>
2651 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2653 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2656 * aspell_local.h: add forgotten std::string's.
2658 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2665 * text3.C: The Box patch. Fancybox support, minipage, parbox
2667 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2673 * ParagraphParameters.h:
2683 * lyxtextclasslist.h:
2686 * paragraph_pimpl.C:
2687 * textcursor.h: add <string> and other small fixes to make Lars'
2688 std::string patch compile with STLport.
2690 2003-10-06 Angus Leeming <leeming@lyx.org>
2692 * LColor.h: Add missing #include <string>.
2694 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2696 * All most all file in all subdirs: Make <string> be the prefered
2697 way of getting to std::string, add using declarations.
2699 2003-10-06 André Pönitz <poenitz@gmx.net>
2701 * metricsinfo.C: initialize LyXFont before changing attribute.
2702 (fixes the 'math in \emph is upright' bug)
2704 2003-10-06 André Pönitz <poenitz@gmx.net>
2706 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2708 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2711 * paragraph_pimpl.C: Small fixes to build using STLport
2713 2003-10-02 André Pönitz <poenitz@gmx.net>
2716 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2718 2003-10-01 André Pönitz <poenitz@gmx.net>
2720 * factory.C: assert early
2722 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2724 * lyx_main.C: remove the global debug object
2726 * debug.h: adjust for new debugstream
2728 * debug.C: adjust for new debugstream and keep the global debug
2731 2003-09-22 Angus Leeming <leeming@lyx.org>
2733 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2734 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2735 an incomplete class LyXFont.
2737 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2739 * factory.C: bug fix in branches
2741 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2743 * lyxfunc.C (processKeySym): adjust
2745 (dispatch): change arg name from ev to func, adjust
2746 (sendDispatchMessage): ditto
2748 * lyx_main.C (defaultKeyBindings): adjust keybindings
2749 (deadKeyBindings): ditto
2751 * kbsequence.C (addkey): return a FuncRequest
2753 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2755 * kbmap.C (bind): take a FuncRequest as arg, adjust
2758 (defkey): change to take a FuncRequest as arg, adjust
2759 (findbinding): take a FuncRequest as arg, adjust.
2761 * funcrequest.h (operator=): added
2763 * funcrequest.C (FuncRequest): default kb_action changed from
2764 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2766 * buffer.C (dispatch): simplify
2767 (dispatch): adjust to take a FuncRequest as arg, adjust
2769 * boost.C (assertion_failed): change assertion message slightly
2771 * ToolbarBackend.C (read): simplify
2773 * MenuBackend.C (binding): adjust call to findbinding, add a
2774 message if no binding is found.
2776 (expandToc): correct by adding a empty FuncRequest
2778 * LyXAction.C: include <boost/assert.hpp>
2779 (isPseudoAction): delete function
2780 (LookupFunc): change name to...
2781 (lookupFunc): this. change return type to FuncRequest.
2782 (getActionName): take kb_action as arg, simplify
2783 (funcHasFlag): add an assert, simplify.
2785 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2787 * toc.C (action): return a FuncRequest, simplify
2789 * lyxfunc.C (processKeySym): adjust
2790 (getStatus): delete version that takes an int.
2792 (dispatch): delete version that takes action as int
2794 (sendDispatchMessage): simplify and adjust
2796 * funcrequest.C (getArg): take unsigned int as arg
2798 * ToolbarBackend.C (read): adjust
2799 (add): delete version that takes func as a string.
2800 (getIton): take a FuncRequest as arg
2802 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2805 * MenuBackend.C (MenuItem): add a new construct that only takes a
2806 Kind, simplify the constructor use for submenus.
2808 (expandLastfiles): adjust
2809 (expandDocuments): adjust
2810 (expandFormats): adjust
2811 (expandFloatListInsert): adjust
2812 (expandFloatInsert): adjust
2813 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2815 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2816 Remove class variables lyx_pseudo_map and lyx_arg_map
2818 * LyXAction.C (searchActionArg): delete function
2819 (getPseudoAction): delete function
2820 (retrieveActionArg): delete function
2821 (LookupFunc): make it return kb_action, simplify.
2822 (getActionName): simplify
2824 * factory.C (createInset): fix new bug
2826 2003-09-19 Angus Leeming <leeming@lyx.org>
2828 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2829 masterFilename_ parameter in the include inset.
2831 * factory.C (createInset): changes due to the changes to InsetInclude.
2833 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2835 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2837 2003-09-18 Angus Leeming <leeming@lyx.org>
2840 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2841 Inset::fillWithBibKeys.
2842 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2844 2003-09-18 Angus Leeming <leeming@lyx.org>
2846 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2848 (ctor): pass and store a 'Buffer const &'
2849 (buffer): new member function.
2851 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2852 '*this' to the LaTeXFeatures ctor.
2854 2003-09-18 Angus Leeming <leeming@lyx.org>
2860 * text.C: rename EnumLColor as LColor_color.
2862 2003-09-18 Angus Leeming <leeming@lyx.org>
2864 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2865 remove #include "insets/insetbase.h" from cursor.h.
2867 2003-09-18 Angus Leeming <leeming@lyx.org>
2869 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2870 InsetOld_code to remove #include "inset.h".
2872 * iterators.C: add #include "insets/inset.h"
2874 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2876 * BufferView.C: remove more locking stuff that apparently doesn't
2877 do anything sensible.
2879 2003-09-16 André Pönitz <poenitz@gmx.net>
2882 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2885 2003-09-16 Angus Leeming <leeming@lyx.org>
2887 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2889 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2892 * paragraph.h: remove #include "lyxfont.h". Forward declare
2895 2003-09-16 Angus Leeming <leeming@lyx.org>
2897 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2898 of support/textutils.h.
2899 (isWord): move the contents of support/textutils.h's IsWordChar here.
2905 * text2.C: add #include "paragraph.h".
2908 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2910 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2916 * LaTeX.C: use namespace alias for lyx::support::os
2918 2003-09-16 Angus Leeming <leeming@lyx.org>
2921 * bufferview_funcs.C:
2924 * paragraph_pimpl.C:
2926 * text.C: add #include "LColor.h".
2928 2003-09-16 Angus Leeming <leeming@lyx.org>
2930 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2931 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2933 Store the FontBits::color variable as an int rather than as an
2934 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2937 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2938 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2939 string calls together.
2941 * lyxrc.C: add #include "LColor.h".
2943 2003-09-15 Angus Leeming <leeming@lyx.org>
2945 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2948 2003-09-15 Angus Leeming <leeming@lyx.org>
2950 * LColor.h: add an EnumLColor wrapper for LColor::color.
2952 * lyxfont.[Ch] (color, setColor, realColor):
2953 * lyxtext.h, text.C (backgroundColor):
2954 pass EnumLColor args to/from the functions, rather than LColor::color
2958 * lyxtext.h: forward declare EnumLColor.
2960 * lyx_main.C: add #include "LColor.h".
2962 2003-09-15 Angus Leeming <leeming@lyx.org>
2964 * .cvsignore: add lyx-gtk.
2966 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2971 * ParagraphParameters.C
2975 * bufferview_funcs.C
2985 * vc-backend.C: remove usage of STRCONV
2987 2003-09-15 Angus Leeming <leeming@lyx.org>
2989 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2990 explicitly define the color passed to the painter.
2992 2003-09-15 Angus Leeming <leeming@lyx.org>
2994 * bufferparams.C (BufferParams): reorder member initializers to avoid
2997 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2999 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3000 * text.C (updateRowPositions): remove an unusual nop
3002 2003-09-12 André Pönitz <poenitz@gmx.net>
3004 * BufferView_pimpl.C:
3013 * Counters.[Ch]: finish the 'automatic counters' job
3015 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3017 * aspell.C: include <boost/assert.cpp> (compile fix)
3019 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3021 * boost.C (assertion_failed): use lyx::support::abort instead of
3024 2003-09-10 Angus Leeming <leeming@lyx.org>
3026 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3027 with their _fwd progeny.
3029 2003-09-09 Angus Leeming <leeming@lyx.org>
3031 134 files throughtout the source tree: replace 'using namespace abc;'
3032 directives with the appropriate 'using abc::xyz;' declarations.
3034 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3036 * boost.C (emergencyCleanup): moved here from LAssert.c
3037 (assertion_failed): new function, called by BOOST_ASSERT
3039 * several files: change Assert to BOOST_ASSERT
3041 2003-09-09 Angus Leeming <leeming@lyx.org>
3043 * buffer.[Ch]: Add an Impl class and move Buffer's member
3044 variables into it. As a result move several header files out of
3047 Add header files to lots of .C files all over the tree as a result.
3049 2003-09-09 Angus Leeming <leeming@lyx.org>
3051 * buffer.[Ch]: make Buffer's member variables private. Add
3054 Lots of changes all over the tree as a result.
3056 2003-09-08 Angus Leeming <leeming@lyx.org>
3058 * graph.C: #include <config.h>.
3060 2003-09-08 Angus Leeming <leeming@lyx.org>
3064 * BufferView_pimpl.C:
3093 * toc.C: remove redundant using directives.
3095 2003-09-07 Angus Leeming <leeming@lyx.org>
3097 * LaTeXFeatures.h: remove #include "support/types.h".
3098 * ToolbarBackend.h: remove #include <algorithm>.
3099 * changes.h: remove #include <ctime>.
3100 * debug.h: remove #include <iosfwd>.
3101 * graph.h: remove #include "support/std_string.h".
3102 * lyx_main.h: remove #include <csignal>.
3103 * lyxlex_pimpl.h: remove #include <fstream>.
3104 * sgml.h: remove #include <algorithm>, <utility>.
3105 * toc.h: remove #include "support/std_ostream.h".
3106 Add #include <iosfwd>.
3108 2003-09-07 Angus Leeming <leeming@lyx.org>
3110 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3112 * converter.h: forward declare LatexRunParams.
3113 * encoding.h: remove #include "lyxrc.h".
3114 * lyxtext.h: remove #include "LColor.h".
3115 * lyxtextclass.h: remove #include "support/types.h".
3116 * trans.h: remove #include "tex-accent.h".
3117 * trans_mgr.h: remove #include "tex-accent.h".
3118 * insets/inset.h: remove #include "support/types.h", <vector>.
3119 * insets/insetcollapsable.h: remove #include "LColor.h".
3120 * insets/insetinclude.h: remove #include "dimension.h".
3121 * insets/insetlatexaccent.h: remove #include "dimension.h".
3122 * insets/insetoptarg.h:: remove #include "insettext.h".
3123 * insets/insettext.h: remove #include "dimension.h",
3124 <boost/shared_ptr.hpp>
3126 * insets/renderers.h: add #include "dimension.h".
3127 * insets/updatableinset.h: add #include "support/types.h".
3129 * many .C files: Associated changes.
3131 2003-09-06 Angus Leeming <leeming@lyx.org>
3133 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3134 one, inside testInvariant.
3136 * PrinterParams.C: new file.
3137 * PrinterParams.[Ch]: move the function bodies out of line.
3139 2003-09-06 Angus Leeming <leeming@lyx.org>
3141 * ParagraphParameters.h: forward declare ParameterStruct rather than
3142 including its header file.
3143 (depth): moved out-of-line.
3145 2003-09-06 Angus Leeming <leeming@lyx.org>
3147 * BufferView_pimpl.h:
3150 * lyxfunc.h: forward declare LyXKeySym rather than
3151 #include "frontends/LyXKeySym.h".
3153 * BufferView_pimpl.C:
3156 * lyxfunc.C: associated changes.
3158 2003-09-06 Angus Leeming <leeming@lyx.org>
3160 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3161 As a result, can remove the #include "insets/inset.h" from BufferView.h
3163 2003-09-06 Angus Leeming <leeming@lyx.org>
3165 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3166 As a result, can remove the #include "insets/inset.h" from BufferView.h
3168 2003-09-06 Angus Leeming <leeming@lyx.org>
3174 * bufferview_funcs.C:
3175 * BufferView_pimpl.C:
3180 * ParagraphParameters.C:
3185 * frontends/controllers/ControlDocument.C:
3186 * insets/insetcaption.C: rearrange the #includes into some sort of
3189 * buffer.h: remove #includes ErrorList.h, undo.h
3191 2003-09-06 Angus Leeming <leeming@lyx.org>
3193 * support/types.h: add a 'depth_type' typedef, used to store the
3194 nesting depth of a paragraph.
3197 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3198 defining explicitly.
3201 * paragraph_funcs.h:
3202 * ParagraphParameters.h:
3203 * sgml.h: use lyx::depth_type rather than Paragraph or
3204 ParameterStruct's depth_type.
3207 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3210 * BufferView_pimpl.C:
3212 * ParagraphParameters.C:
3215 * bufferview_funcs.C:
3222 * frontends/LyXView.C:
3223 * frontends/controllers/ControlDocument.C:
3224 * frontends/controllers/ControlErrorList.C:
3225 * insets/insetbibitem.C:
3226 * insets/insetbranch.C:
3227 * insets/insetcaption.C:
3228 * insets/insetcollapsable.C:
3229 * insets/insetenv.C:
3230 * insets/insetert.C:
3231 * insets/insetfloat.C:
3232 * insets/insetfoot.C:
3233 * insets/insetfootlike.C:
3234 * insets/insetnewline.C:
3235 * insets/insetquotes.C:
3236 * insets/insettabular.C:
3237 * insets/insettext.C:
3238 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3240 * frontends/controllers/ControlChanges.C: #include "changes.h".
3242 2003-09-06 Angus Leeming <leeming@lyx.org>
3244 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3245 than #including paragraph.h.
3248 * RowList.h: deleted. Superfluous.
3258 * insets/insettext.h: use ParagraphList_fwd.h rather than
3261 * paragraph.h: don't forward declare ParagraphList.
3264 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3265 rather than ParagraphList.h. paragraph.h is still needed for the
3266 Paragraph::depth_type parameters.
3268 * textcursor.h: enable it to compile stand-alone in light of the
3271 * bufferview_funcs.C:
3283 * frontends/controllers/ControlParagraph.C:
3284 * frontends/controllers/ControlTabular.C:
3285 * insets/insetmarginal.C:
3286 * insets/insetminipage.C:
3287 * insets/insetnote.C:
3288 * insets/insetoptarg.C: add header files needed to compile again.
3290 2003-09-06 Angus Leeming <leeming@lyx.org>
3292 * RowList_fwd.h: new file, forward-declaring Row rather than
3293 #including lyxrow.h.
3298 * insets/insettext.h: use it instead of RowList.h
3300 * bufferview_funcs.C:
3307 * text3.C: #include "RowList.h".
3309 2003-09-05 Angus Leeming <leeming@lyx.org>
3311 * factory.C (createInset):
3312 * vspace.C (c-tor): replace sscanf call with an istringstream.
3313 * ispell.C: re-add missing HP/UX headers.
3314 * lyxserver.C: re-add missing os2 headers.
3316 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3325 * text3.C: re-add missing system headers, needed for 2.95.2.
3327 2003-09-05 Angus Leeming <leeming@lyx.org>
3329 Changes most place everywhere due to the removal of using directives
3330 from support/std_sstream.h.
3332 2003-09-05 Angus Leeming <leeming@lyx.org>
3334 Replace LString.h with support/std_string.h,
3335 Lsstream.h with support/std_sstream.h,
3336 support/LIstream.h with support/std_istream.h,
3337 support/LOstream.h with support/std_ostream.h.
3339 Changes resulting throughout the tree.
3341 2003-09-05 Angus Leeming <leeming@lyx.org>
3343 * sgml.h: ensure that the header file can be compiled stand-alone.
3344 * *.C: strip out redundant #includes. (320 in total.)
3346 2003-09-04 Angus Leeming <leeming@lyx.org>
3348 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3349 here (from getPackages).
3351 * debug.[Ch]: add a new EXTERNAL tag.
3353 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3355 * text2.C (cursorEnd): simplify
3357 (getColumnNearX): adjust
3359 * text.C (computeBidiTables): adjust
3362 * rowpainter.C (paintChars): adjust
3363 (paintSelection): adjust
3364 (paintChangeBar): adjust
3367 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3369 (numberOfSeparators): adjust
3371 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3377 * text3.C: Restricts the mouse click functionality
3378 of insets like bibtex, include, toc and floatlist to the visible
3379 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3380 up the dialogs. Cursor has to be in front of the inset (i.e.
3381 start of row) for this to function.
3383 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3385 * bufferview_funcs.C (currentState): output row information
3387 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3389 * bufferview_funcs.C (currentState): output paragraph position
3391 2003-09-04 Angus Leeming <leeming@lyx.org>
3393 * FloatList.h: move out #include "Floating.h".
3394 * LaTeX.h: move out #include "DepTable.h".
3395 * LyXAction.h: move out #include "funcrequest.h".
3396 * buffer.h: move out #include "author.h", "iterators.h".
3397 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3398 * lyx_main.h: move out #include "errorlist.h".
3399 * lyxfunc.h: move out #include "FuncStatus.h".
3400 * lyxtext: move out #include "lyxcursor.h".
3401 * paragraph_pimpl.h: move out #include "counters.h".
3403 2003-09-03 Angus Leeming <leeming@lyx.org>
3405 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3406 preamble_snippets list, enabling us to add snippets to the preamble
3407 only if the snippet was not there already.
3409 2003-09-04 Angus Leeming <leeming@lyx.org>
3411 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3413 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3415 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3418 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3420 * BranchList.C: point fix, earlier forgotten
3422 2003-09-02 Angus Leeming <leeming@lyx.org>
3424 * box.C (contains): renamed from 'contained' after a fantastic
3427 2003-09-02 John Levon <levon@movementarian.org>
3433 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3435 2003-09-02 John Levon <levon@movementarian.org>
3437 * text2.C: simplification of cursorEnd(), including partial
3440 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3442 * buffer.C (readFile): add a space
3444 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3446 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3448 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3450 * buffer.C (readFile): new function, take a filename and a
3451 ParagraphList::iterator
3453 (readFile): adjust, make it private. don't use setStream, make
3454 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3455 always contain the filename.
3457 * BufferView.C (insertLyXFile): simplify and make it work for
3460 2003-08-30 John Levon <levon@movementarian.org>
3462 * Makefile.am: fix dist (from Kayvan)
3464 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3466 * most files: change to use const Buffer refs
3468 2003-08-27 André Pönitz <poenitz@gmx.net>
3470 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3471 on top of ownerPar().
3473 2003-08-27 John Levon <levon@movementarian.org>
3475 * funcrequest.C: properly initialise POD members
3477 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3479 * lyxtext.h (top_y): move top_y from here
3484 * BufferView_pimpl.[Ch]: to here
3485 * frontends/screen.C:
3486 * insets/insettabular.C:
3487 * insets/insettext.C: adjust
3488 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3490 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3493 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3495 2003-08-26 André Pönitz <poenitz@gmx.net>
3497 * paragraph_func.[Ch] (outerPar): new function
3500 * paragraph_funcs.C:
3501 * paragraph_funcs.h:
3502 * paragraph_pimpl.C:
3503 * text2.C: remove Inset::par_owner
3505 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3510 * text2.C: eliminates the needFullRow/display() stuff
3511 altogether, putting the logic in metrics/draw in the insets.
3513 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3515 * text2.C (redoParagraphInternal, redoParagraphs):
3516 * text.C (redoParagraph): add a call to updateRowPositions at the
3517 end of each 'metrics-like' call. Remove all others.
3518 (getRow): remove the 'y-computing' version.
3519 (getRowNearY): do not compute nor return the real y. Solve the
3520 'y < 0' problem and simplify.
3522 2003-08-22 Angus Leeming <leeming@lyx.org>
3524 * *.[Ch]: clean-up of licence and author blurbs.
3525 Also move config.h out of a few .h files and into a few .C files.
3527 2003-08-22 André Pönitz <poenitz@gmx.net>
3529 * lyxrow.[Ch]: add x_ and *fill_ members
3534 * text2.C: adjust/remove prepareToPrint() calls
3536 2003-08-22 André Pönitz <poenitz@gmx.net>
3538 * lyxrow.[Ch]: add end_ member
3540 * lyxrow_funcs.C: use LyXRow::end_
3542 * lyxtext.h (singleWidth): add LyXFont parameter
3545 * text2.C: adjust LyXText::singleWidth() calls
3547 * text.C (redoParagraph): simplify row breaking logic
3550 2003-08-19 André Pönitz <poenitz@gmx.net>
3552 * funcrequest.C: initialize button_ member
3555 * rowpainter.[Ch]: interface consolidation
3557 2003-08-18 André Pönitz <poenitz@gmx.net>
3560 * BufferView_pimpl.C:
3562 * paragraph_funcs.C:
3564 * text3.C: remove LyXScreen::draw() and fitCursor calls
3566 * BranchList.h: remove spurious semicolons
3568 * MenuBackend.C: fix branchlist related crash
3570 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3578 * bufferparams.[Ch]:
3582 * text3.C: implements the 'branch inset'
3583 idea. This allows the output of various versions of a document
3584 from a single source version, selectively outputing or suppressing
3585 output of parts of the text.
3586 This implementation contains a 'branch list editor' in a separate
3587 tab of the document settings dialog. Branches are user definable
3588 and have a "display colour" to distinguish them on-screen.
3590 ColorHandler was somewhat cleaned up.
3591 (1) make possible a dynamically growing LColor list by allowing
3592 the graphic context cache to grow along (vector);
3593 (2) eliminate an IMHO unnecessary step in colour allocation.
3595 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3597 * BufferView_pimpl.C: compile fix
3599 2003-08-15 André Pönitz <poenitz@gmx.net>
3601 * rowpainter.C: remove extra metrics calls
3603 * lyxtext.h: merge the two constructors into a single one,
3604 pass reference to owner's par list
3606 * BufferView_pimpl.C:
3610 2003-08-15 André Pönitz <poenitz@gmx.net>
3612 * lyxrow_funcs.[Ch]:
3615 * paragraph_funcs.C:
3620 * text_funcs.C: split LyXText::rowlist_ into individual
3621 Paragraph::rows_ chunks
3624 * BufferView_pimpl.[Ch]:
3627 * text3.C: remove toggleSelection()
3629 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3631 * bufferlist.C: beautify two alerts (shorter text of buttons)
3632 * buffer.C: Remove redundant ' ' from message
3634 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3635 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3636 rename VALIGN_CENTER to VALIGN_MIDDLE
3638 2003-08-11 André Pönitz <poenitz@gmx.net>
3640 * lyxtext.h (getPar):
3641 * text.C: new function
3643 2003-08-11 André Pönitz <poenitz@gmx.net>
3646 * tracer.[Ch]: remove unneeded files
3648 * InsetList.[Ch]: remove resizeInsetsLyXText()
3653 * text3.C: merge insertParagraphs() and appendParagraph()
3654 remove breakAgain(), update()
3656 * BufferView_pimpl.[Ch]:
3657 * bufferview_funcs.[Ch]:
3661 * tabular.C: adjust after text & InsetList changes.
3663 2003-08-08 André Pönitz <poenitz@gmx.net>
3665 * text.C (insertChar, backspace): replace rowlist fiddling
3666 with rebreak of full par
3669 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3670 checkParagraph, updateInset): removed
3672 2003-08-07 André Pönitz <poenitz@gmx.net>
3675 * text3.C: merge some LFUN handlers, remove dead code
3677 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3679 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3681 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3683 * text2.C (DEPM): fix part of bug 1255 and 1256
3685 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3687 * BufferView_pimpl.C (workAreaDispatch): change to use
3688 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3689 that are no mouse related.
3691 2003-08-05 André Pönitz <poenitz@gmx.net>
3694 * BufferView_pimpl.[Ch]:
3695 * bufferview_funcs.C:
3697 * text3.C: rip out "deep update"
3699 * textcursor.[Ch] (last_sel_cursor): remove unused member
3701 2003-08-04 André Pönitz <poenitz@gmx.net>
3704 * BufferView_pimpl.[Ch]:
3705 * ParagraphParameters.C:
3706 * bufferview_funcs.C:
3712 * text3.C: replace "complicated" BufferView::update(...) calls with
3715 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3717 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3719 * Makefile.am (lyx_SOURCES): add paper.h
3721 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3723 * Makefile.am: move things around so that both lyx-qt and
3724 lyx-xforms can be built (according to --with-frontend). Then lyx
3725 is a symbolic link to lyx-[firstfrontend]
3727 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3729 * Always use std::endl with lyxerr
3731 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3733 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3735 2003-08-01 André Pönitz <poenitz@gmx.net>
3738 * BufferView_pimpl.[Ch]:
3740 * text3.C: merge BufferView::repaint() and BufferView::update()
3742 2003-08-01 José Matos <jamatos@lyx.org>
3744 * buffer.[Ch]: file_format is no longer a buffer data element.
3746 2003-08-01 André Pönitz <poenitz@gmx.net>
3751 * text2.C: make redoParagraph more independent of current cursor
3753 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3755 * text2.C: remove unneeded members
3757 2003-07-30 André Pönitz <poenitz@gmx.net>
3759 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3761 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3762 create a single function...
3764 * paragraph_funcs.C (moveItem): ... here.
3767 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3769 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3771 * LColor.[Ch]: Add comment and greyedout logical colors.
3773 2003-07-30 André Pönitz <poenitz@gmx.net>
3775 * tabular.C: don't use Assert too heavily. This crashes where it
3778 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3780 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3781 is disabled (bug 1232)
3783 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3785 * factory.C: limited 'arg' scope
3787 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3789 * factory.C: fixed Note submenu issues
3791 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3793 * factory.C: submenu for Note/Comment/Greyedout
3795 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3798 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3800 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3803 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3804 greyedout. Patch provided by Jürgen Spitzmüller.
3806 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3808 * kbmap.C (read): fix error message when reading bind files
3810 2003-07-29 Angus Leeming <leeming@lyx.org>
3812 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3813 certainly does not do what it purports to do. I am doing it, and
3814 us, a favour by killing it.
3816 2003-07-28 José Matos <jamatos@lyx.org>
3818 * buffer.C (readBody, do_writeFile):
3819 * paragraph.C(readParagraph): \end_document replaces \the_end.
3821 2003-07-29 André Pönitz <poenitz@gmx.net>
3824 * BufferView_pimpl.[Ch]:
3828 * textcursor.[Ch]: remove toggleToggle & Co
3830 2003-07-28 José Matos <jamatos@fep.up.pt>
3832 * buffer.C (readParagraph):
3833 * params_func (readParToken, readParagraph):
3834 * paragraph.C (write): \layout -> \begin_layout.
3836 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3838 * lyxlex_pimpl.C (setFile): clean up slightly.
3840 * bufferparams.h: add compressed var
3842 * buffer_funcs.C (readFile): adjust for LyXLex change
3843 (newFile): ditto + simplify
3845 * buffer.C (writeFile): handle writing of compressed files
3847 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3848 Check if the file is compressed and set a bufferparm if so.
3850 * Makefile.am (lyx_LDADD): remove explicit -lz
3852 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3854 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3855 makeDocBookFile): put the real LyX version in the first line of
3859 * version.C.in: remove lyx_docversion
3861 * tabular.C (write_attribute): add a template-based version to
3862 write enums properly
3864 2003-07-28 André Pönitz <poenitz@gmx.net>
3869 * text3.C: use doubles again for x-coordinates. They are needed.
3871 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3873 * messages.C (getLocaleDir): use lyx_localedir()
3875 * lyxlex_pimpl.C (setFile): compress stuff
3877 * buffer.C (writeFile): add some compression stuff
3878 (do_writeFile): new func, dont call expliti close... will this
3881 * Makefile.am (lyx_LDADD): add -lz
3883 2003-07-28 José Matos <jamatos@fep.up.pt>
3885 * buffer.C: increment file format.
3886 * paragraph_funcs (readParagraph, readParToken):
3887 * paragraph.C (readParagraph): add \end_layout.
3889 2003-07-27 Angus Leeming <leeming@lyx.org>
3891 * Makefile.am: remove special casing for configure-time setting of
3892 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3894 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3895 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3897 2003-07-26 André Pönitz <poenitz@gmx.net>
3899 * paragraph_func.[Ch]:
3900 * paragraph.C (realizeFont): inline it whereever it is used
3905 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3908 2003-07-26 André Pönitz <poenitz@gmx.net>
3912 * text2.C: get rid of LyXText::need_break_row
3914 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3916 * toc.[Ch]: put namespace toc inside namespace lyx
3918 * MenuBackend.C (expandToc2): adjust for lyx::toc
3921 * lyxfunc.C (dispatch): adjust for lyx::find
3923 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3924 lyx::find instead. Reorganize a bit.
3925 (LyXReplace): rename to replace
3926 (LyXFind): rename to find
3928 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3931 2003-07-26 André Pönitz <poenitz@gmx.net>
3933 * text.C (setHeightOfRow): restrict scope of temporary variable
3935 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3936 code (never has been used?)
3938 2003-07-27 Asger Alstrup <alstrup@local>
3940 * text.C (fill): Optimise algorithm to exploit that we can reuse
3941 the LyXFont for many characters.
3942 (setHeightOfRow): Same thing.
3943 (rowBreakPoint): Same thing.
3945 2003-07-26 Asger Alstrup <alstrup@local>
3947 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3949 * text.C (singleWidth): Spurious font copying in hot-spot
3950 singleWidth avoided. Reorder tests for arabic for efficiency.
3952 * text.C (fill): handle empty paragraphs better.
3954 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3957 * encoding.h: add includes
3959 * lyxrc.C: remove reading of bind files
3961 * lyx_main.C (init): setup bindings and menus only if we have a
3964 * kbmap.C (read): new method. Do the actual reading of bind
3967 * converter.C (dvipdfm_options):
3970 (output): adapt PAPER_* enums.
3972 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3974 * bufferparams.h: remove paper-related enums from there
3976 * paper.h: New file. A trivial header file to hold paper-related
3977 enums. It should later expand to contain many paper-related
3980 * lyxrc.C: declare extern displayTranslator
3982 2003-07-27 José Matos <jamatos@fep.up.pt>
3984 * tabular.[Ch] (linuxdoc): add support for tables and figures
3987 2003-07-27 José Matos <jamatos@fep.up.pt>
3989 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3990 consistency in both functions.
3991 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3993 2003-07-26 Asger Alstrup <alstrup@local>
3995 * rowpainter.C (paintRows): Change algorithm to work directly on
3996 the insets rather than asking every character in the document
3997 whether its an inset.
3999 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4001 * buffer.C (openFileWrite): factorize some code
4003 2003-07-26 Angus Leeming <leeming@lyx.org>
4006 * lyx_main.[Ch]: replace occurances of system_tempdir with
4009 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4011 * rename Inset to InsetOld
4013 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4015 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4016 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4017 which I think is a bit clearer. EDIT is gone, since it was
4018 premature optimisation, and broken for mathed anyway.
4019 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4020 with cursor positioning in insets as well (math insets still do not
4021 work, but that's a different story anyway.) It mysteriously
4022 crashes sometimes with undo in the first paragraph, but I'm fairly
4023 confident that this is a compiler bug.
4025 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4027 * paragraph.C (Paragraph): adjust for new clone return type
4029 (copyIntoMinibuffer): ditto
4031 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4033 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4034 by not having a special case, and always doing a full rebreak of
4035 the document after undo.
4037 2003-07-23 Angus Leeming <leeming@lyx.org>
4039 * factory.C (createInset): InsetExternal::setParams now takes a
4042 2003-07-23 Angus Leeming <leeming@lyx.org>
4044 * factory.C (createInset): changed interface to the external and
4045 graphics mailers' string2params functions.
4047 2003-07-23 Angus Leeming <leeming@lyx.org>
4049 * factory.C (createInset): pass a
4050 Buffer const * parameter to InsetExternalMailer's string2params.
4052 2003-07-22 John Levon <levon@movementarian.org>
4054 * Thesaurus.h: include the right aiksaurus header
4056 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4058 * MenuBackend.C (expand): check menu shortcuts unconditionally
4060 2003-07-21 Angus Leeming <leeming@lyx.org>
4062 * factory.C (createInset): pass a
4063 buffer_path parameter to InsetGraphicsMailer's string2params.
4065 2003-07-21 Angus Leeming <leeming@lyx.org>
4067 * BufferView_pimpl.C (buffer):
4070 * lyxfunc.C (dispatch):
4071 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4072 rather than the grfx shortcut.
4074 2003-07-21 André Pönitz <poenitz@gmx.net>
4076 * rowpainter.C: remove unused variables
4079 * tabular_funcs.h: move to tabular.C
4080 * Makefile.am: adjust
4082 * tabular.[Ch]: basic optical cleaning
4084 * author.h: pass references, not values
4086 2003-07-18 André Pönitz <poenitz@gmx.net>
4094 * text3.C: two-phase drawing for InsetText and InsetTabular
4095 some float -> int changes.
4097 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4099 * lyx_main.C: fix the fix
4101 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4103 * lyx_main.C: fix a crash in batch mode if no files specified
4106 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4108 * format.[Ch] (papersize): moved to BufferParams
4109 * converter.[Ch] (dvips_options): moved to BufferParams
4110 (dvipdfm_options): moved to anon namespace
4111 * bufferparams.[Ch]: added above functions.
4113 2003-07-17 André Pönitz <poenitz@gmx.net>
4117 * text2.C: don't call inset->update() anymore
4119 * metricsinfo.[Ch]: add convenience constructor
4121 2003-07-16 André Pönitz <poenitz@gmx.net>
4126 * text2.C: replace the LyXCursor::irow_ member with
4127 on-demand computation of the value
4129 2003-07-16 John Levon <levon@movementarian.org>
4131 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4133 2003-07-15 André Pönitz <poenitz@gmx.net>
4136 * text2.C: remove no more needed refresh_row
4138 2003-07-15 André Pönitz <poenitz@gmx.net>
4143 * text3.C: refresh_status tristate -> need_update bool
4145 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4147 * lyxtext.h (init): remove reinit argument (act as if always true)
4148 * text2.C: adjust to that
4150 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4152 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4153 * text3.C: use it to delete selections in some cases
4154 (bugs 441, 673, 702, 954).
4156 2003-07-14 André Pönitz <poenitz@gmx.net>
4158 * rowpainter.[Ch]: reduce interface
4160 2003-07-14 André Pönitz <poenitz@gmx.net>
4162 * BufferView_pimpl.C:
4163 * text2.C: adjust after removing unused BufferView * argument
4165 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4167 * text2.C (init): fix a crash fired on resize
4169 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4171 * buffer.[Ch]: added new closing signal
4172 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4173 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4174 BufferView::Pimpl via the closing the signal
4176 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4178 * buffer.[Ch]: take out all bv-related from buffer
4180 * BufferView_pimpl.[Ch]: connect to new signals
4181 * CutAndPaste.C: removed useless asserts
4182 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4185 * lyxfunc.C: moved view-related funciontality from vc here
4186 * paragraph.C: removed outdated comments
4189 2003-07-10 André Pönitz <poenitz@gmx.net>
4191 * BufferView_pimpl.C:
4195 * text2.C: remove InsetText::InnerCache, clean up consequences
4197 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4199 * ispell.C: fix two typos in error messages
4201 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4203 * Extend Note inset to other forms of annotation like Comment
4204 and Greyedout. Right button click gives dialog.
4206 Files modified or added (+):
4210 * ControlNote.[Ch] +
4212 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4213 frontends/controllers
4217 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4219 * aspell.C: add missing namespace lyx::support
4221 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4223 * BufferView.[Ch] (newFile): Add
4224 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4225 * LaTeX.[Ch] (message): added this signal and use it
4226 * buffer.[Ch] (busy, message): added these signals and use them
4227 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4231 * importer.C: use buffer signals instead of direct bv calling
4232 * lyx_cb.[Ch] (ShowMessage): removed
4235 * paragraph_funcs.C:
4236 * text2.C: use buffer signals
4238 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4240 * introduce namespace lyx::graphics
4242 2003-07-02 André Pönitz <poenitz@gmx.net>
4244 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4246 2003-07-01 André Pönitz <poenitz@gmx.net>
4253 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4254 text*.C to text_func.C
4256 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4258 * introduce namespace lyx::support
4260 2003-06-30 André Pönitz <poenitz@gmx.net>
4265 * text.C: re-enable --with-included-string
4267 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4269 * textcursor.C: add <config.h>
4271 * text.C (getWord): remove const from word_location arg
4273 * lyxvc.C (getLogFile): fix const type order
4275 * lyxtext.h: remove const from word_location arg, add arg name
4277 * lyxlayout.h: currect type on labeltype.
4279 * importer.C: correct \file
4281 * converter.C (intToFormat): use std:: on ret val, ws changes
4283 * bufferlist.h: correct \file
4285 * buffer.C (makeLinuxDocFile): fix const type order
4286 (makeDocBookFile): ditto
4287 (fillWithBibKeys): use std:: on stdlib args.
4289 * CutAndPaste.C: fix authors.
4290 (availableSelections): use std:: on return vector
4292 2003-06-27 André Pönitz <poenitz@gmx.net>
4294 * BufferView_pimpl.C:
4295 * bufferview_funcs.C:
4303 * text3.C: remove LyXCursor::row_ member
4306 * text.C: rename fullRebreak() to partialRebreak() and implement
4307 a fullRebreak() that really bereks fully
4309 * textcursor.h: new struct for cursor-related data
4311 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4313 * lyx_main.C (LyX): get full path of document loaded on the
4316 2003-06-26 André Pönitz <poenitz@gmx.net>
4318 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4319 remove unused/broken operator>,<,>=.
4321 * text.C: remove only use of broken operator<= in an Assert().
4323 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4325 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4326 moved errorlist_.clear to showErrorList
4328 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4330 * converter.C (scanLog, runLaTeX):
4331 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4332 move the bv->showErrorList call to the callers
4333 * lyxfunc.C: i.e. here...
4335 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4336 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4337 namespace, the second to...
4338 * buffer_funcs (BufferFormat, parseErrors): added
4339 * errorlist.C (ErrorList(TeXErrors const &)): removed
4341 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4343 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4345 2003-06-24 "Garst R. Reese" <reese@isn.net>
4349 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4351 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4353 * version.C.in: change docversion to 1.4
4355 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4357 * buffer.C: fix a bug just introduced
4359 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4361 * buffer.[Ch]: added the parseError signal and use it, removed
4363 * BufferView.[Ch] (addError): moved to ...
4364 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4365 to the Buffer::parseError signal to catch (guess what) parse errors
4366 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4368 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4370 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4371 ability to create a buffer and to return an existing one from
4372 the list. Moved these functions to...
4373 * buffer_funcs.[Ch]: added
4374 * BufferView.[Ch] (loadLyXFile): added
4375 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4376 job removed from bufferlist::loadLyXFile.
4377 * buffer.C (setReadOnly): make it work without view
4378 (i.e added an if (users))
4380 2003-06-19 Angus Leeming <leeming@lyx.org>
4383 * LyXAction.C (init):
4384 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4385 with LFUN_DIALOG_SHOW <name> <data>.
4387 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4389 * CutAndPaste.C (availableSelections): small compilation fix for
4390 ancient (gcc 2.9x) compilers
4392 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4394 * text3.C (cursorNext): add tmp var
4396 * text2.C (updateCounters): for function calling out of for clause
4397 (replaceSelectionWithString): ditto
4398 (insertStringAsParagraphs): ditto
4399 (getColumnNearX): add tmp var
4400 (setCursorFromCoordinates): add tmp var
4401 (cursorDownParagraph): add tmp var
4402 (deleteEmptyParagraphMechanism): add tmp var
4404 * text.C (insertChar): add tmp var
4406 * rowpainter.C (paintDepthBar): add tmp var
4408 * CutAndPaste.C (availableSelections): potentially check all
4409 paragraphs in a cut to fill the shown strings.
4411 2003-06-18 André Pönitz <poenitz@gmx.net>
4413 * kbmap.[Ch]: use vector<> instead of list<>
4415 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4417 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4418 pasteSelection with index
4420 * text2.C (pasteSelection): modify, call pasteSelection with index
4422 * paragraph.C (asString): reimplement version with no interval to
4423 call the one with interval.
4425 * lyxtext.h: add index arg to pasteSelection
4427 * MenuBackend.C (MenuItem): handle PasteRecent
4428 (Menu::read::Menutags): add md_pasterecent
4430 (expandPasteRecent): new function
4433 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4435 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4437 (availableSelections): new function
4439 2003-06-17 Angus Leeming <leeming@lyx.org>
4441 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4443 2003-06-17 Angus Leeming <leeming@lyx.org>
4446 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4448 * lyxfunc.C (dispatch): invoke it.
4450 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4452 * iterators.C (operator++, ParPosition): reintroduce some
4453 const_cast for the benefit of older compilers.
4455 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4457 * text3.C (dispatch): do not modify clipboard when doing
4458 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4459 LFUN_DELETE_SKIP on a selection selection
4461 2003-06-16 André Pönitz <poenitz@gmx.net>
4467 * tabular.[Ch]: IU of clone() and getLabelList();
4469 2003-06-13 André Pönitz <poenitz@gmx.net>
4471 * tabular.h: compactification
4473 2003-06-12 André Pönitz <poenitz@gmx.net>
4477 * tabular_funcs.h: some renaming plus whitespace
4479 2003-06-12 André Pönitz <poenitz@gmx.net>
4482 * BufferView_pimpl.C:
4488 * toc.C: Return a Paragraph & for ParIterator::operator*()
4490 2003-06-11 John Levon <levon@movementarian.org>
4494 * ToolbarBackend.C: add "Toolbars" section and
4497 2003-06-10 Angus Leeming <leeming@lyx.org>
4500 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4502 * lyxfunc.C (dispatch): invoke it.
4504 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4506 * main.C: protect <ios> with HAVE_IOS
4507 (main): protect sync_with_stdio with HAVE_IOS
4509 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4511 * text2.C (cutSelection): adjust
4512 (pasteSelection): adjust
4514 * messages.C: handle get of empty string
4516 * main.C (main): use sync_with_stdio(false)
4518 * lyxfunc.C (dispatch): adjust
4520 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4521 (WriteAs): remove unneeded BufferView arg.
4523 * bufferparams.h: use correct types on papersize, papersize2 and
4526 * bufferparams.C (readToken): adjust for type
4527 (writeLaTeX): add missing cases to switch.
4529 * bufferlist.C (quitWriteBuffer): adjust
4532 * buffer.C (asciiParagraph): remove some commented code.
4534 * CutAndPaste.C: remove current_view extern variable.
4535 (cutSelection): add BufferParams arg.
4536 (eraseSelection): add BufferParams arg.
4537 (pasteSelection): add Buffer const & arg
4539 2003-06-07 John Levon <levon@movementarian.org>
4542 * paragraph_funcs.C:
4543 * paragraph_pimpl.C:
4547 * paragraph.C: allow InsetERT to freely space lines,
4548 and some consolidation of code
4550 2003-06-06 José Matos <jamatos@fep.up.pt>
4552 * buffer.C (makeDocBookFile): fix bug #821
4554 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4556 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4558 2003-06-04 Angus Leeming <leeming@lyx.org>
4560 * buffer.C: bump format to 224.
4562 2003-06-05 André Pönitz <poenitz@gmx.net>
4564 * text2.C (redoParagraphs): remove two const_cast<>
4566 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4568 * ParagraphList.h: remove last remnants of NO_STD_LIST
4570 2003-06-03 Angus Leeming <leeming@lyx.org>
4572 * factory.C (createInset): small change to the way InsetExternal's params
4575 2003-06-04 André Pönitz <poenitz@gmx.net>
4577 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4579 * paragraph_pimpl.h:
4580 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4582 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4584 * undo_funcs.C: make some simple cases of undo work again
4586 2003-06-03 John Levon <levon@movementarian.org>
4588 * ispell.C: HPUX doesn't have sys/select.h
4591 2003-06-03 John Levon <levon@movementarian.org>
4593 * CutAndPaste.C: update tabular and include inset
4598 * paragraph.C: remove owningBuffer(), don't pass Buffer
4601 * factory.C: insetGraphicsParams changed
4603 2003-06-02 John Levon <levon@movementarian.org>
4609 * text3.C: remove insetparent
4611 2003-06-02 John Levon <levon@movementarian.org>
4614 * buffer.C: fix inset_iterator.end(), move out of line
4617 2003-06-01 John Levon <levon@movementarian.org>
4619 * text3.C: use a proper cut/paste when doing inset
4620 insert (from Jürgen Spitzmüller)
4622 2003-06-01 John Levon <levon@movementarian.org>
4624 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4626 2003-05-30 André Pönitz <poenitz@gmx.net>
4628 * rowpainter.C: unify second drawing phase
4630 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4632 * trans_mgr.C: remove one case of current_view
4634 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4636 * paragraph_funcs.h: remove paragraph.h include
4638 * paragraph.h: delete NO_STD_LIST stuff
4640 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4642 * buffer.h: remove paragraph.h include
4644 * ParagraphList.C: delete file
4646 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4648 * toc.C (getTocList): adjust
4650 * paragraph_pimpl.C (validate): adjust
4652 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4654 * paragraph.C (Paragraph): adjust
4655 (getPositionOfInset): use const_iterator, adjust
4656 (bibitem): use const_iterator, adjust
4657 (setInsetOwner): adjust
4659 * iterators.C (operator++): adjust
4661 * InsetList.[Ch]: Replace selfmade iterator with standard
4662 vector::iterator also introduce const_iterator. Remove getPos,
4663 getInset and setInset from InsetTable. Adjust accordingly.
4665 * BufferView.C (lockInset): adjust
4666 (ChangeInsets): adjust
4668 * tabular.[Ch]: delete commented same_id functions
4670 2003-05-28 John Levon <levon@movementarian.org>
4672 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4674 2003-05-28 André Pönitz <poenitz@gmx.net>
4676 * metricsinfo.[Ch]: remove 'fullredraw' member
4678 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4680 * lyxtextclass.C (operator): remove caching.
4682 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4686 * text2.C (cursorBottom): adjust
4687 (setCounter): use ParagraphList::find, adjust
4689 * text.C (workWidth): use ParagraphList::find, adjust
4691 * lyxcursor.C (LyXCursor): adjust
4693 * buffer.C (inset_iterator): adjust
4695 * ParagraphList.h: make iterator(value_type) private, make
4696 ParagraphList a friend of iterator.
4698 * ParagraphList.C (find): new function
4700 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4702 2003-05-27 André Pönitz <poenitz@gmx.net>
4704 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4706 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4708 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4710 2003-05-26 John Levon <levon@movementarian.org>
4712 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4714 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4716 * remove same_id from function signatures, adjust.
4718 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4720 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4722 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4724 * paragraph.C (Paragraph): get rid of same_ids parameter
4726 * ParagraphList.C (insert): adjust
4729 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4731 * paragraph_funcs.C (breakParagraph): adjust
4732 (breakParagraphConservative): adjust
4734 * buffer.C (readParagraph): adjust
4736 * ParagraphList.C (insert): take a reference instead of a pointer
4739 * paragraph.[Ch] (id): new function
4741 * bufferlist.C (newFile): adjust
4743 * ParagraphList.C (ParagraphList): adjust
4745 (push_back): take a reference instead of a pointer.
4747 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4749 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4752 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4753 set else use old code.
4755 * ParagraphList.C: remove all NO_NEXT code and only compile this
4756 code of NO_STD_LIST is set.
4758 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4760 * BufferView_pimpl.C:
4770 * graphics/GraphicsConverter.C:
4771 * graphics/PreviewLoader.C: header adjustment
4773 2003-05-23 Angus Leeming <leeming@lyx.org>
4775 * LaTeXFeatures.[Ch] (useBabel): new method.
4776 * bufferparams.C (writeLaTeX): use it.
4778 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4780 * ParagraphList.h (set): remove unused function.
4782 2003-05-23 André Pönitz <poenitz@gmx.net>
4785 * BufferView_pimpl.C:
4789 * undo_funcs.C: setUndo reworked
4791 * iterators.[Ch]: add access to topmost ParagraphList
4793 * lyxtext.[Ch] (workWidth): add a const
4795 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4797 * texrow.[Ch] (increasePos): remove function
4798 * exporter.C (export): removed unused var and outdated comment
4800 2003-05-23 Angus Leeming <leeming@lyx.org>
4802 * latexrunparams.h: rename fragile as moving_arg.
4803 * paragraph.C (simpleTeXOnePar): ditto.
4804 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4806 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4808 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4810 (textUndoOrRedo): comment out a currently unused var.
4812 * paragraph.h (NO_NEXT): enable NO_NEXT
4814 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4816 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4818 * exporter.C (Export): adjust for removeAutoInsets removal.
4820 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4822 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4824 * BufferView.[Ch] (removeAutoInsets): delete function
4826 2003-05-22 Angus Leeming <leeming@lyx.org>
4828 * latexrunparams.h: add a free_spacing variable.
4830 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4831 to pass moving_arg, as the data is stored in runparams.fragile.
4833 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4834 to Inset::latexOptional or to simpleTeXOnePar.
4836 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4837 free_spacing arg to Inset::latexOptional.
4839 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4842 2003-05-22 Angus Leeming <leeming@lyx.org>
4844 * latexrunparams.h: add fragile and use_babel variables.
4846 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4847 * buffer.C (makeLaTeXFile): store this returned value in
4848 runparams.use_babel, thus passing it to the inset::latex methods.
4850 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4851 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4853 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4854 longer has a fragile arg, as it is stored in runparams.fragile.
4856 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4857 moving_arg parameter as the data is stored in runparams.fragile.
4859 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4860 a fragile parameter as the data is stored in runparams.fragile.
4862 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4864 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4866 2003-05-22 Angus Leeming <leeming@lyx.org>
4868 * latexrunparams.h: add a 'bool nice' which defaults to false.
4870 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4871 now encapsulated within runparams.
4873 * bufferlist.C (updateIncludedTeXfiles):
4874 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4876 2003-05-22 Angus Leeming <leeming@lyx.org>
4878 * latexrunparams.h: new file containing struct LatexRunParams.
4879 * Makefile.am: add new file.
4881 * LaTeX.[Ch] (c-tor, run):
4882 * buffer.[Ch] (makeLaTeXFile):
4883 * bufferlist.[Ch] (updateIncludedTeXfiles):
4884 * converter.C (convert, scanLog):
4885 * converter.[Ch] (runLaTeX):
4886 * exporter.C (Export):
4887 * paragraph.[Ch] (simpleTeXOnePar):
4888 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4889 * paragraph_funcs.[Ch] (latexParagraphs):
4890 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4891 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4892 pass around a LatexRunParams parameter.
4894 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4896 * paragraph.[Ch]: remove unused constructor
4898 * ParagraphList.C (erase): new function, taking two iterators
4900 2003-05-22 André Pönitz <poenitz@gmx.net>
4902 * undo_funcs.C: remove duplicated code
4904 * iterator.[Ch]: operator=
4906 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4908 * tabular.C (SetMultiColumn): ws changes
4910 * rowpainter.C (paintFirst): get rid of a ->previous
4912 * lyx_cb.C (getPossibleLabel): parlist simplification
4914 * BufferView.C (ChangeInsets): simplify slightly.
4916 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4918 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4919 * lfuns.h: new LFUN_SPACE
4920 * lyxfunc.C: protected space has a new lfun
4921 * paragraph_funcs.C: read new space insets
4923 * factory.C: handle new space insets
4925 2003-05-22 André Pönitz <poenitz@gmx.net>
4928 * BufferView_pimpl.C:
4931 * undo_funcs.C: return a ParIterator from getParFromID.
4933 * iterators.[Ch]: add two const's
4935 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4937 * toc.C (getTocList): adjust
4939 * iterators.[Ch]: rework for parlist
4941 * buffer.C (par_iterator_begin): adjust
4942 (par_iterator_end): adjust
4944 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4946 * BufferView.C (removeAutoInsets): adjust
4947 (ChangeInsets): adjust
4949 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4951 * text.C (top_y): fix bug 1110
4953 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4955 * errorlist.[Ch]: added
4958 * BufferView_pimpl.C:
4959 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4962 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4964 * Makefile.am: ensure that lyx is relinked upon changes to the
4965 various "convenience" libs.
4967 2003-05-20 Angus Leeming <leeming@lyx.org>
4969 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4970 files are compiled in alphabetical order again.
4972 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4974 2003-05-19 Angus Leeming <leeming@lyx.org>
4976 * gettext.[Ch]: remove "char const * _(char const *)".
4978 2003-05-19 André Pönitz <poenitz@gmx.net>
4980 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4989 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4991 2003-05-19 André Pönitz <poenitz@gmx.net>
4995 * lyxtextclass.[Ch]:
4997 * paragraph_funcs.[Ch]:
4999 * text3.C: more insetenv work
5001 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5003 * ParagraphParameters.C (params2string): small bug fixed
5005 2003-05-16 André Pönitz <poenitz@gmx.net>
5008 * bufferview_funcs.C: patch from Kornel Benko to prevent
5009 crash when _(...) is called twice in a statement
5011 2003-05-16 André Pönitz <poenitz@gmx.net>
5018 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5020 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5022 * lyx_main.C (init): remove spurious static_cast
5024 2003-05-14 André Pönitz <poenitz@gmx.net>
5026 * BufferView.C: fix format string
5028 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5030 * BufferView.[Ch] (insertErrors): removed
5031 * BufferView.[Ch] (showErrorList): added
5032 * buffer.C (runChkTeX):
5033 * converter.C (scanLog): call showErrorList instead of inserterrors
5035 2003-05-13 André Pönitz <poenitz@gmx.net>
5037 * BufferView_pimpl.C:
5039 * bufferview_func.C:
5046 * tabular_funcs.h: tostr() from its own header
5048 * ParagraphParameters.C:
5053 * text3.C: STRCONV()
5055 2003-05-12 André Pönitz <poenitz@gmx.net>
5058 * BufferView_pimpl.C:
5062 * ParagraphParameters.C:
5066 * bufferview_funcs.C:
5079 * paragraph_funcs.C:
5083 * text3.C: boost::format -> bformat all over the place
5086 2003-05-09 André Pönitz <poenitz@gmx.net>
5088 * LColor.[Ch]: Pimpl the #include <map> away
5090 2003-05-09 John Levon <levon@movementarian.org>
5092 * bufferlist.C: never remove emergency saves
5094 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5096 * Makefile.am: better lib building
5098 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5100 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5102 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5103 (simpleTeXSpecialChars): adjust
5104 (simpleTeXSpecialChars): adjust
5105 * paragraph.C (simpleTeXOnePar): adjust
5106 * buffer.C (makeLaTeXFile): adjust
5108 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5110 * text2.C (changeDepth): parlist cleanup
5111 (getColumnNearX): ditto
5113 * rowpainter.C (getLabelFont): parlist cleanup
5115 * bufferlist.C (newFile): parlist cleanup
5117 * CutAndPaste.C (eraseSelection): parlist cleanup
5119 * BufferView_pimpl.C (trackChanges): parlist cleanup
5122 * BufferView.C (lockInset): parlist cleanup.
5123 (ChangeInsets): ditto
5125 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5127 * CutAndPaste.h: Update file header.
5129 * CutAndPaste.C: Update file header.
5130 Store the parts cut out of the Document in a limited_stack.
5131 (copySelection): adjust
5132 (pasteSelection): new function, takes the index in the limited stack.
5133 (nrOfParagraphs): adjust
5134 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5135 simplify error inset insertion.
5136 (checkPastePossible): adjust
5138 2003-05-06 John Levon <levon@movementarian.org>
5140 * text2.C: don't cast wrap inset to float
5142 2003-05-05 André Pönitz <poenitz@gmx.net>
5145 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5147 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5148 few naked Paragraph *.
5150 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5152 * bufferparams.C: Output warning if a document with missing
5153 TeX document class is loaded
5154 * exporter.C: Disable TeX exports if the document class is missing
5157 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5158 isTeXClassAvailable()
5160 2003-05-03 John Levon <levon@movementarian.org>
5163 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5164 explicit cursor show/hide
5166 * BufferView_pimpl.h:
5167 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5168 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5170 * lyxfunc.C: hide cursor before dispatching.
5175 * text3.C: remove explicit cursor hides
5177 2003-05-02 André Pönitz <poenitz@gmx.net>
5179 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5182 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5185 * text2.C: tiny whitespace
5187 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5189 * undo_funcs.C: almost only ws changes.
5191 * ParagraphList.C (splice): just return if pl is empty.
5193 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5195 * ParagraphList.C (splice): new function.
5197 * CutAndPaste.C (pasteSelection): use it
5199 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5201 * CutAndPaste.C (pasteSelection): remove the last next and
5202 previous from this file.
5204 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5206 * CutAndPaste.C (pasteSelection): more clean up, user proper
5207 ParagraphList functions for pasteing.
5209 * ParagraphList.C (insert): new function, three arg insert
5211 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5213 * ParagraphList.C (insert): new function, three arg insert
5215 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5218 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5220 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5222 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5224 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5226 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5228 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5229 (copySelection): clean up a bit.
5230 (pasteSelection): use make_pair
5232 * ParagraphList.C (ParagraphList): implement copy constructor
5233 (operator=): implement, base on copy constructor.
5236 * paragraph.C (erase): return a bool
5238 * paragraph_pimpl.C (erasePos): remove function, move contents...
5239 (erase): ... here. Return a bool.
5240 (erase): call erase instead of erasePos.
5242 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5244 * ParagraphList.h: define PitPosPair
5245 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5246 ParagraphList, fix a bug on pasting multiple pars
5247 * text2.C: change interface to C&P
5249 2003-04-30 André Pönitz <poenitz@gmx.net>
5251 * undo_func.C: revert part of yesterday's patch 2
5253 2003-04-30 John Levon <levon@movementarian.org>
5255 * LColor.C: s/tabular/table/
5257 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5259 * text3.C (dispatch): do not convert iterator -> pointer
5260 * undo_funcs.C (setCursorParUndo): ditto
5261 * text_funcs.C (transposeChars): ditto
5263 * text2.C (setLayout): ws changes only
5265 * text.C (breakParagraph): do not convert iterator -> pointer
5267 (acceptChange): ditto
5268 (rejectChange): ditto
5273 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5276 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5278 * text3.C (gotoInset): YABG (yet another bad getChar)
5280 2003-04-29 André Pönitz <poenitz@gmx.net>
5282 * paragraph.h: make operator= private unimplemented as long as
5285 * ParagraphList.C: whitespace
5288 * paragraph_pimpl.[Ch]:
5289 * paragraph_funcs.C:
5291 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5294 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5296 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5298 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5299 * paragraph.[Ch] (erase):
5300 * paragraph_pimpl.[Ch] (erase): change return type and value
5301 * text2.C (cutSelection): some rework
5303 2003-04-28 John Levon <levon@movementarian.org>
5305 * bufferlist.C: changes for unsaved changes dialog
5307 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5309 * bufferlist.C (newFile): set language (messages_) for new
5312 * buffer.C (readFile): ws changes only.
5314 2003-04-28 André Pönitz <poenitz@gmx.net>
5319 * BufferView_pimpl.C:
5320 * BufferView.C: getParFromID related ParagraphList::iterator changes
5322 2003-04-28 André Pönitz <poenitz@gmx.net>
5324 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5327 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5329 * messages.C: remove one more localedir class variable.
5331 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5333 * messages.C (getLocaleDir): singleton generation function
5335 (Messages): add a default constructor.
5337 * main.C (main): do not setup localedir here, do not call
5340 * gettext.C (_): use it.
5341 (gettext_init): delete funciton
5343 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5345 * gettext.C (getLyXMessages): new singleton generating function.
5347 * buffer.C (updateDocLang): adjust
5349 * Makefile.am (messages.o): add target
5350 (main.o): remove target
5352 2003-04-27 John Levon <levon@movementarian.org>
5357 * lyxvc.C: specify cancel button in Alert::prompt
5359 2003-04-26 John Levon <levon@movementarian.org>
5364 * LyXAction.C: add LFUN_INSET_SETTINGS
5366 * lyxfunc.C: don't enable tabular-feature when there's
5367 just any locking inset
5369 2003-04-26 John Levon <levon@movementarian.org>
5371 * bufferlist.C: re-add Cancel to buffer close question
5373 * lyxfunc.C: fix import UI a bit
5375 2003-04-25 John Levon <levon@movementarian.org>
5377 * gettext.C: remove the broken asserts for now
5379 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5381 * messages.C: make case where setlocale cannot comply work better.
5383 * buffer.C (updateDocLang): new function
5384 (changeLanguage): use it
5387 * text2.C (setCounter): use B_ a bit.
5389 * lyxlayout.C (Read): be sure to trim the label strings.
5391 * messages.C (Messages): fix typo in comment
5393 * buffer.C (readFile): set message_ after file is loaded.
5394 (makeDocBookFile): remove double return
5395 (changeLanguage): reset message_ upon language change.
5396 (B_): new func, use this to get translated buffer strings.
5398 * main.C: add myself and Jean Marc as authors.
5400 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5402 * messages.[hC]: pimplify Messages, and three different pimpls to be
5403 used in different circumstances.
5405 * gettext.[Ch]: change for use with new message code.
5407 2003-04-24 André Pönitz <poenitz@gmx.net>
5409 * factory.C: support for eqref
5411 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5413 * messages.[Ch]: add missing char
5415 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5417 * messages.[Ch]: New files
5419 2003-04-18 John Levon <levon@movementarian.org>
5423 * BufferView_pimpl.C:
5427 * text2.C: remove layout-copy/paste (bug 778)
5429 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5431 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5433 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5435 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5436 if they succeed. Act accordingly.
5438 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5440 * text2.C (setCharFont): adjust
5441 (setCounter): adjust
5442 (insertStringAsLines): adjust
5444 * text.C (leftMargin): adjust
5445 (setHeightOfRow): adjust
5447 * rowpainter.C (paintFirst): adjust
5450 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5452 (isFirstInSequence): ditto
5453 (getEndLabel): ditto
5456 * paragraph.C (getParLanguage): comment out some hard stuff.
5458 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5460 (simpleDocBookOnePar): ditto
5461 (makeDocBookFile): use ParagraphList::iterator
5463 * CutAndPaste.C (pasteSelection): adjust
5465 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5467 * text2.C (getFont): adjust
5468 (getLayoutFont): adjust
5469 (getLabelFont): adjust
5471 * paragraph_funcs.C (TeXOnePar): adjust
5473 * buffer.C (simpleLinuxDocOnePar): adjust
5474 (simpleDocBookOnePar): adjust
5476 * CutAndPaste.C (pasteSelection): adjust
5478 * BufferView.C (getEncoding): adjust
5480 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5482 2003-04-16 John Levon <levon@movementarian.org>
5484 * lyxfind.C: use parlist stuff for search/changes
5486 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5488 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5490 * text2.C (deleteEmptyParagraphMechanism): adjust
5492 * text2.[Ch] (ownerParagraph): delete func (both of them
5494 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5496 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5498 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5500 * ParagraphList.C: prepare for NO_NEXT
5502 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5504 * text2.C (getFont): adjust
5505 (getLayoutFont): adjust
5506 (getLabelFont): adjust
5508 * paragraph.C (getFont): adjust
5509 (getLabelFont): adjust
5510 (getLayoutFont): adjust
5512 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5514 2003-04-15 John Levon <levon@movementarian.org>
5518 * lyx_main.C: handle Include in .ui files
5520 2003-04-15 John Levon <levon@movementarian.org>
5522 * MenuBackend.C: make the doc files length shorter
5525 * ToolbarBackend.C: handle toolbar placement flags,
5528 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5530 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5533 * paragraph_funcs.C (TeXOnePar): adjust
5535 * paragraph.C (getLabelFont): add outerfont arg, adjust
5536 (getLayoutFont): ditto
5537 (simpleTeXOnePar): adjust
5539 * paragraph_pimpl.C (realizeFont): delete func
5541 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5543 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5544 row argument, constify cur argument.
5546 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5548 * text2.C (getFont): adjust
5549 (getLayoutFont): adjust
5550 (getLabelFont): adjust
5552 * paragraph_funcs.C (TeXOnePar): adjust
5553 (outerFont): new func...
5554 (realizeFont): ...moved out from here, changed this to facilitate
5557 * paragraph.C (getFont): take outerfont as arg, adjust
5558 (simpleTeXOnePar): add outerfont arg, adjust
5560 * buffer.C (simpleLinuxDocOnePar): adjust
5561 (simpleDocBookOnePar): adjust
5563 * CutAndPaste.C (pasteSelection): adjust
5565 * BufferView.C (getEncoding): adjust
5567 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5569 * text2.C (setCharFont): adjust
5570 (setCounter): adjust
5572 * text.C (leftMargin): adjust
5573 (setHeightOfRow): adjust
5575 * rowpainter.C (paintFirst): adjust
5578 * paragraph_pimpl.C (realizeFont): adjust
5580 * paragraph.C (isFirstInSequence): move from here...
5581 * paragraph_funcs.C (isFirstInSequence): ...to here
5583 * paragraph.C (outerHook): move from here...
5584 * paragraph_funcs.C (outerHook): ...to here
5586 * paragraph.C (depthHook): move from here...
5587 * paragraph_funcs.C (depthHook): ...to here
5589 * paragraph.C (getEndLabel): move from here...
5590 * paragraph_funcs.C (getEndLabel): ...to here
5592 * text2.C (realizeFont): move from here...
5593 * paragraph_funcs.C (realizeFont): ...to here
5595 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5597 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5599 2003-04-14 Angus Leeming <leeming@lyx.org>
5601 * LColor.[Ch]: scrap LColor mathcursor.
5603 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5605 * lyxlex.[Ch] (text): delete function
5606 * trans.C (Load): adjust
5607 * paragraph_funcs.C (readParToken): adjust
5609 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5611 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5612 vector<char> instead of a char[].
5614 * lyxlex_pimpl.C (getString): adjust
5616 (lex): use getString
5620 * lyxlex.C (text): use pimpl_->getString()
5624 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5626 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5627 (makeFontEntriesLayoutSpecific): temp var for par.size()
5628 (setLayout): temp var for ownerParagraphs().end()
5629 (fullRebreak): temp var for rows().end()
5630 (selectionAsString): temp var for boost::next(startpit), realize
5631 that the while really is a regular for loop.
5632 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5633 setCursor in one place.
5634 (setParagraph): temp vr for ownerParagraphs().end()
5635 (updateCounters): make the while loop a for loop
5636 (cutSelection): temp var for ownerParagraphs().end()
5637 (updateInset): make the do {} while() a regular for loop
5638 (getCursorX): use temp vars
5639 (setCurrentFont): use temp vars
5640 (getColumnNearX): use temp vars
5642 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5644 * text.C (transformChar): use temp var for getChar
5645 (computeBidiTables): use temp var for row->par()
5646 (fill): move temp vars for row->par() and pit->layout() earlier in
5648 (labelFill): use temp var for row->par()
5649 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5650 asc and desc, realize that pit never changes and that firstpit is
5651 just a duplicate and not needed. Exchange rit->par() with pit in a
5653 (breakAgain): use a temp var for boost::next(rit)
5654 (breakAgainOneRow): ditto
5655 (breakParagraph): use a temp var for rows().begin()
5656 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5657 (cursorRightOneWord): use temp var for cursor.par() and
5658 cursor.pos(), remove usage of tmpcursor.
5659 (cursorLeftOneWord): use temp var for cursor.par() and
5660 cursor.pos() only set cur at end of function.
5662 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5664 * text.C, text2.C: exchange all usage of Paragraph::next with
5665 boost::next(ParagraphList::iterator)
5667 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5669 * text2.C (cursorTop): simplify implementation
5670 (cursorBottom): ditto
5671 (setParagraph): use ParagraphList::iterator
5672 (setCurrentFont): adjust
5673 (getColumnNearX): adjust
5674 (cursorRight): adjust
5675 (cursorLeft): remove usage of Paragraph::previous
5676 (cursorUpParagraph): ditto
5677 (deleteEmptyParagraphMechanism): slight cleanup
5679 * text.C (isBoundary): take a Paragraph const & instead of a
5681 (addressBreakPoint): ditto
5682 (leftMargin): remove usage of Paragraph::previous.
5683 (setHeightOfRow): ditto
5684 (cursorLeftOneWord): ditto
5685 (selectNextWordToSpellcheck): ditto
5688 (breakParagraph): remove one usage of Paragraph::next
5689 (redoParagraph): ditto
5690 (acceptChange): ditto
5691 (insertChar): adjust
5692 (rowBreakPoint): adjust
5694 * bufferview_funcs.C (toggleAndShow): adjust
5696 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5698 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5699 methods to access it.
5701 * text.C: Added updateRowPositions to compute all row positions.
5702 Make top_y and getRowNearY() to use the cached y position
5704 2003-04-11 John Levon <levon@movementarian.org>
5706 * text.C (rowBreakPoint): reintroduce the labelEnd
5707 checks, code copied from the row fill stuff. Deep voodoo.
5709 * text.C (fill): add a comment and debugging for the
5712 2003-04-11 John Levon <levon@movementarian.org>
5714 * text.C: make sure fullrow insets get wrapped to the next line,
5715 even when they're in a manual label
5717 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5719 * text2.C (insertParagraph): make it take ParagraphList::iterator
5721 (setLayout): make it return ParagraphList::iterator
5722 (redoParagraphs): ditto
5724 (checkParagraph): ditto
5726 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5728 * text2.C: adjust several funcs.
5729 (realizeFont): take a ParagraphList::iterator as arg.
5730 (getLayoutFont): ditto
5731 (getLabelFont): ditto
5732 (setCharFont): ditto
5734 * text.C: adjust several funcs.
5736 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5738 * text.C (selectNextWordToSpellcheck): don't accidentally
5741 2003-04-10 John Levon <levon@movementarian.org>
5743 * ToolbarBackend.C (getIcon): special handling for
5746 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5748 * text2.C (cursorRight): a getChar assert fixed
5750 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5752 * text2.C (getFont): change to take a ParagraphList::iterator
5753 instead of Paragraph*
5754 Adjust several functions.
5756 * text.C (transformChar): change to take a ParagraphList::iterator
5757 instead of Paragraph*
5758 (singleWidth): ditto
5759 Adjust several functions.
5761 * rowpainter.C: adjust several functions
5762 * rowpainter.h:store a ParagraphList::iterator and not a
5766 2003-04-09 John Levon <levon@movementarian.org>
5771 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5772 and the "help" bits as well
5774 2003-04-09 John Levon <levon@movementarian.org>
5777 * ToolbarBackend.C: allow multiple toolbars
5779 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5781 * undo_funcs.C (setCursorParUndo): adjust
5783 * text_funcs.C (transposeChars): adjust
5785 * text3.C (gotoNextInset): adjust
5788 * text2.C (setLayout): adjust
5789 (changeDepth): adjust
5791 (redoParagraphs): adjust
5792 (selectionAsString): adjust
5793 (setParagraph): adjust
5794 (insertInset): adjust
5795 (cutSelection): adjust
5796 (copySelection): adjust
5797 (pasteSelection): adjust
5798 (insertStringAsLines): adjust
5799 (updateInset): adjust
5800 (setCursor): change to take a ParagraphList::iterator parameter
5801 (setCursorIntern): change to take a ParagraphList::iterator parameter
5802 (setCurrentFont): adjust
5803 (cursorLeft): adjust
5804 (cursorRight): adjust
5805 (deleteEmptyParagraphMechanism): adjust
5807 * text.C (breakParagraph): adjust
5808 (insertChar): adjust
5809 (acceptChange): adjust
5810 (rejectChange): adjust
5811 (selectNextWordToSpellcheck): adjust
5812 (changeCase): adjust
5816 * lyxfind.C (SearchForward): adjust
5817 (SearchBackward): adjust
5818 (nextChange): adjust
5820 * lyxcursor.C (par): adjust
5822 * lyxcursor.h: store a ParagraphList::iterator instead of a
5825 * lyx_cb.C (getPossibleLabel): adjust
5827 * bufferview_funcs.C (toggleAndShow): adjust
5829 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5832 * BufferView.C (removeAutoInsets): adjust
5833 (lockedInsetStoreUndo): adjust
5835 2003-04-09 John Levon <levon@movementarian.org>
5837 * ToolbarBackend.C: try icon without argument
5838 if with argument fails
5840 2003-04-08 John Levon <levon@movementarian.org>
5843 * ToolbarBackend.C: add getIcon(), handle tooltip,
5844 and change from "Icon" to "Item".
5846 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5848 * BufferView.C (lockInset): another bad getchar crunched
5850 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5852 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5855 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5857 * lyxfind.C (searchForward, searchBackwards): bug 782
5859 2003-04-07 John Levon <levon@movementarian.org>
5861 * paragraph.C: remove dead comment
5863 * text.C: remove troublesome depth-fiddling code
5864 in leftMargin() and rightMargin() (bug 1017)
5866 * text.C: fix breaking of rows in nested lists
5869 * text2.C (updateCounters): fix up depth values
5872 2003-04-07 John Levon <levon@movementarian.org>
5874 * BufferView_pimpl.C: clear message when doc finishes resizing,
5875 and after a mouse event
5877 * lyxfunc.C: clear message after exiting inset
5879 2003-04-07 John Levon <levon@movementarian.org>
5881 * bufferview_funcs.C: show math status not outside
5882 status in the statusbar
5884 2003-04-07 John Levon <levon@movementarian.org>
5886 * lyxfunc.C: note status changed after a depth change
5888 2003-04-04 Angus Leeming <leeming@lyx.org>
5890 * LaTeX.h: move AuxInfo operator==, != out of line.
5891 Remove LaTeX virtual destructor; nothing derives from it.
5892 Move operator()() out of public area and rename it startscript().
5893 Change protected for private.
5895 2003-04-04 Angus Leeming <leeming@lyx.org>
5898 * text2.C: remove unneeded #includes.
5900 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5902 * text2.C (dEPM): fix the heigth of the next row
5904 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5906 * text.C: squashed an invalid getChar requester + some ws changes
5908 2003-04-03 John Levon <levon@movementarian.org>
5910 * bufferview_funcs.h:
5911 * bufferview_funcs.C:
5914 * text2.C: make getStatus work for the env depth lfuns
5916 2003-04-03 John Levon <levon@movementarian.org>
5918 * bufferview_funcs.h:
5919 * bufferview_funcs.C:
5922 * text2.C: parlistize decDepth(), by merging it with incDepth()
5924 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5926 * lyxrow.h: store a ParagraphList::iterator instead of a
5927 Paragraph* and adjust other class functions to suit.
5929 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5932 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5934 * text2.C (setCursor): do not anchor to cursor row for the time being
5936 2003-04-02 John Levon <levon@movementarian.org>
5943 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5945 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5947 * paragraph.h: make ParagraphList and ParagraphList::iterator
5948 friends of Paragraph.
5950 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5952 * ParagraphList.C: Use the private next_ and previous_ from
5955 2003-04-01 John Levon <levon@movementarian.org>
5959 * Makefile.am: rename, remove defaults gunk
5962 * MenuBackend.C: remove defaults gunk
5965 * Languages.C: remove defaults gunk
5968 * lyx_main.C: error out if files couldn't be found.
5970 2003-04-02 John Levon <levon@movementarian.org>
5972 * text2.C: make incDepth() use parlist
5974 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5976 * undo_funcs.C (firstUndoParagraph): adjust
5978 * text3.C (gotoInset): adjust
5979 (dispatch): adjust, and rewrite loop.
5981 * text2.C (init): adjust, and rewrite loop.
5982 (redoParagraphs): adjust
5983 (updateInset): adjust, and rewrite loop.
5984 (deleteEmptyParagraphMechanism): adjust
5986 * tabular.C (LyXTabular): adjust
5987 (SetMultiColumn): adjust
5990 * lyxtext.[Ch] (ownerParagraph): delete function
5991 (ownerParagraphs): new function returns a ParagraphList.
5993 * BufferView.C (removeAutoInsets): adjust
5994 (insertErrors): adjust
5995 (setCursorFromRow): adjust
5997 2003-04-01 Angus Leeming <leeming@lyx.org>
5999 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6002 2003-04-02 John Levon <levon@movementarian.org>
6008 * text_funcs.C: make transposeChars a free function
6010 * lyxrow_funcs.C: remove wrong comment
6012 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6015 * rowpainter.C: adjust
6020 * lyxrow_funcs. [Ch]: new files
6022 * lyxrow.[Ch]: remove next and previous pointers
6023 (next,previous): remove accessor functions
6024 (isParEnd): move to lyxrow_funcs
6025 (lastPos): move to lyxrow_funcs
6026 (nextRowIsAllInset): move to lyxrow_funcs
6027 (lastPrintablePos): move to lyxrow_funcs
6028 (numberOfSeparators): move to lyxrow_funcs
6029 (numberOfHfills): move to lyxrow_funcs
6030 (numberOfLabelHfills): move to lyxrow_funcs
6031 (hfillExpansion): move to lyxrow_funcs
6035 * bufferview_funcs.C (toggleAndShow): adjust
6037 * RowList.h: Remove class RowList from file leave just a
6040 * RowList.C: delete file
6042 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6045 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6047 * text3.C (cursorPrevious): adjust
6048 (cursorNext): adjust
6051 * text2.C (redoHeightOfParagraph): adjust
6052 (redoDrawingOfParagraph): adjust
6055 * text.C (breakParagraph): adjust
6056 (insertChar): adjust
6059 * rowpainter.C (RowPainter): adjust
6060 (leftMargin): simplify and adjust
6061 (most rowpainter functions): adjust.
6063 * rowpainter.h: store the row as RowList::iterator not as Row*
6065 * lyxcursor.C (row): taka RowList::iterator as arg
6068 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6071 2003-04-01 Angus Leeming <leeming@lyx.org>
6073 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6074 stuff like bool Bool.
6076 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6078 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6081 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6083 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6086 * lyxtext.h (rows): drop one version and leve a const variant that
6087 returns a RowList::iterator.
6089 2003-03-31 Angus Leeming <leeming@lyx.org>
6091 * text.C (fill): ensure that the signature is the same as that in the
6094 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6096 * text2.C (redoParagraphs): adjust
6097 (updateCounters): adjust
6098 (checkParagraph): adjust
6099 (getColumnNearX): adjust and reformat a bit.
6101 * text.C (top_y): adjust
6103 (leftMargin): adjust
6104 (prepareToPrint): adjust
6106 (getRowNearY): adjust
6108 * lyxtext.h: make rowlist_ mutable.
6110 * RowList.h: add const_iterator
6111 * RowList.C: adjust for RowList::const_iterator.
6113 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6116 2003-03-31 John Levon <levon@movementarian.org>
6119 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6121 * lyx_main.C: set default fonts from using lyx_gui funcs
6123 * exporter.C: pdf_mode moved from lyxrc
6126 * lyxfunc.C: changes from above
6128 2003-03-31 John Levon <levon@movementarian.org>
6130 * lyx_main.C: fix to the last fix
6132 2003-03-31 John Levon <levon@movementarian.org>
6134 * bufferlist.C: "Load original" -> "Load Original"
6140 * format.C: more Alert cleanups
6142 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6144 * text2.C (removeParagraph): make it take a RowList::iterator as
6146 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6147 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6149 * text.C (anchor_row): make it take a RowList::iterator as arg,
6151 (computeBidiTables): make it take a const reference to Row instead
6152 of Row pointer, adjust.
6153 (leftMargin): make it take a RowList::iterator as arg, adjust.
6154 (rowBreakPoint): adjust
6155 (breakAgainOneRow): make it take a RowList::iterator as arg,
6157 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6159 * bufferview_funcs.C (toggleAndShow): adjust
6161 2003-03-30 John Levon <levon@movementarian.org>
6165 * boost-inst.C: moved to support
6167 * several files: changes as a result
6169 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6171 * text2.C (LyXText): adjust.
6173 (removeRow): make it take a RowList::iterator as arg, adjust.
6174 (fullRebreak): adjust
6175 (deleteEmptyParagraphMechanism): adjust
6176 (clearPaint): adjust
6179 * text.C (top_y): adjust
6180 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6181 (breakAgain): make it take a RowList::iterator as arg, adjust.
6182 (breakParagraph): adjust
6183 (insertChar): adjust
6186 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6187 need_break_row, and refresh_row.
6189 * text3.C (dispatch): adjust
6191 * text2.C (checkParagraph): adjust
6193 (setCursorFromCoordinates): adjust
6195 * text.C (top_y): adjust
6197 (getRow): make it return a RowList::iterator, adjust
6198 (getRowNearY): make it return a RowList::iterator, adjust
6200 * text2.C (init): adjust
6201 (insertRow): remove function
6202 (insertParagraph): adjust
6203 (redoParagraphs): adjust
6204 (fullRebreak): adjust
6205 (updateCounters): adjust
6207 * text.C (top_y): rewrite to use RowList iterators.
6209 (setHeightOfRow): rewrite to sue RowList iterators.
6210 (appendParagraph): adjust
6211 (breakAgain): adjust
6212 (breakAgainOneRow): adjust
6213 (breakParagraph): adjust
6215 (getRowNearY): adjust, and remove commented code.
6217 * lyxtext.h (firstRow): delete function
6218 (lastRow): delete function
6219 (rows): new function (const and non-const versions.)
6220 (insertRow): delete function
6222 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6224 2003-03-29 John Levon <levon@movementarian.org>
6226 * BufferView_pimpl.C: always update scrollbar top
6227 because pasting text when we're anchored could mean we
6228 miss an update altogether
6230 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6232 * text2.C (init): use rowlist_.end() and not 0.
6233 (insertRow): change to take a RowList::iterator as arg, adjust
6235 (insertParagraph): change to take a RowList::iterator as arg,
6237 (redoParagraphs): remove some debug msgs.
6239 * text.C (appendParagraph): change to take a RowList::iterator
6240 arg, adjust for this.
6241 (breakAgain): add an assert
6242 (breakAgainOneRow): ditto
6244 2003-03-29 John Levon <levon@movementarian.org>
6246 * text2.C: do not clear selection after inc/decDepth
6249 2003-03-29 John Levon <levon@movementarian.org>
6252 * buffer.C: fix broken strerrors according to Lars
6254 2003-03-29 John Levon <levon@movementarian.org>
6256 * converters.C: more Alert cleanups
6258 2003-03-29 John Levon <levon@movementarian.org>
6260 * bufferview_funcs.C: remove pointless Alert
6262 * buffer.C: fix confusing error message when
6263 a template is chmoded 000
6265 2003-03-29 John Levon <levon@movementarian.org>
6269 * BufferView_pimpl.C: Alert fixes
6273 * tabular-old.C: remove unused table compat reading
6275 2003-03-29 John Levon <levon@movementarian.org>
6280 * lyx_cb.C: more Alert cleanups
6282 * lyxfunc.C: don't allow chktex if not latex document
6284 2003-03-29 John Levon <levon@movementarian.org>
6288 * buffer.C: warnings pushed down from support/,
6291 2003-03-29 John Levon <levon@movementarian.org>
6293 * lyxfunc.C: safety check for C-r (revert)
6295 2003-03-29 John Levon <levon@movementarian.org>
6298 * bufferlist.C: several UI fixes using Alert::prompt.
6299 Fix the pointless looping quit code. Fix stupid revert
6304 * lyx_cb.C: use Alert::prompt
6306 * lyx_main.C: remove a silly question
6308 * lyxfunc.C: remove a couple of silly questions,
6311 2003-03-28 John Levon <levon@movementarian.org>
6313 * text2.C: fix bug 974 (End on empty par)
6315 2003-03-28 John Levon <levon@movementarian.org>
6317 * BufferView_pimpl.C:
6319 * lfuns.h: remove do-nothing math greek lfuns
6321 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6323 * lyxgluelength.h (isValidGlueLength): add default arg on
6324 parameter 2. Remove default arg from friend in class.
6326 * lyxlength.h (isValidLength): add default arg on parameter 2.
6327 Remove default arg from friend in class.
6329 * text2.C (LyXText): adjust, initialize refresh_row.
6333 (insertParagraph): adjst
6334 (redoParagraphs): adjust
6335 (fullRebreak): adjust
6336 (updateCounters): adjust
6337 (deleteEmptyParagraphMechanism): first attempt at fixing a
6340 * text.C (top_y): adjust
6341 (setHeightOfRow): adjust
6343 (getRowNearY): adjust
6345 * lyxtext.h: include RowList.h
6346 (~LyXText): not needed anymore, deleted.
6347 (firstRow): modify for RowList
6348 (lastRow): new function
6349 Delete firstrow and lastrow class variables, add a Rowlist
6350 rowlist_ class variable.
6352 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6355 * RowList.C (insert): fix case where it == begin().
6357 2003-03-26 Angus Leeming <leeming@lyx.org>
6359 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6360 the thesaurus dialog.
6362 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6364 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6366 * RowList.[Ch]: new files
6368 * ParagraphList.C (erase): handle the case where it == begin
6371 2003-03-25 John Levon <levon@movementarian.org>
6375 * aspell.C: add new aspell support
6378 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6381 2003-03-25 Angus Leeming <leeming@lyx.org>
6384 * LyXAction.C (init): new LFUN_INSET_INSERT.
6386 * BufferView_pimpl.C (dispatch): split out part of the
6387 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6389 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6392 2003-03-25 Angus Leeming <leeming@lyx.org>
6394 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6396 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6399 * text3.C: remove useless row->height(0)
6401 2003-03-25 John Levon <levon@movementarian.org>
6405 * text3.C: rename the refreshing stuff to better names
6407 2003-03-24 John Levon <levon@movementarian.org>
6409 * BufferView_pimpl.h:
6410 * BufferView_pimpl.C: update layout choice on a mouse
6413 2003-03-23 John Levon <levon@movementarian.org>
6415 * Makefile.am: fix commandtags.h reference
6417 2003-03-22 John Levon <levon@movementarian.org>
6419 * BufferView_pimpl.C:
6424 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6426 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6429 * text.C: take the rtl methods out of line
6431 2003-03-21 André Pönitz <poenitz@gmx.net>
6433 * metricsinfo.[Ch]: new files containing structures to be passed around
6434 during the two-phase-drawing...
6436 2003-03-21 André Pönitz <poenitz@gmx.net>
6438 * lyxtextclass.C: read 'environment' tag.
6440 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6442 * text2.C (removeRow): fix bug 964
6444 2003-03-20 John Levon <levon@movementarian.org>
6448 * text2.C: paint cleanups. Inset::update() dropped font
6451 2003-03-19 John Levon <levon@movementarian.org>
6453 * lyxfunc.C: only fitcursor/markDirty if available()
6455 2003-03-19 John Levon <levon@movementarian.org>
6457 * commandtags.h: rename to ...
6459 * lfuns.h: ... this, and renumber / cleanup
6461 2003-03-19 John Levon <levon@movementarian.org>
6463 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6464 fit the cursor after an lfun
6468 * BufferView_pimpl.h:
6469 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6471 * LyXAction.C: layout-character should have ReadOnly
6473 * ParagraphParameters.C:
6475 * bufferview_funcs.C:
6482 * undo_funcs.C: changes from above
6484 2003-03-18 John Levon <levon@movementarian.org>
6486 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6487 remove it from update()
6489 * lyxfunc.C: update layout choice after an lfun
6491 * text3.C: remove extra updateLayoutChoice()s
6493 2003-03-18 John Levon <levon@movementarian.org>
6495 * text.C: top_y change means full repaint, fix
6496 a drawing bug with cursor movement
6498 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6502 * text2.C: anchor row on setCursor
6504 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6506 * lyxtext.h: remove almost all mutable keywords
6509 * text3.C: remove const keywords accordingly
6511 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6513 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6515 (TeXEnvironment): ditto
6518 2003-03-17 John Levon <levon@movementarian.org>
6520 * text.C (rowBreakPoint): remove attempt to fix displayed
6521 math insets inside a manual label
6523 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6525 * lyxtext.h: remove BufferView* as first arg from almost all class
6527 * other files: adjust.
6529 2003-03-17 John Levon <levon@movementarian.org>
6533 * text2.C: more paint cleanups
6535 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6538 * rowpainter.C: remove "smart" background painting code
6540 2003-03-16 John Levon <levon@movementarian.org>
6545 * text3.C: add helper functions for setting refresh_row/y
6547 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6549 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6550 newline inset which *can* get inserted in the pass_thru layouts.
6551 This is primarily for literate documents.
6553 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6555 * buffer.C: increment LYX_FORMAT to 223
6557 2003-03-14 André Pönitz <poenitz@gmx.net>
6559 * textclass.h: prepare for environment handling, ws changes
6560 * lyxlayout.C: read latexheader and latexfooter tags
6562 2003-03-14 John Levon <levon@movementarian.org>
6564 * text2.C: rewrite ::status() a bit
6566 2003-03-13 John Levon <levon@movementarian.org>
6568 * lyxtext.h: add some docs
6570 2003-03-13 John Levon <levon@movementarian.org>
6575 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6577 2003-03-13 John Levon <levon@movementarian.org>
6579 * text3.C: fix appendix redrawing
6581 2003-03-13 John Levon <levon@movementarian.org>
6583 * text.C (setHeightOfRow):
6585 * rowpainter.C: make appendix mark have the text
6586 "Appendix" so the user knows what it is
6589 * LColor.C: s/appendixline/appendix/ from above
6591 2003-03-13 John Levon <levon@movementarian.org>
6593 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6595 * text.C: fix a getChar(pos) bug properly
6597 2003-03-13 Angus Leeming <leeming@lyx.org>
6600 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6601 Probably only temporary. Let's see how things pan out.
6603 * BufferView.C (unlockInset):
6604 * BufferView_pimpl.C (fitCursor):
6605 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6607 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6608 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6610 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6611 new functions that convert ParagraphParameters to and from a string.
6613 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6614 BufferView::Pimpl's dispatch.
6615 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6617 2003-03-13 André Pönitz <poenitz@gmx.net>
6621 * factory.C: make it aware of InsetEnv
6623 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6625 * text2.C (setCursor): never ask for one past last
6626 (setCursor): add some debugging messages.
6628 * text.C (singleWidth): never ask for one past last
6629 (singleWidth): ditto
6631 (rightMargin): ditto
6632 (rowBreakPoint): ditto
6633 (setHeightOfRow): ditto
6634 (prepareToPrint): ditto
6636 * rowpainter.C (paintBackground): never ask for one past last
6637 (paintText): never ask for one past last
6639 * paragraph_pimpl.C (getChar): make the assert stricter, never
6640 allow the one past last pos to be taken
6642 * paragraph.C (getChar): ws changes only
6644 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6645 (numberOfSeparators): ditto
6646 (numberOfHfills): ditto
6648 2003-03-12 John Levon <levon@movementarian.org>
6654 * paragraph_funcs.C: fix per-buffer authorlists
6656 2003-03-12 John Levon <levon@movementarian.org>
6658 * text.C: fix newline in right address
6660 2003-03-12 Angus Leeming <leeming@lyx.org>
6662 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6663 duplicate those in LyXFunc::dispatch.
6667 * ToolbarDefaults.C:
6668 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6669 Add LFUN_FONTFREE_UPDATE.
6671 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6672 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6674 * bufferview_func.[Ch]: several new functions to facilliate
6675 transfer of data to and from the character dialog.
6677 2003-03-12 John Levon <levon@movementarian.org>
6682 * paragraph_funcs.C:
6683 * paragraph_pimpl.C:
6687 * text3.C: remove META_NEWLINE in favour of an inset
6690 * rowpainter.C: remove paintNewline (done by inset)
6692 2003-03-12 John Levon <levon@movementarian.org>
6694 * paragraph_pimpl.C: complain about bad getChar()s
6695 for a while at least
6697 2003-03-12 John Levon <levon@movementarian.org>
6700 * buffer.C: move paragraph read into a separate function,
6701 a little renaming to reflect that.
6704 * bufferparams.C: remove the author_ids map, not necessary now
6707 * factory.C: moved Buffer::readInset to here
6709 * paragraph_funcs.h:
6710 * paragraph_funcs.C: readParagraph free function moved from
6713 * tabular.C: name change
6715 2003-03-12 John Levon <levon@movementarian.org>
6718 * ParagraphParameters.C: move par params input to
6721 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6722 behave like a normal read from the stream wrt reading
6723 a line vs. a \\token
6725 2003-03-12 John Levon <levon@movementarian.org>
6728 * ParagraphParameters.h:
6729 * ParagraphParameters.C: move output code to a
6732 2003-03-12 John Levon <levon@movementarian.org>
6734 * BufferView.C (insertLyXFile):
6737 * tabular.C: use a parlist iterator for creating the
6740 2003-03-12 John Levon <levon@movementarian.org>
6742 * buffer.C: make current_change static local not
6745 2003-03-12 John Levon <levon@movementarian.org>
6747 * buffer.C: fix insertStringAsLines for change tracking
6749 2003-03-12 John Levon <levon@movementarian.org>
6756 * bufferparams.C: move author list into params. Rename some
6757 functions. Move the header reading into a separate token
6758 loop. Move the header token reading into BufferParams.
6760 2003-03-12 John Levon <levon@movementarian.org>
6762 * changes.C: put debug inside lyxerr.debugging() checks
6764 2003-03-11 André Pönitz <poenitz@gmx.net>
6766 * factory.C: make it aware of InsetHFill
6768 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6770 * buffer.C (latexParagraphs): move function from here...
6771 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6774 2003-03-10 Angus Leeming <leeming@lyx.org>
6776 * LyXAction.C (init): fix bug in poplating array with multiple entries
6777 with the same LFUN (spotted by JMarc).
6779 2003-03-10 John Levon <levon@movementarian.org>
6782 * text2.C: move getColumnNearX() near its
6785 2003-03-10 John Levon <levon@movementarian.org>
6787 * text.C: fix break before a minipage
6789 2003-03-10 John Levon <levon@movementarian.org>
6791 * text.C: fix the last commit
6793 2003-03-09 John Levon <levon@movementarian.org>
6797 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6798 bug 365 (don't break before insets unless needed). Don't
6799 return a value > last under any circumstances.
6801 2003-03-09 Angus Leeming <leeming@lyx.org>
6803 * BufferView_pimpl.C (trackChanges, dispatch): call
6804 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6806 2003-03-09 Angus Leeming <leeming@lyx.org>
6808 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6809 than Dialogs::showAboutlyx().
6811 2003-03-09 Angus Leeming <leeming@lyx.org>
6813 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6814 than Dialogs::showTabularCreate().
6816 2003-03-09 John Levon <levon@movementarian.org>
6820 * text2.C: 3rd arg to nextBreakPoint was always the same.
6823 2003-03-08 John Levon <levon@movementarian.org>
6830 * text2.C: Remove the "main" bit from the "main body"
6833 2003-03-08 John Levon <levon@movementarian.org>
6835 * text.C (leftMargin): The left margin of an empty
6836 manual label paragraph should not include the label width
6839 * text.C (prepareToPrint): don't attempt to measure hfills
6840 for empty manual label paragraphs - the answer should be 0
6842 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6844 * CutAndPaste.C: remove commented code and reindent.
6846 2003-03-08 John Levon <levon@movementarian.org>
6849 * lyxfunc.C: move reloadBuffer()
6852 * BufferView.C: to here
6854 * lyxvc.C: add comment
6857 * vc-backend.C: call bv->reload() to avoid
6858 getStatus() check on MENURELOAD
6860 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6862 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6863 to an old format .dep file.
6865 2003-03-07 Angus Leeming <leeming@lyx.org>
6867 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6868 when the LFUN_MOUSE_RELEASE should have been handled by
6869 inset->localDispatch.
6871 2003-03-07 Angus Leeming <leeming@lyx.org>
6873 * BufferView_pimpl.C (dispatch):
6874 * LyXAction.C (init):
6875 * ToolbarDefaults.C (init):
6877 * lyxfunc.C (getStatus):
6878 remove LFUN_INSET_GRAPHICS.
6880 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6882 2003-03-07 Angus Leeming <leeming@lyx.org>
6885 * LyXAction.C (init):
6886 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6888 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6891 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6893 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6894 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6896 2003-03-07 Angus Leeming <leeming@lyx.org>
6898 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6901 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6903 * ParagraphList.C (front): new function
6906 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6908 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6909 and top_row_offset_. removed var first_y.
6911 * text2.C (LyXText, removeRow):
6913 * BufferView_pimpl.C:
6914 use these methods instead of using first_y
6916 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6918 * text2.C (pasteSelection): adjust for checkPastePossible
6920 * CutAndPaste.C: remove Paragraph * buf and replace with
6921 ParagraphList paragraphs.
6922 (DeleteBuffer): delete
6923 (cutSelection): change the tc type to textclass_type
6924 (copySelection): change the tc type to textclass_type
6925 (copySelection): adjust for ParagraphList
6926 (pasteSelection): change the tc type to textclass_type
6927 (pasteSelection): adjust for Paragraphlist
6928 (nrOfParagraphs): simplify for ParagraphList
6929 (checkPastePossible): simplify for ParagraphList
6930 (checkPastePossible): remove unused arg
6932 * ParagraphList.C (insert): handle the case where there are no
6935 * CutAndPaste.h: make CutAndPaste a namespace.
6937 * text3.C (dispatch): adjust
6939 * text.C (breakParagraph): add a ParagraphList as arg
6941 * paragraph_funcs.C (breakParagraph): change to take a
6942 BufferParams and a ParagraphList as args.
6943 (breakParagraphConservative): ditto
6944 (mergeParagraph): ditto
6945 (TeXDeeper): add a ParagraphList arg
6946 (TeXEnvironment): ditto
6949 * buffer.C (readLyXformat2): adjust
6950 (insertStringAsLines): adjust
6951 (latexParagraphs): adjust
6953 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6954 (cutSelection): adjust
6955 (pasteSelection): adjust
6957 * BufferView_pimpl.C (insertInset): adjust
6959 2003-03-05 Angus Leeming <leeming@lyx.org>
6962 * LyXAction.C (init):
6963 * BufferView_pimpl.C (dispatch):
6964 * lyxfunc.C (getStatus):
6965 remove LFUN_CHILD_INSERT.
6967 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6969 2003-03-05 Angus Leeming <leeming@lyx.org>
6972 * LyXAction.C (init):
6973 * src/factory.C (createInset):
6974 * lyxfunc.C (getStatus):
6975 * text3.C (dispatch):
6976 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6978 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6980 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6982 * ParagraphList.C (insert): handle insert right before end()
6983 (erase): fix cases where it can be first or last paragraph.
6985 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6987 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6988 Paragraph::next and Paragraph::previous
6991 * text.C (breakParagraph): adjust
6993 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6994 BufferParams& as arg.
6995 (breakParagraph): use ParagraphList::insert
6996 (breakParagraphConservative): take a Buffer* instead of a
6997 BufferParams& as arg.
6998 (breakParagraphConservative): use ParagraphList::insert.
7000 * buffer.C (insertStringAsLines): un-const it
7001 (insertStringAsLines): adjust
7003 * ParagraphList.C (insert): new function
7005 * CutAndPaste.C (pasteSelection): adjust
7007 * text.C (backspace): adjust
7009 * tabular.C (SetMultiColumn): adjust
7011 * CutAndPaste.C (cutSelection): adjust
7012 (pasteSelection): adjust
7014 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7015 Buffer const * as arg
7017 * ParagraphList.C (erase): new function
7018 * paragraph_funcs.C (mergeParagraph): use it
7019 (mergeParagraph): make it take a Buffer* instead of a
7020 BufferParams* as arg
7022 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7024 (breakParagraphConservative): ditto
7026 * paragraph.h: remove the breakParagraph friend
7028 * paragraph.C (eraseIntern): new function
7029 (setChange): new function
7031 * paragraph_funcs.C (mergeParagraph): make it take a
7032 ParagraphList::iterator instead of a Paragraph *, adjust
7035 * paragraph.h: move an #endif so that the change tracking stuff
7036 also works in the NO_NEXT case.
7038 2003-03-04 Angus Leeming <leeming@lyx.org>
7041 * LyXAction.C: new LFUN_INSET_MODIFY.
7043 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7044 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7046 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7048 * several files: ws changes only
7050 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7051 (TeXEnvironment): ditto
7054 * buffer.C (makeLaTeXFile): adjust
7055 (latexParagraphs): make it take ParagraphList::iterator as args
7057 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7059 * buffer.C (latexParagraphs): adjust
7061 * paragraph.C (TeXOnePar): move function...
7062 (optArgInset): move function...
7063 (TeXEnvironment): move function...
7064 * paragraph_pimpl.C (TeXDeeper): move function...
7065 * paragraph_funcs.C: ...here
7067 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7069 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7071 * buffer.C (readInset): remove compability code for old Figure and
7074 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7076 * buffer.C: ws changes
7079 * BufferView_pimpl.C: ditto
7082 * bufferlist.h: ditto
7086 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7088 * converter.[Ch]: split into itself +
7091 * Makefile.am: += graph.[Ch] + format.[Ch]
7098 * lyxrc.C: added #include "format.h"
7100 2003-02-27 Angus Leeming <leeming@lyx.org>
7102 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7105 * factory.C (createInset): add "label" to the factory.
7107 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7108 string and do no more.
7110 2003-02-27 Angus Leeming <leeming@lyx.org>
7113 * LyXAction.C (init):
7114 * factory.C (createInset):
7115 * BufferView_pimpl.C (dispatch):
7116 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7118 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7120 * lyxfunc.C (dispatch):
7121 * text3.C (dispatch): pass name to params2string.
7123 2003-02-26 Angus Leeming <leeming@lyx.org>
7125 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7127 Rearrange the ~includes. Strip out the unnecessary ones.
7129 * factory.C (createInset): reformat.
7130 create new insets for the various LFUN_XYZ_APPLY lfuns.
7132 2003-02-26 John Levon <levon@movementarian.org>
7135 * lyxrow.C: add isParStart,isParEnd helpers
7137 * paragraph.h: make isInserted/DeletedText take refs
7139 * paragraph_funcs.h:
7140 * paragraph_funcs.C: remove #if 0'd code
7145 * text.C: use lyxrow helpers above.
7146 Move draw and paint routines to RowPainter.
7147 Make several methods use refs not pointers.
7148 Make backgroundColor() const.
7149 Add markChangeInDraw(), isInInset().
7150 Merge changeRegionCase into changeCase.
7151 Make workWidth() shouldn't-happen code into an Assert.
7154 * rowpainter.C: new class for painting a row.
7157 * vspace.C: make inPixels take a ref
7159 2003-02-26 Angus Leeming <leeming@lyx.org>
7161 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7164 2003-02-25 John Levon <levon@movementarian.org>
7166 * ispell.C: give the forked command a more accurate name
7168 2003-02-22 John Levon <levon@movementarian.org>
7171 * toc.C: make TocItem store an id not a Paragraph *
7174 2003-02-21 Angus Leeming <leeming@lyx.org>
7176 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7177 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7178 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7179 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7180 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7181 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7183 * BufferView_pimpl.C (dispatch):
7184 * LyXAction.C (init):
7185 * factory.C (createInset):
7186 * lyxfunc.C (getStatus, dispatch):
7187 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7189 2003-02-21 Angus Leeming <leeming@lyx.org>
7191 * BufferView_pimpl.C (MenuInsertLyXFile):
7192 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7193 * lyxfunc.C (menuNew, open, doImport):
7194 no longer pass a LyXView & to fileDlg.
7196 2003-02-21 Angus Leeming <leeming@lyx.org>
7198 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7199 * LyXAction.C: change, BIBKEY to BIBITEM.
7200 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7201 Change InsetBibKey to InsetBibitem.
7202 Change BIBKEY_CODE to BIBITEM_CODE.
7203 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7204 * factory.C: replace insetbib.h with insetbibitem.h.
7205 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7206 * paragraph.C: replace insetbib.h with insetbibitem.h.
7207 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7208 Change bibkey() to bibitem().
7209 * text.C: remove insetbib.h.
7210 * text2.C: replace insetbib.h with insetbibitem.h.
7211 change bibkey() to bibitem().
7212 * text3.C: remove insetbib.h.
7213 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7215 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7217 * lyxrc.C (output): enclose user email in quotes (in case there are
7220 2003-02-18 John Levon <levon@movementarian.org>
7222 * buffer.h: add std::
7224 2003-02-17 John Levon <levon@movementarian.org>
7230 * pspell.C: reworking. Especially in ispell, a large
7231 number of clean ups and bug fixes.
7233 * lyxfunc.C: fix revert to behave sensibly
7235 2003-02-17 André Pönitz <poenitz@gmx.net>
7238 * commandtags.h: new LFUN_INSERT_BIBKEY
7248 * paragraph_func.C: remove special bibkey handling
7250 2003-02-17 John Levon <levon@movementarian.org>
7252 * text.C (Delete): fix case where delete at the end of
7253 the very first paragraph would not merge the pars
7255 2003-02-17 John Levon <levon@movementarian.org>
7257 * lyxrow.C: fix lastPrintablePos()
7259 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7261 * bufferparams.C (writeLaTeX): add a std:here
7263 * buffer.C: and remove a using directive there
7265 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7267 * buffer.C (makeLaTeXFile): move the code that generates the
7270 * bufferparams.C (writeLaTeX): ... in this new method
7272 * LaTeXFeatures.C (getEncodingSet): make const
7273 (getLanguages): make const
7275 * MenuBackend.C (binding): returns the binding associated to this
7277 (add): sets the status of each item by calling getStatus. Adds
7279 (read): add support for OptSubMenu
7280 (expand): remove extra separator at the end of expanded menu
7282 2003-02-15 John Levon <levon@movementarian.org>
7285 * BufferView_pimpl.C:
7287 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7288 inset code that had no actual effect. Remove unneeded status
7291 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7293 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7296 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7298 * text.C (drawLengthMarker): also draw an arrow marker for
7299 symbolic lengths (medskip...)
7301 2003-02-14 John Levon <levon@movementarian.org>
7304 * tabular.C: better method names
7306 2003-02-14 John Levon <levon@movementarian.org>
7308 * BufferView_pimpl.C:
7313 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7314 it's a more accurate name. Remove some pointless uses.
7316 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7318 * text2.C (LyXText): change order of initilizers to shut off
7321 2003-02-14 John Levon <levon@movementarian.org>
7323 * buffer.C: use ParIterator for getParFromID()
7327 * paragraph_pimpl.h:
7328 * paragraph_pimpl.C: remove unused getParFromID()
7330 2003-02-14 John Levon <levon@movementarian.org>
7332 * buffer.C: remove some very old #if 0'd parse code
7334 2003-02-13 John Levon <levon@movementarian.org>
7338 * text2.C: move hfillExpansion(), numberOfSeparators(),
7339 rowLast(), rowLastPrintable(), numberofHfills(),
7340 numberOfLabelHfills() ...
7343 * lyxrow.C: ... to member functions here.
7348 * text.C: remove LyXText::beginningOfMainBody(), and call
7349 p->beginningOfMainBody() directly. Move the check for
7350 LABEL_MANUAL into the latter.
7357 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7363 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7364 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7366 2003-02-13 John Levon <levon@movementarian.org>
7368 * CutAndPaste.C: remove debug
7370 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7372 * paragraph.C (asString): remove two unused variables
7374 * lyxtextclass.C (readTitleType):
7376 (LyXTextClass): handle new members titletype_ and titlename_
7378 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7380 2003-02-09 John Levon <levon@movementarian.org>
7383 * buffer.C: replace hand-coded list with a map for the dep clean
7385 2003-02-08 John Levon <levon@movementarian.org>
7387 * LaTeX.C: consolidate code into showRunMessage() helper
7389 2003-02-08 John Levon <levon@movementarian.org>
7394 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7395 and pass the size in explicitly
7397 * BufferView_pimpl.h:
7398 * BufferView_pimpl.C:
7400 * BufferView.C: add getCurrentChange()
7402 * BufferView_pimpl.h:
7403 * BufferView_pimpl.C: handle change lfuns
7405 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7406 for changes. Mark pasted paragraphs as new.
7408 * support/lyxtime.h:
7409 * support/lyxtime.C:
7410 * DepTable.C: abstract time_t as lyx::time_type
7413 * LColor.C: add colours for new text, deleted text, changebars
7415 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7416 package use "usenames" option.
7420 * LyXAction.C: add change lfuns
7424 * author.C: author handling
7427 * buffer.C: add a per-buffer author list, with first entry as
7428 current author. Handle new .lyx tokens for change tracking. Output
7429 author list to .lyx file. Output dvipost stuff to .tex preamble.
7430 Bump lyx format to 222.
7433 * bufferlist.C: add setCurrentAuthor() to reset current author details
7437 * bufferparams.C: add param for tracking
7439 * bufferview_funcs.C: output change info in minibuffer
7443 * changes.C: add change-tracking structure
7446 * debug.C: add CHANGES debug flag
7449 * lyxfind.C: add code for finding the next change piece
7452 * lyxrc.C: add user_name and user_email
7455 * lyxrow.C: add a metric for the top of the text line
7458 * text.C: implement accept/rejectChange()
7461 * text.C: paint changebars. Paint new/deleted text in the chosen
7462 colours. Strike through deleted text.
7466 * paragraph_pimpl.h:
7467 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7468 in the current change to the insert functions. Rework erase to
7469 mark text as deleted, adding an eraseIntern() and a range-based
7470 erase(). Implement per-paragraph change lookup and
7473 * paragraph_funcs.C: Fixup paste for change tracking.
7475 * tabular.C: mark added row/columns as new.
7477 * text.C: fix rowLast() to never return -1. Don't allow
7478 spellchecking of deleted text. Track transpose changes. Don't
7479 allow paragraph break or merge where appropriate.
7481 * text2.C: leave cursor at end of selection after a cut.
7483 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7485 * text.C (getLengthMarkerHeight):
7486 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7487 visible on screen too.
7489 2003-02-07 John Levon <levon@movementarian.org>
7491 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7493 2003-02-05 Angus Leeming <leeming@lyx.org>
7495 * lyxserver.C (read_ready): revert my patch of 11 September last year
7496 as it sends PC cpu through the roof. Presumably this means that
7497 the lyxserver will no longer run on an Alpha...
7499 2003-01-30 Angus Leeming <leeming@lyx.org>
7501 * factory.C (createInset): create an InsetCommandParam of type "index"
7502 and use it to 'do the right thing'.
7504 * text2.C (getStringToIndex): ensure that cursor position is always
7505 reset to the reset_cursor position.
7507 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7509 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7512 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7516 * lyxfunc.C: Output messages with identical spelling, punctuation,
7519 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7521 * MenuBackend.C (expandFormats): List only viewable export formats
7524 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7527 * lyxfunc.C (getStatus): Make sure that formats other than
7528 "fax" can also be disabled
7530 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7532 * text3.C (dispatch): put the lfuns that insert insets in 3
7533 groups, and call doInsertInset with appropriate arguments.
7534 (doInsertInset): new function, that creates an inset and inserts
7535 it according to some boolean parameters.
7537 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7539 * buffer.C (readFile): remember to pass on 'par' when calling
7540 readFile recursively.
7542 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7544 * MenuBackend.C (expandFormats): add "..." to import formats.
7546 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7548 * paragraph.C (asString): Remove XForms RTL hacks.
7550 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7551 * buffer.C: fix typo
7553 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7555 * Makefile.am (LIBS): delete var
7556 (lyx_LDADD): add @LIBS@ here instead.
7558 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7560 * Clarify the meaning of "wheel mouse jump"
7562 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7564 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7567 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7569 * importer.C (Loaders): do not preallocate 3 elements in the
7570 vector, since one ends up with 6 elements otherwise
7572 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7574 * DepTable.C (write): write the file name as last element of the
7575 .dep file (because it may contain spaces)
7576 (read): read info in the right order
7578 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7580 * paragraph_pimpl.C (simpleTeXBlanks):
7581 (simpleTeXSpecialChars):
7582 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7584 * tabular.C (latex): add some missing case statements. Reindent.
7586 * MenuBackend.C (expandToc): remove unused variable.
7588 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7597 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7600 2003-01-05 John Levon <levon@movementarian.org>
7603 * BufferView.C: add getEncoding()
7606 * kbsequence.C: do not store last keypress
7609 * lyxfunc.C: store last keypress here instead. Pass encoding
7612 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7614 * lyx_main.C (init): remove annoying error message when following
7615 symbolic links (bug #780)
7617 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7619 * text.C (insertChar):
7620 * lyxrc.C (getDescription): remove extra spaces
7622 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7624 * lyxrc.C (getDescription): remove extra spaces
7626 2002-12-20 John Levon <levon@movementarian.org>
7628 * text3.C: hack fix for page up/down across tall rows
7630 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7632 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7635 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7637 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7638 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7639 thesaurus is not compiled in
7641 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7643 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7645 2002-12-16 Angus Leeming <leeming@lyx.org>
7648 * lyx_main.C (init): remove override_x_deadkeys stuff.
7650 2002-12-12 John Levon <levon@movementarian.org>
7652 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7653 insert. Only remove shift modifier under strict
7656 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7658 * MenuBackend.C (expandToc): fix crash.
7660 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7662 * MenuBackend.C (expandToc): gettext on float names.
7664 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7666 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7667 implement bool empty() [bug 490]
7669 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7671 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7673 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7675 * several files: ws changes
7677 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7679 * text2.C (setCounter): clean up a bit, use boost.format.
7680 (updateCounters): initialize par upon declaration.
7682 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7683 if the layout exists. We do not just store the layout any more.
7684 (SwitchLayoutsBetweenClasses): use boost.format
7686 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7688 * converter.C (convert): if from and to files are the same, use a
7689 temporary files as intermediary
7691 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7694 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7696 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7698 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7700 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7702 * tabular.C (asciiPrintCell): use string(size, char) instead of
7705 * sgml.C (openTag): fix order of arguments to string constructor
7708 * lyxfunc.C (dispatch): use boost.format
7710 * lots of files: change "c" -> 'c'
7712 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7714 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7716 2002-11-25 Angus Leeming <leeming@lyx.org>
7718 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7720 * lyx_main.C (init): compile fix.
7722 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7724 * lyx_cb.C (start): boost.formatify
7725 do not include <iostream>
7727 * lengthcommon.C: ws only
7729 * boost-inst.C,BoostFormat.h: add more explict instantations
7731 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7733 * lots of files: handle USE_BOOST_FORMAT
7735 2002-11-21 John Levon <levon@movementarian.org>
7737 * pspell.C: fix compile
7739 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7741 * lyxfunc.C (dispatch): use boost::format
7745 * lyxfont.C (stateText): use boost::format
7747 * lyx_main.C (LyX): use boost::format
7749 (queryUserLyXDir): ditto
7752 (typedef boost::function): use the recommened syntax.
7754 * importer.C (Import): use boost::format
7756 * debug.C (showLevel): use boost::format
7758 * converter.C (view): use boost::format
7763 * bufferview_funcs.C (currentState): use boost::format
7765 * bufferlist.C (emergencyWrite): use boost::format
7767 * buffer.C (readLyXformat2): use boost::format
7768 (parseSingleLyXformat2Token): ditto
7770 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7772 * LaTeX.C (run): use boost::format
7774 * Chktex.C (scanLogFile): use boost::format
7776 * BufferView_pimpl.C (savePosition): use boost::format
7777 (restorePosition): ditto
7778 (MenuInsertLyXFile): ditto
7780 * BoostFormat.h: help file for explicit instation.
7782 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7784 * tabular.C (latex): Support for block alignment in fixed width
7787 2002-11-17 John Levon <levon@movementarian.org>
7789 * BufferView_pimpl.C:
7791 * lyxfunc.C: split filedialog into open/save
7793 2002-11-08 Juergen Vigna <jug@sad.it>
7795 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7796 by my last patch (hopefully).
7798 2002-11-08 John Levon <levon@movementarian.org>
7807 * toc.C: ParConstIterator, and use it (from Lars)
7809 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7811 * lyxtextclass.[Ch]: revise and add doxygen comments
7813 2002-11-07 John Levon <levon@movementarian.org>
7815 * text.C: fix progress value for spellchecker
7817 * toc.C: fix navigate menu for insetwrap inside minipage
7819 * paragraph_funcs.C: added FIXME for suspect code
7821 2002-11-07 John Levon <levon@movementarian.org>
7823 * BufferView_pimpl.C: fix redrawing of insets
7826 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7828 * text2.C (updateCounters): fix bug 668
7830 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7832 * text3.C (dispatch): Do not make the buffer dirty when moving the
7835 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7837 * vc-backend.C: STRCONV
7840 * text2.C (setCounter): STRCONV
7842 * paragraph.C (asString): STRCONV
7844 * lyxlength.C (asString): STRCONV
7845 (asLatexString): ditto
7847 * lyxgluelength.C (asString): STRCONV
7848 (asLatexString): ditto
7850 * lyxfunc.C (dispatch): STRCONV
7853 * lyxfont.C (stateText): STRCONV
7855 * importer.C (Import): STRCONV
7857 * counters.C (labelItem): STRCONV
7858 (numberLabel): ditto
7859 (numberLabel): remove unused ostringstream o
7864 * bufferview_funcs.C (currentState): STRCONV
7866 * buffer.C (readFile): STRCONV
7867 (asciiParagraph): ditto
7868 (makeLaTeXFile): ditto
7870 * Spacing.C (writeEnvirBegin): STRCONV
7872 * LaTeXFeatures.C (getLanguages): STRCONV
7873 (getPackages): ditto
7875 (getBabelOptions): ditto
7876 (getTClassPreamble): ditto
7877 (getLyXSGMLEntities): ditto
7878 (getIncludedFiles): ditto
7882 (scanAuxFile): ditto
7885 * LString.h: add the STRCONV macros
7887 * BufferView_pimpl.C (savePosition): STRCONV
7888 (restorePosition): ditto
7889 (MenuInsertLyXFile): ditto
7891 * vc-backend.C (scanMaster): change from submatch[...] to
7894 * funcrequest.C: include config.h
7896 * factory.C: include config.h
7898 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7900 * box.C: include config.h
7902 * LaTeX.C (scanAuxFile): change from submatch[...] to
7906 2002-10-25 Angus Leeming <leeming@lyx.org>
7908 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7910 * ispell.[Ch] (setError): new method.
7911 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7912 Use setError() insetead of goto END.
7914 * lyx_cb.C (AutoSave): move out child process into new class
7917 2002-10-30 John Levon <levon@movementarian.org>
7919 * text3.C: make start appendix undoable
7921 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7923 * lyxlength.C (inPixels): Fix returned value.
7925 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7928 2002-10-24 Angus Leeming <leeming@lyx.org>
7930 * lyxgluelength.h: no need to forward declare BufferParams
7931 or BufferView, so don't.
7933 2002-10-21 John Levon <levon@movementarian.org>
7935 * BufferView.C: menuUndo ->undo, redo
7937 * BufferView.h: document, remove dead, make some methods private
7939 * paragraph_funcs.h:
7940 * paragraph_funcs.C:
7941 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7946 * sgml.C: move sgml open/close tag into sgml.C
7948 * bufferview_funcs.h: unused prototype
7951 * lyxfunc.C: remove unused
7954 * text.C: remove unused
7956 2002-10-21 John Levon <levon@movementarian.org>
7960 * BufferView_pimpl.h:
7961 * BufferView_pimpl.C: fix mouse wheel handling based on
7962 patch from Darren Freeman
7964 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7966 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7968 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7970 * lyxlength.C (inPixels): Fix hanfling of negative length.
7971 Fix LyXLength::MU case.
7973 2002-10-16 John Levon <levon@movementarian.org>
7975 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7977 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7979 * converter.C (view): add support for $$i (file name) and $$p
7980 (file path) for the viewer command. If $$i is not specified, then
7981 it is appended to the command (for compatibility with old syntax)
7983 2002-10-14 Juergen Vigna <jug@sad.it>
7985 * undo_funcs.C (textHandleUndo): alter the order in which the
7986 new undopar is added to the LyXText, as we have to set first
7987 the right prev/next and then add it as otherwise the rebuild of
7988 LyXText is not correct. Also reset the cursor to the right paragraph,
7989 with this IMO we could remove the hack in "redoParagraphs()".
7991 2002-10-09 Angus Leeming <leeming@lyx.org>
7993 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7994 to turn off an optimisation if a new inset is to be inserted.
7996 2002-10-11 André Pönitz <poenitz@gmx.net>
7998 * lyxtext.h: make some functions public to allow access
7999 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8001 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8003 * text3.C (dispatch): when changing layout, avoid an infinite loop
8006 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8008 * lyxrc.C (read): treat a viewer or converter command of "none" as
8011 * MenuBackend.C (expandFormats): for an update, also allow the
8012 formats that are not viewable
8014 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8015 script if it is newer than the lyxrc.defaults in user directory
8017 2002-10-07 André Pönitz <poenitz@gmx.net>
8019 * text.C: Vitaly Lipatov's small i18n fix
8021 2002-09-25 Angus Leeming <leeming@lyx.org>
8023 * ispell.h: doxygen fix.
8025 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8027 * buffer.h (readFile): Add a new argument to the method, to allow
8028 reading of old-format templates.
8030 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8032 * toc.C (getTocList): Get TOC from InsetWrap.
8034 2002-09-16 John Levon <levon@movementarian.org>
8036 * lyxfunc.C: check tabular for cut/copy too
8038 2002-09-12 John Levon <levon@movementarian.org>
8043 * factory.C: add header
8045 * paragraph_funcs.h:
8046 * paragraph_funcs.C: cleanup
8048 2002-09-11 John Levon <levon@movementarian.org>
8050 * PrinterParams.h: odd/even default to true
8052 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8054 * PrinterParams.h: update printer parameters for new xforms dialog
8056 2002-09-11 Angus Leeming <leeming@lyx.org>
8058 * lyxserver.C (read_ready): re-write to make it more transparent
8059 and to make it work in coherent fashion under Tru64 Unix.
8061 2002-09-11 André Pönitz <poenitz@gmx.net>
8065 * text3.C: implement LFUN_WORDSEL
8067 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8069 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8070 make floatlist_ a boost::shared_ptr<FloatList>
8072 * lyxtextclass.C: include FloatList.h
8073 (LyXTextClass): initialize floatlist_
8074 (TextClassTags): add TC_NOFLOAT
8075 (Read): match "nofloat" to TC_NOFLOAT and use it.
8076 (readFloat): modify call to floatlist_
8080 * FloatList.[Ch] (FloatList): remove commented out float
8082 (erase): new function
8084 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8086 * MenuBackend.C (expandToc): fix crash when there is no document
8089 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8091 * many files: Add insetwrap.
8093 2002-09-09 John Levon <levon@movementarian.org>
8095 * text2.C: remove confusing and awkward depth wraparound
8097 2002-09-09 John Levon <levon@movementarian.org>
8099 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8102 * buffer.C: remove getIncludeonlyList()
8105 * lyxfunc.C: remove headers
8107 2002-09-09 Juergen Vigna <jug@sad.it>
8109 * text.C (getColumnNearX): fix form Michael this is most
8110 probably a cut&paste bug.
8112 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8114 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8116 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8117 references, ws changes.
8119 * text2.C (init): update counters after init
8120 (insertParagraph): no need to set counter on idividual paragraphs.
8121 (setCounter): access the counters object in the textclass object
8122 on in the buffer object.
8123 (updateCounters): ditto
8125 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8126 shared_ptr<Counters> to avoid loading counters.h in all
8128 (LyXTextClass): initialize ctrs_
8129 (TextClassTags): add TC_COUNTER, and ...
8130 (Read): use it here.
8131 (CounterTags): new tags
8132 (readCounter): new function
8133 (counters): new funtion
8134 (defaultLayoutName): return a const reference
8136 * counters.C (Counters): remove contructor
8137 (newCounter): remove a couple of unneeded statements.
8138 (newCounter): simplify a bit.
8139 (numberLabel): some small formatting changes.
8141 * buffer.[Ch]: remove all traces of counters, move the Counters
8142 object to the LyXTextClass.
8144 2002-09-06 Alain Castera <castera@in2p3.fr>
8146 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8147 package to set the horizontal alignment on fixed width columns.
8150 * lyx_sty.h: added tabularnewline macro def.
8152 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8154 2002-09-06 John Levon <levon@movementarian.org>
8156 * LyXAction.C: tooltips for sub/superscript
8158 * MenuBackend.C: a bit more verbose
8160 * lyxfunc.C: tiny clean
8162 * undo_funcs.C: document undo_frozen
8164 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8166 * counters.C (Counters): add missing algorithm counter.
8168 * text2.C (setCounter): lookup the counter with layouts latexname
8169 instead of by section number.
8170 (setCounter): use a hackish way to lookup the correct enum
8172 a float name->type change
8173 reset enum couners with counter name directly instead of depth value.
8175 * counters.C (Counters): remove the push_backs, change to use the
8176 float type not the float name.
8177 (labelItem): remove unused string, float name->type change
8179 * counters.h: don't include vector, loose the enums and sects vectors
8181 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8183 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8184 (Read): add float->TC_FLOAT to textclassTags
8185 (Read): and handle it in the switch
8186 (readFloat): new function
8188 * FloatList.C (FloatList): comment out the hardcoded float
8191 * lyxlayout.h: ws change.
8193 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8195 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8197 2002-09-03 Angus Leeming <leeming@lyx.org>
8199 * BufferView_pimpl.h: qualified name is not allowed in member
8200 declaration: WorkArea & Pimpl::workarea() const;
8202 * factory.C: added using std::endl directive.
8204 * text3.C: added using std::find and std::vector directives.
8206 2002-08-29 André Pönitz <poenitz@gmx.net>
8209 * text2.C: remove unused member number_of_rows
8212 * BufferView2.C: remove file, move contents to...
8213 * BufferView.C: ... here
8215 * BufferView_pimpl.C:
8216 * factory.C: move more inset creation to factory
8218 * vspace.C: avoid direct usage of LyXText, ws changes
8221 don't provide direct access to WorkArea, use two simple
8222 acessors haveSelction() and workHeight() instead
8225 2002-08-29 John Levon <levon@movementarian.org>
8227 * BufferView_pimpl.C (dispatch): do not continue when
8230 2002-08-28 André Pönitz <poenitz@gmx.net>
8232 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8235 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8237 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8239 * buffer.C: increment LYX_FORMAT to 221
8241 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8242 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8244 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8246 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8248 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8250 * factory.C (createInset): use LyXTextClass::floats
8252 * MenuBackend.C (expandFloatListInsert):
8253 (expandFloatInsert):
8256 * text2.C (setCounter):
8258 * LaTeXFeatures.C (useFloat):
8259 (getFloatDefinitions):
8261 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8263 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8264 floatlist_, with accessor floats().
8266 * FloatList.h: remove global FloatList
8268 2002-08-26 André Pönitz <poenitz@gmx.net>
8270 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8274 * BufferView_pimpl.C:
8275 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8277 2002-08-25 John Levon <levon@movementarian.org>
8279 * LyXAction.C: fix margin note description
8281 2002-08-24 John Levon <levon@movementarian.org>
8285 * bufferview_funcs.C:
8287 * undo_funcs.C: cleanups
8289 * lyxfunc.C: disable CUT/COPY when no selection
8291 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8293 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8294 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8296 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8297 Add backward compatibility to "mono", "gray" and "no".
8299 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8301 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8302 (and file_format >= 200).
8304 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8306 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8308 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8310 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8312 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8314 * BufferView_pimpl.C:
8321 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8322 inset and code to make it work with the paragraph code. The inset
8323 can be anywhere in the paragraph, but will only do the expected
8324 thing in LaTeX if the layout file contains the parameter line
8326 (or more generally, a nonzero value) for that layout.
8328 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8330 * paragraph.h: remove the declaration of undefined counters class
8333 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8335 * text2.C (setCounter): fixed enumeration mis-count as reported by
8336 Dr. Richard Hawkins.
8338 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8340 * paragraph_funcs.h: remove some unneeded includes
8342 * text.C (backspace): pasteParagraph now in global scipe
8344 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8345 (pasteSelection): ditto
8347 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8348 * paragraph_funcs.C (pasteParagraph): ... here
8350 2002-08-20 André Pönitz <poenitz@gmx.net>
8352 * commandtags.h: new LFUNs for swapping/copying table row/colums
8355 * lyxfunc.C: support for new lfuns
8357 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8360 * buffer.[Ch]: remove NO_COMPABILITY stuff
8362 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8364 * boost.C (throw_exception): new file, with helper function for
8365 boost compiled without exceptions.
8370 * ParameterStruct.h:
8371 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8373 * bufferlist.C (emergencyWriteAll): use boost bind
8375 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8377 * text.C: include paragraph_funcs.h
8378 (breakParagraph): breakParagraph is now in global scope
8380 * paragraph_funcs.[Ch]: new files
8382 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8385 * buffer.C: include paragraph_funcs.h
8386 (insertStringAsLines): breakParagraph is now in global scope
8388 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8391 * CutAndPaste.C: include paragraph_funcs.h
8392 (cutSelection): breakParagraphConservative is now in global scope
8393 (pasteSelection): ditto
8395 * buffer.h: declare oprator== and operator!= for
8396 Buffer::inset_iterator
8398 * bufferlist.C (emergencyWrite): don't use fmt(...)
8400 * text3.C: add using std::endl
8402 * BufferView.C (moveCursorUpdate): remove default arg
8404 2002-08-20 André Pönitz <poenitz@gmx.net>
8406 * buffer.[Ch]: move inline functions to .C
8409 * BufferView_pimpl.C:
8411 * buffer.[Ch]: use improved inset_iterator
8414 * paragraph.[Ch]: write one paragraph at a time
8416 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8418 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8419 style if style is not specified.
8421 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8423 * text2.C (setCounter): when searching for right label for a
8424 caption, make sure to recurse to parent insets (so that a caption
8425 in a minipage in a figure float works) (bug #568)
8427 2002-08-20 André Pönitz <poenitz@gmx.net>
8429 * text3.C: new file for LyXText::dispatch() and helpers
8431 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8433 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8435 2002-08-19 André Pönitz <poenitz@gmx.net>
8438 * text.C: new LyXText::dispatch()
8440 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8442 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8444 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8446 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8449 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8451 * Makefile.am: use $(variables) instead of @substitutions@
8453 2002-08-15 André Pönitz <poenitz@gmx.net>
8456 * BufferView_pimpl.C: streamlining mathed <-> outer world
8460 * LyXAction.C: remove unused LFUN_MATH
8462 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8464 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8466 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8468 * paragraph.C (Paragraph): reformat a bit
8469 (cutIntoMinibuffer): use builtin InsetList function instad of
8473 * buffer.C: include boost/bind.hpp, add using std::for_each
8474 (writeFileAscii): use ParagraphList iterators
8475 (validate): use for_each for validate traversal of paragraphs
8476 (getBibkeyList): use ParagraphList iterators
8477 (resizeInsets): use for_each to resizeInsetsLyXText for all
8479 (getParFromID): use ParagraphList iterators
8481 * BufferView2.C (lockInset): use paragraph list and iterators
8483 2002-08-14 John Levon <levon@movementarian.org>
8485 * lyxserver.C: remove spurious xforms include
8487 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8489 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8491 2002-08-13 André Pönitz <poenitz@gmx.net>
8494 * lyxfunc.C: further cleaning
8496 2002-08-13 André Pönitz <poenitz@gmx.net>
8498 * funcrequest.h: new constructor
8500 * funcrequest.C: move stuff here from .h
8503 * BufferView_pimpl.C:
8506 * lyxfunc.C: subsequent changes
8508 * lyxfunc.h: new view() member function
8510 * lyxfunc.C: subsequent changes
8512 2002-08-13 Angus Leeming <leeming@lyx.org>
8515 * BufferView_pimpl.C:
8523 changes due to the changed LyXView interface that now returns references
8524 to member variables not pointers.
8526 2002-08-13 Angus Leeming <leeming@lyx.org>
8528 * WordLangTuple (word, lang_code): return references to strings,
8533 * lyxtext.h: forward-declare WordLangTuple.
8538 * text.C: #include "WordLangTuple.h".
8541 * text.C: (selectNextWordToSpellcheck): constify return type.
8543 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8549 * paragraph_pimpl.h:
8552 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8554 Made updateCounter always count from start of buffer, and removed
8555 second argument (par).
8556 Reverted floats number display to '#'. Perhaps I'll try again when the
8557 code base is sanitized a bit.
8559 2002-08-12 Angus Leeming <leeming@lyx.org>
8561 * buffer.[Ch] (getLabelList): constify.
8563 2002-08-07 André Pönitz <poenitz@gmx.net>
8565 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8567 * funcrequest.h: extension to keep mouse (x,y) position
8569 2002-08-12 Juergen Vigna <jug@sad.it>
8571 * BufferView2.C (insertErrors): forbid undo when inserting error
8574 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8576 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8578 * ParagraphList.[Ch]: new files
8580 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8582 * BufferView2.C (lockInset): ParagraphList changes
8585 * bufferlist.C: ditto
8589 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8591 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8592 unused class variable counter_,
8594 * paragraph.[Ch] (getFirstCounter): delete unused function
8596 * counters.C: include LAssert.h
8597 (reset): add a new function with no arg, change other version to
8598 not have def. arg and to not allow empty arg.
8600 * text2.C (setCounter): remove empty arg from call to Counters::reset
8602 2002-08-11 John Levon <levon@movementarian.org>
8604 * Makefile.am: add WordLangTuple.h
8606 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8608 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8609 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8611 * insets/insettext.C: InsetList changes
8613 * graphics/GraphicsSupport.C (operator()): InsetList changes
8615 * toc.C (getTocList): InsetList changes
8617 * paragraph_pimpl.[Ch]: InsetList changes
8619 * paragraph.[Ch]: InsetList changes
8621 * buffer.C (inset_iterator): InsetList changes
8622 (setParagraph): ditto
8623 * buffer.h (inset_iterator): ditto
8624 * iterators.C (operator++): ditto
8625 * iterators.h: ditto
8627 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8629 * InsetList.[Ch]: new files, most InsetList handling moved out of
8632 * BufferView2.C (removeAutoInsets): InsetList changes
8634 (ChangeInsets): ditto
8636 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8638 * paragraph_pimpl.h (empty): new function
8640 * paragraph.[Ch] (empty): new function
8642 * other files: use the new Paragraph::empty function
8644 2002-08-09 John Levon <levon@movementarian.org>
8646 * lyxtext.h: remove unused refresh_height
8648 2002-08-09 John Levon <levon@movementarian.org>
8655 * paragraph.C: move sgml char escaping out of paragraph
8658 * paragraph.C: remove id setter
8662 * paragraph_pimpl.C: remove dead tex_code_break_column
8664 * bufferview_funcs.C: small cleanup
8666 * lyxfunc.C: remove dead proto
8668 * lyxtext.h: make some stuff private. Remove some dead stuff.
8670 * lyxgluelength.C: make as[LyX]String() readable
8672 2002-08-08 John Levon <levon@movementarian.org>
8677 * ToolbarDefaults.C:
8680 * toc.C: lyxaction cleanup
8682 2002-08-08 John Levon <levon@movementarian.org>
8684 * BufferView2.C: small cleanup
8687 * lyxfind.C: move unnecessary header into the .C
8689 2002-08-08 John Levon <levon@movementarian.org>
8691 * funcrequest.h: just tedious nonsense
8694 * lyx_main.C: cleanups
8697 * vspace.C: remove dead header lyx_main.h
8699 2002-08-07 Angus Leeming <leeming@lyx.org>
8702 * paragraph_pimpl.h:
8703 Forward declare class Counters in paragraph.h by moving the ctrs member
8704 variable into Paragraph::Pimpl.
8705 (counters): new method, returning a reference to pimpl_->ctrs.
8707 * text2.C: ensuing changes.
8709 2002-08-07 John Levon <levon@movementarian.org>
8711 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8713 * BufferView_pimpl.C: announce X selection on double/triple
8716 * lyx_main.C: use correct bool in batch dispatch
8718 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8720 2002-08-07 André Pönitz <poenitz@gmx.net>
8722 * funcrequest.h: new class to wrap a kb_action and its argument
8725 * BufferView_pimpl[Ch]:
8729 * lyxrc.C: subsequent changes
8732 2002-08-07 John Levon <levon@movementarian.org>
8734 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8735 document options change.
8737 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8742 * makefile.am: move counters functionality over from
8743 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8745 2002-08-06 John Levon <levon@movementarian.org>
8747 * WordLangTuple.h: new file for word + language code tuple
8758 * BufferView2.C: use WordLangTuple
8761 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8763 2002-08-06 John Levon <levon@movementarian.org>
8765 * lyx_main.C: fix cmdline batch handling
8767 2002-08-06 André Pönitz <poenitz@gmx.net>
8769 * lyxrc.C: set default for show_banner to true
8771 2002-08-06 John Levon <levon@movementarian.org>
8773 * pspell.C: fix a crash, and allow new aspell to work
8775 2002-08-06 John Levon <levon@movementarian.org>
8778 * kbmap.C: small cleanup
8781 * vspace.C: add const
8783 2002-08-05 John Levon <levon@movementarian.org>
8785 * LyXAction.C: back to tabular-insert
8787 2002-08-04 John Levon <levon@movementarian.org>
8790 * BufferView.C: cosmetic change
8792 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8802 * BufferView2.C: purge all "Lyx" not "LyX" strings
8805 * lyxcursor.C: attempt to add some documentation
8810 * ToolbarDefaults.C:
8811 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8812 merge with LFUN_TABULAR_INSERT
8819 * pspell.C: split up i/pspell implementations into separate
8820 files, many cleanups
8822 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8824 * text2.C: some cleanup
8826 * lyxfunc.C: don't check for isp_command == "none" any more, it
8827 didn't make any sense
8829 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8834 * makefile.am: move counters functionality over
8835 from text2.C/paragraph.[Ch] to counters.[Ch], and
8837 2002-08-02 John Levon <levon@movementarian.org>
8839 * buffer.C: s/lyxconvert/lyx2lyx/
8841 2002-08-02 Angus Leeming <leeming@lyx.org>
8843 * lyxlex.C: revert John's change as it breaks reading of the user
8846 2002-08-02 Angus Leeming <leeming@lyx.org>
8848 * importer.C (Import):
8849 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8850 changes due to LyXView::view() now returning a boost::shared_ptr.
8852 2002-08-02 John Levon <levon@movementarian.org>
8854 * lyxlex.C: small cleanup
8856 2002-08-02 John Levon <levon@movementarian.org>
8858 * text2.C (status): small cleanup, no logic change
8860 2002-08-01 John Levon <levon@movementarian.org>
8863 * buffer.C (writeFile): don't output alerts, caller
8867 * lyx_cb.C: from above
8869 * lyxfunc.C: allow to open non-existent files
8871 2002-07-31 John Levon <levon@movementarian.org>
8873 * lyxserver.C: don't let incidental errors get
8876 2002-07-30 John Levon <levon@movementarian.org>
8878 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8880 2002-07-30 John Levon <levon@movementarian.org>
8883 * lyxserver.C: remove I/O callback too
8885 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8887 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8890 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8892 * many files: strip,frontStrip -> trim,ltrim,rtrim
8894 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8896 * PrinterParams.h: remove extern containsOnly, and include
8897 support/lstrings.h instead.
8899 * LaTeX.C (scanAuxFile): modify because of strip changes
8901 * buffer.C (makeLaTeXFile): ditto
8902 * bufferparams.C (writeFile): ditt
8903 * lyxfont.C (stateText): ditto
8904 * lyxserver.C (read_ready): ditto
8905 * vc-backend.C (scanMaster): ditto
8907 * BufferView_pimpl.h: ws changes
8909 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8911 2002-07-26 André Pönitz <poenitz@gmx.net>
8913 * kb_sequence.C: remove unnedred usings
8915 2002-07-26 Juergen Vigna <jug@sad.it>
8917 * lyxfind.C (LyXReplace): we have to check better if the returned
8918 text is not of theLockingInset()->getLockingInset().
8920 2002-07-25 Juergen Vigna <jug@sad.it>
8922 * lyxfind.C (LyXReplace): don't replace if we don't get the
8925 * undo_funcs.C (createUndo): remove debugging code.
8927 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8929 * buffer.C (parseSingleLyXformat2Token): Use default placement
8930 when reading old floats.
8932 * FloatList.C (FloatList): Change the default placement of figure
8933 and tables to "tbp".
8935 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8937 * MenuBackend.C: using std::max
8939 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8941 * MenuBackend.C (expandToc):
8942 (expandToc2): code moved from xforms menu frontend. It is now
8943 generic and TOCs are transparent to menu frontends.
8945 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8947 * toc.C (getTocList): protect against buf=0
8949 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8950 Menu as first parameter. Now, this calls itself recursively to
8951 expand a whole tree (this will be useful for TOC handling)
8952 (expandFloatInsert): remove 'wide' version of floats
8954 * MenuBackend.h (submenuname): returns the name of the submenu.
8955 (submenu): returns the submenu itself, provided it has been
8956 created by MenuBackend::expand
8958 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8960 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8961 insets which have noFontChange == true. (bug #172)
8963 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8965 * BufferView_pimpl.C: add connection objects and use them...
8968 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8970 * MenuBackend.C (expandLastfiles):
8973 (expandFloatListInsert):
8974 (expandFloatInsert):
8975 (expand): split expand in parts
8977 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8979 * lyx_gui.C: use lyx_gui::exit()
8981 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8983 * LyXAction.C: show the failing pseudo action
8985 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8987 * buffer.C (readFile): Run the lyxconvert script in order to read
8990 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8994 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8996 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9000 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9002 2002-07-22 Herbert Voss <voss@lyx.org>
9005 * lyxlength.[Ch]: add support for the vertical lengths
9007 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9009 * toc.[Ch]: std:: fixes
9011 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9013 * lyxrc.C: do not include lyx_main.h
9015 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9021 * BufferView2.C: include "lyxlex.h"
9024 * bufferparams.h: do not #include "lyxlex.h"
9026 * lyxtextclasslist.C (Add): remove method
9027 (classlist): renamed to classlist_
9029 * paragraph_pimpl.C:
9033 * bufferview_funcs.C:
9038 * toc.C (getTocList): use BufferParams::getLyXTextClass
9040 * toc.C (getTocList): use InsetFloat::addToToc
9042 * toc.[Ch]: new files, containing helper functions to handle table
9045 * lyxfunc.C (dispatch): no need to remove spaces around command
9047 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9048 first command of the sequence; it is not very clever, but I do not
9049 have a better idea, actually
9051 * LyXAction.C (LookupFunc): make sure to remove space at the
9052 beginning and end of the command
9054 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9056 * MenuBackend.C (getMenubar): new method: return the menubar of
9058 (read): treat differently reading of menu and menubar (in
9059 particular, the menubar has no name now)
9060 (Menu::menubar): remove
9062 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9065 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9067 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9068 a bibitem inset in a RTL paragraph.
9070 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9072 * paragraph_pimpl.C: constify
9074 * BufferView_pimpl.C:
9076 * lyxfunc.C: fix dispatch in a nicer way
9078 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9080 * lyxfunc.C (dispatch):
9081 * BufferView_pimpl.C:
9082 * BufferView_pimpl.h:
9084 * BufferView.h: rename Dispatch() to dispatch()
9086 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9088 * lyxlayout.C (Read): honor DependsOn tag
9090 * lyxlayout.[Ch] (depends_on): new method
9092 * version.C.in: update lyx_docversion
9094 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9096 * paragraph.C (validate): remove from here...
9097 * paragraph_pimpl.C (validate): ... and move here
9098 (isTextAt): make it const
9100 * buffer.C (getLists): ws cleanup
9102 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9104 * language.C (read): Use iso8859-1 encoding in latex_lang
9105 (this prevents LyX from crashing when using iso10646-1 encoding).
9107 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9109 * text2.C (toggleInset): if cursor is inside an inset, close the
9110 inset and leave cursor _after_ it
9112 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9114 * lyxfunc.C: move minibuffer completion handling out of here
9116 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9118 * BufferView_pimpl.C:
9119 * LaTeX.C: fix dispatch calls
9121 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9123 * text.C (drawChars): Fix Arabic text rendering.
9125 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9129 * lyxfunc.C: remove message-push/pop
9133 * lyxfunc.C: rationalise some code by removing verboseDispatch
9134 in favour of a bool argument to dispatch()
9136 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9138 * lyx_main.C (init): make sure to read symlinks as absolute paths
9140 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9143 * lyxfunc.C: no need for commandshortcut to be a member
9145 2002-07-15 André Pönitz <poenitz@gmx.net>
9147 * converter.C: add support for $$s (scripts from lib/scripts dir)
9148 * lyx_main.C: white space
9150 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9154 * lyxrc.C: remove second exit confirmation
9156 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9161 * BufferView_pimpl.h:
9162 * BufferView_pimpl.C:
9163 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9165 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9167 * MenuBackend.C (expand): add numeric shortcuts to document menu
9169 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9171 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9173 * lyxfont.C (setLyXFamily):
9180 * buffer.C (asciiParagraph): use ascii_lowercase
9182 2002-07-15 Mike Fabian <mfabian@suse.de>
9184 * lyxlex_pimpl.C (search_kw):
9185 * lyxlex.C (getLongString):
9186 * converter.h (operator<):
9187 * converter.C (operator<):
9188 * buffer.C (parseSingleLyXformat2Token):
9190 * ToolbarDefaults.C (read):
9191 * MenuBackend.C (checkShortcuts):
9193 * LColor.C (getFromGUIName):
9194 (getFromLyXName): use the compare_ascii_no_case instead of
9195 compare_no_case, because in turkish, 'i' is not the lowercase
9196 version of 'I', and thus turkish locale breaks parsing of tags.
9198 2002-07-16 Angus Leeming <leeming@lyx.org>
9200 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9201 now takes a Buffer const & argument.
9203 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9205 * BufferView.C (resize): check there's a buffer to resize
9207 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9209 * lyxfunc.C: remove dead code
9212 * lyxserver.C: use lyx_guii::set_read_callback
9214 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9216 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9217 an inset in a RTL paragraph.
9219 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9221 * lyxfunc.C: repaint after a font size update
9223 2002-07-15 André Pönitz <poenitz@gmx.net>
9225 * lyxlength.C: inBP should be able to return negative values
9227 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9229 * lyxfunc.C: use lyx_gui::update_fonts()
9231 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9233 * lyxfunc.C: use lyx_gui::update_color()
9235 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9241 * lyxrc.C: remove file->new asks for name option, and let
9242 buffer-new take an argument
9244 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9246 * BufferView_pimpl.C: remove unneeded extra repaint()
9248 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9250 * LyXAction.C: allow command-sequence with NoBuffer
9252 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9254 2002-07-10 Angus Leeming <leeming@lyx.org>
9256 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9258 2002-07-09 Angus Leeming <leeming@lyx.org>
9260 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9262 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9264 * lengthcommon.h: whitespace
9266 * lyxfunc.C: update scrollbar after goto paragraph
9268 * lyxtext.h: factor out page break drawing, and fix it so
9269 page break/added space paints as selected nicely
9271 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9273 * BufferView_pimpl.C: add FIXMEs, clean up a little
9275 2002-07-09 André Pönitz <poenitz@gmx.net>
9277 * lyxfont.[Ch]: support for wasy symbols
9279 2002-07-08 André Pönitz <poenitz@gmx.net>
9281 * BufferView_pimpl.C: apply John's patch for #93.
9283 2002-07-05 Angus Leeming <leeming@lyx.org>
9285 * BufferView_pimpl.C (buffer): generate previews if desired.
9287 * LColor.h: add "preview" to the color enum.
9289 * LColor.C (LColor): add a corresponding entry to the items array.
9291 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9294 2002-07-05 Angus Leeming <leeming@lyx.org>
9296 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9297 The body of the code is now in the method that is passed an ostream &
9298 rather than a file name.
9299 Pass an additional only_preamble parameter, useful for the forthcoming
9302 2002-07-03 André Pönitz <poenitz@gmx.net>
9304 * lyxfunc.C: simplify getStatus() a bit for math stuff
9306 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9308 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9310 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9312 * text.C (changeRegionCase): do not change case of all the
9313 document when region ends at paragraph end (bug #461)
9315 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9317 * paragraph.C (startTeXParParams):
9318 (endTeXParParams): add \protect when necessary
9320 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9322 * BufferView_pimpl.C (workAreaExpose): remove warning
9324 2002-06-27 Angus Leeming <leeming@lyx.org>
9326 * Makefile.am: add lyxlayout_ptr_fwd.h.
9328 2002-06-26 André Pönitz <poenitz@gmx.net>
9330 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9332 2002-06-25 Angus Leeming <leeming@lyx.org>
9334 * lyxfunc.C (dispatch): Comment out the call to
9335 grfx::GCache::changeDisplay. The method no longer exists now that the
9336 pixmap generation part of the graphics loader has been moved into
9339 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9341 * text2.C: layout as layout
9343 * text.C: layout as layout
9345 * tabular.C (OldFormatRead): layout as layout
9347 * paragraph_pimpl.C (TeXDeeper): layout as layout
9348 (realizeFont): layout as layout
9350 * paragraph.C (writeFile): layout as layout
9351 (validate): layout as layout
9352 (getFont): layout as layout
9353 (getLabelFont): layout as layout
9354 (getLayoutFont): layout as layout
9355 (breakParagraph): layout as layout
9356 (stripLeadingSpaces): layout as layout
9357 (getEndLabel): layout as layout
9358 (getMaxDepthAfter): layout as layout
9359 (applyLayout): layout as layout
9360 (TeXOnePar): layout as layout
9361 (simpleTeXOnePar): layout as layout
9362 (TeXEnvironment): layout as layout
9363 (layout): layout as layout
9364 (layout): layout as layout
9366 * lyxtextclass.C (compare_name): new functor to work with
9367 shared_ptr, layout as layout
9368 (Read): layout as layout
9369 (hasLayout): layout as layout
9370 (operator): layout as layout
9371 (delete_layout): layout as layout
9372 (defaultLayout): layout as layout
9374 * lyxlayout_ptr_fwd.h: new file
9376 * lyxlayout.C (Read): layout as layout
9378 * lyx_cb.C (MenuInsertLabel): layout as layout
9380 * bufferlist.C (newFile): layout as layout
9382 * buffer.C (readLyXformat2): layout as layout
9383 (parseSingleLyXformat2Token): layout as layout
9384 (insertStringAsLines): layout as layout
9385 (asciiParagraph): layout as layout
9386 (latexParagraphs): layout as layout
9387 (makeLinuxDocFile): layout as layout
9388 (simpleLinuxDocOnePar): layout as layout
9389 (makeDocBookFile): layout as layout
9390 (simpleDocBookOnePar): layout as layout
9391 (getLists): layout as layout
9393 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9395 * CutAndPaste.C (cutSelection): layout as layout
9396 (pasteSelection): layout as layout
9397 (SwitchLayoutsBetweenClasses): layout as layout
9399 * BufferView_pimpl.C (Dispatch): layout as layout
9400 (smartQuote): layout as layout
9402 * BufferView2.C (unlockInset): layout as layout
9404 2002-06-24 André Pönitz <poenitz@gmx.net>
9406 * lyxfunc.C: fix #487
9408 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9412 * lyxfunc.C: remove display_shortcuts, show_banner
9414 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9416 * Buffer_pimpl.C: oops, update on resize
9418 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9425 * BufferView.C: use repaint()
9427 * BufferView_pimpl.h:
9428 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9429 as it's a clearer description. Remove superfluous
9432 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9434 * text.C: fix bug 488. Not ideal, but getting
9435 getWord() to work properly for the insets that
9436 matter is more difficult ...
9438 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9440 * BufferView_pimpl.C:
9443 * lyxfunc.C: remove the six million index lyxfuncs to just
9444 one, and DTRT (bug 458)
9446 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9450 * BufferView_pimpl.h:
9451 * BufferView_pimpl.C: clean up resize() stuff,
9452 and unnecessary updateScreen()s
9454 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9458 * BufferView_pimpl.h:
9459 * BufferView_pimpl.C:
9462 * minibuffer.C: remove focus management of workarea,
9463 not needed. Use screen's greyOut()
9465 2002-06-17 Herbert Voss <voss@lyx.org>
9467 * converter.C: (convert) do not post a message, when converting
9468 fails, let the calling function decide what to do in this case
9470 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9472 * lyxfunc.C: tidy up a little
9474 2002-06-16 <alstrup@diku.dk>
9476 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9477 Got rid of FORMS_H_LOCATION include. Now we are
9480 2002-06-15 LyX Development team <lyx@rilke>
9482 * buffer.[Ch] (sgmlOpenTag):
9483 (sgmlCloseTag): Added support for avoiding pernicious mixed
9484 content. Return number of lines written.
9487 (makeDocBookFile): Fixed calls to sgml*Tag.
9488 Simple white space clean.
9490 (simpleDocBookOnePar): Simple white space clean.
9492 * tabular.[Ch] (docBook): Renamed to docbook and got another
9493 argument to related with the pernicious mixed content.
9495 (docbookRow): Fixed calls for docbook inset method.
9497 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9499 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9500 so it's X11 independent.
9504 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9506 2002-06-15 Lyx Development team <lyx@electronia>
9508 * intl.h: Renamed getTrans to getTransManager.
9510 2002-06-14 Angus Leeming <leeming@lyx.org>
9512 * Makefile.am: nuke forgotten stl_string_fwd.h.
9514 2002-06-12 Angus Leeming <leeming@lyx.org>
9516 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9518 2002-06-13 Angus Leeming <leeming@lyx.org>
9521 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9523 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9525 * kbmap.C (getiso): add support for cyrillic and greek
9527 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9531 * BufferView_pimpl.h:
9532 * BufferView_pimpl.C: move bogus scrolling logic
9535 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9538 * BufferView_pimpl.C: view->resize() change
9540 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9542 * BufferView_pimpl.C: topCursorVisible
9545 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9549 * lyx_gui.C: move to frontends/
9553 * lyx_main.C: changes from above
9555 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9562 * lyx_main.C: minor tidy
9564 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9566 * BufferView_pimpl.h:
9567 * BufferView_pimpl.C:
9569 * BufferView.C: make painter() const,
9572 * BufferView2.C: use screen() accessor
9575 * lyx_main.C: some minor cleanup
9577 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9579 * BufferView_pimpl.h:
9580 * BufferView_pimpl.C: remove enter/leaveView,
9583 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9588 * BufferView_pimpl.h:
9589 * BufferView_pimpl.C: only construct screen once,
9592 * lyxrc.C: remove pointless comment
9594 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9597 * BufferView.C: remove active() and belowMouse()
9599 * BufferView_pimpl.h:
9600 * BufferView_pimpl.C: use workarea() not workarea_,
9601 and make it use a scoped_ptr instead
9603 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9605 * lyx_gui.C: add debug message on BadWindow
9607 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9609 * sp_spell.C: fdopen is not part of the C++ standard.
9611 * paragraph.C (InsetIterator): use >= instead of ==
9613 2002-06-07 Angus Leeming <leeming@lyx.org>
9615 Fixes needed to compile with Compaq cxx 6.5.
9616 * BufferView_pimpl.C:
9623 * lyxtextclasslist.C:
9628 all c-library variables have been moved into namespace std. Wrap
9629 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9634 Add a using std::abs declaration.
9636 * kbmap.h (modifier_pair):
9637 * paragraph.h (InsetTable, InsetList):
9638 * lyxfont.h (FontBits):
9639 type definition made public.
9641 * bufferlist.C (emergencyWriteAll): the compiler complains that
9642 there is more than one possible lyx::class_fun template to choose from.
9643 I re-named the void specialisation as lyx::void_class_fun.
9645 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9647 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9648 the compiler is is unable to find tostr in write_attribute.
9650 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9652 * buffer.C (sgmlError): hide #warning
9654 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9656 * xtl/*: get rid of xtl, which is not in use anyway
9658 * LyXAction.C (init):
9659 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9660 were unimplemented xtl experimentation
9662 2002-06-04 André Pönitz <poenitz@gmx.net>
9664 * lyxfunc.C: disable array operation on simple formulae
9666 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9668 * converter.C: constify a bit
9670 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9672 * lyx_gui.C: check xforms version correctly
9674 2002-04-30 Herbert Voss <voss@lyx.org>
9676 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9679 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9681 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9682 attempt to register it with a VCS)
9684 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9686 * lyx_main.C (init): honor variables LYX_DIR_13x and
9689 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9693 * lyx_main.C: fix a crash on bad command line,
9694 and give a useful exit status on error
9696 * lyxfunc.C (doImport): allow -i lyx to work
9698 2002-03-30 André Pönitz <poenitz@gmx.net>
9700 * lyxfunc.C: mathed font changes
9702 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9717 * trans_mgr.h: srcdocs, and some minor cleanups
9719 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9721 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9722 call getFont all the time)
9724 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9726 * switch from SigC signals to boost::signals
9728 2002-05-29 André Pönitz <poenitz@gmx.net>
9730 * paragraph_pimpl.C (getChar): don't call size() too often...
9732 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9734 * paragraph_pimpl.C (insertChar): do not try to update tables when
9735 appending (pos == size())
9737 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9738 in order to reduce drastically the number of comparisons needed to
9739 parse a large document
9741 2002-05-29 André Pönitz <poenitz@gmx.net>
9747 * textclasslist.[Ch]:
9748 * sp_ispell.h: whitespace change
9750 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9752 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9753 lyxaction directly now.
9755 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9759 * lyxvc.C: remove unused headers
9761 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9768 * undo_funcs.C: some cleanups. Use shared_ptr
9769 and a template for the undo stacks.
9771 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9773 * BufferView_pimpl.h:
9774 * BufferView_pimpl.C:
9781 * text2.C: use key_state/mouse_state
9783 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9785 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9788 * chset.C: change include order
9789 (loadFile): use boost regex and get rid of LRegex and LSubstring
9791 * Makefile.am (BOOST_LIBS): new variable
9794 * LaTeX.C: change include order.
9795 (scanAuxFile): use boost regex and get rid of LRegex and
9799 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9804 * FontInfo.C: moved to frontends/xforms/
9807 * FontLoader.C: moved into frontends for GUIIzation
9812 * lyxfunc.C: changes from above
9814 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9816 * LColor.C: remove spurious X include
9818 * BufferView_pimpl.C:
9823 * text2.C: move font metrics to frontends/
9825 2002-05-24 Juergen Vigna <jug@sad.it>
9827 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9828 setting the undo_cursor.
9830 * ParagraphParameters.h: include local includes first.
9832 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9834 * BufferView_pimpl.C:
9835 * BufferView_pimpl.h:
9839 * screen.C: move WorkArea into frontends/
9845 * BufferView2.C: move LyXScreen into frontends/
9849 * lyx_gui.C: move lyxlookup into frontends/xforms/
9851 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9854 * BufferView_pimpl.C:
9864 * bufferview_funcs.C:
9877 * vc-backend.C: move LyX/XFormsView into frontends/
9879 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9891 * text2.C: move Painter to frontends/
9893 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9895 * buffer.C: comment out some some code that depend upon lyx_format
9898 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9899 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9901 * buffer.h (NO_COMPABILITY): turn off compability
9903 * ColorHandler.C: include scoped_array.hpp
9905 * font.C: Use more specific smart_ptr header.
9908 * ShareContainer.h: ditto
9912 * BufferView_pimpl.h: ditto
9913 * ColorHandler.h: ditto
9915 * kbmap.C (defkey): change call to shared_ptr::reset
9917 2002-05-21 Juergen Vigna <jug@sad.it>
9919 * buffer.C (insertErtContents): fix to insert ert asis if it is
9920 non empty. Skip it completely if it contains only whitespaces.
9922 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9924 * BufferView_pimpl.C:
9925 * BufferView2.C: clear selection on paste (bug 393)
9927 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9929 * DepTable.C: include ctime
9931 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9933 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9935 2002-05-14 Juergen Vigna <jug@sad.it>
9937 * text.C (breakParagraph): fixed function to honor the keepempty
9938 layout in the right maner and also to permit the right breaking
9939 algorithm on empty or non empyt keepempty paragraphs.
9941 * paragraph.C (breakParagraph): we have to check also if the par
9942 is really empty (!size()) for isempty otherwise we do the wrong
9945 2002-05-10 Juergen Vigna <jug@sad.it>
9947 * buffer.[Ch] : The following are only changes to the ert
9948 compatibility read reading old LaTeX layout and font stuff and
9949 convert it to ERTInsets.
9951 * buffer.h: added isErtInset().
9953 * buffer.C (struct ErtComp): add a fromlayout bool to check
9954 if we're inside a LaTeX layout.
9955 (isErtInset): new helper function.
9956 (insertErtContents): look for other ert insets before this one
9957 and insert the contents there, so that we don't have subsequent
9958 ERT insets with nothing between them. This way we create only one
9959 inset with multiple paragraphs. Also check if we don't insert only
9960 spaces ' ' as they are ignored anyway afterwards in the .tex file
9961 so if we have only spaces we will ignore this latex part in the
9963 (parseSingleLyXformat2Token \\layout): better compatibility when
9964 reading layout-latex stuff.
9965 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9967 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9968 stuff after reading the inset only get the information back from
9971 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9973 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9975 * LaTeXFeatures.C (getBabelOptions): New method.
9977 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9979 * BufferView_pimpl.C (Dispatch): work around missing argument for
9982 2002-05-08 Juergen Vigna <jug@sad.it>
9984 * text.C (leftMargin): handle paragraph leftindent.
9986 * paragraph.C (writeFile): write the new \\leftindent tag.
9987 (validate): handle leftindent code.
9988 (TeXEnvironment): handle paragraphleftindent code again.
9990 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9992 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9993 for paragrap_extra indent code and new token \\leftindent.
9994 (latexParagraphs): handle the leftindent as environment.
9996 * ParameterStruct.h: added leftindent support.
9998 * ParagraphParameters.C (leftIndent): added support functions for
9999 the paragraph left indent.
10001 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10004 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10006 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10009 * text.C (computeBidiTables): No bidi in insetERT.
10011 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10014 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10016 * version.C.in: pre 5
10018 2002-05-02 José Matos <jamatos@fep.up.pt>
10019 * buffer.C (makeDocBookFile): white space changes, add newline to
10021 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10023 * tabular.C (docBook): fix typo.
10025 2002-05-03 Juergen Vigna <jug@sad.it>
10027 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10028 change in LyXText as we can not be sure it was not freed.
10029 (drawOneRow): remove unused code.
10031 * text.C (drawInset): redo the calculation of the need_break_row as
10032 it could have a row which was already freed.
10033 (draw): look at the return value of drawInset and return false if
10034 it also returned false.
10035 (paintRowText): look at the return value of draw and return false if
10036 it also returned false.
10038 * lyxtext.h: added bool return type to drawInset() and draw() so that
10039 if we have a change in the row so that the rowbreak has to be redone
10040 we abort drawing as it will be called again.
10042 2002-05-02 Juergen Vigna <jug@sad.it>
10044 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10045 a change in the maintext also if we're inside an inset.
10046 (Dispatch): set the cursor again after a break line and after the
10047 screen has been updated as it could be we're in a different row.
10049 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10050 to set the cursor behind the pargraph with > size().
10051 (setCursor): check also for the same paragraph when checking where
10052 to put the cursor if we have a NFR inset.
10054 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10055 parts of layout read further up as it still was in the wrong
10058 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10060 * screen.C (drawFromTo): change sine fullRebreak always return
10063 * buffer.C (parseSingleLyXformat2Token): reindent some
10065 * BufferView_pimpl.C (update): change since fullRebreak always
10067 (Dispatch): git rid of the last hardcoded "Standard"s.
10069 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10071 * text2.[Ch] (fullRebreak): make it return void now that we always
10074 2002-04-30 Juergen Vigna <jug@sad.it>
10076 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10077 ert compatibility check for "latex" layout.
10079 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10081 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10082 minipages: use col% instead of p%, and also use the current font.
10083 (makeLaTeXFile): Fix use babel condition.
10084 (parseSingleLyXformat2Token): Correct font when reading old floats.
10086 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10088 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10089 inserting list of floats.
10091 2002-04-25 Herbert Voss <voss@lyx.org>
10093 * MenuBackend.C (expand): don't add the graphics extensions to the
10096 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10098 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10099 non-existing layout, do not complain if it was the default layout
10100 of the original class (bug #342)
10102 2002-04-24 Juergen Vigna <jug@sad.it>
10104 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10105 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10107 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10109 * buffer.C (getBibkeyList): If using \bibliography, return the
10110 option field with the reference itself. Enables us to provide natbib
10111 support when using \bibliography.
10113 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10115 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10117 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10118 natbib is provided by the LaTeX class.
10120 2002-04-23 Juergen Vigna <jug@sad.it>
10122 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10125 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10127 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10129 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10131 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10132 ensuremath around textordmasculine, textordfeminine and
10135 2002-04-19 Juergen Vigna <jug@sad.it>
10137 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10138 reinitializing the buffer otherwise row-dimensions may be wrong.
10139 (update): reset also the selection cursors if they do exits otherwise
10140 their x/y positions may be wrong.
10142 * text2.C (cursorDown): don't enter the inset if we came from a row
10143 above and are one row over the inset.
10145 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10146 really leaving an inset.
10148 2002-04-18 Juergen Vigna <jug@sad.it>
10150 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10151 of the selected paragraph does not have the selected layout also if
10154 * text2.C (setLayout): fixed bug which did not change last selected
10157 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10158 changed the read and substituted \\end_float with \\end_inset!
10160 * BufferView_pimpl.C (cursorPrevious):
10161 (cursorNext): fixed to make it work with rows heigher than the work
10162 area without moving the cursor only the draw of the row.
10163 (workAreaMotionNotify): fix jumping over high rows.
10165 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10167 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10170 2002-04-16 Juergen Vigna <jug@sad.it>
10172 * text2.C (setCursor): set also the irow().
10173 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10175 (cursorDown): support for locking an inset if the x_fix value goes
10176 inside it. That way I can transverse insets too with cursor up/down.
10178 * lyxrow.h: added irow helper function same as other (i) functions.
10180 * BufferView_pimpl.C (cursorPrevious):
10181 (cursorNext): fixed for insets!
10183 2002-04-15 Juergen Vigna <jug@sad.it>
10185 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10186 position otherwise it is wrong in some cases.
10188 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10189 inside the inset before the call.
10191 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10193 * buffer.[Ch] (getBibkeyList): make it const.
10195 2002-04-12 Juergen Vigna <jug@sad.it>
10197 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10199 * text2.C (getCursorX): new helper function
10200 (setCursor): compute also ix_
10201 (setCursorFromCoordinates): set also ix.
10203 * lyxcursor.h: added ix_ and helper functions.
10205 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10207 * buffer.C (insertStringAsLines): dont break paragraph if the this
10208 paragraph is inside an inset which does not permit it!
10210 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10211 also with no chars on this paragraph.
10212 (paintRowText): only paint stuff if it's inside the workarea!
10214 * paragraph.C (breakParagraph): honor keepempty flag and break the
10215 paragraph always below not above.
10217 * BufferView2.C (unlockInset): update the paragraph layout on inset
10218 unlock as we changed paragraph in such a case.
10220 * lyxfind.C (LyXFind): clear the former selection if not found!
10222 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10223 again called in insertChar().
10225 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10226 an inset which uses the whole row!
10227 (rightMargin): ditto.
10228 (insertChar): force a rebreak if we inserted an inset!
10230 2002-03-28 Herbert Voss <voss@lyx.org>
10232 * lyxlength.[Ch]: add inBP() to get the right PS-point
10233 units (BigPoint). With inPixels we have rounding errors
10235 2002-04-11 Juergen Vigna <jug@sad.it>
10237 * text2.C (setCursorFromCoordinates): set iy to the right value.
10238 (setCursor): add check if row->previous exists!
10240 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10241 an old float_type as this was the case in the old code!
10243 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10245 * BufferView2.C (showLockedInsetCursor): use iy
10246 (fitLockedInsetCursor): ditto
10248 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10249 locked insets as there we have the right value now.
10251 * lyxcursor.C: added iy_ variable and iy functions to set to the
10252 baseline of cursor-y of the locked inset.
10254 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10255 (setCursor): fixed for insets which need a full row.
10257 * text.C (rowLastPrintable): don't ignore the last space when before
10258 an inset which needs a full row.
10259 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10260 as last character of a row when before a inset which needs a full row.
10262 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10264 * version.C.in: update date
10266 * text2.C (fullRebreak): try to always return true and see what
10269 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10271 * MenuBackend.C (expand): use Floating::listName
10273 * FloatList.C (FloatList): add listName argument to the built-in
10276 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10277 text associated with the float.
10279 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10281 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10283 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10285 * ShareContainer.h: add a couple of missing typenames.
10287 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10289 * lyxrc.C (getDescription): use _() correctly rather than N_().
10291 2002-03-28 Herbert Voss <voss@lyx.org>
10293 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10294 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10296 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10298 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10299 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10301 2002-03-29 Juergen Vigna <jug@sad.it>
10303 * lyxfunc.C (dispatch): add a missing fitCursor call.
10305 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10306 it was scrolled by a cursor move, so return the bool status.
10308 * BufferView.C (fitCursor): return the bool flag also to the outside
10309 world as this is needed.
10311 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10313 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10314 call the edit() as it is not needed (and wrong) IMO.
10315 (workAreaButtonPress): set the screen_first variable before evt.
10316 unlock the inset as this may change screen_first and then we have
10317 a wrong y position for the click!
10319 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10321 * MenuBackend.C (expand): another translation that I missed
10323 2002-03-28 Juergen Vigna <jug@sad.it>
10325 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10327 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10329 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10331 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10333 * MenuBackend.C (expand): fix export/view/update when there is no
10336 2002-03-27 Herbert Voss <voss@lyx.org>
10338 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10341 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10343 * bufferview_funcs.C (currentState): only show paragraph number
10344 for is DEVEL_VERSION is set.
10346 * lyxfunc.C (dispatch): put warning in INFO channel
10348 * MenuBackend.C (expand): translate the name of floats
10350 * FloatList.C (FloatList): mark the float names for translation
10352 * converter.C (convert): use LibScriptSearch
10354 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10356 * MenuBackend.C (defaults): fix default menu (we might as well get
10359 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10361 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10364 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10366 * lyxvc.C: reorder includes.
10368 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10370 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10373 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10375 * CutAndPaste.C: change layouts earlier on paste
10376 to avoid crashing when calling getFont()
10378 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10380 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10383 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10385 * WorkArea.C: remove 'Pending' debug message.
10387 * most files: ws cleanup
10389 * buffer.[Ch]: ws changes
10391 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10393 2002-03-21 Juergen Vigna <jug@sad.it>
10395 * tabular.C (SetMultiColumn): collapse also the contents of the
10396 cells and set the last border right. Added a Buffer const * param.
10398 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10400 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10403 2002-03-19 Juergen Vigna <jug@sad.it>
10405 * text2.C (clearSelection): reset also xsel_cache.
10407 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10408 where it needs to be called (John tells us to do so too :)
10409 (selectionLost): reset sel_cache.
10411 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10413 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10415 * text2.C (setCursorIntern): put debuging code in INSETS channel
10417 2002-03-19 André Pönitz <poenitz@gmx.net>
10419 * lyxfunc.C: tiny whitespace change
10421 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10423 * ToolbarDefaults.C (init):
10424 * LyXAction.C (init):
10426 * BufferView_pimpl.C (Dispatch):
10427 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10429 2002-03-19 Allan Rae <rae@lyx.org>
10431 * exporter.C (Export): removeAutoInsets before doing anything else.
10432 While I've just introduced a dependency on BufferView this really is
10433 the best place to clean the buffer otherwise you need to cleanup in
10434 a dozen places before calling export or cleanup in a dozen functions
10437 * converter.C (runLaTeX):
10438 (scanLog): Better handling of removeAutoInsets and screen updates.
10440 * lyxfunc.C (dispatch): small whitespace changes
10442 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10444 * WorkArea.C (C_WorkAreaEvent): return a value.
10445 (event_cb): return 1 if we handled the event, 0 otherwise.
10447 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10449 2002-03-18 Juergen Vigna <jug@sad.it>
10451 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10452 (GetAdditionalWidth): ditto.
10453 (RightLine): ditto.
10456 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10457 inset if we're there actually (probably not used right now but this
10458 is the direction to go for unifying code).
10459 (paste): disable code to clear the selection.
10461 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10462 inside an InsetText and move the check further up as it is in the
10465 * text2.C (pasteSelection): set a selection over the pasted text.
10467 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10469 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10470 and libgraphics to build on Cygwin.
10472 2002-03-15 Juergen Vigna <jug@sad.it>
10474 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10475 inserting an Inset into the paragraph. I know this is not the best
10476 fix but we already use current_view in CutAndPaste so we will remove
10477 all of it's using at the same time.
10479 * buffer.C (sgmlError): deactivated function till it is rewritten in
10480 the right mode, now it can create problems.
10482 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10483 before accessing it.
10485 2002-03-14 Juergen Vigna <jug@sad.it>
10487 * undo_funcs.C (textHandleUndo): do the right thing when updating
10488 the inset after the undo/redo.
10490 * text2.C (setCursor): just some testcode for #44 not ready yet.
10492 * undo_funcs.C (textHandleUndo): set the next() and previous()
10493 pointers of the paragraph to 0 before deleting otherwise we have
10494 problems with the Paragraph::[destructor].
10496 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10497 on a paragraph insertion.
10499 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10501 * buffer.C (asciiParagraph): use += operator for char append to
10504 * paragraph.C (getFontSettings): compare >= not just >
10505 (highestFontInRange): ditto
10508 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10510 * paragraph.C: change several algorithm to be more appripriate for
10511 the problem domain. This is lookip in FontList and in the InsetList.
10513 2002-03-13 André Pönitz <poenitz@gmx.net>
10516 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10518 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10523 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10525 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10527 * Painter.C (display): anon helper function, adjust code for this
10529 (pixmap): remove function.
10531 * Painter.h: remove private display variable.
10533 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10535 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10537 * WorkArea.[Ch]: remove figinset_canvas cruft.
10539 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10541 * lyxtextclass.C (operator): add one item cache optimization.
10543 * bufferlist.h: doxy changes
10545 * bufferlist.C: ws changes
10547 * DepTable.[Ch] (ext_exist): place const in the right spot.
10549 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10551 (workAreaExpose): call resizeInsets when the with BufferView changes.
10552 (Dispatch): adjust for protectedBlank removal
10553 (specialChar): call updateInset if the insert went ok.
10555 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10556 specialChar instead.
10558 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10560 * BufferView.h: doxy change
10562 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10564 * lyxtextclass.C (operator[]): remove non-const version
10565 (defaultLayout): remove non-const version
10567 2002-03-12 Juergen Vigna <jug@sad.it>
10569 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10570 did resize the LyXText too.
10572 * buffer.C (readLyXformat2): set layout information on newly allocated
10575 * tabular.C (OldFormatRead): set layout information on the paragraph.
10577 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10579 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10581 2002-03-11 Juergen Vigna <jug@sad.it>
10583 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10585 (resizeCurrentBuffer): force also the insets to resize themselfes.
10586 (moveCursorUpdate): fixed up for InsetText.
10588 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10591 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10592 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10593 value of Dialogs::tooltipsEnabled().
10594 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10596 2002-03-08 Juergen Vigna <jug@sad.it>
10598 * BufferView_pimpl.C (updateInset): update inset inside inset also
10599 if it isn't inside theLockingInset().
10601 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10603 * buffer.C (asciiParagraph): redo some of the word and line length
10605 (getLists): look for Caption instead of caption.
10607 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10609 * buffer.C (Buffer): initialize niceFile to true
10611 (makeLinuxDocFile):
10612 (makeDocBookFile): make sure niceFile is true on exit
10614 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10616 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10618 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10620 * LyXSendto.C: remove.
10621 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10622 * lyx_gui.C: remove now-redundant comment.
10623 * ColorHandler.h: remove forward declaration of class WorkArea.
10624 * lyxfunc.C: remove #include "WorkArea.h".
10626 2002-03-07 Juergen Vigna <jug@sad.it>
10628 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10629 got moved away with the DEPM and also set the inset_owner always
10630 right which before could have been omitted.
10632 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10634 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10635 wanted layout is not found.
10637 2002-03-07 Juergen Vigna <jug@sad.it>
10639 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10641 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10643 * paragraph.C (breakParagraph): use default layout not layout of
10645 (Paragraph): clear ParagraphParameters.
10647 2002-03-06 Juergen Vigna <jug@sad.it>
10649 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10650 otherwise it would not be a valid lenght. Fixed a special case in
10651 the minipage compatibility read where we end the document with a
10654 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10655 was set as it could be 0 for InsetTexts first entry.
10657 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10659 * paragraph.C (writeFile): if layout is empty write out
10660 defaultLayoutName().
10662 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10663 file without named layout we set layout to defaultLayoutName().
10665 2002-03-06 Juergen Vigna <jug@sad.it>
10667 * CutAndPaste.C (copySelection): set layout for new paragraph.
10669 * text.C (prepareToPrint): leave ERT inset left aligned
10670 (leftMargin): don't indent paragraphs inside ERT insets
10672 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10674 * paragraph.C (breakParagraph): dont call clear do the work manually
10676 * paragraph.[Ch] (clear): remove function
10678 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10680 * paragraph.C (Paragraph): dont call clear, the work has already
10683 * lyxtextclass.C (operator): assert if n is empty
10685 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10686 work manually instead.
10688 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10690 * BufferView_pimpl.C: protect selectionLost against text == 0
10692 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10694 * text.C (breakParagraph): fix a setting layout to '0' problem.
10696 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10698 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10699 final location of file, for the included files, and graphics.
10701 2002-03-05 Juergen Vigna <jug@sad.it>
10703 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10705 2002-03-04 Juergen Vigna <jug@sad.it>
10707 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10709 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10710 last column of multicolumn cells.
10711 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10713 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10715 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10716 file if it doesn't go to a temporary file.
10718 * buffer.C (sgmlOpenTag):
10719 (sgmlCloseTag): remove extra newline insertion.
10721 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10723 * text.C (getRowNearY): comment out debug msg
10725 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10727 * text2.C: first -> first_y
10729 * text.C (getRowNearY): add some attemts at a possible
10730 optimization, not working.
10732 * tabular.[Ch]: add BufferParams to several function so that newly
10733 created paragraph can be initialized to he default layotu for the
10736 * tabular-old.C (ReadOld): add buf->params to call of Init
10738 * screen.C: rename text->first to text->first_y
10740 * paragraph.C (breakParagraph): always set layout in the broken
10743 * lyxtextclass.C (Read): remove lowercase
10746 (delete_layout): ditto
10748 * lyxtext.h: rename first -> first_y
10750 * lyxlayout.C (Read): remove lowercase
10753 (obsoleted_by): ditto
10755 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10757 * buffer.C (insertErtContents): add params are to InsetERT
10758 (parseSingleLyXformat2Token): add code to check if a paragraphs
10759 layout really exist.
10760 (parseSingleLyXformat2Token): add params to several inset
10762 (asciiParagraph): remove lowercase, do the layout comparisons with
10765 * BufferView_pimpl.C (cursorNext): first -> first_y
10766 (resizeCurrentBuffer): first -> first_y
10767 (updateScrollbar): first -> first_y
10768 (scrollCB): first -> first_y
10769 (workAreaMotionNotify): first -> first_y
10770 (workAreaButtonPress): first -> first_y
10771 (checkInsetHit): first -> first_y
10772 (cursorPrevious): first -> first_y
10773 (cursorNext): first -> first_y
10774 (Dispatch): add buffer_->params to severl inset contructors
10776 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10778 * lyxlayout.C (Read): remove some debug info that I forgot.
10780 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10781 clean up the code slightly.
10782 (makeLinuxDocFile): ditto
10783 (makeDocBookFile): ditto
10785 * text2.C: layout as string
10787 * text.C: layout as string
10789 * paragraph_pimpl.C: layout as string
10791 * paragraph.[Ch]: layout as string
10793 * lyxtextclasslist.[Ch]: layout as string
10795 * lyxtextclass.[Ch]: layout as string
10797 * lyxtext.h: layout as string
10799 * lyxlayout.[Ch]: layout as string
10801 * lyx_cb.C: layout as string
10803 * bufferview_funcs.C: layout as string
10805 * bufferparams.C: layout as string
10807 * buffer.C: layout as string
10809 * LyXView.[Ch]: layout as string
10811 * LaTeXFeatures.[Ch]: layout as string
10813 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10815 * BufferView_pimpl.C: change current_layout to string, remove
10820 (workAreaButtonRelease): layout as string
10822 * BufferView2.C (unlockInset): adjust
10824 * vspace.C (asLatexCommand): use an explict temp variable.
10826 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10828 * Makefile.am: use FRONTEND_*
10830 2002-03-01 Juergen Vigna <jug@sad.it>
10832 * tabular.C (SetWidthOfMulticolCell): changed to something better
10833 I hope but still work in progress.
10834 (recalculateMulticolumnsOfColumn): renamed function from
10835 recalculateMulticolCells as it is more appropriate now.
10836 (SetWidthOfCell): calculate multicols better.
10838 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10840 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10842 * lyxfunc.C (processKeySym): print sequence also if it is
10843 `deleted' (complete)
10845 * kbsequence.C (print): print sequence even if it is deleted
10846 (complete would be a better word, actually).
10848 * lyxfunc.C (dispatch): print complete options after a prefix key
10850 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10852 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10854 * text2.C (setCharFont): eliminate setCharFont code duplication.
10856 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10858 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10859 LFUN_TABULAR_FEATURE (bug #177)
10861 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10863 * Makefile.am: remove figure.h
10865 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10867 * Bufferview_pimpl.C:
10879 * text2.C: remove #include "lyx_gui_misc.h".
10881 * LaTeX.C: added #include <cstdio>
10883 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10885 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10886 that the paragraph following this one can have.
10888 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10890 * vspace.C (asLatexCommand): fix bogus gcc warning
10892 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10894 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10896 * text2.C (setLayout): get rid of redundant code
10898 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10900 * text2.C (incDepth): make sure depth cannot be increased beyond
10903 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10905 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10906 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10908 * PainterBase.h (image):
10909 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10910 a LyXImage const *.
10912 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10916 * BufferView_pimpl.C:
10917 * BufferView_pimpl.h:
10937 * sp_spell.C: remove fig inset, and the crap house of
10938 cards that follows it
10940 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10945 * os2_errortable.h:
10946 * nt_defines.h: move .h into support/
10948 * vms_defines.h: remove
10950 * WorkArea.C: add space in debug output
10954 * buffer.C: add WITH_WARNINGS
10958 * bufferlist.C: s/retrive/retrieve/, add docs
10967 * chset.C: add docs
10969 * lyxgui.C: add ID to X error handler
10971 * lyxtestclass.c: fix typo
10973 2002-02-26 Juergen Vigna <jug@sad.it>
10975 * tabular_funcs.C (write_attribute): changed so that some default
10976 attributes are not written at all.
10977 (getTokenValue): set default values before trying to read the
10978 value so we have the return value always set as default if we don't
10979 find the token we search for.
10981 * tabular.C (Write): write bools as bools not as strings!
10983 2002-02-22 Juergen Vigna <jug@sad.it>
10985 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10986 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10988 * text.C (leftMargin): don't add an indent for paragraphs inside
10989 tabular cells (fix #208).
10991 2002-02-21 José Matos <jamatos@fep.up.pt>
10993 * tabular.C (docBook): fixed support for long tables.
10995 2002-02-20 Juergen Vigna <jug@sad.it>
10997 * text2.C (getFont): get the drawing font of the Inset if this
10998 paragraph is inside an inset (only important for InsetERT for now).
11000 * buffer.C (insertErtContents): use new lanugage params in ERT
11003 * CutAndPaste.C: commenting out seemingly uneeded code.
11005 2002-02-19 Allan Rae <rae@lyx.org>
11007 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11008 Iterators might be simple to use but they also get invalidated.
11009 (removeAutoInsets): renamed saved cursor tracking variables and added
11010 some comments to clarify what everything does.
11012 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11019 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11020 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11023 * vc-backend.h: remove #include "support/syscall.h"
11027 * converter.C: rearrange #includes in Lars' approved fashion.
11029 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11030 forward declare class Timeout in the header file.
11032 * XFormsView.C: changes due to the above.
11034 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11035 similar to LyXView.
11037 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11038 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11040 2002-02-18 José Matos <jamatos@fep.up.pt>
11042 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11045 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11047 * a lot of small ws changes
11048 * add a lot of using std::XXX
11049 * use std construcs some places where approp.
11050 * use some exisint stuff from lyxfunctional where approp.
11051 * Make file changes to use partial linking (lets test this now...)
11053 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11057 remove #include "support/syscontr.h" as it's redundant. Always has been.
11065 change Systemcalls::System to Systemcalls::Wait and
11066 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11067 No change of functionality, just reflects the stripped down Systemcalls
11070 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11072 * debug.[Ch]: add a GRAPHICS type to the enum.
11074 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11076 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11078 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11081 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11083 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11084 match the changes below.
11086 * text2.C (toggleInset): if there is not editable inset at cursor
11087 position, try to see if cursor is _inside_ a collapsable inset
11090 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11092 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11093 document menu has a nice checkbox
11095 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11097 * lyxlength.C (asLatexString): change PW to output as percent of
11100 * lengthcommon.C: change '%' to 't%'
11102 * lyxfunc.C (dispatch): a few comments from Martin
11104 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11108 * BufferView_pimpl.h:
11109 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11112 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11114 * vspace.C (inPixels): fix compiler warning
11116 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11118 * lyxfunc.C (getStatus): fix status message for disabled commands.
11120 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11122 * BufferView_pimpl.C: fix crash on close buffer
11123 during selection (#227)
11125 2002-01-27 Herbert Voss <voss@lyx.org>
11127 * buffer.C: link old Figure to new graphic inset
11129 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11131 * FontLoader.C (getFontinfo): Change the latex font names in order
11132 to match the names of type1inst.
11134 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11136 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11138 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11139 (extchanged): ditto
11141 (remove_files_with_extension): ditto
11142 (remove_file): ditto
11145 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11146 document is smaller than the work area height. Do not initialize
11147 static variables to 0.
11149 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11151 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11153 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11154 LFUN_LAYOUT_PARAGRAPHS.
11156 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11157 tabular. It is possible to provide a possible cell, which will
11158 typically be the actcell from the corresponding insettabular
11160 * lyxfunc.C (getStatus): small cleanup; disable
11161 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11164 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11166 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11168 * paragraph.C (startTeXParParams):
11169 (endTeXParParams): new methods. The LaTeX code to
11170 start/end paragraph formatting
11171 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11172 empty (fixes bug #200)
11174 * vspace.C (inPixels): adapt to the change below
11175 (inPixels): [later] more cleanups (remove unused variables)
11177 * lyxlength.C (inPixels): change to use a width and a height as
11180 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11182 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11183 Replaced with \paperwidth
11185 * DepTable.C (insert): add std:: qualifier
11187 2002-01-18 Allan Rae <rae@lyx.org>
11189 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11192 * text.C (drawInset): Turned out I didn't know enough about how
11193 rebreaking worked. This fixes most of the redraw problems. I see
11194 an occasional cursor trail when a line is broken now and the cursor
11195 placement can seem out by a few pixels also after a rebreak.
11197 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11199 * buffer.C (parseSingleLyXformat2Token): update because minipage
11200 width is now a LyXLength
11202 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11204 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11207 2002-01-17 Juergen Vigna <jug@sad.it>
11209 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11211 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11212 is set correctly and the inset is updated correctly.
11214 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11216 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11217 the beginning of the loop.
11219 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11221 * lyxrc.C: improve help for use_scalable_fonts
11223 2002-01-17 Allan Rae <rae@lyx.org>
11225 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11227 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11229 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11230 make sure to set their inset_owner to the right value (bug #171)
11232 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11235 * DepTable.C: Implement mtime checking to reduce time spent doing
11238 2002-01-16 Juergen Vigna <jug@sad.it>
11240 * tabular.C (GetAdditionalHeight): one of error fixed.
11242 * lyxrc.C (output): small fix in writing use_pspell.
11244 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11246 * sp_base.h: #include LString.h
11248 2002-01-16 Allan Rae <rae@lyx.org>
11250 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11251 Can someone check this please?
11253 * text.C (drawInset): It was possible that p.row would be removed by
11254 breakAgainOneRow upsetting a few other settings. There may be another
11255 small tweak possible by setting need_break_row = 0 when p.row has been
11256 removed but I don't know enough about the logic here.
11258 2002-01-15 Allan Rae <rae@lyx.org>
11260 * text.C (insertChar): removed conditional truism.
11262 * BufferView2.C (removeAutoInsets): More tweaks.
11263 cur_par_prev could be a stray pointer. Check for trailing empty line
11264 in case last line was cur_par and only had an error inset on it.
11266 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11268 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11271 * vc-backend.C (most methods):
11272 * exporter.C (Export):
11273 * converter.C (convert):
11275 * LyXSendto.C (SendtoApplyCB):
11276 * lyxfunc.C (dispatch):
11280 * lyx_cb.C (AutoSave):
11282 * BufferView_pimpl.C (MenuInsertLyXFile):
11283 * buffer.C (runChktex): use Buffer::filePath().
11285 * buffer.h: rename filename to filename_; rename filepath to
11286 filepath_ and make it private
11287 (filePath): new method
11289 * buffer.C (writeFile): use fileName()
11292 * lyx_main.C (init): fix starting of LyX when the binary is a
11293 link from so,ewhere else.
11295 * minibuffer.C: include <cctype> for isprint
11297 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11299 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11300 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11301 name clash with InsetCollapsable's width function.
11303 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11305 * lastfiles.C: include <iterator>
11307 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11309 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11312 * buffer.C (makeLaTeXFile): ditto.
11313 Also make loop operation more transparent.
11315 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11317 * ToolbarDefaults.C: remove trailing comma closing namespace.
11319 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11321 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11324 * trans.C (Load): comment out unused variable, allowed.
11326 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11328 * minibuffer.[Ch] (append_char): new method to recieve input from the
11329 drop-down completion browser. If a key was pressed, then recieve this
11330 char and append it to the existing string.
11331 (peek_event): modify the positioning data passed to the completion
11332 browser so that it can be placed above the minibuffer rather than below.
11333 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11335 * LyXAction.C (init): alloe error-next for readonly documents.
11337 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11340 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11342 * bufferlist.C (readFile): create the buffer _after_ checking that
11345 * lyxfunc.C (verboseDispatch): fix handling of arguments
11347 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11349 * lyxrc.C: use string::erase() instead of initializing to "".
11352 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11354 * BufferView_pimpl.h:
11355 * BufferView_pimpl.C:
11358 * text2.C: tell X when we have made a selection for copying
11360 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11362 * BufferView_pimpl.C (MenuInsertLyXFile):
11363 * lyxfunc.C (menuNew):
11365 (doImport): add shortcuts to directory buttons
11367 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11370 * lyxfunc.C (setStatusMessage):
11371 (getStatusMessage): new methods
11372 (getStatus):use setStatusMessage instead of setErrorMessage
11373 (dispatch): when function is disabled, set error message here
11374 [instead of in getStatus previously]
11376 * BufferView_pimpl.C (workAreaButtonRelease): update
11377 toolbar/menubar here too.
11379 2002-01-13 Allan Rae <rae@lyx.org>
11381 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11382 Now seems indestructible. Remaining task is to audit all other
11383 code affected by deleteEmptyParagraphMechanism. One small quirk
11384 left is that an empty document with an error in the preamble can
11385 be made to report an error but no error box appears. I don't know
11387 (removeAutoInsets): Improved comments.
11389 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11392 * Thesaurus.C: update for Aiksaurus 0.14
11394 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11396 * text2.C (firstParagraph): removed member function, all uses
11397 replaces with ownerParagraph
11398 (redoParagraphs): here
11399 (updateInset): here
11400 (toggleAppendix): here
11401 * BufferView2.C (insertErrors): here
11402 (setCursorFromRow): here
11404 2002-01-13 Allan Rae <rae@lyx.org>
11406 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11407 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11408 There is still a way to segfault this although you may have to do this
11409 multiple times: Have an InsetERT with an unknown command in it.
11410 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11411 <down-arrow>, <Enter> again, View->DVI, BANG!
11413 * text2.C (setCursor):
11414 (deleteEmptyParagraphMechanism):
11415 * lyxtext.h (setCursor):
11416 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11417 Making use of the return value may help fix other bugs.
11419 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11421 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11423 * LyXView.C (updateMenubar): call MenuBar::update here
11424 (updateToolbar): but not here
11425 (showState): do not update toolbar/menubar
11427 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11428 should need to care about that.
11430 * lyxfunc.C (verboseDispatch): simplify a bit
11431 (getStatus): have a version which takes a pseudoaction, and
11432 another which requires a (kb_action,string).
11434 * LyXAction.C (retrieveActionArg): make it work also when action
11435 is not a pseudo-action.
11436 (getActionName): simplify a bit
11439 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11441 * lyxfunc.C (verboseDispatch): new families of methods with
11442 several ways to specify a command and a bool to indicate whether
11443 the command name and shortcut should be displayed in minibuffer
11444 (eventually, we could extend that to a finer bitmask like
11445 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11446 (dispatch): the pristine dispatch command which just, well,
11447 dispatchs! Note it still sets its result to minibuffer; I'm not
11450 * lyxfunc.h: remove setHintMessage
11452 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11454 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11456 * BufferView_pimpl.C (specialChar): delete new inset if we have
11457 not been able to insert it.
11459 * kbmap.C: revert to using int instead of kb_action, since all we
11460 are dealing with is pseudo-actions.
11462 * LyXAction.C (searchActionArg): change to return int instead of
11463 kb_action, since the result is a pseudoaction.
11465 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11467 * buffer.C (insertErtContents): Fix (partially) the font bug.
11469 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11471 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11472 as the other one is broken on my machine!
11474 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11477 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11479 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11481 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11482 reflect their actual use. Provide compatibility code for older lyxrc
11485 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11487 change names of popup font variables in line with the changes to lyxrc.C
11489 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11491 * buffer.C (asciiParagraph): avoid outputing a word twice after
11494 * lyxrc.C (getDescription): document that document_path and
11495 template_path can be empty.
11497 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11499 * LaTeXFeatures.C (getMacros):
11500 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11502 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11504 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11506 (getPackages): rename feature "floats" to "float". Use an array to
11507 iterate over 'simple' features (i.e. just a \usepackage). Add
11508 handling of "amsmath" (renamed from "amsstyle").
11510 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11512 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11515 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11517 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11518 FuncStaus::FuncStatus & FuncStaus::some_method().
11520 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11522 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11523 of the func_satus stuff. Edited and massaged in various ways by
11526 * lyxfunc.C (getStatus): use FuncStatus
11528 2002-01-08 Juergen Vigna <jug@sad.it>
11530 * text.C (nextBreakPoint): use function Inset::isChar().
11532 * paragraph.C (TeXOnePar): use function
11533 Inset::forceDefaultParagraphs.
11535 * buffer.C (latexParagraphs): use function
11536 Inset::forceDefaultParagraphs.
11538 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11540 * lyx_gui.C (init): set the style of the menu popups to
11541 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11543 2002-01-07 Juergen Vigna <jug@sad.it>
11545 * text.C (setHeightOfRow): small fix
11546 (prepareToPrint): don't look at alignment if we don't have the place
11549 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11551 * box.C: New file. Move the Box methods and functions out of box.h,
11552 following Lars' suggestion.
11554 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11556 * box.h: #include "support/LOstream.h", needed for inlined function.
11559 * lyxtextclasslist.C: added some using std declarations.
11561 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11563 * box.h: make signed dimensions to allow insets wider than
11564 the screen (bug #162)
11566 * BufferView_pimpl.C: add some insetHit debug
11568 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11570 * vc-backend.C: add FIXME
11572 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11574 * lyxfunc.C (getStatus): enable code for showing math font status
11577 2002-01-07 Juergen Vigna <jug@sad.it>
11579 * text.C (nextBreakPoint): removed debug output not needed anymore.
11581 2002-01-06 Juergen Vigna <jug@sad.it>
11583 * text.C (nextBreakPoint): fixed up this function we had this bug
11584 since ever but now hopefully we break row better.
11585 (insertChar): we have to check if an inset is the next char as it
11586 could now happen that a large inset is causing a break.
11588 2002-01-05 Juergen Vigna <jug@sad.it>
11590 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11591 if it doesn't like to be drawed.
11593 2002-01-04 Juergen Vigna <jug@sad.it>
11595 * BufferView2.C (lockInset): forgot to set a cursor.
11597 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11599 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11601 * FormMathsPanel.C:
11604 * form_maths_panel.C:
11605 * form_maths_panel.h:
11606 * form_maths_panel.fd: implemented sub- and super- buttons in math
11609 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11610 (or ^ space) to be used as in TeX (req'd by André).
11612 * lyxfunc.C: Allow ^ and _ again to be used both as
11613 super/subscript (mathed) and as themselves (in text).
11615 2002-01-03 Allan Rae <rae@lyx.org>
11617 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11618 "LyX" or the filename of the current buffer if it has one. This is a
11619 modified form of John Levon's patch.
11621 * XFormsView.C (setWindowTitle): also set icon title.
11623 * LyXView.h (setWindowTitle): signature changed.
11624 * XFormsView.h (setWindowTitle): ditto.
11626 2002-01-02 Juergen Vigna <jug@sad.it>
11628 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11630 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11632 * screen.C (topCursorVisible): introduce a temp var for
11633 text->cursor.row(), handle the case where this row is null. (kindo
11636 * text2.C (setCursor): add a couple of asserts.
11638 * paragraph.h (inset_iterator): add -> operator
11640 * paragraph.[Ch] (autoDeleteInsets): remove member function
11642 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11643 cursor pos correctly and handle inset deletion by itself.
11644 (insertErrors): move iterator declaration out of for expression
11646 * lyxtextclass.C: add <algorithm>
11648 * Makefile.am: added the new files to sources, removed layout.C
11650 * layout.C: removed file
11652 * layout.h: remove LYX_DUMMY_LAYOUT
11654 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11658 * lyxtextclass.[Ch]:
11659 * lyxtextclasslist.[Ch]: new files
11661 * include order changes to a lot of files, also changes because of
11664 2001-12-27 Juergen Vigna <jug@sad.it>
11666 * buffer.C (asciiParagraph): more fixes.
11668 * tabular.C (ascii): make ascii export support export of only the
11669 data separated by a column-delimiter.
11670 (ascii): better support for ascii export.
11672 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11674 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11676 * tabular_funcs.C: use a "using std::getline" instead of the
11677 previous fix from Angus (necessary for cxx + lyxstring)
11679 2001-12-24 Juergen Vigna <jug@sad.it>
11681 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11683 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11684 problems. First check a minipage also if we have some ert-contents
11685 (not only on par->size(), second set the right depth of the paragraph
11686 on the relink to the root-paragraph-list!
11688 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11689 which then did not anymore update the main paragraphs on undo/redo!
11691 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11693 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11694 code. Support all font-changing funcs (even those which are not in
11695 menu currently). Support for reporting font settings in
11696 mathed (disabled until Andre provides a function on mathed's side).
11698 * func_status.h (toggle): small helper function to set toggle
11701 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11703 * tabular_funcs.C: getline -> std::getline
11705 2001-12-21 Juergen Vigna <jug@sad.it>
11707 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11708 accessed and could be 0 (I couldn't generate this but it seems
11711 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11713 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11714 * tabular_funcs.h: here and include iosfwd
11716 2001-12-20 Juergen Vigna <jug@sad.it>
11718 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11719 inside inset but undo_par was.
11721 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11723 * Thesaurus.C: always include <config.h> in sources.
11727 * box.h: do not include <config.h> in header files
11729 * text.C (paintLastRow): remove unused variable
11731 * text.C (transformChar):
11733 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11735 * Painter.C (text):
11736 * font.C (width): rewrite to use uppercase() instead of
11739 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11741 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11743 * lyxfind.C: clean up of find failure position change
11745 2001-12-20 Juergen Vigna <jug@sad.it>
11747 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11749 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11750 (TeXRow): added to LaTeX a single tabular row.
11751 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11752 (Latex): simplified and finally good LT-h/f support.
11753 (various_functions): just small adaptions for LT-h/f support.
11755 * tabular_funcs.[hC]: added and moved here all not classfunctions
11758 2001-12-19 Juergen Vigna <jug@sad.it>
11760 * tabular.[Ch]: better support for longtabular options (not finished
11763 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11765 * text.C (paintLastRow): use the label font instead of the font of
11766 the last character to compute the size of *_BOX. This makes more
11767 sense and avoids a crash with empty paragraphs.
11768 Use Painter::rectangle to draw EMPTY_BOX.
11770 2001-12-19 Juergen Vigna <jug@sad.it>
11772 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11773 the paragraphs if the replaced paragraph is not the first one!
11774 Tried to delete not used paragraphs but does not work yet so for
11775 now it's inside #ifdef's and by default off!
11777 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11779 * MenuBackend.C: include "lyx_main.h" instead of declaring
11780 lastfiles (actually was declared as LastFiles* instead of a
11783 2001-12-17 Juergen Vigna <jug@sad.it>
11785 * tabular.C (AppendColumn): applied John's fix
11787 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11791 * BufferView_pimpl.h:
11792 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11795 * box.h: new start of class for above
11797 * lyxfunc.C: ignore space-only minibuffer dispatches.
11798 Show the command name when it doesn't exist
11800 * minibuffer.C: don't add empty lines to the history
11802 * minibuffer.C: add a space on dropdown completion
11804 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11806 * text.C: fix line above/below drawing in insets
11808 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11810 * lyxlength.C (LyXLength): Initialize private variables.
11812 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11814 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11815 when inserting error insets.
11817 2001-12-13 Juergen Vigna <jug@sad.it>
11819 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11820 actually sometimes the before-paragraph.
11821 (setUndo): don't clear the redostack if we're not actually undoing!
11823 2001-12-06 Juergen Vigna <jug@sad.it>
11825 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11826 and fixed redoing of main paragraph, so we can use it now ;)
11828 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11830 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11832 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11835 2001-12-13 André Pönitz <poenitz@gmx.net>
11838 * undo_func.C: minor cleanup
11840 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11842 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11843 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11844 font in urw-fonts package which is marked as -urw-fontspecific and
11845 does not work (incidentally, changing the encoding in the
11846 fonts.dir of this package to -adobe-fontspecific fixes the
11849 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11850 is a crash when undoing first paragraph (Juergen, please take a
11851 look). THis does not mean the undo fix is wrong, just that it
11854 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11855 the (Paragraph*) version when needed instead of duplicating the
11858 * text.C (workWidth): use Inset::parOwner to find out where the
11859 inset has been inserted. This is a huge performance gain for large
11860 documents with lots of insets. If Inset::parOwner is not set, fall
11861 back on the brute force method
11863 * paragraph_pimpl.C (insertInset):
11864 * paragraph.C (Paragraph):
11865 (cutIntoMinibuffer): set parOwner of insets when
11866 inserting/removing them
11868 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11870 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11876 * mathed/formulabase.C:
11877 * mathed/math_cursor.[Ch]:
11878 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11881 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11883 * lyxlength.[Ch] (operator!=): new function
11885 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11887 * text.C (workWidth): use Inset::parOwner to find out where the
11888 inset has been inserted. This is a huge performance gain for large
11889 documents with lots of insets. If Inset::parOwner is not set, fall
11890 back on the brute force method
11892 * paragraph_pimpl.C (insertInset):
11893 * paragraph.C (Paragraph):
11894 (cutIntoMinibuffer): set parOwner of insets when
11895 inserting/removing them
11897 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11899 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11901 * tabular-old.C (getTokenValue):
11902 * tabular.C (getTokenValue):
11903 (write_attribute): new versions for LyXLength
11904 (everywhere): adjust the use of widths
11906 * tabular.h: change the type of widths from string to LyXLength
11908 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11910 * paragraph.C: fixed missing line number count when exporting
11911 Environments to LaTeX file
11913 * buffer.C: added informational message for checking line numbers.
11915 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11917 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11918 paragraph, do the 'double space' part, but not the 'empty
11921 * text.C (workWidth): small optimization
11922 (getLengthMarkerHeight): use minimal size for negative lengths.
11924 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11926 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11928 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11930 2001-12-11 André Pönitz <poenitz@gmx.net>
11933 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11935 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11937 * text2.C: keep selection on a setFont()
11939 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11941 * lyx_cb.C: another bv->text misuse, from insert label
11943 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11946 * kbsequence.C: re-instate nmodifier mask
11948 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11950 * lyx_main.h: make lyxGUI private.
11952 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11954 * lyxfind.C: place the cursor correctly on failed search
11956 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11958 * text.C (getLengthMarkerHeight): for small heights, the arrows
11959 are not always on top/bottom of the text
11960 (drawLengthMarker): smaller arrows; take the left margin in
11961 account; draw also vfills.
11963 (paintLastRow): remove special code for vfill and standard spaces,
11964 since everything is handled in drawLengthMarker now.
11966 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11968 * buffer.C (insertErtContents): try to handle font and language
11969 interaction a bit better.g
11971 * ColorHandler.C (updateColor): change the hash to cover the whole
11972 LColor enum, ws cleanup
11973 (getGCLinepars): ditto
11974 (getGCLinepars): only lookup in the linecache once.
11976 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11978 * iterators.C (operator++): Make the iterator more robust
11980 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11982 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11984 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11987 * text.C: better added space drawing
11989 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11992 * BufferView2.C: fix layout combo update on inset unlock
11994 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11996 * Makefile.am: don't compile unused files
11998 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12002 * LyXAction.C: remove old LFUN_LAYOUTNO
12004 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12006 * paragraph_pimpl.h:
12007 * paragraph_pimpl.C: isTextAt() doesn't need font param
12009 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12012 * lyxlex.C: little cleanup
12014 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12016 * BufferView_pimpl.C: fix insertAscii for insets
12018 2001-12-05 Juergen Vigna <jug@sad.it>
12020 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12021 set the right font on the "multi" paragraph paste!
12023 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12029 * lyxlength.C: remove out-commented code.
12031 * BufferView_pimpl:
12045 * vc-backend.C: change "while(" to "while ("
12047 * lyxlength.[Ch]: add zero function to check if length is zero or
12049 * lyxgluelength.C: use it
12051 2001-12-05 Allan Rae <rae@lyx.org>
12053 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12054 Works for 2.95.3, from what I understand of Garst's reports this should
12055 work for other g++ versions. We're screwed if the abs(int) definition
12056 changed between bugfix releases of gcc.
12058 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12060 * text.C: fix chapter label offset !
12062 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12065 * text.C: fix hfill at end of line, clean up
12067 2001-12-04 Juergen Vigna <jug@sad.it>
12069 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12070 that we force an update of the inset and it's owners if neccessary.
12072 2001-12-03 Juergen Vigna <jug@sad.it>
12074 * text.C (rowLast): simplified code
12076 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12078 * lyxfunc.C: fix show options on timeout
12080 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12082 * screen.C (topCursorVisible): scroll half a page when the cursor
12083 reached top of bottom of screen
12085 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12087 * minibuffer.C: deactivate on loss of focus
12089 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12091 * vspace.[Ch] (operator!=): add operator.
12093 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12095 * BufferView_pimpl.C: refuse to open an inset when
12096 there's a selection.
12098 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12100 * BufferView_pimpl.C: allow to click on RHS of full row insets
12102 2001-11-30 Juergen Vigna <jug@sad.it>
12104 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12105 insets for undo reasons.
12107 2001-11-28 André Pönitz <poenitz@gmx.net>
12109 * vspace.[Ch]: cosmetical changes
12111 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12121 * kbsequence.C: part re-write of old kb code
12124 * WorkArea.C: remove Lgb_bug_find_hack
12126 2001-11-30 José Matos <jamatos@fep.up.pt>
12128 * buffer.C (makeDocBookFile): add a comment to point a hack.
12129 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12130 Fixed a double write of labels.
12132 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12135 * LaTeX.h Fixed bug in LaTeX class where it would not
12136 re-run latex if no depfiles were changed, but the .dvi was removed.
12138 2001-11-28 André Pönitz <poenitz@gmx.net>
12140 * all the files from the change on 2001/11/26:
12141 use lyx::layout_type instead of LyXTextClass::size_type
12142 use lyx::textclass_type instead of LyXTextClassList::size_type
12144 2001-11-29 Juergen Vigna <jug@sad.it>
12146 * text.C: added support for paragraph::isFreeSpacing()
12148 * buffer.C: same as above
12150 * paragraph.h: inserted isFreeSpacing() function to enable
12151 FreeSpacing inside InsetERT.
12153 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12154 of the paragraph's in the cut/copy buffer to 0!
12156 * text2.C (removeRow): remove the assert as it can!
12158 * lyxtext.h: added helper function firstRow returning firstrow and
12159 made firstrow private again.
12161 * BufferView2.C (lockInset): don't relock if we're already locked!
12163 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12164 the only paragraph.
12165 (removeRow): added Assert::(firstrow)
12167 * debug.C: forgot to add INSETTEXT here.
12169 2001-11-28 Juergen Vigna <jug@sad.it>
12171 * sp_spell.C (initialize): changed error text to more general
12172 spellchecker command use (not only ispell!)
12174 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12176 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12178 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12180 * vspace.C: initialise lyxgluelength on failure
12182 2001-11-28 Allan Rae <rae@lyx.org>
12184 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12185 declaration & definition that looks like a function declaration.
12187 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12189 * BufferView2.C (copy):
12190 (copyEnvironment): do not clear the selection when doing a copy.
12192 * text.C (paintFirstRow): compilation fix
12194 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12196 * tabular.C (Latex): correct line count when writing latex.
12198 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12200 * paragraph_pimpl.h:
12201 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12204 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12208 * LColor.C: change vfillline->added_space
12210 * text.C: add markers and text for added space
12212 * vspace.C: fix comment
12214 2001-11-28 André Pönitz <poenitz@gmx.net>
12216 * paragraph.C: whitespace changes
12217 * all the other files from the change on 2001/11/26:
12218 change *::pos_type into lyx::pos_type
12220 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12222 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12223 language of the document when inserting error insets.
12225 2001-11-26 André Pönitz <poenitz@gmx.net>
12227 * BufferView_pimpl.[Ch]:
12235 * paragraph_pimpl.[Ch]:
12238 * text2.C: reduce header dependencies, introduce type for positions
12240 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12242 * <various>: change to use Alert.h
12244 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12246 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12247 when encountering an unknown token.
12248 (readLyXformat2): Show an error message if there were unknown tokens.
12250 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12253 * BufferView_pimpl.C:
12257 * text2.C: use par->isInset()
12259 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12261 * paragraph_pimpl.h:
12262 * paragraph_pimpl.C: cleanup
12264 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12266 * text2.C (removeRow):
12267 * text.C (setHeightOfRow): remove useless (and costly) call to
12270 2001-11-20 Allan Rae <rae@lyx.org>
12272 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12273 Now need Inset*::checkInsertChar() to return true for appropriate
12274 cases so that the characters in the minibuffer will actually be
12277 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12279 * text.C: change the order of the includes.
12280 (workWidth): initialize it at once.
12281 (workWidth): make maxw unsigned
12282 (setHeightOfRow): remove unused variable (inset)
12283 (selectSelectedWord): remove unused variable (inset)
12284 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12286 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12288 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12289 server is not running.
12291 (closeConnection): add debug info when server is disabled.
12293 * ColorHandler.C (getGCForeground): send debug message to GUI
12296 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12298 * kbmap.C (bind): modify because return conventions of
12299 kb_sequence::parse have changed.
12301 * kbsequence.C (parse): only ignore spaces and not any stupid
12302 control character. This avoids tests like s[i] <= ' ', which are
12303 guaranteed to fail with 8bit characters and signed chars.
12304 Change return code to string::npos when there have been no error
12305 (0 was a bad idea when error is at first character)
12307 2001-11-14 José Matos <jamatos@fep.up.pt>
12310 * buffer.C (simpleDocBookOnePar): removed unused argument.
12312 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12314 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12315 insets which are part of a word. Paragraph::isLetter takes care of
12316 that now. Use Paragraph::isInset to identify insets.
12317 (selectSelectedWord): do not test for hyphenation break.
12319 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12320 that protected spaces are considered as spaces.
12322 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12325 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12328 * lyxserver.C: fix it. and small cleanup.
12330 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12332 * BufferView_pimpl.C: use inline helpers
12335 * LaTeXFeatures.C: fix typos
12338 * Spacing.C: move spacing_string into class
12340 * ToolbarDefaults.C: move stuff into namespace anon
12342 * layout.h: update enum
12344 * lyxfunc.C: use better debug
12346 * minibuffer.h: fix typo
12350 * WorkArea.C: add and use Debug::WORKAREA
12354 * text2.C: code re-organisation, inline helpers
12356 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12358 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12359 std::vector.empty().
12361 2001-11-09 Allan Rae <rae@lyx.org>
12363 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12364 '\n's after tables. Tabular and ERT inset work now makes this no
12367 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12370 * minibuffer.C: fix crash, improve drop-down completion
12372 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12375 * lyxserver.C: invalidate fd's when doing endPipe()
12377 2001-11-08 José Matos <jamatos@fep.up.pt>
12379 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12380 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12383 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12385 2001-11-07 José Matos <jamatos@fep.up.pt>
12388 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12391 * buffer.C (sgmlOpenTag):
12392 * buffer.C (sgmlCloseTag): removed debug info.
12394 * buffer.h (sgmlOpenTag):
12395 * buffer.h (sgmlCloseTag): made public.
12397 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12399 * buffer.C (saveParamsAsDefaults):
12400 * lyx_cb.C (MenuLayoutSave): remove
12402 * LyXAction.C (init):
12404 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12406 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12408 * buffer.C (setPaperStuff): removed from here...
12410 * bufferparams.C (setPaperStuff): ... and moved there.
12412 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12416 * XFormsView.C: add support for drop-down completion
12418 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12420 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12423 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12425 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12428 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12430 * lyx_main.C: change ref to known bugs
12432 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12434 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12435 to work around older babel problems.
12437 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12439 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12441 2001-10-24 Juergen Vigna <jug@sad.it>
12443 * tabular-old.C (ReadOld): below variable changes reflected.
12445 * tabular.[Ch]: added ltType struct for longtable header/footer
12446 defines and changed all instances where they are used. Added
12447 future support for double top/bottom rows.
12449 2001-10-24 José Matos <jamatos@fep.up.pt>
12451 * buffer.h (docbookHandleCaption):
12452 * buffer.C (docbookHandleCaption): removed unused function.
12453 (makeDocBookFile): moved docbook supported version to v4.1.
12455 2001-10-24 José Matos <jamatos@fep.up.pt>
12458 * tabular.C (docbookRow): new function to export docbook code of a row.
12459 (DocBook): now honors the longtable flags.
12461 2001-10-23 José Matos <jamatos@fep.up.pt>
12464 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12465 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12467 * buffer.C (makeLinuxDocFile):
12468 (makeDocBookFile): reworked the preamble, more clean, and with
12469 support for lyx defined entities. Changed the document declaration
12470 to be more XML friendly.
12472 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12473 if we need to output XML that should be done with a filter.
12475 2001-10-22 Juergen Vigna <jug@sad.it>
12477 * sp_pspell.h (class PSpell): add alive function needed in the
12478 controller to see if the spellchecker could be started.
12480 2001-10-22 Juergen Vigna <jug@sad.it>
12482 * buffer.C (insertStringAsLines): modify the font for inserting
12483 chars in certain conditions by calling checkInsertChar(font).
12485 2001-10-19 Juergen Vigna <jug@sad.it>
12487 * text.C (workWidth): use getRow instead of wrong algorithm.
12488 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12490 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12495 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12497 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12499 * text.C (workWidth): do not search for the exact row when
12500 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12501 optimization for big documents.
12503 2001-10-18 Juergen Vigna <jug@sad.it>
12505 * text.C (workWidth): new function with added Inset * parameter.
12507 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12509 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12511 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12512 change return type of getColumnNearX.
12515 * text.C (changeRegionCase): use uppercase/lowercase instead of
12518 (rightMargin): simplify code by factoring out the uses of
12523 (appendParagraph): use Paragraph::size_type
12525 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12527 * vspace.C (asLatexString): add a missing break
12529 2001-10-15 Herbert Voss <voss@perce.de>
12531 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12533 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12535 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12538 2001-10-10 André Pönitz <poenitz@gmx.net>
12540 * lyxfunc.C: removed greek_kb_flag.
12542 2001-10-10 Herbert Voss <voss@perce.de>
12544 * lyx_main.C: delete global string help_lyxdir.
12546 2001-10-09 Herbert Voss <voss@perce.de>
12548 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12550 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12552 * lyx_main.C: added global string help_lyxdir.
12554 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12556 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12558 * lyxrc.C (set_font_norm_type): support iso8859-4
12560 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12562 * LaTeX.C (deplog): add another regex for MikTeX
12564 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12566 * lyxrc.C (set_font_norm_type): support iso8859-3
12568 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12570 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12572 * LaTeXFeatures.C: remove special case of french and index
12574 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12575 before \begin{document}). This solves several incompatibilities.
12577 2001-10-03 Garst Reese <reese@isn.net>
12579 * lyx_cb.C: change CheckTex error msg.
12581 2001-10-03 José Matos <jamatos@fep.up.pt>
12583 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12585 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12587 * .cvsignore: update
12589 * lyx_main.C (commandLineVersionInfo): use new style version info.
12591 * buffer.C (writeFile):
12593 (makeLinuxDocFile):
12594 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12596 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12598 * version.h: update to use stuff in version.C
12600 * version.C.in: new file. Contains version information determined
12601 at compile time. This is a merging of version.h and
12604 2001-10-03 Juergen Vigna <jug@sad.it>
12606 * BufferView_pimpl.C (update): don't change "dirty" status in
12609 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12611 * WorkArea.C (c-tor): re-position version string slightly.
12613 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12615 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12616 revert to previous code.
12618 WorkArea.[Ch]: (show, destroySplash): methods removed.
12620 WorkArea.C: rework code so that it's an amalgam of the codes before and
12621 after the splash screen was moved to WorkArea.
12623 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12626 * vspace.C (inPixels):
12629 * buffer.C (insertStringAsLines):
12630 (asciiParagraph): fix types to be large enough
12632 * lyxlex_pimpl.h: change member status from short to int
12634 * layout.h: fix type of endlabeltype
12637 * kbsequence.C (parse): change return type to string::size_type
12639 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12642 * Bullet.C (bulletSize):
12643 (bulletEntry): do not use short ints as parameters
12645 * BufferView2.C (insertLyXFile): change a char to an int.
12647 * WorkArea.C (WorkArea): remove unneeded floats in computation
12649 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12651 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12653 * paragraph.C (asString): Do not ignore newline/hfill chars when
12654 copying to the clipboard.
12656 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12658 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12659 after a multi-line inset.
12661 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12663 * paragraph.C (validate): Set NeedLyXFootnoteCode
12665 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12667 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12668 and decrease-error to decrease.
12670 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12672 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12673 it more readable (should be equivalent)
12675 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12677 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12679 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12681 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12682 of a cursor (row, etc.) after a character has been deleted
12683 (deleteEmptyParagraphMechanism): call the method above on _all_
12684 cursors held by the LyXText when a double space has been
12687 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12689 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12691 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12693 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12694 background. Use greyOut() and the new show() methods to toggle between
12695 the foreground and background. Add code to remove the splash after
12696 its initial showing.
12698 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12699 (create_forms): no longer call Dialogs::showSplash.
12701 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12703 * .cvsignore: add version_info.h
12705 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12707 * version_info.h.in: new file
12709 * Makefile.am: add version_info.h.in
12711 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12712 version_info.h instead of VERSION_INFO
12714 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12716 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12717 The ERT inset now returns string().
12719 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12721 * lyxtext.h, text.C (selectNextWord): renamed as
12722 selectNextWordToSpellcheck.
12724 * text.C (selectNextWordToSpellcheck): Modified to not select
12725 words inside an ERT inset.
12727 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12729 * lyx_cb.C (MenuLayoutSave): change a bit the question
12731 * sp_base.h: include <sys/types.h>
12733 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12735 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12737 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12739 * several files: fix typos in user-visible strings
12741 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12743 * text2.C (pasteSelection): do not set the selection, since it
12744 will be cleared later. Actually, the intent was to fix the way the
12745 selection was set, but I figured rmoving the code was just as good.
12747 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12749 * FontLoader.C (available): Check if font is available without
12752 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12754 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12756 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12758 * lyxrc.[Ch]: added display_graphics variable and associated code.
12760 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12762 * bufferparams.C (hasClassDefaults): new method. Returns true if
12763 the buffer parameters correspond to known class defaults
12765 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12767 * XFormsView.C (show): set minimum size to the main window.
12769 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12771 * text2.C (copySelection):
12773 * lyxfind.C (LyXReplace):
12774 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12775 LyXText::selectionAsString.
12777 * paragraph.C (asString): add "label" argument to the second form
12779 * text2.C (selectionAsString): add "label" argument and pass it to
12780 Paragraph::asString.
12782 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12784 * lyx_main.C (commandLineHelp): remove version information
12786 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12788 * lyx_main.C: add -version commandline option
12790 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12792 * paragraph.h: make the optional constructor arg required instead.
12793 some modifications to other files because of this.
12795 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12797 * lyxserver.C (C_LyXComm_callback): make it static
12799 * lyx_main.C (error_handler): make it static
12801 * lyx_gui.C (LyX_XErrHandler): make it static
12803 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12805 * WorkArea.C: make the extern "C" methods static.
12807 * Makefile.am (lyx_LDADD): simplify
12809 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12811 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12812 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12814 * LyXAction.C (init):
12815 * lyxfunc.C (dispatch): associated code removal.
12817 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12819 * lyxfont.h (isSymbolFont): shut off warning
12821 * text.C (setHeightOfRow):
12822 (getVisibleRow): fix crash with empty paragraphs which have a
12825 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12827 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12830 2001-09-04 José Matos <jamatos@fep.up.pt>
12833 * tabular.C (docbook): rename docBook method to docbook.
12835 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12837 * Makefile.am: add dependencies to main.o.
12839 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12841 * FontLoader.C (available): Return false if !lyxrc.use_gui
12843 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12845 * FontInfo.C (query):
12846 * converter.C (view):
12847 * importer.C (Import):
12848 * exporter.C (Export): Can not -> cannot.
12850 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12852 * BufferView_pimpl.C: allow to create index inset even if
12855 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12857 * buffer.C (getLists): replace boost::tie code with an explicit pair
12858 as boost::tie can break some compilers.
12860 * iterators.h: Added a std:: declaration to the return type of
12863 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12865 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12868 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12870 * iterators.[Ch]: New files. Provide paragraph iterators.
12872 * buffer.C (changeLanguage): Use paragraph iterators.
12873 (isMultiLingual): ditto
12875 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12877 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12879 * FontLoader.C: Support for cmr font.
12881 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12883 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12884 (available): New method.
12886 * FontInfo.C (getFontname): Use scalable fonts even when
12887 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12890 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12892 * converter.C (Formats::view): reverted! Incorrect fix.
12894 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12896 * converter.C (Formats::view): only output the -paper option
12897 if the dvi viewer is xdvi, thereby fixing bug #233429.
12899 2001-08-23 Herbert Voss <voss@perce>
12901 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12903 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12905 * Spacing.h (Spacing): Set space to Default on in the default
12908 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12910 * vc-backend.h (RCS::versionString): add RCS to version
12911 (CVS::versionString): add CVS to version
12913 * vc-backend.C (scanMaster): do not add CVS to version.
12914 (scanMaster): do not add RCS to version
12916 * lyxvc.C (versionString): new method
12918 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12920 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12922 * Spacing.C (set): initialize fval
12924 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12926 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12929 2001-08-16 Juergen Vigna <jug@sad.it>
12931 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12933 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12935 * BufferView_pimpl.C:
12938 * text2.C: setParagraph takes linespacing now
12940 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12942 * LyxAction.C: add internal LFUN_CITATION_INSERT
12944 * LyXView.C: actually apply fix
12946 * bufferlist.C: fix open non-existent file
12948 * lyxfind.C: fix indentation
12950 * lyxfunc.C: remove unneeded assert, fix typo
12952 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12954 * MenuBackend.C: use "Floatname List"
12956 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12958 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12959 when converting LaTeX layout to insetERT.
12960 Generate a non-collapsed float when reading old float
12962 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12964 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12967 2001-08-13 Juergen Vigna <jug@sad.it>
12969 * text.C (fill): return 0 instead of 20 as this seems to be the more
12972 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12974 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12977 2001-08-13 Juergen Vigna <jug@sad.it>
12979 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12981 (SearchBackward): comment out the unlocking of the inset_owner this
12982 should not be needed!
12984 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12986 * Many files: Remove inherit_language, and add latex_language
12988 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12989 collapsible insets.
12991 2001-08-10 Juergen Vigna <jug@sad.it>
12993 * text.C (prepareToPrint): fixed hfill-width in draw!
12995 * BufferView2.C (selectLastWord): save the selection cursor as this
12996 now is cleared in the function LyXText::clearSelection!
12998 2001-08-08 Juergen Vigna <jug@sad.it>
13000 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13001 BACKSPACE type functions.
13003 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13004 is only cutted from the document but not put in the cut-buffer, where
13005 still the old stuff should be.
13007 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13009 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13011 * tabular.C (SetWidthOfCell): fixed special case where the width
13013 (LeftLine): handle '|' in align_special.
13015 (LeftAlreadyDrawed): ditto
13016 (SetWidthOfCell): ditto
13018 2001-08-07 Juergen Vigna <jug@sad.it>
13020 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13022 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13024 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13025 * lyxlex.[hC]: ditto
13027 2001-08-06 Juergen Vigna <jug@sad.it>
13029 * text.C (getVisibleRow): fix up row clearing a bit.
13031 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13033 * minibuffer.C: make sure the X server sees the changes in the input.
13035 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13037 * paragraph.C (getFont): split into...
13038 (getLabelFont): this
13039 (getLayoutFont): and this
13040 * paragraph_pimpl.C (realizeFont): calling this
13042 * text2.C (getFont): split into...
13043 (getLayoutFont): this
13044 (getLabelFont): and this
13045 (realizeFont): all three calling this
13047 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13050 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13052 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13054 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13056 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13057 layouts from the Quote inset insertion.
13059 2001-08-03 Juergen Vigna <jug@sad.it>
13061 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13063 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13064 only if status not is already CHANGED_IN_DRAW (second level).
13066 * text.C (draw): don't set the need_break_row when inside an
13069 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13071 * buffer.C (parseSingleLyXformat2Token): handle more latex
13074 * bufferview_funcs.[hC]: change function names to
13075 begin with small char, adjust other files.
13077 2001-08-02 André Pönitz <poenitz@gmx.net>
13080 BufferView_pimpl.C: remove broken special code for math-greek
13082 2001-08-02 Juergen Vigna <jug@sad.it>
13084 * BufferView_pimpl.C (update): redone this function so that we
13085 update the text again if there was a CHANGE_IN_DRAW.
13087 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13088 (drawFromTo): added a new internal bool which is used by draw() and
13090 (general): some cursor drawing problems fixed.
13092 2001-08-01 Juergen Vigna <jug@sad.it>
13094 * lyxfind.C (LyXFind): fixed
13095 (SearchForward): ditto
13096 (SearchBackward): ditto
13098 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13099 spurius drawing of the cursor in the main area.
13101 * text2.C (status): small fix which could lead to a segfault!
13102 (clearSelection): remove unneeded BufferView param.
13104 2001-08-01 André Pönitz <poenitz@gmx.net>
13106 * lyxfunc.C: small change due to changed mathed interface
13108 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13110 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13112 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13114 * lyxfunc.c: fail gracefully if file doesn't exist
13119 * BufferView_pimpl.C: IsDirWriteable() proto changed
13121 * LyXView.C: fix updateWindowTitle() to store the last title
13123 2001-07-31 Juergen Vigna <jug@sad.it>
13125 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13126 the font (wrong since using of Paragraph::highestFontInRange).
13128 * paragraph.C (highestFontInRange): added a default_size parameter.
13130 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13131 (setHeightOfRow): reformat
13133 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13135 * converter.[hC] + affected files: move to (inital-char)lowercase
13138 * ParagraphParameters.C (ParagraphParameters): remove commented code
13140 * PainterBase.[Ch]: remove commented code
13142 * LaTeXFeatures.h: add "bool floats" for float.sty
13144 * LaTeXFeatures.C (LaTeXFeatures): init floats
13145 (require): handle float
13146 (getPackages): do it with floats
13148 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13150 * BufferView_pimpl.C (Dispatch): improve handling of
13151 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13153 * commandtags.h: #include lyxfont.h here temporarily to avoid
13156 * bufferlist.h: include LString.h here.
13158 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13160 * text2.C (getStringToIndex): new method.
13162 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13164 * *: Reduced header file dependencies all over.
13166 2001-07-30 Baruch Even <baruch@lyx.org>
13168 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13170 2001-07-29 Baruch Even <baruch@lyx.org>
13172 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13174 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13176 * ParameterStruct.h (endif): add a default constructor to make
13177 sure that all variables is initialized.
13179 * ParagraphParameters.C (ParagraphParameters): adjust
13181 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13183 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13184 index; also, check that there is something to index, and that it
13185 does not span over several paragraphs.
13186 (doubleClick): use WHOLE_WORD_STRICT for double click.
13188 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13190 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13193 2001-07-26 Baruch Even <baruch@lyx.org>
13195 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13196 an InsetFig figure, backwards compatible reading of old figure code.
13198 2001-07-27 Juergen Vigna <jug@sad.it>
13200 * text2.C: font.realize function adaption.
13202 * text.C (draw): add a warnings lyxerr text if needed.
13204 * layout.C: font.realize function adaption.
13206 * language.C: add inherit_language and implement it's handlings
13208 * bufferview_funcs.C (StyleReset): remove language parameter from
13209 font creation (should be language_inherit now).
13211 * bufferparams.C (writeFile): handle ignore_language.
13213 * paragraph.C (getFontSettings): the language has to be resolved
13214 otherwise we have problems in LyXFont!
13216 * lyxfont.C (lyxWriteChanges): added document_language parameter
13217 (update): removed unneeded language parameter
13219 * paragraph.C (validate): fixed wrong output of color-package when
13220 using interface colors for certain fonts in certain environments,
13221 which should not seen as that on the final output.
13223 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13225 * BufferView_pimpl.C:
13230 * LyXAction.C: add thesaurus support
13233 * lyxfind.C: add "once" parameter, for thesaurus, to not
13234 move to the next match
13236 2001-07-26 Juergen Vigna <jug@sad.it>
13238 * lyxfont.C (realize): honor ignore_language too!
13241 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13243 * text.C (draw): one place more for ignore_language to not draw
13246 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13248 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13250 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13252 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13253 the minipage conversion problem.
13255 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13257 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13260 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13262 * BufferView.h: don't forward declare WorkArea
13264 * BufferView.C: don't include WorkArea.h
13266 2001-07-25 André Pönitz <poenitz@gmx.net>
13270 * lyxfunc.C: new LFUN 'math-space'
13272 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13274 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13276 * text2.C (toggleInset): call open/close
13278 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13280 * lyxfunc.C (dispatch): add debug for the disabled case
13282 * font.C (buttonText): make similar to rectText
13284 * buffer.C (readInset): comment out parsing of insetlist and
13287 * PainterBase.C (rectText): small correction
13289 * BufferView_pimpl.C: comment out insettheorem and insetlist
13290 * LyXAction.C: ditto
13291 * commandtags.h: ditto
13293 2001-07-24 Juergen Vigna <jug@sad.it>
13295 * text.C (draw): honor the ignore_language.
13297 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13299 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13301 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13304 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13306 * lyxtext.h: remove unused (and unimplemented) methods
13308 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13310 * text.C (getVisibleRow): honor background color
13313 * Painter.h: remove default color argument for fillRectangle
13315 * text.C (backgroundColor): new method
13317 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13319 * text.C (getVisibleRow): adjust
13321 * font.[Ch] (rectText): new method, metrics
13322 (buttonText): new method, metrics
13324 * PainterBase.[hC]: make rectText and buttonText always draw and take
13327 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13329 * ToolbarDefaults.C (read):
13330 * MenuBackend.C (read): allow escaping in all strings
13332 * BufferView_pimpl.C (insertAndEditInset): new method.
13333 (Dispatch): use insertAndEditInset whenever appropriate.
13335 * BufferView_pimpl.C (insertNote): removed
13337 * BufferView_pimpl.C (smartQuote): new method, moved from
13338 BufferView; if an insetquote cannot be inserted, insert a '"'
13341 * BufferView2.C: remove insertCorrectQuote();
13343 * lyxfunc.C (getStatus): Add support for all remaingin
13344 inset-insert lfuns.
13346 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13348 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13349 command (necessary to pass " as parameter of self-insert.
13351 * text.C (selectWordWhenUnderCursor):
13352 (selectWord): add word_location parameter
13353 (selectWordWhenUnderCursor): same + remove special code for word
13355 (selectNextWord): use kind() to guess type of insetspecialchar,
13358 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13359 (insertErtContents): create ert insets as collapsed.
13360 (readInset): better compatibility code for Info inset.
13362 2001-07-20 Juergen Vigna <jug@sad.it>
13364 * lyxfunc.C (dispatch): use always LyXFind now!
13366 * text2.C (init): add a reinit flag so that the LyXText can be
13367 reinited instead of deleted and reallocated (used in InsetText).
13369 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13375 2001-07-18 Juergen Vigna <jug@sad.it>
13377 * text.C (selectNextWord): handle insets inside inset by calling
13378 always the bv->text functions so that we can go up the_locking_inset!
13380 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13381 in strange locations when inside an inset!
13383 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13384 handling to include insets.
13386 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13388 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13390 * LyXAction.C (init):
13392 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13393 LIGATURE_BREAK, since the name is so stupid.
13395 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13397 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13400 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13402 * sp_form.[Ch]: remove.
13404 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13406 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13409 * src/buffer.C (readInset): ditto.
13411 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13413 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13414 menuSeparator(), endOfSentenceDot(), ldots() and
13415 hyphenationPoint(), which are therefore removed.
13416 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13418 * LyXAction.C (init):
13419 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13421 * paragraph.C (getWord): removed.
13423 * BufferView_pimpl.C (Dispatch): use last word or selection for
13424 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13426 * lyx_main.C (queryUserLyXDir): do not ask before creating
13427 user_dir, except if it has been named explicitely.
13429 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13431 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13432 a document of zero size.
13434 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13436 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13437 approriately in the c-tor and in require().
13438 (getPackages): output the appropriate LaTeX for natbib support.
13440 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13441 variables "use_natbib" and "use_numerical_citations" when reading the
13443 (readInset): read the various natbib cite commands.
13444 (validate): white-space change.
13446 * bufferparams.[Ch]: new variables "bool use_natbib" and
13447 "bool use_numerical_citations".
13448 (writeFile): output them in the LyX file.
13450 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13452 * lyxfunc.C (getStatus): add support for all the inset insertion
13455 * text2.C (insertInset):
13456 * paragraph.C (insetAllowed):
13457 * BufferView_pimpl.C (insertInset): update to take in account the
13458 renaming of insertInsetAllowed
13460 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13462 * text2.C (getInset): new method. returns inset at cursor position.
13464 * BufferView_pimpl.C (Dispatch): changes because of this.
13466 * LyXAction.C (init): rename open-stuff to inset-toggle.
13468 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13470 * text2.C (toggleInset): renamed from openStuff; use
13473 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13475 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13477 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13479 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13481 * buffer.C (readLyXformat2): Add filename to the error dialog
13483 2001-07-18 Juergen Vigna <jug@sad.it>
13485 * tabular.C (GetCellNumber): put an assert here instead of the check!
13487 2001-07-17 Juergen Vigna <jug@sad.it>
13489 * BufferView_pimpl.C (toggleSelection): adapted too.
13491 * text.C (selectNextWord): adapted for use with insets.
13492 (selectSelectedWord): ditto
13494 2001-07-17 Juergen Vigna <jug@sad.it>
13496 * sp_spell.C (PSpell): fix initialitation order.
13498 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13500 * paragraph.C: spacing
13502 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13504 * sp_spell.C: repair language selection for pspell
13506 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13508 * lyxfunc.h: change more methods to begin with lower char.
13510 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13512 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13513 for unknown layouts.
13515 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13517 * buffer.C (readLyXformat2): Generate an error dialog if there are
13520 2001-07-16 Juergen Vigna <jug@sad.it>
13522 * sp_spell.C: always compile ISpell part.
13524 * lyxrc.C: added use_pspell entry and it's handling.
13526 2001-07-13 Juergen Vigna <jug@sad.it>
13528 * sp_spell.C: removed double includes.
13530 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13532 Consistent use of Lsstream.h:
13533 * Lsstream.h: added using std::stringstream for consistencies sake.
13535 * buffer.C: removed using std::stringstream
13537 * lyxfont.C (stateText):
13538 * paragraph.C (asString):
13539 * text.C (selectNextWord, selectSelectedWord):
13540 * text2.C (setCounter):
13541 * vspace.C (asString, asLatexString):
13542 std::ostringstream -> ostringstream.
13544 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13546 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13547 * commandtags.h: add LFUN_HELP_ABOUTLYX
13548 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13550 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13552 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13554 * lyx_gui_misc.C: remove spellchecker
13555 * lyxfunc.C: showSpellchecker
13557 * sp_ispell.h: added
13558 * sp_pspell.h: added
13559 * sp_spell.C: added
13560 * sp_form.[Ch]: removed
13561 * spellchecker.[Ch]: removed
13563 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13565 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13567 (simpleTeXSpecialChars): Simply print the input character without
13568 any special translation if pass_thru is set.
13570 * layout.h: Added bool pass_thru to layout class for being able to
13571 implement pass through of a paragraph for Literate Programming.
13573 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13574 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13575 * layout.C (Read): add "passthru" to list of layout tags and add
13576 code to set the pass_thru boolean when it is read.
13578 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13580 * trans_decl.h: remove allowed from KmodInfo
13582 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13583 remove allowed code
13586 * paragraph_pimpl.C (erase): use boost::prior
13588 * Painter.C (text): use data() instead of c_str() when length is
13590 * WorkArea.C (putClipboard): ditto
13591 * font.h (width): ditto
13593 * BufferView2.C: use it-> instead of (*it). for iterators
13595 * paragraph_pimpl.C: ditto
13596 * paragraph.C: ditto
13597 * minibuffer.C: ditto
13598 * language.C: ditto
13600 * encoding.C: ditto
13601 * counters.C: ditto
13602 * converter.C: ditto
13604 * Variables.C: ditto
13605 * TextCache.C: ditto
13606 * MenuBackend.C: ditto
13607 * LyXAction.C: ditto
13609 * FloatList.C: ditto
13610 * DepTable.C: ditto
13611 * ColorHandler.C (LyXColorHandler): ditto
13613 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13615 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13617 * text2.C (openStuff): reintroduce this method (which had been
13618 nuked in NEW_INSETS frenzy).
13620 * lyxfunc.C (Dispatch): when an action has not been handled, use
13621 its name in the error message, not its number.
13623 * paragraph.C (inInset): change method name to begin with lowercase.
13626 * text2.C: updates because of this.
13628 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13630 * ToolbarDefaults.C (add): add spaces in error message
13632 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13634 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13635 (readLyXformat2): rename return_par to first_par, use lyxlex's
13636 pushToken and remove the manual push handling.
13637 (parseSingleLyXformat2Token): add another ert comp. variable:
13638 in_tabular, rename return_par to first_par. handle newlines better
13640 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13642 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13644 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13646 * text2.C (getParFromID): removed
13648 * buffer.C (getParFromID): new method moved form lyxtext.
13649 * BufferView2.C (insertErrors): adjust
13650 (setCursorFromRow): adjust
13651 * BufferView_pimpl.C (restorePosition): adjust
13652 * lyxfunc.C (Dispatch): adjust
13653 * undo_funcs.C (textUndo): adjust
13655 (textHandleUndo): adjust
13656 (textHandleUndo): adjust
13658 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13660 * buffer.C: up' the LYX_FORMAT
13662 * lyxfont.h: turn NO_LATEX on as default
13664 * buffer.C (insertErtContents): new methods of tex style compability.
13665 (parseSingleLyXformat2Token): use it several places.
13666 * tabular.C (OldFormatRead): and here
13668 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13670 * text2.C: remove some commented code.
13673 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13674 * trans.C: changes because of the above.
13676 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13678 * text2.C (setCounter): Fix counters bug with bibliography layout.
13680 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13682 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13683 own member functions
13684 (simpleTeXSpecialChars): ditto
13686 2001-07-06 Juergen Vigna <jug@sad.it>
13688 * a lot of files: changed the access to LyXText::status and the
13689 call of undo-functions.
13691 * undo.[Ch]: added a inset_id to the undo informations.
13693 * undo_funcs.[Ch]: added and moved here all undo functions.
13695 * lyxtext.h: give the status enum a weight, made status_ a private
13696 variable and made accessor functions for it, removed the whole bunch
13697 of undo-functions as they are now in their own file, make some
13698 functions publically available. Added function ownerParagraph with
13701 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13702 made InInset() a const function, added getParFromID() function.
13704 * buffer.[Ch]: added const version for inset_iterator functions,
13705 added getInsetFromID() function.
13707 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13708 changed undo functions for new version.
13710 2001-07-05 Juergen Vigna <jug@sad.it>
13712 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13713 unknow mechanism does not call the proper constructor but only this
13714 one also if I request the other!?
13716 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13718 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13720 * text2.C (LyXText): use initialization lists.
13722 * lyxtext.h (Selection): initialize set_ and mark_
13723 (init): remove method
13725 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13727 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13729 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13731 * screen.[Ch]: change method names to begin with lowercase
13733 * BufferView_pimpl.C (updateScrollbar): simplify further and
13734 hopefully make it a bit faster.
13736 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13738 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13739 calling directly xforms functions.
13741 * Painter.C (Painter):
13742 * lyx_cb.C (MenuWrite):
13743 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13746 * lyx_gui.C: remove bogus guiruntime extern declaration.
13748 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13750 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13752 (redoDrawingOfParagraph): ditto
13753 (redoParagraphs): ditto
13754 (cutSelection): don't create a object for CutAndPaste use the
13755 static method directly
13756 (pasteSelection): ditto
13758 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13761 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13763 * modifications to some other files because of this.
13765 * Makefile.am (lyx_SOURCES): add XFormsView
13767 * XFormsView.[Ch]: new files
13769 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13770 the main window. Move the gui dependent stuff to XFormsView
13772 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13774 * tabular.C (GetCellInset): update cur_cell also in the row/col
13775 version of this function.
13777 * lyxfunc.C: no need to include figure_form.h here.
13783 * lyxvc.C: no need to include forms.h here.
13785 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13787 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13789 * lyxfunc.C (Dispatch):
13791 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13792 constructor argument.
13794 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13796 * paragraph.C (Paragraph): dont't clear, and just set layout.
13797 (makeSameLayout): use params's copy contructor.
13799 * ParagraphParameters.[Ch] (makeSame): delete method
13801 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13803 * Variables.[Ch]: fix indentation, rename set to isSet
13805 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13807 * lyxfunc.C (Dispatch): fix typo
13809 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13811 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13814 * bufferlist.C: include assert.h for emergencyWrite().
13816 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13818 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13819 give up at last (bug #425202) !
13821 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13827 * spellchecker.C: strip spellchecker options and bring up
13828 preferences tab instead
13830 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13832 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13833 the istringstream constructor
13835 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13837 * paragraph.C (getLayout): fix return value
13839 * paragraph.h: do not declare getLayout as inline.
13841 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13843 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13845 * lyxcursor.h (operator<): new func
13846 (operator>): new func
13847 (operator>=): new func
13848 (operator<=): new func
13850 * text.C (changeCase): use selection.start and selection.end
13851 (changeRegionCase): require from to be <= to. Require par to be a
13854 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13856 2001-06-27 Juergen Vigna <jug@sad.it>
13858 * text.C (cursorLeftOneWord): changed to return the cursor and added
13859 overlay with BufferView * parameter which calls this one.
13861 (selectWord): use new getWord function.
13862 (changeCase): renamed from changeWordCase as and extended to work
13863 also on selections.
13865 * lyxtext.h: added enum word_location
13867 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13868 changeCase as this operates now also on selections.
13870 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13872 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13874 * many files: send debug output to Debug::INFO instead of
13877 * converter.C (View):
13879 (Move): send debug output to Debug::FILES instead of console.
13881 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13883 * lyxfunc.C (getStatus): use func_status
13885 * func_status.h: new header, describing the results of
13886 LyXFunc::getStatus;
13888 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13891 2001-06-25 The LyX Project <jug@sad.it>
13893 * buffer.C (sgmlOpenTag):
13895 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13897 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13899 * text2.C: remove some dead code
13901 * tabular.C (GetCellInset): store the last cell checked (gotten)
13903 * tabular.h: add the helper for the speedup
13905 * lyxtext.h: remove some dead code
13907 2001-06-26 The LyX Project <Asger>
13909 * paragraph.C: Change export to LaTeX of alignment to
13910 \begin{center} and family for better roundtrip work with reLyX.
13912 * Tune the math drawing a bit.
13914 2001-06-25 The LyX Project <Asger>
13916 * LColor.C (LColor): New color for math background. New color
13919 2001-06-25 The LyX Project <jug@sad.it>
13921 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13923 * lyxfunc.C (Open):
13924 * bufferlist.C (newFile): do not restrict to files ending with
13927 * BufferView_pimpl.C (MenuInsertLyXFile):
13929 2001-06-24 The LyX Project <jug@sad.it>
13931 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13934 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13936 * lyxtext.h: rename most methods to begin with a small char.
13937 Lots of changes because of this.
13939 * paragraph.C (Paragraph): do not call fitToSize
13940 (erase): call Pimpl::erase
13941 (insertChar): call Pimpl::insertChar
13942 (insertInset): call Pipl::insertInset
13943 (breakParagraph): do not call fitToSize
13944 (breakParagraphConservative): do not call fitToSize
13945 (fitToSize): remove method
13947 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13949 2001-06-24 The LyX Project <Asger>
13951 * Fix Qt compilation^2
13953 2001-06-24 The LyX Project <jug@sad.it>
13955 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13956 depthHook(getDepth()-1).
13959 * ParagraphParameters.h:
13960 * ParameterStruct.h: change type of depth to unsigned int ==
13961 depth_type. Many adaptations to other files before of that.
13963 2001-06-24 The LyX Project <Asger>
13965 * Fix Qt compilation.
13967 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13969 * paragraph.h: renamed several methods to begin with small letter.
13970 several changes to many parts of the code because of this.
13972 2001-06-23 The LyX Project <jug@sad.it>
13974 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13975 rewritten to discard all double spaces when KeepEmpty is off
13976 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13977 to only handle newlines but not fiddle with spaces and friends.
13979 * lyxfunc.C (MenuNew): when doing 'new from template', use
13980 template_path as default directory
13982 2001-06-23 The LyX Project <Asger>
13984 * Clean-up of header file includes all over
13985 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13987 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13989 * paragraph.h: renamed from lyxparagraph.h
13991 2001-06-23 Asger <lyx@violet.home.sad.it>
13993 * Buffer.h: Removed Buffer::resize
13994 * BufferList.h: Removed BufferList::resize
13995 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13996 the document lazily when we change the width, or the font settings.
13998 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14000 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14002 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14004 * buffer.h: remove out of date comment
14006 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14009 * screen.C: fix "theoretical" GC leak
14011 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14013 * LaTeX.C (scanAuxFile):
14014 (deplog): remove trailing \r when reading stream (useful under
14017 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14019 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14020 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14021 and BufferView::theLockingInset(Inset*), so should use them and not
14022 access bv_->text->the_locking_inset directly.
14024 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14026 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14029 * tex-defs.h: remove old unused file
14031 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14033 * BufferView_pimpl.C: fix typo, remove minibuffer message
14034 when buffer has loaded
14036 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14038 * lyxfunc.C (Dispatch): use stringstream
14039 (MenuNew): use stringstream
14040 (Open): use stringstream
14042 * importer.C (Import): use stringstream
14044 * bufferview_funcs.C (CurrentState): use stringstream
14046 * LaTeX.C (run): use stringstream
14048 * BufferView_pimpl.C (savePosition): use stringstream
14049 (restorePosition): use stringstream
14050 (MenuInsertLyXFile): use stringstream
14052 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14065 * vspace.C: removed // -*- C++ -*- as first line.
14068 * version.h: added // -*- C++ -*- as first line.
14070 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14072 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14074 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14077 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14079 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14082 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14084 * gettext.C: include LString.h even when --disable-nls is on.
14086 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14088 * converter.h (Get): changed argument type from int to
14089 FormatList::size_type to avoid unnecessary conversion.
14091 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14094 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14096 * gettext.h: include LString.h even when --disable-nls is on.
14098 2001-06-07 Juergen Vigna <jug@sad.it>
14100 * text.C (BreakAgain): subst spaces with tabs.
14102 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14103 (resizeInsetsLyXText): set force on resizeLyXText.
14105 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14107 * gettext.h (gettext_init):
14108 (locale_init): use a real definition instead of a macro
14110 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14112 * Bufferview_pimpl.C:
14114 * LColor.C: further lcolor tidies
14116 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14118 * BufferView_pimpl.C (updateScrollbar): simplify.
14120 * BufferView2.C: don't include insets/insetinfo.h, change
14121 prototype for insertInset and call the Pimpl version. let
14122 updateInset call Pimpl version.
14124 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14125 gotoInset to BufferView::Pimpl
14127 2001-06-01 Juergen Vigna <jug@sad.it>
14129 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14130 inside a LockingInset (is the update needed at all?).
14132 2001-05-31 Juergen Vigna <jug@sad.it>
14134 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14135 here not the old one otherwise how should we compare it afterwards
14138 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14143 * FontInfo.C: bring C functions into global namespace when
14146 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14148 * LString.h: make sure config.h has been loaded before LString.h.
14150 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14151 (one for each char read by EatLine!).
14153 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14156 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14158 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14159 to the same as the par we break from
14161 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14163 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14165 * MenuBackend.C (expand): also create menu entries for wide
14166 versions of the floats.
14168 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14170 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14172 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14173 frontends/Makefile.am
14179 * tabular.C (getTokenValue): add std::
14181 * tabular-old.C (getTokenValue): add std::
14182 (getTokenValue): ditto
14183 (getTokenValue): ditto
14185 * screen.C (ToggleSelection): adjust
14187 * lyxtext.h: put selection cursors inside a Selection struct.
14189 * lyxfunc.C (moveCursorUpdate): adjust
14191 * lyxfont.C (latexWriteStartChanges): add std::
14193 * lyxfind.C: adjust
14195 * font.h: delete with(char const *, LyXFont const &)
14197 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14199 * FontInfo.C (getFontname): add std::
14201 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14202 (workAreaButtonPress): adjust
14203 (tripleClick): adjust
14205 (moveCursorUpdate): adjust
14208 * BufferView2.C (gotoInset): adjust
14210 2001-05-30 Juergen Vigna <jug@sad.it>
14212 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14213 to check pspell I add this as default as I now have new pspell
14214 libraries and they seem to use this.
14216 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14218 * text2.C (CutSelection): make the cursor valid before the call to
14221 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14223 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14224 relied on 0 terminated strings and other horrors. Bug found due to
14225 the new assert in lyxstring!
14227 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14230 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14232 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14235 * lyxfunc.C (processKeySym): change method of getting to the
14238 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14239 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14240 * BufferView_pimpl.[Ch]: here as private methods.
14242 2001-05-28 Juergen Vigna <jug@sad.it>
14244 * text.C (SetHeightOfRow): added the update() call again as it is
14245 needed to initialize inset dimensions!
14247 2001-05-16 Juergen Vigna <jug@sad.it>
14249 * text2.C (SetCharFont): Add new function with BufferView * and
14250 bool toggleall parameters for setting insets internal fonts.
14251 (SetFont): Freeze the undo as we may change fonts in Insets and
14252 all this change should be inside only one Undo!
14254 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14255 setting font's in insets as for them we have the SetFont function!
14257 2001-05-15 Juergen Vigna <jug@sad.it>
14259 * text2.C (ClearSelection): to be sure we REALLY don't have any
14262 * tabular.C (TeXCellPreamble): fixed the left border problem for
14265 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14267 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14270 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14272 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14273 LFUN_BREAKPARAGRAPH.
14275 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14276 help test to "internal only", similar for LFUN_INSERT_URL
14278 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14279 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14280 auto_region_delete and deadkeys.
14282 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14285 * LColor.C: remove some dead entries, tidy a little
14287 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14289 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14291 (Dispatch): implement LFUN_ESCAPE
14293 * commandtags.h: add LFUN_ESCAPE
14295 * LyXAction.C (init): add entry for LFUN_ESCAPE
14297 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14298 Remove commented code.
14299 (insertNote): moved here
14300 (open_new_inset): moved here
14302 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14305 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14307 * kbmap.C (findbinding): clean it up and make it work correctly.
14309 * lyx_main.C (init): do not pass argc and argv as parameters
14311 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14313 * buffer.C: fix path for OS/2 & Win32
14317 * lyx_main.C: Added os:: class.
14319 * os2_defines.h: update
14321 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14323 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14324 better by trying again with reduced state.
14326 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14328 * lyxrc.C (read): print error about invalid key sequence only when
14329 debugging (because not all latinX keysyms are known to some X
14332 * kbsequence.C (getiso): add a few std:: qualifiers
14333 (getiso): comment out extra return statement.
14335 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14337 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14339 (Dispatch): enhance the accent inset a bit. (not perfect)
14341 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14343 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14345 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14347 * bufferlist.C (emergencyWrite): fix assert() call
14349 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14351 * text.C (InsertChar): Added trivial patch to only send the "you
14352 can not do multiple spaces this way" message once during a
14355 2001-05-08 Baruch Even <baruch@lyx.org>
14357 * Makefile.am: Changed order of libraries to get LyX to link properly
14358 with the gnome frontend.
14360 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14362 * LaTeXFeatures.h: add a std:: qualifier
14364 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14366 * paragraph.C (String): use stringstream
14368 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14370 * paragraph.C (writeFile): remove footflag arg
14372 * buffer.C (makeLaTeXFile): use stringstream
14373 (latexParagraphs): remove footnot gurba
14375 * LaTeXFeatures.C (getPackages): use stringstream
14376 (getMacros): likewise
14377 (getTClassPreamble): likewise
14378 (getFloatDefinitions): new method
14380 * paragraph.C (writeFile): reindent
14383 * WorkArea.h: revert the xpos + etc changes.
14385 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14387 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14389 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14390 (pasteSelection): likewise
14391 * text2.C (CreateUndo): likewise
14393 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14395 * minibuffer.C (peek_event): temporarily reduce the functionality
14396 of the minibuffer (to allow args on lfuns)
14398 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14399 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14401 * buffer.C (readInset): add compability reading of old float
14402 lists, add reading of new style float list.
14403 (readInset): avoid reevaluation of inscmd.getCmdName()
14404 (getLists): reindent
14406 * MenuBackend.C (MenuItem): implement parsing of
14407 md_floatlistinsert and md_floatinsert.
14408 (expand::LastFiles): move initalizaton of iterators out of loop,
14409 avoid reevaluation.
14410 (expand::Documents): introduce typdedef vector<string> Strings,
14412 (expand::ExportFormats): introduce typedef vector<Format const *>
14413 Formats, and use it.
14414 (expand): implement FloatListInsert and FloatInsert.
14416 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14417 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14418 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14420 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14422 (Dispatch::LFUN_FLOAT_LIST): implement
14424 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14426 * LaTeX.C (run): Fix problem with --export code.
14428 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14430 * BufferView.[Ch] (workarea): removed.
14431 (getClipboard) new method; wrapper for workarea()->getClipboard()
14433 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14436 * WorkArea.h (width, height, xpos, ypos): These methods all
14437 returned the dimensions of the work_area sub-area of WorkArea,
14438 resulting in a position error if the WorkArea were resized. Now
14439 return the dimensions of the entire WorkArea.
14441 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14443 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14445 * LaTeX.C (deplog): correct the syntax of regex reg1
14447 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14449 * undo.C: remove !NEW_INSETS cruft
14451 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14453 * text2.C: remove !NEW_INSETS cruft
14455 * text.C: remove !NEW_INSETS cruft
14457 * tabular.C: remove !NEW_INSETS cruft
14459 * spellchecker.C: remove !NEW_INSETS cruft
14461 * lyxtext.h: remove !NEW_INSETS cruft
14463 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14465 * lyxfunc.C: remove !NEW_INSETS cruft
14467 * lyxfind.C: remove !NEW_INSETS cruft
14469 * lyx_cb.C: remove !NEW_INSETS cruft
14471 * figureForm.C: remove !NEW_INSETS cruft
14473 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14475 * buffer.[Ch]: remove !NEW_INSETS cruft
14477 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14479 * CutAndPaste.C: remove !NEW_INSETS cruft
14481 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14483 * BufferView2.C: remove !NEW_INSETS cruft
14485 * BufferView.h: remove !NEW_INSETS cruft
14487 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14489 * Lsstream.h: include LString.h before the sstream headers to
14490 fix problem with gcc 2.95.3 and lyxstring
14492 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14494 * lyx_main.C: add using directives when needed for C functions
14495 declared in std:: namespace.
14497 2001-04-27 Juergen Vigna <jug@sad.it>
14499 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14500 (SetHeightOfRow): comment out the update call should not be needed!
14502 2001-04-13 Juergen Vigna <jug@sad.it>
14504 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14505 (LyXTabular): tried to minimize operator= operations (and realized
14506 hopfully Lars wish).
14508 2001-04-27 Juergen Vigna <jug@sad.it>
14510 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14512 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14514 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14516 * buffer.C (readInset): hack to make listof algorithm work
14518 * BufferView_pimpl.C: hack to make listof algorithm work
14520 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14522 * LyXAction.C: removed all !NEW_INSETS cruft
14523 (init): moved lfun_item in method
14525 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14527 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14529 * BufferView2.C (theLockingInset): white space.
14531 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14533 * minibuffer.C: include <iostream>
14535 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14537 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14539 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14541 * text.[Ch] (TransposeChars): new method
14543 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14545 * call message directly through LyXView instead of through LyXFunc
14546 * BufferView2.C: adjust
14547 * BufferView_pimpl.C: adjust
14548 * FontLoader.C: adjust
14550 * bufferview_funcs.C: adjust
14551 * converter.C: adjust
14552 * figureForm.C: adjust
14553 * importer.C: adjust
14555 * lyx_gui_misc.C: adjust
14556 * lyxfunc.C: adjust
14559 + more files in subdirs
14561 * lyxparagraph.h (size): move up int file
14564 * adjust all uses of Assert to lyx::Assert.
14566 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14567 lyxfunctional in namespace lyx
14568 * layout.C (hasLayout): ditto
14571 (delete_layout): ditto
14572 (NumberOfClass): ditto
14573 * converter.C (GetFormat): ditto
14578 * bufferlist.C (getFileNames): ditto
14579 (emergencyWriteAll): ditto
14582 * MenuBackend.C (hasSubmenu): ditto
14585 * BufferView_pimpl.C (getInsetByCode): ditto
14587 2001-04-18 Juergen Vigna <jug@sad.it>
14589 * vspace.C (asLatexString): fixed the 100% problem.
14591 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14593 * lyxfunc.C (Dispatch):
14595 * minibuffer.h: add a few std:: qualifiers
14597 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14599 * minibuffer.[Ch]: reimplement so that commands is initiated and
14600 run from lyxfunc, simplified som handling, and made the completion
14601 and history code for complete. wip.
14603 * lyxfunc.C (processKeySym): call message
14604 (miniDispatch): new temporary method
14605 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14606 (LFUN_MESSAGE): implement
14607 (LFUN_MESSAGE_PUSH): implement
14608 (LFUN_MESSAGE_POP): implement
14609 (initMiniBuffer): the initial/defualt minibuffer message.
14611 * lyxfont.[Ch]: inline some more getters
14613 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14615 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14617 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14618 (AutoSave): use LFUN_MESSAGE
14619 (Reconfigure): ditto
14621 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14623 * figureForm.C: use LFUN_MESSAGE
14625 * converter.C (runLaTeX): use LFUN_MESSAGE
14627 * bufferview_funcs.C: use LFUN_MESSAGE
14629 (changeDepth): ditto
14631 * bufferparams.h: use boost::
14633 * bufferlist.h: inherit privately from noncopyable
14635 * bufferlist.C (loadLyXFile): remove some commented code.
14637 * buffer.C (runChktex): use LFUN_MESSAGE
14639 * ShareContainer.h: inherit privately from noncopyable
14641 * ParagraphParameters.[hC] (depth): inline it.
14643 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14645 (message): new method
14646 (messagePush): ditto
14647 (messagePop): ditto
14648 (show): init minibuffer
14649 (showState): direct call
14651 * LaTeX.[Ch]: inherit privately from noncopyable
14652 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14653 instead of WriteStatus.
14655 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14657 * BufferView_pimpl.C (buffer): don't init minibuffer
14658 (workAreaButtonPress): use LFUN_MESSAGE
14659 (workAreaButtonRelease): ditto
14660 (savePosition): ditto
14661 (restorePosition): ditto
14662 (MenuInsertLyXFile): ditto
14663 (workAreaExpose): don't init minibuffer
14664 (update): remove commented code, simplify
14666 * BufferView2.C (openStuff): use LFUN_MESSAGE
14667 (toggleFloat): ditto
14670 (copyEnvironment): ditto
14671 (pasteEnvironment): ditto
14676 (updateInset): remove some commented code
14678 * lastfiles.h: inherit privately from noncopyable
14681 * lyx_main.h: ditto
14683 * lyxlex_pimpl.h: ditto
14685 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14686 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14687 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14689 * LyXAction.h: inherit privately from noncopyable, add methods
14690 func_begin, func_end, returning iterators to the func map.
14692 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14693 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14694 (func_begin): new method
14695 (func_end): new method
14697 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14699 (copySelection): ditto
14700 (pasteSelection): ditto
14702 * BufferView.C: whitespace change
14703 * BufferView.h: inherit privately from noncopyable
14705 2001-04-16 Allan Rae <rae@lyx.org>
14707 * tabular-old.C (l_getline):
14708 * spellchecker.C (sc_check_word):
14709 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14710 an unrecognised preprocessor directive. So ensure they're wrapped.
14712 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14714 * src/exporter.C (Export): Give an error message when path to file
14717 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14719 * LaTeX.C (deplog): Always check that foundfile exists.
14721 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14724 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14726 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14728 * tabular.[Ch] (getLabelList): implement new method
14730 * minibuffer.h: comment ouf setTiimer
14732 * minibuffer.C (ExecutingCB): constify res
14733 (peek_event): constify s
14734 (Set): constify ntext
14735 (Init): constify nicename
14737 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14739 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14740 (savePosition): use two params to Minibuffer::Set
14741 (restorePosition): ditto
14743 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14745 * lyx_main.C: include language.h
14747 * Makefile.am (lyx_main.o): add language.h
14749 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14755 * CutAndPaste.C: include gettext.h
14757 * lyxfont.h: remove old hack with ON and OFF.
14760 * lyxfont.h: do not include language.h...
14765 * bufferview_funcs.C:
14771 * paragraph.C: ... but do it here instead
14773 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14775 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14777 * tabular.C: small reformat
14779 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14782 (BreakParagraph): ditto
14783 (SetOnlyLayout): ditto
14786 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14789 * lastfiles.C: removed most using decl, add std:: where needed
14791 * buffer.C: ws changes
14793 * MenuBackend.C (class compare_format): put into anon namespace
14794 (expand): constify label, names, action, action2
14797 * text.C (SingleWidth): constify font
14798 (IsBoundary): constify rtl2
14799 (GetVisibleRow): constify ww
14801 * LaTeX.C (deplog): constify logfile
14803 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14805 (workAreaExpose): constify widthChange, heightChange
14807 * lyxrow.C (par): moved
14810 * lyxrow.h: as inlines here
14812 * lyxfont.h (shape): moved from lyxfont.C
14813 (emph): moved from lyxfont.C
14815 * lyxfont.C (LyXFont): use initialization list for all
14817 (shape): move to lyxfont.h as inline
14818 (emph): move to lyxfont.h as inline
14821 2001-04-04 Juergen Vigna <jug@sad.it>
14823 * vspace.C: had to include stdio.h for use of sscanf
14825 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14828 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14829 independent of xforms.
14831 2001-04-02 Juergen Vigna <jug@sad.it>
14833 * spellchecker.C: fixed namespace placing!
14835 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14837 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14838 the LyXParagraph * is 0.
14840 2001-03-29 Juergen Vigna <jug@sad.it>
14842 * vspace.C: added support for %, c%, p%, l%.
14843 (stringFromUnit): added helper function.
14844 (asLatexString): changed to give right results for the %-values.
14846 * buffer.C: convert the widthp in a width%.
14848 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14850 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14853 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14854 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14856 * lyx_cb.[Ch]: see above.
14858 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14862 * lyx.[Ch]: replaced by figure_form.[Ch].
14866 * lyxfunc.C: changed headers associated with above changes.
14868 2001-03-27 Juergen Vigna <jug@sad.it>
14870 * BufferView_pimpl.C: set the temporary cursor right!
14872 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14874 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14876 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14878 * LString.h: removed "using std::getline"!
14880 * BufferView_pimpl.C (Dispatch): changes due to changes in
14881 InsetInclude::Params.
14883 * buffer.C (tag_name): removed redundant break statements as they were
14884 producing lots of warnings with my compiler.
14886 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14888 * LString.h: add "using std::getline" when using the real <string>.
14890 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14892 * buffer.C: removed bitset usage.
14893 PAR_TAG moved to an anonymous name space.
14894 (tag_name): new funtion, also in the anonymous namespace.
14895 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14896 (makeDocBookFile): clean code. Completed transition from string arrays
14898 (SimpleDocBookOnePar): code clean.
14900 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14902 * tabular.C: add some comments.
14904 2001-03-22 Juergen Vigna <jug@sad.it>
14906 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14907 compatibility read a bit and fixed bug with minipage in different
14910 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14912 * buffer.C (pop_tag): removed.
14913 (push_tag): removed.
14914 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14915 array replaced with vector. Added support for CDATA sections.
14916 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14918 (makeDocBookFile): XML conformant declaration of CDATA section,
14919 fixed bug related to <emphasis> in the first paragraph char.
14920 (sgmlOpenTag): exclude empty tags.
14921 (sgmlCloseTag): ditto.
14923 * buffer.h (pop_tag): removed.
14924 (push_tag): removed.
14926 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14928 * language.h (Languages): added size_type and size().
14930 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14932 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14933 response on compability reading of minipages. One probliem is that
14934 the old usage of minipages was «flertydig»
14936 * several files here and in subdirs: don't use static at file
14937 scope use anon namespaces instead.
14939 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14941 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14942 LaTeX output. This is necessary for Literate document
14945 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14947 * buffer.C: insert hfill when needed.
14949 * tabular.C (l_getline): use string::erase, small whitespace change.
14951 * BufferView_pimpl.C: try the anon namespace.
14952 * WorkArea.C: ditto
14954 2001-03-16 Juergen Vigna <jug@sad.it>
14956 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14957 otherwise it won't open options-dialogs.
14959 * buffer.C: honor pextraWidth(p) on converting minipages.
14961 * tabular.C (l_getline): changed the functions to strip trailing \r.
14963 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14965 * BufferView_pimpl.C:
14966 * minibuffer..C: added "using SigC::slot" declaration.
14968 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14970 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14976 * paragraph.C: ditto
14978 * lyxtext.h: NO_PEXTRA
14980 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14982 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14983 * ParameterStruct.h: ditto
14984 * ParagraphParameters.h: ditto
14985 * lyxparagraph.h: ditto
14987 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14989 * buffer.C: add compability for minipage alignment.
14990 (latexParagraphs): remove unwanted pextra check.
14992 * several files: remove CXX_WORKING_NAMESPACES
14994 * buffer.C (pop_tag): tie is in namespace boost
14996 * BufferView.h: noncopyable is in namespace boost
14998 * lyx_main.h: ditto
15001 * lastfiles.h: ditto
15002 * bufferlist.h: ditto
15003 * ShareContainer.h: ditto
15005 * LyXAction.h: ditto
15008 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15010 * Merging changes from BRANCH_MVC back into HEAD.
15012 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15014 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15016 * BufferView_pimpl.C: change from intl.C
15020 * Makefile.am: move combox.*
15026 * intl.C: remove dialog (covered by prefs)
15028 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15030 * lyxfunc.C (Dispatch): removed redundant break statement.
15032 2001-03-14 Juergen Vigna <jug@sad.it>
15034 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15036 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15038 * buffer.C: add hack to fix compability reading of minipages.
15040 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15042 * buffer.C (getLists): Cleanup.
15044 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15046 * lyxfont.C (update): don't honor toggleall on font size.
15048 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15052 * Makefile.am: moved to frontends/xforms/
15056 * BufferView_pimpl.C: changes for moved mathpanel
15058 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15060 * gettext.h: fix gettext_init() in --disable-nls
15062 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15064 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15066 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15069 * lyx.h: strip external form
15071 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15073 * BufferView_pimpl.C: add comment, destroySplash()
15075 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15077 * BufferView_pimpl.C:
15081 * lyxfunc.C: use re-worked insetinclude
15083 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15085 * buffer.C: add using std::stringstream.
15087 * lyx_cb.C: readd using std::ios.
15089 * buffer.C: add using std::map.
15091 * BufferView_pimpl.C: add using std::vector.
15093 * ShareContainer.h: add std:: to swap.
15095 * buffer.h: add some typedefs
15096 * buffer.C (getLists): use them
15097 (getLists): renamed from getTocList.
15098 add a counter for the different float types and use it in the
15100 (getLists): use the same counter for the NEW_INSETS and the "non"
15103 * lyx_cb.h: remove unused items, includes, using etc.
15105 * ShareContainer.h: remove some commented code, add more comments
15106 and "documentation".
15108 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15110 * buffer.C (getTocList): make the list also when NEW_INSETS is
15113 * buffer.h: remove TocType
15115 * buffer.C (getTocList): change to return a map<string,
15116 vector<TocItem> >, implement for dynamic number of list.
15118 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15119 * text2.C (PasteSelection): adjust
15120 * CutAndPaste.C (pasteSelection): adjust
15122 * FloatList.C (FloatList): update from the new_insets branch.
15123 * Floating.[Ch]: ditto
15124 * LaTeXFeatures.C: ditto
15126 * lyxlex_pimpl.C: ditto
15128 * paragraph.C (Last): remove when NEW_INSETS is defined.
15130 * other file: changes because of the above.
15132 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15134 * lyxparagraph.h: rename next to next_, previous to previous_,
15135 make them private for NEW_INSETS. Rename Next() to next(),
15136 Previous() to previous().
15138 * other files: changes because of the above.
15140 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15143 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15146 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15148 * main.C (main): pass lyx_localedir to gettext_init().
15150 * gettext.h: remove locale_init and gettext_init macros
15152 * gettext.C (locale_init): new function
15153 (gettext_init): new function
15155 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15158 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15160 * Moved credits to frontends:
15161 * credits.[Ch]: removed
15162 * credits_form.[Ch]: removed
15163 * lyx_gui_misc.C: remove credits stuff
15166 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15168 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15170 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15171 unneeded destructor.
15173 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15174 a standalone pointer again.
15176 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15178 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15184 * ToolbarDefaults.C:
15193 * BufferView_pimpl.C: use new file dialog in GUII
15196 * lyx_cb.C: remove LayoutsCB to Toolbar
15198 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15200 * ShareContainer.h (get): add std:: qualifier
15202 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15204 * ShareContainer.h: define a proper ShareContainer::value_type
15205 type (and use typename to please compaq cxx)
15207 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15209 * lyxparagraph.h: move serveral local vars to
15210 ParameterStruct/ParagraphParameters., use ShareContainer in
15211 FontTable., make vars in FontTable private and add getter and
15214 * paragraph.C: changes because of the above.
15216 * lyxfont.h: remove copy constructor and copy assignment. (the
15217 default ones is ok), move number inside FontBits. move inlines to
15220 * lyxfont.C: add number to initializaton of statics, move several
15221 inlines here. constify several local vars. some whitespace
15222 cleanup. Dont hide outerscope variables.
15224 * Spacing.h: add two new constructors to match the set methods.
15226 * ShareContainer.h: new file, will perhaps be moved to support
15228 * ParameterStruct.h: new file
15230 * ParagraphParameters.h: new file
15232 * ParagraphParameters.C: new file
15234 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15235 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15237 * BufferView_pimpl.C: ParagraphParameter changes.
15238 * buffer.C: Likewise.
15239 * bufferview_funcs.C: Likewise.
15240 * text.C: Likewise.
15241 * text2.C: Likewise.
15243 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15245 * lyxfind.C (LyXReplace): do not redefine default argument in
15247 (IsStringInText): ditto
15248 (SearchForward): ditto
15249 (SearchBackward): ditto
15251 2001-03-06 Juergen Vigna <jug@sad.it>
15253 * lyxfind.C (IsStringInText): put parentes around expressions.
15255 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15257 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15259 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15261 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15263 * stl_string_fwd.h: add comment
15265 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15268 * tabular.C: remove unused DocBook methods
15274 killed DO_USE_DEFAULT_LANGUAGE
15276 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15278 * lyx_gui.C: do not include language.h.
15280 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15281 arguments in function implementation.
15283 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15285 * BufferView_pimpl.C: add <ctime>
15287 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15289 * BufferView_pimpl.C: add using std::find_if
15291 2001-02-27 José Matos <jamatos@fep.up.pt>
15293 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15296 2001-02-11 José Matos <jamatos@fep.up.pt>
15298 * buffer.C (makeDocBookFile): command styles now have a parameter as
15299 "title" by default.
15301 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15303 * layout_forms.[Ch]: removed
15304 * lyx_cb.[Ch]: out character
15305 * lyx_gui.C: out character
15306 * lyx_gui_misc.C: out character
15307 * bufferview_funcs.C: : out character,
15308 added toggleall as parameter in ToggleAndShow
15310 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15312 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15314 * text2.C (SetCurrentFont): Disable number property at boundary.
15316 2001-02-26 Juergen Vigna <jug@sad.it>
15318 * lyxfunc.C (getStatus): added a string argument override function so
15319 that this is correctly called from LyXFunc::Dispatch if it contains a
15320 do_not_use_argument which is used!
15321 (Dispatch): added check for "custom" export and call appropriate func.
15323 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15325 * lyxrc.C: Add language_command_local, language_use_babel and
15326 language_global_options.
15328 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15330 * buffer.C (makeLaTeXFile): Use language_use_babel and
15331 language_global_options.
15333 2001-02-23 Juergen Vigna <jug@sad.it>
15335 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15336 which works with LyXText and putted it inside BufferView. Here now we
15337 only call for that part the BufferView::Dispatch() function.
15339 * BufferView.C (Dispatch): added.
15341 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15342 functions which needs to use a LyXText over from LyXFunc.
15343 (MenuInsertLyXFile): added
15344 (getInsetByCode): added
15345 (moveCursorUpdate): added
15346 (static TEXT): added
15348 2001-02-22 Juergen Vigna <jug@sad.it>
15350 * BufferView_pimpl.C (update): call a status update to see if LyXText
15353 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15355 * vc-backend.C (revert): implement for CVS
15356 (getLog): implement for CVS
15358 2001-02-20 Juergen Vigna <jug@sad.it>
15360 * text2.C (ClearSelection): added BufferView param for inset_owner call
15362 * lyxfunc.C (TEXT): added this function and use it instead of
15363 directly owner->view()-text of getLyXText().
15365 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15367 * src/layout_forms.C: out preamble
15368 * src/layout_forms.h: out preamble
15369 * src/lyx_cb.C: out preamble
15370 * src/lyx_cb.h: out preamble
15371 * src/lyx_gui.C: out preamble
15372 * src/lyx_gui_misc.C: out preamble
15373 * src/lyxfunc.C: connect with guii preamble
15375 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15377 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15379 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15381 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15382 whether to run bibtex.
15384 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15386 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15388 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15390 * Makefile.am (lyx_SOURCES): removed bibforms.h
15392 * vspace.h: doxygen
15394 * text.C (GetVisibleRow): make several local vars const
15396 * tabular.C: small cleanup.
15398 * lyxserver.C (callback): use compare instead of strncmp
15400 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15401 inlines to after class or to paragraph.C
15403 * lyxfont.h: remove friend operator!=
15405 * converter.h: move friend bool operator< to non friend and after
15408 * combox.h: small cleanup
15410 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15411 to inlines after class def.
15413 * buffer.C (pop_tag): use string operations instead of strcmp
15415 * bmtable.c: doxygen, small cleanup
15417 * LaTeX.h: remove friend operator==
15419 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15431 * BufferView_pimpl.C:
15432 * BufferView.[Ch]: remove cruft
15434 2001-02-14 Juergen Vigna <jug@sad.it>
15436 * lyxfunc.C: removed #if 0 unused code
15438 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15440 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15442 * text2.C (SetSelection): added a BufferView * parameter
15444 2001-02-13 Juergen Vigna <jug@sad.it>
15446 * lyxfunc.C (Dispatch): fixed protected blank problem.
15447 * BufferView2.C (protectedBlank): added LyxText * parameter.
15449 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15450 (AppendColumn): same as above for column_info.
15452 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15453 (moveCursorUpdate): use a LyXText param for support of InsetText.
15455 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15456 (tripleClick): ditto
15458 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15460 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15462 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15464 * text2.C (SetSelection): set correct update status if inset_owner
15465 (ToggleFree): ditto
15467 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15469 * tabular.C: remove some commented code.
15471 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15473 * BufferView_pimpl.C: call hideSplash()
15475 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15478 * bibforms.h: remove
15481 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15482 add LFUN_CHILD_CREATE
15484 * counters.h: fix tiny typo
15489 * lyx.C: move splash to frontends/xforms/
15491 * lyx_gui_misc.C: move Include and Bibform to frontends
15493 * lyxvc.h: clarify comment
15495 * vspace.C: tiny housekeeping
15497 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15499 * text.C (PrepareToPrint): RTL Fix.
15501 * paragraph.C (GetUChar): New method.
15502 (String): Use GetUChar.
15504 * buffer.C (asciiParagraph): Use GetUChar.
15506 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15508 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15510 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15513 * buffer.C: rename to getLogName(), handle
15514 build log / latex log nicely
15516 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15519 * MenuBackend.h: remove support for reference menuitem type.
15521 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15523 * BufferView_pimpl.C: housekeeping
15524 * BufferView_pimpl.h:
15529 * minibuffer.h: move Timeout GUI-I
15531 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15533 * lyxrc.C (read): Update converters data-structures.
15535 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15537 * LaTeX.h (operator!=): add operator != for Aux_Info
15539 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15541 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15543 * LaTeXLog.C: deleted, useful code moved to Buffer
15546 * buffer.C: new function getLatexLogName()
15552 * lyxfunc.C: use frontends for LaTeX and VC logs
15554 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15556 * LaTeX.h: yet another std:: that Allan forgot.
15558 * Variables.C (set): renamed from isset(), because this clashes
15559 with some HP-UX macros (grr).
15561 2001-02-06 Allan Rae <rae@lyx.org>
15563 * LaTeX.h: Another bug fix. Missing std:: this time.
15565 2001-02-04 Allan Rae <rae@lyx.org>
15567 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15568 floats problem. I've left it commented out because it's not quite
15569 correct. It should also test that the current object is a table or
15570 figure inset. But I haven't gotten around to figuring out how to do
15571 that. I *think* it'll be something like: "table" == inset.type()
15573 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15576 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15578 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15579 all the citation/databases/styles in the auxilary file.
15580 (run): Rerun latex if there was a babel language error.
15582 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15584 * text.C (Backspace): Preserve the font when changing newline char
15586 (BreakParagraph): If the cursor is before a space, delete the space.
15588 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15590 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15592 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15593 new argument (code).
15594 (ChangeCitationsIfUnique): New method.
15596 * paragraph.C (GetPositionOfInset): Handle bibkey.
15598 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15600 * BufferView_pimpl.h: change type of Position::par_pos to
15601 LyXParagraph::size_type.
15603 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15605 * BufferView_pimpl.C (savePosition, restorePosition): Write
15606 messages to minibuffer.
15608 2001-01-28 José Matos <jamatos@fep.up.pt>
15610 * buffer.C (makeDocBookFile): adds support for document language.
15611 A silly restriction on the name of LatexCommand types where removed.
15612 Added support for CDATA sections, allows to chars unescaped, used
15613 among others in code, to avoid escape < and >.
15615 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15617 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15618 saved positions instrad of a stack. Furthermore, a position is
15619 stored using paragraph id/paragraph position.
15621 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15622 Remove LFUN_REF_BACK.
15624 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15626 * converter.C (dvipdfm_options): New method.
15628 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15630 * vspace.C (isValidLength): Fix for empty input string.
15632 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15634 * LyXAction.C (init): change description of LFUN_FIGURE to
15637 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15639 * LaTeX.C: add using directive
15641 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15643 * MenuBackend.C (expand): Fix the sorting of the formats.
15645 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15647 * lyx_main.C: tiny error message fix
15649 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15651 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15652 calling fl_initialize(). This fixes the problem with ',' as
15653 decimal separator in text files.
15655 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15657 * trans.C (process): Fix the keymap bug.
15659 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15661 * LaTeX.C (scanAuxFiles): New method. Provides support for
15662 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15663 (scanLogFile) Scan for "run BibTeX" messages.
15665 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15666 OT1 font encoding. Also, load the aecompl package if the ae
15669 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15671 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15673 * texrow.C (increasePos): turn two error messages into debug
15676 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15678 * LaTeX.C (scanAux): Handle the \@input macro.
15679 (runBibTeX): Use scanAux().
15681 * language.C (latex_options_): New field.
15683 * LaTeXFeatures.C (getMacros): Add language macros.
15685 * buffer.C (makeLaTeXFile): Small fix.
15687 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15689 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15691 * text2.C: add a using directive.
15693 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15698 * lyxfunc.C: kill LyXBell.
15700 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15702 * text.C (IsBoundary): Remove the error message
15704 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15706 * lyxrc.C (setDefaults): Correct initialization value for
15709 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15711 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15714 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15715 and GotoNextNote().
15717 * src/LyXAction.C: Added reference-next.
15719 * text.C (InsertChar): Use contains instead of strchr.
15721 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15723 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15725 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15726 alignment commands (when needed).
15728 * text.C (InsertChar): Add ':' to number separator chars.